﻿-- Auto-generated from sql_statements.txt for regression testing
-- Source: D:\Projects\pgsql-jellyfin\scripts\..\sql_statements.txt
-- Generated: 2026-03-15 09:32:48 -04:00
-- Unresolved parameterized statements are skipped and counted in summary.
\\timing on
SET statement_timeout = '0';

-- Query #1 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid])
ORDER BY b."Id";

-- Query #2 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid])
ORDER BY b."Id";

-- Query #3 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['64108a72-eb84-7c43-261f-93a971d2c8ac'::uuid]);

-- Query #4 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid
ORDER BY b."SortName";

-- Query #5 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '64108a72-eb84-7c43-261f-93a971d2c8ac'::uuid;

-- Query #6 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2f4537d4-b1f0-1a3d-0c1b-211b0bf0270f'::uuid, '4a2ab7a7-6945-518a-bf3d-b47e6cb4b923'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid
ORDER BY b."SortName";

-- Query #8 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4a2ab7a7-6945-518a-bf3d-b47e6cb4b923'::uuid
ORDER BY b."SortName";

-- Query #9 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid
ORDER BY b."SortName";

-- Query #10 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '20e0804e-4732-0dec-7dd5-63b0b66fb688'::uuid
ORDER BY b."SortName";

-- Query #11 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid
ORDER BY b."SortName";

-- Query #12 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '692516f3-4f5b-351d-32df-0f48eebb7719'::uuid
ORDER BY b."SortName";

-- Query #13 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid
ORDER BY b."SortName";

-- Query #14 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '12c4e577-81fb-3384-ce72-cfa28ad05aa7'::uuid
ORDER BY b."SortName";

-- Query #15 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6ec7abb7-5779-d7ed-8f0f-30e369208b07'::uuid
ORDER BY b."SortName";

-- Query #16 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9bd4c414-26ec-6e7f-a302-fdf882e6a29c'::uuid
ORDER BY b."SortName";

-- Query #17 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fc7ccfc4-cb12-5f68-c3c5-0bc1c3c72fee'::uuid
ORDER BY b."SortName";

-- Query #18 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ad921242-6229-8e7f-846f-7b27bb83104a'::uuid
ORDER BY b."SortName";

-- Query #19 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '53311fb3-c6d7-6186-998e-da48927e9f7a'::uuid
ORDER BY b."SortName";

-- Query #20 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3fb4c9e6-8258-230b-152a-dc6437dd361b'::uuid
ORDER BY b."SortName";

-- Query #21 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7e1b7c5c-0dbd-ffe4-e638-acefbf98c733'::uuid
ORDER BY b."SortName";

-- Query #22 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4b387aa1-6053-fe61-dd69-aa74882f3e1b'::uuid
ORDER BY b."SortName";

-- Query #23 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2f4537d4-b1f0-1a3d-0c1b-211b0bf0270f'::uuid
ORDER BY b."SortName";

-- Query #24 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['64108a72-eb84-7c43-261f-93a971d2c8ac'::uuid])
ORDER BY b."Id";

-- Query #25 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['64108a72-eb84-7c43-261f-93a971d2c8ac'::uuid])
ORDER BY b."Id";

-- Query #26 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['64108a72-eb84-7c43-261f-93a971d2c8ac'::uuid])
ORDER BY b."Id";

-- Query #27 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['64108a72-eb84-7c43-261f-93a971d2c8ac'::uuid])
ORDER BY b."Id";

-- Query #28 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['64108a72-eb84-7c43-261f-93a971d2c8ac'::uuid])
ORDER BY b."Id";

-- Query #29 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '4a2ab7a76945518abf3db47e6cb4b923'
ORDER BY b."SortName", b."Name";

-- Query #30 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #31 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid;

-- Query #32 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid]);

-- Query #33 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid;

-- Query #34 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, 'Imdb', 'tt1399045')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, 'Tmdb', 67133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, 'TmdbCollection', 67133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, 'Tvdb', 311902)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, 'TvMaze', 5511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, 'wikidata', 'Q25397002')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, 'Zap2It', 'EP02433705')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid;

-- Query #42 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid;

-- Query #43 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid]);

-- Query #44 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid;

-- Query #45 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #46 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '10ade4b2eef5828e9827bbf7bd2f2902'
ORDER BY b."SortName", b."Name";

-- Query #47 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid
ORDER BY b."SortName";

-- Query #48 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '59656b77-680b-ed62-12f9-065f06a5febe'::uuid])
ORDER BY b."Id";

-- Query #49 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '59656b77-680b-ed62-12f9-065f06a5febe'::uuid])
ORDER BY b."Id";

-- Query #50 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '59656b77-680b-ed62-12f9-065f06a5febe'::uuid])
ORDER BY b."Id";

-- Query #51 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '59656b77-680b-ed62-12f9-065f06a5febe'::uuid])
ORDER BY b."Id";

-- Query #52 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '59656b77-680b-ed62-12f9-065f06a5febe'::uuid])
ORDER BY b."Id";

-- Query #53 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid
ORDER BY b."SortName";

-- Query #54 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid
ORDER BY b."SortName";

-- Query #55 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '59656b77-680b-ed62-12f9-065f06a5febe'::uuid
ORDER BY b."SortName";

-- Query #56 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid])
ORDER BY b."Id";

-- Query #57 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid])
ORDER BY b."Id";

-- Query #58 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid])
ORDER BY b."Id";

-- Query #59 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid])
ORDER BY b."Id";

-- Query #60 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid])
ORDER BY b."Id";

-- Query #61 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid
ORDER BY b."SortName";

-- Query #62 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid
ORDER BY b."SortName";

-- Query #63 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid
ORDER BY b."SortName";

-- Query #64 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid
ORDER BY b."SortName";

-- Query #65 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid
ORDER BY b."SortName";

-- Query #66 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '10ade4b2eef5828e9827bbf7bd2f2902'
ORDER BY b."SortName", b."Name";

-- Query #67 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid;

-- Query #68 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid]);

-- Query #69 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid;

-- Query #70 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, 'Tvdb', 311902)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #71 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, 'Tmdb', 67133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #72 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, 'Imdb', 'tt1399045')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #73 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, 'TvMaze', 5511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #74 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, 'Zap2It', 'EP02433705')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #75 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, 'wikidata', 'Q25397002')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #76 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, 'TmdbCollection', 67133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #77 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid;

-- Query #78 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid;

-- Query #79 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+agent', '6+escape', '6+remake', '6+secret government organization', '6+technology']);

-- Query #80 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid]);

-- Query #81 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid;

-- Query #82 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #83 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '10ade4b2eef5828e9827bbf7bd2f2902'
ORDER BY b."SortName", b."Name";

-- Query #84 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid;

-- Query #85 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid]);

-- Query #86 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid;

-- Query #87 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, 'Tvdb', 311902)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #88 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, 'Tmdb', 67133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #89 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, 'Imdb', 'tt1399045')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #90 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, 'TvMaze', 5511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #91 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, 'Zap2It', 'EP02433705')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #92 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, 'wikidata', 'Q25397002')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #93 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, 'TmdbCollection', 67133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #94 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid;

-- Query #95 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid;

-- Query #96 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+agent', '6+escape', '6+remake', '6+secret government organization', '6+technology']);

-- Query #97 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid]);

-- Query #98 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid;

-- Query #99 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #100 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid;

-- Query #101 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '10ade4b2eef5828e9827bbf7bd2f2902'
ORDER BY b."SortName", b."Name";

-- Query #102 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid]);

-- Query #103 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid;

-- Query #104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'Imdb', 'tt9059350')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'official website', 'https://www.netflix.com/title/80242724')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'reddit', 'WarriorNun')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'Tmdb', 87689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'TmdbCollection', 87689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'Tvdb', 382544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'tv maze', 38913)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #111 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'TvMaze', 38913)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #112 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'wikidata', 'Q65084266')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'wikipedia', 'Warrior_Nun_(TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #114 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid;

-- Query #115 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid;

-- Query #116 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid]);

-- Query #117 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid;

-- Query #118 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #119 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '4d6c33361225ee3f6caec479051121c5'
ORDER BY b."SortName", b."Name";

-- Query #120 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid
ORDER BY b."SortName";

-- Query #121 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '59656b77-680b-ed62-12f9-065f06a5febe'::uuid])
ORDER BY b."Id";

-- Query #122 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '59656b77-680b-ed62-12f9-065f06a5febe'::uuid])
ORDER BY b."Id";

-- Query #123 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '59656b77-680b-ed62-12f9-065f06a5febe'::uuid])
ORDER BY b."Id";

-- Query #124 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '59656b77-680b-ed62-12f9-065f06a5febe'::uuid])
ORDER BY b."Id";

-- Query #125 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '59656b77-680b-ed62-12f9-065f06a5febe'::uuid])
ORDER BY b."Id";

-- Query #126 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid
ORDER BY b."SortName";

-- Query #127 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid;

-- Query #128 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid]);

-- Query #129 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid;

-- Query #130 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '59656b77-680b-ed62-12f9-065f06a5febe'::uuid
ORDER BY b."SortName";

-- Query #131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, 'Tvdb', 311902)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, 'Tmdb', 67133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, 'Imdb', 'tt1399045')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, 'TvMaze', 5511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, 'Zap2It', 'EP02433705')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, 'wikidata', 'Q25397002')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, 'TmdbCollection', 67133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #138 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid;

-- Query #139 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid;

-- Query #140 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '4d6c33361225ee3f6caec479051121c5'
ORDER BY b."SortName", b."Name";

-- Query #141 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+agent', '6+escape', '6+remake', '6+secret government organization', '6+technology']);

-- Query #142 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid]);

-- Query #143 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid;

-- Query #144 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #145 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '10ade4b2eef5828e9827bbf7bd2f2902'
ORDER BY b."SortName", b."Name";

-- Query #146 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid;

-- Query #147 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid]);

-- Query #148 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid;

-- Query #149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, 'Tvdb', 311902)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, 'Tmdb', 67133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, 'Imdb', 'tt1399045')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, 'TvMaze', 5511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, 'Zap2It', 'EP02433705')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #154 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, 'wikidata', 'Q25397002')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #155 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, 'TmdbCollection', 67133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #156 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid;

-- Query #157 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid;

-- Query #158 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+agent', '6+escape', '6+remake', '6+secret government organization', '6+technology']);

-- Query #159 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid]);

-- Query #160 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid;

-- Query #161 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #162 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '10ade4b2eef5828e9827bbf7bd2f2902'
ORDER BY b."SortName", b."Name";

-- Query #163 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid;

-- Query #164 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid]);

-- Query #165 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid;

-- Query #166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, 'Tvdb', 382544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, 'Tmdb', 87689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, 'Imdb', 'tt9059350')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #169 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, 'TvMaze', 38913)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #170 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, 'reddit', 'WarriorNun')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #171 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, 'tv maze', 38913)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #172 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, 'wikipedia', 'Warrior_Nun_(TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #173 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, 'wikidata', 'Q65084266')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #174 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, 'official website', 'https://www.netflix.com/title/80242724')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, 'TmdbCollection', 87689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #176 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid;

-- Query #177 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid;

-- Query #178 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid;

-- Query #179 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77905917-3038-a25e-6121-33b4c00bfc7f'::uuid]);

-- Query #180 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid;

-- Query #181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, 'Tvdb', 311902)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #182 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid]);

-- Query #183 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, 'Tmdb', 67133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #184 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, 'Imdb', 'tt1399045')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #185 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid;

-- Query #186 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, 'TvMaze', 5511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #187 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, 'Zap2It', 'EP02433705')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #188 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, 'wikidata', 'Q25397002')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, 'TmdbCollection', 67133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #191 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid;

-- Query #192 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid;

-- Query #193 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+agent', '6+escape', '6+remake', '6+secret government organization', '6+technology']);

-- Query #194 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['77905917-3038-a25e-6121-33b4c00bfc7f'::uuid]);

-- Query #195 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid;

-- Query #196 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #197 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '4d6c33361225ee3f6caec479051121c5'
ORDER BY b."SortName", b."Name";

-- Query #198 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9ea58ff6-8b91-b540-15d1-7bababcaad8d'::uuid;

-- Query #199 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9ea58ff6-8b91-b540-15d1-7bababcaad8d'::uuid]);

-- Query #200 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9ea58ff6-8b91-b540-15d1-7bababcaad8d'::uuid;

-- Query #201 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ea58ff6-8b91-b540-15d1-7bababcaad8d'::uuid, 'Imdb', 'tt5954708')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #202 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ea58ff6-8b91-b540-15d1-7bababcaad8d'::uuid, 'Tmdb', 1225756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #203 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ea58ff6-8b91-b540-15d1-7bababcaad8d'::uuid, 'trakt', 2296757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #204 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ea58ff6-8b91-b540-15d1-7bababcaad8d'::uuid, 'TvMaze', 920183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ea58ff6-8b91-b540-15d1-7bababcaad8d'::uuid, 'Tvdb', 5691889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ea58ff6-8b91-b540-15d1-7bababcaad8d'::uuid, 'TmdbCollection', 1225756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #207 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9ea58ff6-8b91-b540-15d1-7bababcaad8d'::uuid;

-- Query #208 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9ea58ff6-8b91-b540-15d1-7bababcaad8d'::uuid;

-- Query #209 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9ea58ff6-8b91-b540-15d1-7bababcaad8d'::uuid]);

-- Query #210 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9ea58ff6-8b91-b540-15d1-7bababcaad8d'::uuid;

-- Query #211 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #212 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59656b77-680b-ed62-12f9-065f06a5febe'::uuid;

-- Query #213 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59656b77-680b-ed62-12f9-065f06a5febe'::uuid]);

-- Query #214 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '59656b77-680b-ed62-12f9-065f06a5febe'::uuid;

-- Query #215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59656b77-680b-ed62-12f9-065f06a5febe'::uuid, 'TmdbCollection', 87689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #216 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59656b77-680b-ed62-12f9-065f06a5febe'::uuid, 'Tvdb', 382544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59656b77-680b-ed62-12f9-065f06a5febe'::uuid, 'Tmdb', 87689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59656b77-680b-ed62-12f9-065f06a5febe'::uuid, 'Imdb', 'tt9059350')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59656b77-680b-ed62-12f9-065f06a5febe'::uuid, 'TvMaze', 38913)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59656b77-680b-ed62-12f9-065f06a5febe'::uuid, 'reddit', 'WarriorNun')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59656b77-680b-ed62-12f9-065f06a5febe'::uuid, 'tv maze', 38913)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59656b77-680b-ed62-12f9-065f06a5febe'::uuid, 'wikipedia', 'Warrior_Nun_(TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59656b77-680b-ed62-12f9-065f06a5febe'::uuid, 'wikidata', 'Q65084266')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59656b77-680b-ed62-12f9-065f06a5febe'::uuid, 'official website', 'https://www.netflix.com/title/80242724')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59656b77-680b-ed62-12f9-065f06a5febe'::uuid;

-- Query #226 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '59656b77-680b-ed62-12f9-065f06a5febe'::uuid;

-- Query #227 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['59656b77-680b-ed62-12f9-065f06a5febe'::uuid]);

-- Query #228 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '59656b77-680b-ed62-12f9-065f06a5febe'::uuid;

-- Query #229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #230 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55b9b616-7a15-8bcf-02b5-417e8e381e54'::uuid;

-- Query #231 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['55b9b616-7a15-8bcf-02b5-417e8e381e54'::uuid]);

-- Query #232 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '55b9b616-7a15-8bcf-02b5-417e8e381e54'::uuid;

-- Query #233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55b9b616-7a15-8bcf-02b5-417e8e381e54'::uuid, 'Imdb', 'tt6155518')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55b9b616-7a15-8bcf-02b5-417e8e381e54'::uuid, 'Tmdb', 1236895)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55b9b616-7a15-8bcf-02b5-417e8e381e54'::uuid, 'trakt', 2369807)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55b9b616-7a15-8bcf-02b5-417e8e381e54'::uuid, 'TvMaze', 967447)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55b9b616-7a15-8bcf-02b5-417e8e381e54'::uuid, 'Tvdb', 5787380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55b9b616-7a15-8bcf-02b5-417e8e381e54'::uuid, 'TmdbCollection', 1236895)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55b9b616-7a15-8bcf-02b5-417e8e381e54'::uuid;

-- Query #240 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '55b9b616-7a15-8bcf-02b5-417e8e381e54'::uuid;

-- Query #241 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['55b9b616-7a15-8bcf-02b5-417e8e381e54'::uuid]);

-- Query #242 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '55b9b616-7a15-8bcf-02b5-417e8e381e54'::uuid;

-- Query #243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '015072eb-6ce2-8299-67e4-dee4347ae265'::uuid;

-- Query #245 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['015072eb-6ce2-8299-67e4-dee4347ae265'::uuid]);

-- Query #246 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '015072eb-6ce2-8299-67e4-dee4347ae265'::uuid;

-- Query #247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('015072eb-6ce2-8299-67e4-dee4347ae265'::uuid, 'Imdb', 'tt10102668')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('015072eb-6ce2-8299-67e4-dee4347ae265'::uuid, 'Tmdb', 2334011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('015072eb-6ce2-8299-67e4-dee4347ae265'::uuid, 'trakt', 4249741)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('015072eb-6ce2-8299-67e4-dee4347ae265'::uuid, 'TvMaze', 1887939)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('015072eb-6ce2-8299-67e4-dee4347ae265'::uuid, 'Tvdb', 7749496)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('015072eb-6ce2-8299-67e4-dee4347ae265'::uuid, 'TmdbCollection', 2334011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #253 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '015072eb-6ce2-8299-67e4-dee4347ae265'::uuid;

-- Query #254 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '015072eb-6ce2-8299-67e4-dee4347ae265'::uuid;

-- Query #255 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6ad4d488-fbed-af09-2bad-1df9f3ba0d8a'::uuid;

-- Query #256 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['015072eb-6ce2-8299-67e4-dee4347ae265'::uuid]);

-- Query #257 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '015072eb-6ce2-8299-67e4-dee4347ae265'::uuid;

-- Query #258 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #259 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6ad4d488-fbed-af09-2bad-1df9f3ba0d8a'::uuid]);

-- Query #260 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6ad4d488-fbed-af09-2bad-1df9f3ba0d8a'::uuid;

-- Query #261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ad4d488-fbed-af09-2bad-1df9f3ba0d8a'::uuid, 'Imdb', 'tt6167220')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ad4d488-fbed-af09-2bad-1df9f3ba0d8a'::uuid, 'Tmdb', 1239019)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ad4d488-fbed-af09-2bad-1df9f3ba0d8a'::uuid, 'trakt', 2388353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ad4d488-fbed-af09-2bad-1df9f3ba0d8a'::uuid, 'TvMaze', 974432)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ad4d488-fbed-af09-2bad-1df9f3ba0d8a'::uuid, 'Tvdb', 5813524)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ad4d488-fbed-af09-2bad-1df9f3ba0d8a'::uuid, 'TmdbCollection', 1239019)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6ad4d488-fbed-af09-2bad-1df9f3ba0d8a'::uuid;

-- Query #268 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6ad4d488-fbed-af09-2bad-1df9f3ba0d8a'::uuid;

-- Query #269 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6ad4d488-fbed-af09-2bad-1df9f3ba0d8a'::uuid]);

-- Query #270 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6ad4d488-fbed-af09-2bad-1df9f3ba0d8a'::uuid;

-- Query #271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bf64e3d-4311-6971-b96c-5360e6e94b5d'::uuid;

-- Query #273 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '01642499-4b0c-880c-c882-5083214dd2df'::uuid;

-- Query #274 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4bf64e3d-4311-6971-b96c-5360e6e94b5d'::uuid]);

-- Query #275 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4bf64e3d-4311-6971-b96c-5360e6e94b5d'::uuid;

-- Query #276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bf64e3d-4311-6971-b96c-5360e6e94b5d'::uuid, 'Imdb', 'tt6215170')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bf64e3d-4311-6971-b96c-5360e6e94b5d'::uuid, 'Tmdb', 1290009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bf64e3d-4311-6971-b96c-5360e6e94b5d'::uuid, 'trakt', 2407126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bf64e3d-4311-6971-b96c-5360e6e94b5d'::uuid, 'TvMaze', 1044088)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bf64e3d-4311-6971-b96c-5360e6e94b5d'::uuid, 'Tvdb', 5988002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bf64e3d-4311-6971-b96c-5360e6e94b5d'::uuid, 'TmdbCollection', 1290009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bf64e3d-4311-6971-b96c-5360e6e94b5d'::uuid;

-- Query #283 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4bf64e3d-4311-6971-b96c-5360e6e94b5d'::uuid;

-- Query #284 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['01642499-4b0c-880c-c882-5083214dd2df'::uuid]);

-- Query #285 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4bf64e3d-4311-6971-b96c-5360e6e94b5d'::uuid]);

-- Query #286 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '01642499-4b0c-880c-c882-5083214dd2df'::uuid;

-- Query #287 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01642499-4b0c-880c-c882-5083214dd2df'::uuid, 'Imdb', 'tt10102652')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #288 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4bf64e3d-4311-6971-b96c-5360e6e94b5d'::uuid;

-- Query #289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01642499-4b0c-880c-c882-5083214dd2df'::uuid, 'Tmdb', 2334006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #290 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01642499-4b0c-880c-c882-5083214dd2df'::uuid, 'trakt', 4249736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01642499-4b0c-880c-c882-5083214dd2df'::uuid, 'TvMaze', 1887934)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01642499-4b0c-880c-c882-5083214dd2df'::uuid, 'Tvdb', 7749489)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01642499-4b0c-880c-c882-5083214dd2df'::uuid, 'TmdbCollection', 2334006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #295 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '01642499-4b0c-880c-c882-5083214dd2df'::uuid;

-- Query #296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '01642499-4b0c-880c-c882-5083214dd2df'::uuid;

-- Query #297 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['01642499-4b0c-880c-c882-5083214dd2df'::uuid]);

-- Query #298 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '01642499-4b0c-880c-c882-5083214dd2df'::uuid;

-- Query #299 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #300 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f3d8e50-83ac-f4f2-3e9a-5240ea3d5723'::uuid;

-- Query #301 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f3d8e50-83ac-f4f2-3e9a-5240ea3d5723'::uuid]);

-- Query #302 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9f3d8e50-83ac-f4f2-3e9a-5240ea3d5723'::uuid;

-- Query #303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f3d8e50-83ac-f4f2-3e9a-5240ea3d5723'::uuid, 'Imdb', 'tt6676764')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f3d8e50-83ac-f4f2-3e9a-5240ea3d5723'::uuid, 'Tmdb', 1290007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f3d8e50-83ac-f4f2-3e9a-5240ea3d5723'::uuid, 'trakt', 2407120)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f3d8e50-83ac-f4f2-3e9a-5240ea3d5723'::uuid, 'TvMaze', 1096704)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f3d8e50-83ac-f4f2-3e9a-5240ea3d5723'::uuid, 'Tvdb', 5988000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f3d8e50-83ac-f4f2-3e9a-5240ea3d5723'::uuid, 'TmdbCollection', 1290007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #309 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f3d8e50-83ac-f4f2-3e9a-5240ea3d5723'::uuid;

-- Query #310 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9f3d8e50-83ac-f4f2-3e9a-5240ea3d5723'::uuid;

-- Query #311 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9f3d8e50-83ac-f4f2-3e9a-5240ea3d5723'::uuid]);

-- Query #312 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9f3d8e50-83ac-f4f2-3e9a-5240ea3d5723'::uuid;

-- Query #313 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #314 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '976f2a89-a33a-46b1-7f2c-283bda27b93a'::uuid;

-- Query #315 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['976f2a89-a33a-46b1-7f2c-283bda27b93a'::uuid]);

-- Query #316 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '976f2a89-a33a-46b1-7f2c-283bda27b93a'::uuid;

-- Query #317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('976f2a89-a33a-46b1-7f2c-283bda27b93a'::uuid, 'Imdb', 'tt10102660')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #318 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('976f2a89-a33a-46b1-7f2c-283bda27b93a'::uuid, 'Tmdb', 2334009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('976f2a89-a33a-46b1-7f2c-283bda27b93a'::uuid, 'trakt', 4249739)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('976f2a89-a33a-46b1-7f2c-283bda27b93a'::uuid, 'TvMaze', 1887937)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('976f2a89-a33a-46b1-7f2c-283bda27b93a'::uuid, 'Tvdb', 7749494)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('976f2a89-a33a-46b1-7f2c-283bda27b93a'::uuid, 'TmdbCollection', 2334009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #323 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '976f2a89-a33a-46b1-7f2c-283bda27b93a'::uuid;

-- Query #324 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '976f2a89-a33a-46b1-7f2c-283bda27b93a'::uuid;

-- Query #325 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '447e4f32-d643-d15e-b08c-c68977d248cb'::uuid;

-- Query #326 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['976f2a89-a33a-46b1-7f2c-283bda27b93a'::uuid]);

-- Query #327 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '976f2a89-a33a-46b1-7f2c-283bda27b93a'::uuid;

-- Query #328 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #329 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['447e4f32-d643-d15e-b08c-c68977d248cb'::uuid]);

-- Query #330 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '447e4f32-d643-d15e-b08c-c68977d248cb'::uuid;

-- Query #331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('447e4f32-d643-d15e-b08c-c68977d248cb'::uuid, 'Imdb', 'tt6154074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('447e4f32-d643-d15e-b08c-c68977d248cb'::uuid, 'Tmdb', 1239018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #333 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('447e4f32-d643-d15e-b08c-c68977d248cb'::uuid, 'trakt', 2369808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('447e4f32-d643-d15e-b08c-c68977d248cb'::uuid, 'TvMaze', 963584)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('447e4f32-d643-d15e-b08c-c68977d248cb'::uuid, 'Tvdb', 5787381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('447e4f32-d643-d15e-b08c-c68977d248cb'::uuid, 'TmdbCollection', 1239018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #337 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '447e4f32-d643-d15e-b08c-c68977d248cb'::uuid;

-- Query #338 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '447e4f32-d643-d15e-b08c-c68977d248cb'::uuid;

-- Query #339 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['447e4f32-d643-d15e-b08c-c68977d248cb'::uuid]);

-- Query #340 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '447e4f32-d643-d15e-b08c-c68977d248cb'::uuid;

-- Query #341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #342 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f65f2d68-97bb-9ac7-8010-2f0e721c5a2d'::uuid;

-- Query #343 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f65f2d68-97bb-9ac7-8010-2f0e721c5a2d'::uuid]);

-- Query #344 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f65f2d68-97bb-9ac7-8010-2f0e721c5a2d'::uuid;

-- Query #345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f65f2d68-97bb-9ac7-8010-2f0e721c5a2d'::uuid, 'Imdb', 'tt10102648')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f65f2d68-97bb-9ac7-8010-2f0e721c5a2d'::uuid, 'Tmdb', 2334005)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #347 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f65f2d68-97bb-9ac7-8010-2f0e721c5a2d'::uuid, 'trakt', 4249735)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #348 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f65f2d68-97bb-9ac7-8010-2f0e721c5a2d'::uuid, 'TvMaze', 1887933)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #349 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f65f2d68-97bb-9ac7-8010-2f0e721c5a2d'::uuid, 'Tvdb', 7749488)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #350 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f65f2d68-97bb-9ac7-8010-2f0e721c5a2d'::uuid, 'TmdbCollection', 2334005)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #351 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f65f2d68-97bb-9ac7-8010-2f0e721c5a2d'::uuid;

-- Query #352 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f65f2d68-97bb-9ac7-8010-2f0e721c5a2d'::uuid;

-- Query #353 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b1fdfe8e-7050-22c0-eb8b-7133f50950b2'::uuid;

-- Query #354 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f65f2d68-97bb-9ac7-8010-2f0e721c5a2d'::uuid]);

-- Query #355 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1fdfe8e-7050-22c0-eb8b-7133f50950b2'::uuid]);

-- Query #356 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b1fdfe8e-7050-22c0-eb8b-7133f50950b2'::uuid;

-- Query #357 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f65f2d68-97bb-9ac7-8010-2f0e721c5a2d'::uuid;

-- Query #358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1fdfe8e-7050-22c0-eb8b-7133f50950b2'::uuid, 'Imdb', 'tt6215142')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1fdfe8e-7050-22c0-eb8b-7133f50950b2'::uuid, 'Tmdb', 1258320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #360 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #361 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1fdfe8e-7050-22c0-eb8b-7133f50950b2'::uuid, 'trakt', 2407115)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #362 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1fdfe8e-7050-22c0-eb8b-7133f50950b2'::uuid, 'TvMaze', 1016839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #363 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1fdfe8e-7050-22c0-eb8b-7133f50950b2'::uuid, 'Tvdb', 5880123)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #364 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1fdfe8e-7050-22c0-eb8b-7133f50950b2'::uuid, 'TmdbCollection', 1258320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #365 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b1fdfe8e-7050-22c0-eb8b-7133f50950b2'::uuid;

-- Query #366 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b1fdfe8e-7050-22c0-eb8b-7133f50950b2'::uuid;

-- Query #367 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b1fdfe8e-7050-22c0-eb8b-7133f50950b2'::uuid]);

-- Query #368 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b1fdfe8e-7050-22c0-eb8b-7133f50950b2'::uuid;

-- Query #369 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '271265f0-2c69-94d3-6e5d-5fcef5e4eab6'::uuid;

-- Query #371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '872109e2-03be-98f3-a36c-38c7f3a9e8c7'::uuid;

-- Query #372 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['271265f0-2c69-94d3-6e5d-5fcef5e4eab6'::uuid]);

-- Query #373 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '271265f0-2c69-94d3-6e5d-5fcef5e4eab6'::uuid;

-- Query #374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('271265f0-2c69-94d3-6e5d-5fcef5e4eab6'::uuid, 'Imdb', 'tt6215162')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #375 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('271265f0-2c69-94d3-6e5d-5fcef5e4eab6'::uuid, 'Tmdb', 1290008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #376 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['872109e2-03be-98f3-a36c-38c7f3a9e8c7'::uuid]);

-- Query #377 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('271265f0-2c69-94d3-6e5d-5fcef5e4eab6'::uuid, 'trakt', 2407125)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #378 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('271265f0-2c69-94d3-6e5d-5fcef5e4eab6'::uuid, 'TvMaze', 1044087)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #379 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '872109e2-03be-98f3-a36c-38c7f3a9e8c7'::uuid;

-- Query #380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('271265f0-2c69-94d3-6e5d-5fcef5e4eab6'::uuid, 'Tvdb', 5988001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('872109e2-03be-98f3-a36c-38c7f3a9e8c7'::uuid, 'Imdb', 'tt10102658')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('271265f0-2c69-94d3-6e5d-5fcef5e4eab6'::uuid, 'TmdbCollection', 1290008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('872109e2-03be-98f3-a36c-38c7f3a9e8c7'::uuid, 'Tmdb', 2334008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('872109e2-03be-98f3-a36c-38c7f3a9e8c7'::uuid, 'trakt', 4249738)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #385 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '271265f0-2c69-94d3-6e5d-5fcef5e4eab6'::uuid;

-- Query #386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('872109e2-03be-98f3-a36c-38c7f3a9e8c7'::uuid, 'TvMaze', 1887936)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #387 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '271265f0-2c69-94d3-6e5d-5fcef5e4eab6'::uuid;

-- Query #388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('872109e2-03be-98f3-a36c-38c7f3a9e8c7'::uuid, 'Tvdb', 7749492)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #389 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('872109e2-03be-98f3-a36c-38c7f3a9e8c7'::uuid, 'TmdbCollection', 2334008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #390 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '872109e2-03be-98f3-a36c-38c7f3a9e8c7'::uuid;

-- Query #391 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '872109e2-03be-98f3-a36c-38c7f3a9e8c7'::uuid;

-- Query #392 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['271265f0-2c69-94d3-6e5d-5fcef5e4eab6'::uuid]);

-- Query #393 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '271265f0-2c69-94d3-6e5d-5fcef5e4eab6'::uuid;

-- Query #394 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #395 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['872109e2-03be-98f3-a36c-38c7f3a9e8c7'::uuid]);

-- Query #396 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '872109e2-03be-98f3-a36c-38c7f3a9e8c7'::uuid;

-- Query #397 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #398 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0434b35a-1d2d-444d-0d51-339138358b0e'::uuid;

-- Query #399 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0434b35a-1d2d-444d-0d51-339138358b0e'::uuid]);

-- Query #400 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0434b35a-1d2d-444d-0d51-339138358b0e'::uuid;

-- Query #401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0434b35a-1d2d-444d-0d51-339138358b0e'::uuid, 'Imdb', 'tt6215154')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0434b35a-1d2d-444d-0d51-339138358b0e'::uuid, 'Tmdb', 1262881)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0434b35a-1d2d-444d-0d51-339138358b0e'::uuid, 'trakt', 2407117)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0434b35a-1d2d-444d-0d51-339138358b0e'::uuid, 'TvMaze', 1033205)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0434b35a-1d2d-444d-0d51-339138358b0e'::uuid, 'Tvdb', 5908399)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0434b35a-1d2d-444d-0d51-339138358b0e'::uuid, 'TmdbCollection', 1262881)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #407 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0434b35a-1d2d-444d-0d51-339138358b0e'::uuid;

-- Query #408 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0434b35a-1d2d-444d-0d51-339138358b0e'::uuid;

-- Query #409 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0434b35a-1d2d-444d-0d51-339138358b0e'::uuid]);

-- Query #410 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2a097f2f-b650-3136-900f-768b1f3f4d59'::uuid;

-- Query #411 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0434b35a-1d2d-444d-0d51-339138358b0e'::uuid;

-- Query #412 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #413 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2a097f2f-b650-3136-900f-768b1f3f4d59'::uuid]);

-- Query #414 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2a097f2f-b650-3136-900f-768b1f3f4d59'::uuid;

-- Query #415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a097f2f-b650-3136-900f-768b1f3f4d59'::uuid, 'Imdb', 'tt10102654')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a097f2f-b650-3136-900f-768b1f3f4d59'::uuid, 'Tmdb', 2334007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a097f2f-b650-3136-900f-768b1f3f4d59'::uuid, 'trakt', 4249737)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a097f2f-b650-3136-900f-768b1f3f4d59'::uuid, 'TvMaze', 1887935)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #419 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a097f2f-b650-3136-900f-768b1f3f4d59'::uuid, 'Tvdb', 7749491)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a097f2f-b650-3136-900f-768b1f3f4d59'::uuid, 'TmdbCollection', 2334007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #421 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2a097f2f-b650-3136-900f-768b1f3f4d59'::uuid;

-- Query #422 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2a097f2f-b650-3136-900f-768b1f3f4d59'::uuid;

-- Query #423 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2a097f2f-b650-3136-900f-768b1f3f4d59'::uuid]);

-- Query #424 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2a097f2f-b650-3136-900f-768b1f3f4d59'::uuid;

-- Query #425 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #426 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '229bea50-1ddd-df5e-58b7-9db398dd190c'::uuid;

-- Query #427 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bea50-1ddd-df5e-58b7-9db398dd190c'::uuid]);

-- Query #428 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '229bea50-1ddd-df5e-58b7-9db398dd190c'::uuid;

-- Query #429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('229bea50-1ddd-df5e-58b7-9db398dd190c'::uuid, 'Imdb', 'tt6215140')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('229bea50-1ddd-df5e-58b7-9db398dd190c'::uuid, 'Tmdb', 1252191)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('229bea50-1ddd-df5e-58b7-9db398dd190c'::uuid, 'trakt', 2407114)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('229bea50-1ddd-df5e-58b7-9db398dd190c'::uuid, 'TvMaze', 1019292)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('229bea50-1ddd-df5e-58b7-9db398dd190c'::uuid, 'Tvdb', 5880122)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('229bea50-1ddd-df5e-58b7-9db398dd190c'::uuid, 'TmdbCollection', 1252191)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #435 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '229bea50-1ddd-df5e-58b7-9db398dd190c'::uuid;

-- Query #436 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '229bea50-1ddd-df5e-58b7-9db398dd190c'::uuid;

-- Query #437 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['229bea50-1ddd-df5e-58b7-9db398dd190c'::uuid]);

-- Query #438 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '229bea50-1ddd-df5e-58b7-9db398dd190c'::uuid;

-- Query #439 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #440 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '49231e8f-ee00-d025-4c70-7b8653dd5669'::uuid;

-- Query #441 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49231e8f-ee00-d025-4c70-7b8653dd5669'::uuid]);

-- Query #442 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '49231e8f-ee00-d025-4c70-7b8653dd5669'::uuid;

-- Query #443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49231e8f-ee00-d025-4c70-7b8653dd5669'::uuid, 'Imdb', 'tt10102646')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49231e8f-ee00-d025-4c70-7b8653dd5669'::uuid, 'Tmdb', 2334004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49231e8f-ee00-d025-4c70-7b8653dd5669'::uuid, 'trakt', 4249734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49231e8f-ee00-d025-4c70-7b8653dd5669'::uuid, 'TvMaze', 1887932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49231e8f-ee00-d025-4c70-7b8653dd5669'::uuid, 'Tvdb', 7749487)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49231e8f-ee00-d025-4c70-7b8653dd5669'::uuid, 'TmdbCollection', 2334004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #449 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '49231e8f-ee00-d025-4c70-7b8653dd5669'::uuid;

-- Query #450 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '49231e8f-ee00-d025-4c70-7b8653dd5669'::uuid;

-- Query #451 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0aa201c1-3603-fe78-7fd9-cb0d2720494b'::uuid;

-- Query #452 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['49231e8f-ee00-d025-4c70-7b8653dd5669'::uuid]);

-- Query #453 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0aa201c1-3603-fe78-7fd9-cb0d2720494b'::uuid]);

-- Query #454 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '49231e8f-ee00-d025-4c70-7b8653dd5669'::uuid;

-- Query #455 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0aa201c1-3603-fe78-7fd9-cb0d2720494b'::uuid;

-- Query #456 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0aa201c1-3603-fe78-7fd9-cb0d2720494b'::uuid, 'Imdb', 'tt6215152')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0aa201c1-3603-fe78-7fd9-cb0d2720494b'::uuid, 'Tmdb', 1260449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #459 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0aa201c1-3603-fe78-7fd9-cb0d2720494b'::uuid, 'trakt', 2407116)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #460 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0aa201c1-3603-fe78-7fd9-cb0d2720494b'::uuid, 'TvMaze', 1033204)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0aa201c1-3603-fe78-7fd9-cb0d2720494b'::uuid, 'Tvdb', 5880124)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0aa201c1-3603-fe78-7fd9-cb0d2720494b'::uuid, 'TmdbCollection', 1260449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #463 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0aa201c1-3603-fe78-7fd9-cb0d2720494b'::uuid;

-- Query #464 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0aa201c1-3603-fe78-7fd9-cb0d2720494b'::uuid;

-- Query #465 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0aa201c1-3603-fe78-7fd9-cb0d2720494b'::uuid]);

-- Query #466 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0aa201c1-3603-fe78-7fd9-cb0d2720494b'::uuid;

-- Query #467 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #468 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78a51e44-d62a-1556-59ae-fc24b301a653'::uuid;

-- Query #469 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78a51e44-d62a-1556-59ae-fc24b301a653'::uuid]);

-- Query #470 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '78a51e44-d62a-1556-59ae-fc24b301a653'::uuid;

-- Query #471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78a51e44-d62a-1556-59ae-fc24b301a653'::uuid, 'Imdb', 'tt5954704')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78a51e44-d62a-1556-59ae-fc24b301a653'::uuid, 'Tmdb', 1216544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #473 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78a51e44-d62a-1556-59ae-fc24b301a653'::uuid, 'trakt', 2296756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78a51e44-d62a-1556-59ae-fc24b301a653'::uuid, 'TvMaze', 920182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78a51e44-d62a-1556-59ae-fc24b301a653'::uuid, 'Tvdb', 5691888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78a51e44-d62a-1556-59ae-fc24b301a653'::uuid, 'TmdbCollection', 1216544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #477 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78a51e44-d62a-1556-59ae-fc24b301a653'::uuid;

-- Query #478 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '78a51e44-d62a-1556-59ae-fc24b301a653'::uuid;

-- Query #479 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c8d1125c-5fab-fa0f-5ac0-a14e78370fa7'::uuid;

-- Query #480 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c8d1125c-5fab-fa0f-5ac0-a14e78370fa7'::uuid]);

-- Query #481 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['78a51e44-d62a-1556-59ae-fc24b301a653'::uuid]);

-- Query #482 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c8d1125c-5fab-fa0f-5ac0-a14e78370fa7'::uuid;

-- Query #483 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '78a51e44-d62a-1556-59ae-fc24b301a653'::uuid;

-- Query #484 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c8d1125c-5fab-fa0f-5ac0-a14e78370fa7'::uuid, 'Imdb', 'tt9913754')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c8d1125c-5fab-fa0f-5ac0-a14e78370fa7'::uuid, 'Tmdb', 1730820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #486 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c8d1125c-5fab-fa0f-5ac0-a14e78370fa7'::uuid, 'trakt', 4249733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c8d1125c-5fab-fa0f-5ac0-a14e78370fa7'::uuid, 'TvMaze', 1887287)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c8d1125c-5fab-fa0f-5ac0-a14e78370fa7'::uuid, 'Tvdb', 7749485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c8d1125c-5fab-fa0f-5ac0-a14e78370fa7'::uuid, 'TmdbCollection', 1730820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #491 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c8d1125c-5fab-fa0f-5ac0-a14e78370fa7'::uuid;

-- Query #492 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c8d1125c-5fab-fa0f-5ac0-a14e78370fa7'::uuid;

-- Query #493 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c8d1125c-5fab-fa0f-5ac0-a14e78370fa7'::uuid]);

-- Query #494 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c8d1125c-5fab-fa0f-5ac0-a14e78370fa7'::uuid;

-- Query #495 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #496 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'baf0bd2e-b57b-c653-4ed5-a5677194d650'::uuid;

-- Query #497 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['baf0bd2e-b57b-c653-4ed5-a5677194d650'::uuid]);

-- Query #498 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'baf0bd2e-b57b-c653-4ed5-a5677194d650'::uuid;

-- Query #499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('baf0bd2e-b57b-c653-4ed5-a5677194d650'::uuid, 'Imdb', 'tt6111098')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('baf0bd2e-b57b-c653-4ed5-a5677194d650'::uuid, 'Tmdb', 1243396)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('baf0bd2e-b57b-c653-4ed5-a5677194d650'::uuid, 'trakt', 2394675)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('baf0bd2e-b57b-c653-4ed5-a5677194d650'::uuid, 'TvMaze', 992381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('baf0bd2e-b57b-c653-4ed5-a5677194d650'::uuid, 'Tvdb', 5823741)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #504 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('baf0bd2e-b57b-c653-4ed5-a5677194d650'::uuid, 'TmdbCollection', 1243396)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #505 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'baf0bd2e-b57b-c653-4ed5-a5677194d650'::uuid;

-- Query #506 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'baf0bd2e-b57b-c653-4ed5-a5677194d650'::uuid;

-- Query #507 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b4f8f30-a36f-b9f2-5e68-636a98f697d2'::uuid;

-- Query #508 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['baf0bd2e-b57b-c653-4ed5-a5677194d650'::uuid]);

-- Query #509 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'baf0bd2e-b57b-c653-4ed5-a5677194d650'::uuid;

-- Query #510 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #511 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b4f8f30-a36f-b9f2-5e68-636a98f697d2'::uuid]);

-- Query #512 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5b4f8f30-a36f-b9f2-5e68-636a98f697d2'::uuid;

-- Query #513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b4f8f30-a36f-b9f2-5e68-636a98f697d2'::uuid, 'Imdb', 'tt10102670')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b4f8f30-a36f-b9f2-5e68-636a98f697d2'::uuid, 'Tmdb', 2334012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b4f8f30-a36f-b9f2-5e68-636a98f697d2'::uuid, 'trakt', 4249742)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b4f8f30-a36f-b9f2-5e68-636a98f697d2'::uuid, 'TvMaze', 1887940)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b4f8f30-a36f-b9f2-5e68-636a98f697d2'::uuid, 'Tvdb', 7749497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b4f8f30-a36f-b9f2-5e68-636a98f697d2'::uuid, 'TmdbCollection', 2334012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #519 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b4f8f30-a36f-b9f2-5e68-636a98f697d2'::uuid;

-- Query #520 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5b4f8f30-a36f-b9f2-5e68-636a98f697d2'::uuid;

-- Query #521 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd74fc026-645c-4f4c-d753-4869005ee3bf'::uuid;

-- Query #522 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5b4f8f30-a36f-b9f2-5e68-636a98f697d2'::uuid]);

-- Query #523 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5b4f8f30-a36f-b9f2-5e68-636a98f697d2'::uuid;

-- Query #524 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #525 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d74fc026-645c-4f4c-d753-4869005ee3bf'::uuid]);

-- Query #526 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd74fc026-645c-4f4c-d753-4869005ee3bf'::uuid;

-- Query #527 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d74fc026-645c-4f4c-d753-4869005ee3bf'::uuid, 'Imdb', 'tt5807526')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #528 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d74fc026-645c-4f4c-d753-4869005ee3bf'::uuid, 'Tmdb', 1206934)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #529 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d74fc026-645c-4f4c-d753-4869005ee3bf'::uuid, 'trakt', 2242449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #530 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d74fc026-645c-4f4c-d753-4869005ee3bf'::uuid, 'TvMaze', 843459)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d74fc026-645c-4f4c-d753-4869005ee3bf'::uuid, 'Tvdb', 5644872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d74fc026-645c-4f4c-d753-4869005ee3bf'::uuid, 'TmdbCollection', 1206934)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #533 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd74fc026-645c-4f4c-d753-4869005ee3bf'::uuid;

-- Query #534 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd74fc026-645c-4f4c-d753-4869005ee3bf'::uuid;

-- Query #535 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d74fc026-645c-4f4c-d753-4869005ee3bf'::uuid]);

-- Query #536 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd74fc026-645c-4f4c-d753-4869005ee3bf'::uuid;

-- Query #537 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #538 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87a8cbd9-463d-0c37-270a-45b457aa5430'::uuid;

-- Query #539 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87a8cbd9-463d-0c37-270a-45b457aa5430'::uuid]);

-- Query #540 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '87a8cbd9-463d-0c37-270a-45b457aa5430'::uuid;

-- Query #541 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87a8cbd9-463d-0c37-270a-45b457aa5430'::uuid, 'Imdb', 'tt23555830')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #542 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87a8cbd9-463d-0c37-270a-45b457aa5430'::uuid, 'Tmdb', 4046156)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #543 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07fbbab9-5c75-ccb9-53dc-2ae0f7f04680'::uuid;

-- Query #544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87a8cbd9-463d-0c37-270a-45b457aa5430'::uuid, 'TvMaze', 2414994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87a8cbd9-463d-0c37-270a-45b457aa5430'::uuid, 'Tvdb', 9440130)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87a8cbd9-463d-0c37-270a-45b457aa5430'::uuid, 'tv maze', 2414994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87a8cbd9-463d-0c37-270a-45b457aa5430'::uuid, 'trakt', 6861370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87a8cbd9-463d-0c37-270a-45b457aa5430'::uuid, 'TmdbCollection', 4046156)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #549 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87a8cbd9-463d-0c37-270a-45b457aa5430'::uuid;

-- Query #550 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07fbbab9-5c75-ccb9-53dc-2ae0f7f04680'::uuid]);

-- Query #551 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '87a8cbd9-463d-0c37-270a-45b457aa5430'::uuid;

-- Query #552 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '07fbbab9-5c75-ccb9-53dc-2ae0f7f04680'::uuid;

-- Query #553 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07fbbab9-5c75-ccb9-53dc-2ae0f7f04680'::uuid, 'Imdb', 'tt6215136')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #554 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07fbbab9-5c75-ccb9-53dc-2ae0f7f04680'::uuid, 'Tmdb', 1244979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07fbbab9-5c75-ccb9-53dc-2ae0f7f04680'::uuid, 'trakt', 2407110)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #556 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07fbbab9-5c75-ccb9-53dc-2ae0f7f04680'::uuid, 'TvMaze', 996823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #557 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07fbbab9-5c75-ccb9-53dc-2ae0f7f04680'::uuid, 'Tvdb', 5842570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #558 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07fbbab9-5c75-ccb9-53dc-2ae0f7f04680'::uuid, 'TmdbCollection', 1244979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #559 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07fbbab9-5c75-ccb9-53dc-2ae0f7f04680'::uuid;

-- Query #560 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '07fbbab9-5c75-ccb9-53dc-2ae0f7f04680'::uuid;

-- Query #561 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['87a8cbd9-463d-0c37-270a-45b457aa5430'::uuid]);

-- Query #562 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '87a8cbd9-463d-0c37-270a-45b457aa5430'::uuid;

-- Query #563 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59656b77-680b-ed62-12f9-065f06a5febe'::uuid, '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #564 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['07fbbab9-5c75-ccb9-53dc-2ae0f7f04680'::uuid]);

-- Query #565 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '07fbbab9-5c75-ccb9-53dc-2ae0f7f04680'::uuid;

-- Query #566 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ae0f9cd-6d4e-b658-63a4-a20c477e00e6'::uuid;

-- Query #568 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eec4054c-ed0a-2376-0d1e-c79b0ebcbd27'::uuid;

-- Query #569 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ae0f9cd-6d4e-b658-63a4-a20c477e00e6'::uuid]);

-- Query #570 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8ae0f9cd-6d4e-b658-63a4-a20c477e00e6'::uuid;

-- Query #571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ae0f9cd-6d4e-b658-63a4-a20c477e00e6'::uuid, 'Imdb', 'tt6215138')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #572 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ae0f9cd-6d4e-b658-63a4-a20c477e00e6'::uuid, 'Tmdb', 1252190)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #573 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ae0f9cd-6d4e-b658-63a4-a20c477e00e6'::uuid, 'trakt', 2407113)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #574 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ae0f9cd-6d4e-b658-63a4-a20c477e00e6'::uuid, 'TvMaze', 998723)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ae0f9cd-6d4e-b658-63a4-a20c477e00e6'::uuid, 'Tvdb', 5856464)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ae0f9cd-6d4e-b658-63a4-a20c477e00e6'::uuid, 'TmdbCollection', 1252190)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #577 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ae0f9cd-6d4e-b658-63a4-a20c477e00e6'::uuid;

-- Query #578 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8ae0f9cd-6d4e-b658-63a4-a20c477e00e6'::uuid;

-- Query #579 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eec4054c-ed0a-2376-0d1e-c79b0ebcbd27'::uuid]);

-- Query #580 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eec4054c-ed0a-2376-0d1e-c79b0ebcbd27'::uuid;

-- Query #581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eec4054c-ed0a-2376-0d1e-c79b0ebcbd27'::uuid, 'Imdb', 'tt23556156')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #582 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8ae0f9cd-6d4e-b658-63a4-a20c477e00e6'::uuid]);

-- Query #583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eec4054c-ed0a-2376-0d1e-c79b0ebcbd27'::uuid, 'Tmdb', 4046159)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #584 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8ae0f9cd-6d4e-b658-63a4-a20c477e00e6'::uuid;

-- Query #585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eec4054c-ed0a-2376-0d1e-c79b0ebcbd27'::uuid, 'TvMaze', 2416859)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eec4054c-ed0a-2376-0d1e-c79b0ebcbd27'::uuid, 'Tvdb', 9440133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #587 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eec4054c-ed0a-2376-0d1e-c79b0ebcbd27'::uuid, 'tv maze', 2416859)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eec4054c-ed0a-2376-0d1e-c79b0ebcbd27'::uuid, 'trakt', 6861375)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eec4054c-ed0a-2376-0d1e-c79b0ebcbd27'::uuid, 'TmdbCollection', 4046159)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eec4054c-ed0a-2376-0d1e-c79b0ebcbd27'::uuid;

-- Query #592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eec4054c-ed0a-2376-0d1e-c79b0ebcbd27'::uuid;

-- Query #593 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eec4054c-ed0a-2376-0d1e-c79b0ebcbd27'::uuid]);

-- Query #594 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eec4054c-ed0a-2376-0d1e-c79b0ebcbd27'::uuid;

-- Query #595 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59656b77-680b-ed62-12f9-065f06a5febe'::uuid, '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #596 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '613f1a6f-dd44-391f-aebb-7ffab61ca2b1'::uuid;

-- Query #597 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['613f1a6f-dd44-391f-aebb-7ffab61ca2b1'::uuid]);

-- Query #598 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '613f1a6f-dd44-391f-aebb-7ffab61ca2b1'::uuid;

-- Query #599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613f1a6f-dd44-391f-aebb-7ffab61ca2b1'::uuid, 'Imdb', 'tt6027608')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613f1a6f-dd44-391f-aebb-7ffab61ca2b1'::uuid, 'Tmdb', 1233147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613f1a6f-dd44-391f-aebb-7ffab61ca2b1'::uuid, 'trakt', 2313503)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613f1a6f-dd44-391f-aebb-7ffab61ca2b1'::uuid, 'TvMaze', 920185)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #603 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613f1a6f-dd44-391f-aebb-7ffab61ca2b1'::uuid, 'Tvdb', 5728583)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613f1a6f-dd44-391f-aebb-7ffab61ca2b1'::uuid, 'TmdbCollection', 1233147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #605 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '613f1a6f-dd44-391f-aebb-7ffab61ca2b1'::uuid;

-- Query #606 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '613f1a6f-dd44-391f-aebb-7ffab61ca2b1'::uuid;

-- Query #607 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['613f1a6f-dd44-391f-aebb-7ffab61ca2b1'::uuid]);

-- Query #608 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '613f1a6f-dd44-391f-aebb-7ffab61ca2b1'::uuid;

-- Query #609 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #610 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #611 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffd63396-4267-75d0-a544-6d59f991dc0c'::uuid;

-- Query #612 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid;

-- Query #613 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffd63396-4267-75d0-a544-6d59f991dc0c'::uuid]);

-- Query #614 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ffd63396-4267-75d0-a544-6d59f991dc0c'::uuid;

-- Query #615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffd63396-4267-75d0-a544-6d59f991dc0c'::uuid, 'Imdb', 'tt5963988')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffd63396-4267-75d0-a544-6d59f991dc0c'::uuid, 'Tmdb', 1230626)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffd63396-4267-75d0-a544-6d59f991dc0c'::uuid, 'trakt', 2313502)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #618 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid]);

-- Query #619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffd63396-4267-75d0-a544-6d59f991dc0c'::uuid, 'TvMaze', 920184)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #620 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffd63396-4267-75d0-a544-6d59f991dc0c'::uuid, 'Tvdb', 5728581)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #621 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid;

-- Query #622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffd63396-4267-75d0-a544-6d59f991dc0c'::uuid, 'TmdbCollection', 1230626)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid, 'Imdb', 'tt23556166')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid, 'Tmdb', 4046164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #625 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffd63396-4267-75d0-a544-6d59f991dc0c'::uuid;

-- Query #626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid, 'TvMaze', 2416863)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #627 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ffd63396-4267-75d0-a544-6d59f991dc0c'::uuid;

-- Query #628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid, 'Tvdb', 9440140)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid, 'tv maze', 2416863)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid, 'trakt', 6861387)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #631 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid, 'TmdbCollection', 4046164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #632 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid;

-- Query #633 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid;

-- Query #634 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ffd63396-4267-75d0-a544-6d59f991dc0c'::uuid]);

-- Query #635 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ffd63396-4267-75d0-a544-6d59f991dc0c'::uuid;

-- Query #636 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #637 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid]);

-- Query #638 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid;

-- Query #639 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59656b77-680b-ed62-12f9-065f06a5febe'::uuid, '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #640 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5bd13ead-cb87-846e-2c61-599a08015b0e'::uuid;

-- Query #641 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bd13ead-cb87-846e-2c61-599a08015b0e'::uuid]);

-- Query #642 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a7549f8f-1db3-1b66-d1ff-b2175c45e848'::uuid;

-- Query #643 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5bd13ead-cb87-846e-2c61-599a08015b0e'::uuid;

-- Query #644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bd13ead-cb87-846e-2c61-599a08015b0e'::uuid, 'Imdb', 'tt23556154')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bd13ead-cb87-846e-2c61-599a08015b0e'::uuid, 'Tmdb', 4046157)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #646 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a7549f8f-1db3-1b66-d1ff-b2175c45e848'::uuid]);

-- Query #647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bd13ead-cb87-846e-2c61-599a08015b0e'::uuid, 'TvMaze', 2414995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #648 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bd13ead-cb87-846e-2c61-599a08015b0e'::uuid, 'Tvdb', 9440131)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #649 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a7549f8f-1db3-1b66-d1ff-b2175c45e848'::uuid;

-- Query #650 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bd13ead-cb87-846e-2c61-599a08015b0e'::uuid, 'tv maze', 2414995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7549f8f-1db3-1b66-d1ff-b2175c45e848'::uuid, 'Imdb', 'tt6073240')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #652 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bd13ead-cb87-846e-2c61-599a08015b0e'::uuid, 'trakt', 6861372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7549f8f-1db3-1b66-d1ff-b2175c45e848'::uuid, 'Tmdb', 1233148)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bd13ead-cb87-846e-2c61-599a08015b0e'::uuid, 'TmdbCollection', 4046157)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7549f8f-1db3-1b66-d1ff-b2175c45e848'::uuid, 'trakt', 2313504)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7549f8f-1db3-1b66-d1ff-b2175c45e848'::uuid, 'TvMaze', 957063)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #657 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5bd13ead-cb87-846e-2c61-599a08015b0e'::uuid;

-- Query #658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7549f8f-1db3-1b66-d1ff-b2175c45e848'::uuid, 'Tvdb', 5781700)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5bd13ead-cb87-846e-2c61-599a08015b0e'::uuid;

-- Query #660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7549f8f-1db3-1b66-d1ff-b2175c45e848'::uuid, 'TmdbCollection', 1233148)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #661 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a7549f8f-1db3-1b66-d1ff-b2175c45e848'::uuid;

-- Query #662 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a7549f8f-1db3-1b66-d1ff-b2175c45e848'::uuid;

-- Query #663 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5bd13ead-cb87-846e-2c61-599a08015b0e'::uuid]);

-- Query #664 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5bd13ead-cb87-846e-2c61-599a08015b0e'::uuid;

-- Query #665 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a7549f8f-1db3-1b66-d1ff-b2175c45e848'::uuid]);

-- Query #666 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59656b77-680b-ed62-12f9-065f06a5febe'::uuid, '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #667 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a7549f8f-1db3-1b66-d1ff-b2175c45e848'::uuid;

-- Query #668 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #669 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b4cbebe-dded-0eb2-6a17-c8a1016da097'::uuid;

-- Query #670 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab5ad246-00b2-52b0-4762-0f1c32e75f30'::uuid;

-- Query #671 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b4cbebe-dded-0eb2-6a17-c8a1016da097'::uuid]);

-- Query #672 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0b4cbebe-dded-0eb2-6a17-c8a1016da097'::uuid;

-- Query #673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4cbebe-dded-0eb2-6a17-c8a1016da097'::uuid, 'Imdb', 'tt23556158')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4cbebe-dded-0eb2-6a17-c8a1016da097'::uuid, 'Tmdb', 4046160)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4cbebe-dded-0eb2-6a17-c8a1016da097'::uuid, 'TvMaze', 2416860)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #676 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab5ad246-00b2-52b0-4762-0f1c32e75f30'::uuid]);

-- Query #677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4cbebe-dded-0eb2-6a17-c8a1016da097'::uuid, 'Tvdb', 9440135)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #678 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ab5ad246-00b2-52b0-4762-0f1c32e75f30'::uuid;

-- Query #679 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4cbebe-dded-0eb2-6a17-c8a1016da097'::uuid, 'tv maze', 2416860)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #680 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab5ad246-00b2-52b0-4762-0f1c32e75f30'::uuid, 'Imdb', 'tt7538946')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #681 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4cbebe-dded-0eb2-6a17-c8a1016da097'::uuid, 'trakt', 6861378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #682 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab5ad246-00b2-52b0-4762-0f1c32e75f30'::uuid, 'Tmdb', 1403814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #683 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4cbebe-dded-0eb2-6a17-c8a1016da097'::uuid, 'TmdbCollection', 4046160)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #684 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab5ad246-00b2-52b0-4762-0f1c32e75f30'::uuid, 'trakt', 2795501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #685 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b4cbebe-dded-0eb2-6a17-c8a1016da097'::uuid;

-- Query #686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab5ad246-00b2-52b0-4762-0f1c32e75f30'::uuid, 'TvMaze', 1360657)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #687 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0b4cbebe-dded-0eb2-6a17-c8a1016da097'::uuid;

-- Query #688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab5ad246-00b2-52b0-4762-0f1c32e75f30'::uuid, 'Tvdb', 6412345)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab5ad246-00b2-52b0-4762-0f1c32e75f30'::uuid, 'TmdbCollection', 1403814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #690 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab5ad246-00b2-52b0-4762-0f1c32e75f30'::uuid;

-- Query #691 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ab5ad246-00b2-52b0-4762-0f1c32e75f30'::uuid;

-- Query #692 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0b4cbebe-dded-0eb2-6a17-c8a1016da097'::uuid]);

-- Query #693 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0b4cbebe-dded-0eb2-6a17-c8a1016da097'::uuid;

-- Query #694 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ab5ad246-00b2-52b0-4762-0f1c32e75f30'::uuid]);

-- Query #695 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59656b77-680b-ed62-12f9-065f06a5febe'::uuid, '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #696 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ab5ad246-00b2-52b0-4762-0f1c32e75f30'::uuid;

-- Query #697 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #698 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3ef1b969-c05e-bfd5-d7ba-d99e04a3b9ab'::uuid;

-- Query #699 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ef1b969-c05e-bfd5-d7ba-d99e04a3b9ab'::uuid]);

-- Query #700 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3ef1b969-c05e-bfd5-d7ba-d99e04a3b9ab'::uuid;

-- Query #701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ef1b969-c05e-bfd5-d7ba-d99e04a3b9ab'::uuid, 'Imdb', 'tt7642976')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #702 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7d955258-87bb-3aa4-dcaf-bcae1ed6445c'::uuid;

-- Query #703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ef1b969-c05e-bfd5-d7ba-d99e04a3b9ab'::uuid, 'Tmdb', 1394755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ef1b969-c05e-bfd5-d7ba-d99e04a3b9ab'::uuid, 'trakt', 2775571)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ef1b969-c05e-bfd5-d7ba-d99e04a3b9ab'::uuid, 'TvMaze', 1349690)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ef1b969-c05e-bfd5-d7ba-d99e04a3b9ab'::uuid, 'Tvdb', 6383413)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ef1b969-c05e-bfd5-d7ba-d99e04a3b9ab'::uuid, 'TmdbCollection', 1394755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #708 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3ef1b969-c05e-bfd5-d7ba-d99e04a3b9ab'::uuid;

-- Query #709 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d955258-87bb-3aa4-dcaf-bcae1ed6445c'::uuid]);

-- Query #710 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3ef1b969-c05e-bfd5-d7ba-d99e04a3b9ab'::uuid;

-- Query #711 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7d955258-87bb-3aa4-dcaf-bcae1ed6445c'::uuid;

-- Query #712 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d955258-87bb-3aa4-dcaf-bcae1ed6445c'::uuid, 'Imdb', 'tt23556164')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d955258-87bb-3aa4-dcaf-bcae1ed6445c'::uuid, 'Tmdb', 4046163)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d955258-87bb-3aa4-dcaf-bcae1ed6445c'::uuid, 'TvMaze', 2416862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d955258-87bb-3aa4-dcaf-bcae1ed6445c'::uuid, 'Tvdb', 9440139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d955258-87bb-3aa4-dcaf-bcae1ed6445c'::uuid, 'tv maze', 2416862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d955258-87bb-3aa4-dcaf-bcae1ed6445c'::uuid, 'trakt', 6861384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d955258-87bb-3aa4-dcaf-bcae1ed6445c'::uuid, 'TmdbCollection', 4046163)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #719 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3ef1b969-c05e-bfd5-d7ba-d99e04a3b9ab'::uuid]);

-- Query #720 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7d955258-87bb-3aa4-dcaf-bcae1ed6445c'::uuid;

-- Query #721 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7d955258-87bb-3aa4-dcaf-bcae1ed6445c'::uuid;

-- Query #722 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3ef1b969-c05e-bfd5-d7ba-d99e04a3b9ab'::uuid;

-- Query #723 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #724 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7d955258-87bb-3aa4-dcaf-bcae1ed6445c'::uuid]);

-- Query #725 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7d955258-87bb-3aa4-dcaf-bcae1ed6445c'::uuid;

-- Query #726 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59656b77-680b-ed62-12f9-065f06a5febe'::uuid, '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #727 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4d6c3336-1225-ee3f-6cae-c479051121c5'::uuid
ORDER BY b."SortName";

-- Query #728 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '59656b77-680b-ed62-12f9-065f06a5febe'::uuid])
ORDER BY b."Id";

-- Query #729 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '59656b77-680b-ed62-12f9-065f06a5febe'::uuid])
ORDER BY b."Id";

-- Query #730 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '59656b77-680b-ed62-12f9-065f06a5febe'::uuid])
ORDER BY b."Id";

-- Query #731 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '59656b77-680b-ed62-12f9-065f06a5febe'::uuid])
ORDER BY b."Id";

-- Query #732 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid, '59656b77-680b-ed62-12f9-065f06a5febe'::uuid])
ORDER BY b."Id";

-- Query #733 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dcd5b462-50f9-76ca-4e57-60e4535f173a'::uuid
ORDER BY b."SortName";

-- Query #734 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '59656b77-680b-ed62-12f9-065f06a5febe'::uuid
ORDER BY b."SortName";

-- Query #735 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '4d6c33361225ee3f6caec479051121c5'
ORDER BY b."SortName", b."Name";

-- Query #736 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0403415-7098-8323-4374-eedfed6cc722'::uuid;

-- Query #737 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0403415-7098-8323-4374-eedfed6cc722'::uuid]);

-- Query #738 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a0403415-7098-8323-4374-eedfed6cc722'::uuid;

-- Query #739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0403415-7098-8323-4374-eedfed6cc722'::uuid, 'Imdb', 'tt7662972')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0403415-7098-8323-4374-eedfed6cc722'::uuid, 'Tmdb', 1414017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0403415-7098-8323-4374-eedfed6cc722'::uuid, 'TmdbCollection', 1414017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #742 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid
ORDER BY b."SortName";

-- Query #743 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0403415-7098-8323-4374-eedfed6cc722'::uuid, 'trakt', 2825474)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #744 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0403415-7098-8323-4374-eedfed6cc722'::uuid, 'Tvdb', 6461757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #745 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid])
ORDER BY b."Id";

-- Query #746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0403415-7098-8323-4374-eedfed6cc722'::uuid, 'TvMaze', 1376856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #747 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0403415-7098-8323-4374-eedfed6cc722'::uuid;

-- Query #748 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid])
ORDER BY b."Id";

-- Query #749 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a0403415-7098-8323-4374-eedfed6cc722'::uuid;

-- Query #750 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid])
ORDER BY b."Id";

-- Query #751 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid])
ORDER BY b."Id";

-- Query #752 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid])
ORDER BY b."Id";

-- Query #753 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid
ORDER BY b."SortName";

-- Query #754 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a0403415-7098-8323-4374-eedfed6cc722'::uuid]);

-- Query #755 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a0403415-7098-8323-4374-eedfed6cc722'::uuid;

-- Query #756 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc96fe06-6ac8-4c7e-b889-5514190f00f2'::uuid;

-- Query #758 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fc96fe06-6ac8-4c7e-b889-5514190f00f2'::uuid]);

-- Query #759 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fc96fe06-6ac8-4c7e-b889-5514190f00f2'::uuid;

-- Query #760 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc96fe06-6ac8-4c7e-b889-5514190f00f2'::uuid, 'Imdb', 'tt6687140')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #761 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc96fe06-6ac8-4c7e-b889-5514190f00f2'::uuid, 'Tmdb', 1353932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #762 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc96fe06-6ac8-4c7e-b889-5514190f00f2'::uuid, 'trakt', 2578895)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #763 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc96fe06-6ac8-4c7e-b889-5514190f00f2'::uuid, 'TvMaze', 1201875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #764 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc96fe06-6ac8-4c7e-b889-5514190f00f2'::uuid, 'Tvdb', 6113840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc96fe06-6ac8-4c7e-b889-5514190f00f2'::uuid, 'TmdbCollection', 1353932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #766 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc96fe06-6ac8-4c7e-b889-5514190f00f2'::uuid;

-- Query #767 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fc96fe06-6ac8-4c7e-b889-5514190f00f2'::uuid;

-- Query #768 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fc96fe06-6ac8-4c7e-b889-5514190f00f2'::uuid]);

-- Query #769 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fc96fe06-6ac8-4c7e-b889-5514190f00f2'::uuid;

-- Query #770 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #771 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cdf22cde-50d8-7b7d-9501-d8c60a270b9b'::uuid;

-- Query #772 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdf22cde-50d8-7b7d-9501-d8c60a270b9b'::uuid]);

-- Query #773 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cdf22cde-50d8-7b7d-9501-d8c60a270b9b'::uuid;

-- Query #774 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdf22cde-50d8-7b7d-9501-d8c60a270b9b'::uuid, 'Imdb', 'tt7426112')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdf22cde-50d8-7b7d-9501-d8c60a270b9b'::uuid, 'Tmdb', 1391863)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdf22cde-50d8-7b7d-9501-d8c60a270b9b'::uuid, 'trakt', 2729657)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdf22cde-50d8-7b7d-9501-d8c60a270b9b'::uuid, 'TvMaze', 1328645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdf22cde-50d8-7b7d-9501-d8c60a270b9b'::uuid, 'Tvdb', 6315740)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdf22cde-50d8-7b7d-9501-d8c60a270b9b'::uuid, 'TmdbCollection', 1391863)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #780 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cdf22cde-50d8-7b7d-9501-d8c60a270b9b'::uuid;

-- Query #781 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cdf22cde-50d8-7b7d-9501-d8c60a270b9b'::uuid;

-- Query #782 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cdf22cde-50d8-7b7d-9501-d8c60a270b9b'::uuid]);

-- Query #783 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cdf22cde-50d8-7b7d-9501-d8c60a270b9b'::uuid;

-- Query #784 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #785 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3936e972-a75a-bf7e-82ae-ee4c64cf069b'::uuid;

-- Query #786 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3936e972-a75a-bf7e-82ae-ee4c64cf069b'::uuid]);

-- Query #787 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3936e972-a75a-bf7e-82ae-ee4c64cf069b'::uuid;

-- Query #788 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3936e972-a75a-bf7e-82ae-ee4c64cf069b'::uuid, 'Imdb', 'tt7820776')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #789 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3936e972-a75a-bf7e-82ae-ee4c64cf069b'::uuid, 'Tmdb', 1428050)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #790 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3936e972-a75a-bf7e-82ae-ee4c64cf069b'::uuid, 'trakt', 2874663)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #791 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3936e972-a75a-bf7e-82ae-ee4c64cf069b'::uuid, 'TvMaze', 1404922)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3936e972-a75a-bf7e-82ae-ee4c64cf069b'::uuid, 'Tvdb', 6535389)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #793 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3936e972-a75a-bf7e-82ae-ee4c64cf069b'::uuid, 'TmdbCollection', 1428050)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #794 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3936e972-a75a-bf7e-82ae-ee4c64cf069b'::uuid;

-- Query #795 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3936e972-a75a-bf7e-82ae-ee4c64cf069b'::uuid;

-- Query #796 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3936e972-a75a-bf7e-82ae-ee4c64cf069b'::uuid]);

-- Query #797 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3936e972-a75a-bf7e-82ae-ee4c64cf069b'::uuid;

-- Query #798 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #799 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11a65991-253c-18ad-3695-f46d1cd95d8e'::uuid;

-- Query #800 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11a65991-253c-18ad-3695-f46d1cd95d8e'::uuid]);

-- Query #801 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '11a65991-253c-18ad-3695-f46d1cd95d8e'::uuid;

-- Query #802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11a65991-253c-18ad-3695-f46d1cd95d8e'::uuid, 'Imdb', 'tt8184484')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11a65991-253c-18ad-3695-f46d1cd95d8e'::uuid, 'Tmdb', 1481986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11a65991-253c-18ad-3695-f46d1cd95d8e'::uuid, 'trakt', 2934421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11a65991-253c-18ad-3695-f46d1cd95d8e'::uuid, 'TvMaze', 1431772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11a65991-253c-18ad-3695-f46d1cd95d8e'::uuid, 'Tvdb', 6613219)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11a65991-253c-18ad-3695-f46d1cd95d8e'::uuid, 'TmdbCollection', 1481986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11a65991-253c-18ad-3695-f46d1cd95d8e'::uuid;

-- Query #809 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '11a65991-253c-18ad-3695-f46d1cd95d8e'::uuid;

-- Query #810 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid;

-- Query #811 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['11a65991-253c-18ad-3695-f46d1cd95d8e'::uuid]);

-- Query #812 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '11a65991-253c-18ad-3695-f46d1cd95d8e'::uuid;

-- Query #813 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #814 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid]);

-- Query #815 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid;

-- Query #816 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'Imdb', 'tt7049682')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #817 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'Tmdb', 79788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #818 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'TmdbCollection', 79788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'Tvdb', 360733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'TvMaze', 29575)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'wikidata', 'Q56153643')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #822 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid;

-- Query #823 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid;

-- Query #824 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid]);

-- Query #825 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid;

-- Query #826 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #827 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'e07eb905f055faffcbf8245c13a2c5fd'
ORDER BY b."SortName", b."Name";

-- Query #828 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a12b27d-699c-dc32-badd-4bc78fda5e2d'::uuid;

-- Query #829 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a12b27d-699c-dc32-badd-4bc78fda5e2d'::uuid]);

-- Query #830 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid
ORDER BY b."SortName";

-- Query #831 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4a12b27d-699c-dc32-badd-4bc78fda5e2d'::uuid;

-- Query #832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a12b27d-699c-dc32-badd-4bc78fda5e2d'::uuid, 'Imdb', 'tt7728336')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #833 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid])
ORDER BY b."Id";

-- Query #834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a12b27d-699c-dc32-badd-4bc78fda5e2d'::uuid, 'Tmdb', 1406760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a12b27d-699c-dc32-badd-4bc78fda5e2d'::uuid, 'trakt', 2817886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #836 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid])
ORDER BY b."Id";

-- Query #837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a12b27d-699c-dc32-badd-4bc78fda5e2d'::uuid, 'TvMaze', 1372714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #838 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid])
ORDER BY b."Id";

-- Query #839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a12b27d-699c-dc32-badd-4bc78fda5e2d'::uuid, 'Tvdb', 6451915)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a12b27d-699c-dc32-badd-4bc78fda5e2d'::uuid, 'TmdbCollection', 1406760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #841 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid])
ORDER BY b."Id";

-- Query #842 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a12b27d-699c-dc32-badd-4bc78fda5e2d'::uuid;

-- Query #843 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid])
ORDER BY b."Id";

-- Query #844 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4a12b27d-699c-dc32-badd-4bc78fda5e2d'::uuid;

-- Query #845 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid
ORDER BY b."SortName";

-- Query #846 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4a12b27d-699c-dc32-badd-4bc78fda5e2d'::uuid]);

-- Query #847 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4a12b27d-699c-dc32-badd-4bc78fda5e2d'::uuid;

-- Query #848 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #849 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'e07eb905f055faffcbf8245c13a2c5fd'
ORDER BY b."SortName", b."Name";

-- Query #850 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b31f2e59-ebdb-a64d-b676-696e4ee66776'::uuid;

-- Query #851 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid;

-- Query #852 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b31f2e59-ebdb-a64d-b676-696e4ee66776'::uuid]);

-- Query #853 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b31f2e59-ebdb-a64d-b676-696e4ee66776'::uuid;

-- Query #854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b31f2e59-ebdb-a64d-b676-696e4ee66776'::uuid, 'Imdb', 'tt7593194')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b31f2e59-ebdb-a64d-b676-696e4ee66776'::uuid, 'Tmdb', 1417824)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b31f2e59-ebdb-a64d-b676-696e4ee66776'::uuid, 'trakt', 2842977)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b31f2e59-ebdb-a64d-b676-696e4ee66776'::uuid, 'TvMaze', 1383583)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b31f2e59-ebdb-a64d-b676-696e4ee66776'::uuid, 'Tvdb', 6482790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b31f2e59-ebdb-a64d-b676-696e4ee66776'::uuid, 'TmdbCollection', 1417824)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #860 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b31f2e59-ebdb-a64d-b676-696e4ee66776'::uuid;

-- Query #861 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b31f2e59-ebdb-a64d-b676-696e4ee66776'::uuid;

-- Query #862 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid]);

-- Query #863 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid;

-- Query #864 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid, 'Tvdb', 360733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid, 'Tmdb', 79788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid, 'Imdb', 'tt7049682')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid, 'TvMaze', 29575)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #868 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid, 'wikidata', 'Q56153643')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #869 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b31f2e59-ebdb-a64d-b676-696e4ee66776'::uuid]);

-- Query #870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid, 'TmdbCollection', 79788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #871 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid;

-- Query #872 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b31f2e59-ebdb-a64d-b676-696e4ee66776'::uuid;

-- Query #873 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid;

-- Query #874 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #875 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on graphic novel', '6+dystopian sci-fi', '6+superhero', '6+vigilante']);

-- Query #876 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid]);

-- Query #877 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid;

-- Query #878 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #879 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b6b2ce13-30bc-2739-98b7-3abf86bfbfd5'::uuid;

-- Query #880 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b6b2ce13-30bc-2739-98b7-3abf86bfbfd5'::uuid]);

-- Query #881 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b6b2ce13-30bc-2739-98b7-3abf86bfbfd5'::uuid;

-- Query #882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6b2ce13-30bc-2739-98b7-3abf86bfbfd5'::uuid, 'Imdb', 'tt7781504')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6b2ce13-30bc-2739-98b7-3abf86bfbfd5'::uuid, 'Tmdb', 1423667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6b2ce13-30bc-2739-98b7-3abf86bfbfd5'::uuid, 'trakt', 2853272)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6b2ce13-30bc-2739-98b7-3abf86bfbfd5'::uuid, 'TvMaze', 1387584)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6b2ce13-30bc-2739-98b7-3abf86bfbfd5'::uuid, 'Tvdb', 6497157)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6b2ce13-30bc-2739-98b7-3abf86bfbfd5'::uuid, 'TmdbCollection', 1423667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #888 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b6b2ce13-30bc-2739-98b7-3abf86bfbfd5'::uuid;

-- Query #889 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b6b2ce13-30bc-2739-98b7-3abf86bfbfd5'::uuid;

-- Query #890 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b6b2ce13-30bc-2739-98b7-3abf86bfbfd5'::uuid]);

-- Query #891 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b6b2ce13-30bc-2739-98b7-3abf86bfbfd5'::uuid;

-- Query #892 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #893 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8f9bda4d-15a7-fb68-dd14-0e2cc726736d'::uuid;

-- Query #894 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f9bda4d-15a7-fb68-dd14-0e2cc726736d'::uuid]);

-- Query #895 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8f9bda4d-15a7-fb68-dd14-0e2cc726736d'::uuid;

-- Query #896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f9bda4d-15a7-fb68-dd14-0e2cc726736d'::uuid, 'Imdb', 'tt9111408')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f9bda4d-15a7-fb68-dd14-0e2cc726736d'::uuid, 'Tmdb', 1957712)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f9bda4d-15a7-fb68-dd14-0e2cc726736d'::uuid, 'trakt', 3418846)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #899 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f9bda4d-15a7-fb68-dd14-0e2cc726736d'::uuid, 'TvMaze', 1742758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #900 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f9bda4d-15a7-fb68-dd14-0e2cc726736d'::uuid, 'Tvdb', 7422382)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #901 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f9bda4d-15a7-fb68-dd14-0e2cc726736d'::uuid, 'TmdbCollection', 1957712)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #902 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62df0933-6d7e-40c0-195d-4bafd17eb211'::uuid;

-- Query #903 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8f9bda4d-15a7-fb68-dd14-0e2cc726736d'::uuid;

-- Query #904 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8f9bda4d-15a7-fb68-dd14-0e2cc726736d'::uuid;

-- Query #905 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62df0933-6d7e-40c0-195d-4bafd17eb211'::uuid]);

-- Query #906 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '62df0933-6d7e-40c0-195d-4bafd17eb211'::uuid;

-- Query #907 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8f9bda4d-15a7-fb68-dd14-0e2cc726736d'::uuid]);

-- Query #908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62df0933-6d7e-40c0-195d-4bafd17eb211'::uuid, 'Imdb', 'tt7477962')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62df0933-6d7e-40c0-195d-4bafd17eb211'::uuid, 'Tmdb', 1391864)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #910 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8f9bda4d-15a7-fb68-dd14-0e2cc726736d'::uuid;

-- Query #911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62df0933-6d7e-40c0-195d-4bafd17eb211'::uuid, 'trakt', 2767114)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62df0933-6d7e-40c0-195d-4bafd17eb211'::uuid, 'TvMaze', 1328646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #913 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid, 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62df0933-6d7e-40c0-195d-4bafd17eb211'::uuid, 'Tvdb', 6372135)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #915 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62df0933-6d7e-40c0-195d-4bafd17eb211'::uuid, 'TmdbCollection', 1391864)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #916 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62df0933-6d7e-40c0-195d-4bafd17eb211'::uuid;

-- Query #917 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '62df0933-6d7e-40c0-195d-4bafd17eb211'::uuid;

-- Query #918 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['62df0933-6d7e-40c0-195d-4bafd17eb211'::uuid]);

-- Query #919 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '62df0933-6d7e-40c0-195d-4bafd17eb211'::uuid;

-- Query #920 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #921 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb443ce0-a0ad-3e1a-52a3-2c35c7e9ce36'::uuid;

-- Query #922 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '61737592-0020-2bbb-f463-617c0f834c71'::uuid;

-- Query #923 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bb443ce0-a0ad-3e1a-52a3-2c35c7e9ce36'::uuid]);

-- Query #924 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bb443ce0-a0ad-3e1a-52a3-2c35c7e9ce36'::uuid;

-- Query #925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb443ce0-a0ad-3e1a-52a3-2c35c7e9ce36'::uuid, 'Imdb', 'tt7151724')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb443ce0-a0ad-3e1a-52a3-2c35c7e9ce36'::uuid, 'Tmdb', 1374423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb443ce0-a0ad-3e1a-52a3-2c35c7e9ce36'::uuid, 'trakt', 2729654)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #928 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb443ce0-a0ad-3e1a-52a3-2c35c7e9ce36'::uuid, 'TvMaze', 1262404)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #929 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb443ce0-a0ad-3e1a-52a3-2c35c7e9ce36'::uuid, 'Tvdb', 6315737)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #930 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb443ce0-a0ad-3e1a-52a3-2c35c7e9ce36'::uuid, 'TmdbCollection', 1374423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #931 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb443ce0-a0ad-3e1a-52a3-2c35c7e9ce36'::uuid;

-- Query #932 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bb443ce0-a0ad-3e1a-52a3-2c35c7e9ce36'::uuid;

-- Query #933 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['61737592-0020-2bbb-f463-617c0f834c71'::uuid]);

-- Query #934 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '61737592-0020-2bbb-f463-617c0f834c71'::uuid;

-- Query #935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61737592-0020-2bbb-f463-617c0f834c71'::uuid, 'Imdb', 'tt8865566')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61737592-0020-2bbb-f463-617c0f834c71'::uuid, 'Tmdb', 1957713)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61737592-0020-2bbb-f463-617c0f834c71'::uuid, 'trakt', 3418847)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61737592-0020-2bbb-f463-617c0f834c71'::uuid, 'TvMaze', 1742759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61737592-0020-2bbb-f463-617c0f834c71'::uuid, 'Tvdb', 7422383)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #940 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bb443ce0-a0ad-3e1a-52a3-2c35c7e9ce36'::uuid]);

-- Query #941 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61737592-0020-2bbb-f463-617c0f834c71'::uuid, 'TmdbCollection', 1957713)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #942 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '61737592-0020-2bbb-f463-617c0f834c71'::uuid;

-- Query #943 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bb443ce0-a0ad-3e1a-52a3-2c35c7e9ce36'::uuid;

-- Query #944 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '61737592-0020-2bbb-f463-617c0f834c71'::uuid;

-- Query #945 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #946 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['61737592-0020-2bbb-f463-617c0f834c71'::uuid]);

-- Query #947 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '61737592-0020-2bbb-f463-617c0f834c71'::uuid;

-- Query #948 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid, 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #949 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c2f65d2-c249-159d-2f9b-a8caafaeae3c'::uuid;

-- Query #950 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c2f65d2-c249-159d-2f9b-a8caafaeae3c'::uuid]);

-- Query #951 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1c2f65d2-c249-159d-2f9b-a8caafaeae3c'::uuid;

-- Query #952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c2f65d2-c249-159d-2f9b-a8caafaeae3c'::uuid, 'Imdb', 'tt7944638')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c2f65d2-c249-159d-2f9b-a8caafaeae3c'::uuid, 'Tmdb', 1460739)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #954 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c2f65d2-c249-159d-2f9b-a8caafaeae3c'::uuid, 'trakt', 2878856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #955 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c2f65d2-c249-159d-2f9b-a8caafaeae3c'::uuid, 'TvMaze', 1404926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #956 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c2f65d2-c249-159d-2f9b-a8caafaeae3c'::uuid, 'Tvdb', 6535401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c2f65d2-c249-159d-2f9b-a8caafaeae3c'::uuid, 'TmdbCollection', 1460739)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #958 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c2f65d2-c249-159d-2f9b-a8caafaeae3c'::uuid;

-- Query #959 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1c2f65d2-c249-159d-2f9b-a8caafaeae3c'::uuid;

-- Query #960 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1c2f65d2-c249-159d-2f9b-a8caafaeae3c'::uuid]);

-- Query #961 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1c2f65d2-c249-159d-2f9b-a8caafaeae3c'::uuid;

-- Query #962 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c6145791-b2ab-c6ab-57a2-8b5e37928b5b'::uuid;

-- Query #963 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #964 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c6145791-b2ab-c6ab-57a2-8b5e37928b5b'::uuid]);

-- Query #965 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c6145791-b2ab-c6ab-57a2-8b5e37928b5b'::uuid;

-- Query #966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6145791-b2ab-c6ab-57a2-8b5e37928b5b'::uuid, 'Imdb', 'tt9106932')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6145791-b2ab-c6ab-57a2-8b5e37928b5b'::uuid, 'Tmdb', 1948783)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6145791-b2ab-c6ab-57a2-8b5e37928b5b'::uuid, 'trakt', 3418843)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #969 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6145791-b2ab-c6ab-57a2-8b5e37928b5b'::uuid, 'TvMaze', 1730785)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #970 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6145791-b2ab-c6ab-57a2-8b5e37928b5b'::uuid, 'Tvdb', 7398586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6145791-b2ab-c6ab-57a2-8b5e37928b5b'::uuid, 'TmdbCollection', 1948783)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #972 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c6145791-b2ab-c6ab-57a2-8b5e37928b5b'::uuid;

-- Query #973 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c6145791-b2ab-c6ab-57a2-8b5e37928b5b'::uuid;

-- Query #974 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c6145791-b2ab-c6ab-57a2-8b5e37928b5b'::uuid]);

-- Query #975 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c6145791-b2ab-c6ab-57a2-8b5e37928b5b'::uuid;

-- Query #976 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid, 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #977 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '106c7233-e8cc-7a60-ecc1-9433148094a8'::uuid;

-- Query #978 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['106c7233-e8cc-7a60-ecc1-9433148094a8'::uuid]);

-- Query #979 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '106c7233-e8cc-7a60-ecc1-9433148094a8'::uuid;

-- Query #980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('106c7233-e8cc-7a60-ecc1-9433148094a8'::uuid, 'Imdb', 'tt8084560')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('106c7233-e8cc-7a60-ecc1-9433148094a8'::uuid, 'Tmdb', 1469572)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('106c7233-e8cc-7a60-ecc1-9433148094a8'::uuid, 'trakt', 2916177)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('106c7233-e8cc-7a60-ecc1-9433148094a8'::uuid, 'TvMaze', 1420773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #984 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('106c7233-e8cc-7a60-ecc1-9433148094a8'::uuid, 'Tvdb', 6585031)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #985 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('106c7233-e8cc-7a60-ecc1-9433148094a8'::uuid, 'TmdbCollection', 1469572)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #986 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '106c7233-e8cc-7a60-ecc1-9433148094a8'::uuid;

-- Query #987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '106c7233-e8cc-7a60-ecc1-9433148094a8'::uuid;

-- Query #988 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['106c7233-e8cc-7a60-ecc1-9433148094a8'::uuid]);

-- Query #989 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '106c7233-e8cc-7a60-ecc1-9433148094a8'::uuid;

-- Query #990 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #991 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '10b8d5ca-0e33-75f4-03de-bd5cd238ee1c'::uuid;

-- Query #992 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10b8d5ca-0e33-75f4-03de-bd5cd238ee1c'::uuid]);

-- Query #993 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '10b8d5ca-0e33-75f4-03de-bd5cd238ee1c'::uuid;

-- Query #994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10b8d5ca-0e33-75f4-03de-bd5cd238ee1c'::uuid, 'Imdb', 'tt7401958')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10b8d5ca-0e33-75f4-03de-bd5cd238ee1c'::uuid, 'Tmdb', 1494934)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10b8d5ca-0e33-75f4-03de-bd5cd238ee1c'::uuid, 'trakt', 3418840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10b8d5ca-0e33-75f4-03de-bd5cd238ee1c'::uuid, 'TvMaze', 1688014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #998 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10b8d5ca-0e33-75f4-03de-bd5cd238ee1c'::uuid, 'Tvdb', 7344283)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #999 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10b8d5ca-0e33-75f4-03de-bd5cd238ee1c'::uuid, 'TmdbCollection', 1494934)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1000 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '10b8d5ca-0e33-75f4-03de-bd5cd238ee1c'::uuid;

-- Query #1001 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '10b8d5ca-0e33-75f4-03de-bd5cd238ee1c'::uuid;

-- Query #1002 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['10b8d5ca-0e33-75f4-03de-bd5cd238ee1c'::uuid]);

-- Query #1003 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '10b8d5ca-0e33-75f4-03de-bd5cd238ee1c'::uuid;

-- Query #1004 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid, 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1005 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a78bd92-a6df-2dc0-f9b2-a6e5365442fd'::uuid;

-- Query #1006 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a78bd92-a6df-2dc0-f9b2-a6e5365442fd'::uuid]);

-- Query #1007 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6a78bd92-a6df-2dc0-f9b2-a6e5365442fd'::uuid;

-- Query #1008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a78bd92-a6df-2dc0-f9b2-a6e5365442fd'::uuid, 'Imdb', 'tt7538938')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a78bd92-a6df-2dc0-f9b2-a6e5365442fd'::uuid, 'Tmdb', 1400213)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a78bd92-a6df-2dc0-f9b2-a6e5365442fd'::uuid, 'trakt', 2784792)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a78bd92-a6df-2dc0-f9b2-a6e5365442fd'::uuid, 'TvMaze', 1356393)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a78bd92-a6df-2dc0-f9b2-a6e5365442fd'::uuid, 'Tvdb', 6396024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a78bd92-a6df-2dc0-f9b2-a6e5365442fd'::uuid, 'TmdbCollection', 1400213)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1014 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a78bd92-a6df-2dc0-f9b2-a6e5365442fd'::uuid;

-- Query #1015 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6a78bd92-a6df-2dc0-f9b2-a6e5365442fd'::uuid;

-- Query #1016 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6a78bd92-a6df-2dc0-f9b2-a6e5365442fd'::uuid]);

-- Query #1017 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6a78bd92-a6df-2dc0-f9b2-a6e5365442fd'::uuid;

-- Query #1018 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1019 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e4b093f9-c1dc-4c62-f8ce-9003d40185a8'::uuid;

-- Query #1020 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e4b093f9-c1dc-4c62-f8ce-9003d40185a8'::uuid]);

-- Query #1021 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e4b093f9-c1dc-4c62-f8ce-9003d40185a8'::uuid;

-- Query #1022 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4b093f9-c1dc-4c62-f8ce-9003d40185a8'::uuid, 'Imdb', 'tt9106956')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1023 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4b093f9-c1dc-4c62-f8ce-9003d40185a8'::uuid, 'Tmdb', 1948784)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4b093f9-c1dc-4c62-f8ce-9003d40185a8'::uuid, 'trakt', 3418844)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4b093f9-c1dc-4c62-f8ce-9003d40185a8'::uuid, 'TvMaze', 1730786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4b093f9-c1dc-4c62-f8ce-9003d40185a8'::uuid, 'Tvdb', 7398587)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4b093f9-c1dc-4c62-f8ce-9003d40185a8'::uuid, 'TmdbCollection', 1948784)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1028 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e4b093f9-c1dc-4c62-f8ce-9003d40185a8'::uuid;

-- Query #1029 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e4b093f9-c1dc-4c62-f8ce-9003d40185a8'::uuid;

-- Query #1030 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2311ba7c-993c-ec19-1ee5-2eb6469bcf25'::uuid;

-- Query #1031 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e4b093f9-c1dc-4c62-f8ce-9003d40185a8'::uuid]);

-- Query #1032 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e4b093f9-c1dc-4c62-f8ce-9003d40185a8'::uuid;

-- Query #1033 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid, 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1034 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2311ba7c-993c-ec19-1ee5-2eb6469bcf25'::uuid]);

-- Query #1035 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2311ba7c-993c-ec19-1ee5-2eb6469bcf25'::uuid;

-- Query #1036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2311ba7c-993c-ec19-1ee5-2eb6469bcf25'::uuid, 'Imdb', 'tt8084546')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2311ba7c-993c-ec19-1ee5-2eb6469bcf25'::uuid, 'Tmdb', 1465626)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2311ba7c-993c-ec19-1ee5-2eb6469bcf25'::uuid, 'trakt', 2916176)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1039 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2311ba7c-993c-ec19-1ee5-2eb6469bcf25'::uuid, 'TvMaze', 1420772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1040 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2311ba7c-993c-ec19-1ee5-2eb6469bcf25'::uuid, 'Tvdb', 6585029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1041 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2311ba7c-993c-ec19-1ee5-2eb6469bcf25'::uuid, 'TmdbCollection', 1465626)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1042 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2311ba7c-993c-ec19-1ee5-2eb6469bcf25'::uuid;

-- Query #1043 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2311ba7c-993c-ec19-1ee5-2eb6469bcf25'::uuid;

-- Query #1044 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2311ba7c-993c-ec19-1ee5-2eb6469bcf25'::uuid]);

-- Query #1045 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2311ba7c-993c-ec19-1ee5-2eb6469bcf25'::uuid;

-- Query #1046 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1047 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e0692f4d-5994-0145-50e1-1601cc4f2f42'::uuid;

-- Query #1048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e0692f4d-5994-0145-50e1-1601cc4f2f42'::uuid]);

-- Query #1049 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e0692f4d-5994-0145-50e1-1601cc4f2f42'::uuid;

-- Query #1050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0692f4d-5994-0145-50e1-1601cc4f2f42'::uuid, 'Imdb', 'tt8862414')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0692f4d-5994-0145-50e1-1601cc4f2f42'::uuid, 'Tmdb', 1935109)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0692f4d-5994-0145-50e1-1601cc4f2f42'::uuid, 'trakt', 3418841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0692f4d-5994-0145-50e1-1601cc4f2f42'::uuid, 'TvMaze', 1717935)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1054 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0692f4d-5994-0145-50e1-1601cc4f2f42'::uuid, 'Tvdb', 7361557)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1055 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0692f4d-5994-0145-50e1-1601cc4f2f42'::uuid, 'TmdbCollection', 1935109)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1056 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e0692f4d-5994-0145-50e1-1601cc4f2f42'::uuid;

-- Query #1057 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e0692f4d-5994-0145-50e1-1601cc4f2f42'::uuid;

-- Query #1058 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '020c65d3-c313-d55c-49ba-84022ffaf5ef'::uuid;

-- Query #1059 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e0692f4d-5994-0145-50e1-1601cc4f2f42'::uuid]);

-- Query #1060 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e0692f4d-5994-0145-50e1-1601cc4f2f42'::uuid;

-- Query #1061 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid, 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1062 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['020c65d3-c313-d55c-49ba-84022ffaf5ef'::uuid]);

-- Query #1063 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '020c65d3-c313-d55c-49ba-84022ffaf5ef'::uuid;

-- Query #1064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('020c65d3-c313-d55c-49ba-84022ffaf5ef'::uuid, 'Imdb', 'tt7234624')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('020c65d3-c313-d55c-49ba-84022ffaf5ef'::uuid, 'Tmdb', 1374424)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('020c65d3-c313-d55c-49ba-84022ffaf5ef'::uuid, 'trakt', 2729655)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1067 | logged_duration_ms=8 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('020c65d3-c313-d55c-49ba-84022ffaf5ef'::uuid, 'TvMaze', 1302998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('020c65d3-c313-d55c-49ba-84022ffaf5ef'::uuid, 'Tvdb', 6315738)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('020c65d3-c313-d55c-49ba-84022ffaf5ef'::uuid, 'TmdbCollection', 1374424)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1070 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '020c65d3-c313-d55c-49ba-84022ffaf5ef'::uuid;

-- Query #1071 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '020c65d3-c313-d55c-49ba-84022ffaf5ef'::uuid;

-- Query #1072 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['020c65d3-c313-d55c-49ba-84022ffaf5ef'::uuid]);

-- Query #1073 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '020c65d3-c313-d55c-49ba-84022ffaf5ef'::uuid;

-- Query #1074 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid;

-- Query #1076 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid]);

-- Query #1077 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid;

-- Query #1078 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid, 'Imdb', 'tt9209842')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1079 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid, 'Tmdb', 1957714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid, 'trakt', 3418848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1081 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid, 'TvMaze', 1742760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1082 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid, 'Tvdb', 7422384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1083 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid, 'TmdbCollection', 1957714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1084 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid;

-- Query #1085 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid;

-- Query #1086 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid]);

-- Query #1087 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid;

-- Query #1088 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f0cd54e5-1b6c-db86-a150-2770585315b3'::uuid;

-- Query #1089 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid, 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1090 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f0cd54e5-1b6c-db86-a150-2770585315b3'::uuid]);

-- Query #1091 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f0cd54e5-1b6c-db86-a150-2770585315b3'::uuid;

-- Query #1092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f0cd54e5-1b6c-db86-a150-2770585315b3'::uuid, 'Imdb', 'tt8917338')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f0cd54e5-1b6c-db86-a150-2770585315b3'::uuid, 'Tmdb', 1575825)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f0cd54e5-1b6c-db86-a150-2770585315b3'::uuid, 'trakt', 3104268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f0cd54e5-1b6c-db86-a150-2770585315b3'::uuid, 'TvMaze', 1517736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f0cd54e5-1b6c-db86-a150-2770585315b3'::uuid, 'Tvdb', 6779722)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1097 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f0cd54e5-1b6c-db86-a150-2770585315b3'::uuid, 'TmdbCollection', 1575825)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1098 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f0cd54e5-1b6c-db86-a150-2770585315b3'::uuid;

-- Query #1099 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f0cd54e5-1b6c-db86-a150-2770585315b3'::uuid;

-- Query #1100 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f0cd54e5-1b6c-db86-a150-2770585315b3'::uuid]);

-- Query #1101 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f0cd54e5-1b6c-db86-a150-2770585315b3'::uuid;

-- Query #1102 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1103 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fbdf3fe4-182c-b9a4-63b6-b2a0ee117673'::uuid;

-- Query #1104 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fbdf3fe4-182c-b9a4-63b6-b2a0ee117673'::uuid]);

-- Query #1105 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fbdf3fe4-182c-b9a4-63b6-b2a0ee117673'::uuid;

-- Query #1106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fbdf3fe4-182c-b9a4-63b6-b2a0ee117673'::uuid, 'Imdb', 'tt8862418')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fbdf3fe4-182c-b9a4-63b6-b2a0ee117673'::uuid, 'Tmdb', 1935110)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fbdf3fe4-182c-b9a4-63b6-b2a0ee117673'::uuid, 'trakt', 3418842)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fbdf3fe4-182c-b9a4-63b6-b2a0ee117673'::uuid, 'TvMaze', 1718427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fbdf3fe4-182c-b9a4-63b6-b2a0ee117673'::uuid, 'Tvdb', 7361558)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1111 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fbdf3fe4-182c-b9a4-63b6-b2a0ee117673'::uuid, 'TmdbCollection', 1935110)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1112 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fbdf3fe4-182c-b9a4-63b6-b2a0ee117673'::uuid;

-- Query #1113 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fbdf3fe4-182c-b9a4-63b6-b2a0ee117673'::uuid;

-- Query #1114 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fbdf3fe4-182c-b9a4-63b6-b2a0ee117673'::uuid]);

-- Query #1115 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fbdf3fe4-182c-b9a4-63b6-b2a0ee117673'::uuid;

-- Query #1116 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid, 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1117 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2732d98a-7871-4dd0-5d61-fc2b9e69257c'::uuid;

-- Query #1118 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2732d98a-7871-4dd0-5d61-fc2b9e69257c'::uuid]);

-- Query #1119 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2732d98a-7871-4dd0-5d61-fc2b9e69257c'::uuid;

-- Query #1120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2732d98a-7871-4dd0-5d61-fc2b9e69257c'::uuid, 'Imdb', 'tt8722322')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2732d98a-7871-4dd0-5d61-fc2b9e69257c'::uuid, 'Tmdb', 1573706)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2732d98a-7871-4dd0-5d61-fc2b9e69257c'::uuid, 'trakt', 3103925)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2732d98a-7871-4dd0-5d61-fc2b9e69257c'::uuid, 'TvMaze', 1508239)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2732d98a-7871-4dd0-5d61-fc2b9e69257c'::uuid, 'Tvdb', 6779018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1125 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2732d98a-7871-4dd0-5d61-fc2b9e69257c'::uuid, 'TmdbCollection', 1573706)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1126 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2732d98a-7871-4dd0-5d61-fc2b9e69257c'::uuid;

-- Query #1127 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2732d98a-7871-4dd0-5d61-fc2b9e69257c'::uuid;

-- Query #1128 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2732d98a-7871-4dd0-5d61-fc2b9e69257c'::uuid]);

-- Query #1129 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2732d98a-7871-4dd0-5d61-fc2b9e69257c'::uuid;

-- Query #1130 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59eb84f5-b612-b22a-c10d-0f18b656c2e3'::uuid;

-- Query #1131 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1132 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59eb84f5-b612-b22a-c10d-0f18b656c2e3'::uuid]);

-- Query #1133 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '59eb84f5-b612-b22a-c10d-0f18b656c2e3'::uuid;

-- Query #1134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59eb84f5-b612-b22a-c10d-0f18b656c2e3'::uuid, 'Imdb', 'tt9111462')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59eb84f5-b612-b22a-c10d-0f18b656c2e3'::uuid, 'Tmdb', 1948787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59eb84f5-b612-b22a-c10d-0f18b656c2e3'::uuid, 'trakt', 3418845)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59eb84f5-b612-b22a-c10d-0f18b656c2e3'::uuid, 'TvMaze', 1730787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59eb84f5-b612-b22a-c10d-0f18b656c2e3'::uuid, 'Tvdb', 7398588)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1139 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59eb84f5-b612-b22a-c10d-0f18b656c2e3'::uuid, 'TmdbCollection', 1948787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1140 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59eb84f5-b612-b22a-c10d-0f18b656c2e3'::uuid;

-- Query #1141 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '59eb84f5-b612-b22a-c10d-0f18b656c2e3'::uuid;

-- Query #1142 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['59eb84f5-b612-b22a-c10d-0f18b656c2e3'::uuid]);

-- Query #1143 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '59eb84f5-b612-b22a-c10d-0f18b656c2e3'::uuid;

-- Query #1144 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid, 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1145 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e796f791-2bd4-3b08-e523-3abb07d54033'::uuid;

-- Query #1146 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e07eb905-f055-faff-cbf8-245c13a2c5fd'::uuid
ORDER BY b."SortName";

-- Query #1147 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid])
ORDER BY b."Id";

-- Query #1148 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid])
ORDER BY b."Id";

-- Query #1149 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e796f791-2bd4-3b08-e523-3abb07d54033'::uuid]);

-- Query #1150 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid])
ORDER BY b."Id";

-- Query #1151 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e796f791-2bd4-3b08-e523-3abb07d54033'::uuid;

-- Query #1152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e796f791-2bd4-3b08-e523-3abb07d54033'::uuid, 'Imdb', 'tt8908366')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1153 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid])
ORDER BY b."Id";

-- Query #1154 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e796f791-2bd4-3b08-e523-3abb07d54033'::uuid, 'Tmdb', 1590380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1155 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid])
ORDER BY b."Id";

-- Query #1156 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e796f791-2bd4-3b08-e523-3abb07d54033'::uuid, 'trakt', 3153604)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1157 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e796f791-2bd4-3b08-e523-3abb07d54033'::uuid, 'TvMaze', 1529333)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1158 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2b845ab2-fc91-0d9f-8af8-aa5f8867319e'::uuid
ORDER BY b."SortName";

-- Query #1159 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e796f791-2bd4-3b08-e523-3abb07d54033'::uuid, 'Tvdb', 6825957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e796f791-2bd4-3b08-e523-3abb07d54033'::uuid, 'TmdbCollection', 1590380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1161 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e796f791-2bd4-3b08-e523-3abb07d54033'::uuid;

-- Query #1162 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e796f791-2bd4-3b08-e523-3abb07d54033'::uuid;

-- Query #1163 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e796f791-2bd4-3b08-e523-3abb07d54033'::uuid]);

-- Query #1164 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e796f791-2bd4-3b08-e523-3abb07d54033'::uuid;

-- Query #1165 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1166 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'e07eb905f055faffcbf8245c13a2c5fd'
ORDER BY b."SortName", b."Name";

-- Query #1167 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid
ORDER BY b."SortName";

-- Query #1168 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid])
ORDER BY b."Id";

-- Query #1169 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid])
ORDER BY b."Id";

-- Query #1170 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid])
ORDER BY b."Id";

-- Query #1171 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid])
ORDER BY b."Id";

-- Query #1172 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid])
ORDER BY b."Id";

-- Query #1173 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b7d2f9b6-94f6-b95c-2ce5-c720a761383f'::uuid;

-- Query #1174 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid
ORDER BY b."SortName";

-- Query #1175 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7d2f9b6-94f6-b95c-2ce5-c720a761383f'::uuid]);

-- Query #1176 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b7d2f9b6-94f6-b95c-2ce5-c720a761383f'::uuid;

-- Query #1177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7d2f9b6-94f6-b95c-2ce5-c720a761383f'::uuid, 'Imdb', 'tt9582916')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7d2f9b6-94f6-b95c-2ce5-c720a761383f'::uuid, 'Tmdb', 1675709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7d2f9b6-94f6-b95c-2ce5-c720a761383f'::uuid, 'trakt', 3356248)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7d2f9b6-94f6-b95c-2ce5-c720a761383f'::uuid, 'TvMaze', 1588677)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7d2f9b6-94f6-b95c-2ce5-c720a761383f'::uuid, 'Tvdb', 7019027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7d2f9b6-94f6-b95c-2ce5-c720a761383f'::uuid, 'TmdbCollection', 1675709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1183 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b7d2f9b6-94f6-b95c-2ce5-c720a761383f'::uuid;

-- Query #1184 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b7d2f9b6-94f6-b95c-2ce5-c720a761383f'::uuid;

-- Query #1185 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b7d2f9b6-94f6-b95c-2ce5-c720a761383f'::uuid]);

-- Query #1186 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b7d2f9b6-94f6-b95c-2ce5-c720a761383f'::uuid;

-- Query #1187 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1188 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dbcd5d3e-2f2c-4c9f-44fd-c84f120cfb31'::uuid;

-- Query #1189 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dbcd5d3e-2f2c-4c9f-44fd-c84f120cfb31'::uuid]);

-- Query #1190 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dbcd5d3e-2f2c-4c9f-44fd-c84f120cfb31'::uuid;

-- Query #1191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbcd5d3e-2f2c-4c9f-44fd-c84f120cfb31'::uuid, 'Imdb', 'tt9357980')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbcd5d3e-2f2c-4c9f-44fd-c84f120cfb31'::uuid, 'Tmdb', 1650496)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbcd5d3e-2f2c-4c9f-44fd-c84f120cfb31'::uuid, 'trakt', 3307037)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbcd5d3e-2f2c-4c9f-44fd-c84f120cfb31'::uuid, 'TvMaze', 1580463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbcd5d3e-2f2c-4c9f-44fd-c84f120cfb31'::uuid, 'Tvdb', 6976705)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbcd5d3e-2f2c-4c9f-44fd-c84f120cfb31'::uuid, 'TmdbCollection', 1650496)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1197 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dbcd5d3e-2f2c-4c9f-44fd-c84f120cfb31'::uuid;

-- Query #1198 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dbcd5d3e-2f2c-4c9f-44fd-c84f120cfb31'::uuid;

-- Query #1199 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dbcd5d3e-2f2c-4c9f-44fd-c84f120cfb31'::uuid]);

-- Query #1200 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dbcd5d3e-2f2c-4c9f-44fd-c84f120cfb31'::uuid;

-- Query #1201 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1202 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5bc59f21-b12b-1666-c9d1-26f23bbaf358'::uuid;

-- Query #1203 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bc59f21-b12b-1666-c9d1-26f23bbaf358'::uuid]);

-- Query #1204 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5bc59f21-b12b-1666-c9d1-26f23bbaf358'::uuid;

-- Query #1205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bc59f21-b12b-1666-c9d1-26f23bbaf358'::uuid, 'Imdb', 'tt9690588')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bc59f21-b12b-1666-c9d1-26f23bbaf358'::uuid, 'Tmdb', 1737389)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bc59f21-b12b-1666-c9d1-26f23bbaf358'::uuid, 'trakt', 3469603)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bc59f21-b12b-1666-c9d1-26f23bbaf358'::uuid, 'TvMaze', 1627096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bc59f21-b12b-1666-c9d1-26f23bbaf358'::uuid, 'Tvdb', 7123411)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bc59f21-b12b-1666-c9d1-26f23bbaf358'::uuid, 'TmdbCollection', 1737389)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1211 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5bc59f21-b12b-1666-c9d1-26f23bbaf358'::uuid;

-- Query #1212 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5bc59f21-b12b-1666-c9d1-26f23bbaf358'::uuid;

-- Query #1213 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5bc59f21-b12b-1666-c9d1-26f23bbaf358'::uuid]);

-- Query #1214 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5bc59f21-b12b-1666-c9d1-26f23bbaf358'::uuid;

-- Query #1215 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1216 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c63d79f-1ea4-64c4-9d66-c574bcd256db'::uuid;

-- Query #1217 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c63d79f-1ea4-64c4-9d66-c574bcd256db'::uuid]);

-- Query #1218 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1c63d79f-1ea4-64c4-9d66-c574bcd256db'::uuid;

-- Query #1219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c63d79f-1ea4-64c4-9d66-c574bcd256db'::uuid, 'Imdb', 'tt9035094')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c63d79f-1ea4-64c4-9d66-c574bcd256db'::uuid, 'Tmdb', 1590378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c63d79f-1ea4-64c4-9d66-c574bcd256db'::uuid, 'trakt', 3153603)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c63d79f-1ea4-64c4-9d66-c574bcd256db'::uuid, 'TvMaze', 1529332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c63d79f-1ea4-64c4-9d66-c574bcd256db'::uuid, 'Tvdb', 6825955)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c63d79f-1ea4-64c4-9d66-c574bcd256db'::uuid, 'TmdbCollection', 1590378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c63d79f-1ea4-64c4-9d66-c574bcd256db'::uuid;

-- Query #1226 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1c63d79f-1ea4-64c4-9d66-c574bcd256db'::uuid;

-- Query #1227 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1c63d79f-1ea4-64c4-9d66-c574bcd256db'::uuid]);

-- Query #1228 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1c63d79f-1ea4-64c4-9d66-c574bcd256db'::uuid;

-- Query #1229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1230 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid;

-- Query #1231 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid]);

-- Query #1232 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid;

-- Query #1233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'Imdb', 'tt8860450')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'official website', 'https://www.disneyplus.com/series/what-if/7672ZVj1ZxU9')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'Tmdb', 81940)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'TmdbCollection', 81940)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'Tvdb', 352290)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'tv maze', 41750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1239 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'TvMaze', 38271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1240 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'wikidata', 'Q56199827')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1241 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'x (twitter)', 'whatifofficial')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1242 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid;

-- Query #1243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid;

-- Query #1244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9b3e4b6d-de51-aefe-cc65-921fc6459d9f'::uuid;

-- Query #1245 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid]);

-- Query #1246 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid;

-- Query #1247 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1248 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9b3e4b6d-de51-aefe-cc65-921fc6459d9f'::uuid]);

-- Query #1249 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9b3e4b6d-de51-aefe-cc65-921fc6459d9f'::uuid;

-- Query #1250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b3e4b6d-de51-aefe-cc65-921fc6459d9f'::uuid, 'Imdb', 'tt8381022')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b3e4b6d-de51-aefe-cc65-921fc6459d9f'::uuid, 'Tmdb', 1556971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b3e4b6d-de51-aefe-cc65-921fc6459d9f'::uuid, 'trakt', 3000315)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1253 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '7d584baa16c42bba63f397b95ce60017'
ORDER BY b."SortName", b."Name";

-- Query #1254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b3e4b6d-de51-aefe-cc65-921fc6459d9f'::uuid, 'TvMaze', 1494026)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b3e4b6d-de51-aefe-cc65-921fc6459d9f'::uuid, 'Tvdb', 6692597)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b3e4b6d-de51-aefe-cc65-921fc6459d9f'::uuid, 'TmdbCollection', 1556971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1257 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9b3e4b6d-de51-aefe-cc65-921fc6459d9f'::uuid;

-- Query #1258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9b3e4b6d-de51-aefe-cc65-921fc6459d9f'::uuid;

-- Query #1259 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9b3e4b6d-de51-aefe-cc65-921fc6459d9f'::uuid]);

-- Query #1260 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid
ORDER BY b."SortName";

-- Query #1261 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9b3e4b6d-de51-aefe-cc65-921fc6459d9f'::uuid;

-- Query #1262 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid])
ORDER BY b."Id";

-- Query #1263 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1264 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid])
ORDER BY b."Id";

-- Query #1265 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid])
ORDER BY b."Id";

-- Query #1266 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid])
ORDER BY b."Id";

-- Query #1267 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid])
ORDER BY b."Id";

-- Query #1268 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid
ORDER BY b."SortName";

-- Query #1269 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '7d584baa16c42bba63f397b95ce60017'
ORDER BY b."SortName", b."Name";

-- Query #1270 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b2acaf1-a7f8-e4b8-5006-0e790d3224ff'::uuid;

-- Query #1271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b2acaf1-a7f8-e4b8-5006-0e790d3224ff'::uuid]);

-- Query #1272 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2b2acaf1-a7f8-e4b8-5006-0e790d3224ff'::uuid;

-- Query #1273 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b2acaf1-a7f8-e4b8-5006-0e790d3224ff'::uuid, 'Imdb', 'tt9672750')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b2acaf1-a7f8-e4b8-5006-0e790d3224ff'::uuid, 'Tmdb', 1703138)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b2acaf1-a7f8-e4b8-5006-0e790d3224ff'::uuid, 'trakt', 3359631)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b2acaf1-a7f8-e4b8-5006-0e790d3224ff'::uuid, 'TvMaze', 1596991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b2acaf1-a7f8-e4b8-5006-0e790d3224ff'::uuid, 'Tvdb', 7021732)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b2acaf1-a7f8-e4b8-5006-0e790d3224ff'::uuid, 'TmdbCollection', 1703138)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1279 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b2acaf1-a7f8-e4b8-5006-0e790d3224ff'::uuid;

-- Query #1280 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2b2acaf1-a7f8-e4b8-5006-0e790d3224ff'::uuid;

-- Query #1281 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2b2acaf1-a7f8-e4b8-5006-0e790d3224ff'::uuid]);

-- Query #1282 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2b2acaf1-a7f8-e4b8-5006-0e790d3224ff'::uuid;

-- Query #1283 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1284 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid;

-- Query #1285 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid]);

-- Query #1286 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid;

-- Query #1287 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, 'TmdbCollection', 81940)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, 'Tvdb', 352290)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, 'x (twitter)', 'whatifofficial')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, 'Tmdb', 81940)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, 'Imdb', 'tt8860450')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, 'TvMaze', 38271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, 'tv maze', 41750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, 'wikidata', 'Q56199827')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, 'official website', 'https://www.disneyplus.com/series/what-if/7672ZVj1ZxU9')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid;

-- Query #1297 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid;

-- Query #1298 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #1299 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid]);

-- Query #1300 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid;

-- Query #1301 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1302 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f69e9633-0048-297d-79b0-c0362d00e565'::uuid;

-- Query #1303 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f69e9633-0048-297d-79b0-c0362d00e565'::uuid]);

-- Query #1304 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f69e9633-0048-297d-79b0-c0362d00e565'::uuid;

-- Query #1305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69e9633-0048-297d-79b0-c0362d00e565'::uuid, 'Imdb', 'tt9690580')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69e9633-0048-297d-79b0-c0362d00e565'::uuid, 'Tmdb', 1703139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69e9633-0048-297d-79b0-c0362d00e565'::uuid, 'trakt', 3359632)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69e9633-0048-297d-79b0-c0362d00e565'::uuid, 'TvMaze', 1601271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69e9633-0048-297d-79b0-c0362d00e565'::uuid, 'Tvdb', 7021735)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69e9633-0048-297d-79b0-c0362d00e565'::uuid, 'TmdbCollection', 1703139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1311 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f69e9633-0048-297d-79b0-c0362d00e565'::uuid;

-- Query #1312 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f69e9633-0048-297d-79b0-c0362d00e565'::uuid;

-- Query #1313 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f69e9633-0048-297d-79b0-c0362d00e565'::uuid]);

-- Query #1314 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f69e9633-0048-297d-79b0-c0362d00e565'::uuid;

-- Query #1315 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1316 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3ed5c194-da3e-0fb4-08f0-56bc0efb4a4c'::uuid;

-- Query #1317 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ed5c194-da3e-0fb4-08f0-56bc0efb4a4c'::uuid]);

-- Query #1318 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3ed5c194-da3e-0fb4-08f0-56bc0efb4a4c'::uuid;

-- Query #1319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ed5c194-da3e-0fb4-08f0-56bc0efb4a4c'::uuid, 'Imdb', 'tt8870640')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ed5c194-da3e-0fb4-08f0-56bc0efb4a4c'::uuid, 'TvMaze', 1645098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ed5c194-da3e-0fb4-08f0-56bc0efb4a4c'::uuid, 'Tvdb', 1645098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1322 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3ed5c194-da3e-0fb4-08f0-56bc0efb4a4c'::uuid;

-- Query #1323 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3ed5c194-da3e-0fb4-08f0-56bc0efb4a4c'::uuid;

-- Query #1324 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3ed5c194-da3e-0fb4-08f0-56bc0efb4a4c'::uuid]);

-- Query #1325 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3ed5c194-da3e-0fb4-08f0-56bc0efb4a4c'::uuid;

-- Query #1326 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1327 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e46cb9d6-3d88-f060-9ecd-c2dcaad7f528'::uuid;

-- Query #1328 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e46cb9d6-3d88-f060-9ecd-c2dcaad7f528'::uuid]);

-- Query #1329 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e46cb9d6-3d88-f060-9ecd-c2dcaad7f528'::uuid;

-- Query #1330 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e46cb9d6-3d88-f060-9ecd-c2dcaad7f528'::uuid, 'Imdb', 'tt9219956')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e46cb9d6-3d88-f060-9ecd-c2dcaad7f528'::uuid, 'Tmdb', 1639147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e46cb9d6-3d88-f060-9ecd-c2dcaad7f528'::uuid, 'trakt', 3262976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1333 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e46cb9d6-3d88-f060-9ecd-c2dcaad7f528'::uuid, 'TvMaze', 1576822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e46cb9d6-3d88-f060-9ecd-c2dcaad7f528'::uuid, 'Tvdb', 6928043)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e46cb9d6-3d88-f060-9ecd-c2dcaad7f528'::uuid, 'TmdbCollection', 1639147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1336 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e46cb9d6-3d88-f060-9ecd-c2dcaad7f528'::uuid;

-- Query #1337 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e46cb9d6-3d88-f060-9ecd-c2dcaad7f528'::uuid;

-- Query #1338 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e46cb9d6-3d88-f060-9ecd-c2dcaad7f528'::uuid]);

-- Query #1339 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e46cb9d6-3d88-f060-9ecd-c2dcaad7f528'::uuid;

-- Query #1340 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1341 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b7cc339-fd1a-98a2-99c6-aa2669392491'::uuid;

-- Query #1342 | logged_duration_ms=2 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59fbf689-bb9c-7b6a-319f-422095fad9ed'::uuid;

-- Query #1343 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b7cc339-fd1a-98a2-99c6-aa2669392491'::uuid]);

-- Query #1344 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1b7cc339-fd1a-98a2-99c6-aa2669392491'::uuid;

-- Query #1345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b7cc339-fd1a-98a2-99c6-aa2669392491'::uuid, 'Imdb', 'tt8870648')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b7cc339-fd1a-98a2-99c6-aa2669392491'::uuid, 'TvMaze', 1645166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1347 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b7cc339-fd1a-98a2-99c6-aa2669392491'::uuid, 'Tvdb', 1645166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1348 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b7cc339-fd1a-98a2-99c6-aa2669392491'::uuid;

-- Query #1349 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1b7cc339-fd1a-98a2-99c6-aa2669392491'::uuid;

-- Query #1350 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59fbf689-bb9c-7b6a-319f-422095fad9ed'::uuid]);

-- Query #1351 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '59fbf689-bb9c-7b6a-319f-422095fad9ed'::uuid;

-- Query #1352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59fbf689-bb9c-7b6a-319f-422095fad9ed'::uuid, 'Imdb', 'tt9690596')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59fbf689-bb9c-7b6a-319f-422095fad9ed'::uuid, 'Tmdb', 1765081)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1354 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1b7cc339-fd1a-98a2-99c6-aa2669392491'::uuid]);

-- Query #1355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59fbf689-bb9c-7b6a-319f-422095fad9ed'::uuid, 'trakt', 3490853)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59fbf689-bb9c-7b6a-319f-422095fad9ed'::uuid, 'TvMaze', 1628631)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1357 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1b7cc339-fd1a-98a2-99c6-aa2669392491'::uuid;

-- Query #1358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59fbf689-bb9c-7b6a-319f-422095fad9ed'::uuid, 'Tvdb', 7145415)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59fbf689-bb9c-7b6a-319f-422095fad9ed'::uuid, 'TmdbCollection', 1765081)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1360 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1361 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59fbf689-bb9c-7b6a-319f-422095fad9ed'::uuid;

-- Query #1362 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '59fbf689-bb9c-7b6a-319f-422095fad9ed'::uuid;

-- Query #1363 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['59fbf689-bb9c-7b6a-319f-422095fad9ed'::uuid]);

-- Query #1364 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '59fbf689-bb9c-7b6a-319f-422095fad9ed'::uuid;

-- Query #1365 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1366 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5201892b-fe7a-59fc-26ff-66ac29e019d8'::uuid;

-- Query #1367 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5201892b-fe7a-59fc-26ff-66ac29e019d8'::uuid]);

-- Query #1368 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5201892b-fe7a-59fc-26ff-66ac29e019d8'::uuid;

-- Query #1369 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81f88488-a784-1ab9-8337-b8878591bc81'::uuid;

-- Query #1370 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5201892b-fe7a-59fc-26ff-66ac29e019d8'::uuid, 'Imdb', 'tt9203122')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5201892b-fe7a-59fc-26ff-66ac29e019d8'::uuid, 'Tmdb', 1626283)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5201892b-fe7a-59fc-26ff-66ac29e019d8'::uuid, 'trakt', 3240224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5201892b-fe7a-59fc-26ff-66ac29e019d8'::uuid, 'TvMaze', 1565898)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5201892b-fe7a-59fc-26ff-66ac29e019d8'::uuid, 'Tvdb', 6905862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1375 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5201892b-fe7a-59fc-26ff-66ac29e019d8'::uuid, 'TmdbCollection', 1626283)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1376 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['81f88488-a784-1ab9-8337-b8878591bc81'::uuid]);

-- Query #1377 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5201892b-fe7a-59fc-26ff-66ac29e019d8'::uuid;

-- Query #1378 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '81f88488-a784-1ab9-8337-b8878591bc81'::uuid;

-- Query #1379 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5201892b-fe7a-59fc-26ff-66ac29e019d8'::uuid;

-- Query #1380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81f88488-a784-1ab9-8337-b8878591bc81'::uuid, 'Imdb', 'tt8870654')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81f88488-a784-1ab9-8337-b8878591bc81'::uuid, 'TvMaze', 1645169)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81f88488-a784-1ab9-8337-b8878591bc81'::uuid, 'Tvdb', 1645169)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1383 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81f88488-a784-1ab9-8337-b8878591bc81'::uuid;

-- Query #1384 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '81f88488-a784-1ab9-8337-b8878591bc81'::uuid;

-- Query #1385 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5201892b-fe7a-59fc-26ff-66ac29e019d8'::uuid]);

-- Query #1386 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5201892b-fe7a-59fc-26ff-66ac29e019d8'::uuid;

-- Query #1387 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1388 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['81f88488-a784-1ab9-8337-b8878591bc81'::uuid]);

-- Query #1389 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '81f88488-a784-1ab9-8337-b8878591bc81'::uuid;

-- Query #1390 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1391 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf958bf7-5d7c-a8df-073f-f3711bbeb1fa'::uuid;

-- Query #1392 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9d60453-0abb-f57d-a165-2b255477861f'::uuid;

-- Query #1393 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf958bf7-5d7c-a8df-073f-f3711bbeb1fa'::uuid]);

-- Query #1394 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cf958bf7-5d7c-a8df-073f-f3711bbeb1fa'::uuid;

-- Query #1395 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf958bf7-5d7c-a8df-073f-f3711bbeb1fa'::uuid, 'Imdb', 'tt9690584')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf958bf7-5d7c-a8df-073f-f3711bbeb1fa'::uuid, 'Tmdb', 1718421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf958bf7-5d7c-a8df-073f-f3711bbeb1fa'::uuid, 'trakt', 3359633)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf958bf7-5d7c-a8df-073f-f3711bbeb1fa'::uuid, 'TvMaze', 1610423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf958bf7-5d7c-a8df-073f-f3711bbeb1fa'::uuid, 'Tvdb', 7090743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf958bf7-5d7c-a8df-073f-f3711bbeb1fa'::uuid, 'TmdbCollection', 1718421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1401 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf958bf7-5d7c-a8df-073f-f3711bbeb1fa'::uuid;

-- Query #1402 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cf958bf7-5d7c-a8df-073f-f3711bbeb1fa'::uuid;

-- Query #1403 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9d60453-0abb-f57d-a165-2b255477861f'::uuid]);

-- Query #1404 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f9d60453-0abb-f57d-a165-2b255477861f'::uuid;

-- Query #1405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9d60453-0abb-f57d-a165-2b255477861f'::uuid, 'Imdb', 'tt9160260')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9d60453-0abb-f57d-a165-2b255477861f'::uuid, 'TvMaze', 1645165)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1407 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9d60453-0abb-f57d-a165-2b255477861f'::uuid, 'Tvdb', 1645165)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1408 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cf958bf7-5d7c-a8df-073f-f3711bbeb1fa'::uuid]);

-- Query #1409 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9d60453-0abb-f57d-a165-2b255477861f'::uuid;

-- Query #1410 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f9d60453-0abb-f57d-a165-2b255477861f'::uuid;

-- Query #1411 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cf958bf7-5d7c-a8df-073f-f3711bbeb1fa'::uuid;

-- Query #1412 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1413 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f9d60453-0abb-f57d-a165-2b255477861f'::uuid]);

-- Query #1414 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f9d60453-0abb-f57d-a165-2b255477861f'::uuid;

-- Query #1415 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1416 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb097222-c786-54e2-ee20-7d32b7f99f42'::uuid;

-- Query #1417 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '014ddd61-400f-7c3b-9bb6-89802f1a9489'::uuid;

-- Query #1418 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb097222-c786-54e2-ee20-7d32b7f99f42'::uuid]);

-- Query #1419 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eb097222-c786-54e2-ee20-7d32b7f99f42'::uuid;

-- Query #1420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb097222-c786-54e2-ee20-7d32b7f99f42'::uuid, 'Imdb', 'tt8981024')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1421 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['014ddd61-400f-7c3b-9bb6-89802f1a9489'::uuid]);

-- Query #1422 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb097222-c786-54e2-ee20-7d32b7f99f42'::uuid, 'Tmdb', 1597897)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1423 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '014ddd61-400f-7c3b-9bb6-89802f1a9489'::uuid;

-- Query #1424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb097222-c786-54e2-ee20-7d32b7f99f42'::uuid, 'trakt', 3153605)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('014ddd61-400f-7c3b-9bb6-89802f1a9489'::uuid, 'Imdb', 'tt8870652')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb097222-c786-54e2-ee20-7d32b7f99f42'::uuid, 'TvMaze', 1529822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('014ddd61-400f-7c3b-9bb6-89802f1a9489'::uuid, 'TvMaze', 1645168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb097222-c786-54e2-ee20-7d32b7f99f42'::uuid, 'Tvdb', 6825960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb097222-c786-54e2-ee20-7d32b7f99f42'::uuid, 'TmdbCollection', 1597897)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('014ddd61-400f-7c3b-9bb6-89802f1a9489'::uuid, 'Tvdb', 1645168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1431 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb097222-c786-54e2-ee20-7d32b7f99f42'::uuid;

-- Query #1432 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '014ddd61-400f-7c3b-9bb6-89802f1a9489'::uuid;

-- Query #1433 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eb097222-c786-54e2-ee20-7d32b7f99f42'::uuid;

-- Query #1434 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '014ddd61-400f-7c3b-9bb6-89802f1a9489'::uuid;

-- Query #1435 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['014ddd61-400f-7c3b-9bb6-89802f1a9489'::uuid]);

-- Query #1436 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eb097222-c786-54e2-ee20-7d32b7f99f42'::uuid]);

-- Query #1437 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '014ddd61-400f-7c3b-9bb6-89802f1a9489'::uuid;

-- Query #1438 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eb097222-c786-54e2-ee20-7d32b7f99f42'::uuid;

-- Query #1439 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1440 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1441 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b023eb9-7871-6539-bf46-b66b0bd5d410'::uuid;

-- Query #1442 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'afe8e74c-d7c8-a0ef-e48a-000da85488d6'::uuid;

-- Query #1443 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b023eb9-7871-6539-bf46-b66b0bd5d410'::uuid]);

-- Query #1444 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0b023eb9-7871-6539-bf46-b66b0bd5d410'::uuid;

-- Query #1445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b023eb9-7871-6539-bf46-b66b0bd5d410'::uuid, 'Imdb', 'tt9690592')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b023eb9-7871-6539-bf46-b66b0bd5d410'::uuid, 'Tmdb', 1757661)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1447 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afe8e74c-d7c8-a0ef-e48a-000da85488d6'::uuid]);

-- Query #1448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b023eb9-7871-6539-bf46-b66b0bd5d410'::uuid, 'trakt', 3474041)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1449 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'afe8e74c-d7c8-a0ef-e48a-000da85488d6'::uuid;

-- Query #1450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b023eb9-7871-6539-bf46-b66b0bd5d410'::uuid, 'TvMaze', 1628629)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afe8e74c-d7c8-a0ef-e48a-000da85488d6'::uuid, 'Imdb', 'tt8870650')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1452 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b023eb9-7871-6539-bf46-b66b0bd5d410'::uuid, 'Tvdb', 7128024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1453 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afe8e74c-d7c8-a0ef-e48a-000da85488d6'::uuid, 'TvMaze', 1645167)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1454 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b023eb9-7871-6539-bf46-b66b0bd5d410'::uuid, 'TmdbCollection', 1757661)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1455 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afe8e74c-d7c8-a0ef-e48a-000da85488d6'::uuid, 'Tvdb', 1645167)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1456 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b023eb9-7871-6539-bf46-b66b0bd5d410'::uuid;

-- Query #1457 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'afe8e74c-d7c8-a0ef-e48a-000da85488d6'::uuid;

-- Query #1458 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0b023eb9-7871-6539-bf46-b66b0bd5d410'::uuid;

-- Query #1459 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'afe8e74c-d7c8-a0ef-e48a-000da85488d6'::uuid;

-- Query #1460 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['afe8e74c-d7c8-a0ef-e48a-000da85488d6'::uuid]);

-- Query #1461 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0b023eb9-7871-6539-bf46-b66b0bd5d410'::uuid]);

-- Query #1462 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'afe8e74c-d7c8-a0ef-e48a-000da85488d6'::uuid;

-- Query #1463 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0b023eb9-7871-6539-bf46-b66b0bd5d410'::uuid;

-- Query #1464 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1465 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1466 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2ee38bf-5034-cff7-a2d3-0495fb209e69'::uuid;

-- Query #1467 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2ee38bf-5034-cff7-a2d3-0495fb209e69'::uuid]);

-- Query #1468 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e2ee38bf-5034-cff7-a2d3-0495fb209e69'::uuid;

-- Query #1469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2ee38bf-5034-cff7-a2d3-0495fb209e69'::uuid, 'Imdb', 'tt9126330')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2ee38bf-5034-cff7-a2d3-0495fb209e69'::uuid, 'Tmdb', 1604833)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2ee38bf-5034-cff7-a2d3-0495fb209e69'::uuid, 'trakt', 3210906)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2ee38bf-5034-cff7-a2d3-0495fb209e69'::uuid, 'TvMaze', 1553052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1473 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff8972a6-8be3-197e-2612-525a5e0b9c5b'::uuid;

-- Query #1474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2ee38bf-5034-cff7-a2d3-0495fb209e69'::uuid, 'Tvdb', 6878400)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2ee38bf-5034-cff7-a2d3-0495fb209e69'::uuid, 'TmdbCollection', 1604833)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1476 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2ee38bf-5034-cff7-a2d3-0495fb209e69'::uuid;

-- Query #1477 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e2ee38bf-5034-cff7-a2d3-0495fb209e69'::uuid;

-- Query #1478 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff8972a6-8be3-197e-2612-525a5e0b9c5b'::uuid]);

-- Query #1479 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e2ee38bf-5034-cff7-a2d3-0495fb209e69'::uuid]);

-- Query #1480 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ff8972a6-8be3-197e-2612-525a5e0b9c5b'::uuid;

-- Query #1481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff8972a6-8be3-197e-2612-525a5e0b9c5b'::uuid, 'Imdb', 'tt8870642')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1482 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e2ee38bf-5034-cff7-a2d3-0495fb209e69'::uuid;

-- Query #1483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff8972a6-8be3-197e-2612-525a5e0b9c5b'::uuid, 'TvMaze', 1645164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1484 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff8972a6-8be3-197e-2612-525a5e0b9c5b'::uuid, 'Tvdb', 1645164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1486 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff8972a6-8be3-197e-2612-525a5e0b9c5b'::uuid;

-- Query #1487 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ff8972a6-8be3-197e-2612-525a5e0b9c5b'::uuid;

-- Query #1488 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ff8972a6-8be3-197e-2612-525a5e0b9c5b'::uuid]);

-- Query #1489 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ff8972a6-8be3-197e-2612-525a5e0b9c5b'::uuid;

-- Query #1490 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1491 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd74821fe-ff9d-c5f7-85e9-92f8bff0ebed'::uuid;

-- Query #1492 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d74821fe-ff9d-c5f7-85e9-92f8bff0ebed'::uuid]);

-- Query #1493 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd74821fe-ff9d-c5f7-85e9-92f8bff0ebed'::uuid;

-- Query #1494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d74821fe-ff9d-c5f7-85e9-92f8bff0ebed'::uuid, 'Imdb', 'tt9082134')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1495 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d74821fe-ff9d-c5f7-85e9-92f8bff0ebed'::uuid, 'Tmdb', 1598884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d74821fe-ff9d-c5f7-85e9-92f8bff0ebed'::uuid, 'trakt', 3194808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d74821fe-ff9d-c5f7-85e9-92f8bff0ebed'::uuid, 'TvMaze', 1545338)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d74821fe-ff9d-c5f7-85e9-92f8bff0ebed'::uuid, 'Tvdb', 6862482)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d74821fe-ff9d-c5f7-85e9-92f8bff0ebed'::uuid, 'TmdbCollection', 1598884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1500 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd74821fe-ff9d-c5f7-85e9-92f8bff0ebed'::uuid;

-- Query #1501 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd74821fe-ff9d-c5f7-85e9-92f8bff0ebed'::uuid;

-- Query #1502 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d74821fe-ff9d-c5f7-85e9-92f8bff0ebed'::uuid]);

-- Query #1503 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd74821fe-ff9d-c5f7-85e9-92f8bff0ebed'::uuid;

-- Query #1504 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1505 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid;

-- Query #1506 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid]);

-- Query #1507 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid;

-- Query #1508 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid, 'TmdbCollection', 1796820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1509 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid, 'Imdb', 'tt8870660')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1510 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid, 'Tmdb', 1796820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1511 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid, 'trakt', 3497461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid, 'TvMaze', 1645172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid, 'Tvdb', 7150970)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1514 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid;

-- Query #1515 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid;

-- Query #1516 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6989a74d-ba6b-bc34-a623-4861be125bc4'::uuid;

-- Query #1517 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid]);

-- Query #1518 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid;

-- Query #1519 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1520 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6989a74d-ba6b-bc34-a623-4861be125bc4'::uuid]);

-- Query #1521 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6989a74d-ba6b-bc34-a623-4861be125bc4'::uuid;

-- Query #1522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6989a74d-ba6b-bc34-a623-4861be125bc4'::uuid, 'Imdb', 'tt9690582')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6989a74d-ba6b-bc34-a623-4861be125bc4'::uuid, 'Tmdb', 1717331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6989a74d-ba6b-bc34-a623-4861be125bc4'::uuid, 'trakt', 3397377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1525 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6989a74d-ba6b-bc34-a623-4861be125bc4'::uuid, 'TvMaze', 1609030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6989a74d-ba6b-bc34-a623-4861be125bc4'::uuid, 'Tvdb', 7021737)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1527 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6989a74d-ba6b-bc34-a623-4861be125bc4'::uuid, 'TmdbCollection', 1717331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1528 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6989a74d-ba6b-bc34-a623-4861be125bc4'::uuid;

-- Query #1529 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6989a74d-ba6b-bc34-a623-4861be125bc4'::uuid;

-- Query #1530 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6989a74d-ba6b-bc34-a623-4861be125bc4'::uuid]);

-- Query #1531 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6989a74d-ba6b-bc34-a623-4861be125bc4'::uuid;

-- Query #1532 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1533 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd95aba6c-d3de-699f-8d78-5f9733b1abcb'::uuid;

-- Query #1534 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '418aafa0-add1-e72a-7029-afc13e1a9bbc'::uuid;

-- Query #1535 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d95aba6c-d3de-699f-8d78-5f9733b1abcb'::uuid]);

-- Query #1536 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd95aba6c-d3de-699f-8d78-5f9733b1abcb'::uuid;

-- Query #1537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d95aba6c-d3de-699f-8d78-5f9733b1abcb'::uuid, 'Imdb', 'tt8870656')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d95aba6c-d3de-699f-8d78-5f9733b1abcb'::uuid, 'TvMaze', 1645170)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1539 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d95aba6c-d3de-699f-8d78-5f9733b1abcb'::uuid, 'Tvdb', 1645170)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1540 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd95aba6c-d3de-699f-8d78-5f9733b1abcb'::uuid;

-- Query #1541 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd95aba6c-d3de-699f-8d78-5f9733b1abcb'::uuid;

-- Query #1542 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['418aafa0-add1-e72a-7029-afc13e1a9bbc'::uuid]);

-- Query #1543 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '418aafa0-add1-e72a-7029-afc13e1a9bbc'::uuid;

-- Query #1544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('418aafa0-add1-e72a-7029-afc13e1a9bbc'::uuid, 'Imdb', 'tt9052128')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1545 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d95aba6c-d3de-699f-8d78-5f9733b1abcb'::uuid]);

-- Query #1546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('418aafa0-add1-e72a-7029-afc13e1a9bbc'::uuid, 'Tmdb', 1617230)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('418aafa0-add1-e72a-7029-afc13e1a9bbc'::uuid, 'trakt', 3223639)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('418aafa0-add1-e72a-7029-afc13e1a9bbc'::uuid, 'TvMaze', 1560021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1549 | logged_duration_ms=2 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd95aba6c-d3de-699f-8d78-5f9733b1abcb'::uuid;

-- Query #1550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('418aafa0-add1-e72a-7029-afc13e1a9bbc'::uuid, 'Tvdb', 6891081)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('418aafa0-add1-e72a-7029-afc13e1a9bbc'::uuid, 'TmdbCollection', 1617230)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1552 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1553 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '418aafa0-add1-e72a-7029-afc13e1a9bbc'::uuid;

-- Query #1554 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '418aafa0-add1-e72a-7029-afc13e1a9bbc'::uuid;

-- Query #1555 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['418aafa0-add1-e72a-7029-afc13e1a9bbc'::uuid]);

-- Query #1556 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '418aafa0-add1-e72a-7029-afc13e1a9bbc'::uuid;

-- Query #1557 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1558 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff0ebe44-cbfc-6554-53d8-9bba74b66147'::uuid;

-- Query #1559 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0ebe44-cbfc-6554-53d8-9bba74b66147'::uuid]);

-- Query #1560 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ff0ebe44-cbfc-6554-53d8-9bba74b66147'::uuid;

-- Query #1561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff0ebe44-cbfc-6554-53d8-9bba74b66147'::uuid, 'Imdb', 'tt9690594')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff0ebe44-cbfc-6554-53d8-9bba74b66147'::uuid, 'Tmdb', 1765080)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1563 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff0ebe44-cbfc-6554-53d8-9bba74b66147'::uuid, 'trakt', 3490852)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff0ebe44-cbfc-6554-53d8-9bba74b66147'::uuid, 'TvMaze', 1628630)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff0ebe44-cbfc-6554-53d8-9bba74b66147'::uuid, 'Tvdb', 7145406)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff0ebe44-cbfc-6554-53d8-9bba74b66147'::uuid, 'TmdbCollection', 1765080)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff0ebe44-cbfc-6554-53d8-9bba74b66147'::uuid;

-- Query #1568 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ff0ebe44-cbfc-6554-53d8-9bba74b66147'::uuid;

-- Query #1569 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3caa4399-cc8e-5fc9-e987-574062886877'::uuid;

-- Query #1570 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ff0ebe44-cbfc-6554-53d8-9bba74b66147'::uuid]);

-- Query #1571 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3caa4399-cc8e-5fc9-e987-574062886877'::uuid]);

-- Query #1572 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ff0ebe44-cbfc-6554-53d8-9bba74b66147'::uuid;

-- Query #1573 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3caa4399-cc8e-5fc9-e987-574062886877'::uuid;

-- Query #1574 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3caa4399-cc8e-5fc9-e987-574062886877'::uuid, 'Imdb', 'tt8870658')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3caa4399-cc8e-5fc9-e987-574062886877'::uuid, 'TvMaze', 1645171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3caa4399-cc8e-5fc9-e987-574062886877'::uuid, 'Tvdb', 1645171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1578 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3caa4399-cc8e-5fc9-e987-574062886877'::uuid;

-- Query #1579 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3caa4399-cc8e-5fc9-e987-574062886877'::uuid;

-- Query #1580 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3caa4399-cc8e-5fc9-e987-574062886877'::uuid]);

-- Query #1581 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3caa4399-cc8e-5fc9-e987-574062886877'::uuid;

-- Query #1582 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid, '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1583 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7d584baa-16c4-2bba-63f3-97b95ce60017'::uuid
ORDER BY b."SortName";

-- Query #1584 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid])
ORDER BY b."Id";

-- Query #1585 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid])
ORDER BY b."Id";

-- Query #1586 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid])
ORDER BY b."Id";

-- Query #1587 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid])
ORDER BY b."Id";

-- Query #1588 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid])
ORDER BY b."Id";

-- Query #1589 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '49ea6a83-cdcb-7b9e-649e-cdf0a69f6da4'::uuid
ORDER BY b."SortName";

-- Query #1590 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6cc73575-0bca-d6a7-65ac-a6fe2b32bd1b'::uuid;

-- Query #1591 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '7d584baa16c42bba63f397b95ce60017'
ORDER BY b."SortName", b."Name";

-- Query #1592 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6cc73575-0bca-d6a7-65ac-a6fe2b32bd1b'::uuid]);

-- Query #1593 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6cc73575-0bca-d6a7-65ac-a6fe2b32bd1b'::uuid;

-- Query #1594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6cc73575-0bca-d6a7-65ac-a6fe2b32bd1b'::uuid, 'Imdb', 'tt9316418')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6cc73575-0bca-d6a7-65ac-a6fe2b32bd1b'::uuid, 'Tmdb', 1657523)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6cc73575-0bca-d6a7-65ac-a6fe2b32bd1b'::uuid, 'trakt', 3317268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6cc73575-0bca-d6a7-65ac-a6fe2b32bd1b'::uuid, 'TvMaze', 1585389)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6cc73575-0bca-d6a7-65ac-a6fe2b32bd1b'::uuid, 'Tvdb', 6986907)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6cc73575-0bca-d6a7-65ac-a6fe2b32bd1b'::uuid, 'TmdbCollection', 1657523)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1600 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6cc73575-0bca-d6a7-65ac-a6fe2b32bd1b'::uuid;

-- Query #1601 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6cc73575-0bca-d6a7-65ac-a6fe2b32bd1b'::uuid;

-- Query #1602 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6cc73575-0bca-d6a7-65ac-a6fe2b32bd1b'::uuid]);

-- Query #1603 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6cc73575-0bca-d6a7-65ac-a6fe2b32bd1b'::uuid;

-- Query #1604 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1605 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd2a97635-29b7-732a-65c5-4f78e84412c1'::uuid
ORDER BY b."SortName";

-- Query #1606 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1607 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1608 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1609 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1610 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1611 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid
ORDER BY b."SortName";

-- Query #1612 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1613 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1614 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1615 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1616 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1617 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '371d5357-e482-aafa-971f-a29a0bbfa7f6'::uuid;

-- Query #1618 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['371d5357-e482-aafa-971f-a29a0bbfa7f6'::uuid]);

-- Query #1619 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '371d5357-e482-aafa-971f-a29a0bbfa7f6'::uuid;

-- Query #1620 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('371d5357-e482-aafa-971f-a29a0bbfa7f6'::uuid, 'Imdb', 'tt11635198')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1621 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('371d5357-e482-aafa-971f-a29a0bbfa7f6'::uuid, 'Tmdb', 2188767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('371d5357-e482-aafa-971f-a29a0bbfa7f6'::uuid, 'trakt', 3975544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('371d5357-e482-aafa-971f-a29a0bbfa7f6'::uuid, 'TvMaze', 1798420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('371d5357-e482-aafa-971f-a29a0bbfa7f6'::uuid, 'Tvdb', 7571902)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1625 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('371d5357-e482-aafa-971f-a29a0bbfa7f6'::uuid, 'TmdbCollection', 2188767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1626 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '371d5357-e482-aafa-971f-a29a0bbfa7f6'::uuid;

-- Query #1627 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '371d5357-e482-aafa-971f-a29a0bbfa7f6'::uuid;

-- Query #1628 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['371d5357-e482-aafa-971f-a29a0bbfa7f6'::uuid]);

-- Query #1629 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '371d5357-e482-aafa-971f-a29a0bbfa7f6'::uuid;

-- Query #1630 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1631 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bc11ba45-cf98-088f-29e7-1a18fe159c7a'::uuid;

-- Query #1632 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bc11ba45-cf98-088f-29e7-1a18fe159c7a'::uuid]);

-- Query #1633 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bc11ba45-cf98-088f-29e7-1a18fe159c7a'::uuid;

-- Query #1634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc11ba45-cf98-088f-29e7-1a18fe159c7a'::uuid, 'Imdb', 'tt11635196')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1635 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc11ba45-cf98-088f-29e7-1a18fe159c7a'::uuid, 'Tmdb', 2188765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1636 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc11ba45-cf98-088f-29e7-1a18fe159c7a'::uuid, 'trakt', 3975543)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc11ba45-cf98-088f-29e7-1a18fe159c7a'::uuid, 'TvMaze', 1798029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1638 | logged_duration_ms=8 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc11ba45-cf98-088f-29e7-1a18fe159c7a'::uuid, 'Tvdb', 7571901)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc11ba45-cf98-088f-29e7-1a18fe159c7a'::uuid, 'TmdbCollection', 2188765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1640 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bc11ba45-cf98-088f-29e7-1a18fe159c7a'::uuid;

-- Query #1641 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bc11ba45-cf98-088f-29e7-1a18fe159c7a'::uuid;

-- Query #1642 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bc11ba45-cf98-088f-29e7-1a18fe159c7a'::uuid]);

-- Query #1643 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bc11ba45-cf98-088f-29e7-1a18fe159c7a'::uuid;

-- Query #1644 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1645 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2a97635-29b7-732a-65c5-4f78e84412c1'::uuid;

-- Query #1646 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2a97635-29b7-732a-65c5-4f78e84412c1'::uuid]);

-- Query #1647 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd2a97635-29b7-732a-65c5-4f78e84412c1'::uuid;

-- Query #1648 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'afce4a09-56d6-92ca-55d4-9e97eee9fe92'::uuid;

-- Query #1649 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2a97635-29b7-732a-65c5-4f78e84412c1'::uuid, 'facebook', 'WhenTheySeeUs')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1650 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2a97635-29b7-732a-65c5-4f78e84412c1'::uuid, 'Imdb', 'tt7137906')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2a97635-29b7-732a-65c5-4f78e84412c1'::uuid, 'instagram', 'whentheyseeus')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1652 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2a97635-29b7-732a-65c5-4f78e84412c1'::uuid, 'official website', 'https://www.netflix.com/title/80200549')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2a97635-29b7-732a-65c5-4f78e84412c1'::uuid, 'Tmdb', 81355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2a97635-29b7-732a-65c5-4f78e84412c1'::uuid, 'TmdbCollection', 81355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2a97635-29b7-732a-65c5-4f78e84412c1'::uuid, 'Tvdb', 360388)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2a97635-29b7-732a-65c5-4f78e84412c1'::uuid, 'TvMaze', 30202)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2a97635-29b7-732a-65c5-4f78e84412c1'::uuid, 'wikidata', 'Q55606843')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2a97635-29b7-732a-65c5-4f78e84412c1'::uuid, 'x (twitter)', 'WhenTheySeeUs')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2a97635-29b7-732a-65c5-4f78e84412c1'::uuid;

-- Query #1660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd2a97635-29b7-732a-65c5-4f78e84412c1'::uuid;

-- Query #1661 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afce4a09-56d6-92ca-55d4-9e97eee9fe92'::uuid]);

-- Query #1662 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'afce4a09-56d6-92ca-55d4-9e97eee9fe92'::uuid;

-- Query #1663 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afce4a09-56d6-92ca-55d4-9e97eee9fe92'::uuid, 'Imdb', 'tt10581640')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1664 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d2a97635-29b7-732a-65c5-4f78e84412c1'::uuid]);

-- Query #1665 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afce4a09-56d6-92ca-55d4-9e97eee9fe92'::uuid, 'Tmdb', 2015449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1666 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afce4a09-56d6-92ca-55d4-9e97eee9fe92'::uuid, 'trakt', 3763021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1667 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afce4a09-56d6-92ca-55d4-9e97eee9fe92'::uuid, 'TvMaze', 1768292)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1668 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd2a97635-29b7-732a-65c5-4f78e84412c1'::uuid;

-- Query #1669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afce4a09-56d6-92ca-55d4-9e97eee9fe92'::uuid, 'Tvdb', 7402254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afce4a09-56d6-92ca-55d4-9e97eee9fe92'::uuid, 'TmdbCollection', 2015449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1671 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1672 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'afce4a09-56d6-92ca-55d4-9e97eee9fe92'::uuid;

-- Query #1673 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'afce4a09-56d6-92ca-55d4-9e97eee9fe92'::uuid;

-- Query #1674 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['afce4a09-56d6-92ca-55d4-9e97eee9fe92'::uuid]);

-- Query #1675 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'afce4a09-56d6-92ca-55d4-9e97eee9fe92'::uuid;

-- Query #1676 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1677 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'd2a9763529b7732a65c54f78e84412c1'
ORDER BY b."SortName", b."Name";

-- Query #1678 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1679 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1680 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1681 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1682 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1683 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd2a97635-29b7-732a-65c5-4f78e84412c1'::uuid
ORDER BY b."SortName";

-- Query #1684 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1685 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1686 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1687 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1688 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1689 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid
ORDER BY b."SortName";

-- Query #1690 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1691 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1692 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1693 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1694 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1695 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'd2a9763529b7732a65c54f78e84412c1'
ORDER BY b."SortName", b."Name";

-- Query #1696 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1697 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1698 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1699 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1700 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1701 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '420111be-5384-37fa-f66d-d2b4d50c1fd8'::uuid;

-- Query #1702 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['420111be-5384-37fa-f66d-d2b4d50c1fd8'::uuid]);

-- Query #1703 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '420111be-5384-37fa-f66d-d2b4d50c1fd8'::uuid;

-- Query #1704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('420111be-5384-37fa-f66d-d2b4d50c1fd8'::uuid, 'Imdb', 'tt10588654')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('420111be-5384-37fa-f66d-d2b4d50c1fd8'::uuid, 'Tmdb', 2157241)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('420111be-5384-37fa-f66d-d2b4d50c1fd8'::uuid, 'trakt', 3894828)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('420111be-5384-37fa-f66d-d2b4d50c1fd8'::uuid, 'TvMaze', 1779476)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('420111be-5384-37fa-f66d-d2b4d50c1fd8'::uuid, 'Tvdb', 7505127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('420111be-5384-37fa-f66d-d2b4d50c1fd8'::uuid, 'TmdbCollection', 2157241)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1710 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '420111be-5384-37fa-f66d-d2b4d50c1fd8'::uuid;

-- Query #1711 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '420111be-5384-37fa-f66d-d2b4d50c1fd8'::uuid;

-- Query #1712 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid;

-- Query #1713 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['420111be-5384-37fa-f66d-d2b4d50c1fd8'::uuid]);

-- Query #1714 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '420111be-5384-37fa-f66d-d2b4d50c1fd8'::uuid;

-- Query #1715 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1716 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid]);

-- Query #1717 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid;

-- Query #1718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid, 'TmdbCollection', 81355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid, 'Tvdb', 360388)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid, 'x (twitter)', 'WhenTheySeeUs')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid, 'Tmdb', 81355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid, 'Imdb', 'tt7137906')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid, 'TvMaze', 30202)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid, 'facebook', 'WhenTheySeeUs')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid, 'instagram', 'whentheyseeus')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1726 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid, 'wikidata', 'Q55606843')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1727 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid, 'official website', 'https://www.netflix.com/title/80200549')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1728 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid;

-- Query #1729 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid;

-- Query #1730 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid]);

-- Query #1731 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid;

-- Query #1732 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2a97635-29b7-732a-65c5-4f78e84412c1'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1733 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e044b00-ffd8-e84a-37b4-e53474b17ed3'::uuid;

-- Query #1734 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid;

-- Query #1735 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e044b00-ffd8-e84a-37b4-e53474b17ed3'::uuid]);

-- Query #1736 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2e044b00-ffd8-e84a-37b4-e53474b17ed3'::uuid;

-- Query #1737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e044b00-ffd8-e84a-37b4-e53474b17ed3'::uuid, 'TmdbCollection', 2188771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e044b00-ffd8-e84a-37b4-e53474b17ed3'::uuid, 'Imdb', 'tt11435858')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e044b00-ffd8-e84a-37b4-e53474b17ed3'::uuid, 'Tmdb', 2188771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e044b00-ffd8-e84a-37b4-e53474b17ed3'::uuid, 'trakt', 3979857)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e044b00-ffd8-e84a-37b4-e53474b17ed3'::uuid, 'TvMaze', 1809647)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1742 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e044b00-ffd8-e84a-37b4-e53474b17ed3'::uuid, 'Tvdb', 7575775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1743 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid]);

-- Query #1744 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e044b00-ffd8-e84a-37b4-e53474b17ed3'::uuid;

-- Query #1745 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid;

-- Query #1746 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2e044b00-ffd8-e84a-37b4-e53474b17ed3'::uuid;

-- Query #1747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, 'Imdb', 'tt8805244')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, 'Tmdb', 1537840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, 'trakt', 3412999)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, 'TvMaze', 1619288)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, 'Tvdb', 7064737)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, 'TmdbCollection', 1537840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1753 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid;

-- Query #1754 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid;

-- Query #1755 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2e044b00-ffd8-e84a-37b4-e53474b17ed3'::uuid]);

-- Query #1756 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2e044b00-ffd8-e84a-37b4-e53474b17ed3'::uuid;

-- Query #1757 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1758 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid]);

-- Query #1759 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid;

-- Query #1760 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid, 'd2a97635-29b7-732a-65c5-4f78e84412c1'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1761 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2f540b11-8c30-9b45-2e18-333228313633'::uuid;

-- Query #1762 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2f540b11-8c30-9b45-2e18-333228313633'::uuid]);

-- Query #1763 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2f540b11-8c30-9b45-2e18-333228313633'::uuid;

-- Query #1764 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f540b11-8c30-9b45-2e18-333228313633'::uuid, 'Imdb', 'tt11564948')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f540b11-8c30-9b45-2e18-333228313633'::uuid, 'Tmdb', 2185442)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f540b11-8c30-9b45-2e18-333228313633'::uuid, 'trakt', 3975541)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f540b11-8c30-9b45-2e18-333228313633'::uuid, 'TvMaze', 1819307)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f540b11-8c30-9b45-2e18-333228313633'::uuid, 'Tvdb', 7571900)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f540b11-8c30-9b45-2e18-333228313633'::uuid, 'TmdbCollection', 2185442)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1770 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2f540b11-8c30-9b45-2e18-333228313633'::uuid;

-- Query #1771 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2f540b11-8c30-9b45-2e18-333228313633'::uuid;

-- Query #1772 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid;

-- Query #1773 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid]);

-- Query #1774 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2f540b11-8c30-9b45-2e18-333228313633'::uuid]);

-- Query #1775 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid;

-- Query #1776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'Imdb', 'tt8805234')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1777 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2f540b11-8c30-9b45-2e18-333228313633'::uuid;

-- Query #1778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'Tmdb', 1537696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1779 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'trakt', 3412981)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'TvMaze', 1619285)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'Tvdb', 7064726)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'TmdbCollection', 1537696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1784 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid;

-- Query #1785 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid;

-- Query #1786 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid]);

-- Query #1787 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid;

-- Query #1788 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid, 'd2a97635-29b7-732a-65c5-4f78e84412c1'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce7156a1-170b-4102-0cf9-be7ad466cc07'::uuid;

-- Query #1790 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce7156a1-170b-4102-0cf9-be7ad466cc07'::uuid]);

-- Query #1791 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ce7156a1-170b-4102-0cf9-be7ad466cc07'::uuid;

-- Query #1792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce7156a1-170b-4102-0cf9-be7ad466cc07'::uuid, 'TmdbCollection', 2064175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1793 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid;

-- Query #1794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce7156a1-170b-4102-0cf9-be7ad466cc07'::uuid, 'Imdb', 'tt10588652')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce7156a1-170b-4102-0cf9-be7ad466cc07'::uuid, 'Tmdb', 2064175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce7156a1-170b-4102-0cf9-be7ad466cc07'::uuid, 'trakt', 3652702)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce7156a1-170b-4102-0cf9-be7ad466cc07'::uuid, 'TvMaze', 1754807)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce7156a1-170b-4102-0cf9-be7ad466cc07'::uuid, 'Tvdb', 7308262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1799 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce7156a1-170b-4102-0cf9-be7ad466cc07'::uuid;

-- Query #1800 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ce7156a1-170b-4102-0cf9-be7ad466cc07'::uuid;

-- Query #1801 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['acba426a-7442-e47f-3f52-522ed08ff404'::uuid]);

-- Query #1802 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid;

-- Query #1803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acba426a-7442-e47f-3f52-522ed08ff404'::uuid, 'Imdb', 'tt8805240')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acba426a-7442-e47f-3f52-522ed08ff404'::uuid, 'Tmdb', 1537839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acba426a-7442-e47f-3f52-522ed08ff404'::uuid, 'trakt', 3412998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acba426a-7442-e47f-3f52-522ed08ff404'::uuid, 'TvMaze', 1619287)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1807 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ce7156a1-170b-4102-0cf9-be7ad466cc07'::uuid]);

-- Query #1808 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acba426a-7442-e47f-3f52-522ed08ff404'::uuid, 'Tvdb', 7064735)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acba426a-7442-e47f-3f52-522ed08ff404'::uuid, 'TmdbCollection', 1537839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1810 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ce7156a1-170b-4102-0cf9-be7ad466cc07'::uuid;

-- Query #1811 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid;

-- Query #1812 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1813 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid;

-- Query #1814 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['acba426a-7442-e47f-3f52-522ed08ff404'::uuid]);

-- Query #1815 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid;

-- Query #1816 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid, 'd2a97635-29b7-732a-65c5-4f78e84412c1'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1817 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid;

-- Query #1818 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '68c5483a-c052-1618-ebaf-a70a903808e1'::uuid;

-- Query #1819 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5e93089c-888d-72f4-3680-7dfeec89749d'::uuid]);

-- Query #1820 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid;

-- Query #1821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, 'Imdb', 'tt8805238')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, 'Tmdb', 1537838)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1823 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68c5483a-c052-1618-ebaf-a70a903808e1'::uuid]);

-- Query #1824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, 'trakt', 3412997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1825 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '68c5483a-c052-1618-ebaf-a70a903808e1'::uuid;

-- Query #1826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, 'TvMaze', 1619286)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68c5483a-c052-1618-ebaf-a70a903808e1'::uuid, 'TmdbCollection', 2173377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, 'Tvdb', 7064733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1829 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68c5483a-c052-1618-ebaf-a70a903808e1'::uuid, 'Imdb', 'tt10999280')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, 'TmdbCollection', 1537838)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68c5483a-c052-1618-ebaf-a70a903808e1'::uuid, 'Tmdb', 2173377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1832 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid;

-- Query #1833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68c5483a-c052-1618-ebaf-a70a903808e1'::uuid, 'trakt', 3975540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1834 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid;

-- Query #1835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68c5483a-c052-1618-ebaf-a70a903808e1'::uuid, 'TvMaze', 1798027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1836 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68c5483a-c052-1618-ebaf-a70a903808e1'::uuid, 'Tvdb', 7571899)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1837 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '68c5483a-c052-1618-ebaf-a70a903808e1'::uuid;

-- Query #1838 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '68c5483a-c052-1618-ebaf-a70a903808e1'::uuid;

-- Query #1839 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5e93089c-888d-72f4-3680-7dfeec89749d'::uuid]);

-- Query #1840 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid;

-- Query #1841 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['68c5483a-c052-1618-ebaf-a70a903808e1'::uuid]);

-- Query #1842 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid, 'd2a97635-29b7-732a-65c5-4f78e84412c1'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1843 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '68c5483a-c052-1618-ebaf-a70a903808e1'::uuid;

-- Query #1844 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1845 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd2a97635-29b7-732a-65c5-4f78e84412c1'::uuid
ORDER BY b."SortName";

-- Query #1846 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1847 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1848 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1849 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1850 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1851 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid
ORDER BY b."SortName";

-- Query #1852 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1853 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1854 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1855 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1856 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid])
ORDER BY b."Id";

-- Query #1857 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'd2a9763529b7732a65c54f78e84412c1'
ORDER BY b."SortName", b."Name";

-- Query #1858 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1859 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1860 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1861 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1862 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid, '135e4264-69ac-9e6f-45e0-00ea8c469f4f'::uuid, 'acba426a-7442-e47f-3f52-522ed08ff404'::uuid, '5e93089c-888d-72f4-3680-7dfeec89749d'::uuid, '387c0d4e-313d-46f3-07d8-54dc4699db68'::uuid])
ORDER BY b."Id";

-- Query #1863 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid
ORDER BY b."SortName";

-- Query #1864 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '887e4055-62dc-6835-1342-8685399be679'::uuid])
ORDER BY b."Id";

-- Query #1865 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '887e4055-62dc-6835-1342-8685399be679'::uuid])
ORDER BY b."Id";

-- Query #1866 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '887e4055-62dc-6835-1342-8685399be679'::uuid])
ORDER BY b."Id";

-- Query #1867 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '887e4055-62dc-6835-1342-8685399be679'::uuid])
ORDER BY b."Id";

-- Query #1868 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '887e4055-62dc-6835-1342-8685399be679'::uuid])
ORDER BY b."Id";

-- Query #1869 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cbd2899f-d12d-9b2b-f046-919c03204b53'::uuid;

-- Query #1870 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid
ORDER BY b."SortName";

-- Query #1871 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd2899f-d12d-9b2b-f046-919c03204b53'::uuid]);

-- Query #1872 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cbd2899f-d12d-9b2b-f046-919c03204b53'::uuid;

-- Query #1873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbd2899f-d12d-9b2b-f046-919c03204b53'::uuid, 'Imdb', 'tt12148540')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1874 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbd2899f-d12d-9b2b-f046-919c03204b53'::uuid, 'Tmdb', 2188772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1875 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbd2899f-d12d-9b2b-f046-919c03204b53'::uuid, 'trakt', 3979858)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1876 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbd2899f-d12d-9b2b-f046-919c03204b53'::uuid, 'TvMaze', 1809648)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1877 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbd2899f-d12d-9b2b-f046-919c03204b53'::uuid, 'Tvdb', 7575774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1878 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid
ORDER BY b."SortName";

-- Query #1879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbd2899f-d12d-9b2b-f046-919c03204b53'::uuid, 'TmdbCollection', 2188772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1880 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cbd2899f-d12d-9b2b-f046-919c03204b53'::uuid;

-- Query #1881 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cbd2899f-d12d-9b2b-f046-919c03204b53'::uuid;

-- Query #1882 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cbd2899f-d12d-9b2b-f046-919c03204b53'::uuid]);

-- Query #1883 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '887e4055-62dc-6835-1342-8685399be679'::uuid
ORDER BY b."SortName";

-- Query #1884 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cbd2899f-d12d-9b2b-f046-919c03204b53'::uuid;

-- Query #1885 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1886 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dfc03042-2f75-3ae3-5ddb-ffe2048f1a48'::uuid;

-- Query #1887 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dfc03042-2f75-3ae3-5ddb-ffe2048f1a48'::uuid]);

-- Query #1888 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dfc03042-2f75-3ae3-5ddb-ffe2048f1a48'::uuid;

-- Query #1889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfc03042-2f75-3ae3-5ddb-ffe2048f1a48'::uuid, 'Imdb', 'tt10941290')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfc03042-2f75-3ae3-5ddb-ffe2048f1a48'::uuid, 'Tmdb', 2169679)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfc03042-2f75-3ae3-5ddb-ffe2048f1a48'::uuid, 'trakt', 3894830)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfc03042-2f75-3ae3-5ddb-ffe2048f1a48'::uuid, 'TvMaze', 1779478)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfc03042-2f75-3ae3-5ddb-ffe2048f1a48'::uuid, 'Tvdb', 7505130)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfc03042-2f75-3ae3-5ddb-ffe2048f1a48'::uuid, 'TmdbCollection', 2169679)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1895 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dfc03042-2f75-3ae3-5ddb-ffe2048f1a48'::uuid;

-- Query #1896 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dfc03042-2f75-3ae3-5ddb-ffe2048f1a48'::uuid;

-- Query #1897 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dfc03042-2f75-3ae3-5ddb-ffe2048f1a48'::uuid]);

-- Query #1898 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dfc03042-2f75-3ae3-5ddb-ffe2048f1a48'::uuid;

-- Query #1899 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1900 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36520b51-f222-7733-09c7-39707a48df59'::uuid;

-- Query #1901 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['36520b51-f222-7733-09c7-39707a48df59'::uuid]);

-- Query #1902 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '36520b51-f222-7733-09c7-39707a48df59'::uuid;

-- Query #1903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36520b51-f222-7733-09c7-39707a48df59'::uuid, 'Imdb', 'tt11635200')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1904 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36520b51-f222-7733-09c7-39707a48df59'::uuid, 'Tmdb', 2188769)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1905 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36520b51-f222-7733-09c7-39707a48df59'::uuid, 'trakt', 3975545)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36520b51-f222-7733-09c7-39707a48df59'::uuid, 'TvMaze', 1798421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36520b51-f222-7733-09c7-39707a48df59'::uuid, 'Tvdb', 7571903)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36520b51-f222-7733-09c7-39707a48df59'::uuid, 'TmdbCollection', 2188769)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1909 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36520b51-f222-7733-09c7-39707a48df59'::uuid;

-- Query #1910 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '36520b51-f222-7733-09c7-39707a48df59'::uuid;

-- Query #1911 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['36520b51-f222-7733-09c7-39707a48df59'::uuid]);

-- Query #1912 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '36520b51-f222-7733-09c7-39707a48df59'::uuid;

-- Query #1913 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1914 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb924368-e013-f3a8-3d1b-b31f5090e630'::uuid;

-- Query #1915 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb924368-e013-f3a8-3d1b-b31f5090e630'::uuid]);

-- Query #1916 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eb924368-e013-f3a8-3d1b-b31f5090e630'::uuid;

-- Query #1917 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb924368-e013-f3a8-3d1b-b31f5090e630'::uuid, 'Imdb', 'tt10926744')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb924368-e013-f3a8-3d1b-b31f5090e630'::uuid, 'Tmdb', 2169678)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1919 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb924368-e013-f3a8-3d1b-b31f5090e630'::uuid, 'trakt', 3894829)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb924368-e013-f3a8-3d1b-b31f5090e630'::uuid, 'TvMaze', 1779477)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb924368-e013-f3a8-3d1b-b31f5090e630'::uuid, 'Tvdb', 7505128)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb924368-e013-f3a8-3d1b-b31f5090e630'::uuid, 'TmdbCollection', 2169678)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1923 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb924368-e013-f3a8-3d1b-b31f5090e630'::uuid;

-- Query #1924 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eb924368-e013-f3a8-3d1b-b31f5090e630'::uuid;

-- Query #1925 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #1926 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eb924368-e013-f3a8-3d1b-b31f5090e630'::uuid]);

-- Query #1927 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eb924368-e013-f3a8-3d1b-b31f5090e630'::uuid;

-- Query #1928 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid;

-- Query #1930 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95505be1-c505-fc63-4621-fe9abcef92fa'::uuid]);

-- Query #1931 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid;

-- Query #1932 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'eidr', '10.5240/D95A-03DB-C34E-151A-DC07-J')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1933 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'Imdb', 'tt11937816')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1934 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'official website', 'https://www.netflix.com/title/81166747')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'Tmdb', 120168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'TmdbCollection', 120168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'Tvdb', 397412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'tv maze', 53841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'TvMaze', 53841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'wikidata', 'Q105593020')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1941 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid;

-- Query #1942 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid;

-- Query #1943 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['95505be1-c505-fc63-4621-fe9abcef92fa'::uuid]);

-- Query #1944 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid;

-- Query #1945 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1946 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '95505be1c505fc634621fe9abcef92fa'
ORDER BY b."SortName", b."Name";

-- Query #1947 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f2dbeea-050a-5802-7159-82a6e0a1fbce'::uuid;

-- Query #1948 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f2dbeea-050a-5802-7159-82a6e0a1fbce'::uuid]);

-- Query #1949 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9f2dbeea-050a-5802-7159-82a6e0a1fbce'::uuid;

-- Query #1950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f2dbeea-050a-5802-7159-82a6e0a1fbce'::uuid, 'Imdb', 'tt14359882')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f2dbeea-050a-5802-7159-82a6e0a1fbce'::uuid, 'TvMaze', 2056436)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f2dbeea-050a-5802-7159-82a6e0a1fbce'::uuid, 'Tvdb', 8301079)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1953 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f2dbeea-050a-5802-7159-82a6e0a1fbce'::uuid;

-- Query #1954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9f2dbeea-050a-5802-7159-82a6e0a1fbce'::uuid;

-- Query #1955 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9f2dbeea-050a-5802-7159-82a6e0a1fbce'::uuid]);

-- Query #1956 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9f2dbeea-050a-5802-7159-82a6e0a1fbce'::uuid;

-- Query #1957 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1958 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid
ORDER BY b."SortName";

-- Query #1959 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '887e4055-62dc-6835-1342-8685399be679'::uuid])
ORDER BY b."Id";

-- Query #1960 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '887e4055-62dc-6835-1342-8685399be679'::uuid])
ORDER BY b."Id";

-- Query #1961 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '887e4055-62dc-6835-1342-8685399be679'::uuid])
ORDER BY b."Id";

-- Query #1962 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '887e4055-62dc-6835-1342-8685399be679'::uuid])
ORDER BY b."Id";

-- Query #1963 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '887e4055-62dc-6835-1342-8685399be679'::uuid])
ORDER BY b."Id";

-- Query #1964 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid
ORDER BY b."SortName";

-- Query #1965 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid
ORDER BY b."SortName";

-- Query #1966 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '887e4055-62dc-6835-1342-8685399be679'::uuid
ORDER BY b."SortName";

-- Query #1967 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '95505be1c505fc634621fe9abcef92fa'
ORDER BY b."SortName", b."Name";

-- Query #1968 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b8fc06e-06f7-73d5-33b5-88ea14892a48'::uuid;

-- Query #1969 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b8fc06e-06f7-73d5-33b5-88ea14892a48'::uuid]);

-- Query #1970 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4b8fc06e-06f7-73d5-33b5-88ea14892a48'::uuid;

-- Query #1971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b8fc06e-06f7-73d5-33b5-88ea14892a48'::uuid, 'Imdb', 'tt13667050')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b8fc06e-06f7-73d5-33b5-88ea14892a48'::uuid, 'TvMaze', 1987059)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1973 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b8fc06e-06f7-73d5-33b5-88ea14892a48'::uuid, 'Tvdb', 8053297)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1974 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b8fc06e-06f7-73d5-33b5-88ea14892a48'::uuid;

-- Query #1975 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4b8fc06e-06f7-73d5-33b5-88ea14892a48'::uuid;

-- Query #1976 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4b8fc06e-06f7-73d5-33b5-88ea14892a48'::uuid]);

-- Query #1977 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4b8fc06e-06f7-73d5-33b5-88ea14892a48'::uuid;

-- Query #1978 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #1979 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid;

-- Query #1980 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cdbade61-dfea-f33a-3c43-e32f76fa4af0'::uuid;

-- Query #1981 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdbade61-dfea-f33a-3c43-e32f76fa4af0'::uuid]);

-- Query #1982 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cdbade61-dfea-f33a-3c43-e32f76fa4af0'::uuid;

-- Query #1983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdbade61-dfea-f33a-3c43-e32f76fa4af0'::uuid, 'Imdb', 'tt14312002')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1984 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdbade61-dfea-f33a-3c43-e32f76fa4af0'::uuid, 'TvMaze', 2046134)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1985 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdbade61-dfea-f33a-3c43-e32f76fa4af0'::uuid, 'Tvdb', 8258676)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1986 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cdbade61-dfea-f33a-3c43-e32f76fa4af0'::uuid;

-- Query #1987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cdbade61-dfea-f33a-3c43-e32f76fa4af0'::uuid;

-- Query #1988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid]);

-- Query #1989 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid;

-- Query #1990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, 'official website', 'https://www.netflix.com/title/81166747')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, 'Tvdb', 397412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, 'Tmdb', 120168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, 'Imdb', 'tt11937816')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, 'TvMaze', 53841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, 'eidr', '10.5240/D95A-03DB-C34E-151A-DC07-J')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, 'wikidata', 'Q105593020')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, 'tv maze', 53841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #1998 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cdbade61-dfea-f33a-3c43-e32f76fa4af0'::uuid]);

-- Query #1999 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, 'TmdbCollection', 120168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2000 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid;

-- Query #2001 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cdbade61-dfea-f33a-3c43-e32f76fa4af0'::uuid;

-- Query #2002 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid;

-- Query #2003 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2004 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+criminal', '6+murder', '6+revenge', '6+wrongly condemned']);

-- Query #2005 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid]);

-- Query #2006 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid;

-- Query #2007 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2008 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '95505be1c505fc634621fe9abcef92fa'
ORDER BY b."SortName", b."Name";

-- Query #2009 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid;

-- Query #2010 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd07efa18-e942-8dfc-f4fd-506524f7c602'::uuid;

-- Query #2011 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['442dea14-e86d-67c0-59c1-080a3ae28879'::uuid]);

-- Query #2012 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid;

-- Query #2013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, 'wikidata', 'Q105593020')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, 'TmdbCollection', 120168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, 'official website', 'https://www.netflix.com/title/81166747')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2016 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d07efa18-e942-8dfc-f4fd-506524f7c602'::uuid]);

-- Query #2017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, 'Tvdb', 397412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2018 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd07efa18-e942-8dfc-f4fd-506524f7c602'::uuid;

-- Query #2019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, 'Tmdb', 120168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2020 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d07efa18-e942-8dfc-f4fd-506524f7c602'::uuid, 'Imdb', 'tt14076350')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2021 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, 'Imdb', 'tt11937816')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2022 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d07efa18-e942-8dfc-f4fd-506524f7c602'::uuid, 'Tmdb', 2744166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2023 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, 'TvMaze', 53841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d07efa18-e942-8dfc-f4fd-506524f7c602'::uuid, 'trakt', 4798745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, 'tv maze', 53841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d07efa18-e942-8dfc-f4fd-506524f7c602'::uuid, 'TvMaze', 2029413)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, 'eidr', '10.5240/D95A-03DB-C34E-151A-DC07-J')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d07efa18-e942-8dfc-f4fd-506524f7c602'::uuid, 'Tvdb', 8191135)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2029 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid;

-- Query #2030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d07efa18-e942-8dfc-f4fd-506524f7c602'::uuid, 'TmdbCollection', 2744166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2031 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid;

-- Query #2032 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd07efa18-e942-8dfc-f4fd-506524f7c602'::uuid;

-- Query #2033 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd07efa18-e942-8dfc-f4fd-506524f7c602'::uuid;

-- Query #2034 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+criminal', '6+murder', '6+revenge', '6+wrongly condemned']);

-- Query #2035 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['442dea14-e86d-67c0-59c1-080a3ae28879'::uuid]);

-- Query #2036 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d07efa18-e942-8dfc-f4fd-506524f7c602'::uuid]);

-- Query #2037 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid;

-- Query #2038 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2039 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd07efa18-e942-8dfc-f4fd-506524f7c602'::uuid;

-- Query #2040 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2041 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '95505be1c505fc634621fe9abcef92fa'
ORDER BY b."SortName", b."Name";

-- Query #2042 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '887e4055-62dc-6835-1342-8685399be679'::uuid;

-- Query #2043 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['887e4055-62dc-6835-1342-8685399be679'::uuid]);

-- Query #2044 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '887e4055-62dc-6835-1342-8685399be679'::uuid;

-- Query #2045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('887e4055-62dc-6835-1342-8685399be679'::uuid, 'Tvdb', 397412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('887e4055-62dc-6835-1342-8685399be679'::uuid, 'Tmdb', 120168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('887e4055-62dc-6835-1342-8685399be679'::uuid, 'Imdb', 'tt11937816')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('887e4055-62dc-6835-1342-8685399be679'::uuid, 'TvMaze', 53841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('887e4055-62dc-6835-1342-8685399be679'::uuid, 'tv maze', 53841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('887e4055-62dc-6835-1342-8685399be679'::uuid, 'eidr', '10.5240/D95A-03DB-C34E-151A-DC07-J')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('887e4055-62dc-6835-1342-8685399be679'::uuid, 'wikidata', 'Q105593020')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('887e4055-62dc-6835-1342-8685399be679'::uuid, 'TmdbCollection', 120168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('887e4055-62dc-6835-1342-8685399be679'::uuid, 'official website', 'https://www.netflix.com/title/81166747')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2054 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '887e4055-62dc-6835-1342-8685399be679'::uuid;

-- Query #2055 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '887e4055-62dc-6835-1342-8685399be679'::uuid;

-- Query #2056 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+criminal', '6+murder', '6+revenge', '6+wrongly condemned']);

-- Query #2057 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['887e4055-62dc-6835-1342-8685399be679'::uuid]);

-- Query #2058 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78d61e36-fefa-f70e-f8b8-8b6b28b4247a'::uuid;

-- Query #2059 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '887e4055-62dc-6835-1342-8685399be679'::uuid;

-- Query #2060 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2061 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78d61e36-fefa-f70e-f8b8-8b6b28b4247a'::uuid]);

-- Query #2062 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '78d61e36-fefa-f70e-f8b8-8b6b28b4247a'::uuid;

-- Query #2063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78d61e36-fefa-f70e-f8b8-8b6b28b4247a'::uuid, 'Imdb', 'tt14071128')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78d61e36-fefa-f70e-f8b8-8b6b28b4247a'::uuid, 'TvMaze', 2022363)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78d61e36-fefa-f70e-f8b8-8b6b28b4247a'::uuid, 'Tvdb', 8158892)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2066 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78d61e36-fefa-f70e-f8b8-8b6b28b4247a'::uuid;

-- Query #2067 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '78d61e36-fefa-f70e-f8b8-8b6b28b4247a'::uuid;

-- Query #2068 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['78d61e36-fefa-f70e-f8b8-8b6b28b4247a'::uuid]);

-- Query #2069 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '78d61e36-fefa-f70e-f8b8-8b6b28b4247a'::uuid;

-- Query #2070 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2071 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd4026c25-32b1-22fa-bf07-346df93732bf'::uuid;

-- Query #2072 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d4026c25-32b1-22fa-bf07-346df93732bf'::uuid]);

-- Query #2073 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd4026c25-32b1-22fa-bf07-346df93732bf'::uuid;

-- Query #2074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4026c25-32b1-22fa-bf07-346df93732bf'::uuid, 'Imdb', 'tt14311328')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4026c25-32b1-22fa-bf07-346df93732bf'::uuid, 'TvMaze', 2052137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4026c25-32b1-22fa-bf07-346df93732bf'::uuid, 'Tvdb', 8268846)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2077 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd4026c25-32b1-22fa-bf07-346df93732bf'::uuid;

-- Query #2078 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd4026c25-32b1-22fa-bf07-346df93732bf'::uuid;

-- Query #2079 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d4026c25-32b1-22fa-bf07-346df93732bf'::uuid]);

-- Query #2080 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd4026c25-32b1-22fa-bf07-346df93732bf'::uuid;

-- Query #2081 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2082 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ad7d40eb-a97f-37ca-68a2-a5148d1280b2'::uuid;

-- Query #2083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3b2719be-d991-095f-0f6d-9fa02faa32e3'::uuid;

-- Query #2084 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad7d40eb-a97f-37ca-68a2-a5148d1280b2'::uuid]);

-- Query #2085 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ad7d40eb-a97f-37ca-68a2-a5148d1280b2'::uuid;

-- Query #2086 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad7d40eb-a97f-37ca-68a2-a5148d1280b2'::uuid, 'Imdb', 'tt13851668')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad7d40eb-a97f-37ca-68a2-a5148d1280b2'::uuid, 'TvMaze', 2005457)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad7d40eb-a97f-37ca-68a2-a5148d1280b2'::uuid, 'Tvdb', 8121749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2089 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ad7d40eb-a97f-37ca-68a2-a5148d1280b2'::uuid;

-- Query #2090 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ad7d40eb-a97f-37ca-68a2-a5148d1280b2'::uuid;

-- Query #2091 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3b2719be-d991-095f-0f6d-9fa02faa32e3'::uuid]);

-- Query #2092 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3b2719be-d991-095f-0f6d-9fa02faa32e3'::uuid;

-- Query #2093 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ad7d40eb-a97f-37ca-68a2-a5148d1280b2'::uuid]);

-- Query #2094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2719be-d991-095f-0f6d-9fa02faa32e3'::uuid, 'Imdb', 'tt14311340')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2719be-d991-095f-0f6d-9fa02faa32e3'::uuid, 'TvMaze', 2052142)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2719be-d991-095f-0f6d-9fa02faa32e3'::uuid, 'Tvdb', 8268851)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2097 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ad7d40eb-a97f-37ca-68a2-a5148d1280b2'::uuid;

-- Query #2098 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3b2719be-d991-095f-0f6d-9fa02faa32e3'::uuid;

-- Query #2099 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2100 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3b2719be-d991-095f-0f6d-9fa02faa32e3'::uuid;

-- Query #2101 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3b2719be-d991-095f-0f6d-9fa02faa32e3'::uuid]);

-- Query #2102 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3b2719be-d991-095f-0f6d-9fa02faa32e3'::uuid;

-- Query #2103 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2104 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7325df5-c2a3-a64d-c74e-7fbae8f1e402'::uuid;

-- Query #2105 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3cdcd279-3bea-f311-17d2-368bc219bb79'::uuid;

-- Query #2106 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7325df5-c2a3-a64d-c74e-7fbae8f1e402'::uuid]);

-- Query #2107 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c7325df5-c2a3-a64d-c74e-7fbae8f1e402'::uuid;

-- Query #2108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7325df5-c2a3-a64d-c74e-7fbae8f1e402'::uuid, 'Imdb', 'tt14312004')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7325df5-c2a3-a64d-c74e-7fbae8f1e402'::uuid, 'TvMaze', 2052234)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7325df5-c2a3-a64d-c74e-7fbae8f1e402'::uuid, 'Tvdb', 8301078)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2111 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7325df5-c2a3-a64d-c74e-7fbae8f1e402'::uuid;

-- Query #2112 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c7325df5-c2a3-a64d-c74e-7fbae8f1e402'::uuid;

-- Query #2113 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3cdcd279-3bea-f311-17d2-368bc219bb79'::uuid]);

-- Query #2114 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3cdcd279-3bea-f311-17d2-368bc219bb79'::uuid;

-- Query #2115 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cdcd279-3bea-f311-17d2-368bc219bb79'::uuid, 'Imdb', 'tt14311336')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cdcd279-3bea-f311-17d2-368bc219bb79'::uuid, 'TvMaze', 2052141)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cdcd279-3bea-f311-17d2-368bc219bb79'::uuid, 'Tvdb', 8268850)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2118 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3cdcd279-3bea-f311-17d2-368bc219bb79'::uuid;

-- Query #2119 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3cdcd279-3bea-f311-17d2-368bc219bb79'::uuid;

-- Query #2120 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c7325df5-c2a3-a64d-c74e-7fbae8f1e402'::uuid]);

-- Query #2121 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c7325df5-c2a3-a64d-c74e-7fbae8f1e402'::uuid;

-- Query #2122 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2123 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3cdcd279-3bea-f311-17d2-368bc219bb79'::uuid]);

-- Query #2124 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3cdcd279-3bea-f311-17d2-368bc219bb79'::uuid;

-- Query #2125 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2126 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '674978cc-a320-2fc1-af93-70050275fbfa'::uuid;

-- Query #2127 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['674978cc-a320-2fc1-af93-70050275fbfa'::uuid]);

-- Query #2128 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '674978cc-a320-2fc1-af93-70050275fbfa'::uuid;

-- Query #2129 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('674978cc-a320-2fc1-af93-70050275fbfa'::uuid, 'Imdb', 'tt14084174')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2130 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '394ebfd6-2e44-9315-21af-7adf3b0bd11b'::uuid;

-- Query #2131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('674978cc-a320-2fc1-af93-70050275fbfa'::uuid, 'TvMaze', 2039680)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('674978cc-a320-2fc1-af93-70050275fbfa'::uuid, 'Tvdb', 8234332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2133 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '674978cc-a320-2fc1-af93-70050275fbfa'::uuid;

-- Query #2134 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '674978cc-a320-2fc1-af93-70050275fbfa'::uuid;

-- Query #2135 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['394ebfd6-2e44-9315-21af-7adf3b0bd11b'::uuid]);

-- Query #2136 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '394ebfd6-2e44-9315-21af-7adf3b0bd11b'::uuid;

-- Query #2137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('394ebfd6-2e44-9315-21af-7adf3b0bd11b'::uuid, 'Imdb', 'tt13776036')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('394ebfd6-2e44-9315-21af-7adf3b0bd11b'::uuid, 'TvMaze', 1987418)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2139 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('394ebfd6-2e44-9315-21af-7adf3b0bd11b'::uuid, 'Tvdb', 8091401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2140 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '394ebfd6-2e44-9315-21af-7adf3b0bd11b'::uuid;

-- Query #2141 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '394ebfd6-2e44-9315-21af-7adf3b0bd11b'::uuid;

-- Query #2142 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['674978cc-a320-2fc1-af93-70050275fbfa'::uuid]);

-- Query #2143 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '674978cc-a320-2fc1-af93-70050275fbfa'::uuid;

-- Query #2144 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2145 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['394ebfd6-2e44-9315-21af-7adf3b0bd11b'::uuid]);

-- Query #2146 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '394ebfd6-2e44-9315-21af-7adf3b0bd11b'::uuid;

-- Query #2147 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2148 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88d4a1d6-ae8f-1b50-5514-3790cb235d91'::uuid;

-- Query #2149 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b800b8b9-e71f-478b-1fdf-b2d75440f707'::uuid;

-- Query #2150 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88d4a1d6-ae8f-1b50-5514-3790cb235d91'::uuid]);

-- Query #2151 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '88d4a1d6-ae8f-1b50-5514-3790cb235d91'::uuid;

-- Query #2152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88d4a1d6-ae8f-1b50-5514-3790cb235d91'::uuid, 'Imdb', 'tt14311330')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88d4a1d6-ae8f-1b50-5514-3790cb235d91'::uuid, 'TvMaze', 2052138)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2154 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88d4a1d6-ae8f-1b50-5514-3790cb235d91'::uuid, 'Tvdb', 8268847)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2155 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88d4a1d6-ae8f-1b50-5514-3790cb235d91'::uuid;

-- Query #2156 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '88d4a1d6-ae8f-1b50-5514-3790cb235d91'::uuid;

-- Query #2157 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b800b8b9-e71f-478b-1fdf-b2d75440f707'::uuid]);

-- Query #2158 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b800b8b9-e71f-478b-1fdf-b2d75440f707'::uuid;

-- Query #2159 | logged_duration_ms=8 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b800b8b9-e71f-478b-1fdf-b2d75440f707'::uuid, 'Imdb', 'tt13987928')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b800b8b9-e71f-478b-1fdf-b2d75440f707'::uuid, 'TvMaze', 2014821)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2161 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['88d4a1d6-ae8f-1b50-5514-3790cb235d91'::uuid]);

-- Query #2162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b800b8b9-e71f-478b-1fdf-b2d75440f707'::uuid, 'Tvdb', 8148335)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2163 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '88d4a1d6-ae8f-1b50-5514-3790cb235d91'::uuid;

-- Query #2164 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b800b8b9-e71f-478b-1fdf-b2d75440f707'::uuid;

-- Query #2165 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2166 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b800b8b9-e71f-478b-1fdf-b2d75440f707'::uuid;

-- Query #2167 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b800b8b9-e71f-478b-1fdf-b2d75440f707'::uuid]);

-- Query #2168 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b800b8b9-e71f-478b-1fdf-b2d75440f707'::uuid;

-- Query #2169 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2170 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc56a528-7777-a57e-a2fd-53825e642225'::uuid;

-- Query #2171 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e9e486e-daa5-9089-ae0d-9fc724f792a0'::uuid;

-- Query #2172 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fc56a528-7777-a57e-a2fd-53825e642225'::uuid]);

-- Query #2173 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fc56a528-7777-a57e-a2fd-53825e642225'::uuid;

-- Query #2174 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc56a528-7777-a57e-a2fd-53825e642225'::uuid, 'Imdb', 'tt14311332')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc56a528-7777-a57e-a2fd-53825e642225'::uuid, 'TvMaze', 2052139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc56a528-7777-a57e-a2fd-53825e642225'::uuid, 'Tvdb', 8268848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2177 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc56a528-7777-a57e-a2fd-53825e642225'::uuid;

-- Query #2178 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fc56a528-7777-a57e-a2fd-53825e642225'::uuid;

-- Query #2179 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4e9e486e-daa5-9089-ae0d-9fc724f792a0'::uuid]);

-- Query #2180 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4e9e486e-daa5-9089-ae0d-9fc724f792a0'::uuid;

-- Query #2181 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fc56a528-7777-a57e-a2fd-53825e642225'::uuid]);

-- Query #2182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e9e486e-daa5-9089-ae0d-9fc724f792a0'::uuid, 'Imdb', 'tt12272192')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2183 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e9e486e-daa5-9089-ae0d-9fc724f792a0'::uuid, 'TvMaze', 1967687)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2184 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fc56a528-7777-a57e-a2fd-53825e642225'::uuid;

-- Query #2185 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e9e486e-daa5-9089-ae0d-9fc724f792a0'::uuid, 'Tvdb', 8038361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2186 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2187 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e9e486e-daa5-9089-ae0d-9fc724f792a0'::uuid;

-- Query #2188 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4e9e486e-daa5-9089-ae0d-9fc724f792a0'::uuid;

-- Query #2189 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4e9e486e-daa5-9089-ae0d-9fc724f792a0'::uuid]);

-- Query #2190 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4e9e486e-daa5-9089-ae0d-9fc724f792a0'::uuid;

-- Query #2191 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2192 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b7dac812-a21b-99c2-583c-95db134e6fb5'::uuid;

-- Query #2193 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7dac812-a21b-99c2-583c-95db134e6fb5'::uuid]);

-- Query #2194 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b7dac812-a21b-99c2-583c-95db134e6fb5'::uuid;

-- Query #2195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7dac812-a21b-99c2-583c-95db134e6fb5'::uuid, 'Imdb', 'tt14311348')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7dac812-a21b-99c2-583c-95db134e6fb5'::uuid, 'TvMaze', 2052145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7dac812-a21b-99c2-583c-95db134e6fb5'::uuid, 'Tvdb', 8268854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2198 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fa125625-3c82-950b-31e9-1761b389b5b9'::uuid;

-- Query #2199 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b7dac812-a21b-99c2-583c-95db134e6fb5'::uuid;

-- Query #2200 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b7dac812-a21b-99c2-583c-95db134e6fb5'::uuid;

-- Query #2201 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa125625-3c82-950b-31e9-1761b389b5b9'::uuid]);

-- Query #2202 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fa125625-3c82-950b-31e9-1761b389b5b9'::uuid;

-- Query #2203 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa125625-3c82-950b-31e9-1761b389b5b9'::uuid, 'Imdb', 'tt14169130')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2204 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa125625-3c82-950b-31e9-1761b389b5b9'::uuid, 'Tmdb', 2785352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa125625-3c82-950b-31e9-1761b389b5b9'::uuid, 'trakt', 4826489)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa125625-3c82-950b-31e9-1761b389b5b9'::uuid, 'TvMaze', 2041679)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa125625-3c82-950b-31e9-1761b389b5b9'::uuid, 'Tvdb', 8210636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa125625-3c82-950b-31e9-1761b389b5b9'::uuid, 'TmdbCollection', 2785352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2209 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b7dac812-a21b-99c2-583c-95db134e6fb5'::uuid]);

-- Query #2210 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fa125625-3c82-950b-31e9-1761b389b5b9'::uuid;

-- Query #2211 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fa125625-3c82-950b-31e9-1761b389b5b9'::uuid;

-- Query #2212 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b7dac812-a21b-99c2-583c-95db134e6fb5'::uuid;

-- Query #2213 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2214 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fa125625-3c82-950b-31e9-1761b389b5b9'::uuid]);

-- Query #2215 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fa125625-3c82-950b-31e9-1761b389b5b9'::uuid;

-- Query #2216 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2217 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d2b9fa5-d1d6-955e-f117-5e7d5494442e'::uuid;

-- Query #2218 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '094bf793-a107-f262-57c4-6352742e2d96'::uuid;

-- Query #2219 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d2b9fa5-d1d6-955e-f117-5e7d5494442e'::uuid]);

-- Query #2220 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1d2b9fa5-d1d6-955e-f117-5e7d5494442e'::uuid;

-- Query #2221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d2b9fa5-d1d6-955e-f117-5e7d5494442e'::uuid, 'Imdb', 'tt14311344')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d2b9fa5-d1d6-955e-f117-5e7d5494442e'::uuid, 'TvMaze', 2052144)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d2b9fa5-d1d6-955e-f117-5e7d5494442e'::uuid, 'Tvdb', 8268853)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2224 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d2b9fa5-d1d6-955e-f117-5e7d5494442e'::uuid;

-- Query #2225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1d2b9fa5-d1d6-955e-f117-5e7d5494442e'::uuid;

-- Query #2226 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['094bf793-a107-f262-57c4-6352742e2d96'::uuid]);

-- Query #2227 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '094bf793-a107-f262-57c4-6352742e2d96'::uuid;

-- Query #2228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('094bf793-a107-f262-57c4-6352742e2d96'::uuid, 'Imdb', 'tt13886258')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('094bf793-a107-f262-57c4-6352742e2d96'::uuid, 'TvMaze', 2013022)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2230 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('094bf793-a107-f262-57c4-6352742e2d96'::uuid, 'Tvdb', 8147351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2231 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1d2b9fa5-d1d6-955e-f117-5e7d5494442e'::uuid]);

-- Query #2232 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '094bf793-a107-f262-57c4-6352742e2d96'::uuid;

-- Query #2233 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '094bf793-a107-f262-57c4-6352742e2d96'::uuid;

-- Query #2234 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1d2b9fa5-d1d6-955e-f117-5e7d5494442e'::uuid;

-- Query #2235 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2236 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['094bf793-a107-f262-57c4-6352742e2d96'::uuid]);

-- Query #2237 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '094bf793-a107-f262-57c4-6352742e2d96'::uuid;

-- Query #2238 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'deaee95f-c093-7c3f-e336-7bf0e8bb5721'::uuid;

-- Query #2240 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['deaee95f-c093-7c3f-e336-7bf0e8bb5721'::uuid]);

-- Query #2241 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '332dfe33-a0c5-b27c-317d-d1da99275c97'::uuid;

-- Query #2242 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'deaee95f-c093-7c3f-e336-7bf0e8bb5721'::uuid;

-- Query #2243 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('deaee95f-c093-7c3f-e336-7bf0e8bb5721'::uuid, 'Imdb', 'tt13510776')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2244 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('deaee95f-c093-7c3f-e336-7bf0e8bb5721'::uuid, 'Tmdb', 2534628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2245 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('deaee95f-c093-7c3f-e336-7bf0e8bb5721'::uuid, 'trakt', 4584477)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('deaee95f-c093-7c3f-e336-7bf0e8bb5721'::uuid, 'TvMaze', 1968467)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('deaee95f-c093-7c3f-e336-7bf0e8bb5721'::uuid, 'Tvdb', 8038468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('deaee95f-c093-7c3f-e336-7bf0e8bb5721'::uuid, 'TmdbCollection', 2534628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2249 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'deaee95f-c093-7c3f-e336-7bf0e8bb5721'::uuid;

-- Query #2250 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'deaee95f-c093-7c3f-e336-7bf0e8bb5721'::uuid;

-- Query #2251 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['332dfe33-a0c5-b27c-317d-d1da99275c97'::uuid]);

-- Query #2252 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '332dfe33-a0c5-b27c-317d-d1da99275c97'::uuid;

-- Query #2253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('332dfe33-a0c5-b27c-317d-d1da99275c97'::uuid, 'Imdb', 'tt13274292')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('332dfe33-a0c5-b27c-317d-d1da99275c97'::uuid, 'TvMaze', 2052143)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2255 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['deaee95f-c093-7c3f-e336-7bf0e8bb5721'::uuid]);

-- Query #2256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('332dfe33-a0c5-b27c-317d-d1da99275c97'::uuid, 'Tvdb', 8268852)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2257 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '332dfe33-a0c5-b27c-317d-d1da99275c97'::uuid;

-- Query #2258 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'deaee95f-c093-7c3f-e336-7bf0e8bb5721'::uuid;

-- Query #2259 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '332dfe33-a0c5-b27c-317d-d1da99275c97'::uuid;

-- Query #2260 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77905917-3038-a25e-6121-33b4c00bfc7f'::uuid, '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2261 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['332dfe33-a0c5-b27c-317d-d1da99275c97'::uuid]);

-- Query #2262 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '332dfe33-a0c5-b27c-317d-d1da99275c97'::uuid;

-- Query #2263 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2264 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '10ade4b2-eef5-828e-9827-bbf7bd2f2902'::uuid
ORDER BY b."SortName";

-- Query #2265 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid])
ORDER BY b."Id";

-- Query #2266 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid])
ORDER BY b."Id";

-- Query #2267 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid])
ORDER BY b."Id";

-- Query #2268 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid])
ORDER BY b."Id";

-- Query #2269 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid, '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid, '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid, '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid, '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid])
ORDER BY b."Id";

-- Query #2270 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '828cf30a-9909-8fef-a5a5-01d26ff0bc9e'::uuid
ORDER BY b."SortName";

-- Query #2271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '44f61662-98e7-403a-0dab-43f77ea20c84'::uuid
ORDER BY b."SortName";

-- Query #2272 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1eddeb21-a18b-681d-b4ef-ed5b1f48ea70'::uuid
ORDER BY b."SortName";

-- Query #2273 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e944993-c101-8101-ced9-1cc5c181530a'::uuid;

-- Query #2274 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2781a49f-6cf8-1e36-643b-31c72ec75b34'::uuid
ORDER BY b."SortName";

-- Query #2275 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e944993-c101-8101-ced9-1cc5c181530a'::uuid]);

-- Query #2276 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9e944993-c101-8101-ced9-1cc5c181530a'::uuid;

-- Query #2277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e944993-c101-8101-ced9-1cc5c181530a'::uuid, 'Imdb', 'tt14679858')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e944993-c101-8101-ced9-1cc5c181530a'::uuid, 'TvMaze', 2094873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e944993-c101-8101-ced9-1cc5c181530a'::uuid, 'Tvdb', 8393756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2280 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e944993-c101-8101-ced9-1cc5c181530a'::uuid;

-- Query #2281 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9e944993-c101-8101-ced9-1cc5c181530a'::uuid;

-- Query #2282 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '77905917-3038-a25e-6121-33b4c00bfc7f'::uuid
ORDER BY b."SortName";

-- Query #2283 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9e944993-c101-8101-ced9-1cc5c181530a'::uuid]);

-- Query #2284 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9e944993-c101-8101-ced9-1cc5c181530a'::uuid;

-- Query #2285 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2286 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '10ade4b2eef5828e9827bbf7bd2f2902'
ORDER BY b."SortName", b."Name";

-- Query #2287 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89dce574-d3ae-9a23-3457-0220b1581670'::uuid;

-- Query #2288 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['89dce574-d3ae-9a23-3457-0220b1581670'::uuid]);

-- Query #2289 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '89dce574-d3ae-9a23-3457-0220b1581670'::uuid;

-- Query #2290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89dce574-d3ae-9a23-3457-0220b1581670'::uuid, 'Imdb', 'tt14679904')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89dce574-d3ae-9a23-3457-0220b1581670'::uuid, 'TvMaze', 2094874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89dce574-d3ae-9a23-3457-0220b1581670'::uuid, 'Tvdb', 8393757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2293 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89dce574-d3ae-9a23-3457-0220b1581670'::uuid;

-- Query #2294 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '89dce574-d3ae-9a23-3457-0220b1581670'::uuid;

-- Query #2295 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid
ORDER BY b."SortName";

-- Query #2296 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['89dce574-d3ae-9a23-3457-0220b1581670'::uuid]);

-- Query #2297 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '89dce574-d3ae-9a23-3457-0220b1581670'::uuid;

-- Query #2298 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2299 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid
ORDER BY b."SortName";

-- Query #2300 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '48e65363-25ed-708c-d99a-7ba701bd5954'::uuid
ORDER BY b."SortName";

-- Query #2301 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid
ORDER BY b."SortName";

-- Query #2302 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '03b35379-0380-1d23-8c86-8adfb287fb00'::uuid
ORDER BY b."SortName";

-- Query #2303 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1610702-50ce-df13-04c5-1d5137bff9e7'::uuid;

-- Query #2304 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid
ORDER BY b."SortName";

-- Query #2305 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e1610702-50ce-df13-04c5-1d5137bff9e7'::uuid]);

-- Query #2306 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e1610702-50ce-df13-04c5-1d5137bff9e7'::uuid;

-- Query #2307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1610702-50ce-df13-04c5-1d5137bff9e7'::uuid, 'Imdb', 'tt14679948')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1610702-50ce-df13-04c5-1d5137bff9e7'::uuid, 'TvMaze', 2094879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1610702-50ce-df13-04c5-1d5137bff9e7'::uuid, 'Tvdb', 8393762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2310 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1610702-50ce-df13-04c5-1d5137bff9e7'::uuid;

-- Query #2311 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e1610702-50ce-df13-04c5-1d5137bff9e7'::uuid;

-- Query #2312 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid
ORDER BY b."SortName";

-- Query #2313 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e1610702-50ce-df13-04c5-1d5137bff9e7'::uuid]);

-- Query #2314 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e1610702-50ce-df13-04c5-1d5137bff9e7'::uuid;

-- Query #2315 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2316 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c03be72-dd40-b85b-f463-4eb68e57a8c6'::uuid;

-- Query #2317 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c03be72-dd40-b85b-f463-4eb68e57a8c6'::uuid]);

-- Query #2318 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2c03be72-dd40-b85b-f463-4eb68e57a8c6'::uuid;

-- Query #2319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c03be72-dd40-b85b-f463-4eb68e57a8c6'::uuid, 'Imdb', 'tt14679926')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c03be72-dd40-b85b-f463-4eb68e57a8c6'::uuid, 'TvMaze', 2094875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c03be72-dd40-b85b-f463-4eb68e57a8c6'::uuid, 'Tvdb', 8393758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2322 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c03be72-dd40-b85b-f463-4eb68e57a8c6'::uuid;

-- Query #2323 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2c03be72-dd40-b85b-f463-4eb68e57a8c6'::uuid;

-- Query #2324 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2c03be72-dd40-b85b-f463-4eb68e57a8c6'::uuid]);

-- Query #2325 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2c03be72-dd40-b85b-f463-4eb68e57a8c6'::uuid;

-- Query #2326 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2327 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9294c488-acc2-43db-4a0b-f94abcaefeca'::uuid;

-- Query #2328 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9294c488-acc2-43db-4a0b-f94abcaefeca'::uuid]);

-- Query #2329 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9294c488-acc2-43db-4a0b-f94abcaefeca'::uuid;

-- Query #2330 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9294c488-acc2-43db-4a0b-f94abcaefeca'::uuid, 'Imdb', 'tt14357500')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9294c488-acc2-43db-4a0b-f94abcaefeca'::uuid, 'TvMaze', 2055727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9294c488-acc2-43db-4a0b-f94abcaefeca'::uuid, 'Tvdb', 8316161)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2333 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9294c488-acc2-43db-4a0b-f94abcaefeca'::uuid;

-- Query #2334 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9294c488-acc2-43db-4a0b-f94abcaefeca'::uuid;

-- Query #2335 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9294c488-acc2-43db-4a0b-f94abcaefeca'::uuid]);

-- Query #2336 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9294c488-acc2-43db-4a0b-f94abcaefeca'::uuid;

-- Query #2337 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2338 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0fe4fe05-eb74-adeb-1199-780c7a7ec5f5'::uuid;

-- Query #2339 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0fe4fe05-eb74-adeb-1199-780c7a7ec5f5'::uuid]);

-- Query #2340 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0fe4fe05-eb74-adeb-1199-780c7a7ec5f5'::uuid;

-- Query #2341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fe4fe05-eb74-adeb-1199-780c7a7ec5f5'::uuid, 'Imdb', 'tt14679946')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fe4fe05-eb74-adeb-1199-780c7a7ec5f5'::uuid, 'TvMaze', 2094878)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fe4fe05-eb74-adeb-1199-780c7a7ec5f5'::uuid, 'Tvdb', 8393761)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2344 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0fe4fe05-eb74-adeb-1199-780c7a7ec5f5'::uuid;

-- Query #2345 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0fe4fe05-eb74-adeb-1199-780c7a7ec5f5'::uuid;

-- Query #2346 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid;

-- Query #2347 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0fe4fe05-eb74-adeb-1199-780c7a7ec5f5'::uuid]);

-- Query #2348 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0fe4fe05-eb74-adeb-1199-780c7a7ec5f5'::uuid;

-- Query #2349 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2350 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid]);

-- Query #2351 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid;

-- Query #2352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, 'Imdb', 'tt3501074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, 'official website', 'https://www.cbs.com/shows/madam-secretary/')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, 'Tmdb', 61378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, 'TmdbCollection', 61378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, 'Tvdb', 281623)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, 'TvMaze', 48)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, 'TvRage', 37247)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, 'wikidata', 'Q16875508')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2360 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, 'Zap2It', 'EP01922294')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2361 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid;

-- Query #2362 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid;

-- Query #2363 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid]);

-- Query #2364 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid;

-- Query #2365 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2366 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'c191d97c1bf4f1527651cb973e41b91a'
ORDER BY b."SortName", b."Name";

-- Query #2367 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ada86fb-80d1-b88a-2847-0c56716359c4'::uuid;

-- Query #2368 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ada86fb-80d1-b88a-2847-0c56716359c4'::uuid]);

-- Query #2369 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8ada86fb-80d1-b88a-2847-0c56716359c4'::uuid;

-- Query #2370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ada86fb-80d1-b88a-2847-0c56716359c4'::uuid, 'Imdb', 'tt20316922')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ada86fb-80d1-b88a-2847-0c56716359c4'::uuid, 'TvMaze', 2290381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ada86fb-80d1-b88a-2847-0c56716359c4'::uuid, 'Tvdb', 8998733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2373 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ada86fb-80d1-b88a-2847-0c56716359c4'::uuid;

-- Query #2374 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8ada86fb-80d1-b88a-2847-0c56716359c4'::uuid;

-- Query #2375 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8ada86fb-80d1-b88a-2847-0c56716359c4'::uuid]);

-- Query #2376 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8ada86fb-80d1-b88a-2847-0c56716359c4'::uuid;

-- Query #2377 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['887e4055-62dc-6835-1342-8685399be679'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2378 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid
ORDER BY b."SortName";

-- Query #2379 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid
ORDER BY b."SortName";

-- Query #2380 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff45e9ef-2e27-5bf6-4cf0-9cc182599115'::uuid;

-- Query #2381 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '48e65363-25ed-708c-d99a-7ba701bd5954'::uuid
ORDER BY b."SortName";

-- Query #2382 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff45e9ef-2e27-5bf6-4cf0-9cc182599115'::uuid]);

-- Query #2383 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ff45e9ef-2e27-5bf6-4cf0-9cc182599115'::uuid;

-- Query #2384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff45e9ef-2e27-5bf6-4cf0-9cc182599115'::uuid, 'Imdb', 'tt20316912')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff45e9ef-2e27-5bf6-4cf0-9cc182599115'::uuid, 'TvMaze', 2290383)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff45e9ef-2e27-5bf6-4cf0-9cc182599115'::uuid, 'Tvdb', 8998736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2387 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff45e9ef-2e27-5bf6-4cf0-9cc182599115'::uuid;

-- Query #2388 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ff45e9ef-2e27-5bf6-4cf0-9cc182599115'::uuid;

-- Query #2389 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid
ORDER BY b."SortName";

-- Query #2390 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ff45e9ef-2e27-5bf6-4cf0-9cc182599115'::uuid]);

-- Query #2391 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ff45e9ef-2e27-5bf6-4cf0-9cc182599115'::uuid;

-- Query #2392 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['887e4055-62dc-6835-1342-8685399be679'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2393 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '03b35379-0380-1d23-8c86-8adfb287fb00'::uuid
ORDER BY b."SortName";

-- Query #2394 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid
ORDER BY b."SortName";

-- Query #2395 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid
ORDER BY b."SortName";

-- Query #2396 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #2397 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce4c25d6-e311-e119-9c1a-f89f19b93998'::uuid;

-- Query #2398 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'c191d97c1bf4f1527651cb973e41b91a'
ORDER BY b."SortName", b."Name";

-- Query #2399 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce4c25d6-e311-e119-9c1a-f89f19b93998'::uuid]);

-- Query #2400 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ce4c25d6-e311-e119-9c1a-f89f19b93998'::uuid;

-- Query #2401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce4c25d6-e311-e119-9c1a-f89f19b93998'::uuid, 'Imdb', 'tt20317812')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce4c25d6-e311-e119-9c1a-f89f19b93998'::uuid, 'TvMaze', 2290380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce4c25d6-e311-e119-9c1a-f89f19b93998'::uuid, 'Tvdb', 8998732)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2404 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce4c25d6-e311-e119-9c1a-f89f19b93998'::uuid;

-- Query #2405 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ce4c25d6-e311-e119-9c1a-f89f19b93998'::uuid;

-- Query #2406 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ce4c25d6-e311-e119-9c1a-f89f19b93998'::uuid]);

-- Query #2407 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ce4c25d6-e311-e119-9c1a-f89f19b93998'::uuid;

-- Query #2408 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['887e4055-62dc-6835-1342-8685399be679'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2409 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '565c45b8-1830-ce3f-4b17-3f1d6cd88d5a'::uuid;

-- Query #2410 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['565c45b8-1830-ce3f-4b17-3f1d6cd88d5a'::uuid]);

-- Query #2411 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '565c45b8-1830-ce3f-4b17-3f1d6cd88d5a'::uuid;

-- Query #2412 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('565c45b8-1830-ce3f-4b17-3f1d6cd88d5a'::uuid, 'Imdb', 'tt15392086')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('565c45b8-1830-ce3f-4b17-3f1d6cd88d5a'::uuid, 'TvMaze', 2288911)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('565c45b8-1830-ce3f-4b17-3f1d6cd88d5a'::uuid, 'Tvdb', 8998731)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2415 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '565c45b8-1830-ce3f-4b17-3f1d6cd88d5a'::uuid;

-- Query #2416 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '565c45b8-1830-ce3f-4b17-3f1d6cd88d5a'::uuid;

-- Query #2417 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['565c45b8-1830-ce3f-4b17-3f1d6cd88d5a'::uuid]);

-- Query #2418 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '565c45b8-1830-ce3f-4b17-3f1d6cd88d5a'::uuid;

-- Query #2419 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid;

-- Query #2420 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['887e4055-62dc-6835-1342-8685399be679'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2421 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid]);

-- Query #2422 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid;

-- Query #2423 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'wikidata', 'Q16875508')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'Tvdb', 281623)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'Tmdb', 61378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'Imdb', 'tt3501074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'TvMaze', 48)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'TvRage', 37247)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'Zap2It', 'EP01922294')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'TmdbCollection', 61378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2431 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid;

-- Query #2432 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a3b8725d-b860-2d32-b7a4-cb78211e3d4f'::uuid;

-- Query #2433 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid;

-- Query #2434 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a3b8725d-b860-2d32-b7a4-cb78211e3d4f'::uuid]);

-- Query #2435 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a3b8725d-b860-2d32-b7a4-cb78211e3d4f'::uuid;

-- Query #2436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a3b8725d-b860-2d32-b7a4-cb78211e3d4f'::uuid, 'Imdb', 'tt20316910')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2437 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid]);

-- Query #2438 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a3b8725d-b860-2d32-b7a4-cb78211e3d4f'::uuid, 'TvMaze', 2290382)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2439 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a3b8725d-b860-2d32-b7a4-cb78211e3d4f'::uuid, 'Tvdb', 8998734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2440 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a3b8725d-b860-2d32-b7a4-cb78211e3d4f'::uuid;

-- Query #2441 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid;

-- Query #2442 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a3b8725d-b860-2d32-b7a4-cb78211e3d4f'::uuid;

-- Query #2443 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2444 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a3b8725d-b860-2d32-b7a4-cb78211e3d4f'::uuid]);

-- Query #2445 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a3b8725d-b860-2d32-b7a4-cb78211e3d4f'::uuid;

-- Query #2446 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'c191d97c1bf4f1527651cb973e41b91a'
ORDER BY b."SortName", b."Name";

-- Query #2447 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['887e4055-62dc-6835-1342-8685399be679'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2448 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid;

-- Query #2449 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid]);

-- Query #2450 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid;

-- Query #2451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid, 'Imdb', 'tt20318294')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2452 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid, 'TvMaze', 2290385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2453 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid, 'Tvdb', 8998738)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2454 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid;

-- Query #2455 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid;

-- Query #2456 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid]);

-- Query #2457 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid;

-- Query #2458 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['887e4055-62dc-6835-1342-8685399be679'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2459 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4e8c658-ba86-0dfa-1d5b-61baae2d173d'::uuid;

-- Query #2460 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c4e8c658-ba86-0dfa-1d5b-61baae2d173d'::uuid]);

-- Query #2461 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c4e8c658-ba86-0dfa-1d5b-61baae2d173d'::uuid;

-- Query #2462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4e8c658-ba86-0dfa-1d5b-61baae2d173d'::uuid, 'Imdb', 'tt20316764')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2463 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48e65363-25ed-708c-d99a-7ba701bd5954'::uuid;

-- Query #2464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4e8c658-ba86-0dfa-1d5b-61baae2d173d'::uuid, 'TvMaze', 2290384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4e8c658-ba86-0dfa-1d5b-61baae2d173d'::uuid, 'Tvdb', 8998737)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2466 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4e8c658-ba86-0dfa-1d5b-61baae2d173d'::uuid;

-- Query #2467 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c4e8c658-ba86-0dfa-1d5b-61baae2d173d'::uuid;

-- Query #2468 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid]);

-- Query #2469 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '48e65363-25ed-708c-d99a-7ba701bd5954'::uuid;

-- Query #2470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'Tvdb', 281623)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'Tmdb', 61378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'Imdb', 'tt3501074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2473 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'TvMaze', 48)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'TvRage', 37247)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'Zap2It', 'EP01922294')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'wikidata', 'Q16875508')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2477 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c4e8c658-ba86-0dfa-1d5b-61baae2d173d'::uuid]);

-- Query #2478 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'TmdbCollection', 61378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2479 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48e65363-25ed-708c-d99a-7ba701bd5954'::uuid;

-- Query #2480 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c4e8c658-ba86-0dfa-1d5b-61baae2d173d'::uuid;

-- Query #2481 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '48e65363-25ed-708c-d99a-7ba701bd5954'::uuid;

-- Query #2482 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['887e4055-62dc-6835-1342-8685399be679'::uuid, '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2483 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid]);

-- Query #2484 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '48e65363-25ed-708c-d99a-7ba701bd5954'::uuid;

-- Query #2485 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2486 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95505be1-c505-fc63-4621-fe9abcef92fa'::uuid
ORDER BY b."SortName";

-- Query #2487 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '887e4055-62dc-6835-1342-8685399be679'::uuid])
ORDER BY b."Id";

-- Query #2488 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '887e4055-62dc-6835-1342-8685399be679'::uuid])
ORDER BY b."Id";

-- Query #2489 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '887e4055-62dc-6835-1342-8685399be679'::uuid])
ORDER BY b."Id";

-- Query #2490 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '887e4055-62dc-6835-1342-8685399be679'::uuid])
ORDER BY b."Id";

-- Query #2491 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid, '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid, '887e4055-62dc-6835-1342-8685399be679'::uuid])
ORDER BY b."Id";

-- Query #2492 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ac76ae6e-f39d-e507-d53f-01594d4be408'::uuid
ORDER BY b."SortName";

-- Query #2493 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'c191d97c1bf4f1527651cb973e41b91a'
ORDER BY b."SortName", b."Name";

-- Query #2494 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '442dea14-e86d-67c0-59c1-080a3ae28879'::uuid
ORDER BY b."SortName";

-- Query #2495 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '887e4055-62dc-6835-1342-8685399be679'::uuid
ORDER BY b."SortName";

-- Query #2496 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '95505be1c505fc634621fe9abcef92fa'
ORDER BY b."SortName", b."Name";

-- Query #2497 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid
ORDER BY b."SortName";

-- Query #2498 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid])
ORDER BY b."Id";

-- Query #2499 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid])
ORDER BY b."Id";

-- Query #2500 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid])
ORDER BY b."Id";

-- Query #2501 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid])
ORDER BY b."Id";

-- Query #2502 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid])
ORDER BY b."Id";

-- Query #2503 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid
ORDER BY b."SortName";

-- Query #2504 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2505 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2506 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2507 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2508 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2509 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid;

-- Query #2510 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid]);

-- Query #2511 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid;

-- Query #2512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'Tvdb', 281623)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'Tmdb', 61378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'Imdb', 'tt3501074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'TvMaze', 48)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'TvRage', 37247)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'Zap2It', 'EP01922294')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'wikidata', 'Q16875508')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'TmdbCollection', 61378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2520 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid;

-- Query #2521 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid;

-- Query #2522 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid]);

-- Query #2523 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid;

-- Query #2524 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2525 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'c191d97c1bf4f1527651cb973e41b91a'
ORDER BY b."SortName", b."Name";

-- Query #2526 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid;

-- Query #2527 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid]);

-- Query #2528 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid;

-- Query #2529 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid, 'Imdb', 'tt32250453')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2530 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid, 'official website', 'https://www.vicetv.com/en_us/show/who-killed-wcw')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid, 'Tmdb', 253268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid, 'TmdbCollection', 253268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid, 'Tvdb', 449641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2534 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '03b35379-0380-1d23-8c86-8adfb287fb00'::uuid;

-- Query #2535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid, 'TvMaze', 76519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2536 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid;

-- Query #2537 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid;

-- Query #2538 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Documentary', '2+Mini-Series', '3+Vice TV', '3+VICE TV (US)']);

-- Query #2539 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid]);

-- Query #2540 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid]);

-- Query #2541 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '03b35379-0380-1d23-8c86-8adfb287fb00'::uuid;

-- Query #2542 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'Tvdb', 281623)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2543 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid;

-- Query #2544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'Tmdb', 61378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2545 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'Imdb', 'tt3501074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'TvMaze', 48)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'TvRage', 37247)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'Zap2It', 'EP01922294')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'wikidata', 'Q16875508')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'TmdbCollection', 61378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2552 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '03b35379-0380-1d23-8c86-8adfb287fb00'::uuid;

-- Query #2553 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '03b35379-0380-1d23-8c86-8adfb287fb00'::uuid;

-- Query #2554 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid]);

-- Query #2555 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '1c2ec2331502091436b47dfb196bfcaf'
ORDER BY b."SortName", b."Name";

-- Query #2556 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2557 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '03b35379-0380-1d23-8c86-8adfb287fb00'::uuid;

-- Query #2558 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2559 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2560 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2561 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2562 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2563 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid
ORDER BY b."SortName";

-- Query #2564 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid])
ORDER BY b."Id";

-- Query #2565 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid])
ORDER BY b."Id";

-- Query #2566 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid])
ORDER BY b."Id";

-- Query #2567 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'c191d97c1bf4f1527651cb973e41b91a'
ORDER BY b."SortName", b."Name";

-- Query #2568 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid])
ORDER BY b."Id";

-- Query #2569 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid])
ORDER BY b."Id";

-- Query #2570 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid
ORDER BY b."SortName";

-- Query #2571 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2572 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2573 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2574 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2575 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2576 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '1c2ec2331502091436b47dfb196bfcaf'
ORDER BY b."SortName", b."Name";

-- Query #2577 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2578 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2579 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2580 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2581 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2582 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid;

-- Query #2583 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid]);

-- Query #2584 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid;

-- Query #2585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, 'Tvdb', 449641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, 'Tmdb', 253268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2587 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, 'Imdb', 'tt32250453')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, 'TvMaze', 76519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, 'official website', 'https://www.vicetv.com/en_us/show/who-killed-wcw')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, 'TmdbCollection', 253268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid;

-- Query #2592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid;

-- Query #2593 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #2594 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid]);

-- Query #2595 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid;

-- Query #2596 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2597 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4687074f-40c4-3054-12b5-1c2c935642a3'::uuid;

-- Query #2598 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid]);

-- Query #2599 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4687074f-40c4-3054-12b5-1c2c935642a3'::uuid;

-- Query #2600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'Imdb', 'tt32600539')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'Tmdb', 5316070)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'trakt', 11814071)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2603 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'TvMaze', 2902789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'Tvdb', 10476785)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2605 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'TmdbCollection', 5316070)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2606 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4687074f-40c4-3054-12b5-1c2c935642a3'::uuid;

-- Query #2607 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4687074f-40c4-3054-12b5-1c2c935642a3'::uuid;

-- Query #2608 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Documentary', '3+Vice TV']);

-- Query #2609 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid;

-- Query #2610 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid]);

-- Query #2611 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4687074f-40c4-3054-12b5-1c2c935642a3'::uuid;

-- Query #2612 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, '1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2613 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid]);

-- Query #2614 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid;

-- Query #2615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'Tvdb', 281623)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'Tmdb', 61378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'Imdb', 'tt3501074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'TvMaze', 48)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'TvRage', 37247)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2620 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'Zap2It', 'EP01922294')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2621 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'wikidata', 'Q16875508')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'TmdbCollection', 61378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2623 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid;

-- Query #2624 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid;

-- Query #2625 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid]);

-- Query #2626 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid;

-- Query #2627 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2628 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid;

-- Query #2629 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'c191d97c1bf4f1527651cb973e41b91a'
ORDER BY b."SortName", b."Name";

-- Query #2630 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid]);

-- Query #2631 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid;

-- Query #2632 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'Imdb', 'tt32514348')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2633 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'Tmdb', 5316069)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'trakt', 11814070)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2635 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'TvMaze', 2896631)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2636 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'Tvdb', 10476784)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'TmdbCollection', 5316069)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2638 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid;

-- Query #2639 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid;

-- Query #2640 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Documentary', '3+Vice TV']);

-- Query #2641 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid]);

-- Query #2642 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid;

-- Query #2643 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, '1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2644 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1152d31e-9dde-1f95-d146-0107641146ff'::uuid;

-- Query #2645 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1152d31e-9dde-1f95-d146-0107641146ff'::uuid]);

-- Query #2646 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1152d31e-9dde-1f95-d146-0107641146ff'::uuid;

-- Query #2647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1152d31e-9dde-1f95-d146-0107641146ff'::uuid, 'Imdb', 'tt32514346')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2648 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1152d31e-9dde-1f95-d146-0107641146ff'::uuid, 'Tmdb', 5316068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2649 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1152d31e-9dde-1f95-d146-0107641146ff'::uuid, 'TvMaze', 2896630)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2650 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1152d31e-9dde-1f95-d146-0107641146ff'::uuid, 'Tvdb', 10476783)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1152d31e-9dde-1f95-d146-0107641146ff'::uuid, 'trakt', 11814069)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2652 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1152d31e-9dde-1f95-d146-0107641146ff'::uuid, 'official website', 'https://www.vicetv.com/en_us/show/who-killed-wcw')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1152d31e-9dde-1f95-d146-0107641146ff'::uuid, 'TmdbCollection', 5316068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2654 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1152d31e-9dde-1f95-d146-0107641146ff'::uuid;

-- Query #2655 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1152d31e-9dde-1f95-d146-0107641146ff'::uuid;

-- Query #2656 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Documentary', '3+Vice TV']);

-- Query #2657 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1152d31e-9dde-1f95-d146-0107641146ff'::uuid]);

-- Query #2658 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1152d31e-9dde-1f95-d146-0107641146ff'::uuid;

-- Query #2659 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, '1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid;

-- Query #2661 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid;

-- Query #2662 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid]);

-- Query #2663 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid;

-- Query #2664 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid, 'Imdb', 'tt32511642')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2665 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid, 'Tmdb', 5316066)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2666 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid, 'trakt', 11814068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2667 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid]);

-- Query #2668 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid, 'TvMaze', 2845664)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid, 'Tvdb', 10476780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2670 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid;

-- Query #2671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid, 'TmdbCollection', 5316066)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'Tvdb', 281623)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2673 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid;

-- Query #2674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'Tmdb', 61378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2675 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid;

-- Query #2676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'Imdb', 'tt3501074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'TvMaze', 48)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2678 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'TvRage', 37247)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2679 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'Zap2It', 'EP01922294')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2680 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'wikidata', 'Q16875508')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2681 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'TmdbCollection', 61378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2682 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid;

-- Query #2683 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid;

-- Query #2684 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Documentary', '3+Vice TV']);

-- Query #2685 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid]);

-- Query #2686 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid;

-- Query #2687 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, '1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2688 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid]);

-- Query #2689 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid;

-- Query #2690 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2691 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1c2ec233-1502-0914-36b4-7dfb196bfcaf'::uuid
ORDER BY b."SortName";

-- Query #2692 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid])
ORDER BY b."Id";

-- Query #2693 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid])
ORDER BY b."Id";

-- Query #2694 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid])
ORDER BY b."Id";

-- Query #2695 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid])
ORDER BY b."Id";

-- Query #2696 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid])
ORDER BY b."Id";

-- Query #2697 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid
ORDER BY b."SortName";

-- Query #2698 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2699 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2700 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2701 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2702 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2703 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '1c2ec2331502091436b47dfb196bfcaf'
ORDER BY b."SortName", b."Name";

-- Query #2704 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2705 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2706 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2707 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2708 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid, 'a2c19c9d-114a-2f6b-3016-efe6a18d64c3'::uuid, 'f6b096b9-7aab-734c-25c2-7da33dfdc786'::uuid, '1152d31e-9dde-1f95-d146-0107641146ff'::uuid, '03e28d0c-d9e8-3cc2-24b5-f8ff126ef2bd'::uuid])
ORDER BY b."Id";

-- Query #2709 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '406a406e-4907-bdfa-99b7-2991a117d40d'::uuid
ORDER BY b."SortName";

-- Query #2710 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid])
ORDER BY b."Id";

-- Query #2711 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid])
ORDER BY b."Id";

-- Query #2712 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid])
ORDER BY b."Id";

-- Query #2713 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid])
ORDER BY b."Id";

-- Query #2714 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid])
ORDER BY b."Id";

-- Query #2715 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid
ORDER BY b."SortName";

-- Query #2716 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cee0c13e-c677-497b-4e47-a30291c979a9'::uuid;

-- Query #2717 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cee0c13e-c677-497b-4e47-a30291c979a9'::uuid]);

-- Query #2718 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cee0c13e-c677-497b-4e47-a30291c979a9'::uuid;

-- Query #2719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cee0c13e-c677-497b-4e47-a30291c979a9'::uuid, 'Imdb', 'tt3874512')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cee0c13e-c677-497b-4e47-a30291c979a9'::uuid, 'Tmdb', 1009803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cee0c13e-c677-497b-4e47-a30291c979a9'::uuid, 'TvMaze', 2006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cee0c13e-c677-497b-4e47-a30291c979a9'::uuid, 'Tvdb', 4994835)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cee0c13e-c677-497b-4e47-a30291c979a9'::uuid, 'TvRage', 1065597741)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cee0c13e-c677-497b-4e47-a30291c979a9'::uuid, 'trakt', 999905)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cee0c13e-c677-497b-4e47-a30291c979a9'::uuid, 'TmdbCollection', 1009803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2726 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cee0c13e-c677-497b-4e47-a30291c979a9'::uuid;

-- Query #2727 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cee0c13e-c677-497b-4e47-a30291c979a9'::uuid;

-- Query #2728 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cee0c13e-c677-497b-4e47-a30291c979a9'::uuid]);

-- Query #2729 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cee0c13e-c677-497b-4e47-a30291c979a9'::uuid;

-- Query #2730 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2731 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7d7e37bf-a011-6dfd-f6b3-8262e601815f'::uuid;

-- Query #2732 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d7e37bf-a011-6dfd-f6b3-8262e601815f'::uuid]);

-- Query #2733 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7d7e37bf-a011-6dfd-f6b3-8262e601815f'::uuid;

-- Query #2734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d7e37bf-a011-6dfd-f6b3-8262e601815f'::uuid, 'Imdb', 'tt4113040')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d7e37bf-a011-6dfd-f6b3-8262e601815f'::uuid, 'Tmdb', 1010428)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d7e37bf-a011-6dfd-f6b3-8262e601815f'::uuid, 'TvMaze', 2009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d7e37bf-a011-6dfd-f6b3-8262e601815f'::uuid, 'Tvdb', 4999749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d7e37bf-a011-6dfd-f6b3-8262e601815f'::uuid, 'TvRage', 1065672235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d7e37bf-a011-6dfd-f6b3-8262e601815f'::uuid, 'trakt', 999916)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d7e37bf-a011-6dfd-f6b3-8262e601815f'::uuid, 'TmdbCollection', 1010428)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2741 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7d7e37bf-a011-6dfd-f6b3-8262e601815f'::uuid;

-- Query #2742 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7d7e37bf-a011-6dfd-f6b3-8262e601815f'::uuid;

-- Query #2743 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7d7e37bf-a011-6dfd-f6b3-8262e601815f'::uuid]);

-- Query #2744 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7d7e37bf-a011-6dfd-f6b3-8262e601815f'::uuid;

-- Query #2745 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2746 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e24ef5e6-55a2-89ba-36c9-4de4cd18d97e'::uuid;

-- Query #2747 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e24ef5e6-55a2-89ba-36c9-4de4cd18d97e'::uuid]);

-- Query #2748 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e24ef5e6-55a2-89ba-36c9-4de4cd18d97e'::uuid;

-- Query #2749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24ef5e6-55a2-89ba-36c9-4de4cd18d97e'::uuid, 'Imdb', 'tt3996402')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24ef5e6-55a2-89ba-36c9-4de4cd18d97e'::uuid, 'Tmdb', 1010650)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24ef5e6-55a2-89ba-36c9-4de4cd18d97e'::uuid, 'TvMaze', 11227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24ef5e6-55a2-89ba-36c9-4de4cd18d97e'::uuid, 'Tvdb', 5008822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2753 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24ef5e6-55a2-89ba-36c9-4de4cd18d97e'::uuid, 'TvRage', 1065681107)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24ef5e6-55a2-89ba-36c9-4de4cd18d97e'::uuid, 'trakt', 999918)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24ef5e6-55a2-89ba-36c9-4de4cd18d97e'::uuid, 'TmdbCollection', 1010650)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2756 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e24ef5e6-55a2-89ba-36c9-4de4cd18d97e'::uuid;

-- Query #2757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e24ef5e6-55a2-89ba-36c9-4de4cd18d97e'::uuid;

-- Query #2758 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e24ef5e6-55a2-89ba-36c9-4de4cd18d97e'::uuid]);

-- Query #2759 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e24ef5e6-55a2-89ba-36c9-4de4cd18d97e'::uuid;

-- Query #2760 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2761 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '406a406e-4907-bdfa-99b7-2991a117d40d'::uuid;

-- Query #2762 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59b35dbb-8bec-2250-e76e-de7bf1783cec'::uuid;

-- Query #2763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['406a406e-4907-bdfa-99b7-2991a117d40d'::uuid]);

-- Query #2764 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '406a406e-4907-bdfa-99b7-2991a117d40d'::uuid;

-- Query #2765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('406a406e-4907-bdfa-99b7-2991a117d40d'::uuid, 'Imdb', 'tt7459986')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('406a406e-4907-bdfa-99b7-2991a117d40d'::uuid, 'Tmdb', 85854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('406a406e-4907-bdfa-99b7-2991a117d40d'::uuid, 'TmdbCollection', 85854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('406a406e-4907-bdfa-99b7-2991a117d40d'::uuid, 'Tvdb', 358191)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('406a406e-4907-bdfa-99b7-2991a117d40d'::uuid, 'TvMaze', 26806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2770 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59b35dbb-8bec-2250-e76e-de7bf1783cec'::uuid]);

-- Query #2771 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('406a406e-4907-bdfa-99b7-2991a117d40d'::uuid, 'wikidata', 'Q60771726')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2772 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '59b35dbb-8bec-2250-e76e-de7bf1783cec'::uuid;

-- Query #2773 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '406a406e-4907-bdfa-99b7-2991a117d40d'::uuid;

-- Query #2774 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59b35dbb-8bec-2250-e76e-de7bf1783cec'::uuid, 'Imdb', 'tt4312132')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2775 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '406a406e-4907-bdfa-99b7-2991a117d40d'::uuid;

-- Query #2776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59b35dbb-8bec-2250-e76e-de7bf1783cec'::uuid, 'Tmdb', 1027224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59b35dbb-8bec-2250-e76e-de7bf1783cec'::uuid, 'TvMaze', 93519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59b35dbb-8bec-2250-e76e-de7bf1783cec'::uuid, 'Tvdb', 5076628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59b35dbb-8bec-2250-e76e-de7bf1783cec'::uuid, 'TvRage', 1065730512)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59b35dbb-8bec-2250-e76e-de7bf1783cec'::uuid, 'trakt', 1395811)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59b35dbb-8bec-2250-e76e-de7bf1783cec'::uuid, 'TmdbCollection', 1027224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2782 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59b35dbb-8bec-2250-e76e-de7bf1783cec'::uuid;

-- Query #2783 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '59b35dbb-8bec-2250-e76e-de7bf1783cec'::uuid;

-- Query #2784 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['406a406e-4907-bdfa-99b7-2991a117d40d'::uuid]);

-- Query #2785 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '406a406e-4907-bdfa-99b7-2991a117d40d'::uuid;

-- Query #2786 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2787 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['59b35dbb-8bec-2250-e76e-de7bf1783cec'::uuid]);

-- Query #2788 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '59b35dbb-8bec-2250-e76e-de7bf1783cec'::uuid;

-- Query #2789 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2790 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '406a406e4907bdfa99b72991a117d40d'
ORDER BY b."SortName", b."Name";

-- Query #2791 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '406a406e-4907-bdfa-99b7-2991a117d40d'::uuid
ORDER BY b."SortName";

-- Query #2792 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid])
ORDER BY b."Id";

-- Query #2793 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid])
ORDER BY b."Id";

-- Query #2794 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid])
ORDER BY b."Id";

-- Query #2795 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid])
ORDER BY b."Id";

-- Query #2796 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid])
ORDER BY b."Id";

-- Query #2797 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid
ORDER BY b."SortName";

-- Query #2798 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '406a406e4907bdfa99b72991a117d40d'
ORDER BY b."SortName", b."Name";

-- Query #2799 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid;

-- Query #2800 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e0dfaa9f-4183-8a61-3364-989e04b4c7d5'::uuid;

-- Query #2801 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid]);

-- Query #2802 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid;

-- Query #2803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid, 'Tvdb', 358191)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid, 'Tmdb', 85854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid, 'Imdb', 'tt7459986')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid, 'TvMaze', 26806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid, 'wikidata', 'Q60771726')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2808 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid, 'TmdbCollection', 85854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2809 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid;

-- Query #2810 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid;

-- Query #2811 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e0dfaa9f-4183-8a61-3364-989e04b4c7d5'::uuid]);

-- Query #2812 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid]);

-- Query #2813 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e0dfaa9f-4183-8a61-3364-989e04b4c7d5'::uuid;

-- Query #2814 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0dfaa9f-4183-8a61-3364-989e04b4c7d5'::uuid, 'Tmdb', 1010281)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2815 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid;

-- Query #2816 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0dfaa9f-4183-8a61-3364-989e04b4c7d5'::uuid, 'TvMaze', 2008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2817 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0dfaa9f-4183-8a61-3364-989e04b4c7d5'::uuid, 'Tvdb', 4999748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2818 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['406a406e-4907-bdfa-99b7-2991a117d40d'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0dfaa9f-4183-8a61-3364-989e04b4c7d5'::uuid, 'TvRage', 1065672234)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0dfaa9f-4183-8a61-3364-989e04b4c7d5'::uuid, 'trakt', 999914)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0dfaa9f-4183-8a61-3364-989e04b4c7d5'::uuid, 'TmdbCollection', 1010281)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0dfaa9f-4183-8a61-3364-989e04b4c7d5'::uuid, 'Imdb', 'tt3893564')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2823 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e0dfaa9f-4183-8a61-3364-989e04b4c7d5'::uuid;

-- Query #2824 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e0dfaa9f-4183-8a61-3364-989e04b4c7d5'::uuid;

-- Query #2825 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e0dfaa9f-4183-8a61-3364-989e04b4c7d5'::uuid]);

-- Query #2826 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e0dfaa9f-4183-8a61-3364-989e04b4c7d5'::uuid;

-- Query #2827 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2828 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ec3caf3-cb27-15da-2ade-2b301f4c7229'::uuid;

-- Query #2829 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6ebcc549-796b-c0c6-731d-2c9e5d503a3a'::uuid;

-- Query #2830 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ec3caf3-cb27-15da-2ade-2b301f4c7229'::uuid]);

-- Query #2831 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8ec3caf3-cb27-15da-2ade-2b301f4c7229'::uuid;

-- Query #2832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ec3caf3-cb27-15da-2ade-2b301f4c7229'::uuid, 'Imdb', 'tt4513594')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ec3caf3-cb27-15da-2ade-2b301f4c7229'::uuid, 'Tmdb', 1055107)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ec3caf3-cb27-15da-2ade-2b301f4c7229'::uuid, 'trakt', 1826806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ec3caf3-cb27-15da-2ade-2b301f4c7229'::uuid, 'TvMaze', 151517)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2836 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6ebcc549-796b-c0c6-731d-2c9e5d503a3a'::uuid]);

-- Query #2837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ec3caf3-cb27-15da-2ade-2b301f4c7229'::uuid, 'Tvdb', 5190431)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ec3caf3-cb27-15da-2ade-2b301f4c7229'::uuid, 'TmdbCollection', 1055107)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2839 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6ebcc549-796b-c0c6-731d-2c9e5d503a3a'::uuid;

-- Query #2840 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ec3caf3-cb27-15da-2ade-2b301f4c7229'::uuid;

-- Query #2841 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ebcc549-796b-c0c6-731d-2c9e5d503a3a'::uuid, 'Imdb', 'tt7820084')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2842 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8ec3caf3-cb27-15da-2ade-2b301f4c7229'::uuid;

-- Query #2843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ebcc549-796b-c0c6-731d-2c9e5d503a3a'::uuid, 'Tmdb', 1715870)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ebcc549-796b-c0c6-731d-2c9e5d503a3a'::uuid, 'trakt', 3393487)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2845 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ebcc549-796b-c0c6-731d-2c9e5d503a3a'::uuid, 'TvMaze', 1614005)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ebcc549-796b-c0c6-731d-2c9e5d503a3a'::uuid, 'Tvdb', 7053788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2847 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ebcc549-796b-c0c6-731d-2c9e5d503a3a'::uuid, 'TmdbCollection', 1715870)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2848 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6ebcc549-796b-c0c6-731d-2c9e5d503a3a'::uuid;

-- Query #2849 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6ebcc549-796b-c0c6-731d-2c9e5d503a3a'::uuid;

-- Query #2850 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8ec3caf3-cb27-15da-2ade-2b301f4c7229'::uuid]);

-- Query #2851 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8ec3caf3-cb27-15da-2ade-2b301f4c7229'::uuid;

-- Query #2852 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2853 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6ebcc549-796b-c0c6-731d-2c9e5d503a3a'::uuid]);

-- Query #2854 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6ebcc549-796b-c0c6-731d-2c9e5d503a3a'::uuid;

-- Query #2855 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid, '406a406e-4907-bdfa-99b7-2991a117d40d'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2856 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d673bc3-23d1-3ff6-cb0f-3afdcc9bacb4'::uuid;

-- Query #2857 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '596b0431-023c-0eb0-1da8-7040e5030f44'::uuid;

-- Query #2858 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d673bc3-23d1-3ff6-cb0f-3afdcc9bacb4'::uuid]);

-- Query #2859 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2d673bc3-23d1-3ff6-cb0f-3afdcc9bacb4'::uuid;

-- Query #2860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d673bc3-23d1-3ff6-cb0f-3afdcc9bacb4'::uuid, 'Imdb', 'tt4020036')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d673bc3-23d1-3ff6-cb0f-3afdcc9bacb4'::uuid, 'Tmdb', 1012435)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2862 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d673bc3-23d1-3ff6-cb0f-3afdcc9bacb4'::uuid, 'TvMaze', 31858)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d673bc3-23d1-3ff6-cb0f-3afdcc9bacb4'::uuid, 'Tvdb', 5025779)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2864 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d673bc3-23d1-3ff6-cb0f-3afdcc9bacb4'::uuid, 'TvRage', 1065697195)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d673bc3-23d1-3ff6-cb0f-3afdcc9bacb4'::uuid, 'trakt', 999923)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d673bc3-23d1-3ff6-cb0f-3afdcc9bacb4'::uuid, 'TmdbCollection', 1012435)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2867 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d673bc3-23d1-3ff6-cb0f-3afdcc9bacb4'::uuid;

-- Query #2868 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2d673bc3-23d1-3ff6-cb0f-3afdcc9bacb4'::uuid;

-- Query #2869 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['596b0431-023c-0eb0-1da8-7040e5030f44'::uuid]);

-- Query #2870 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '596b0431-023c-0eb0-1da8-7040e5030f44'::uuid;

-- Query #2871 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('596b0431-023c-0eb0-1da8-7040e5030f44'::uuid, 'Imdb', 'tt7820082')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('596b0431-023c-0eb0-1da8-7040e5030f44'::uuid, 'Tmdb', 1672732)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('596b0431-023c-0eb0-1da8-7040e5030f44'::uuid, 'trakt', 3324798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2874 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('596b0431-023c-0eb0-1da8-7040e5030f44'::uuid, 'TvMaze', 1591871)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2875 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2d673bc3-23d1-3ff6-cb0f-3afdcc9bacb4'::uuid]);

-- Query #2876 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('596b0431-023c-0eb0-1da8-7040e5030f44'::uuid, 'Tvdb', 6993170)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2877 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('596b0431-023c-0eb0-1da8-7040e5030f44'::uuid, 'TmdbCollection', 1672732)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2878 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2d673bc3-23d1-3ff6-cb0f-3afdcc9bacb4'::uuid;

-- Query #2879 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '596b0431-023c-0eb0-1da8-7040e5030f44'::uuid;

-- Query #2880 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2881 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '596b0431-023c-0eb0-1da8-7040e5030f44'::uuid;

-- Query #2882 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['596b0431-023c-0eb0-1da8-7040e5030f44'::uuid]);

-- Query #2883 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '596b0431-023c-0eb0-1da8-7040e5030f44'::uuid;

-- Query #2884 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid, '406a406e-4907-bdfa-99b7-2991a117d40d'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2885 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #2886 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid;

-- Query #2887 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3cdcca5b-667b-db68-c47f-d3261f93aae6'::uuid;

-- Query #2888 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid]);

-- Query #2889 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid;

-- Query #2890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid, 'Imdb', 'tt7820100')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid, 'Tmdb', 1715876)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid, 'trakt', 3393507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid, 'TvMaze', 1614011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2894 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3cdcca5b-667b-db68-c47f-d3261f93aae6'::uuid]);

-- Query #2895 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid, 'Tvdb', 7053802)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2896 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3cdcca5b-667b-db68-c47f-d3261f93aae6'::uuid;

-- Query #2897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid, 'TmdbCollection', 1715876)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cdcca5b-667b-db68-c47f-d3261f93aae6'::uuid, 'trakt', 1708619)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2899 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid;

-- Query #2900 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cdcca5b-667b-db68-c47f-d3261f93aae6'::uuid, 'Imdb', 'tt4289316')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2901 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid;

-- Query #2902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cdcca5b-667b-db68-c47f-d3261f93aae6'::uuid, 'Tmdb', 1036902)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cdcca5b-667b-db68-c47f-d3261f93aae6'::uuid, 'TvMaze', 118426)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2904 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cdcca5b-667b-db68-c47f-d3261f93aae6'::uuid, 'Tvdb', 5078889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2905 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cdcca5b-667b-db68-c47f-d3261f93aae6'::uuid, 'TvRage', 1065740459)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cdcca5b-667b-db68-c47f-d3261f93aae6'::uuid, 'TmdbCollection', 1036902)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2907 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3cdcca5b-667b-db68-c47f-d3261f93aae6'::uuid;

-- Query #2908 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3cdcca5b-667b-db68-c47f-d3261f93aae6'::uuid;

-- Query #2909 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid]);

-- Query #2910 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid;

-- Query #2911 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid, '406a406e-4907-bdfa-99b7-2991a117d40d'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2912 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3cdcca5b-667b-db68-c47f-d3261f93aae6'::uuid]);

-- Query #2913 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3cdcca5b-667b-db68-c47f-d3261f93aae6'::uuid;

-- Query #2914 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a545a73-3bb4-aed2-c473-57920c70b77a'::uuid;

-- Query #2916 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a545a73-3bb4-aed2-c473-57920c70b77a'::uuid]);

-- Query #2917 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2b93355-5917-e0b4-e9b7-5a0323b5e1c0'::uuid;

-- Query #2918 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8a545a73-3bb4-aed2-c473-57920c70b77a'::uuid;

-- Query #2919 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a545a73-3bb4-aed2-c473-57920c70b77a'::uuid, 'Imdb', 'tt7820094')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a545a73-3bb4-aed2-c473-57920c70b77a'::uuid, 'Tmdb', 1715873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a545a73-3bb4-aed2-c473-57920c70b77a'::uuid, 'trakt', 3393491)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2922 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2b93355-5917-e0b4-e9b7-5a0323b5e1c0'::uuid]);

-- Query #2923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a545a73-3bb4-aed2-c473-57920c70b77a'::uuid, 'TvMaze', 1614008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2924 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd2b93355-5917-e0b4-e9b7-5a0323b5e1c0'::uuid;

-- Query #2925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a545a73-3bb4-aed2-c473-57920c70b77a'::uuid, 'Tvdb', 7053795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2b93355-5917-e0b4-e9b7-5a0323b5e1c0'::uuid, 'Imdb', 'tt3911066')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a545a73-3bb4-aed2-c473-57920c70b77a'::uuid, 'TmdbCollection', 1715873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2928 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2b93355-5917-e0b4-e9b7-5a0323b5e1c0'::uuid, 'Tmdb', 1009969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a545a73-3bb4-aed2-c473-57920c70b77a'::uuid;

-- Query #2930 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2b93355-5917-e0b4-e9b7-5a0323b5e1c0'::uuid, 'TvMaze', 2007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2931 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8a545a73-3bb4-aed2-c473-57920c70b77a'::uuid;

-- Query #2932 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2b93355-5917-e0b4-e9b7-5a0323b5e1c0'::uuid, 'Tvdb', 4994836)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2933 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2b93355-5917-e0b4-e9b7-5a0323b5e1c0'::uuid, 'TvRage', 1065658943)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2934 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2b93355-5917-e0b4-e9b7-5a0323b5e1c0'::uuid, 'trakt', 999910)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2b93355-5917-e0b4-e9b7-5a0323b5e1c0'::uuid, 'TmdbCollection', 1009969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2936 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2b93355-5917-e0b4-e9b7-5a0323b5e1c0'::uuid;

-- Query #2937 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd2b93355-5917-e0b4-e9b7-5a0323b5e1c0'::uuid;

-- Query #2938 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8a545a73-3bb4-aed2-c473-57920c70b77a'::uuid]);

-- Query #2939 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8a545a73-3bb4-aed2-c473-57920c70b77a'::uuid;

-- Query #2940 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid, '406a406e-4907-bdfa-99b7-2991a117d40d'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2941 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d2b93355-5917-e0b4-e9b7-5a0323b5e1c0'::uuid]);

-- Query #2942 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd2b93355-5917-e0b4-e9b7-5a0323b5e1c0'::uuid;

-- Query #2943 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2944 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c98550d9-9702-c31d-93a8-e1d9c709e41b'::uuid;

-- Query #2945 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7d62900-aeb6-ffb1-b66f-a553b9fe93c9'::uuid;

-- Query #2946 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c98550d9-9702-c31d-93a8-e1d9c709e41b'::uuid]);

-- Query #2947 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c98550d9-9702-c31d-93a8-e1d9c709e41b'::uuid;

-- Query #2948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c98550d9-9702-c31d-93a8-e1d9c709e41b'::uuid, 'Imdb', 'tt7820088')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c98550d9-9702-c31d-93a8-e1d9c709e41b'::uuid, 'Tmdb', 1715871)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c98550d9-9702-c31d-93a8-e1d9c709e41b'::uuid, 'trakt', 3393489)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c98550d9-9702-c31d-93a8-e1d9c709e41b'::uuid, 'TvMaze', 1614006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c98550d9-9702-c31d-93a8-e1d9c709e41b'::uuid, 'Tvdb', 7053789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c98550d9-9702-c31d-93a8-e1d9c709e41b'::uuid, 'TmdbCollection', 1715871)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c98550d9-9702-c31d-93a8-e1d9c709e41b'::uuid;

-- Query #2955 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c98550d9-9702-c31d-93a8-e1d9c709e41b'::uuid;

-- Query #2956 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e7d62900-aeb6-ffb1-b66f-a553b9fe93c9'::uuid]);

-- Query #2957 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e7d62900-aeb6-ffb1-b66f-a553b9fe93c9'::uuid;

-- Query #2958 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c98550d9-9702-c31d-93a8-e1d9c709e41b'::uuid]);

-- Query #2959 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7d62900-aeb6-ffb1-b66f-a553b9fe93c9'::uuid, 'Imdb', 'tt3996514')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2960 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7d62900-aeb6-ffb1-b66f-a553b9fe93c9'::uuid, 'Tmdb', 1012434)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2961 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c98550d9-9702-c31d-93a8-e1d9c709e41b'::uuid;

-- Query #2962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7d62900-aeb6-ffb1-b66f-a553b9fe93c9'::uuid, 'TvMaze', 31033)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7d62900-aeb6-ffb1-b66f-a553b9fe93c9'::uuid, 'Tvdb', 5020257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2964 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid, '406a406e-4907-bdfa-99b7-2991a117d40d'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7d62900-aeb6-ffb1-b66f-a553b9fe93c9'::uuid, 'TvRage', 1065696666)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7d62900-aeb6-ffb1-b66f-a553b9fe93c9'::uuid, 'trakt', 999919)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7d62900-aeb6-ffb1-b66f-a553b9fe93c9'::uuid, 'TmdbCollection', 1012434)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2968 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7d62900-aeb6-ffb1-b66f-a553b9fe93c9'::uuid;

-- Query #2969 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e7d62900-aeb6-ffb1-b66f-a553b9fe93c9'::uuid;

-- Query #2970 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e7d62900-aeb6-ffb1-b66f-a553b9fe93c9'::uuid]);

-- Query #2971 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e7d62900-aeb6-ffb1-b66f-a553b9fe93c9'::uuid;

-- Query #2972 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2973 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '015d964e-bf62-bd6a-4029-1a598ef58aa1'::uuid;

-- Query #2974 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['015d964e-bf62-bd6a-4029-1a598ef58aa1'::uuid]);

-- Query #2975 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '015d964e-bf62-bd6a-4029-1a598ef58aa1'::uuid;

-- Query #2976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('015d964e-bf62-bd6a-4029-1a598ef58aa1'::uuid, 'Imdb', 'tt7820090')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('015d964e-bf62-bd6a-4029-1a598ef58aa1'::uuid, 'Tmdb', 1715872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('015d964e-bf62-bd6a-4029-1a598ef58aa1'::uuid, 'trakt', 3393490)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2979 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '854c1be9-0a2b-8888-00b3-cf9e5b22203f'::uuid;

-- Query #2980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('015d964e-bf62-bd6a-4029-1a598ef58aa1'::uuid, 'TvMaze', 1614007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('015d964e-bf62-bd6a-4029-1a598ef58aa1'::uuid, 'Tvdb', 7053791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('015d964e-bf62-bd6a-4029-1a598ef58aa1'::uuid, 'TmdbCollection', 1715872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2983 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '015d964e-bf62-bd6a-4029-1a598ef58aa1'::uuid;

-- Query #2984 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '015d964e-bf62-bd6a-4029-1a598ef58aa1'::uuid;

-- Query #2985 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['854c1be9-0a2b-8888-00b3-cf9e5b22203f'::uuid]);

-- Query #2986 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '854c1be9-0a2b-8888-00b3-cf9e5b22203f'::uuid;

-- Query #2987 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['015d964e-bf62-bd6a-4029-1a598ef58aa1'::uuid]);

-- Query #2988 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('854c1be9-0a2b-8888-00b3-cf9e5b22203f'::uuid, 'Imdb', 'tt3836678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2989 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('854c1be9-0a2b-8888-00b3-cf9e5b22203f'::uuid, 'Tmdb', 1009372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2990 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '015d964e-bf62-bd6a-4029-1a598ef58aa1'::uuid;

-- Query #2991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('854c1be9-0a2b-8888-00b3-cf9e5b22203f'::uuid, 'TvMaze', 2005)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2992 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid, '406a406e-4907-bdfa-99b7-2991a117d40d'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #2993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('854c1be9-0a2b-8888-00b3-cf9e5b22203f'::uuid, 'Tvdb', 4884233)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('854c1be9-0a2b-8888-00b3-cf9e5b22203f'::uuid, 'TvRage', 1065585901)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('854c1be9-0a2b-8888-00b3-cf9e5b22203f'::uuid, 'trakt', 999903)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('854c1be9-0a2b-8888-00b3-cf9e5b22203f'::uuid, 'TmdbCollection', 1009372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #2997 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '854c1be9-0a2b-8888-00b3-cf9e5b22203f'::uuid;

-- Query #2998 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '854c1be9-0a2b-8888-00b3-cf9e5b22203f'::uuid;

-- Query #2999 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['854c1be9-0a2b-8888-00b3-cf9e5b22203f'::uuid]);

-- Query #3000 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '854c1be9-0a2b-8888-00b3-cf9e5b22203f'::uuid;

-- Query #3001 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3002 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '406a406e-4907-bdfa-99b7-2991a117d40d'::uuid
ORDER BY b."SortName";

-- Query #3003 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid])
ORDER BY b."Id";

-- Query #3004 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid])
ORDER BY b."Id";

-- Query #3005 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid])
ORDER BY b."Id";

-- Query #3006 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid])
ORDER BY b."Id";

-- Query #3007 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid])
ORDER BY b."Id";

-- Query #3008 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '56158a83-2ce1-779e-1bf0-38efa9ac0426'::uuid
ORDER BY b."SortName";

-- Query #3009 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '406a406e4907bdfa99b72991a117d40d'
ORDER BY b."SortName", b."Name";

-- Query #3010 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b8f2607-8572-5111-a1e9-f4e698ea47e6'::uuid;

-- Query #3011 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8b8f2607-8572-5111-a1e9-f4e698ea47e6'::uuid]);

-- Query #3012 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8b8f2607-8572-5111-a1e9-f4e698ea47e6'::uuid;

-- Query #3013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b8f2607-8572-5111-a1e9-f4e698ea47e6'::uuid, 'Imdb', 'tt4188274')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b8f2607-8572-5111-a1e9-f4e698ea47e6'::uuid, 'Tmdb', 1017150)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b8f2607-8572-5111-a1e9-f4e698ea47e6'::uuid, 'TvMaze', 40885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b8f2607-8572-5111-a1e9-f4e698ea47e6'::uuid, 'Tvdb', 5034816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3017 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid
ORDER BY b."SortName";

-- Query #3018 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b8f2607-8572-5111-a1e9-f4e698ea47e6'::uuid, 'TvRage', 1065706240)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b8f2607-8572-5111-a1e9-f4e698ea47e6'::uuid, 'trakt', 999926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3020 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b8f2607-8572-5111-a1e9-f4e698ea47e6'::uuid, 'TmdbCollection', 1017150)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3021 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b8f2607-8572-5111-a1e9-f4e698ea47e6'::uuid;

-- Query #3022 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8b8f2607-8572-5111-a1e9-f4e698ea47e6'::uuid;

-- Query #3023 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid
ORDER BY b."SortName";

-- Query #3024 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8b8f2607-8572-5111-a1e9-f4e698ea47e6'::uuid]);

-- Query #3025 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8b8f2607-8572-5111-a1e9-f4e698ea47e6'::uuid;

-- Query #3026 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3027 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid
ORDER BY b."SortName";

-- Query #3028 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '294da160-4d73-2d42-0012-37b039905576'::uuid
ORDER BY b."SortName";

-- Query #3029 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7feeaf79-10f3-b4a1-e616-6aaff9096259'::uuid;

-- Query #3030 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid
ORDER BY b."SortName";

-- Query #3031 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7feeaf79-10f3-b4a1-e616-6aaff9096259'::uuid]);

-- Query #3032 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7feeaf79-10f3-b4a1-e616-6aaff9096259'::uuid;

-- Query #3033 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7feeaf79-10f3-b4a1-e616-6aaff9096259'::uuid, 'Imdb', 'tt4419086')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3034 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7feeaf79-10f3-b4a1-e616-6aaff9096259'::uuid, 'Tmdb', 1044265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7feeaf79-10f3-b4a1-e616-6aaff9096259'::uuid, 'trakt', 1742164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7feeaf79-10f3-b4a1-e616-6aaff9096259'::uuid, 'TvMaze', 139728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7feeaf79-10f3-b4a1-e616-6aaff9096259'::uuid, 'Tvdb', 5118668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7feeaf79-10f3-b4a1-e616-6aaff9096259'::uuid, 'TmdbCollection', 1044265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3039 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7feeaf79-10f3-b4a1-e616-6aaff9096259'::uuid;

-- Query #3040 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7feeaf79-10f3-b4a1-e616-6aaff9096259'::uuid;

-- Query #3041 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid
ORDER BY b."SortName";

-- Query #3042 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7feeaf79-10f3-b4a1-e616-6aaff9096259'::uuid]);

-- Query #3043 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7feeaf79-10f3-b4a1-e616-6aaff9096259'::uuid;

-- Query #3044 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3045 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid
ORDER BY b."SortName";

-- Query #3046 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '29121822-0757-f52b-3861-fff79d46089c'::uuid
ORDER BY b."SortName";

-- Query #3047 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bba5ca82-9b59-5c0a-cfc0-8eb888d3a769'::uuid;

-- Query #3048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bba5ca82-9b59-5c0a-cfc0-8eb888d3a769'::uuid]);

-- Query #3049 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bba5ca82-9b59-5c0a-cfc0-8eb888d3a769'::uuid;

-- Query #3050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bba5ca82-9b59-5c0a-cfc0-8eb888d3a769'::uuid, 'Imdb', 'tt4531946')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bba5ca82-9b59-5c0a-cfc0-8eb888d3a769'::uuid, 'Tmdb', 1055108)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bba5ca82-9b59-5c0a-cfc0-8eb888d3a769'::uuid, 'trakt', 1826807)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bba5ca82-9b59-5c0a-cfc0-8eb888d3a769'::uuid, 'TvMaze', 151518)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3054 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bba5ca82-9b59-5c0a-cfc0-8eb888d3a769'::uuid, 'Tvdb', 5190432)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3055 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bba5ca82-9b59-5c0a-cfc0-8eb888d3a769'::uuid, 'TmdbCollection', 1055108)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3056 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bba5ca82-9b59-5c0a-cfc0-8eb888d3a769'::uuid;

-- Query #3057 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bba5ca82-9b59-5c0a-cfc0-8eb888d3a769'::uuid;

-- Query #3058 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bba5ca82-9b59-5c0a-cfc0-8eb888d3a769'::uuid]);

-- Query #3059 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bba5ca82-9b59-5c0a-cfc0-8eb888d3a769'::uuid;

-- Query #3060 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3061 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18477ea6-7513-13b8-577e-67f1bc964261'::uuid;

-- Query #3062 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['18477ea6-7513-13b8-577e-67f1bc964261'::uuid]);

-- Query #3063 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '18477ea6-7513-13b8-577e-67f1bc964261'::uuid;

-- Query #3064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18477ea6-7513-13b8-577e-67f1bc964261'::uuid, 'Imdb', 'tt4346194')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18477ea6-7513-13b8-577e-67f1bc964261'::uuid, 'Tmdb', 1036899)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18477ea6-7513-13b8-577e-67f1bc964261'::uuid, 'TvMaze', 118425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3067 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18477ea6-7513-13b8-577e-67f1bc964261'::uuid, 'Tvdb', 5078888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18477ea6-7513-13b8-577e-67f1bc964261'::uuid, 'TvRage', 1065740458)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18477ea6-7513-13b8-577e-67f1bc964261'::uuid, 'trakt', 1708618)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18477ea6-7513-13b8-577e-67f1bc964261'::uuid, 'TmdbCollection', 1036899)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3071 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18477ea6-7513-13b8-577e-67f1bc964261'::uuid;

-- Query #3072 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '18477ea6-7513-13b8-577e-67f1bc964261'::uuid;

-- Query #3073 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['18477ea6-7513-13b8-577e-67f1bc964261'::uuid]);

-- Query #3074 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '18477ea6-7513-13b8-577e-67f1bc964261'::uuid;

-- Query #3075 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3076 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid;

-- Query #3077 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4615e48f-cb37-782e-d1ec-fe725487e935'::uuid;

-- Query #3078 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid]);

-- Query #3079 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid;

-- Query #3080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'Imdb', 'tt0321021')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3081 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'Tmdb', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3082 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'TmdbCollection', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3083 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'Tvdb', 77963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3084 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4615e48f-cb37-782e-d1ec-fe725487e935'::uuid]);

-- Query #3085 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'TvMaze', 813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3086 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4615e48f-cb37-782e-d1ec-fe725487e935'::uuid;

-- Query #3087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'TvRage', 6628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'Zap2It', 'EP00524080')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4615e48f-cb37-782e-d1ec-fe725487e935'::uuid, 'Imdb', 'tt4928536')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4615e48f-cb37-782e-d1ec-fe725487e935'::uuid, 'Tmdb', 1132664)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3091 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid;

-- Query #3092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4615e48f-cb37-782e-d1ec-fe725487e935'::uuid, 'trakt', 2023087)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3093 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid;

-- Query #3094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4615e48f-cb37-782e-d1ec-fe725487e935'::uuid, 'TvMaze', 365291)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4615e48f-cb37-782e-d1ec-fe725487e935'::uuid, 'Tvdb', 5363472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4615e48f-cb37-782e-d1ec-fe725487e935'::uuid, 'TmdbCollection', 1132664)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3097 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4615e48f-cb37-782e-d1ec-fe725487e935'::uuid;

-- Query #3098 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4615e48f-cb37-782e-d1ec-fe725487e935'::uuid;

-- Query #3099 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid]);

-- Query #3100 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid;

-- Query #3101 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4615e48f-cb37-782e-d1ec-fe725487e935'::uuid]);

-- Query #3102 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3103 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4615e48f-cb37-782e-d1ec-fe725487e935'::uuid;

-- Query #3104 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3105 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'bcde980b28df12d5c3fb60f291ef59ba'
ORDER BY b."SortName", b."Name";

-- Query #3106 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6661d68f-93b2-b208-3a03-20425ea6f678'::uuid;

-- Query #3107 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6661d68f-93b2-b208-3a03-20425ea6f678'::uuid]);

-- Query #3108 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6661d68f-93b2-b208-3a03-20425ea6f678'::uuid;

-- Query #3109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6661d68f-93b2-b208-3a03-20425ea6f678'::uuid, 'Imdb', 'tt5495706')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6661d68f-93b2-b208-3a03-20425ea6f678'::uuid, 'Tmdb', 1183700)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3111 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6661d68f-93b2-b208-3a03-20425ea6f678'::uuid, 'trakt', 2182500)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3112 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6661d68f-93b2-b208-3a03-20425ea6f678'::uuid, 'TvMaze', 660844)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6661d68f-93b2-b208-3a03-20425ea6f678'::uuid, 'Tvdb', 5552977)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3114 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6661d68f-93b2-b208-3a03-20425ea6f678'::uuid, 'TmdbCollection', 1183700)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3115 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6661d68f-93b2-b208-3a03-20425ea6f678'::uuid;

-- Query #3116 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6661d68f-93b2-b208-3a03-20425ea6f678'::uuid;

-- Query #3117 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6661d68f-93b2-b208-3a03-20425ea6f678'::uuid]);

-- Query #3118 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6661d68f-93b2-b208-3a03-20425ea6f678'::uuid;

-- Query #3119 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3120 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d71fd9f-8c1e-b784-29ca-d38e81305016'::uuid;

-- Query #3121 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid
ORDER BY b."SortName";

-- Query #3122 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d71fd9f-8c1e-b784-29ca-d38e81305016'::uuid]);

-- Query #3123 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0d71fd9f-8c1e-b784-29ca-d38e81305016'::uuid;

-- Query #3124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d71fd9f-8c1e-b784-29ca-d38e81305016'::uuid, 'Imdb', 'tt4886606')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3125 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d71fd9f-8c1e-b784-29ca-d38e81305016'::uuid, 'Tmdb', 1113439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d71fd9f-8c1e-b784-29ca-d38e81305016'::uuid, 'trakt', 1992221)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3127 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d71fd9f-8c1e-b784-29ca-d38e81305016'::uuid, 'TvMaze', 217893)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3128 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d71fd9f-8c1e-b784-29ca-d38e81305016'::uuid, 'Tvdb', 5333918)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3129 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d71fd9f-8c1e-b784-29ca-d38e81305016'::uuid, 'TmdbCollection', 1113439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3130 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid
ORDER BY b."SortName";

-- Query #3131 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d71fd9f-8c1e-b784-29ca-d38e81305016'::uuid;

-- Query #3132 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0d71fd9f-8c1e-b784-29ca-d38e81305016'::uuid;

-- Query #3133 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0d71fd9f-8c1e-b784-29ca-d38e81305016'::uuid]);

-- Query #3134 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0d71fd9f-8c1e-b784-29ca-d38e81305016'::uuid;

-- Query #3135 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3136 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid
ORDER BY b."SortName";

-- Query #3137 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '294da160-4d73-2d42-0012-37b039905576'::uuid
ORDER BY b."SortName";

-- Query #3138 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid
ORDER BY b."SortName";

-- Query #3139 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '980713de-73bf-d8e0-cf2c-ff07421e57e8'::uuid;

-- Query #3140 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['980713de-73bf-d8e0-cf2c-ff07421e57e8'::uuid]);

-- Query #3141 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '980713de-73bf-d8e0-cf2c-ff07421e57e8'::uuid;

-- Query #3142 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid
ORDER BY b."SortName";

-- Query #3143 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('980713de-73bf-d8e0-cf2c-ff07421e57e8'::uuid, 'Imdb', 'tt5517824')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3144 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('980713de-73bf-d8e0-cf2c-ff07421e57e8'::uuid, 'Tmdb', 1186940)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('980713de-73bf-d8e0-cf2c-ff07421e57e8'::uuid, 'trakt', 2192269)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('980713de-73bf-d8e0-cf2c-ff07421e57e8'::uuid, 'TvMaze', 670457)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('980713de-73bf-d8e0-cf2c-ff07421e57e8'::uuid, 'Tvdb', 5562475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('980713de-73bf-d8e0-cf2c-ff07421e57e8'::uuid, 'TmdbCollection', 1186940)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3149 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '980713de-73bf-d8e0-cf2c-ff07421e57e8'::uuid;

-- Query #3150 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '980713de-73bf-d8e0-cf2c-ff07421e57e8'::uuid;

-- Query #3151 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['980713de-73bf-d8e0-cf2c-ff07421e57e8'::uuid]);

-- Query #3152 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '980713de-73bf-d8e0-cf2c-ff07421e57e8'::uuid;

-- Query #3153 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid
ORDER BY b."SortName";

-- Query #3154 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3155 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '29121822-0757-f52b-3861-fff79d46089c'::uuid
ORDER BY b."SortName";

-- Query #3156 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'bcde980b28df12d5c3fb60f291ef59ba'
ORDER BY b."SortName", b."Name";

-- Query #3157 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '606c3d38-a69f-8a82-9529-081ab227edba'::uuid;

-- Query #3158 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['606c3d38-a69f-8a82-9529-081ab227edba'::uuid]);

-- Query #3159 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '606c3d38-a69f-8a82-9529-081ab227edba'::uuid;

-- Query #3160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('606c3d38-a69f-8a82-9529-081ab227edba'::uuid, 'Imdb', 'tt5234694')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('606c3d38-a69f-8a82-9529-081ab227edba'::uuid, 'Tmdb', 1146855)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('606c3d38-a69f-8a82-9529-081ab227edba'::uuid, 'trakt', 2068716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('606c3d38-a69f-8a82-9529-081ab227edba'::uuid, 'TvMaze', 502650)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('606c3d38-a69f-8a82-9529-081ab227edba'::uuid, 'Tvdb', 5419576)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('606c3d38-a69f-8a82-9529-081ab227edba'::uuid, 'TmdbCollection', 1146855)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3166 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '606c3d38-a69f-8a82-9529-081ab227edba'::uuid;

-- Query #3167 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '606c3d38-a69f-8a82-9529-081ab227edba'::uuid;

-- Query #3168 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['606c3d38-a69f-8a82-9529-081ab227edba'::uuid]);

-- Query #3169 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '606c3d38-a69f-8a82-9529-081ab227edba'::uuid;

-- Query #3170 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3171 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8700ecde-dd53-2742-b9d7-023660360fc3'::uuid;

-- Query #3172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid;

-- Query #3173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8700ecde-dd53-2742-b9d7-023660360fc3'::uuid]);

-- Query #3174 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8700ecde-dd53-2742-b9d7-023660360fc3'::uuid;

-- Query #3175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8700ecde-dd53-2742-b9d7-023660360fc3'::uuid, 'Imdb', 'tt5475470')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8700ecde-dd53-2742-b9d7-023660360fc3'::uuid, 'Tmdb', 1176764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8700ecde-dd53-2742-b9d7-023660360fc3'::uuid, 'trakt', 2168001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8700ecde-dd53-2742-b9d7-023660360fc3'::uuid, 'TvMaze', 633788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8700ecde-dd53-2742-b9d7-023660360fc3'::uuid, 'Tvdb', 5536227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8700ecde-dd53-2742-b9d7-023660360fc3'::uuid, 'TmdbCollection', 1176764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3181 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8700ecde-dd53-2742-b9d7-023660360fc3'::uuid;

-- Query #3182 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8700ecde-dd53-2742-b9d7-023660360fc3'::uuid;

-- Query #3183 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8700ecde-dd53-2742-b9d7-023660360fc3'::uuid]);

-- Query #3184 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8700ecde-dd53-2742-b9d7-023660360fc3'::uuid;

-- Query #3185 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3186 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid]);

-- Query #3187 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid;

-- Query #3188 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'Tvdb', 77963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'Tmdb', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'Imdb', 'tt0321021')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'TvMaze', 813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'TvRage', 6628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'Zap2It', 'EP00524080')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'TmdbCollection', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3195 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid;

-- Query #3196 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid;

-- Query #3197 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid]);

-- Query #3198 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7d5f729-c37c-9c18-d059-81c1542126d8'::uuid;

-- Query #3199 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid;

-- Query #3200 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3201 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7d5f729-c37c-9c18-d059-81c1542126d8'::uuid]);

-- Query #3202 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c7d5f729-c37c-9c18-d059-81c1542126d8'::uuid;

-- Query #3203 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7d5f729-c37c-9c18-d059-81c1542126d8'::uuid, 'Imdb', 'tt5335020')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3204 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7d5f729-c37c-9c18-d059-81c1542126d8'::uuid, 'Tmdb', 1172017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7d5f729-c37c-9c18-d059-81c1542126d8'::uuid, 'trakt', 2133281)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7d5f729-c37c-9c18-d059-81c1542126d8'::uuid, 'TvMaze', 611626)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7d5f729-c37c-9c18-d059-81c1542126d8'::uuid, 'Tvdb', 5511599)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7d5f729-c37c-9c18-d059-81c1542126d8'::uuid, 'TmdbCollection', 1172017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3209 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7d5f729-c37c-9c18-d059-81c1542126d8'::uuid;

-- Query #3210 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c7d5f729-c37c-9c18-d059-81c1542126d8'::uuid;

-- Query #3211 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'bcde980b28df12d5c3fb60f291ef59ba'
ORDER BY b."SortName", b."Name";

-- Query #3212 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c7d5f729-c37c-9c18-d059-81c1542126d8'::uuid]);

-- Query #3213 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c7d5f729-c37c-9c18-d059-81c1542126d8'::uuid;

-- Query #3214 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3215 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b9a1b59-7b87-8724-f4ac-90363baee6db'::uuid;

-- Query #3216 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b9a1b59-7b87-8724-f4ac-90363baee6db'::uuid]);

-- Query #3217 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0b9a1b59-7b87-8724-f4ac-90363baee6db'::uuid;

-- Query #3218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b9a1b59-7b87-8724-f4ac-90363baee6db'::uuid, 'Imdb', 'tt5235876')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b9a1b59-7b87-8724-f4ac-90363baee6db'::uuid, 'Tmdb', 1165778)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b9a1b59-7b87-8724-f4ac-90363baee6db'::uuid, 'trakt', 2130070)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b9a1b59-7b87-8724-f4ac-90363baee6db'::uuid, 'TvMaze', 570415)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b9a1b59-7b87-8724-f4ac-90363baee6db'::uuid, 'Tvdb', 5488025)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b9a1b59-7b87-8724-f4ac-90363baee6db'::uuid, 'TmdbCollection', 1165778)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3224 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b9a1b59-7b87-8724-f4ac-90363baee6db'::uuid;

-- Query #3225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0b9a1b59-7b87-8724-f4ac-90363baee6db'::uuid;

-- Query #3226 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid;

-- Query #3227 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0b9a1b59-7b87-8724-f4ac-90363baee6db'::uuid]);

-- Query #3228 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0b9a1b59-7b87-8724-f4ac-90363baee6db'::uuid;

-- Query #3229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3230 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid]);

-- Query #3231 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid;

-- Query #3232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'TmdbCollection', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'Tvdb', 77963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'Tmdb', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'Imdb', 'tt0321021')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'TvMaze', 813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'TvRage', 6628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'Zap2It', 'EP00524080')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid;

-- Query #3240 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid;

-- Query #3241 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid]);

-- Query #3242 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid;

-- Query #3243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e58a8425-b452-d800-0e1f-7f5290736d48'::uuid;

-- Query #3245 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'bcde980b28df12d5c3fb60f291ef59ba'
ORDER BY b."SortName", b."Name";

-- Query #3246 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e58a8425-b452-d800-0e1f-7f5290736d48'::uuid]);

-- Query #3247 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e58a8425-b452-d800-0e1f-7f5290736d48'::uuid;

-- Query #3248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e58a8425-b452-d800-0e1f-7f5290736d48'::uuid, 'Imdb', 'tt5054236')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e58a8425-b452-d800-0e1f-7f5290736d48'::uuid, 'Tmdb', 1132666)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e58a8425-b452-d800-0e1f-7f5290736d48'::uuid, 'trakt', 2034120)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e58a8425-b452-d800-0e1f-7f5290736d48'::uuid, 'TvMaze', 395221)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e58a8425-b452-d800-0e1f-7f5290736d48'::uuid, 'Tvdb', 5377865)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e58a8425-b452-d800-0e1f-7f5290736d48'::uuid, 'TmdbCollection', 1132666)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3254 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e58a8425-b452-d800-0e1f-7f5290736d48'::uuid;

-- Query #3255 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e58a8425-b452-d800-0e1f-7f5290736d48'::uuid;

-- Query #3256 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e58a8425-b452-d800-0e1f-7f5290736d48'::uuid]);

-- Query #3257 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e58a8425-b452-d800-0e1f-7f5290736d48'::uuid;

-- Query #3258 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3259 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3da8a79d-6c3e-9148-aac3-ba9ea5f7416f'::uuid;

-- Query #3260 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3da8a79d-6c3e-9148-aac3-ba9ea5f7416f'::uuid]);

-- Query #3261 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3da8a79d-6c3e-9148-aac3-ba9ea5f7416f'::uuid;

-- Query #3262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da8a79d-6c3e-9148-aac3-ba9ea5f7416f'::uuid, 'Imdb', 'tt4967370')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da8a79d-6c3e-9148-aac3-ba9ea5f7416f'::uuid, 'Tmdb', 1132663)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da8a79d-6c3e-9148-aac3-ba9ea5f7416f'::uuid, 'trakt', 2023084)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da8a79d-6c3e-9148-aac3-ba9ea5f7416f'::uuid, 'TvMaze', 355488)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da8a79d-6c3e-9148-aac3-ba9ea5f7416f'::uuid, 'Tvdb', 5363470)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '294da160-4d73-2d42-0012-37b039905576'::uuid;

-- Query #3268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da8a79d-6c3e-9148-aac3-ba9ea5f7416f'::uuid, 'TmdbCollection', 1132663)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3269 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3da8a79d-6c3e-9148-aac3-ba9ea5f7416f'::uuid;

-- Query #3270 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3da8a79d-6c3e-9148-aac3-ba9ea5f7416f'::uuid;

-- Query #3271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid]);

-- Query #3272 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '294da160-4d73-2d42-0012-37b039905576'::uuid;

-- Query #3273 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('294da160-4d73-2d42-0012-37b039905576'::uuid, 'Tvdb', 77963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('294da160-4d73-2d42-0012-37b039905576'::uuid, 'Tmdb', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('294da160-4d73-2d42-0012-37b039905576'::uuid, 'Imdb', 'tt0321021')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('294da160-4d73-2d42-0012-37b039905576'::uuid, 'TvMaze', 813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3277 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3da8a79d-6c3e-9148-aac3-ba9ea5f7416f'::uuid]);

-- Query #3278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('294da160-4d73-2d42-0012-37b039905576'::uuid, 'TvRage', 6628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('294da160-4d73-2d42-0012-37b039905576'::uuid, 'Zap2It', 'EP00524080')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('294da160-4d73-2d42-0012-37b039905576'::uuid, 'TmdbCollection', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3281 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3da8a79d-6c3e-9148-aac3-ba9ea5f7416f'::uuid;

-- Query #3282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '294da160-4d73-2d42-0012-37b039905576'::uuid;

-- Query #3283 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3284 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '294da160-4d73-2d42-0012-37b039905576'::uuid;

-- Query #3285 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid]);

-- Query #3286 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '294da160-4d73-2d42-0012-37b039905576'::uuid;

-- Query #3287 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3288 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'bcde980b28df12d5c3fb60f291ef59ba'
ORDER BY b."SortName", b."Name";

-- Query #3289 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f53164a8-aef0-49f6-c2fe-345391c8621a'::uuid;

-- Query #3290 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f53164a8-aef0-49f6-c2fe-345391c8621a'::uuid]);

-- Query #3291 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f53164a8-aef0-49f6-c2fe-345391c8621a'::uuid;

-- Query #3292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f53164a8-aef0-49f6-c2fe-345391c8621a'::uuid, 'Imdb', 'tt5235868')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f53164a8-aef0-49f6-c2fe-345391c8621a'::uuid, 'Tmdb', 1156773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f53164a8-aef0-49f6-c2fe-345391c8621a'::uuid, 'trakt', 2107015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f53164a8-aef0-49f6-c2fe-345391c8621a'::uuid, 'TvMaze', 558235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3296 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f53164a8-aef0-49f6-c2fe-345391c8621a'::uuid, 'Tvdb', 5463437)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3297 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f53164a8-aef0-49f6-c2fe-345391c8621a'::uuid, 'TmdbCollection', 1156773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3298 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f53164a8-aef0-49f6-c2fe-345391c8621a'::uuid;

-- Query #3299 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f53164a8-aef0-49f6-c2fe-345391c8621a'::uuid;

-- Query #3300 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f53164a8-aef0-49f6-c2fe-345391c8621a'::uuid]);

-- Query #3301 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f53164a8-aef0-49f6-c2fe-345391c8621a'::uuid;

-- Query #3302 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3303 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2319d1ba-d5c3-e610-9606-215aed367c0a'::uuid;

-- Query #3304 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2319d1ba-d5c3-e610-9606-215aed367c0a'::uuid]);

-- Query #3305 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2319d1ba-d5c3-e610-9606-215aed367c0a'::uuid;

-- Query #3306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2319d1ba-d5c3-e610-9606-215aed367c0a'::uuid, 'Imdb', 'tt5456154')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2319d1ba-d5c3-e610-9606-215aed367c0a'::uuid, 'Tmdb', 1176765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2319d1ba-d5c3-e610-9606-215aed367c0a'::uuid, 'trakt', 2169562)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2319d1ba-d5c3-e610-9606-215aed367c0a'::uuid, 'TvMaze', 635166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2319d1ba-d5c3-e610-9606-215aed367c0a'::uuid, 'Tvdb', 5537647)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2319d1ba-d5c3-e610-9606-215aed367c0a'::uuid, 'TmdbCollection', 1176765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3312 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2319d1ba-d5c3-e610-9606-215aed367c0a'::uuid;

-- Query #3313 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2319d1ba-d5c3-e610-9606-215aed367c0a'::uuid;

-- Query #3314 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2319d1ba-d5c3-e610-9606-215aed367c0a'::uuid]);

-- Query #3315 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2319d1ba-d5c3-e610-9606-215aed367c0a'::uuid;

-- Query #3316 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3317 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid;

-- Query #3318 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid]);

-- Query #3319 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid;

-- Query #3320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'Tvdb', 77963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'Tmdb', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'Imdb', 'tt0321021')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'TvMaze', 813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'TvRage', 6628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'Zap2It', 'EP00524080')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'TmdbCollection', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3327 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid;

-- Query #3328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid;

-- Query #3329 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid]);

-- Query #3330 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid;

-- Query #3331 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3332 | logged_duration_ms=5 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3de4c655-567c-a7ba-04d9-374d5b75c7b9'::uuid;

-- Query #3333 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'bcde980b28df12d5c3fb60f291ef59ba'
ORDER BY b."SortName", b."Name";

-- Query #3334 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3de4c655-567c-a7ba-04d9-374d5b75c7b9'::uuid]);

-- Query #3335 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3de4c655-567c-a7ba-04d9-374d5b75c7b9'::uuid;

-- Query #3336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3de4c655-567c-a7ba-04d9-374d5b75c7b9'::uuid, 'Imdb', 'tt5506368')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3de4c655-567c-a7ba-04d9-374d5b75c7b9'::uuid, 'Tmdb', 1189085)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3de4c655-567c-a7ba-04d9-374d5b75c7b9'::uuid, 'trakt', 2201380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3de4c655-567c-a7ba-04d9-374d5b75c7b9'::uuid, 'TvMaze', 702475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3de4c655-567c-a7ba-04d9-374d5b75c7b9'::uuid, 'Tvdb', 5574549)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3de4c655-567c-a7ba-04d9-374d5b75c7b9'::uuid, 'TmdbCollection', 1189085)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3342 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3de4c655-567c-a7ba-04d9-374d5b75c7b9'::uuid;

-- Query #3343 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3de4c655-567c-a7ba-04d9-374d5b75c7b9'::uuid;

-- Query #3344 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3de4c655-567c-a7ba-04d9-374d5b75c7b9'::uuid]);

-- Query #3345 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3de4c655-567c-a7ba-04d9-374d5b75c7b9'::uuid;

-- Query #3346 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3347 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid;

-- Query #3348 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b87a9da6-9f8d-16ef-e4f3-a64f585fe887'::uuid;

-- Query #3349 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid]);

-- Query #3350 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid;

-- Query #3351 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'Tvdb', 77963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'Tmdb', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'Imdb', 'tt0321021')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'TvMaze', 813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'TvRage', 6628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'Zap2It', 'EP00524080')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'TmdbCollection', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3358 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid;

-- Query #3359 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid;

-- Query #3360 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b87a9da6-9f8d-16ef-e4f3-a64f585fe887'::uuid]);

-- Query #3361 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b87a9da6-9f8d-16ef-e4f3-a64f585fe887'::uuid;

-- Query #3362 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b87a9da6-9f8d-16ef-e4f3-a64f585fe887'::uuid, 'Imdb', 'tt5342198')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3363 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b87a9da6-9f8d-16ef-e4f3-a64f585fe887'::uuid, 'Tmdb', 1167494)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3364 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b87a9da6-9f8d-16ef-e4f3-a64f585fe887'::uuid, 'trakt', 2133277)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3365 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b87a9da6-9f8d-16ef-e4f3-a64f585fe887'::uuid, 'TvMaze', 595725)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b87a9da6-9f8d-16ef-e4f3-a64f585fe887'::uuid, 'Tvdb', 5499966)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3367 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid]);

-- Query #3368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b87a9da6-9f8d-16ef-e4f3-a64f585fe887'::uuid, 'TmdbCollection', 1167494)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3369 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid;

-- Query #3370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b87a9da6-9f8d-16ef-e4f3-a64f585fe887'::uuid;

-- Query #3371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b87a9da6-9f8d-16ef-e4f3-a64f585fe887'::uuid;

-- Query #3372 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3373 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b87a9da6-9f8d-16ef-e4f3-a64f585fe887'::uuid]);

-- Query #3374 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b87a9da6-9f8d-16ef-e4f3-a64f585fe887'::uuid;

-- Query #3375 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3376 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #3377 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'bcde980b28df12d5c3fb60f291ef59ba'
ORDER BY b."SortName", b."Name";

-- Query #3378 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '024592b4-3f4e-ada9-7210-5c25b9424c60'::uuid;

-- Query #3379 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['024592b4-3f4e-ada9-7210-5c25b9424c60'::uuid]);

-- Query #3380 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '024592b4-3f4e-ada9-7210-5c25b9424c60'::uuid;

-- Query #3381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('024592b4-3f4e-ada9-7210-5c25b9424c60'::uuid, 'Imdb', 'tt5183328')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('024592b4-3f4e-ada9-7210-5c25b9424c60'::uuid, 'Tmdb', 1141848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('024592b4-3f4e-ada9-7210-5c25b9424c60'::uuid, 'trakt', 2055281)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('024592b4-3f4e-ada9-7210-5c25b9424c60'::uuid, 'TvMaze', 461943)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('024592b4-3f4e-ada9-7210-5c25b9424c60'::uuid, 'Tvdb', 5402736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('024592b4-3f4e-ada9-7210-5c25b9424c60'::uuid, 'TmdbCollection', 1141848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3387 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '024592b4-3f4e-ada9-7210-5c25b9424c60'::uuid;

-- Query #3388 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '024592b4-3f4e-ada9-7210-5c25b9424c60'::uuid;

-- Query #3389 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['024592b4-3f4e-ada9-7210-5c25b9424c60'::uuid]);

-- Query #3390 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '024592b4-3f4e-ada9-7210-5c25b9424c60'::uuid;

-- Query #3391 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3392 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '85b15683-9cbc-7978-4a85-d53df455c9db'::uuid;

-- Query #3393 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85b15683-9cbc-7978-4a85-d53df455c9db'::uuid]);

-- Query #3394 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '85b15683-9cbc-7978-4a85-d53df455c9db'::uuid;

-- Query #3395 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85b15683-9cbc-7978-4a85-d53df455c9db'::uuid, 'Imdb', 'tt4417118')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85b15683-9cbc-7978-4a85-d53df455c9db'::uuid, 'Tmdb', 1113245)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3397 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid;

-- Query #3398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85b15683-9cbc-7978-4a85-d53df455c9db'::uuid, 'trakt', 1895580)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85b15683-9cbc-7978-4a85-d53df455c9db'::uuid, 'TvMaze', 202566)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85b15683-9cbc-7978-4a85-d53df455c9db'::uuid, 'Tvdb', 5248072)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85b15683-9cbc-7978-4a85-d53df455c9db'::uuid, 'TmdbCollection', 1113245)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3402 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '85b15683-9cbc-7978-4a85-d53df455c9db'::uuid;

-- Query #3403 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '85b15683-9cbc-7978-4a85-d53df455c9db'::uuid;

-- Query #3404 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid]);

-- Query #3405 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['85b15683-9cbc-7978-4a85-d53df455c9db'::uuid]);

-- Query #3406 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid;

-- Query #3407 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'Tvdb', 77963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3408 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'Tmdb', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3409 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '85b15683-9cbc-7978-4a85-d53df455c9db'::uuid;

-- Query #3410 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'Imdb', 'tt0321021')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3411 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3412 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'TvMaze', 813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'TvRage', 6628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'Zap2It', 'EP00524080')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'TmdbCollection', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3416 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid;

-- Query #3417 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid;

-- Query #3418 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid]);

-- Query #3419 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid;

-- Query #3420 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3421 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'bcde980b28df12d5c3fb60f291ef59ba'
ORDER BY b."SortName", b."Name";

-- Query #3422 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78069dcc-ea23-1549-79c8-c6afe82ffe30'::uuid;

-- Query #3423 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78069dcc-ea23-1549-79c8-c6afe82ffe30'::uuid]);

-- Query #3424 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '78069dcc-ea23-1549-79c8-c6afe82ffe30'::uuid;

-- Query #3425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78069dcc-ea23-1549-79c8-c6afe82ffe30'::uuid, 'Imdb', 'tt5163858')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78069dcc-ea23-1549-79c8-c6afe82ffe30'::uuid, 'Tmdb', 1155627)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78069dcc-ea23-1549-79c8-c6afe82ffe30'::uuid, 'trakt', 2070415)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78069dcc-ea23-1549-79c8-c6afe82ffe30'::uuid, 'TvMaze', 527851)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78069dcc-ea23-1549-79c8-c6afe82ffe30'::uuid, 'Tvdb', 5420529)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78069dcc-ea23-1549-79c8-c6afe82ffe30'::uuid, 'TmdbCollection', 1155627)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3431 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78069dcc-ea23-1549-79c8-c6afe82ffe30'::uuid;

-- Query #3432 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '78069dcc-ea23-1549-79c8-c6afe82ffe30'::uuid;

-- Query #3433 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['78069dcc-ea23-1549-79c8-c6afe82ffe30'::uuid]);

-- Query #3434 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '78069dcc-ea23-1549-79c8-c6afe82ffe30'::uuid;

-- Query #3435 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3436 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29121822-0757-f52b-3861-fff79d46089c'::uuid;

-- Query #3437 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d4618d3-f451-6581-d516-e46c68a5bf6c'::uuid;

-- Query #3438 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid]);

-- Query #3439 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '29121822-0757-f52b-3861-fff79d46089c'::uuid;

-- Query #3440 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29121822-0757-f52b-3861-fff79d46089c'::uuid, 'Tvdb', 77963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29121822-0757-f52b-3861-fff79d46089c'::uuid, 'Tmdb', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29121822-0757-f52b-3861-fff79d46089c'::uuid, 'Imdb', 'tt0321021')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29121822-0757-f52b-3861-fff79d46089c'::uuid, 'TvMaze', 813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29121822-0757-f52b-3861-fff79d46089c'::uuid, 'TvRage', 6628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29121822-0757-f52b-3861-fff79d46089c'::uuid, 'Zap2It', 'EP00524080')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29121822-0757-f52b-3861-fff79d46089c'::uuid, 'TmdbCollection', 2593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3447 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29121822-0757-f52b-3861-fff79d46089c'::uuid;

-- Query #3448 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '29121822-0757-f52b-3861-fff79d46089c'::uuid;

-- Query #3449 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9d4618d3-f451-6581-d516-e46c68a5bf6c'::uuid]);

-- Query #3450 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9d4618d3-f451-6581-d516-e46c68a5bf6c'::uuid;

-- Query #3451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d4618d3-f451-6581-d516-e46c68a5bf6c'::uuid, 'Imdb', 'tt5685644')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3452 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d4618d3-f451-6581-d516-e46c68a5bf6c'::uuid, 'Tmdb', 1189086)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3453 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d4618d3-f451-6581-d516-e46c68a5bf6c'::uuid, 'trakt', 2202862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3454 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d4618d3-f451-6581-d516-e46c68a5bf6c'::uuid, 'TvMaze', 698439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3455 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d4618d3-f451-6581-d516-e46c68a5bf6c'::uuid, 'Tvdb', 5575400)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d4618d3-f451-6581-d516-e46c68a5bf6c'::uuid, 'TmdbCollection', 1189086)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3457 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid]);

-- Query #3458 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d4618d3-f451-6581-d516-e46c68a5bf6c'::uuid;

-- Query #3459 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '29121822-0757-f52b-3861-fff79d46089c'::uuid;

-- Query #3460 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9d4618d3-f451-6581-d516-e46c68a5bf6c'::uuid;

-- Query #3461 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3462 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9d4618d3-f451-6581-d516-e46c68a5bf6c'::uuid]);

-- Query #3463 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9d4618d3-f451-6581-d516-e46c68a5bf6c'::uuid;

-- Query #3464 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3465 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '641d12ef-3510-8140-442a-160a419d012b'::uuid;

-- Query #3466 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['641d12ef-3510-8140-442a-160a419d012b'::uuid]);

-- Query #3467 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '641d12ef-3510-8140-442a-160a419d012b'::uuid;

-- Query #3468 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('641d12ef-3510-8140-442a-160a419d012b'::uuid, 'Imdb', 'tt0749648')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('641d12ef-3510-8140-442a-160a419d012b'::uuid, 'Tmdb', 199886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('641d12ef-3510-8140-442a-160a419d012b'::uuid, 'TvMaze', 72825)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('641d12ef-3510-8140-442a-160a419d012b'::uuid, 'Tvdb', 266335)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('641d12ef-3510-8140-442a-160a419d012b'::uuid, 'TvRage', 233769)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3473 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('641d12ef-3510-8140-442a-160a419d012b'::uuid, 'trakt', 211112)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('641d12ef-3510-8140-442a-160a419d012b'::uuid, 'TmdbCollection', 199886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3475 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '641d12ef-3510-8140-442a-160a419d012b'::uuid;

-- Query #3476 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '641d12ef-3510-8140-442a-160a419d012b'::uuid;

-- Query #3477 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['641d12ef-3510-8140-442a-160a419d012b'::uuid]);

-- Query #3478 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '641d12ef-3510-8140-442a-160a419d012b'::uuid;

-- Query #3479 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3480 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e09642f-22c1-b84e-8b46-af1fd234d4e4'::uuid;

-- Query #3481 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6e09642f-22c1-b84e-8b46-af1fd234d4e4'::uuid]);

-- Query #3482 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6e09642f-22c1-b84e-8b46-af1fd234d4e4'::uuid;

-- Query #3483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e09642f-22c1-b84e-8b46-af1fd234d4e4'::uuid, 'Imdb', 'tt4940742')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3484 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e09642f-22c1-b84e-8b46-af1fd234d4e4'::uuid, 'Tmdb', 1131750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e09642f-22c1-b84e-8b46-af1fd234d4e4'::uuid, 'trakt', 2013986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e09642f-22c1-b84e-8b46-af1fd234d4e4'::uuid, 'TvMaze', 347909)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e09642f-22c1-b84e-8b46-af1fd234d4e4'::uuid, 'Tvdb', 5354812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e09642f-22c1-b84e-8b46-af1fd234d4e4'::uuid, 'TmdbCollection', 1131750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3489 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e09642f-22c1-b84e-8b46-af1fd234d4e4'::uuid;

-- Query #3490 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6e09642f-22c1-b84e-8b46-af1fd234d4e4'::uuid;

-- Query #3491 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ce70add-6a09-2471-989b-43bb6eb274af'::uuid;

-- Query #3492 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6e09642f-22c1-b84e-8b46-af1fd234d4e4'::uuid]);

-- Query #3493 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6e09642f-22c1-b84e-8b46-af1fd234d4e4'::uuid;

-- Query #3494 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3495 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ce70add-6a09-2471-989b-43bb6eb274af'::uuid]);

-- Query #3496 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5ce70add-6a09-2471-989b-43bb6eb274af'::uuid;

-- Query #3497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ce70add-6a09-2471-989b-43bb6eb274af'::uuid, 'TmdbCollection', 199841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ce70add-6a09-2471-989b-43bb6eb274af'::uuid, 'Imdb', 'tt0749650')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ce70add-6a09-2471-989b-43bb6eb274af'::uuid, 'Tmdb', 199841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ce70add-6a09-2471-989b-43bb6eb274af'::uuid, 'TvMaze', 72808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ce70add-6a09-2471-989b-43bb6eb274af'::uuid, 'Tvdb', 266318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ce70add-6a09-2471-989b-43bb6eb274af'::uuid, 'TvRage', 233752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ce70add-6a09-2471-989b-43bb6eb274af'::uuid, 'trakt', 211095)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3504 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ce70add-6a09-2471-989b-43bb6eb274af'::uuid;

-- Query #3505 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5ce70add-6a09-2471-989b-43bb6eb274af'::uuid;

-- Query #3506 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5ce70add-6a09-2471-989b-43bb6eb274af'::uuid]);

-- Query #3507 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5ce70add-6a09-2471-989b-43bb6eb274af'::uuid;

-- Query #3508 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3509 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '35a6ac33-31d4-9c1e-af8f-e210224417d2'::uuid;

-- Query #3510 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['35a6ac33-31d4-9c1e-af8f-e210224417d2'::uuid]);

-- Query #3511 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '35a6ac33-31d4-9c1e-af8f-e210224417d2'::uuid;

-- Query #3512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a6ac33-31d4-9c1e-af8f-e210224417d2'::uuid, 'Imdb', 'tt4967378')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a6ac33-31d4-9c1e-af8f-e210224417d2'::uuid, 'Tmdb', 1132665)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a6ac33-31d4-9c1e-af8f-e210224417d2'::uuid, 'trakt', 2034119)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a6ac33-31d4-9c1e-af8f-e210224417d2'::uuid, 'TvMaze', 414642)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a6ac33-31d4-9c1e-af8f-e210224417d2'::uuid, 'Tvdb', 5377864)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a6ac33-31d4-9c1e-af8f-e210224417d2'::uuid, 'TmdbCollection', 1132665)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3518 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '35a6ac33-31d4-9c1e-af8f-e210224417d2'::uuid;

-- Query #3519 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '35a6ac33-31d4-9c1e-af8f-e210224417d2'::uuid;

-- Query #3520 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '614b4b44-9945-cc69-0362-376e5d642bc0'::uuid;

-- Query #3521 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['35a6ac33-31d4-9c1e-af8f-e210224417d2'::uuid]);

-- Query #3522 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '35a6ac33-31d4-9c1e-af8f-e210224417d2'::uuid;

-- Query #3523 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e65363-25ed-708c-d99a-7ba701bd5954'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3524 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['614b4b44-9945-cc69-0362-376e5d642bc0'::uuid]);

-- Query #3525 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '614b4b44-9945-cc69-0362-376e5d642bc0'::uuid;

-- Query #3526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('614b4b44-9945-cc69-0362-376e5d642bc0'::uuid, 'Imdb', 'tt0749651')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3527 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('614b4b44-9945-cc69-0362-376e5d642bc0'::uuid, 'Tmdb', 199836)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3528 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('614b4b44-9945-cc69-0362-376e5d642bc0'::uuid, 'TvMaze', 72806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3529 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('614b4b44-9945-cc69-0362-376e5d642bc0'::uuid, 'Tvdb', 266316)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3530 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('614b4b44-9945-cc69-0362-376e5d642bc0'::uuid, 'TvRage', 233750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('614b4b44-9945-cc69-0362-376e5d642bc0'::uuid, 'trakt', 211093)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('614b4b44-9945-cc69-0362-376e5d642bc0'::uuid, 'TmdbCollection', 199836)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3533 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '614b4b44-9945-cc69-0362-376e5d642bc0'::uuid;

-- Query #3534 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '614b4b44-9945-cc69-0362-376e5d642bc0'::uuid;

-- Query #3535 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['614b4b44-9945-cc69-0362-376e5d642bc0'::uuid]);

-- Query #3536 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '614b4b44-9945-cc69-0362-376e5d642bc0'::uuid;

-- Query #3537 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3538 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6414af45-aade-3527-df57-5370610ff901'::uuid;

-- Query #3539 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6414af45-aade-3527-df57-5370610ff901'::uuid]);

-- Query #3540 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6414af45-aade-3527-df57-5370610ff901'::uuid;

-- Query #3541 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6414af45-aade-3527-df57-5370610ff901'::uuid, 'Imdb', 'tt6704616')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3542 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6414af45-aade-3527-df57-5370610ff901'::uuid, 'Tmdb', 1313830)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3543 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6414af45-aade-3527-df57-5370610ff901'::uuid, 'trakt', 2491200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3544 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8f438e27-78d6-4a54-6bbf-dce135c7b7c9'::uuid;

-- Query #3545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6414af45-aade-3527-df57-5370610ff901'::uuid, 'TvMaze', 1107596)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6414af45-aade-3527-df57-5370610ff901'::uuid, 'Tvdb', 6043969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6414af45-aade-3527-df57-5370610ff901'::uuid, 'TmdbCollection', 1313830)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3548 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6414af45-aade-3527-df57-5370610ff901'::uuid;

-- Query #3549 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6414af45-aade-3527-df57-5370610ff901'::uuid;

-- Query #3550 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6414af45-aade-3527-df57-5370610ff901'::uuid]);

-- Query #3551 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f438e27-78d6-4a54-6bbf-dce135c7b7c9'::uuid]);

-- Query #3552 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6414af45-aade-3527-df57-5370610ff901'::uuid;

-- Query #3553 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8f438e27-78d6-4a54-6bbf-dce135c7b7c9'::uuid;

-- Query #3554 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f438e27-78d6-4a54-6bbf-dce135c7b7c9'::uuid, 'Imdb', 'tt0749653')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3556 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f438e27-78d6-4a54-6bbf-dce135c7b7c9'::uuid, 'Tmdb', 199875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3557 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f438e27-78d6-4a54-6bbf-dce135c7b7c9'::uuid, 'TvMaze', 72820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3558 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f438e27-78d6-4a54-6bbf-dce135c7b7c9'::uuid, 'Tvdb', 266330)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3559 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f438e27-78d6-4a54-6bbf-dce135c7b7c9'::uuid, 'TvRage', 233764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f438e27-78d6-4a54-6bbf-dce135c7b7c9'::uuid, 'trakt', 211107)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f438e27-78d6-4a54-6bbf-dce135c7b7c9'::uuid, 'TmdbCollection', 199875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3562 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8f438e27-78d6-4a54-6bbf-dce135c7b7c9'::uuid;

-- Query #3563 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8f438e27-78d6-4a54-6bbf-dce135c7b7c9'::uuid;

-- Query #3564 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8f438e27-78d6-4a54-6bbf-dce135c7b7c9'::uuid]);

-- Query #3565 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8f438e27-78d6-4a54-6bbf-dce135c7b7c9'::uuid;

-- Query #3566 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b691e5ca-77a0-b880-9400-acafc01885ec'::uuid;

-- Query #3568 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0ce4371-df1e-2e81-5f03-7b59f3035909'::uuid;

-- Query #3569 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b691e5ca-77a0-b880-9400-acafc01885ec'::uuid]);

-- Query #3570 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b691e5ca-77a0-b880-9400-acafc01885ec'::uuid;

-- Query #3571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b691e5ca-77a0-b880-9400-acafc01885ec'::uuid, 'Imdb', 'tt0749661')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3572 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b691e5ca-77a0-b880-9400-acafc01885ec'::uuid, 'Tmdb', 199887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3573 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b691e5ca-77a0-b880-9400-acafc01885ec'::uuid, 'TvMaze', 72826)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3574 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b691e5ca-77a0-b880-9400-acafc01885ec'::uuid, 'Tvdb', 266336)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b691e5ca-77a0-b880-9400-acafc01885ec'::uuid, 'TvRage', 233770)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b691e5ca-77a0-b880-9400-acafc01885ec'::uuid, 'trakt', 211113)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b691e5ca-77a0-b880-9400-acafc01885ec'::uuid, 'TmdbCollection', 199887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3578 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0ce4371-df1e-2e81-5f03-7b59f3035909'::uuid]);

-- Query #3579 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b691e5ca-77a0-b880-9400-acafc01885ec'::uuid;

-- Query #3580 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b691e5ca-77a0-b880-9400-acafc01885ec'::uuid;

-- Query #3581 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c0ce4371-df1e-2e81-5f03-7b59f3035909'::uuid;

-- Query #3582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0ce4371-df1e-2e81-5f03-7b59f3035909'::uuid, 'Imdb', 'tt6255198')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0ce4371-df1e-2e81-5f03-7b59f3035909'::uuid, 'Tmdb', 1255582)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0ce4371-df1e-2e81-5f03-7b59f3035909'::uuid, 'trakt', 2454220)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0ce4371-df1e-2e81-5f03-7b59f3035909'::uuid, 'TvMaze', 1038708)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0ce4371-df1e-2e81-5f03-7b59f3035909'::uuid, 'Tvdb', 5906321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3587 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0ce4371-df1e-2e81-5f03-7b59f3035909'::uuid, 'TmdbCollection', 1255582)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3588 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0ce4371-df1e-2e81-5f03-7b59f3035909'::uuid;

-- Query #3589 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c0ce4371-df1e-2e81-5f03-7b59f3035909'::uuid;

-- Query #3590 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b691e5ca-77a0-b880-9400-acafc01885ec'::uuid]);

-- Query #3591 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b691e5ca-77a0-b880-9400-acafc01885ec'::uuid;

-- Query #3592 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3593 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c0ce4371-df1e-2e81-5f03-7b59f3035909'::uuid]);

-- Query #3594 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c0ce4371-df1e-2e81-5f03-7b59f3035909'::uuid;

-- Query #3595 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3596 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f5e896e7-5791-39df-1321-0d10eda450d4'::uuid;

-- Query #3597 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5e896e7-5791-39df-1321-0d10eda450d4'::uuid]);

-- Query #3598 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ddf703ab-e6e9-2f95-eb80-81162f3b7635'::uuid;

-- Query #3599 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f5e896e7-5791-39df-1321-0d10eda450d4'::uuid;

-- Query #3600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f5e896e7-5791-39df-1321-0d10eda450d4'::uuid, 'Imdb', 'tt0749710')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f5e896e7-5791-39df-1321-0d10eda450d4'::uuid, 'Tmdb', 199868)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f5e896e7-5791-39df-1321-0d10eda450d4'::uuid, 'TvMaze', 72818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3603 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f5e896e7-5791-39df-1321-0d10eda450d4'::uuid, 'Tvdb', 266328)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f5e896e7-5791-39df-1321-0d10eda450d4'::uuid, 'TvRage', 233762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3605 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f5e896e7-5791-39df-1321-0d10eda450d4'::uuid, 'trakt', 211105)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3606 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f5e896e7-5791-39df-1321-0d10eda450d4'::uuid, 'TmdbCollection', 199868)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3607 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f5e896e7-5791-39df-1321-0d10eda450d4'::uuid;

-- Query #3608 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f5e896e7-5791-39df-1321-0d10eda450d4'::uuid;

-- Query #3609 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ddf703ab-e6e9-2f95-eb80-81162f3b7635'::uuid]);

-- Query #3610 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ddf703ab-e6e9-2f95-eb80-81162f3b7635'::uuid;

-- Query #3611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ddf703ab-e6e9-2f95-eb80-81162f3b7635'::uuid, 'Imdb', 'tt6391210')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ddf703ab-e6e9-2f95-eb80-81162f3b7635'::uuid, 'Tmdb', 1276200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ddf703ab-e6e9-2f95-eb80-81162f3b7635'::uuid, 'trakt', 2484949)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3614 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f5e896e7-5791-39df-1321-0d10eda450d4'::uuid]);

-- Query #3615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ddf703ab-e6e9-2f95-eb80-81162f3b7635'::uuid, 'TvMaze', 1075770)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ddf703ab-e6e9-2f95-eb80-81162f3b7635'::uuid, 'Tvdb', 5950049)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3617 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f5e896e7-5791-39df-1321-0d10eda450d4'::uuid;

-- Query #3618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ddf703ab-e6e9-2f95-eb80-81162f3b7635'::uuid, 'TmdbCollection', 1276200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3619 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3620 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ddf703ab-e6e9-2f95-eb80-81162f3b7635'::uuid;

-- Query #3621 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ddf703ab-e6e9-2f95-eb80-81162f3b7635'::uuid;

-- Query #3622 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ddf703ab-e6e9-2f95-eb80-81162f3b7635'::uuid]);

-- Query #3623 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ddf703ab-e6e9-2f95-eb80-81162f3b7635'::uuid;

-- Query #3624 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3625 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '452d460f-dd0c-8a3d-683c-2538fadce7ee'::uuid;

-- Query #3626 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b6b45cd6-cd4f-6d38-d195-6ba2a83aa3d1'::uuid;

-- Query #3627 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['452d460f-dd0c-8a3d-683c-2538fadce7ee'::uuid]);

-- Query #3628 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '452d460f-dd0c-8a3d-683c-2538fadce7ee'::uuid;

-- Query #3629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('452d460f-dd0c-8a3d-683c-2538fadce7ee'::uuid, 'Imdb', 'tt6116022')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('452d460f-dd0c-8a3d-683c-2538fadce7ee'::uuid, 'Tmdb', 1239065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3631 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('452d460f-dd0c-8a3d-683c-2538fadce7ee'::uuid, 'trakt', 2317781)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3632 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('452d460f-dd0c-8a3d-683c-2538fadce7ee'::uuid, 'TvMaze', 979631)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3633 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b6b45cd6-cd4f-6d38-d195-6ba2a83aa3d1'::uuid]);

-- Query #3634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('452d460f-dd0c-8a3d-683c-2538fadce7ee'::uuid, 'Tvdb', 5821330)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3635 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b6b45cd6-cd4f-6d38-d195-6ba2a83aa3d1'::uuid;

-- Query #3636 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('452d460f-dd0c-8a3d-683c-2538fadce7ee'::uuid, 'TmdbCollection', 1239065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6b45cd6-cd4f-6d38-d195-6ba2a83aa3d1'::uuid, 'Imdb', 'tt0749670')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3638 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '452d460f-dd0c-8a3d-683c-2538fadce7ee'::uuid;

-- Query #3639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6b45cd6-cd4f-6d38-d195-6ba2a83aa3d1'::uuid, 'Tmdb', 199854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3640 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '452d460f-dd0c-8a3d-683c-2538fadce7ee'::uuid;

-- Query #3641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6b45cd6-cd4f-6d38-d195-6ba2a83aa3d1'::uuid, 'TvMaze', 72813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6b45cd6-cd4f-6d38-d195-6ba2a83aa3d1'::uuid, 'Tvdb', 266323)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6b45cd6-cd4f-6d38-d195-6ba2a83aa3d1'::uuid, 'TvRage', 233757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6b45cd6-cd4f-6d38-d195-6ba2a83aa3d1'::uuid, 'trakt', 211100)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6b45cd6-cd4f-6d38-d195-6ba2a83aa3d1'::uuid, 'TmdbCollection', 199854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3646 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b6b45cd6-cd4f-6d38-d195-6ba2a83aa3d1'::uuid;

-- Query #3647 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b6b45cd6-cd4f-6d38-d195-6ba2a83aa3d1'::uuid;

-- Query #3648 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['452d460f-dd0c-8a3d-683c-2538fadce7ee'::uuid]);

-- Query #3649 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '452d460f-dd0c-8a3d-683c-2538fadce7ee'::uuid;

-- Query #3650 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3651 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b6b45cd6-cd4f-6d38-d195-6ba2a83aa3d1'::uuid]);

-- Query #3652 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b6b45cd6-cd4f-6d38-d195-6ba2a83aa3d1'::uuid;

-- Query #3653 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3654 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4897e44b-8bc4-296f-a99c-e2ab0df29e9f'::uuid;

-- Query #3655 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '024d75c9-f8ab-82cb-a4e2-d9d246cfec14'::uuid;

-- Query #3656 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4897e44b-8bc4-296f-a99c-e2ab0df29e9f'::uuid]);

-- Query #3657 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4897e44b-8bc4-296f-a99c-e2ab0df29e9f'::uuid;

-- Query #3658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4897e44b-8bc4-296f-a99c-e2ab0df29e9f'::uuid, 'Imdb', 'tt0749673')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4897e44b-8bc4-296f-a99c-e2ab0df29e9f'::uuid, 'Tmdb', 199882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4897e44b-8bc4-296f-a99c-e2ab0df29e9f'::uuid, 'TvMaze', 72821)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3661 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4897e44b-8bc4-296f-a99c-e2ab0df29e9f'::uuid, 'Tvdb', 266331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3662 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4897e44b-8bc4-296f-a99c-e2ab0df29e9f'::uuid, 'TvRage', 233765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3663 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4897e44b-8bc4-296f-a99c-e2ab0df29e9f'::uuid, 'trakt', 211108)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3664 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4897e44b-8bc4-296f-a99c-e2ab0df29e9f'::uuid, 'TmdbCollection', 199882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3665 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4897e44b-8bc4-296f-a99c-e2ab0df29e9f'::uuid;

-- Query #3666 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4897e44b-8bc4-296f-a99c-e2ab0df29e9f'::uuid;

-- Query #3667 | logged_duration_ms=6 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['024d75c9-f8ab-82cb-a4e2-d9d246cfec14'::uuid]);

-- Query #3668 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '024d75c9-f8ab-82cb-a4e2-d9d246cfec14'::uuid;

-- Query #3669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('024d75c9-f8ab-82cb-a4e2-d9d246cfec14'::uuid, 'Imdb', 'tt6507150')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('024d75c9-f8ab-82cb-a4e2-d9d246cfec14'::uuid, 'Tmdb', 1288886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('024d75c9-f8ab-82cb-a4e2-d9d246cfec14'::uuid, 'trakt', 2491194)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('024d75c9-f8ab-82cb-a4e2-d9d246cfec14'::uuid, 'Tvdb', 5989431)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('024d75c9-f8ab-82cb-a4e2-d9d246cfec14'::uuid, 'TmdbCollection', 1288886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('024d75c9-f8ab-82cb-a4e2-d9d246cfec14'::uuid, 'TvMaze', 1088337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3675 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '024d75c9-f8ab-82cb-a4e2-d9d246cfec14'::uuid;

-- Query #3676 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4897e44b-8bc4-296f-a99c-e2ab0df29e9f'::uuid]);

-- Query #3677 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '024d75c9-f8ab-82cb-a4e2-d9d246cfec14'::uuid;

-- Query #3678 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4897e44b-8bc4-296f-a99c-e2ab0df29e9f'::uuid;

-- Query #3679 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3680 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['024d75c9-f8ab-82cb-a4e2-d9d246cfec14'::uuid]);

-- Query #3681 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '024d75c9-f8ab-82cb-a4e2-d9d246cfec14'::uuid;

-- Query #3682 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3683 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7983cc36-adc0-b3e5-4172-02f88888b2d8'::uuid;

-- Query #3684 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd4df70d0-69a5-9d1f-6e45-a58a2e92e0d8'::uuid;

-- Query #3685 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7983cc36-adc0-b3e5-4172-02f88888b2d8'::uuid]);

-- Query #3686 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7983cc36-adc0-b3e5-4172-02f88888b2d8'::uuid;

-- Query #3687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7983cc36-adc0-b3e5-4172-02f88888b2d8'::uuid, 'Imdb', 'tt0749677')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7983cc36-adc0-b3e5-4172-02f88888b2d8'::uuid, 'Tmdb', 199852)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3689 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d4df70d0-69a5-9d1f-6e45-a58a2e92e0d8'::uuid]);

-- Query #3690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7983cc36-adc0-b3e5-4172-02f88888b2d8'::uuid, 'TvMaze', 72812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7983cc36-adc0-b3e5-4172-02f88888b2d8'::uuid, 'Tvdb', 266322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3692 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd4df70d0-69a5-9d1f-6e45-a58a2e92e0d8'::uuid;

-- Query #3693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7983cc36-adc0-b3e5-4172-02f88888b2d8'::uuid, 'TvRage', 233756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3694 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4df70d0-69a5-9d1f-6e45-a58a2e92e0d8'::uuid, 'Imdb', 'tt6391200')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3695 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7983cc36-adc0-b3e5-4172-02f88888b2d8'::uuid, 'trakt', 211099)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3696 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4df70d0-69a5-9d1f-6e45-a58a2e92e0d8'::uuid, 'Tmdb', 1252188)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3697 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7983cc36-adc0-b3e5-4172-02f88888b2d8'::uuid, 'TmdbCollection', 199852)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3698 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4df70d0-69a5-9d1f-6e45-a58a2e92e0d8'::uuid, 'trakt', 2441312)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3699 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7983cc36-adc0-b3e5-4172-02f88888b2d8'::uuid;

-- Query #3700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4df70d0-69a5-9d1f-6e45-a58a2e92e0d8'::uuid, 'TvMaze', 1010723)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3701 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7983cc36-adc0-b3e5-4172-02f88888b2d8'::uuid;

-- Query #3702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4df70d0-69a5-9d1f-6e45-a58a2e92e0d8'::uuid, 'Tvdb', 5887034)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4df70d0-69a5-9d1f-6e45-a58a2e92e0d8'::uuid, 'TmdbCollection', 1252188)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3704 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd4df70d0-69a5-9d1f-6e45-a58a2e92e0d8'::uuid;

-- Query #3705 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd4df70d0-69a5-9d1f-6e45-a58a2e92e0d8'::uuid;

-- Query #3706 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7983cc36-adc0-b3e5-4172-02f88888b2d8'::uuid]);

-- Query #3707 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7983cc36-adc0-b3e5-4172-02f88888b2d8'::uuid;

-- Query #3708 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3709 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d4df70d0-69a5-9d1f-6e45-a58a2e92e0d8'::uuid]);

-- Query #3710 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd4df70d0-69a5-9d1f-6e45-a58a2e92e0d8'::uuid;

-- Query #3711 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3712 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6465e85-95d6-58b0-8684-f720a80a145b'::uuid;

-- Query #3713 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3472b5b5-358e-e65c-0fbf-076ea37d7ef9'::uuid;

-- Query #3714 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6465e85-95d6-58b0-8684-f720a80a145b'::uuid]);

-- Query #3715 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e6465e85-95d6-58b0-8684-f720a80a145b'::uuid;

-- Query #3716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6465e85-95d6-58b0-8684-f720a80a145b'::uuid, 'Imdb', 'tt0749683')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3717 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3472b5b5-358e-e65c-0fbf-076ea37d7ef9'::uuid]);

-- Query #3718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6465e85-95d6-58b0-8684-f720a80a145b'::uuid, 'Tmdb', 199855)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6465e85-95d6-58b0-8684-f720a80a145b'::uuid, 'TvMaze', 72815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3720 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3472b5b5-358e-e65c-0fbf-076ea37d7ef9'::uuid;

-- Query #3721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6465e85-95d6-58b0-8684-f720a80a145b'::uuid, 'Tvdb', 266325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3472b5b5-358e-e65c-0fbf-076ea37d7ef9'::uuid, 'Imdb', 'tt5923938')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6465e85-95d6-58b0-8684-f720a80a145b'::uuid, 'TvRage', 233759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3472b5b5-358e-e65c-0fbf-076ea37d7ef9'::uuid, 'Tmdb', 1229965)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6465e85-95d6-58b0-8684-f720a80a145b'::uuid, 'trakt', 211102)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3726 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3472b5b5-358e-e65c-0fbf-076ea37d7ef9'::uuid, 'trakt', 2317774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3727 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3472b5b5-358e-e65c-0fbf-076ea37d7ef9'::uuid, 'TvMaze', 953132)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6465e85-95d6-58b0-8684-f720a80a145b'::uuid, 'TmdbCollection', 199855)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3729 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3472b5b5-358e-e65c-0fbf-076ea37d7ef9'::uuid, 'Tvdb', 5720109)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3730 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6465e85-95d6-58b0-8684-f720a80a145b'::uuid;

-- Query #3731 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3472b5b5-358e-e65c-0fbf-076ea37d7ef9'::uuid, 'TmdbCollection', 1229965)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3732 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e6465e85-95d6-58b0-8684-f720a80a145b'::uuid;

-- Query #3733 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3472b5b5-358e-e65c-0fbf-076ea37d7ef9'::uuid;

-- Query #3734 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3472b5b5-358e-e65c-0fbf-076ea37d7ef9'::uuid;

-- Query #3735 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e6465e85-95d6-58b0-8684-f720a80a145b'::uuid]);

-- Query #3736 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3472b5b5-358e-e65c-0fbf-076ea37d7ef9'::uuid]);

-- Query #3737 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e6465e85-95d6-58b0-8684-f720a80a145b'::uuid;

-- Query #3738 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3739 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3472b5b5-358e-e65c-0fbf-076ea37d7ef9'::uuid;

-- Query #3740 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3741 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5847d47b-e98c-1631-2126-f77df7a5ca65'::uuid;

-- Query #3742 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5847d47b-e98c-1631-2126-f77df7a5ca65'::uuid]);

-- Query #3743 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5847d47b-e98c-1631-2126-f77df7a5ca65'::uuid;

-- Query #3744 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '94289e5a-3aea-0532-3f7b-ebbadfa94d01'::uuid;

-- Query #3745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5847d47b-e98c-1631-2126-f77df7a5ca65'::uuid, 'Imdb', 'tt0749684')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5847d47b-e98c-1631-2126-f77df7a5ca65'::uuid, 'Tmdb', 199889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5847d47b-e98c-1631-2126-f77df7a5ca65'::uuid, 'trakt', 211101)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5847d47b-e98c-1631-2126-f77df7a5ca65'::uuid, 'TvMaze', 72814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5847d47b-e98c-1631-2126-f77df7a5ca65'::uuid, 'Tvdb', 266324)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5847d47b-e98c-1631-2126-f77df7a5ca65'::uuid, 'TmdbCollection', 199889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3751 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5847d47b-e98c-1631-2126-f77df7a5ca65'::uuid;

-- Query #3752 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5847d47b-e98c-1631-2126-f77df7a5ca65'::uuid;

-- Query #3753 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['94289e5a-3aea-0532-3f7b-ebbadfa94d01'::uuid]);

-- Query #3754 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '94289e5a-3aea-0532-3f7b-ebbadfa94d01'::uuid;

-- Query #3755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94289e5a-3aea-0532-3f7b-ebbadfa94d01'::uuid, 'Imdb', 'tt6591856')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94289e5a-3aea-0532-3f7b-ebbadfa94d01'::uuid, 'Tmdb', 1304319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3757 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94289e5a-3aea-0532-3f7b-ebbadfa94d01'::uuid, 'trakt', 2491197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3758 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94289e5a-3aea-0532-3f7b-ebbadfa94d01'::uuid, 'TvMaze', 1107593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3759 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94289e5a-3aea-0532-3f7b-ebbadfa94d01'::uuid, 'Tvdb', 6035796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3760 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94289e5a-3aea-0532-3f7b-ebbadfa94d01'::uuid, 'TmdbCollection', 1304319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3761 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '94289e5a-3aea-0532-3f7b-ebbadfa94d01'::uuid;

-- Query #3762 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5847d47b-e98c-1631-2126-f77df7a5ca65'::uuid]);

-- Query #3763 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '94289e5a-3aea-0532-3f7b-ebbadfa94d01'::uuid;

-- Query #3764 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5847d47b-e98c-1631-2126-f77df7a5ca65'::uuid;

-- Query #3765 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3766 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['94289e5a-3aea-0532-3f7b-ebbadfa94d01'::uuid]);

-- Query #3767 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '94289e5a-3aea-0532-3f7b-ebbadfa94d01'::uuid;

-- Query #3768 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3769 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1a12b02d-a297-f556-4f26-1dff9c418a84'::uuid;

-- Query #3770 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2003a38-d799-4c4b-547d-f245ec3c703b'::uuid;

-- Query #3771 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1a12b02d-a297-f556-4f26-1dff9c418a84'::uuid]);

-- Query #3772 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1a12b02d-a297-f556-4f26-1dff9c418a84'::uuid;

-- Query #3773 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a12b02d-a297-f556-4f26-1dff9c418a84'::uuid, 'Imdb', 'tt6081984')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3774 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a12b02d-a297-f556-4f26-1dff9c418a84'::uuid, 'Tmdb', 1232975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a12b02d-a297-f556-4f26-1dff9c418a84'::uuid, 'trakt', 2317775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a12b02d-a297-f556-4f26-1dff9c418a84'::uuid, 'TvMaze', 957619)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a12b02d-a297-f556-4f26-1dff9c418a84'::uuid, 'Tvdb', 5787223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a12b02d-a297-f556-4f26-1dff9c418a84'::uuid, 'TmdbCollection', 1232975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3779 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2003a38-d799-4c4b-547d-f245ec3c703b'::uuid]);

-- Query #3780 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1a12b02d-a297-f556-4f26-1dff9c418a84'::uuid;

-- Query #3781 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1a12b02d-a297-f556-4f26-1dff9c418a84'::uuid;

-- Query #3782 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd2003a38-d799-4c4b-547d-f245ec3c703b'::uuid;

-- Query #3783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2003a38-d799-4c4b-547d-f245ec3c703b'::uuid, 'Imdb', 'tt0749689')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2003a38-d799-4c4b-547d-f245ec3c703b'::uuid, 'Tmdb', 199885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2003a38-d799-4c4b-547d-f245ec3c703b'::uuid, 'TvMaze', 72824)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2003a38-d799-4c4b-547d-f245ec3c703b'::uuid, 'Tvdb', 266334)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2003a38-d799-4c4b-547d-f245ec3c703b'::uuid, 'TvRage', 233768)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3788 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2003a38-d799-4c4b-547d-f245ec3c703b'::uuid, 'trakt', 211111)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3789 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2003a38-d799-4c4b-547d-f245ec3c703b'::uuid, 'TmdbCollection', 199885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3790 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2003a38-d799-4c4b-547d-f245ec3c703b'::uuid;

-- Query #3791 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd2003a38-d799-4c4b-547d-f245ec3c703b'::uuid;

-- Query #3792 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1a12b02d-a297-f556-4f26-1dff9c418a84'::uuid]);

-- Query #3793 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1a12b02d-a297-f556-4f26-1dff9c418a84'::uuid;

-- Query #3794 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3795 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d2003a38-d799-4c4b-547d-f245ec3c703b'::uuid]);

-- Query #3796 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd2003a38-d799-4c4b-547d-f245ec3c703b'::uuid;

-- Query #3797 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3798 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '160a263e-12a4-09ef-bc50-5d0071db4f96'::uuid;

-- Query #3799 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['160a263e-12a4-09ef-bc50-5d0071db4f96'::uuid]);

-- Query #3800 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '160a263e-12a4-09ef-bc50-5d0071db4f96'::uuid;

-- Query #3801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('160a263e-12a4-09ef-bc50-5d0071db4f96'::uuid, 'Imdb', 'tt6351982')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('160a263e-12a4-09ef-bc50-5d0071db4f96'::uuid, 'Tmdb', 1252187)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('160a263e-12a4-09ef-bc50-5d0071db4f96'::uuid, 'trakt', 2421770)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('160a263e-12a4-09ef-bc50-5d0071db4f96'::uuid, 'TvMaze', 1010722)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3805 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8becd39-7865-dbcb-0982-e091a2648979'::uuid;

-- Query #3806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('160a263e-12a4-09ef-bc50-5d0071db4f96'::uuid, 'Tvdb', 5864720)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('160a263e-12a4-09ef-bc50-5d0071db4f96'::uuid, 'TmdbCollection', 1252187)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '160a263e-12a4-09ef-bc50-5d0071db4f96'::uuid;

-- Query #3809 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '160a263e-12a4-09ef-bc50-5d0071db4f96'::uuid;

-- Query #3810 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['160a263e-12a4-09ef-bc50-5d0071db4f96'::uuid]);

-- Query #3811 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '160a263e-12a4-09ef-bc50-5d0071db4f96'::uuid;

-- Query #3812 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3813 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8becd39-7865-dbcb-0982-e091a2648979'::uuid]);

-- Query #3814 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f8becd39-7865-dbcb-0982-e091a2648979'::uuid;

-- Query #3815 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8becd39-7865-dbcb-0982-e091a2648979'::uuid, 'Imdb', 'tt0749695')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3816 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8becd39-7865-dbcb-0982-e091a2648979'::uuid, 'Tmdb', 199832)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3817 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8becd39-7865-dbcb-0982-e091a2648979'::uuid, 'TvMaze', 72805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3818 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8becd39-7865-dbcb-0982-e091a2648979'::uuid, 'Tvdb', 266315)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8becd39-7865-dbcb-0982-e091a2648979'::uuid, 'TvRage', 233749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8becd39-7865-dbcb-0982-e091a2648979'::uuid, 'trakt', 211092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8becd39-7865-dbcb-0982-e091a2648979'::uuid, 'TmdbCollection', 199832)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3822 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8becd39-7865-dbcb-0982-e091a2648979'::uuid;

-- Query #3823 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f8becd39-7865-dbcb-0982-e091a2648979'::uuid;

-- Query #3824 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f8becd39-7865-dbcb-0982-e091a2648979'::uuid]);

-- Query #3825 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f8becd39-7865-dbcb-0982-e091a2648979'::uuid;

-- Query #3826 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3827 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7df4d24b-1235-af6e-c76c-8afa1c0cd098'::uuid;

-- Query #3828 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7df4d24b-1235-af6e-c76c-8afa1c0cd098'::uuid]);

-- Query #3829 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7df4d24b-1235-af6e-c76c-8afa1c0cd098'::uuid;

-- Query #3830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7df4d24b-1235-af6e-c76c-8afa1c0cd098'::uuid, 'Imdb', 'tt6591852')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7df4d24b-1235-af6e-c76c-8afa1c0cd098'::uuid, 'Tmdb', 1298126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7df4d24b-1235-af6e-c76c-8afa1c0cd098'::uuid, 'trakt', 2491196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7df4d24b-1235-af6e-c76c-8afa1c0cd098'::uuid, 'TvMaze', 1107592)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7df4d24b-1235-af6e-c76c-8afa1c0cd098'::uuid, 'Tvdb', 6026901)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7df4d24b-1235-af6e-c76c-8afa1c0cd098'::uuid, 'TmdbCollection', 1298126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7df4d24b-1235-af6e-c76c-8afa1c0cd098'::uuid;

-- Query #3837 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7df4d24b-1235-af6e-c76c-8afa1c0cd098'::uuid;

-- Query #3838 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c64f1176-1fa2-da20-45d8-a77700cf798b'::uuid;

-- Query #3839 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c64f1176-1fa2-da20-45d8-a77700cf798b'::uuid]);

-- Query #3840 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7df4d24b-1235-af6e-c76c-8afa1c0cd098'::uuid]);

-- Query #3841 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c64f1176-1fa2-da20-45d8-a77700cf798b'::uuid;

-- Query #3842 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7df4d24b-1235-af6e-c76c-8afa1c0cd098'::uuid;

-- Query #3843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c64f1176-1fa2-da20-45d8-a77700cf798b'::uuid, 'Imdb', 'tt0749704')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c64f1176-1fa2-da20-45d8-a77700cf798b'::uuid, 'Tmdb', 199845)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3845 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c64f1176-1fa2-da20-45d8-a77700cf798b'::uuid, 'TvMaze', 72810)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3847 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c64f1176-1fa2-da20-45d8-a77700cf798b'::uuid, 'Tvdb', 266320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3848 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c64f1176-1fa2-da20-45d8-a77700cf798b'::uuid, 'TvRage', 233754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3849 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c64f1176-1fa2-da20-45d8-a77700cf798b'::uuid, 'trakt', 211097)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c64f1176-1fa2-da20-45d8-a77700cf798b'::uuid, 'TmdbCollection', 199845)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3851 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c64f1176-1fa2-da20-45d8-a77700cf798b'::uuid;

-- Query #3852 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c64f1176-1fa2-da20-45d8-a77700cf798b'::uuid;

-- Query #3853 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c64f1176-1fa2-da20-45d8-a77700cf798b'::uuid]);

-- Query #3854 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c64f1176-1fa2-da20-45d8-a77700cf798b'::uuid;

-- Query #3855 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3856 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7ea95617-1e31-652c-bf54-5b42bc63eb75'::uuid;

-- Query #3857 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ea95617-1e31-652c-bf54-5b42bc63eb75'::uuid]);

-- Query #3858 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7ea95617-1e31-652c-bf54-5b42bc63eb75'::uuid;

-- Query #3859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ea95617-1e31-652c-bf54-5b42bc63eb75'::uuid, 'Imdb', 'tt6507152')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ea95617-1e31-652c-bf54-5b42bc63eb75'::uuid, 'Tmdb', 1296177)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3861 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52ac4d1c-9aa8-70f0-ee42-e626716f382d'::uuid;

-- Query #3862 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ea95617-1e31-652c-bf54-5b42bc63eb75'::uuid, 'trakt', 2491195)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ea95617-1e31-652c-bf54-5b42bc63eb75'::uuid, 'TvMaze', 1107591)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3864 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ea95617-1e31-652c-bf54-5b42bc63eb75'::uuid, 'Tvdb', 6000885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ea95617-1e31-652c-bf54-5b42bc63eb75'::uuid, 'TmdbCollection', 1296177)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3866 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7ea95617-1e31-652c-bf54-5b42bc63eb75'::uuid;

-- Query #3867 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7ea95617-1e31-652c-bf54-5b42bc63eb75'::uuid;

-- Query #3868 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7ea95617-1e31-652c-bf54-5b42bc63eb75'::uuid]);

-- Query #3869 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7ea95617-1e31-652c-bf54-5b42bc63eb75'::uuid;

-- Query #3870 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3871 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['52ac4d1c-9aa8-70f0-ee42-e626716f382d'::uuid]);

-- Query #3872 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '52ac4d1c-9aa8-70f0-ee42-e626716f382d'::uuid;

-- Query #3873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52ac4d1c-9aa8-70f0-ee42-e626716f382d'::uuid, 'Imdb', 'tt0749705')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3874 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52ac4d1c-9aa8-70f0-ee42-e626716f382d'::uuid, 'Tmdb', 199848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3875 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52ac4d1c-9aa8-70f0-ee42-e626716f382d'::uuid, 'TvMaze', 72811)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3876 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52ac4d1c-9aa8-70f0-ee42-e626716f382d'::uuid, 'Tvdb', 266321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3877 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52ac4d1c-9aa8-70f0-ee42-e626716f382d'::uuid, 'TvRage', 233755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52ac4d1c-9aa8-70f0-ee42-e626716f382d'::uuid, 'trakt', 211098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52ac4d1c-9aa8-70f0-ee42-e626716f382d'::uuid, 'TmdbCollection', 199848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3880 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52ac4d1c-9aa8-70f0-ee42-e626716f382d'::uuid;

-- Query #3881 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '52ac4d1c-9aa8-70f0-ee42-e626716f382d'::uuid;

-- Query #3882 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['52ac4d1c-9aa8-70f0-ee42-e626716f382d'::uuid]);

-- Query #3883 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '52ac4d1c-9aa8-70f0-ee42-e626716f382d'::uuid;

-- Query #3884 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3885 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f5c7bbe-632d-8e38-cb06-4a52caf4e609'::uuid;

-- Query #3886 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f5c7bbe-632d-8e38-cb06-4a52caf4e609'::uuid]);

-- Query #3887 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9f5c7bbe-632d-8e38-cb06-4a52caf4e609'::uuid;

-- Query #3888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f5c7bbe-632d-8e38-cb06-4a52caf4e609'::uuid, 'Imdb', 'tt6348698')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f5c7bbe-632d-8e38-cb06-4a52caf4e609'::uuid, 'Tmdb', 1276199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f5c7bbe-632d-8e38-cb06-4a52caf4e609'::uuid, 'trakt', 2480324)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f5c7bbe-632d-8e38-cb06-4a52caf4e609'::uuid, 'TvMaze', 1064643)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f5c7bbe-632d-8e38-cb06-4a52caf4e609'::uuid, 'Tvdb', 5941866)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f5c7bbe-632d-8e38-cb06-4a52caf4e609'::uuid, 'TmdbCollection', 1276199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3894 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f5c7bbe-632d-8e38-cb06-4a52caf4e609'::uuid;

-- Query #3895 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9f5c7bbe-632d-8e38-cb06-4a52caf4e609'::uuid;

-- Query #3896 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9f5c7bbe-632d-8e38-cb06-4a52caf4e609'::uuid]);

-- Query #3897 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9f5c7bbe-632d-8e38-cb06-4a52caf4e609'::uuid;

-- Query #3898 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '902258df-b5ea-13cc-13a4-26db647fb0f9'::uuid;

-- Query #3899 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3900 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['902258df-b5ea-13cc-13a4-26db647fb0f9'::uuid]);

-- Query #3901 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '902258df-b5ea-13cc-13a4-26db647fb0f9'::uuid;

-- Query #3902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('902258df-b5ea-13cc-13a4-26db647fb0f9'::uuid, 'Imdb', 'tt0749715')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('902258df-b5ea-13cc-13a4-26db647fb0f9'::uuid, 'Tmdb', 199890)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3904 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('902258df-b5ea-13cc-13a4-26db647fb0f9'::uuid, 'trakt', 211109)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3905 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('902258df-b5ea-13cc-13a4-26db647fb0f9'::uuid, 'TvMaze', 72822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('902258df-b5ea-13cc-13a4-26db647fb0f9'::uuid, 'Tvdb', 266332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('902258df-b5ea-13cc-13a4-26db647fb0f9'::uuid, 'TmdbCollection', 199890)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3908 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '902258df-b5ea-13cc-13a4-26db647fb0f9'::uuid;

-- Query #3909 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '902258df-b5ea-13cc-13a4-26db647fb0f9'::uuid;

-- Query #3910 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['902258df-b5ea-13cc-13a4-26db647fb0f9'::uuid]);

-- Query #3911 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '902258df-b5ea-13cc-13a4-26db647fb0f9'::uuid;

-- Query #3912 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e9931c3-01d0-77db-111d-031d716f54a5'::uuid;

-- Query #3913 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3914 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4e9931c3-01d0-77db-111d-031d716f54a5'::uuid]);

-- Query #3915 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4e9931c3-01d0-77db-111d-031d716f54a5'::uuid;

-- Query #3916 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e9931c3-01d0-77db-111d-031d716f54a5'::uuid, 'Imdb', 'tt5912078')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3917 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e9931c3-01d0-77db-111d-031d716f54a5'::uuid, 'Tmdb', 1225521)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e9931c3-01d0-77db-111d-031d716f54a5'::uuid, 'trakt', 2317770)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3919 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e9931c3-01d0-77db-111d-031d716f54a5'::uuid, 'TvMaze', 936923)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e9931c3-01d0-77db-111d-031d716f54a5'::uuid, 'Tvdb', 5720107)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e9931c3-01d0-77db-111d-031d716f54a5'::uuid, 'TmdbCollection', 1225521)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3922 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e9931c3-01d0-77db-111d-031d716f54a5'::uuid;

-- Query #3923 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4e9931c3-01d0-77db-111d-031d716f54a5'::uuid;

-- Query #3924 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4e9931c3-01d0-77db-111d-031d716f54a5'::uuid]);

-- Query #3925 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4e9931c3-01d0-77db-111d-031d716f54a5'::uuid;

-- Query #3926 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3927 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a53f138e-0bc0-bdf9-3744-99f533d2cda6'::uuid;

-- Query #3928 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a53f138e-0bc0-bdf9-3744-99f533d2cda6'::uuid]);

-- Query #3929 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a53f138e-0bc0-bdf9-3744-99f533d2cda6'::uuid;

-- Query #3930 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a53f138e-0bc0-bdf9-3744-99f533d2cda6'::uuid, 'Imdb', 'tt0749716')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3931 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a53f138e-0bc0-bdf9-3744-99f533d2cda6'::uuid, 'Tmdb', 199870)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3932 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a53f138e-0bc0-bdf9-3744-99f533d2cda6'::uuid, 'TvMaze', 72819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3933 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a53f138e-0bc0-bdf9-3744-99f533d2cda6'::uuid, 'Tvdb', 266329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3934 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a53f138e-0bc0-bdf9-3744-99f533d2cda6'::uuid, 'TvRage', 233763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a53f138e-0bc0-bdf9-3744-99f533d2cda6'::uuid, 'trakt', 211106)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a53f138e-0bc0-bdf9-3744-99f533d2cda6'::uuid, 'TmdbCollection', 199870)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3937 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a53f138e-0bc0-bdf9-3744-99f533d2cda6'::uuid;

-- Query #3938 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a53f138e-0bc0-bdf9-3744-99f533d2cda6'::uuid;

-- Query #3939 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a53f138e-0bc0-bdf9-3744-99f533d2cda6'::uuid]);

-- Query #3940 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a53f138e-0bc0-bdf9-3744-99f533d2cda6'::uuid;

-- Query #3941 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3942 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '77cf0006-c933-b191-e174-4c6c33240051'::uuid;

-- Query #3943 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77cf0006-c933-b191-e174-4c6c33240051'::uuid]);

-- Query #3944 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '77cf0006-c933-b191-e174-4c6c33240051'::uuid;

-- Query #3945 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77cf0006-c933-b191-e174-4c6c33240051'::uuid, 'Imdb', 'tt6169840')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3946 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77cf0006-c933-b191-e174-4c6c33240051'::uuid, 'Tmdb', 1247091)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77cf0006-c933-b191-e174-4c6c33240051'::uuid, 'trakt', 2418735)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77cf0006-c933-b191-e174-4c6c33240051'::uuid, 'TvMaze', 1005806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77cf0006-c933-b191-e174-4c6c33240051'::uuid, 'Tvdb', 5859251)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77cf0006-c933-b191-e174-4c6c33240051'::uuid, 'TmdbCollection', 1247091)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3951 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '77cf0006-c933-b191-e174-4c6c33240051'::uuid;

-- Query #3952 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '77cf0006-c933-b191-e174-4c6c33240051'::uuid;

-- Query #3953 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95197274-a762-1c6c-046f-7af67c0927ac'::uuid;

-- Query #3954 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['77cf0006-c933-b191-e174-4c6c33240051'::uuid]);

-- Query #3955 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '77cf0006-c933-b191-e174-4c6c33240051'::uuid;

-- Query #3956 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3957 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95197274-a762-1c6c-046f-7af67c0927ac'::uuid]);

-- Query #3958 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '95197274-a762-1c6c-046f-7af67c0927ac'::uuid;

-- Query #3959 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95197274-a762-1c6c-046f-7af67c0927ac'::uuid, 'Imdb', 'tt0749722')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3960 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95197274-a762-1c6c-046f-7af67c0927ac'::uuid, 'Tmdb', 199862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3961 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95197274-a762-1c6c-046f-7af67c0927ac'::uuid, 'TvMaze', 72816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95197274-a762-1c6c-046f-7af67c0927ac'::uuid, 'Tvdb', 266326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95197274-a762-1c6c-046f-7af67c0927ac'::uuid, 'TvRage', 233760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3964 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95197274-a762-1c6c-046f-7af67c0927ac'::uuid, 'trakt', 211103)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95197274-a762-1c6c-046f-7af67c0927ac'::uuid, 'TmdbCollection', 199862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3966 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95197274-a762-1c6c-046f-7af67c0927ac'::uuid;

-- Query #3967 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '95197274-a762-1c6c-046f-7af67c0927ac'::uuid;

-- Query #3968 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['95197274-a762-1c6c-046f-7af67c0927ac'::uuid]);

-- Query #3969 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '95197274-a762-1c6c-046f-7af67c0927ac'::uuid;

-- Query #3970 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3971 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ad20127-4563-5350-d7b7-2014de2f94f8'::uuid;

-- Query #3972 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ad20127-4563-5350-d7b7-2014de2f94f8'::uuid]);

-- Query #3973 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8ad20127-4563-5350-d7b7-2014de2f94f8'::uuid;

-- Query #3974 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ad20127-4563-5350-d7b7-2014de2f94f8'::uuid, 'Imdb', 'tt6704606')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ad20127-4563-5350-d7b7-2014de2f94f8'::uuid, 'Tmdb', 1311155)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ad20127-4563-5350-d7b7-2014de2f94f8'::uuid, 'trakt', 2491199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ad20127-4563-5350-d7b7-2014de2f94f8'::uuid, 'TvMaze', 1107595)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ad20127-4563-5350-d7b7-2014de2f94f8'::uuid, 'Tvdb', 6043968)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ad20127-4563-5350-d7b7-2014de2f94f8'::uuid, 'TmdbCollection', 1311155)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3980 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ad20127-4563-5350-d7b7-2014de2f94f8'::uuid;

-- Query #3981 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8ad20127-4563-5350-d7b7-2014de2f94f8'::uuid;

-- Query #3982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c68d13cf-028b-7861-6f6d-3842a2266eff'::uuid;

-- Query #3983 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8ad20127-4563-5350-d7b7-2014de2f94f8'::uuid]);

-- Query #3984 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c68d13cf-028b-7861-6f6d-3842a2266eff'::uuid]);

-- Query #3985 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8ad20127-4563-5350-d7b7-2014de2f94f8'::uuid;

-- Query #3986 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c68d13cf-028b-7861-6f6d-3842a2266eff'::uuid;

-- Query #3987 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #3988 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c68d13cf-028b-7861-6f6d-3842a2266eff'::uuid, 'Imdb', 'tt0749724')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3989 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c68d13cf-028b-7861-6f6d-3842a2266eff'::uuid, 'Tmdb', 199884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c68d13cf-028b-7861-6f6d-3842a2266eff'::uuid, 'TvMaze', 72823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c68d13cf-028b-7861-6f6d-3842a2266eff'::uuid, 'Tvdb', 266333)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c68d13cf-028b-7861-6f6d-3842a2266eff'::uuid, 'TvRage', 233767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c68d13cf-028b-7861-6f6d-3842a2266eff'::uuid, 'trakt', 211110)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c68d13cf-028b-7861-6f6d-3842a2266eff'::uuid, 'TmdbCollection', 199884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #3995 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c68d13cf-028b-7861-6f6d-3842a2266eff'::uuid;

-- Query #3996 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c68d13cf-028b-7861-6f6d-3842a2266eff'::uuid;

-- Query #3997 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c68d13cf-028b-7861-6f6d-3842a2266eff'::uuid]);

-- Query #3998 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c68d13cf-028b-7861-6f6d-3842a2266eff'::uuid;

-- Query #3999 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4000 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '094c495a-9779-8e7b-8cd8-c1084a629144'::uuid;

-- Query #4001 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['094c495a-9779-8e7b-8cd8-c1084a629144'::uuid]);

-- Query #4002 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '094c495a-9779-8e7b-8cd8-c1084a629144'::uuid;

-- Query #4003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('094c495a-9779-8e7b-8cd8-c1084a629144'::uuid, 'Imdb', 'tt5582680')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('094c495a-9779-8e7b-8cd8-c1084a629144'::uuid, 'Tmdb', 1223172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4005 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('094c495a-9779-8e7b-8cd8-c1084a629144'::uuid, 'trakt', 2266755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4006 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('094c495a-9779-8e7b-8cd8-c1084a629144'::uuid, 'TvMaze', 843685)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('094c495a-9779-8e7b-8cd8-c1084a629144'::uuid, 'Tvdb', 5654908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('094c495a-9779-8e7b-8cd8-c1084a629144'::uuid, 'TmdbCollection', 1223172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4009 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '094c495a-9779-8e7b-8cd8-c1084a629144'::uuid;

-- Query #4010 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '094c495a-9779-8e7b-8cd8-c1084a629144'::uuid;

-- Query #4011 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebbb9c15-9343-11a5-631b-714de22939c8'::uuid;

-- Query #4012 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['094c495a-9779-8e7b-8cd8-c1084a629144'::uuid]);

-- Query #4013 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '094c495a-9779-8e7b-8cd8-c1084a629144'::uuid;

-- Query #4014 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4015 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ebbb9c15-9343-11a5-631b-714de22939c8'::uuid]);

-- Query #4016 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ebbb9c15-9343-11a5-631b-714de22939c8'::uuid;

-- Query #4017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbb9c15-9343-11a5-631b-714de22939c8'::uuid, 'Imdb', 'tt0749649')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4018 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbb9c15-9343-11a5-631b-714de22939c8'::uuid, 'Tmdb', 199931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbb9c15-9343-11a5-631b-714de22939c8'::uuid, 'TmdbCollection', 199931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4020 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbb9c15-9343-11a5-631b-714de22939c8'::uuid, 'trakt', 211138)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4021 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbb9c15-9343-11a5-631b-714de22939c8'::uuid, 'Tvdb', 266361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4022 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbb9c15-9343-11a5-631b-714de22939c8'::uuid, 'TvMaze', 72851)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4023 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbb9c15-9343-11a5-631b-714de22939c8'::uuid, 'TvRage', 233795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4024 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebbb9c15-9343-11a5-631b-714de22939c8'::uuid;

-- Query #4025 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ebbb9c15-9343-11a5-631b-714de22939c8'::uuid;

-- Query #4026 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ebbb9c15-9343-11a5-631b-714de22939c8'::uuid]);

-- Query #4027 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ebbb9c15-9343-11a5-631b-714de22939c8'::uuid;

-- Query #4028 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4029 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5a1b00d9-beaa-904e-11f6-b300ff5f8032'::uuid;

-- Query #4030 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5a1b00d9-beaa-904e-11f6-b300ff5f8032'::uuid]);

-- Query #4031 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5a1b00d9-beaa-904e-11f6-b300ff5f8032'::uuid;

-- Query #4032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a1b00d9-beaa-904e-11f6-b300ff5f8032'::uuid, 'Imdb', 'tt6704604')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4033 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a1b00d9-beaa-904e-11f6-b300ff5f8032'::uuid, 'Tmdb', 1309430)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4034 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a1b00d9-beaa-904e-11f6-b300ff5f8032'::uuid, 'trakt', 2491198)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a1b00d9-beaa-904e-11f6-b300ff5f8032'::uuid, 'TvMaze', 1107594)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a1b00d9-beaa-904e-11f6-b300ff5f8032'::uuid, 'Tvdb', 6039241)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a1b00d9-beaa-904e-11f6-b300ff5f8032'::uuid, 'TmdbCollection', 1309430)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4038 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5a1b00d9-beaa-904e-11f6-b300ff5f8032'::uuid;

-- Query #4039 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5a1b00d9-beaa-904e-11f6-b300ff5f8032'::uuid;

-- Query #4040 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2aaf2113-d6bf-d939-2d71-84acf0e8103b'::uuid;

-- Query #4041 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5a1b00d9-beaa-904e-11f6-b300ff5f8032'::uuid]);

-- Query #4042 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5a1b00d9-beaa-904e-11f6-b300ff5f8032'::uuid;

-- Query #4043 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4044 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2aaf2113-d6bf-d939-2d71-84acf0e8103b'::uuid]);

-- Query #4045 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2aaf2113-d6bf-d939-2d71-84acf0e8103b'::uuid;

-- Query #4046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2aaf2113-d6bf-d939-2d71-84acf0e8103b'::uuid, 'Imdb', 'tt0749654')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2aaf2113-d6bf-d939-2d71-84acf0e8103b'::uuid, 'Tmdb', 199905)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2aaf2113-d6bf-d939-2d71-84acf0e8103b'::uuid, 'TmdbCollection', 199905)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2aaf2113-d6bf-d939-2d71-84acf0e8103b'::uuid, 'trakt', 211124)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2aaf2113-d6bf-d939-2d71-84acf0e8103b'::uuid, 'Tvdb', 266347)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2aaf2113-d6bf-d939-2d71-84acf0e8103b'::uuid, 'TvMaze', 72837)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2aaf2113-d6bf-d939-2d71-84acf0e8103b'::uuid, 'TvRage', 233781)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4053 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2aaf2113-d6bf-d939-2d71-84acf0e8103b'::uuid;

-- Query #4054 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2aaf2113-d6bf-d939-2d71-84acf0e8103b'::uuid;

-- Query #4055 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2aaf2113-d6bf-d939-2d71-84acf0e8103b'::uuid]);

-- Query #4056 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2aaf2113-d6bf-d939-2d71-84acf0e8103b'::uuid;

-- Query #4057 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4058 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7593d1d-6fb9-8e59-a063-8f3d2d5b482f'::uuid;

-- Query #4059 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7593d1d-6fb9-8e59-a063-8f3d2d5b482f'::uuid]);

-- Query #4060 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c7593d1d-6fb9-8e59-a063-8f3d2d5b482f'::uuid;

-- Query #4061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7593d1d-6fb9-8e59-a063-8f3d2d5b482f'::uuid, 'Imdb', 'tt6173642')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7593d1d-6fb9-8e59-a063-8f3d2d5b482f'::uuid, 'Tmdb', 1241861)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7593d1d-6fb9-8e59-a063-8f3d2d5b482f'::uuid, 'trakt', 2407099)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7593d1d-6fb9-8e59-a063-8f3d2d5b482f'::uuid, 'TvMaze', 992337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7593d1d-6fb9-8e59-a063-8f3d2d5b482f'::uuid, 'Tvdb', 5843553)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7593d1d-6fb9-8e59-a063-8f3d2d5b482f'::uuid, 'TmdbCollection', 1241861)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4067 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7593d1d-6fb9-8e59-a063-8f3d2d5b482f'::uuid;

-- Query #4068 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c7593d1d-6fb9-8e59-a063-8f3d2d5b482f'::uuid;

-- Query #4069 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58e63d06-ba53-bb7c-4112-215d06bcba98'::uuid;

-- Query #4070 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c7593d1d-6fb9-8e59-a063-8f3d2d5b482f'::uuid]);

-- Query #4071 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c7593d1d-6fb9-8e59-a063-8f3d2d5b482f'::uuid;

-- Query #4072 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4073 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58e63d06-ba53-bb7c-4112-215d06bcba98'::uuid]);

-- Query #4074 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '58e63d06-ba53-bb7c-4112-215d06bcba98'::uuid;

-- Query #4075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58e63d06-ba53-bb7c-4112-215d06bcba98'::uuid, 'Imdb', 'tt0749655')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58e63d06-ba53-bb7c-4112-215d06bcba98'::uuid, 'Tmdb', 199893)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4077 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58e63d06-ba53-bb7c-4112-215d06bcba98'::uuid, 'TmdbCollection', 199893)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4078 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58e63d06-ba53-bb7c-4112-215d06bcba98'::uuid, 'trakt', 211117)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4079 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58e63d06-ba53-bb7c-4112-215d06bcba98'::uuid, 'Tvdb', 266340)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58e63d06-ba53-bb7c-4112-215d06bcba98'::uuid, 'TvMaze', 72830)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4081 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58e63d06-ba53-bb7c-4112-215d06bcba98'::uuid, 'TvRage', 233774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4082 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58e63d06-ba53-bb7c-4112-215d06bcba98'::uuid;

-- Query #4083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '58e63d06-ba53-bb7c-4112-215d06bcba98'::uuid;

-- Query #4084 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['58e63d06-ba53-bb7c-4112-215d06bcba98'::uuid]);

-- Query #4085 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '58e63d06-ba53-bb7c-4112-215d06bcba98'::uuid;

-- Query #4086 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4087 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #4088 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78778502-0fba-8ce9-80c0-23b649e73b87'::uuid;

-- Query #4089 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b797cbf7-9bb6-a893-3ed7-7afb0fed3e01'::uuid;

-- Query #4090 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78778502-0fba-8ce9-80c0-23b649e73b87'::uuid]);

-- Query #4091 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '78778502-0fba-8ce9-80c0-23b649e73b87'::uuid;

-- Query #4092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78778502-0fba-8ce9-80c0-23b649e73b87'::uuid, 'Imdb', 'tt6507148')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4093 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b797cbf7-9bb6-a893-3ed7-7afb0fed3e01'::uuid]);

-- Query #4094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78778502-0fba-8ce9-80c0-23b649e73b87'::uuid, 'Tmdb', 1278916)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78778502-0fba-8ce9-80c0-23b649e73b87'::uuid, 'trakt', 2491193)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4096 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b797cbf7-9bb6-a893-3ed7-7afb0fed3e01'::uuid;

-- Query #4097 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78778502-0fba-8ce9-80c0-23b649e73b87'::uuid, 'Tvdb', 5979365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4098 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b797cbf7-9bb6-a893-3ed7-7afb0fed3e01'::uuid, 'Imdb', 'tt0749656')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4099 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78778502-0fba-8ce9-80c0-23b649e73b87'::uuid, 'TmdbCollection', 1278916)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b797cbf7-9bb6-a893-3ed7-7afb0fed3e01'::uuid, 'Tmdb', 199896)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78778502-0fba-8ce9-80c0-23b649e73b87'::uuid, 'TvMaze', 1085451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b797cbf7-9bb6-a893-3ed7-7afb0fed3e01'::uuid, 'TmdbCollection', 199896)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4103 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78778502-0fba-8ce9-80c0-23b649e73b87'::uuid;

-- Query #4104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b797cbf7-9bb6-a893-3ed7-7afb0fed3e01'::uuid, 'trakt', 211119)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4105 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '78778502-0fba-8ce9-80c0-23b649e73b87'::uuid;

-- Query #4106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b797cbf7-9bb6-a893-3ed7-7afb0fed3e01'::uuid, 'Tvdb', 266342)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b797cbf7-9bb6-a893-3ed7-7afb0fed3e01'::uuid, 'TvMaze', 72832)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b797cbf7-9bb6-a893-3ed7-7afb0fed3e01'::uuid, 'TvRage', 233776)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4109 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b797cbf7-9bb6-a893-3ed7-7afb0fed3e01'::uuid;

-- Query #4110 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b797cbf7-9bb6-a893-3ed7-7afb0fed3e01'::uuid;

-- Query #4111 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['78778502-0fba-8ce9-80c0-23b649e73b87'::uuid]);

-- Query #4112 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '78778502-0fba-8ce9-80c0-23b649e73b87'::uuid;

-- Query #4113 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b797cbf7-9bb6-a893-3ed7-7afb0fed3e01'::uuid]);

-- Query #4114 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4115 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b797cbf7-9bb6-a893-3ed7-7afb0fed3e01'::uuid;

-- Query #4116 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4117 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd89b6e51-ee10-0131-2c33-ee3958762b56'::uuid;

-- Query #4118 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60cb2e76-0890-dd96-23e3-ea83faa31f0f'::uuid;

-- Query #4119 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d89b6e51-ee10-0131-2c33-ee3958762b56'::uuid]);

-- Query #4120 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd89b6e51-ee10-0131-2c33-ee3958762b56'::uuid;

-- Query #4121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d89b6e51-ee10-0131-2c33-ee3958762b56'::uuid, 'Imdb', 'tt6067088')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d89b6e51-ee10-0131-2c33-ee3958762b56'::uuid, 'Tmdb', 1236053)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d89b6e51-ee10-0131-2c33-ee3958762b56'::uuid, 'trakt', 2317780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d89b6e51-ee10-0131-2c33-ee3958762b56'::uuid, 'TvMaze', 974429)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4125 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d89b6e51-ee10-0131-2c33-ee3958762b56'::uuid, 'Tvdb', 5812736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d89b6e51-ee10-0131-2c33-ee3958762b56'::uuid, 'TmdbCollection', 1236053)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4127 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd89b6e51-ee10-0131-2c33-ee3958762b56'::uuid;

-- Query #4128 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd89b6e51-ee10-0131-2c33-ee3958762b56'::uuid;

-- Query #4129 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['60cb2e76-0890-dd96-23e3-ea83faa31f0f'::uuid]);

-- Query #4130 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '60cb2e76-0890-dd96-23e3-ea83faa31f0f'::uuid;

-- Query #4131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60cb2e76-0890-dd96-23e3-ea83faa31f0f'::uuid, 'Imdb', 'tt0749658')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60cb2e76-0890-dd96-23e3-ea83faa31f0f'::uuid, 'Tmdb', 199919)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60cb2e76-0890-dd96-23e3-ea83faa31f0f'::uuid, 'TmdbCollection', 199919)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60cb2e76-0890-dd96-23e3-ea83faa31f0f'::uuid, 'trakt', 211133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4135 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d89b6e51-ee10-0131-2c33-ee3958762b56'::uuid]);

-- Query #4136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60cb2e76-0890-dd96-23e3-ea83faa31f0f'::uuid, 'Tvdb', 266356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60cb2e76-0890-dd96-23e3-ea83faa31f0f'::uuid, 'TvMaze', 72846)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60cb2e76-0890-dd96-23e3-ea83faa31f0f'::uuid, 'TvRage', 233790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4139 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd89b6e51-ee10-0131-2c33-ee3958762b56'::uuid;

-- Query #4140 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60cb2e76-0890-dd96-23e3-ea83faa31f0f'::uuid;

-- Query #4141 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4142 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '60cb2e76-0890-dd96-23e3-ea83faa31f0f'::uuid;

-- Query #4143 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['60cb2e76-0890-dd96-23e3-ea83faa31f0f'::uuid]);

-- Query #4144 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '60cb2e76-0890-dd96-23e3-ea83faa31f0f'::uuid;

-- Query #4145 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4146 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb35cadf-1d03-3bf7-a816-960b83fce835'::uuid;

-- Query #4147 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4900f333-f7ef-61ee-6ead-b8cfb7888766'::uuid;

-- Query #4148 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bb35cadf-1d03-3bf7-a816-960b83fce835'::uuid]);

-- Query #4149 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bb35cadf-1d03-3bf7-a816-960b83fce835'::uuid;

-- Query #4150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb35cadf-1d03-3bf7-a816-960b83fce835'::uuid, 'Imdb', 'tt0749660')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb35cadf-1d03-3bf7-a816-960b83fce835'::uuid, 'Tmdb', 199906)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4152 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4900f333-f7ef-61ee-6ead-b8cfb7888766'::uuid]);

-- Query #4153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb35cadf-1d03-3bf7-a816-960b83fce835'::uuid, 'TmdbCollection', 199906)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4154 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb35cadf-1d03-3bf7-a816-960b83fce835'::uuid, 'trakt', 211125)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4155 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4900f333-f7ef-61ee-6ead-b8cfb7888766'::uuid;

-- Query #4156 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb35cadf-1d03-3bf7-a816-960b83fce835'::uuid, 'Tvdb', 266348)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4157 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4900f333-f7ef-61ee-6ead-b8cfb7888766'::uuid, 'Imdb', 'tt7495238')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb35cadf-1d03-3bf7-a816-960b83fce835'::uuid, 'TvMaze', 72838)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4159 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4900f333-f7ef-61ee-6ead-b8cfb7888766'::uuid, 'Tmdb', 1376183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb35cadf-1d03-3bf7-a816-960b83fce835'::uuid, 'TvRage', 233782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4900f333-f7ef-61ee-6ead-b8cfb7888766'::uuid, 'trakt', 2681648)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4162 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb35cadf-1d03-3bf7-a816-960b83fce835'::uuid;

-- Query #4163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4900f333-f7ef-61ee-6ead-b8cfb7888766'::uuid, 'TvMaze', 1319087)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4164 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bb35cadf-1d03-3bf7-a816-960b83fce835'::uuid;

-- Query #4165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4900f333-f7ef-61ee-6ead-b8cfb7888766'::uuid, 'Tvdb', 6244887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4900f333-f7ef-61ee-6ead-b8cfb7888766'::uuid, 'TmdbCollection', 1376183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4167 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4900f333-f7ef-61ee-6ead-b8cfb7888766'::uuid;

-- Query #4168 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4900f333-f7ef-61ee-6ead-b8cfb7888766'::uuid;

-- Query #4169 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bb35cadf-1d03-3bf7-a816-960b83fce835'::uuid]);

-- Query #4170 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bb35cadf-1d03-3bf7-a816-960b83fce835'::uuid;

-- Query #4171 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4900f333-f7ef-61ee-6ead-b8cfb7888766'::uuid]);

-- Query #4172 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4173 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4900f333-f7ef-61ee-6ead-b8cfb7888766'::uuid;

-- Query #4174 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4175 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f7491991-87ad-1250-c297-12bdcffce19e'::uuid;

-- Query #4176 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5a2d999c-81d8-484b-f768-8ce26258b9f4'::uuid;

-- Query #4177 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5a2d999c-81d8-484b-f768-8ce26258b9f4'::uuid]);

-- Query #4178 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5a2d999c-81d8-484b-f768-8ce26258b9f4'::uuid;

-- Query #4179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a2d999c-81d8-484b-f768-8ce26258b9f4'::uuid, 'Imdb', 'tt7488582')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4180 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f7491991-87ad-1250-c297-12bdcffce19e'::uuid]);

-- Query #4181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a2d999c-81d8-484b-f768-8ce26258b9f4'::uuid, 'Tmdb', 1394734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a2d999c-81d8-484b-f768-8ce26258b9f4'::uuid, 'trakt', 2785736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4183 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f7491991-87ad-1250-c297-12bdcffce19e'::uuid;

-- Query #4184 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a2d999c-81d8-484b-f768-8ce26258b9f4'::uuid, 'TvMaze', 1335928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4185 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7491991-87ad-1250-c297-12bdcffce19e'::uuid, 'Imdb', 'tt0749665')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4186 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a2d999c-81d8-484b-f768-8ce26258b9f4'::uuid, 'Tvdb', 6397458)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4187 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7491991-87ad-1250-c297-12bdcffce19e'::uuid, 'Tmdb', 199917)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4188 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a2d999c-81d8-484b-f768-8ce26258b9f4'::uuid, 'TmdbCollection', 1394734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7491991-87ad-1250-c297-12bdcffce19e'::uuid, 'TmdbCollection', 199917)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7491991-87ad-1250-c297-12bdcffce19e'::uuid, 'trakt', 211131)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4191 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5a2d999c-81d8-484b-f768-8ce26258b9f4'::uuid;

-- Query #4192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7491991-87ad-1250-c297-12bdcffce19e'::uuid, 'Tvdb', 266354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4193 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5a2d999c-81d8-484b-f768-8ce26258b9f4'::uuid;

-- Query #4194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7491991-87ad-1250-c297-12bdcffce19e'::uuid, 'TvMaze', 72844)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7491991-87ad-1250-c297-12bdcffce19e'::uuid, 'TvRage', 233788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4196 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f7491991-87ad-1250-c297-12bdcffce19e'::uuid;

-- Query #4197 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f7491991-87ad-1250-c297-12bdcffce19e'::uuid;

-- Query #4198 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5a2d999c-81d8-484b-f768-8ce26258b9f4'::uuid]);

-- Query #4199 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5a2d999c-81d8-484b-f768-8ce26258b9f4'::uuid;

-- Query #4200 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f7491991-87ad-1250-c297-12bdcffce19e'::uuid]);

-- Query #4201 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4202 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f7491991-87ad-1250-c297-12bdcffce19e'::uuid;

-- Query #4203 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4204 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '112ba896-32c9-c20f-6298-f6aabdf2a1f6'::uuid;

-- Query #4205 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1910fe55-2193-a5af-6618-cca2a0032468'::uuid;

-- Query #4206 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['112ba896-32c9-c20f-6298-f6aabdf2a1f6'::uuid]);

-- Query #4207 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '112ba896-32c9-c20f-6298-f6aabdf2a1f6'::uuid;

-- Query #4208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('112ba896-32c9-c20f-6298-f6aabdf2a1f6'::uuid, 'Imdb', 'tt8007812')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('112ba896-32c9-c20f-6298-f6aabdf2a1f6'::uuid, 'Tmdb', 1469544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('112ba896-32c9-c20f-6298-f6aabdf2a1f6'::uuid, 'trakt', 2914633)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('112ba896-32c9-c20f-6298-f6aabdf2a1f6'::uuid, 'TvMaze', 1431760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('112ba896-32c9-c20f-6298-f6aabdf2a1f6'::uuid, 'Tvdb', 6582802)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('112ba896-32c9-c20f-6298-f6aabdf2a1f6'::uuid, 'TmdbCollection', 1469544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '112ba896-32c9-c20f-6298-f6aabdf2a1f6'::uuid;

-- Query #4215 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '112ba896-32c9-c20f-6298-f6aabdf2a1f6'::uuid;

-- Query #4216 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1910fe55-2193-a5af-6618-cca2a0032468'::uuid]);

-- Query #4217 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1910fe55-2193-a5af-6618-cca2a0032468'::uuid;

-- Query #4218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1910fe55-2193-a5af-6618-cca2a0032468'::uuid, 'Imdb', 'tt0749667')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1910fe55-2193-a5af-6618-cca2a0032468'::uuid, 'Tmdb', 199907)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1910fe55-2193-a5af-6618-cca2a0032468'::uuid, 'TmdbCollection', 199907)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1910fe55-2193-a5af-6618-cca2a0032468'::uuid, 'trakt', 211126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1910fe55-2193-a5af-6618-cca2a0032468'::uuid, 'Tvdb', 266349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1910fe55-2193-a5af-6618-cca2a0032468'::uuid, 'TvMaze', 72839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4224 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['112ba896-32c9-c20f-6298-f6aabdf2a1f6'::uuid]);

-- Query #4225 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1910fe55-2193-a5af-6618-cca2a0032468'::uuid, 'TvRage', 233783)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4226 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1910fe55-2193-a5af-6618-cca2a0032468'::uuid;

-- Query #4227 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '112ba896-32c9-c20f-6298-f6aabdf2a1f6'::uuid;

-- Query #4228 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1910fe55-2193-a5af-6618-cca2a0032468'::uuid;

-- Query #4229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4230 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1910fe55-2193-a5af-6618-cca2a0032468'::uuid]);

-- Query #4231 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1910fe55-2193-a5af-6618-cca2a0032468'::uuid;

-- Query #4232 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4233 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e5c158a-66f4-caa2-6b60-c9e9730da788'::uuid;

-- Query #4234 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6e5c158a-66f4-caa2-6b60-c9e9730da788'::uuid]);

-- Query #4235 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6e5c158a-66f4-caa2-6b60-c9e9730da788'::uuid;

-- Query #4236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e5c158a-66f4-caa2-6b60-c9e9730da788'::uuid, 'Imdb', 'tt0749675')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e5c158a-66f4-caa2-6b60-c9e9730da788'::uuid, 'Tmdb', 199908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e5c158a-66f4-caa2-6b60-c9e9730da788'::uuid, 'TmdbCollection', 199908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4239 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e5c158a-66f4-caa2-6b60-c9e9730da788'::uuid, 'trakt', 211127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4240 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e5c158a-66f4-caa2-6b60-c9e9730da788'::uuid, 'Tvdb', 266350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4241 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e5c158a-66f4-caa2-6b60-c9e9730da788'::uuid, 'TvMaze', 72840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4242 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e5c158a-66f4-caa2-6b60-c9e9730da788'::uuid, 'TvRage', 233784)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e5c158a-66f4-caa2-6b60-c9e9730da788'::uuid;

-- Query #4244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6e5c158a-66f4-caa2-6b60-c9e9730da788'::uuid;

-- Query #4245 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6e5c158a-66f4-caa2-6b60-c9e9730da788'::uuid]);

-- Query #4246 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6e5c158a-66f4-caa2-6b60-c9e9730da788'::uuid;

-- Query #4247 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4248 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8f8eba3-ad47-38e6-ae78-dac8739c63a9'::uuid;

-- Query #4249 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d8f8eba3-ad47-38e6-ae78-dac8739c63a9'::uuid]);

-- Query #4250 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd8f8eba3-ad47-38e6-ae78-dac8739c63a9'::uuid;

-- Query #4251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8f8eba3-ad47-38e6-ae78-dac8739c63a9'::uuid, 'Imdb', 'tt0749712')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8f8eba3-ad47-38e6-ae78-dac8739c63a9'::uuid, 'Tmdb', 199910)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8f8eba3-ad47-38e6-ae78-dac8739c63a9'::uuid, 'TmdbCollection', 199910)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8f8eba3-ad47-38e6-ae78-dac8739c63a9'::uuid, 'trakt', 211128)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8f8eba3-ad47-38e6-ae78-dac8739c63a9'::uuid, 'Tvdb', 266351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8f8eba3-ad47-38e6-ae78-dac8739c63a9'::uuid, 'TvMaze', 72841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4257 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8f8eba3-ad47-38e6-ae78-dac8739c63a9'::uuid, 'TvRage', 233785)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8f8eba3-ad47-38e6-ae78-dac8739c63a9'::uuid;

-- Query #4259 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd8f8eba3-ad47-38e6-ae78-dac8739c63a9'::uuid;

-- Query #4260 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d8f8eba3-ad47-38e6-ae78-dac8739c63a9'::uuid]);

-- Query #4261 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd8f8eba3-ad47-38e6-ae78-dac8739c63a9'::uuid;

-- Query #4262 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4263 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8713b54c-3643-9b97-e2d5-12b7572be286'::uuid;

-- Query #4264 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8713b54c-3643-9b97-e2d5-12b7572be286'::uuid]);

-- Query #4265 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8713b54c-3643-9b97-e2d5-12b7572be286'::uuid;

-- Query #4266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8713b54c-3643-9b97-e2d5-12b7572be286'::uuid, 'Imdb', 'tt7493180')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4267 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8713b54c-3643-9b97-e2d5-12b7572be286'::uuid, 'Tmdb', 1386932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8713b54c-3643-9b97-e2d5-12b7572be286'::uuid, 'trakt', 2767123)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8713b54c-3643-9b97-e2d5-12b7572be286'::uuid, 'TvMaze', 1331666)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8713b54c-3643-9b97-e2d5-12b7572be286'::uuid, 'Tvdb', 6371967)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4271 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8713b54c-3643-9b97-e2d5-12b7572be286'::uuid, 'TmdbCollection', 1386932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8713b54c-3643-9b97-e2d5-12b7572be286'::uuid;

-- Query #4273 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8713b54c-3643-9b97-e2d5-12b7572be286'::uuid;

-- Query #4274 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8713b54c-3643-9b97-e2d5-12b7572be286'::uuid]);

-- Query #4275 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8713b54c-3643-9b97-e2d5-12b7572be286'::uuid;

-- Query #4276 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4277 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bc7bd03-a887-9335-b745-bee04658e442'::uuid;

-- Query #4278 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4bc7bd03-a887-9335-b745-bee04658e442'::uuid]);

-- Query #4279 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4bc7bd03-a887-9335-b745-bee04658e442'::uuid;

-- Query #4280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bc7bd03-a887-9335-b745-bee04658e442'::uuid, 'Imdb', 'tt0749680')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bc7bd03-a887-9335-b745-bee04658e442'::uuid, 'Tmdb', 199930)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4282 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bc7bd03-a887-9335-b745-bee04658e442'::uuid, 'TmdbCollection', 199930)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4283 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bc7bd03-a887-9335-b745-bee04658e442'::uuid, 'trakt', 211137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4284 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bc7bd03-a887-9335-b745-bee04658e442'::uuid, 'Tvdb', 266360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4285 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bc7bd03-a887-9335-b745-bee04658e442'::uuid, 'TvMaze', 72850)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4286 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bc7bd03-a887-9335-b745-bee04658e442'::uuid, 'TvRage', 233794)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4287 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bc7bd03-a887-9335-b745-bee04658e442'::uuid;

-- Query #4288 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4bc7bd03-a887-9335-b745-bee04658e442'::uuid;

-- Query #4289 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d5c6227-3f28-167f-2de5-1e80bb417c0d'::uuid;

-- Query #4290 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4bc7bd03-a887-9335-b745-bee04658e442'::uuid]);

-- Query #4291 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4bc7bd03-a887-9335-b745-bee04658e442'::uuid;

-- Query #4292 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4293 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9d5c6227-3f28-167f-2de5-1e80bb417c0d'::uuid]);

-- Query #4294 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9d5c6227-3f28-167f-2de5-1e80bb417c0d'::uuid;

-- Query #4295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d5c6227-3f28-167f-2de5-1e80bb417c0d'::uuid, 'Imdb', 'tt7550668')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4296 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d5c6227-3f28-167f-2de5-1e80bb417c0d'::uuid, 'Tmdb', 1400193)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4297 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d5c6227-3f28-167f-2de5-1e80bb417c0d'::uuid, 'trakt', 2798806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4298 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d5c6227-3f28-167f-2de5-1e80bb417c0d'::uuid, 'TvMaze', 1362673)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4299 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d5c6227-3f28-167f-2de5-1e80bb417c0d'::uuid, 'Tvdb', 6418582)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d5c6227-3f28-167f-2de5-1e80bb417c0d'::uuid, 'TmdbCollection', 1400193)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4301 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d5c6227-3f28-167f-2de5-1e80bb417c0d'::uuid;

-- Query #4302 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9d5c6227-3f28-167f-2de5-1e80bb417c0d'::uuid;

-- Query #4303 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9d5c6227-3f28-167f-2de5-1e80bb417c0d'::uuid]);

-- Query #4304 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9d5c6227-3f28-167f-2de5-1e80bb417c0d'::uuid;

-- Query #4305 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4306 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'caef7a6a-2291-5a79-0551-01cf2444f436'::uuid;

-- Query #4307 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dcfeba1f-722a-465b-64f8-3cf520ca6fac'::uuid;

-- Query #4308 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['caef7a6a-2291-5a79-0551-01cf2444f436'::uuid]);

-- Query #4309 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'caef7a6a-2291-5a79-0551-01cf2444f436'::uuid;

-- Query #4310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caef7a6a-2291-5a79-0551-01cf2444f436'::uuid, 'Imdb', 'tt0749685')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caef7a6a-2291-5a79-0551-01cf2444f436'::uuid, 'Tmdb', 199904)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4312 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caef7a6a-2291-5a79-0551-01cf2444f436'::uuid, 'TmdbCollection', 199904)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4313 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcfeba1f-722a-465b-64f8-3cf520ca6fac'::uuid]);

-- Query #4314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caef7a6a-2291-5a79-0551-01cf2444f436'::uuid, 'trakt', 211123)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4315 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caef7a6a-2291-5a79-0551-01cf2444f436'::uuid, 'Tvdb', 266346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4316 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dcfeba1f-722a-465b-64f8-3cf520ca6fac'::uuid;

-- Query #4317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caef7a6a-2291-5a79-0551-01cf2444f436'::uuid, 'TvMaze', 72836)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4318 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcfeba1f-722a-465b-64f8-3cf520ca6fac'::uuid, 'Imdb', 'tt7622992')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caef7a6a-2291-5a79-0551-01cf2444f436'::uuid, 'TvRage', 233780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcfeba1f-722a-465b-64f8-3cf520ca6fac'::uuid, 'Tmdb', 1414014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcfeba1f-722a-465b-64f8-3cf520ca6fac'::uuid, 'trakt', 2813789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4322 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'caef7a6a-2291-5a79-0551-01cf2444f436'::uuid;

-- Query #4323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcfeba1f-722a-465b-64f8-3cf520ca6fac'::uuid, 'TvMaze', 1372747)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4324 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'caef7a6a-2291-5a79-0551-01cf2444f436'::uuid;

-- Query #4325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcfeba1f-722a-465b-64f8-3cf520ca6fac'::uuid, 'Tvdb', 6444690)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcfeba1f-722a-465b-64f8-3cf520ca6fac'::uuid, 'TmdbCollection', 1414014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4327 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dcfeba1f-722a-465b-64f8-3cf520ca6fac'::uuid;

-- Query #4328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dcfeba1f-722a-465b-64f8-3cf520ca6fac'::uuid;

-- Query #4329 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['caef7a6a-2291-5a79-0551-01cf2444f436'::uuid]);

-- Query #4330 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'caef7a6a-2291-5a79-0551-01cf2444f436'::uuid;

-- Query #4331 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4332 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dcfeba1f-722a-465b-64f8-3cf520ca6fac'::uuid]);

-- Query #4333 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dcfeba1f-722a-465b-64f8-3cf520ca6fac'::uuid;

-- Query #4334 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4335 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4a2ffa0-3ee2-b403-d4ac-ea9e6e10df7d'::uuid;

-- Query #4336 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c4a2ffa0-3ee2-b403-d4ac-ea9e6e10df7d'::uuid]);

-- Query #4337 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c4a2ffa0-3ee2-b403-d4ac-ea9e6e10df7d'::uuid;

-- Query #4338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4a2ffa0-3ee2-b403-d4ac-ea9e6e10df7d'::uuid, 'Imdb', 'tt0749706')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4a2ffa0-3ee2-b403-d4ac-ea9e6e10df7d'::uuid, 'Tmdb', 199897)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4a2ffa0-3ee2-b403-d4ac-ea9e6e10df7d'::uuid, 'TmdbCollection', 199897)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4a2ffa0-3ee2-b403-d4ac-ea9e6e10df7d'::uuid, 'trakt', 211120)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4a2ffa0-3ee2-b403-d4ac-ea9e6e10df7d'::uuid, 'Tvdb', 266343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4a2ffa0-3ee2-b403-d4ac-ea9e6e10df7d'::uuid, 'TvMaze', 72833)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4a2ffa0-3ee2-b403-d4ac-ea9e6e10df7d'::uuid, 'TvRage', 233777)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4345 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4a2ffa0-3ee2-b403-d4ac-ea9e6e10df7d'::uuid;

-- Query #4346 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c4a2ffa0-3ee2-b403-d4ac-ea9e6e10df7d'::uuid;

-- Query #4347 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b70ce96-e914-d87c-c9fa-b35f76299cf8'::uuid;

-- Query #4348 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b70ce96-e914-d87c-c9fa-b35f76299cf8'::uuid]);

-- Query #4349 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c4a2ffa0-3ee2-b403-d4ac-ea9e6e10df7d'::uuid]);

-- Query #4350 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1b70ce96-e914-d87c-c9fa-b35f76299cf8'::uuid;

-- Query #4351 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b70ce96-e914-d87c-c9fa-b35f76299cf8'::uuid, 'Imdb', 'tt6687132')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4352 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c4a2ffa0-3ee2-b403-d4ac-ea9e6e10df7d'::uuid;

-- Query #4353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b70ce96-e914-d87c-c9fa-b35f76299cf8'::uuid, 'Tmdb', 1353931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4354 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b70ce96-e914-d87c-c9fa-b35f76299cf8'::uuid, 'trakt', 2597789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b70ce96-e914-d87c-c9fa-b35f76299cf8'::uuid, 'TvMaze', 1200877)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b70ce96-e914-d87c-c9fa-b35f76299cf8'::uuid, 'Tvdb', 6113843)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b70ce96-e914-d87c-c9fa-b35f76299cf8'::uuid, 'TmdbCollection', 1353931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4359 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b70ce96-e914-d87c-c9fa-b35f76299cf8'::uuid;

-- Query #4360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1b70ce96-e914-d87c-c9fa-b35f76299cf8'::uuid;

-- Query #4361 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1b70ce96-e914-d87c-c9fa-b35f76299cf8'::uuid]);

-- Query #4362 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1b70ce96-e914-d87c-c9fa-b35f76299cf8'::uuid;

-- Query #4363 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4364 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '372d204b-46f0-eaa5-c170-df4d722df761'::uuid;

-- Query #4365 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['372d204b-46f0-eaa5-c170-df4d722df761'::uuid]);

-- Query #4366 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '372d204b-46f0-eaa5-c170-df4d722df761'::uuid;

-- Query #4367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('372d204b-46f0-eaa5-c170-df4d722df761'::uuid, 'Imdb', 'tt0749696')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('372d204b-46f0-eaa5-c170-df4d722df761'::uuid, 'Tmdb', 199894)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('372d204b-46f0-eaa5-c170-df4d722df761'::uuid, 'TmdbCollection', 199894)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('372d204b-46f0-eaa5-c170-df4d722df761'::uuid, 'trakt', 211118)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('372d204b-46f0-eaa5-c170-df4d722df761'::uuid, 'Tvdb', 266341)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('372d204b-46f0-eaa5-c170-df4d722df761'::uuid, 'TvMaze', 72831)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('372d204b-46f0-eaa5-c170-df4d722df761'::uuid, 'TvRage', 233775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4374 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '372d204b-46f0-eaa5-c170-df4d722df761'::uuid;

-- Query #4375 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '372d204b-46f0-eaa5-c170-df4d722df761'::uuid;

-- Query #4376 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['372d204b-46f0-eaa5-c170-df4d722df761'::uuid]);

-- Query #4377 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '372d204b-46f0-eaa5-c170-df4d722df761'::uuid;

-- Query #4378 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4379 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '697a7b6b-fe4e-e10e-8dba-2d4bf9704c3a'::uuid;

-- Query #4380 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['697a7b6b-fe4e-e10e-8dba-2d4bf9704c3a'::uuid]);

-- Query #4381 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '697a7b6b-fe4e-e10e-8dba-2d4bf9704c3a'::uuid;

-- Query #4382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('697a7b6b-fe4e-e10e-8dba-2d4bf9704c3a'::uuid, 'Imdb', 'tt8376010')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('697a7b6b-fe4e-e10e-8dba-2d4bf9704c3a'::uuid, 'Tmdb', 1477734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('697a7b6b-fe4e-e10e-8dba-2d4bf9704c3a'::uuid, 'trakt', 2914642)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('697a7b6b-fe4e-e10e-8dba-2d4bf9704c3a'::uuid, 'TvMaze', 1431764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('697a7b6b-fe4e-e10e-8dba-2d4bf9704c3a'::uuid, 'Tvdb', 6582806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('697a7b6b-fe4e-e10e-8dba-2d4bf9704c3a'::uuid, 'TmdbCollection', 1477734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4388 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '697a7b6b-fe4e-e10e-8dba-2d4bf9704c3a'::uuid;

-- Query #4389 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '697a7b6b-fe4e-e10e-8dba-2d4bf9704c3a'::uuid;

-- Query #4390 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['697a7b6b-fe4e-e10e-8dba-2d4bf9704c3a'::uuid]);

-- Query #4391 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'abbf98d7-c228-356f-94da-b27372f720ec'::uuid;

-- Query #4392 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '697a7b6b-fe4e-e10e-8dba-2d4bf9704c3a'::uuid;

-- Query #4393 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4394 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['abbf98d7-c228-356f-94da-b27372f720ec'::uuid]);

-- Query #4395 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'abbf98d7-c228-356f-94da-b27372f720ec'::uuid;

-- Query #4396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('abbf98d7-c228-356f-94da-b27372f720ec'::uuid, 'Imdb', 'tt0749698')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('abbf98d7-c228-356f-94da-b27372f720ec'::uuid, 'Tmdb', 199891)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('abbf98d7-c228-356f-94da-b27372f720ec'::uuid, 'TmdbCollection', 199891)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('abbf98d7-c228-356f-94da-b27372f720ec'::uuid, 'trakt', 211116)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('abbf98d7-c228-356f-94da-b27372f720ec'::uuid, 'Tvdb', 266339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('abbf98d7-c228-356f-94da-b27372f720ec'::uuid, 'TvMaze', 72829)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('abbf98d7-c228-356f-94da-b27372f720ec'::uuid, 'TvRage', 233773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4403 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'abbf98d7-c228-356f-94da-b27372f720ec'::uuid;

-- Query #4404 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'abbf98d7-c228-356f-94da-b27372f720ec'::uuid;

-- Query #4405 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['abbf98d7-c228-356f-94da-b27372f720ec'::uuid]);

-- Query #4406 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'abbf98d7-c228-356f-94da-b27372f720ec'::uuid;

-- Query #4407 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4408 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3370bd79-9272-3f56-879a-f0bb2576536c'::uuid;

-- Query #4409 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3370bd79-9272-3f56-879a-f0bb2576536c'::uuid]);

-- Query #4410 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3370bd79-9272-3f56-879a-f0bb2576536c'::uuid;

-- Query #4411 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3370bd79-9272-3f56-879a-f0bb2576536c'::uuid, 'TmdbCollection', 1386933)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4412 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3370bd79-9272-3f56-879a-f0bb2576536c'::uuid, 'Imdb', 'tt7535512')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3370bd79-9272-3f56-879a-f0bb2576536c'::uuid, 'Tmdb', 1386933)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3370bd79-9272-3f56-879a-f0bb2576536c'::uuid, 'trakt', 2767125)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3370bd79-9272-3f56-879a-f0bb2576536c'::uuid, 'TvMaze', 1335927)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3370bd79-9272-3f56-879a-f0bb2576536c'::uuid, 'Tvdb', 6371968)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4417 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3370bd79-9272-3f56-879a-f0bb2576536c'::uuid;

-- Query #4418 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3370bd79-9272-3f56-879a-f0bb2576536c'::uuid;

-- Query #4419 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3370bd79-9272-3f56-879a-f0bb2576536c'::uuid]);

-- Query #4420 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3370bd79-9272-3f56-879a-f0bb2576536c'::uuid;

-- Query #4421 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4422 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '736ffc75-9741-6024-21f6-ff219b75eaa1'::uuid;

-- Query #4423 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['736ffc75-9741-6024-21f6-ff219b75eaa1'::uuid]);

-- Query #4424 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '736ffc75-9741-6024-21f6-ff219b75eaa1'::uuid;

-- Query #4425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('736ffc75-9741-6024-21f6-ff219b75eaa1'::uuid, 'Imdb', 'tt0749699')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('736ffc75-9741-6024-21f6-ff219b75eaa1'::uuid, 'Tmdb', 199914)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('736ffc75-9741-6024-21f6-ff219b75eaa1'::uuid, 'TmdbCollection', 199914)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('736ffc75-9741-6024-21f6-ff219b75eaa1'::uuid, 'trakt', 211130)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('736ffc75-9741-6024-21f6-ff219b75eaa1'::uuid, 'Tvdb', 266353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4430 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0525fc1-372e-402c-b449-229b3b4b8466'::uuid;

-- Query #4431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('736ffc75-9741-6024-21f6-ff219b75eaa1'::uuid, 'TvMaze', 72843)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('736ffc75-9741-6024-21f6-ff219b75eaa1'::uuid, 'TvRage', 233787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4433 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '736ffc75-9741-6024-21f6-ff219b75eaa1'::uuid;

-- Query #4434 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '736ffc75-9741-6024-21f6-ff219b75eaa1'::uuid;

-- Query #4435 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['736ffc75-9741-6024-21f6-ff219b75eaa1'::uuid]);

-- Query #4436 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '736ffc75-9741-6024-21f6-ff219b75eaa1'::uuid;

-- Query #4437 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4438 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d0525fc1-372e-402c-b449-229b3b4b8466'::uuid]);

-- Query #4439 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd0525fc1-372e-402c-b449-229b3b4b8466'::uuid;

-- Query #4440 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0525fc1-372e-402c-b449-229b3b4b8466'::uuid, 'Imdb', 'tt7290362')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0525fc1-372e-402c-b449-229b3b4b8466'::uuid, 'Tmdb', 1371874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0525fc1-372e-402c-b449-229b3b4b8466'::uuid, 'trakt', 2712847)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0525fc1-372e-402c-b449-229b3b4b8466'::uuid, 'TvMaze', 1315097)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0525fc1-372e-402c-b449-229b3b4b8466'::uuid, 'Tvdb', 6288839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0525fc1-372e-402c-b449-229b3b4b8466'::uuid, 'TmdbCollection', 1371874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4446 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0525fc1-372e-402c-b449-229b3b4b8466'::uuid;

-- Query #4447 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd0525fc1-372e-402c-b449-229b3b4b8466'::uuid;

-- Query #4448 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d0525fc1-372e-402c-b449-229b3b4b8466'::uuid]);

-- Query #4449 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd0525fc1-372e-402c-b449-229b3b4b8466'::uuid;

-- Query #4450 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4451 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab7c3adf-5fd1-dc41-280c-8b3076b19afb'::uuid;

-- Query #4452 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab7c3adf-5fd1-dc41-280c-8b3076b19afb'::uuid]);

-- Query #4453 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ab7c3adf-5fd1-dc41-280c-8b3076b19afb'::uuid;

-- Query #4454 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab7c3adf-5fd1-dc41-280c-8b3076b19afb'::uuid, 'Imdb', 'tt0749714')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4455 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab7c3adf-5fd1-dc41-280c-8b3076b19afb'::uuid, 'Tmdb', 199923)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab7c3adf-5fd1-dc41-280c-8b3076b19afb'::uuid, 'TmdbCollection', 199923)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab7c3adf-5fd1-dc41-280c-8b3076b19afb'::uuid, 'trakt', 211136)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab7c3adf-5fd1-dc41-280c-8b3076b19afb'::uuid, 'Tvdb', 266359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4459 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab7c3adf-5fd1-dc41-280c-8b3076b19afb'::uuid, 'TvMaze', 72849)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4460 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab7c3adf-5fd1-dc41-280c-8b3076b19afb'::uuid, 'TvRage', 233793)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4461 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab7c3adf-5fd1-dc41-280c-8b3076b19afb'::uuid;

-- Query #4462 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ab7c3adf-5fd1-dc41-280c-8b3076b19afb'::uuid;

-- Query #4463 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ab7c3adf-5fd1-dc41-280c-8b3076b19afb'::uuid]);

-- Query #4464 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ab7c3adf-5fd1-dc41-280c-8b3076b19afb'::uuid;

-- Query #4465 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4466 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '32c79d56-330e-a3bb-025f-3e1834f70780'::uuid;

-- Query #4467 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f490ccbf-2308-5777-6562-042fd02f65b8'::uuid;

-- Query #4468 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['32c79d56-330e-a3bb-025f-3e1834f70780'::uuid]);

-- Query #4469 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '32c79d56-330e-a3bb-025f-3e1834f70780'::uuid;

-- Query #4470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32c79d56-330e-a3bb-025f-3e1834f70780'::uuid, 'Imdb', 'tt7493178')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32c79d56-330e-a3bb-025f-3e1834f70780'::uuid, 'Tmdb', 1386931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32c79d56-330e-a3bb-025f-3e1834f70780'::uuid, 'trakt', 2712850)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4473 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32c79d56-330e-a3bb-025f-3e1834f70780'::uuid, 'TvMaze', 1331665)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32c79d56-330e-a3bb-025f-3e1834f70780'::uuid, 'Tvdb', 6288842)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32c79d56-330e-a3bb-025f-3e1834f70780'::uuid, 'TmdbCollection', 1386931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4476 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f490ccbf-2308-5777-6562-042fd02f65b8'::uuid]);

-- Query #4477 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '32c79d56-330e-a3bb-025f-3e1834f70780'::uuid;

-- Query #4478 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f490ccbf-2308-5777-6562-042fd02f65b8'::uuid;

-- Query #4479 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '32c79d56-330e-a3bb-025f-3e1834f70780'::uuid;

-- Query #4480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f490ccbf-2308-5777-6562-042fd02f65b8'::uuid, 'Imdb', 'tt0749702')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f490ccbf-2308-5777-6562-042fd02f65b8'::uuid, 'Tmdb', 199920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f490ccbf-2308-5777-6562-042fd02f65b8'::uuid, 'TmdbCollection', 199920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f490ccbf-2308-5777-6562-042fd02f65b8'::uuid, 'trakt', 211134)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4484 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f490ccbf-2308-5777-6562-042fd02f65b8'::uuid, 'Tvdb', 266357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f490ccbf-2308-5777-6562-042fd02f65b8'::uuid, 'TvMaze', 72847)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f490ccbf-2308-5777-6562-042fd02f65b8'::uuid, 'TvRage', 233791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4487 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f490ccbf-2308-5777-6562-042fd02f65b8'::uuid;

-- Query #4488 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f490ccbf-2308-5777-6562-042fd02f65b8'::uuid;

-- Query #4489 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['32c79d56-330e-a3bb-025f-3e1834f70780'::uuid]);

-- Query #4490 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '32c79d56-330e-a3bb-025f-3e1834f70780'::uuid;

-- Query #4491 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4492 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f490ccbf-2308-5777-6562-042fd02f65b8'::uuid]);

-- Query #4493 | logged_duration_ms=2 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f490ccbf-2308-5777-6562-042fd02f65b8'::uuid;

-- Query #4494 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4495 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '43b2e9c1-75cd-733b-87e4-ada8cff56843'::uuid;

-- Query #4496 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e3b12e2e-f60f-4211-bb60-7859bb48e761'::uuid;

-- Query #4497 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['43b2e9c1-75cd-733b-87e4-ada8cff56843'::uuid]);

-- Query #4498 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '43b2e9c1-75cd-733b-87e4-ada8cff56843'::uuid;

-- Query #4499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43b2e9c1-75cd-733b-87e4-ada8cff56843'::uuid, 'Imdb', 'tt8145568')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43b2e9c1-75cd-733b-87e4-ada8cff56843'::uuid, 'Tmdb', 1460089)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43b2e9c1-75cd-733b-87e4-ada8cff56843'::uuid, 'trakt', 2914629)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43b2e9c1-75cd-733b-87e4-ada8cff56843'::uuid, 'TvMaze', 1427870)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43b2e9c1-75cd-733b-87e4-ada8cff56843'::uuid, 'Tvdb', 6582801)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4504 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e3b12e2e-f60f-4211-bb60-7859bb48e761'::uuid]);

-- Query #4505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43b2e9c1-75cd-733b-87e4-ada8cff56843'::uuid, 'TmdbCollection', 1460089)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4506 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e3b12e2e-f60f-4211-bb60-7859bb48e761'::uuid;

-- Query #4507 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '43b2e9c1-75cd-733b-87e4-ada8cff56843'::uuid;

-- Query #4508 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3b12e2e-f60f-4211-bb60-7859bb48e761'::uuid, 'Imdb', 'tt0749646')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4509 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '43b2e9c1-75cd-733b-87e4-ada8cff56843'::uuid;

-- Query #4510 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3b12e2e-f60f-4211-bb60-7859bb48e761'::uuid, 'Tmdb', 199900)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4511 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3b12e2e-f60f-4211-bb60-7859bb48e761'::uuid, 'TmdbCollection', 199900)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3b12e2e-f60f-4211-bb60-7859bb48e761'::uuid, 'trakt', 211121)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3b12e2e-f60f-4211-bb60-7859bb48e761'::uuid, 'Tvdb', 266344)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3b12e2e-f60f-4211-bb60-7859bb48e761'::uuid, 'TvMaze', 72834)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3b12e2e-f60f-4211-bb60-7859bb48e761'::uuid, 'TvRage', 233778)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4516 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e3b12e2e-f60f-4211-bb60-7859bb48e761'::uuid;

-- Query #4517 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e3b12e2e-f60f-4211-bb60-7859bb48e761'::uuid;

-- Query #4518 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['43b2e9c1-75cd-733b-87e4-ada8cff56843'::uuid]);

-- Query #4519 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '43b2e9c1-75cd-733b-87e4-ada8cff56843'::uuid;

-- Query #4520 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4521 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e3b12e2e-f60f-4211-bb60-7859bb48e761'::uuid]);

-- Query #4522 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e3b12e2e-f60f-4211-bb60-7859bb48e761'::uuid;

-- Query #4523 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4524 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58f3181a-01dd-12e7-f1b0-e21e152dc778'::uuid;

-- Query #4525 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58f3181a-01dd-12e7-f1b0-e21e152dc778'::uuid]);

-- Query #4526 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '58f3181a-01dd-12e7-f1b0-e21e152dc778'::uuid;

-- Query #4527 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58f3181a-01dd-12e7-f1b0-e21e152dc778'::uuid, 'Imdb', 'tt8151322')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4528 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58f3181a-01dd-12e7-f1b0-e21e152dc778'::uuid, 'Tmdb', 1473370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4529 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f45e213b-5a6b-a2d4-9e5c-9823133c417a'::uuid;

-- Query #4530 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58f3181a-01dd-12e7-f1b0-e21e152dc778'::uuid, 'trakt', 2914639)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58f3181a-01dd-12e7-f1b0-e21e152dc778'::uuid, 'TvMaze', 1431763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58f3181a-01dd-12e7-f1b0-e21e152dc778'::uuid, 'Tvdb', 6582805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58f3181a-01dd-12e7-f1b0-e21e152dc778'::uuid, 'TmdbCollection', 1473370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4534 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58f3181a-01dd-12e7-f1b0-e21e152dc778'::uuid;

-- Query #4535 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '58f3181a-01dd-12e7-f1b0-e21e152dc778'::uuid;

-- Query #4536 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['58f3181a-01dd-12e7-f1b0-e21e152dc778'::uuid]);

-- Query #4537 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '58f3181a-01dd-12e7-f1b0-e21e152dc778'::uuid;

-- Query #4538 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4539 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f45e213b-5a6b-a2d4-9e5c-9823133c417a'::uuid]);

-- Query #4540 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f45e213b-5a6b-a2d4-9e5c-9823133c417a'::uuid;

-- Query #4541 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f45e213b-5a6b-a2d4-9e5c-9823133c417a'::uuid, 'Imdb', 'tt0749721')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4542 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f45e213b-5a6b-a2d4-9e5c-9823133c417a'::uuid, 'Tmdb', 199921)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4543 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f45e213b-5a6b-a2d4-9e5c-9823133c417a'::uuid, 'TmdbCollection', 199921)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f45e213b-5a6b-a2d4-9e5c-9823133c417a'::uuid, 'trakt', 211135)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f45e213b-5a6b-a2d4-9e5c-9823133c417a'::uuid, 'Tvdb', 266358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f45e213b-5a6b-a2d4-9e5c-9823133c417a'::uuid, 'TvMaze', 72848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f45e213b-5a6b-a2d4-9e5c-9823133c417a'::uuid, 'TvRage', 233792)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4548 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f45e213b-5a6b-a2d4-9e5c-9823133c417a'::uuid;

-- Query #4549 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f45e213b-5a6b-a2d4-9e5c-9823133c417a'::uuid;

-- Query #4550 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9bfe535b-a0de-76f1-5ec7-ee6be1daf73f'::uuid;

-- Query #4551 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f45e213b-5a6b-a2d4-9e5c-9823133c417a'::uuid]);

-- Query #4552 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f45e213b-5a6b-a2d4-9e5c-9823133c417a'::uuid;

-- Query #4553 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4554 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9bfe535b-a0de-76f1-5ec7-ee6be1daf73f'::uuid]);

-- Query #4555 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9bfe535b-a0de-76f1-5ec7-ee6be1daf73f'::uuid;

-- Query #4556 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9bfe535b-a0de-76f1-5ec7-ee6be1daf73f'::uuid, 'Imdb', 'tt7879436')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4557 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9bfe535b-a0de-76f1-5ec7-ee6be1daf73f'::uuid, 'Tmdb', 1428879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4558 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9bfe535b-a0de-76f1-5ec7-ee6be1daf73f'::uuid, 'trakt', 2852414)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4559 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9bfe535b-a0de-76f1-5ec7-ee6be1daf73f'::uuid, 'TvMaze', 1394530)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9bfe535b-a0de-76f1-5ec7-ee6be1daf73f'::uuid, 'Tvdb', 6494884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9bfe535b-a0de-76f1-5ec7-ee6be1daf73f'::uuid, 'TmdbCollection', 1428879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4562 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9bfe535b-a0de-76f1-5ec7-ee6be1daf73f'::uuid;

-- Query #4563 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9bfe535b-a0de-76f1-5ec7-ee6be1daf73f'::uuid;

-- Query #4564 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9bfe535b-a0de-76f1-5ec7-ee6be1daf73f'::uuid]);

-- Query #4565 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9bfe535b-a0de-76f1-5ec7-ee6be1daf73f'::uuid;

-- Query #4566 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92aa66f4-635d-7c50-af07-3951cda3bb4a'::uuid;

-- Query #4568 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92aa66f4-635d-7c50-af07-3951cda3bb4a'::uuid]);

-- Query #4569 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '92aa66f4-635d-7c50-af07-3951cda3bb4a'::uuid;

-- Query #4570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92aa66f4-635d-7c50-af07-3951cda3bb4a'::uuid, 'Imdb', 'tt0749644')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92aa66f4-635d-7c50-af07-3951cda3bb4a'::uuid, 'Tmdb', 199956)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4572 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92aa66f4-635d-7c50-af07-3951cda3bb4a'::uuid, 'TvMaze', 72862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4573 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92aa66f4-635d-7c50-af07-3951cda3bb4a'::uuid, 'Tvdb', 266372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4574 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92aa66f4-635d-7c50-af07-3951cda3bb4a'::uuid, 'TvRage', 233806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92aa66f4-635d-7c50-af07-3951cda3bb4a'::uuid, 'trakt', 211149)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92aa66f4-635d-7c50-af07-3951cda3bb4a'::uuid, 'TmdbCollection', 199956)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4577 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92aa66f4-635d-7c50-af07-3951cda3bb4a'::uuid;

-- Query #4578 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '92aa66f4-635d-7c50-af07-3951cda3bb4a'::uuid;

-- Query #4579 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['92aa66f4-635d-7c50-af07-3951cda3bb4a'::uuid]);

-- Query #4580 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7ed2de23-e497-7663-b60c-21d07affc6a8'::uuid;

-- Query #4581 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '92aa66f4-635d-7c50-af07-3951cda3bb4a'::uuid;

-- Query #4582 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4583 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ed2de23-e497-7663-b60c-21d07affc6a8'::uuid]);

-- Query #4584 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7ed2de23-e497-7663-b60c-21d07affc6a8'::uuid;

-- Query #4585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ed2de23-e497-7663-b60c-21d07affc6a8'::uuid, 'Imdb', 'tt7772116')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ed2de23-e497-7663-b60c-21d07affc6a8'::uuid, 'Tmdb', 1437593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4587 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ed2de23-e497-7663-b60c-21d07affc6a8'::uuid, 'trakt', 2900358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ed2de23-e497-7663-b60c-21d07affc6a8'::uuid, 'TvMaze', 1415386)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ed2de23-e497-7663-b60c-21d07affc6a8'::uuid, 'Tvdb', 6563069)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ed2de23-e497-7663-b60c-21d07affc6a8'::uuid, 'TmdbCollection', 1437593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7ed2de23-e497-7663-b60c-21d07affc6a8'::uuid;

-- Query #4592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7ed2de23-e497-7663-b60c-21d07affc6a8'::uuid;

-- Query #4593 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7ed2de23-e497-7663-b60c-21d07affc6a8'::uuid]);

-- Query #4594 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7ed2de23-e497-7663-b60c-21d07affc6a8'::uuid;

-- Query #4595 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4596 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'faaff524-79f0-8e87-0c69-279f69a618c7'::uuid;

-- Query #4597 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['faaff524-79f0-8e87-0c69-279f69a618c7'::uuid]);

-- Query #4598 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'faaff524-79f0-8e87-0c69-279f69a618c7'::uuid;

-- Query #4599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faaff524-79f0-8e87-0c69-279f69a618c7'::uuid, 'Imdb', 'tt0749647')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faaff524-79f0-8e87-0c69-279f69a618c7'::uuid, 'Tmdb', 199943)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faaff524-79f0-8e87-0c69-279f69a618c7'::uuid, 'TvMaze', 72856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faaff524-79f0-8e87-0c69-279f69a618c7'::uuid, 'Tvdb', 266366)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4603 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faaff524-79f0-8e87-0c69-279f69a618c7'::uuid, 'TvRage', 233800)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faaff524-79f0-8e87-0c69-279f69a618c7'::uuid, 'trakt', 211143)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4605 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faaff524-79f0-8e87-0c69-279f69a618c7'::uuid, 'TmdbCollection', 199943)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4606 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'faaff524-79f0-8e87-0c69-279f69a618c7'::uuid;

-- Query #4607 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'faaff524-79f0-8e87-0c69-279f69a618c7'::uuid;

-- Query #4608 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ee893ddb-ce0a-8e53-6a8b-fb0f0f524ac3'::uuid;

-- Query #4609 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['faaff524-79f0-8e87-0c69-279f69a618c7'::uuid]);

-- Query #4610 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'faaff524-79f0-8e87-0c69-279f69a618c7'::uuid;

-- Query #4611 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4612 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ee893ddb-ce0a-8e53-6a8b-fb0f0f524ac3'::uuid]);

-- Query #4613 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ee893ddb-ce0a-8e53-6a8b-fb0f0f524ac3'::uuid;

-- Query #4614 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee893ddb-ce0a-8e53-6a8b-fb0f0f524ac3'::uuid, 'Imdb', 'tt7273314')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee893ddb-ce0a-8e53-6a8b-fb0f0f524ac3'::uuid, 'Tmdb', 1384116)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee893ddb-ce0a-8e53-6a8b-fb0f0f524ac3'::uuid, 'trakt', 2712849)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee893ddb-ce0a-8e53-6a8b-fb0f0f524ac3'::uuid, 'TvMaze', 1326901)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee893ddb-ce0a-8e53-6a8b-fb0f0f524ac3'::uuid, 'Tvdb', 6288841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee893ddb-ce0a-8e53-6a8b-fb0f0f524ac3'::uuid, 'TmdbCollection', 1384116)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4620 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ee893ddb-ce0a-8e53-6a8b-fb0f0f524ac3'::uuid;

-- Query #4621 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ee893ddb-ce0a-8e53-6a8b-fb0f0f524ac3'::uuid;

-- Query #4622 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ee893ddb-ce0a-8e53-6a8b-fb0f0f524ac3'::uuid]);

-- Query #4623 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ee893ddb-ce0a-8e53-6a8b-fb0f0f524ac3'::uuid;

-- Query #4624 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4625 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6091512d-bc59-e91d-f31c-4f40dc03c0c9'::uuid;

-- Query #4626 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6091512d-bc59-e91d-f31c-4f40dc03c0c9'::uuid]);

-- Query #4627 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6091512d-bc59-e91d-f31c-4f40dc03c0c9'::uuid;

-- Query #4628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6091512d-bc59-e91d-f31c-4f40dc03c0c9'::uuid, 'Imdb', 'tt0749708')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6091512d-bc59-e91d-f31c-4f40dc03c0c9'::uuid, 'Tmdb', 199973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6091512d-bc59-e91d-f31c-4f40dc03c0c9'::uuid, 'TvMaze', 72871)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4631 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6091512d-bc59-e91d-f31c-4f40dc03c0c9'::uuid, 'Tvdb', 266381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4632 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6091512d-bc59-e91d-f31c-4f40dc03c0c9'::uuid, 'TvRage', 233815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4633 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6091512d-bc59-e91d-f31c-4f40dc03c0c9'::uuid, 'trakt', 211158)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6091512d-bc59-e91d-f31c-4f40dc03c0c9'::uuid, 'TmdbCollection', 199973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4635 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6091512d-bc59-e91d-f31c-4f40dc03c0c9'::uuid;

-- Query #4636 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6091512d-bc59-e91d-f31c-4f40dc03c0c9'::uuid;

-- Query #4637 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2525f0d9-f44c-f4f6-29e2-7c887253a6e6'::uuid;

-- Query #4638 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6091512d-bc59-e91d-f31c-4f40dc03c0c9'::uuid]);

-- Query #4639 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6091512d-bc59-e91d-f31c-4f40dc03c0c9'::uuid;

-- Query #4640 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4641 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2525f0d9-f44c-f4f6-29e2-7c887253a6e6'::uuid]);

-- Query #4642 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2525f0d9-f44c-f4f6-29e2-7c887253a6e6'::uuid;

-- Query #4643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2525f0d9-f44c-f4f6-29e2-7c887253a6e6'::uuid, 'Imdb', 'tt7686004')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2525f0d9-f44c-f4f6-29e2-7c887253a6e6'::uuid, 'Tmdb', 1414015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2525f0d9-f44c-f4f6-29e2-7c887253a6e6'::uuid, 'trakt', 2825423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4646 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2525f0d9-f44c-f4f6-29e2-7c887253a6e6'::uuid, 'TvMaze', 1377171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2525f0d9-f44c-f4f6-29e2-7c887253a6e6'::uuid, 'Tvdb', 6461642)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4648 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2525f0d9-f44c-f4f6-29e2-7c887253a6e6'::uuid, 'TmdbCollection', 1414015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4649 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2525f0d9-f44c-f4f6-29e2-7c887253a6e6'::uuid;

-- Query #4650 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2525f0d9-f44c-f4f6-29e2-7c887253a6e6'::uuid;

-- Query #4651 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2525f0d9-f44c-f4f6-29e2-7c887253a6e6'::uuid]);

-- Query #4652 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2525f0d9-f44c-f4f6-29e2-7c887253a6e6'::uuid;

-- Query #4653 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4654 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a40004d9-0313-7ce8-d8c1-52cb92556a10'::uuid;

-- Query #4655 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a40004d9-0313-7ce8-d8c1-52cb92556a10'::uuid]);

-- Query #4656 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a40004d9-0313-7ce8-d8c1-52cb92556a10'::uuid;

-- Query #4657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a40004d9-0313-7ce8-d8c1-52cb92556a10'::uuid, 'Imdb', 'tt0749657')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a40004d9-0313-7ce8-d8c1-52cb92556a10'::uuid, 'Tmdb', 199950)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a40004d9-0313-7ce8-d8c1-52cb92556a10'::uuid, 'TvMaze', 72859)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a40004d9-0313-7ce8-d8c1-52cb92556a10'::uuid, 'Tvdb', 266369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4661 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a40004d9-0313-7ce8-d8c1-52cb92556a10'::uuid, 'TvRage', 233803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4662 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a40004d9-0313-7ce8-d8c1-52cb92556a10'::uuid, 'trakt', 211146)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4663 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a40004d9-0313-7ce8-d8c1-52cb92556a10'::uuid, 'TmdbCollection', 199950)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4664 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a40004d9-0313-7ce8-d8c1-52cb92556a10'::uuid;

-- Query #4665 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a40004d9-0313-7ce8-d8c1-52cb92556a10'::uuid;

-- Query #4666 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '142aa7d9-3b16-0667-53fa-2b339aa67d0d'::uuid;

-- Query #4667 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a40004d9-0313-7ce8-d8c1-52cb92556a10'::uuid]);

-- Query #4668 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a40004d9-0313-7ce8-d8c1-52cb92556a10'::uuid;

-- Query #4669 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4670 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['142aa7d9-3b16-0667-53fa-2b339aa67d0d'::uuid]);

-- Query #4671 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '142aa7d9-3b16-0667-53fa-2b339aa67d0d'::uuid;

-- Query #4672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('142aa7d9-3b16-0667-53fa-2b339aa67d0d'::uuid, 'Imdb', 'tt8140366')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('142aa7d9-3b16-0667-53fa-2b339aa67d0d'::uuid, 'Tmdb', 1470106)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('142aa7d9-3b16-0667-53fa-2b339aa67d0d'::uuid, 'trakt', 2914638)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('142aa7d9-3b16-0667-53fa-2b339aa67d0d'::uuid, 'TvMaze', 1431762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('142aa7d9-3b16-0667-53fa-2b339aa67d0d'::uuid, 'Tvdb', 6582804)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('142aa7d9-3b16-0667-53fa-2b339aa67d0d'::uuid, 'TmdbCollection', 1470106)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '142aa7d9-3b16-0667-53fa-2b339aa67d0d'::uuid;

-- Query #4679 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '142aa7d9-3b16-0667-53fa-2b339aa67d0d'::uuid;

-- Query #4680 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['142aa7d9-3b16-0667-53fa-2b339aa67d0d'::uuid]);

-- Query #4681 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '142aa7d9-3b16-0667-53fa-2b339aa67d0d'::uuid;

-- Query #4682 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4683 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ecfd7738-a844-2849-3134-42c3b40913f2'::uuid;

-- Query #4684 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b19712c-750d-8762-b51f-81edbed95365'::uuid;

-- Query #4685 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ecfd7738-a844-2849-3134-42c3b40913f2'::uuid]);

-- Query #4686 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ecfd7738-a844-2849-3134-42c3b40913f2'::uuid;

-- Query #4687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ecfd7738-a844-2849-3134-42c3b40913f2'::uuid, 'Imdb', 'tt0749671')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ecfd7738-a844-2849-3134-42c3b40913f2'::uuid, 'Tmdb', 199936)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ecfd7738-a844-2849-3134-42c3b40913f2'::uuid, 'TvMaze', 72852)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ecfd7738-a844-2849-3134-42c3b40913f2'::uuid, 'Tvdb', 266362)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ecfd7738-a844-2849-3134-42c3b40913f2'::uuid, 'TvRage', 233796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ecfd7738-a844-2849-3134-42c3b40913f2'::uuid, 'trakt', 211139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ecfd7738-a844-2849-3134-42c3b40913f2'::uuid, 'TmdbCollection', 199936)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4694 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ecfd7738-a844-2849-3134-42c3b40913f2'::uuid;

-- Query #4695 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ecfd7738-a844-2849-3134-42c3b40913f2'::uuid;

-- Query #4696 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b19712c-750d-8762-b51f-81edbed95365'::uuid]);

-- Query #4697 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2b19712c-750d-8762-b51f-81edbed95365'::uuid;

-- Query #4698 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b19712c-750d-8762-b51f-81edbed95365'::uuid, 'Imdb', 'tt8145578')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4699 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ecfd7738-a844-2849-3134-42c3b40913f2'::uuid]);

-- Query #4700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b19712c-750d-8762-b51f-81edbed95365'::uuid, 'Tmdb', 1469545)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b19712c-750d-8762-b51f-81edbed95365'::uuid, 'trakt', 2914634)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4702 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ecfd7738-a844-2849-3134-42c3b40913f2'::uuid;

-- Query #4703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b19712c-750d-8762-b51f-81edbed95365'::uuid, 'TvMaze', 1431761)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4704 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b19712c-750d-8762-b51f-81edbed95365'::uuid, 'Tvdb', 6582803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b19712c-750d-8762-b51f-81edbed95365'::uuid, 'TmdbCollection', 1469545)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4707 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b19712c-750d-8762-b51f-81edbed95365'::uuid;

-- Query #4708 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2b19712c-750d-8762-b51f-81edbed95365'::uuid;

-- Query #4709 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2b19712c-750d-8762-b51f-81edbed95365'::uuid]);

-- Query #4710 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2b19712c-750d-8762-b51f-81edbed95365'::uuid;

-- Query #4711 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4712 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b888c10b-b68b-12ce-c08c-56c9ecacadae'::uuid;

-- Query #4713 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b888c10b-b68b-12ce-c08c-56c9ecacadae'::uuid]);

-- Query #4714 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b888c10b-b68b-12ce-c08c-56c9ecacadae'::uuid;

-- Query #4715 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '80c61950-ea4b-ed06-135d-205b245e1504'::uuid;

-- Query #4716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b888c10b-b68b-12ce-c08c-56c9ecacadae'::uuid, 'Imdb', 'tt0749672')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b888c10b-b68b-12ce-c08c-56c9ecacadae'::uuid, 'Tmdb', 199978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b888c10b-b68b-12ce-c08c-56c9ecacadae'::uuid, 'TvMaze', 72873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b888c10b-b68b-12ce-c08c-56c9ecacadae'::uuid, 'Tvdb', 266383)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b888c10b-b68b-12ce-c08c-56c9ecacadae'::uuid, 'TvRage', 233817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b888c10b-b68b-12ce-c08c-56c9ecacadae'::uuid, 'trakt', 211160)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b888c10b-b68b-12ce-c08c-56c9ecacadae'::uuid, 'TmdbCollection', 199978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4723 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b888c10b-b68b-12ce-c08c-56c9ecacadae'::uuid;

-- Query #4724 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80c61950-ea4b-ed06-135d-205b245e1504'::uuid]);

-- Query #4725 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b888c10b-b68b-12ce-c08c-56c9ecacadae'::uuid;

-- Query #4726 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '80c61950-ea4b-ed06-135d-205b245e1504'::uuid;

-- Query #4727 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80c61950-ea4b-ed06-135d-205b245e1504'::uuid, 'Imdb', 'tt8126360')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80c61950-ea4b-ed06-135d-205b245e1504'::uuid, 'Tmdb', 1448986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4729 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80c61950-ea4b-ed06-135d-205b245e1504'::uuid, 'trakt', 2909112)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4730 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80c61950-ea4b-ed06-135d-205b245e1504'::uuid, 'TvMaze', 1419945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4731 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80c61950-ea4b-ed06-135d-205b245e1504'::uuid, 'Tvdb', 6576478)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4732 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80c61950-ea4b-ed06-135d-205b245e1504'::uuid, 'TmdbCollection', 1448986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4733 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '80c61950-ea4b-ed06-135d-205b245e1504'::uuid;

-- Query #4734 | logged_duration_ms=7 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '80c61950-ea4b-ed06-135d-205b245e1504'::uuid;

-- Query #4735 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b888c10b-b68b-12ce-c08c-56c9ecacadae'::uuid]);

-- Query #4736 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b888c10b-b68b-12ce-c08c-56c9ecacadae'::uuid;

-- Query #4737 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4738 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['80c61950-ea4b-ed06-135d-205b245e1504'::uuid]);

-- Query #4739 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '80c61950-ea4b-ed06-135d-205b245e1504'::uuid;

-- Query #4740 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03b35379-0380-1d23-8c86-8adfb287fb00'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4741 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d823e43-abff-a2c6-49a4-5b9d1e537f4f'::uuid;

-- Query #4742 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d823e43-abff-a2c6-49a4-5b9d1e537f4f'::uuid]);

-- Query #4743 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5d823e43-abff-a2c6-49a4-5b9d1e537f4f'::uuid;

-- Query #4744 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d823e43-abff-a2c6-49a4-5b9d1e537f4f'::uuid, 'Imdb', 'tt0749676')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d823e43-abff-a2c6-49a4-5b9d1e537f4f'::uuid, 'Tmdb', 199941)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d823e43-abff-a2c6-49a4-5b9d1e537f4f'::uuid, 'TvMaze', 72854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d823e43-abff-a2c6-49a4-5b9d1e537f4f'::uuid, 'Tvdb', 266364)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d823e43-abff-a2c6-49a4-5b9d1e537f4f'::uuid, 'TvRage', 233798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d823e43-abff-a2c6-49a4-5b9d1e537f4f'::uuid, 'trakt', 211141)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d823e43-abff-a2c6-49a4-5b9d1e537f4f'::uuid, 'TmdbCollection', 199941)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4751 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d823e43-abff-a2c6-49a4-5b9d1e537f4f'::uuid;

-- Query #4752 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5d823e43-abff-a2c6-49a4-5b9d1e537f4f'::uuid;

-- Query #4753 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5d823e43-abff-a2c6-49a4-5b9d1e537f4f'::uuid]);

-- Query #4754 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5d823e43-abff-a2c6-49a4-5b9d1e537f4f'::uuid;

-- Query #4755 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4756 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c04e0980-a1ea-e8a1-95a4-78e153903948'::uuid;

-- Query #4757 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c04e0980-a1ea-e8a1-95a4-78e153903948'::uuid]);

-- Query #4758 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c04e0980-a1ea-e8a1-95a4-78e153903948'::uuid;

-- Query #4759 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c04e0980-a1ea-e8a1-95a4-78e153903948'::uuid, 'Imdb', 'tt9059188')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4760 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c04e0980-a1ea-e8a1-95a4-78e153903948'::uuid, 'Tmdb', 1615103)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4761 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c04e0980-a1ea-e8a1-95a4-78e153903948'::uuid, 'trakt', 3205501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4762 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c04e0980-a1ea-e8a1-95a4-78e153903948'::uuid, 'TvMaze', 1556052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4763 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c04e0980-a1ea-e8a1-95a4-78e153903948'::uuid, 'Tvdb', 6873621)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4764 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c04e0980-a1ea-e8a1-95a4-78e153903948'::uuid, 'TmdbCollection', 1615103)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4765 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c04e0980-a1ea-e8a1-95a4-78e153903948'::uuid;

-- Query #4766 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c04e0980-a1ea-e8a1-95a4-78e153903948'::uuid;

-- Query #4767 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fd44f8de-8837-d77e-a248-45fe377959e8'::uuid;

-- Query #4768 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c04e0980-a1ea-e8a1-95a4-78e153903948'::uuid]);

-- Query #4769 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c04e0980-a1ea-e8a1-95a4-78e153903948'::uuid;

-- Query #4770 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4771 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fd44f8de-8837-d77e-a248-45fe377959e8'::uuid]);

-- Query #4772 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fd44f8de-8837-d77e-a248-45fe377959e8'::uuid;

-- Query #4773 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd44f8de-8837-d77e-a248-45fe377959e8'::uuid, 'Imdb', 'tt0749678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4774 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd44f8de-8837-d77e-a248-45fe377959e8'::uuid, 'Tmdb', 199968)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd44f8de-8837-d77e-a248-45fe377959e8'::uuid, 'TvMaze', 72868)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd44f8de-8837-d77e-a248-45fe377959e8'::uuid, 'Tvdb', 266378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd44f8de-8837-d77e-a248-45fe377959e8'::uuid, 'TvRage', 233812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd44f8de-8837-d77e-a248-45fe377959e8'::uuid, 'trakt', 211155)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd44f8de-8837-d77e-a248-45fe377959e8'::uuid, 'TmdbCollection', 199968)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4780 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fd44f8de-8837-d77e-a248-45fe377959e8'::uuid;

-- Query #4781 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fd44f8de-8837-d77e-a248-45fe377959e8'::uuid;

-- Query #4782 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fd44f8de-8837-d77e-a248-45fe377959e8'::uuid]);

-- Query #4783 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fd44f8de-8837-d77e-a248-45fe377959e8'::uuid;

-- Query #4784 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4785 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab64b1e4-7060-fb1c-f9c8-88549167c759'::uuid;

-- Query #4786 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab64b1e4-7060-fb1c-f9c8-88549167c759'::uuid]);

-- Query #4787 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ab64b1e4-7060-fb1c-f9c8-88549167c759'::uuid;

-- Query #4788 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab64b1e4-7060-fb1c-f9c8-88549167c759'::uuid, 'Imdb', 'tt9608210')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4789 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab64b1e4-7060-fb1c-f9c8-88549167c759'::uuid, 'Tmdb', 1703151)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4790 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab64b1e4-7060-fb1c-f9c8-88549167c759'::uuid, 'trakt', 3360938)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4791 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab64b1e4-7060-fb1c-f9c8-88549167c759'::uuid, 'TvMaze', 1606259)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab64b1e4-7060-fb1c-f9c8-88549167c759'::uuid, 'Tvdb', 7022913)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4793 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab64b1e4-7060-fb1c-f9c8-88549167c759'::uuid, 'TmdbCollection', 1703151)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4794 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab64b1e4-7060-fb1c-f9c8-88549167c759'::uuid;

-- Query #4795 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ab64b1e4-7060-fb1c-f9c8-88549167c759'::uuid;

-- Query #4796 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ea7defe-26b8-f634-0eaf-87aa99e20f68'::uuid;

-- Query #4797 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ab64b1e4-7060-fb1c-f9c8-88549167c759'::uuid]);

-- Query #4798 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ab64b1e4-7060-fb1c-f9c8-88549167c759'::uuid;

-- Query #4799 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4800 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #4801 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ea7defe-26b8-f634-0eaf-87aa99e20f68'::uuid]);

-- Query #4802 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1ea7defe-26b8-f634-0eaf-87aa99e20f68'::uuid;

-- Query #4803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ea7defe-26b8-f634-0eaf-87aa99e20f68'::uuid, 'Imdb', 'tt0749681')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ea7defe-26b8-f634-0eaf-87aa99e20f68'::uuid, 'Tmdb', 199983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ea7defe-26b8-f634-0eaf-87aa99e20f68'::uuid, 'trakt', 211148)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ea7defe-26b8-f634-0eaf-87aa99e20f68'::uuid, 'TvMaze', 72861)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ea7defe-26b8-f634-0eaf-87aa99e20f68'::uuid, 'Tvdb', 266371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4808 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ea7defe-26b8-f634-0eaf-87aa99e20f68'::uuid, 'TmdbCollection', 199983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4809 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ea7defe-26b8-f634-0eaf-87aa99e20f68'::uuid;

-- Query #4810 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1ea7defe-26b8-f634-0eaf-87aa99e20f68'::uuid;

-- Query #4811 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1ea7defe-26b8-f634-0eaf-87aa99e20f68'::uuid]);

-- Query #4812 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1ea7defe-26b8-f634-0eaf-87aa99e20f68'::uuid;

-- Query #4813 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4814 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f7f374a8-a52e-d25d-356c-e1b425ba1d1b'::uuid;

-- Query #4815 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '69e6561c-e28c-a28b-8dbb-cc290a7f23c8'::uuid;

-- Query #4816 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f7f374a8-a52e-d25d-356c-e1b425ba1d1b'::uuid]);

-- Query #4817 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f7f374a8-a52e-d25d-356c-e1b425ba1d1b'::uuid;

-- Query #4818 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f374a8-a52e-d25d-356c-e1b425ba1d1b'::uuid, 'Imdb', 'tt8746796')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f374a8-a52e-d25d-356c-e1b425ba1d1b'::uuid, 'Tmdb', 1575707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f374a8-a52e-d25d-356c-e1b425ba1d1b'::uuid, 'trakt', 3164478)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f374a8-a52e-d25d-356c-e1b425ba1d1b'::uuid, 'TvMaze', 1495630)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f374a8-a52e-d25d-356c-e1b425ba1d1b'::uuid, 'Tvdb', 6834748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4823 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['69e6561c-e28c-a28b-8dbb-cc290a7f23c8'::uuid]);

-- Query #4824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f374a8-a52e-d25d-356c-e1b425ba1d1b'::uuid, 'TmdbCollection', 1575707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4825 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f7f374a8-a52e-d25d-356c-e1b425ba1d1b'::uuid;

-- Query #4826 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '69e6561c-e28c-a28b-8dbb-cc290a7f23c8'::uuid;

-- Query #4827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69e6561c-e28c-a28b-8dbb-cc290a7f23c8'::uuid, 'Imdb', 'tt0749682')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4828 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f7f374a8-a52e-d25d-356c-e1b425ba1d1b'::uuid;

-- Query #4829 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69e6561c-e28c-a28b-8dbb-cc290a7f23c8'::uuid, 'Tmdb', 199965)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69e6561c-e28c-a28b-8dbb-cc290a7f23c8'::uuid, 'TvMaze', 72867)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69e6561c-e28c-a28b-8dbb-cc290a7f23c8'::uuid, 'Tvdb', 266377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69e6561c-e28c-a28b-8dbb-cc290a7f23c8'::uuid, 'TvRage', 233811)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69e6561c-e28c-a28b-8dbb-cc290a7f23c8'::uuid, 'trakt', 211154)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69e6561c-e28c-a28b-8dbb-cc290a7f23c8'::uuid, 'TmdbCollection', 199965)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4835 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '69e6561c-e28c-a28b-8dbb-cc290a7f23c8'::uuid;

-- Query #4836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '69e6561c-e28c-a28b-8dbb-cc290a7f23c8'::uuid;

-- Query #4837 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f7f374a8-a52e-d25d-356c-e1b425ba1d1b'::uuid]);

-- Query #4838 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f7f374a8-a52e-d25d-356c-e1b425ba1d1b'::uuid;

-- Query #4839 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4840 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['69e6561c-e28c-a28b-8dbb-cc290a7f23c8'::uuid]);

-- Query #4841 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '69e6561c-e28c-a28b-8dbb-cc290a7f23c8'::uuid;

-- Query #4842 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4843 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '215131c9-14fb-13a7-ee42-163ffa81fcca'::uuid;

-- Query #4844 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7e54e03d-ef86-b727-3541-68b542cf3625'::uuid;

-- Query #4845 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['215131c9-14fb-13a7-ee42-163ffa81fcca'::uuid]);

-- Query #4846 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '215131c9-14fb-13a7-ee42-163ffa81fcca'::uuid;

-- Query #4847 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('215131c9-14fb-13a7-ee42-163ffa81fcca'::uuid, 'Imdb', 'tt9764490')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4848 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('215131c9-14fb-13a7-ee42-163ffa81fcca'::uuid, 'Tmdb', 1725581)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4849 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('215131c9-14fb-13a7-ee42-163ffa81fcca'::uuid, 'trakt', 3399147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('215131c9-14fb-13a7-ee42-163ffa81fcca'::uuid, 'TvMaze', 1615021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('215131c9-14fb-13a7-ee42-163ffa81fcca'::uuid, 'Tvdb', 7058353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('215131c9-14fb-13a7-ee42-163ffa81fcca'::uuid, 'TmdbCollection', 1725581)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4853 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '215131c9-14fb-13a7-ee42-163ffa81fcca'::uuid;

-- Query #4854 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '215131c9-14fb-13a7-ee42-163ffa81fcca'::uuid;

-- Query #4855 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e54e03d-ef86-b727-3541-68b542cf3625'::uuid]);

-- Query #4856 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7e54e03d-ef86-b727-3541-68b542cf3625'::uuid;

-- Query #4857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e54e03d-ef86-b727-3541-68b542cf3625'::uuid, 'Imdb', 'tt0749687')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4858 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['215131c9-14fb-13a7-ee42-163ffa81fcca'::uuid]);

-- Query #4859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e54e03d-ef86-b727-3541-68b542cf3625'::uuid, 'Tmdb', 199946)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e54e03d-ef86-b727-3541-68b542cf3625'::uuid, 'TvMaze', 72857)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4861 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '215131c9-14fb-13a7-ee42-163ffa81fcca'::uuid;

-- Query #4862 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e54e03d-ef86-b727-3541-68b542cf3625'::uuid, 'Tvdb', 266367)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e54e03d-ef86-b727-3541-68b542cf3625'::uuid, 'TvRage', 233801)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4864 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e54e03d-ef86-b727-3541-68b542cf3625'::uuid, 'trakt', 211144)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e54e03d-ef86-b727-3541-68b542cf3625'::uuid, 'TmdbCollection', 199946)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4867 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7e54e03d-ef86-b727-3541-68b542cf3625'::uuid;

-- Query #4868 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7e54e03d-ef86-b727-3541-68b542cf3625'::uuid;

-- Query #4869 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7e54e03d-ef86-b727-3541-68b542cf3625'::uuid]);

-- Query #4870 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7e54e03d-ef86-b727-3541-68b542cf3625'::uuid;

-- Query #4871 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4872 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a9419419-d3bc-eec7-d676-e5e53091fb9b'::uuid;

-- Query #4873 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a04d12b7-7e20-2977-0f12-3ee1321156d3'::uuid;

-- Query #4874 | logged_duration_ms=6 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9419419-d3bc-eec7-d676-e5e53091fb9b'::uuid]);

-- Query #4875 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a9419419-d3bc-eec7-d676-e5e53091fb9b'::uuid;

-- Query #4876 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9419419-d3bc-eec7-d676-e5e53091fb9b'::uuid, 'Imdb', 'tt0749688')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4877 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9419419-d3bc-eec7-d676-e5e53091fb9b'::uuid, 'Tmdb', 199948)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9419419-d3bc-eec7-d676-e5e53091fb9b'::uuid, 'TvMaze', 72858)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9419419-d3bc-eec7-d676-e5e53091fb9b'::uuid, 'Tvdb', 266368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9419419-d3bc-eec7-d676-e5e53091fb9b'::uuid, 'TvRage', 233802)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9419419-d3bc-eec7-d676-e5e53091fb9b'::uuid, 'trakt', 211145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9419419-d3bc-eec7-d676-e5e53091fb9b'::uuid, 'TmdbCollection', 199948)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4883 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a9419419-d3bc-eec7-d676-e5e53091fb9b'::uuid;

-- Query #4884 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a9419419-d3bc-eec7-d676-e5e53091fb9b'::uuid;

-- Query #4885 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a04d12b7-7e20-2977-0f12-3ee1321156d3'::uuid]);

-- Query #4886 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a04d12b7-7e20-2977-0f12-3ee1321156d3'::uuid;

-- Query #4887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a04d12b7-7e20-2977-0f12-3ee1321156d3'::uuid, 'Imdb', 'tt8946382')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a04d12b7-7e20-2977-0f12-3ee1321156d3'::uuid, 'Tmdb', 1598906)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a04d12b7-7e20-2977-0f12-3ee1321156d3'::uuid, 'trakt', 3198002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a04d12b7-7e20-2977-0f12-3ee1321156d3'::uuid, 'TvMaze', 1549626)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a04d12b7-7e20-2977-0f12-3ee1321156d3'::uuid, 'Tvdb', 6865786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4892 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a9419419-d3bc-eec7-d676-e5e53091fb9b'::uuid]);

-- Query #4893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a04d12b7-7e20-2977-0f12-3ee1321156d3'::uuid, 'TmdbCollection', 1598906)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4894 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a9419419-d3bc-eec7-d676-e5e53091fb9b'::uuid;

-- Query #4895 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a04d12b7-7e20-2977-0f12-3ee1321156d3'::uuid;

-- Query #4896 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a04d12b7-7e20-2977-0f12-3ee1321156d3'::uuid;

-- Query #4897 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4898 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a04d12b7-7e20-2977-0f12-3ee1321156d3'::uuid]);

-- Query #4899 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a04d12b7-7e20-2977-0f12-3ee1321156d3'::uuid;

-- Query #4900 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4901 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '096ae646-ab00-709b-8cf8-582b61defc8b'::uuid;

-- Query #4902 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0c370142-155c-6240-a7b4-864be169702b'::uuid;

-- Query #4903 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['096ae646-ab00-709b-8cf8-582b61defc8b'::uuid]);

-- Query #4904 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '096ae646-ab00-709b-8cf8-582b61defc8b'::uuid;

-- Query #4905 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('096ae646-ab00-709b-8cf8-582b61defc8b'::uuid, 'Imdb', 'tt0749691')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('096ae646-ab00-709b-8cf8-582b61defc8b'::uuid, 'Tmdb', 199976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('096ae646-ab00-709b-8cf8-582b61defc8b'::uuid, 'TvMaze', 72872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('096ae646-ab00-709b-8cf8-582b61defc8b'::uuid, 'Tvdb', 266382)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('096ae646-ab00-709b-8cf8-582b61defc8b'::uuid, 'TvRage', 233816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('096ae646-ab00-709b-8cf8-582b61defc8b'::uuid, 'trakt', 211159)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('096ae646-ab00-709b-8cf8-582b61defc8b'::uuid, 'TmdbCollection', 199976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4912 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '096ae646-ab00-709b-8cf8-582b61defc8b'::uuid;

-- Query #4913 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '096ae646-ab00-709b-8cf8-582b61defc8b'::uuid;

-- Query #4914 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0c370142-155c-6240-a7b4-864be169702b'::uuid]);

-- Query #4915 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0c370142-155c-6240-a7b4-864be169702b'::uuid;

-- Query #4916 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c370142-155c-6240-a7b4-864be169702b'::uuid, 'Imdb', 'tt9420446')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4917 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['096ae646-ab00-709b-8cf8-582b61defc8b'::uuid]);

-- Query #4918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c370142-155c-6240-a7b4-864be169702b'::uuid, 'Tmdb', 1627972)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4919 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '096ae646-ab00-709b-8cf8-582b61defc8b'::uuid;

-- Query #4920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c370142-155c-6240-a7b4-864be169702b'::uuid, 'trakt', 3244891)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c370142-155c-6240-a7b4-864be169702b'::uuid, 'TvMaze', 1575969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4922 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c370142-155c-6240-a7b4-864be169702b'::uuid, 'Tvdb', 6910426)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c370142-155c-6240-a7b4-864be169702b'::uuid, 'TmdbCollection', 1627972)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4925 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0c370142-155c-6240-a7b4-864be169702b'::uuid;

-- Query #4926 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0c370142-155c-6240-a7b4-864be169702b'::uuid;

-- Query #4927 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0c370142-155c-6240-a7b4-864be169702b'::uuid]);

-- Query #4928 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0c370142-155c-6240-a7b4-864be169702b'::uuid;

-- Query #4929 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4930 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c270e591-02c1-6029-db6a-3490c101b90d'::uuid;

-- Query #4931 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e360ae5-337b-c31b-bfd2-10d4c50be6c6'::uuid;

-- Query #4932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c270e591-02c1-6029-db6a-3490c101b90d'::uuid]);

-- Query #4933 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c270e591-02c1-6029-db6a-3490c101b90d'::uuid;

-- Query #4934 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c270e591-02c1-6029-db6a-3490c101b90d'::uuid, 'Imdb', 'tt8966518')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c270e591-02c1-6029-db6a-3490c101b90d'::uuid, 'Tmdb', 1593130)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c270e591-02c1-6029-db6a-3490c101b90d'::uuid, 'trakt', 3190819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c270e591-02c1-6029-db6a-3490c101b90d'::uuid, 'TvMaze', 1544989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c270e591-02c1-6029-db6a-3490c101b90d'::uuid, 'Tvdb', 6856803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c270e591-02c1-6029-db6a-3490c101b90d'::uuid, 'TmdbCollection', 1593130)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4940 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c270e591-02c1-6029-db6a-3490c101b90d'::uuid;

-- Query #4941 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c270e591-02c1-6029-db6a-3490c101b90d'::uuid;

-- Query #4942 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c270e591-02c1-6029-db6a-3490c101b90d'::uuid]);

-- Query #4943 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c270e591-02c1-6029-db6a-3490c101b90d'::uuid;

-- Query #4944 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4945 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e360ae5-337b-c31b-bfd2-10d4c50be6c6'::uuid]);

-- Query #4946 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2e360ae5-337b-c31b-bfd2-10d4c50be6c6'::uuid;

-- Query #4947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e360ae5-337b-c31b-bfd2-10d4c50be6c6'::uuid, 'Imdb', 'tt0749692')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e360ae5-337b-c31b-bfd2-10d4c50be6c6'::uuid, 'Tmdb', 199963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e360ae5-337b-c31b-bfd2-10d4c50be6c6'::uuid, 'TvMaze', 72866)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e360ae5-337b-c31b-bfd2-10d4c50be6c6'::uuid, 'Tvdb', 266376)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e360ae5-337b-c31b-bfd2-10d4c50be6c6'::uuid, 'TvRage', 233810)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e360ae5-337b-c31b-bfd2-10d4c50be6c6'::uuid, 'trakt', 211153)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e360ae5-337b-c31b-bfd2-10d4c50be6c6'::uuid, 'TmdbCollection', 199963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e360ae5-337b-c31b-bfd2-10d4c50be6c6'::uuid;

-- Query #4955 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2e360ae5-337b-c31b-bfd2-10d4c50be6c6'::uuid;

-- Query #4956 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2e360ae5-337b-c31b-bfd2-10d4c50be6c6'::uuid]);

-- Query #4957 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2e360ae5-337b-c31b-bfd2-10d4c50be6c6'::uuid;

-- Query #4958 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4959 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '026652c3-9454-eb05-1db5-549e3a68b2f8'::uuid;

-- Query #4960 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['026652c3-9454-eb05-1db5-549e3a68b2f8'::uuid]);

-- Query #4961 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '026652c3-9454-eb05-1db5-549e3a68b2f8'::uuid;

-- Query #4962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('026652c3-9454-eb05-1db5-549e3a68b2f8'::uuid, 'Imdb', 'tt9916200')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('026652c3-9454-eb05-1db5-549e3a68b2f8'::uuid, 'Tmdb', 1737388)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4964 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('026652c3-9454-eb05-1db5-549e3a68b2f8'::uuid, 'trakt', 3427217)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('026652c3-9454-eb05-1db5-549e3a68b2f8'::uuid, 'TvMaze', 1627104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4966 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ac98a03f-131b-1f5c-172d-8ec8e1379e49'::uuid;

-- Query #4967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('026652c3-9454-eb05-1db5-549e3a68b2f8'::uuid, 'Tvdb', 7088152)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('026652c3-9454-eb05-1db5-549e3a68b2f8'::uuid, 'TmdbCollection', 1737388)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4969 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '026652c3-9454-eb05-1db5-549e3a68b2f8'::uuid;

-- Query #4970 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '026652c3-9454-eb05-1db5-549e3a68b2f8'::uuid;

-- Query #4971 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['026652c3-9454-eb05-1db5-549e3a68b2f8'::uuid]);

-- Query #4972 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '026652c3-9454-eb05-1db5-549e3a68b2f8'::uuid;

-- Query #4973 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4974 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac98a03f-131b-1f5c-172d-8ec8e1379e49'::uuid]);

-- Query #4975 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ac98a03f-131b-1f5c-172d-8ec8e1379e49'::uuid;

-- Query #4976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac98a03f-131b-1f5c-172d-8ec8e1379e49'::uuid, 'Imdb', 'tt0749694')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac98a03f-131b-1f5c-172d-8ec8e1379e49'::uuid, 'Tmdb', 199957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac98a03f-131b-1f5c-172d-8ec8e1379e49'::uuid, 'TvMaze', 72863)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac98a03f-131b-1f5c-172d-8ec8e1379e49'::uuid, 'Tvdb', 266373)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac98a03f-131b-1f5c-172d-8ec8e1379e49'::uuid, 'TvRage', 233807)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac98a03f-131b-1f5c-172d-8ec8e1379e49'::uuid, 'trakt', 211150)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac98a03f-131b-1f5c-172d-8ec8e1379e49'::uuid, 'TmdbCollection', 199957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4983 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ac98a03f-131b-1f5c-172d-8ec8e1379e49'::uuid;

-- Query #4984 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ac98a03f-131b-1f5c-172d-8ec8e1379e49'::uuid;

-- Query #4985 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ac98a03f-131b-1f5c-172d-8ec8e1379e49'::uuid]);

-- Query #4986 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ac98a03f-131b-1f5c-172d-8ec8e1379e49'::uuid;

-- Query #4987 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #4988 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4424de87-ab33-6366-b25c-f3bcb1fb815a'::uuid;

-- Query #4989 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e8df31b-4bc0-30fd-8bb6-47bb7214e6af'::uuid;

-- Query #4990 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4424de87-ab33-6366-b25c-f3bcb1fb815a'::uuid]);

-- Query #4991 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4424de87-ab33-6366-b25c-f3bcb1fb815a'::uuid;

-- Query #4992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4424de87-ab33-6366-b25c-f3bcb1fb815a'::uuid, 'Imdb', 'tt9007586')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4424de87-ab33-6366-b25c-f3bcb1fb815a'::uuid, 'Tmdb', 1589345)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4424de87-ab33-6366-b25c-f3bcb1fb815a'::uuid, 'trakt', 3171067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4424de87-ab33-6366-b25c-f3bcb1fb815a'::uuid, 'TvMaze', 1533964)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4424de87-ab33-6366-b25c-f3bcb1fb815a'::uuid, 'Tvdb', 6839017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4424de87-ab33-6366-b25c-f3bcb1fb815a'::uuid, 'TmdbCollection', 1589345)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #4998 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4424de87-ab33-6366-b25c-f3bcb1fb815a'::uuid;

-- Query #4999 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4424de87-ab33-6366-b25c-f3bcb1fb815a'::uuid;

-- Query #5000 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5e8df31b-4bc0-30fd-8bb6-47bb7214e6af'::uuid]);

-- Query #5001 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5e8df31b-4bc0-30fd-8bb6-47bb7214e6af'::uuid;

-- Query #5002 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4424de87-ab33-6366-b25c-f3bcb1fb815a'::uuid]);

-- Query #5003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e8df31b-4bc0-30fd-8bb6-47bb7214e6af'::uuid, 'Imdb', 'tt0749717')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e8df31b-4bc0-30fd-8bb6-47bb7214e6af'::uuid, 'Tmdb', 199938)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5005 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e8df31b-4bc0-30fd-8bb6-47bb7214e6af'::uuid, 'TvMaze', 72853)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5006 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4424de87-ab33-6366-b25c-f3bcb1fb815a'::uuid;

-- Query #5007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e8df31b-4bc0-30fd-8bb6-47bb7214e6af'::uuid, 'Tvdb', 266363)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5008 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e8df31b-4bc0-30fd-8bb6-47bb7214e6af'::uuid, 'TvRage', 233797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e8df31b-4bc0-30fd-8bb6-47bb7214e6af'::uuid, 'trakt', 211140)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e8df31b-4bc0-30fd-8bb6-47bb7214e6af'::uuid, 'TmdbCollection', 199938)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5012 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e8df31b-4bc0-30fd-8bb6-47bb7214e6af'::uuid;

-- Query #5013 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5e8df31b-4bc0-30fd-8bb6-47bb7214e6af'::uuid;

-- Query #5014 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5e8df31b-4bc0-30fd-8bb6-47bb7214e6af'::uuid]);

-- Query #5015 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5e8df31b-4bc0-30fd-8bb6-47bb7214e6af'::uuid;

-- Query #5016 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5017 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2be6d946-c96e-6011-6853-5278669b6444'::uuid;

-- Query #5018 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ea222751-8a27-ae31-d908-79a196fa5e08'::uuid;

-- Query #5019 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2be6d946-c96e-6011-6853-5278669b6444'::uuid]);

-- Query #5020 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2be6d946-c96e-6011-6853-5278669b6444'::uuid;

-- Query #5021 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2be6d946-c96e-6011-6853-5278669b6444'::uuid, 'Imdb', 'tt9575286')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5022 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2be6d946-c96e-6011-6853-5278669b6444'::uuid, 'Tmdb', 1675707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5023 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2be6d946-c96e-6011-6853-5278669b6444'::uuid, 'trakt', 3297998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2be6d946-c96e-6011-6853-5278669b6444'::uuid, 'TvMaze', 1585352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2be6d946-c96e-6011-6853-5278669b6444'::uuid, 'Tvdb', 6968813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2be6d946-c96e-6011-6853-5278669b6444'::uuid, 'TmdbCollection', 1675707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5027 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2be6d946-c96e-6011-6853-5278669b6444'::uuid;

-- Query #5028 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2be6d946-c96e-6011-6853-5278669b6444'::uuid;

-- Query #5029 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2be6d946-c96e-6011-6853-5278669b6444'::uuid]);

-- Query #5030 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2be6d946-c96e-6011-6853-5278669b6444'::uuid;

-- Query #5031 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5032 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea222751-8a27-ae31-d908-79a196fa5e08'::uuid]);

-- Query #5033 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ea222751-8a27-ae31-d908-79a196fa5e08'::uuid;

-- Query #5034 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea222751-8a27-ae31-d908-79a196fa5e08'::uuid, 'Imdb', 'tt0749718')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea222751-8a27-ae31-d908-79a196fa5e08'::uuid, 'Tmdb', 199969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea222751-8a27-ae31-d908-79a196fa5e08'::uuid, 'TvMaze', 72869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea222751-8a27-ae31-d908-79a196fa5e08'::uuid, 'Tvdb', 266379)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea222751-8a27-ae31-d908-79a196fa5e08'::uuid, 'TvRage', 233813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5039 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea222751-8a27-ae31-d908-79a196fa5e08'::uuid, 'trakt', 211156)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5040 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea222751-8a27-ae31-d908-79a196fa5e08'::uuid, 'TmdbCollection', 199969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5041 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ea222751-8a27-ae31-d908-79a196fa5e08'::uuid;

-- Query #5042 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ea222751-8a27-ae31-d908-79a196fa5e08'::uuid;

-- Query #5043 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ea222751-8a27-ae31-d908-79a196fa5e08'::uuid]);

-- Query #5044 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ea222751-8a27-ae31-d908-79a196fa5e08'::uuid;

-- Query #5045 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5046 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1cef3e6f-7bcc-89d0-291d-c882a349f9ca'::uuid;

-- Query #5047 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1cef3e6f-7bcc-89d0-291d-c882a349f9ca'::uuid]);

-- Query #5048 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1cef3e6f-7bcc-89d0-291d-c882a349f9ca'::uuid;

-- Query #5049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cef3e6f-7bcc-89d0-291d-c882a349f9ca'::uuid, 'Imdb', 'tt9766668')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cef3e6f-7bcc-89d0-291d-c882a349f9ca'::uuid, 'Tmdb', 1737387)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5051 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0764e95b-1ba4-4127-e885-3df0fcc616ea'::uuid;

-- Query #5052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cef3e6f-7bcc-89d0-291d-c882a349f9ca'::uuid, 'trakt', 3411115)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cef3e6f-7bcc-89d0-291d-c882a349f9ca'::uuid, 'TvMaze', 1619571)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5054 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cef3e6f-7bcc-89d0-291d-c882a349f9ca'::uuid, 'Tvdb', 7070313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5055 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cef3e6f-7bcc-89d0-291d-c882a349f9ca'::uuid, 'TmdbCollection', 1737387)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5056 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1cef3e6f-7bcc-89d0-291d-c882a349f9ca'::uuid;

-- Query #5057 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1cef3e6f-7bcc-89d0-291d-c882a349f9ca'::uuid;

-- Query #5058 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1cef3e6f-7bcc-89d0-291d-c882a349f9ca'::uuid]);

-- Query #5059 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0764e95b-1ba4-4127-e885-3df0fcc616ea'::uuid]);

-- Query #5060 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1cef3e6f-7bcc-89d0-291d-c882a349f9ca'::uuid;

-- Query #5061 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0764e95b-1ba4-4127-e885-3df0fcc616ea'::uuid;

-- Query #5062 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0764e95b-1ba4-4127-e885-3df0fcc616ea'::uuid, 'Imdb', 'tt0749719')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0764e95b-1ba4-4127-e885-3df0fcc616ea'::uuid, 'Tmdb', 199953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0764e95b-1ba4-4127-e885-3df0fcc616ea'::uuid, 'TvMaze', 72860)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0764e95b-1ba4-4127-e885-3df0fcc616ea'::uuid, 'Tvdb', 266370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5067 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0764e95b-1ba4-4127-e885-3df0fcc616ea'::uuid, 'TvRage', 233804)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0764e95b-1ba4-4127-e885-3df0fcc616ea'::uuid, 'trakt', 211147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0764e95b-1ba4-4127-e885-3df0fcc616ea'::uuid, 'TmdbCollection', 199953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5070 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0764e95b-1ba4-4127-e885-3df0fcc616ea'::uuid;

-- Query #5071 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0764e95b-1ba4-4127-e885-3df0fcc616ea'::uuid;

-- Query #5072 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0764e95b-1ba4-4127-e885-3df0fcc616ea'::uuid]);

-- Query #5073 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0764e95b-1ba4-4127-e885-3df0fcc616ea'::uuid;

-- Query #5074 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '05a4f74a-fa66-bfbf-63a9-fb13540af3f6'::uuid;

-- Query #5076 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05a4f74a-fa66-bfbf-63a9-fb13540af3f6'::uuid]);

-- Query #5077 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '05a4f74a-fa66-bfbf-63a9-fb13540af3f6'::uuid;

-- Query #5078 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1278fef-2245-b294-bfc8-c1bbb60549fd'::uuid;

-- Query #5079 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05a4f74a-fa66-bfbf-63a9-fb13540af3f6'::uuid, 'Imdb', 'tt8988638')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05a4f74a-fa66-bfbf-63a9-fb13540af3f6'::uuid, 'Tmdb', 1593129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5081 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05a4f74a-fa66-bfbf-63a9-fb13540af3f6'::uuid, 'trakt', 3186082)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5082 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05a4f74a-fa66-bfbf-63a9-fb13540af3f6'::uuid, 'TvMaze', 1541821)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5083 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05a4f74a-fa66-bfbf-63a9-fb13540af3f6'::uuid, 'Tvdb', 6852829)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5084 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05a4f74a-fa66-bfbf-63a9-fb13540af3f6'::uuid, 'TmdbCollection', 1593129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5085 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '05a4f74a-fa66-bfbf-63a9-fb13540af3f6'::uuid;

-- Query #5086 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '05a4f74a-fa66-bfbf-63a9-fb13540af3f6'::uuid;

-- Query #5087 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['05a4f74a-fa66-bfbf-63a9-fb13540af3f6'::uuid]);

-- Query #5088 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '05a4f74a-fa66-bfbf-63a9-fb13540af3f6'::uuid;

-- Query #5089 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5090 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a1278fef-2245-b294-bfc8-c1bbb60549fd'::uuid]);

-- Query #5091 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a1278fef-2245-b294-bfc8-c1bbb60549fd'::uuid;

-- Query #5092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1278fef-2245-b294-bfc8-c1bbb60549fd'::uuid, 'Imdb', 'tt0749723')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1278fef-2245-b294-bfc8-c1bbb60549fd'::uuid, 'Tmdb', 199982)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1278fef-2245-b294-bfc8-c1bbb60549fd'::uuid, 'trakt', 211142)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1278fef-2245-b294-bfc8-c1bbb60549fd'::uuid, 'TvMaze', 72855)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1278fef-2245-b294-bfc8-c1bbb60549fd'::uuid, 'Tvdb', 266365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5097 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1278fef-2245-b294-bfc8-c1bbb60549fd'::uuid, 'TmdbCollection', 199982)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5098 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1278fef-2245-b294-bfc8-c1bbb60549fd'::uuid;

-- Query #5099 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a1278fef-2245-b294-bfc8-c1bbb60549fd'::uuid;

-- Query #5100 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a1278fef-2245-b294-bfc8-c1bbb60549fd'::uuid]);

-- Query #5101 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a1278fef-2245-b294-bfc8-c1bbb60549fd'::uuid;

-- Query #5102 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5103 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '06128266-01ca-e97b-6d38-7fc17cce3151'::uuid;

-- Query #5104 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3b5040c6-fc4e-afdc-1c99-7ae95fb77388'::uuid;

-- Query #5105 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06128266-01ca-e97b-6d38-7fc17cce3151'::uuid]);

-- Query #5106 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '06128266-01ca-e97b-6d38-7fc17cce3151'::uuid;

-- Query #5107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06128266-01ca-e97b-6d38-7fc17cce3151'::uuid, 'Imdb', 'tt9702986')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06128266-01ca-e97b-6d38-7fc17cce3151'::uuid, 'Tmdb', 1695313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06128266-01ca-e97b-6d38-7fc17cce3151'::uuid, 'trakt', 3349423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06128266-01ca-e97b-6d38-7fc17cce3151'::uuid, 'TvMaze', 1596987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5111 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06128266-01ca-e97b-6d38-7fc17cce3151'::uuid, 'Tvdb', 7011683)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5112 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06128266-01ca-e97b-6d38-7fc17cce3151'::uuid, 'TmdbCollection', 1695313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5113 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '06128266-01ca-e97b-6d38-7fc17cce3151'::uuid;

-- Query #5114 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '06128266-01ca-e97b-6d38-7fc17cce3151'::uuid;

-- Query #5115 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['06128266-01ca-e97b-6d38-7fc17cce3151'::uuid]);

-- Query #5116 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '06128266-01ca-e97b-6d38-7fc17cce3151'::uuid;

-- Query #5117 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3b5040c6-fc4e-afdc-1c99-7ae95fb77388'::uuid]);

-- Query #5118 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5119 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3b5040c6-fc4e-afdc-1c99-7ae95fb77388'::uuid;

-- Query #5120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b5040c6-fc4e-afdc-1c99-7ae95fb77388'::uuid, 'Imdb', 'tt0749726')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b5040c6-fc4e-afdc-1c99-7ae95fb77388'::uuid, 'Tmdb', 199960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b5040c6-fc4e-afdc-1c99-7ae95fb77388'::uuid, 'TvMaze', 72864)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b5040c6-fc4e-afdc-1c99-7ae95fb77388'::uuid, 'Tvdb', 266374)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b5040c6-fc4e-afdc-1c99-7ae95fb77388'::uuid, 'TvRage', 233808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5125 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b5040c6-fc4e-afdc-1c99-7ae95fb77388'::uuid, 'trakt', 211151)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b5040c6-fc4e-afdc-1c99-7ae95fb77388'::uuid, 'TmdbCollection', 199960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5127 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3b5040c6-fc4e-afdc-1c99-7ae95fb77388'::uuid;

-- Query #5128 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3b5040c6-fc4e-afdc-1c99-7ae95fb77388'::uuid;

-- Query #5129 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3b5040c6-fc4e-afdc-1c99-7ae95fb77388'::uuid]);

-- Query #5130 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3b5040c6-fc4e-afdc-1c99-7ae95fb77388'::uuid;

-- Query #5131 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['294da160-4d73-2d42-0012-37b039905576'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5132 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c017700-8026-0ca8-e7c6-af81eb3f4ccb'::uuid;

-- Query #5133 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96cfd058-010b-d5af-f45b-71b039670b4c'::uuid;

-- Query #5134 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9c017700-8026-0ca8-e7c6-af81eb3f4ccb'::uuid]);

-- Query #5135 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9c017700-8026-0ca8-e7c6-af81eb3f4ccb'::uuid;

-- Query #5136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c017700-8026-0ca8-e7c6-af81eb3f4ccb'::uuid, 'Imdb', 'tt9296574')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c017700-8026-0ca8-e7c6-af81eb3f4ccb'::uuid, 'Tmdb', 1648361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c017700-8026-0ca8-e7c6-af81eb3f4ccb'::uuid, 'trakt', 3279266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5139 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c017700-8026-0ca8-e7c6-af81eb3f4ccb'::uuid, 'TvMaze', 1580453)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5140 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c017700-8026-0ca8-e7c6-af81eb3f4ccb'::uuid, 'Tvdb', 6943267)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5141 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c017700-8026-0ca8-e7c6-af81eb3f4ccb'::uuid, 'TmdbCollection', 1648361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5142 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c017700-8026-0ca8-e7c6-af81eb3f4ccb'::uuid;

-- Query #5143 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9c017700-8026-0ca8-e7c6-af81eb3f4ccb'::uuid;

-- Query #5144 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['96cfd058-010b-d5af-f45b-71b039670b4c'::uuid]);

-- Query #5145 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '96cfd058-010b-d5af-f45b-71b039670b4c'::uuid;

-- Query #5146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96cfd058-010b-d5af-f45b-71b039670b4c'::uuid, 'Imdb', 'tt0749652')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5147 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9c017700-8026-0ca8-e7c6-af81eb3f4ccb'::uuid]);

-- Query #5148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96cfd058-010b-d5af-f45b-71b039670b4c'::uuid, 'Tmdb', 199998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96cfd058-010b-d5af-f45b-71b039670b4c'::uuid, 'TmdbCollection', 199998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96cfd058-010b-d5af-f45b-71b039670b4c'::uuid, 'trakt', 211172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5151 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9c017700-8026-0ca8-e7c6-af81eb3f4ccb'::uuid;

-- Query #5152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96cfd058-010b-d5af-f45b-71b039670b4c'::uuid, 'Tvdb', 305931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96cfd058-010b-d5af-f45b-71b039670b4c'::uuid, 'TvMaze', 72885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5154 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5155 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96cfd058-010b-d5af-f45b-71b039670b4c'::uuid, 'TvRage', 311246)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5156 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96cfd058-010b-d5af-f45b-71b039670b4c'::uuid;

-- Query #5157 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '96cfd058-010b-d5af-f45b-71b039670b4c'::uuid;

-- Query #5158 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['96cfd058-010b-d5af-f45b-71b039670b4c'::uuid]);

-- Query #5159 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '96cfd058-010b-d5af-f45b-71b039670b4c'::uuid;

-- Query #5160 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5161 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd4ed227d-333b-afed-a0f4-7c61c877f932'::uuid;

-- Query #5162 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '85ee7b69-f127-eaac-0380-ac0c12055c29'::uuid;

-- Query #5163 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d4ed227d-333b-afed-a0f4-7c61c877f932'::uuid]);

-- Query #5164 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd4ed227d-333b-afed-a0f4-7c61c877f932'::uuid;

-- Query #5165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4ed227d-333b-afed-a0f4-7c61c877f932'::uuid, 'Imdb', 'tt9248508')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4ed227d-333b-afed-a0f4-7c61c877f932'::uuid, 'Tmdb', 1623561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4ed227d-333b-afed-a0f4-7c61c877f932'::uuid, 'trakt', 3235266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4ed227d-333b-afed-a0f4-7c61c877f932'::uuid, 'TvMaze', 1565922)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5169 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4ed227d-333b-afed-a0f4-7c61c877f932'::uuid, 'Tvdb', 6902274)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5170 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4ed227d-333b-afed-a0f4-7c61c877f932'::uuid, 'TmdbCollection', 1623561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5171 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd4ed227d-333b-afed-a0f4-7c61c877f932'::uuid;

-- Query #5172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd4ed227d-333b-afed-a0f4-7c61c877f932'::uuid;

-- Query #5173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85ee7b69-f127-eaac-0380-ac0c12055c29'::uuid]);

-- Query #5174 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '85ee7b69-f127-eaac-0380-ac0c12055c29'::uuid;

-- Query #5175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85ee7b69-f127-eaac-0380-ac0c12055c29'::uuid, 'Imdb', 'tt0757046')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5176 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d4ed227d-333b-afed-a0f4-7c61c877f932'::uuid]);

-- Query #5177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85ee7b69-f127-eaac-0380-ac0c12055c29'::uuid, 'Tmdb', 200012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85ee7b69-f127-eaac-0380-ac0c12055c29'::uuid, 'TmdbCollection', 200012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5179 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd4ed227d-333b-afed-a0f4-7c61c877f932'::uuid;

-- Query #5180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85ee7b69-f127-eaac-0380-ac0c12055c29'::uuid, 'trakt', 211178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85ee7b69-f127-eaac-0380-ac0c12055c29'::uuid, 'Tvdb', 305937)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5182 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5183 | logged_duration_ms=7 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85ee7b69-f127-eaac-0380-ac0c12055c29'::uuid, 'TvMaze', 72891)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5184 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85ee7b69-f127-eaac-0380-ac0c12055c29'::uuid, 'TvRage', 330054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5185 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '85ee7b69-f127-eaac-0380-ac0c12055c29'::uuid;

-- Query #5186 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '85ee7b69-f127-eaac-0380-ac0c12055c29'::uuid;

-- Query #5187 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['85ee7b69-f127-eaac-0380-ac0c12055c29'::uuid]);

-- Query #5188 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '85ee7b69-f127-eaac-0380-ac0c12055c29'::uuid;

-- Query #5189 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5190 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1563623-b6af-83d1-3d24-781277dc4526'::uuid;

-- Query #5191 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '109c65bd-d9f7-afb4-3d98-226315d233e7'::uuid;

-- Query #5192 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1563623-b6af-83d1-3d24-781277dc4526'::uuid]);

-- Query #5193 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c1563623-b6af-83d1-3d24-781277dc4526'::uuid;

-- Query #5194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1563623-b6af-83d1-3d24-781277dc4526'::uuid, 'Imdb', 'tt0749645')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1563623-b6af-83d1-3d24-781277dc4526'::uuid, 'Tmdb', 199994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1563623-b6af-83d1-3d24-781277dc4526'::uuid, 'TmdbCollection', 199994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1563623-b6af-83d1-3d24-781277dc4526'::uuid, 'trakt', 211169)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1563623-b6af-83d1-3d24-781277dc4526'::uuid, 'Tvdb', 302150)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5199 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1563623-b6af-83d1-3d24-781277dc4526'::uuid, 'TvMaze', 72882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5200 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1563623-b6af-83d1-3d24-781277dc4526'::uuid, 'TvRage', 305270)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5201 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1563623-b6af-83d1-3d24-781277dc4526'::uuid;

-- Query #5202 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c1563623-b6af-83d1-3d24-781277dc4526'::uuid;

-- Query #5203 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['109c65bd-d9f7-afb4-3d98-226315d233e7'::uuid]);

-- Query #5204 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '109c65bd-d9f7-afb4-3d98-226315d233e7'::uuid;

-- Query #5205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('109c65bd-d9f7-afb4-3d98-226315d233e7'::uuid, 'Imdb', 'tt10338192')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5206 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c1563623-b6af-83d1-3d24-781277dc4526'::uuid]);

-- Query #5207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('109c65bd-d9f7-afb4-3d98-226315d233e7'::uuid, 'Tmdb', 1980862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('109c65bd-d9f7-afb4-3d98-226315d233e7'::uuid, 'trakt', 3807649)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5209 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c1563623-b6af-83d1-3d24-781277dc4526'::uuid;

-- Query #5210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('109c65bd-d9f7-afb4-3d98-226315d233e7'::uuid, 'TvMaze', 1752400)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('109c65bd-d9f7-afb4-3d98-226315d233e7'::uuid, 'Tvdb', 7444650)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5212 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('109c65bd-d9f7-afb4-3d98-226315d233e7'::uuid, 'TmdbCollection', 1980862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '109c65bd-d9f7-afb4-3d98-226315d233e7'::uuid;

-- Query #5215 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '109c65bd-d9f7-afb4-3d98-226315d233e7'::uuid;

-- Query #5216 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['109c65bd-d9f7-afb4-3d98-226315d233e7'::uuid]);

-- Query #5217 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '109c65bd-d9f7-afb4-3d98-226315d233e7'::uuid;

-- Query #5218 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5219 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e026baf7-2d63-6605-309a-23af7b81e7f6'::uuid;

-- Query #5220 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '38b52be9-1a08-dcff-bf24-71424d3b75ac'::uuid;

-- Query #5221 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e026baf7-2d63-6605-309a-23af7b81e7f6'::uuid]);

-- Query #5222 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e026baf7-2d63-6605-309a-23af7b81e7f6'::uuid;

-- Query #5223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e026baf7-2d63-6605-309a-23af7b81e7f6'::uuid, 'Imdb', 'tt0777591')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e026baf7-2d63-6605-309a-23af7b81e7f6'::uuid, 'Tmdb', 200015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5225 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e026baf7-2d63-6605-309a-23af7b81e7f6'::uuid, 'TmdbCollection', 200015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5226 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e026baf7-2d63-6605-309a-23af7b81e7f6'::uuid, 'trakt', 211180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5227 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e026baf7-2d63-6605-309a-23af7b81e7f6'::uuid, 'Tvdb', 336061)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e026baf7-2d63-6605-309a-23af7b81e7f6'::uuid, 'TvMaze', 72893)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e026baf7-2d63-6605-309a-23af7b81e7f6'::uuid, 'TvRage', 347688)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5230 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e026baf7-2d63-6605-309a-23af7b81e7f6'::uuid;

-- Query #5231 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e026baf7-2d63-6605-309a-23af7b81e7f6'::uuid;

-- Query #5232 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38b52be9-1a08-dcff-bf24-71424d3b75ac'::uuid]);

-- Query #5233 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '38b52be9-1a08-dcff-bf24-71424d3b75ac'::uuid;

-- Query #5234 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e026baf7-2d63-6605-309a-23af7b81e7f6'::uuid]);

-- Query #5235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38b52be9-1a08-dcff-bf24-71424d3b75ac'::uuid, 'Imdb', 'tt10338188')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38b52be9-1a08-dcff-bf24-71424d3b75ac'::uuid, 'Tmdb', 1973830)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5237 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e026baf7-2d63-6605-309a-23af7b81e7f6'::uuid;

-- Query #5238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38b52be9-1a08-dcff-bf24-71424d3b75ac'::uuid, 'trakt', 3783126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5239 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5240 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38b52be9-1a08-dcff-bf24-71424d3b75ac'::uuid, 'TvMaze', 1731233)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5241 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38b52be9-1a08-dcff-bf24-71424d3b75ac'::uuid, 'Tvdb', 7422128)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5242 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38b52be9-1a08-dcff-bf24-71424d3b75ac'::uuid, 'TmdbCollection', 1973830)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '38b52be9-1a08-dcff-bf24-71424d3b75ac'::uuid;

-- Query #5244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '38b52be9-1a08-dcff-bf24-71424d3b75ac'::uuid;

-- Query #5245 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['38b52be9-1a08-dcff-bf24-71424d3b75ac'::uuid]);

-- Query #5246 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '38b52be9-1a08-dcff-bf24-71424d3b75ac'::uuid;

-- Query #5247 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5248 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7395b226-7b9c-823d-64ea-cc603406d5b3'::uuid;

-- Query #5249 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd1381dd6-e3ad-dccb-18f9-103efc6a01d6'::uuid;

-- Query #5250 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7395b226-7b9c-823d-64ea-cc603406d5b3'::uuid]);

-- Query #5251 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7395b226-7b9c-823d-64ea-cc603406d5b3'::uuid;

-- Query #5252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7395b226-7b9c-823d-64ea-cc603406d5b3'::uuid, 'Imdb', 'tt0749663')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7395b226-7b9c-823d-64ea-cc603406d5b3'::uuid, 'Tmdb', 199996)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7395b226-7b9c-823d-64ea-cc603406d5b3'::uuid, 'TmdbCollection', 199996)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7395b226-7b9c-823d-64ea-cc603406d5b3'::uuid, 'trakt', 211170)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7395b226-7b9c-823d-64ea-cc603406d5b3'::uuid, 'Tvdb', 302151)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5257 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7395b226-7b9c-823d-64ea-cc603406d5b3'::uuid, 'TvMaze', 72883)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5258 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7395b226-7b9c-823d-64ea-cc603406d5b3'::uuid, 'TvRage', 305271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5259 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7395b226-7b9c-823d-64ea-cc603406d5b3'::uuid;

-- Query #5260 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7395b226-7b9c-823d-64ea-cc603406d5b3'::uuid;

-- Query #5261 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1381dd6-e3ad-dccb-18f9-103efc6a01d6'::uuid]);

-- Query #5262 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd1381dd6-e3ad-dccb-18f9-103efc6a01d6'::uuid;

-- Query #5263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1381dd6-e3ad-dccb-18f9-103efc6a01d6'::uuid, 'Imdb', 'tt10338190')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5264 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7395b226-7b9c-823d-64ea-cc603406d5b3'::uuid]);

-- Query #5265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1381dd6-e3ad-dccb-18f9-103efc6a01d6'::uuid, 'Tmdb', 1973831)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1381dd6-e3ad-dccb-18f9-103efc6a01d6'::uuid, 'trakt', 3791774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5267 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7395b226-7b9c-823d-64ea-cc603406d5b3'::uuid;

-- Query #5268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1381dd6-e3ad-dccb-18f9-103efc6a01d6'::uuid, 'TvMaze', 1747946)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5269 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1381dd6-e3ad-dccb-18f9-103efc6a01d6'::uuid, 'Tvdb', 7429367)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5271 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1381dd6-e3ad-dccb-18f9-103efc6a01d6'::uuid, 'TmdbCollection', 1973831)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd1381dd6-e3ad-dccb-18f9-103efc6a01d6'::uuid;

-- Query #5273 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd1381dd6-e3ad-dccb-18f9-103efc6a01d6'::uuid;

-- Query #5274 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d1381dd6-e3ad-dccb-18f9-103efc6a01d6'::uuid]);

-- Query #5275 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd1381dd6-e3ad-dccb-18f9-103efc6a01d6'::uuid;

-- Query #5276 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5277 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24d636d1-1bfc-6a3a-1c61-cffd207ba758'::uuid;

-- Query #5278 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '497302e9-261f-be65-ab3a-0128070d97b9'::uuid;

-- Query #5279 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24d636d1-1bfc-6a3a-1c61-cffd207ba758'::uuid]);

-- Query #5280 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '24d636d1-1bfc-6a3a-1c61-cffd207ba758'::uuid;

-- Query #5281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24d636d1-1bfc-6a3a-1c61-cffd207ba758'::uuid, 'Imdb', 'tt0749664')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5282 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24d636d1-1bfc-6a3a-1c61-cffd207ba758'::uuid, 'Tmdb', 199988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5283 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24d636d1-1bfc-6a3a-1c61-cffd207ba758'::uuid, 'TmdbCollection', 199988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5284 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24d636d1-1bfc-6a3a-1c61-cffd207ba758'::uuid, 'trakt', 211164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5285 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24d636d1-1bfc-6a3a-1c61-cffd207ba758'::uuid, 'Tvdb', 300346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5286 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24d636d1-1bfc-6a3a-1c61-cffd207ba758'::uuid, 'TvMaze', 72877)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5287 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24d636d1-1bfc-6a3a-1c61-cffd207ba758'::uuid, 'TvRage', 233821)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5288 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24d636d1-1bfc-6a3a-1c61-cffd207ba758'::uuid;

-- Query #5289 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '24d636d1-1bfc-6a3a-1c61-cffd207ba758'::uuid;

-- Query #5290 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['497302e9-261f-be65-ab3a-0128070d97b9'::uuid]);

-- Query #5291 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '497302e9-261f-be65-ab3a-0128070d97b9'::uuid;

-- Query #5292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('497302e9-261f-be65-ab3a-0128070d97b9'::uuid, 'Imdb', 'tt10338180')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5293 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['24d636d1-1bfc-6a3a-1c61-cffd207ba758'::uuid]);

-- Query #5294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('497302e9-261f-be65-ab3a-0128070d97b9'::uuid, 'Tmdb', 1824250)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('497302e9-261f-be65-ab3a-0128070d97b9'::uuid, 'trakt', 3575318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5296 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '24d636d1-1bfc-6a3a-1c61-cffd207ba758'::uuid;

-- Query #5297 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('497302e9-261f-be65-ab3a-0128070d97b9'::uuid, 'TvMaze', 1669475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5298 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5299 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('497302e9-261f-be65-ab3a-0128070d97b9'::uuid, 'Tvdb', 7234514)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('497302e9-261f-be65-ab3a-0128070d97b9'::uuid, 'TmdbCollection', 1824250)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5301 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '497302e9-261f-be65-ab3a-0128070d97b9'::uuid;

-- Query #5302 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '497302e9-261f-be65-ab3a-0128070d97b9'::uuid;

-- Query #5303 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['497302e9-261f-be65-ab3a-0128070d97b9'::uuid]);

-- Query #5304 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '497302e9-261f-be65-ab3a-0128070d97b9'::uuid;

-- Query #5305 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5306 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '807dc896-cd96-d024-44ab-b8e6a4b5b4d3'::uuid;

-- Query #5307 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['807dc896-cd96-d024-44ab-b8e6a4b5b4d3'::uuid]);

-- Query #5308 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '807dc896-cd96-d024-44ab-b8e6a4b5b4d3'::uuid;

-- Query #5309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807dc896-cd96-d024-44ab-b8e6a4b5b4d3'::uuid, 'Imdb', 'tt0749669')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807dc896-cd96-d024-44ab-b8e6a4b5b4d3'::uuid, 'Tmdb', 199990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807dc896-cd96-d024-44ab-b8e6a4b5b4d3'::uuid, 'TmdbCollection', 199990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5312 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807dc896-cd96-d024-44ab-b8e6a4b5b4d3'::uuid, 'trakt', 211166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5313 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807dc896-cd96-d024-44ab-b8e6a4b5b4d3'::uuid, 'Tvdb', 300348)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807dc896-cd96-d024-44ab-b8e6a4b5b4d3'::uuid, 'TvMaze', 72879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5315 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5eb80f8-f1b2-6c75-828f-fbee183180c3'::uuid;

-- Query #5316 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807dc896-cd96-d024-44ab-b8e6a4b5b4d3'::uuid, 'TvRage', 233823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5317 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '807dc896-cd96-d024-44ab-b8e6a4b5b4d3'::uuid;

-- Query #5318 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '807dc896-cd96-d024-44ab-b8e6a4b5b4d3'::uuid;

-- Query #5319 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['807dc896-cd96-d024-44ab-b8e6a4b5b4d3'::uuid]);

-- Query #5320 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '807dc896-cd96-d024-44ab-b8e6a4b5b4d3'::uuid;

-- Query #5321 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5322 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a5eb80f8-f1b2-6c75-828f-fbee183180c3'::uuid]);

-- Query #5323 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a5eb80f8-f1b2-6c75-828f-fbee183180c3'::uuid;

-- Query #5324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5eb80f8-f1b2-6c75-828f-fbee183180c3'::uuid, 'Imdb', 'tt10338184')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5eb80f8-f1b2-6c75-828f-fbee183180c3'::uuid, 'Tmdb', 1948888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5eb80f8-f1b2-6c75-828f-fbee183180c3'::uuid, 'trakt', 3739621)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5eb80f8-f1b2-6c75-828f-fbee183180c3'::uuid, 'TvMaze', 1722423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5328 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5eb80f8-f1b2-6c75-828f-fbee183180c3'::uuid, 'Tvdb', 7381369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5329 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5eb80f8-f1b2-6c75-828f-fbee183180c3'::uuid, 'TmdbCollection', 1948888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5330 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5eb80f8-f1b2-6c75-828f-fbee183180c3'::uuid;

-- Query #5331 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a5eb80f8-f1b2-6c75-828f-fbee183180c3'::uuid;

-- Query #5332 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a5eb80f8-f1b2-6c75-828f-fbee183180c3'::uuid]);

-- Query #5333 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a5eb80f8-f1b2-6c75-828f-fbee183180c3'::uuid;

-- Query #5334 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5335 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba47ab70-22a7-84d7-84f7-742df359a9a1'::uuid;

-- Query #5336 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba47ab70-22a7-84d7-84f7-742df359a9a1'::uuid]);

-- Query #5337 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ba47ab70-22a7-84d7-84f7-742df359a9a1'::uuid;

-- Query #5338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba47ab70-22a7-84d7-84f7-742df359a9a1'::uuid, 'Imdb', 'tt0749711')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba47ab70-22a7-84d7-84f7-742df359a9a1'::uuid, 'Tmdb', 199993)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba47ab70-22a7-84d7-84f7-742df359a9a1'::uuid, 'TmdbCollection', 199993)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba47ab70-22a7-84d7-84f7-742df359a9a1'::uuid, 'trakt', 211168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba47ab70-22a7-84d7-84f7-742df359a9a1'::uuid, 'Tvdb', 302149)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba47ab70-22a7-84d7-84f7-742df359a9a1'::uuid, 'TvMaze', 72881)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba47ab70-22a7-84d7-84f7-742df359a9a1'::uuid, 'TvRage', 304799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5345 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba47ab70-22a7-84d7-84f7-742df359a9a1'::uuid;

-- Query #5346 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ba47ab70-22a7-84d7-84f7-742df359a9a1'::uuid;

-- Query #5347 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9db7b7e5-6428-f1be-5a5c-013704c312f9'::uuid;

-- Query #5348 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ba47ab70-22a7-84d7-84f7-742df359a9a1'::uuid]);

-- Query #5349 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ba47ab70-22a7-84d7-84f7-742df359a9a1'::uuid;

-- Query #5350 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5351 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9db7b7e5-6428-f1be-5a5c-013704c312f9'::uuid]);

-- Query #5352 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9db7b7e5-6428-f1be-5a5c-013704c312f9'::uuid;

-- Query #5353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9db7b7e5-6428-f1be-5a5c-013704c312f9'::uuid, 'Imdb', 'tt10338198')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9db7b7e5-6428-f1be-5a5c-013704c312f9'::uuid, 'Tmdb', 1993583)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9db7b7e5-6428-f1be-5a5c-013704c312f9'::uuid, 'trakt', 3839569)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9db7b7e5-6428-f1be-5a5c-013704c312f9'::uuid, 'TvMaze', 1759874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9db7b7e5-6428-f1be-5a5c-013704c312f9'::uuid, 'Tvdb', 7467864)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9db7b7e5-6428-f1be-5a5c-013704c312f9'::uuid, 'TmdbCollection', 1993583)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5359 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9db7b7e5-6428-f1be-5a5c-013704c312f9'::uuid;

-- Query #5360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9db7b7e5-6428-f1be-5a5c-013704c312f9'::uuid;

-- Query #5361 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9db7b7e5-6428-f1be-5a5c-013704c312f9'::uuid]);

-- Query #5362 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9db7b7e5-6428-f1be-5a5c-013704c312f9'::uuid;

-- Query #5363 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5364 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b19a8607-2992-af66-9011-e1548f4aeb0b'::uuid;

-- Query #5365 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b19a8607-2992-af66-9011-e1548f4aeb0b'::uuid]);

-- Query #5366 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b19a8607-2992-af66-9011-e1548f4aeb0b'::uuid;

-- Query #5367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b19a8607-2992-af66-9011-e1548f4aeb0b'::uuid, 'Imdb', 'tt0749713')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b19a8607-2992-af66-9011-e1548f4aeb0b'::uuid, 'Tmdb', 200010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b19a8607-2992-af66-9011-e1548f4aeb0b'::uuid, 'TmdbCollection', 200010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b19a8607-2992-af66-9011-e1548f4aeb0b'::uuid, 'trakt', 211177)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b19a8607-2992-af66-9011-e1548f4aeb0b'::uuid, 'Tvdb', 305936)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b19a8607-2992-af66-9011-e1548f4aeb0b'::uuid, 'TvMaze', 72890)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5373 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '38b0b6c7-4325-6920-6759-58e783ecc588'::uuid;

-- Query #5374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b19a8607-2992-af66-9011-e1548f4aeb0b'::uuid, 'TvRage', 326337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5375 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b19a8607-2992-af66-9011-e1548f4aeb0b'::uuid;

-- Query #5376 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b19a8607-2992-af66-9011-e1548f4aeb0b'::uuid;

-- Query #5377 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b19a8607-2992-af66-9011-e1548f4aeb0b'::uuid]);

-- Query #5378 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b19a8607-2992-af66-9011-e1548f4aeb0b'::uuid;

-- Query #5379 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5380 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38b0b6c7-4325-6920-6759-58e783ecc588'::uuid]);

-- Query #5381 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '38b0b6c7-4325-6920-6759-58e783ecc588'::uuid;

-- Query #5382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38b0b6c7-4325-6920-6759-58e783ecc588'::uuid, 'Imdb', 'tt10338194')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38b0b6c7-4325-6920-6759-58e783ecc588'::uuid, 'Tmdb', 1980863)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38b0b6c7-4325-6920-6759-58e783ecc588'::uuid, 'trakt', 3807651)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38b0b6c7-4325-6920-6759-58e783ecc588'::uuid, 'TvMaze', 1752401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38b0b6c7-4325-6920-6759-58e783ecc588'::uuid, 'Tvdb', 7444652)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38b0b6c7-4325-6920-6759-58e783ecc588'::uuid, 'TmdbCollection', 1980863)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5388 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '38b0b6c7-4325-6920-6759-58e783ecc588'::uuid;

-- Query #5389 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '38b0b6c7-4325-6920-6759-58e783ecc588'::uuid;

-- Query #5390 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['38b0b6c7-4325-6920-6759-58e783ecc588'::uuid]);

-- Query #5391 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '38b0b6c7-4325-6920-6759-58e783ecc588'::uuid;

-- Query #5392 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5393 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '081dc7b8-e0f7-ce84-356d-9180008e2dcf'::uuid;

-- Query #5394 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ec94aeef-7990-1e6c-bdc5-90a83b8a5f2f'::uuid;

-- Query #5395 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['081dc7b8-e0f7-ce84-356d-9180008e2dcf'::uuid]);

-- Query #5396 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '081dc7b8-e0f7-ce84-356d-9180008e2dcf'::uuid;

-- Query #5397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081dc7b8-e0f7-ce84-356d-9180008e2dcf'::uuid, 'Imdb', 'tt0749679')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081dc7b8-e0f7-ce84-356d-9180008e2dcf'::uuid, 'Tmdb', 199989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081dc7b8-e0f7-ce84-356d-9180008e2dcf'::uuid, 'TmdbCollection', 199989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081dc7b8-e0f7-ce84-356d-9180008e2dcf'::uuid, 'trakt', 211165)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081dc7b8-e0f7-ce84-356d-9180008e2dcf'::uuid, 'Tvdb', 300347)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081dc7b8-e0f7-ce84-356d-9180008e2dcf'::uuid, 'TvMaze', 72878)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081dc7b8-e0f7-ce84-356d-9180008e2dcf'::uuid, 'TvRage', 233822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5404 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '081dc7b8-e0f7-ce84-356d-9180008e2dcf'::uuid;

-- Query #5405 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '081dc7b8-e0f7-ce84-356d-9180008e2dcf'::uuid;

-- Query #5406 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['081dc7b8-e0f7-ce84-356d-9180008e2dcf'::uuid]);

-- Query #5407 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '081dc7b8-e0f7-ce84-356d-9180008e2dcf'::uuid;

-- Query #5408 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5409 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ec94aeef-7990-1e6c-bdc5-90a83b8a5f2f'::uuid]);

-- Query #5410 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ec94aeef-7990-1e6c-bdc5-90a83b8a5f2f'::uuid;

-- Query #5411 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec94aeef-7990-1e6c-bdc5-90a83b8a5f2f'::uuid, 'Imdb', 'tt10338182')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5412 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec94aeef-7990-1e6c-bdc5-90a83b8a5f2f'::uuid, 'Tmdb', 1935139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec94aeef-7990-1e6c-bdc5-90a83b8a5f2f'::uuid, 'trakt', 3721426)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec94aeef-7990-1e6c-bdc5-90a83b8a5f2f'::uuid, 'TvMaze', 1718929)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec94aeef-7990-1e6c-bdc5-90a83b8a5f2f'::uuid, 'Tvdb', 7367771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec94aeef-7990-1e6c-bdc5-90a83b8a5f2f'::uuid, 'TmdbCollection', 1935139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5417 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ec94aeef-7990-1e6c-bdc5-90a83b8a5f2f'::uuid;

-- Query #5418 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ec94aeef-7990-1e6c-bdc5-90a83b8a5f2f'::uuid;

-- Query #5419 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ec94aeef-7990-1e6c-bdc5-90a83b8a5f2f'::uuid]);

-- Query #5420 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ec94aeef-7990-1e6c-bdc5-90a83b8a5f2f'::uuid;

-- Query #5421 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5422 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2f4c3a2d-2aad-8cf6-6ee5-12500d5682f1'::uuid;

-- Query #5423 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #5424 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14cde805-0357-a5ba-5aa2-0fbcc60a29c3'::uuid;

-- Query #5425 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2f4c3a2d-2aad-8cf6-6ee5-12500d5682f1'::uuid]);

-- Query #5426 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2f4c3a2d-2aad-8cf6-6ee5-12500d5682f1'::uuid;

-- Query #5427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f4c3a2d-2aad-8cf6-6ee5-12500d5682f1'::uuid, 'Imdb', 'tt0780448')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f4c3a2d-2aad-8cf6-6ee5-12500d5682f1'::uuid, 'Tmdb', 200016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f4c3a2d-2aad-8cf6-6ee5-12500d5682f1'::uuid, 'TmdbCollection', 200016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f4c3a2d-2aad-8cf6-6ee5-12500d5682f1'::uuid, 'trakt', 211181)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f4c3a2d-2aad-8cf6-6ee5-12500d5682f1'::uuid, 'Tvdb', 336062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f4c3a2d-2aad-8cf6-6ee5-12500d5682f1'::uuid, 'TvMaze', 72894)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f4c3a2d-2aad-8cf6-6ee5-12500d5682f1'::uuid, 'TvRage', 348940)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5434 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2f4c3a2d-2aad-8cf6-6ee5-12500d5682f1'::uuid;

-- Query #5435 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2f4c3a2d-2aad-8cf6-6ee5-12500d5682f1'::uuid;

-- Query #5436 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14cde805-0357-a5ba-5aa2-0fbcc60a29c3'::uuid]);

-- Query #5437 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '14cde805-0357-a5ba-5aa2-0fbcc60a29c3'::uuid;

-- Query #5438 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14cde805-0357-a5ba-5aa2-0fbcc60a29c3'::uuid, 'Imdb', 'tt10338186')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5439 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14cde805-0357-a5ba-5aa2-0fbcc60a29c3'::uuid, 'Tmdb', 1948889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5440 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14cde805-0357-a5ba-5aa2-0fbcc60a29c3'::uuid, 'trakt', 3764243)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14cde805-0357-a5ba-5aa2-0fbcc60a29c3'::uuid, 'TvMaze', 1728004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14cde805-0357-a5ba-5aa2-0fbcc60a29c3'::uuid, 'Tvdb', 7402619)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5443 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2f4c3a2d-2aad-8cf6-6ee5-12500d5682f1'::uuid]);

-- Query #5444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14cde805-0357-a5ba-5aa2-0fbcc60a29c3'::uuid, 'TmdbCollection', 1948889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5445 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14cde805-0357-a5ba-5aa2-0fbcc60a29c3'::uuid;

-- Query #5446 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2f4c3a2d-2aad-8cf6-6ee5-12500d5682f1'::uuid;

-- Query #5447 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '14cde805-0357-a5ba-5aa2-0fbcc60a29c3'::uuid;

-- Query #5448 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5449 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['14cde805-0357-a5ba-5aa2-0fbcc60a29c3'::uuid]);

-- Query #5450 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '14cde805-0357-a5ba-5aa2-0fbcc60a29c3'::uuid;

-- Query #5451 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid, 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5452 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c191d97c-1bf4-f152-7651-cb973e41b91a'::uuid
ORDER BY b."SortName";

-- Query #5453 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bd50fde8-b7f4-f2fe-eff6-86f75eba3770'::uuid
ORDER BY b."SortName";

-- Query #5454 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '48e65363-25ed-708c-d99a-7ba701bd5954'::uuid
ORDER BY b."SortName";

-- Query #5455 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '98108d7e-c47a-a2f8-1816-8e4c003c3175'::uuid;

-- Query #5456 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '746afd2e-8c9e-fb4a-2c04-88ca8c652f4b'::uuid
ORDER BY b."SortName";

-- Query #5457 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['98108d7e-c47a-a2f8-1816-8e4c003c3175'::uuid]);

-- Query #5458 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '98108d7e-c47a-a2f8-1816-8e4c003c3175'::uuid;

-- Query #5459 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98108d7e-c47a-a2f8-1816-8e4c003c3175'::uuid, 'Imdb', 'tt0749690')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5460 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98108d7e-c47a-a2f8-1816-8e4c003c3175'::uuid, 'Tmdb', 200003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98108d7e-c47a-a2f8-1816-8e4c003c3175'::uuid, 'TmdbCollection', 200003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98108d7e-c47a-a2f8-1816-8e4c003c3175'::uuid, 'trakt', 211175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98108d7e-c47a-a2f8-1816-8e4c003c3175'::uuid, 'Tvdb', 305934)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98108d7e-c47a-a2f8-1816-8e4c003c3175'::uuid, 'TvMaze', 72888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98108d7e-c47a-a2f8-1816-8e4c003c3175'::uuid, 'TvRage', 320724)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5466 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '98108d7e-c47a-a2f8-1816-8e4c003c3175'::uuid;

-- Query #5467 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '98108d7e-c47a-a2f8-1816-8e4c003c3175'::uuid;

-- Query #5468 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '03b35379-0380-1d23-8c86-8adfb287fb00'::uuid
ORDER BY b."SortName";

-- Query #5469 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['98108d7e-c47a-a2f8-1816-8e4c003c3175'::uuid]);

-- Query #5470 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '98108d7e-c47a-a2f8-1816-8e4c003c3175'::uuid;

-- Query #5471 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5472 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7831645a-f482-c2dc-455a-ce76c62b51bb'::uuid
ORDER BY b."SortName";

-- Query #5473 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b76bf554-57d3-dd58-b8b6-c622fe7a0d1b'::uuid
ORDER BY b."SortName";

-- Query #5474 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'c191d97c1bf4f1527651cb973e41b91a'
ORDER BY b."SortName", b."Name";

-- Query #5475 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9de82a8f-19fd-c2e8-971f-85fe7783e2b8'::uuid;

-- Query #5476 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9de82a8f-19fd-c2e8-971f-85fe7783e2b8'::uuid]);

-- Query #5477 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9de82a8f-19fd-c2e8-971f-85fe7783e2b8'::uuid;

-- Query #5478 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9de82a8f-19fd-c2e8-971f-85fe7783e2b8'::uuid, 'Imdb', 'tt0749697')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9de82a8f-19fd-c2e8-971f-85fe7783e2b8'::uuid, 'Tmdb', 200000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9de82a8f-19fd-c2e8-971f-85fe7783e2b8'::uuid, 'TmdbCollection', 200000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9de82a8f-19fd-c2e8-971f-85fe7783e2b8'::uuid, 'trakt', 211174)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9de82a8f-19fd-c2e8-971f-85fe7783e2b8'::uuid, 'Tvdb', 305933)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9de82a8f-19fd-c2e8-971f-85fe7783e2b8'::uuid, 'TvMaze', 72887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5484 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9de82a8f-19fd-c2e8-971f-85fe7783e2b8'::uuid, 'TvRage', 314920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5485 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9de82a8f-19fd-c2e8-971f-85fe7783e2b8'::uuid;

-- Query #5486 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9de82a8f-19fd-c2e8-971f-85fe7783e2b8'::uuid;

-- Query #5487 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9de82a8f-19fd-c2e8-971f-85fe7783e2b8'::uuid]);

-- Query #5488 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9de82a8f-19fd-c2e8-971f-85fe7783e2b8'::uuid;

-- Query #5489 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5490 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid
ORDER BY b."SortName";

-- Query #5491 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid
ORDER BY b."SortName";

-- Query #5492 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3d1a2d59-9172-6462-319d-50485e49d7b6'::uuid;

-- Query #5493 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid
ORDER BY b."SortName";

-- Query #5494 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid
ORDER BY b."SortName";

-- Query #5495 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d1a2d59-9172-6462-319d-50485e49d7b6'::uuid]);

-- Query #5496 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3d1a2d59-9172-6462-319d-50485e49d7b6'::uuid;

-- Query #5497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d1a2d59-9172-6462-319d-50485e49d7b6'::uuid, 'Imdb', 'tt0782021')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d1a2d59-9172-6462-319d-50485e49d7b6'::uuid, 'Tmdb', 200020)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5499 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d1a2d59-9172-6462-319d-50485e49d7b6'::uuid, 'TmdbCollection', 200020)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d1a2d59-9172-6462-319d-50485e49d7b6'::uuid, 'trakt', 211183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d1a2d59-9172-6462-319d-50485e49d7b6'::uuid, 'Tvdb', 336064)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d1a2d59-9172-6462-319d-50485e49d7b6'::uuid, 'TvMaze', 72896)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d1a2d59-9172-6462-319d-50485e49d7b6'::uuid, 'TvRage', 361252)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5504 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3d1a2d59-9172-6462-319d-50485e49d7b6'::uuid;

-- Query #5505 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3d1a2d59-9172-6462-319d-50485e49d7b6'::uuid;

-- Query #5506 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid
ORDER BY b."SortName";

-- Query #5507 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3d1a2d59-9172-6462-319d-50485e49d7b6'::uuid]);

-- Query #5508 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3d1a2d59-9172-6462-319d-50485e49d7b6'::uuid;

-- Query #5509 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5510 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1b12695c-71e6-ed71-2674-71eae5602767'::uuid
ORDER BY b."SortName";

-- Query #5511 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid
ORDER BY b."SortName";

-- Query #5512 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid
ORDER BY b."SortName";

-- Query #5513 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7948e8f-61dd-5448-2d51-11b89951d5ca'::uuid;

-- Query #5514 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7948e8f-61dd-5448-2d51-11b89951d5ca'::uuid]);

-- Query #5515 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c7948e8f-61dd-5448-2d51-11b89951d5ca'::uuid;

-- Query #5516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7948e8f-61dd-5448-2d51-11b89951d5ca'::uuid, 'Imdb', 'tt0761573')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7948e8f-61dd-5448-2d51-11b89951d5ca'::uuid, 'Tmdb', 200014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7948e8f-61dd-5448-2d51-11b89951d5ca'::uuid, 'TmdbCollection', 200014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7948e8f-61dd-5448-2d51-11b89951d5ca'::uuid, 'trakt', 211179)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7948e8f-61dd-5448-2d51-11b89951d5ca'::uuid, 'Tvdb', 336060)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7948e8f-61dd-5448-2d51-11b89951d5ca'::uuid, 'TvMaze', 72892)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7948e8f-61dd-5448-2d51-11b89951d5ca'::uuid, 'TvRage', 333866)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5523 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7948e8f-61dd-5448-2d51-11b89951d5ca'::uuid;

-- Query #5524 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c7948e8f-61dd-5448-2d51-11b89951d5ca'::uuid;

-- Query #5525 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c7948e8f-61dd-5448-2d51-11b89951d5ca'::uuid]);

-- Query #5526 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c7948e8f-61dd-5448-2d51-11b89951d5ca'::uuid;

-- Query #5527 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5528 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'faa9241f-81d0-544a-a7b8-320b6a74dbd3'::uuid;

-- Query #5529 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['faa9241f-81d0-544a-a7b8-320b6a74dbd3'::uuid]);

-- Query #5530 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'faa9241f-81d0-544a-a7b8-320b6a74dbd3'::uuid;

-- Query #5531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faa9241f-81d0-544a-a7b8-320b6a74dbd3'::uuid, 'Imdb', 'tt0749700')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faa9241f-81d0-544a-a7b8-320b6a74dbd3'::uuid, 'Tmdb', 199987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faa9241f-81d0-544a-a7b8-320b6a74dbd3'::uuid, 'TmdbCollection', 199987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faa9241f-81d0-544a-a7b8-320b6a74dbd3'::uuid, 'trakt', 211163)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faa9241f-81d0-544a-a7b8-320b6a74dbd3'::uuid, 'Tvdb', 300345)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faa9241f-81d0-544a-a7b8-320b6a74dbd3'::uuid, 'TvMaze', 72876)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faa9241f-81d0-544a-a7b8-320b6a74dbd3'::uuid, 'TvRage', 233820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5538 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'faa9241f-81d0-544a-a7b8-320b6a74dbd3'::uuid;

-- Query #5539 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'faa9241f-81d0-544a-a7b8-320b6a74dbd3'::uuid;

-- Query #5540 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['faa9241f-81d0-544a-a7b8-320b6a74dbd3'::uuid]);

-- Query #5541 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'faa9241f-81d0-544a-a7b8-320b6a74dbd3'::uuid;

-- Query #5542 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5543 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5650cd12-39af-ec50-9d71-959f19f9d870'::uuid;

-- Query #5544 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5650cd12-39af-ec50-9d71-959f19f9d870'::uuid]);

-- Query #5545 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5650cd12-39af-ec50-9d71-959f19f9d870'::uuid;

-- Query #5546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5650cd12-39af-ec50-9d71-959f19f9d870'::uuid, 'Imdb', 'tt0795031')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5650cd12-39af-ec50-9d71-959f19f9d870'::uuid, 'Tmdb', 200018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5650cd12-39af-ec50-9d71-959f19f9d870'::uuid, 'TmdbCollection', 200018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5650cd12-39af-ec50-9d71-959f19f9d870'::uuid, 'trakt', 211182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5650cd12-39af-ec50-9d71-959f19f9d870'::uuid, 'Tvdb', 336063)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5650cd12-39af-ec50-9d71-959f19f9d870'::uuid, 'TvMaze', 72895)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5552 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5650cd12-39af-ec50-9d71-959f19f9d870'::uuid, 'TvRage', 361069)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5553 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5650cd12-39af-ec50-9d71-959f19f9d870'::uuid;

-- Query #5554 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5650cd12-39af-ec50-9d71-959f19f9d870'::uuid;

-- Query #5555 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5650cd12-39af-ec50-9d71-959f19f9d870'::uuid]);

-- Query #5556 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5650cd12-39af-ec50-9d71-959f19f9d870'::uuid;

-- Query #5557 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5558 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid;

-- Query #5559 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '32959eb1-574e-7b69-466a-087589171db6'::uuid;

-- Query #5560 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['644d63b4-e274-878b-ba07-05f16284fdd1'::uuid]);

-- Query #5561 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid;

-- Query #5562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, 'facebook', 'MadMen')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5563 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, 'Imdb', 'tt0804503')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, 'instagram', 'madmen_amc')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, 'official website', 'https://www.amc.com/shows/mad-men')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, 'Tmdb', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5567 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, 'TmdbCollection', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5568 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, 'Tvdb', 80337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5569 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, 'TvMaze', 385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, 'TvRage', 16356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, 'wikidata', 'Q223977')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5572 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, 'x (twitter)', 'madmen_amc')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5573 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, 'Zap2It', 'EP00935777')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5574 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid;

-- Query #5575 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid;

-- Query #5576 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['644d63b4-e274-878b-ba07-05f16284fdd1'::uuid]);

-- Query #5577 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['32959eb1-574e-7b69-466a-087589171db6'::uuid]);

-- Query #5578 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid;

-- Query #5579 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '32959eb1-574e-7b69-466a-087589171db6'::uuid;

-- Query #5580 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32959eb1-574e-7b69-466a-087589171db6'::uuid, 'Imdb', 'tt0749703')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32959eb1-574e-7b69-466a-087589171db6'::uuid, 'Tmdb', 199984)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32959eb1-574e-7b69-466a-087589171db6'::uuid, 'TmdbCollection', 199984)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32959eb1-574e-7b69-466a-087589171db6'::uuid, 'trakt', 211162)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32959eb1-574e-7b69-466a-087589171db6'::uuid, 'Tvdb', 300344)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32959eb1-574e-7b69-466a-087589171db6'::uuid, 'TvMaze', 72875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5587 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32959eb1-574e-7b69-466a-087589171db6'::uuid, 'TvRage', 233819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5588 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '32959eb1-574e-7b69-466a-087589171db6'::uuid;

-- Query #5589 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '32959eb1-574e-7b69-466a-087589171db6'::uuid;

-- Query #5590 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['32959eb1-574e-7b69-466a-087589171db6'::uuid]);

-- Query #5591 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '32959eb1-574e-7b69-466a-087589171db6'::uuid;

-- Query #5592 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5593 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '644d63b4e274878bba0705f16284fdd1'
ORDER BY b."SortName", b."Name";

-- Query #5594 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2516d225-574f-5766-3a36-13f4b3478ed6'::uuid;

-- Query #5595 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2516d225-574f-5766-3a36-13f4b3478ed6'::uuid]);

-- Query #5596 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2516d225-574f-5766-3a36-13f4b3478ed6'::uuid;

-- Query #5597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2516d225-574f-5766-3a36-13f4b3478ed6'::uuid, 'Imdb', 'tt0761574')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2516d225-574f-5766-3a36-13f4b3478ed6'::uuid, 'Tmdb', 200007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2516d225-574f-5766-3a36-13f4b3478ed6'::uuid, 'TmdbCollection', 200007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2516d225-574f-5766-3a36-13f4b3478ed6'::uuid, 'trakt', 211176)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2516d225-574f-5766-3a36-13f4b3478ed6'::uuid, 'Tvdb', 305935)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2516d225-574f-5766-3a36-13f4b3478ed6'::uuid, 'TvMaze', 72889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5603 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2516d225-574f-5766-3a36-13f4b3478ed6'::uuid, 'TvRage', 320756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5604 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2516d225-574f-5766-3a36-13f4b3478ed6'::uuid;

-- Query #5605 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2516d225-574f-5766-3a36-13f4b3478ed6'::uuid;

-- Query #5606 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2516d225-574f-5766-3a36-13f4b3478ed6'::uuid]);

-- Query #5607 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2516d225-574f-5766-3a36-13f4b3478ed6'::uuid;

-- Query #5608 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5609 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid
ORDER BY b."SortName";

-- Query #5610 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid
ORDER BY b."SortName";

-- Query #5611 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '66fbca4a-4480-c084-e5e5-6741b414ba25'::uuid;

-- Query #5612 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid
ORDER BY b."SortName";

-- Query #5613 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['66fbca4a-4480-c084-e5e5-6741b414ba25'::uuid]);

-- Query #5614 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '66fbca4a-4480-c084-e5e5-6741b414ba25'::uuid;

-- Query #5615 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid
ORDER BY b."SortName";

-- Query #5616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66fbca4a-4480-c084-e5e5-6741b414ba25'::uuid, 'Imdb', 'tt0749725')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66fbca4a-4480-c084-e5e5-6741b414ba25'::uuid, 'Tmdb', 199991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66fbca4a-4480-c084-e5e5-6741b414ba25'::uuid, 'TmdbCollection', 199991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66fbca4a-4480-c084-e5e5-6741b414ba25'::uuid, 'trakt', 211167)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5620 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66fbca4a-4480-c084-e5e5-6741b414ba25'::uuid, 'Tvdb', 300349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5621 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66fbca4a-4480-c084-e5e5-6741b414ba25'::uuid, 'TvMaze', 72880)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66fbca4a-4480-c084-e5e5-6741b414ba25'::uuid, 'TvRage', 233824)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5623 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '66fbca4a-4480-c084-e5e5-6741b414ba25'::uuid;

-- Query #5624 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '66fbca4a-4480-c084-e5e5-6741b414ba25'::uuid;

-- Query #5625 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid
ORDER BY b."SortName";

-- Query #5626 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['66fbca4a-4480-c084-e5e5-6741b414ba25'::uuid]);

-- Query #5627 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '66fbca4a-4480-c084-e5e5-6741b414ba25'::uuid;

-- Query #5628 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5629 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1b12695c-71e6-ed71-2674-71eae5602767'::uuid
ORDER BY b."SortName";

-- Query #5630 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid
ORDER BY b."SortName";

-- Query #5631 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid
ORDER BY b."SortName";

-- Query #5632 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a7b2190-bc97-2b52-6c2b-6ef30e1d030a'::uuid;

-- Query #5633 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '644d63b4e274878bba0705f16284fdd1'
ORDER BY b."SortName", b."Name";

-- Query #5634 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a7b2190-bc97-2b52-6c2b-6ef30e1d030a'::uuid]);

-- Query #5635 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8a7b2190-bc97-2b52-6c2b-6ef30e1d030a'::uuid;

-- Query #5636 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a7b2190-bc97-2b52-6c2b-6ef30e1d030a'::uuid, 'Imdb', 'tt0749728')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a7b2190-bc97-2b52-6c2b-6ef30e1d030a'::uuid, 'Tmdb', 199997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a7b2190-bc97-2b52-6c2b-6ef30e1d030a'::uuid, 'TmdbCollection', 199997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a7b2190-bc97-2b52-6c2b-6ef30e1d030a'::uuid, 'trakt', 211171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a7b2190-bc97-2b52-6c2b-6ef30e1d030a'::uuid, 'Tvdb', 302152)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a7b2190-bc97-2b52-6c2b-6ef30e1d030a'::uuid, 'TvMaze', 72884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a7b2190-bc97-2b52-6c2b-6ef30e1d030a'::uuid, 'TvRage', 308291)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5643 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a7b2190-bc97-2b52-6c2b-6ef30e1d030a'::uuid;

-- Query #5644 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8a7b2190-bc97-2b52-6c2b-6ef30e1d030a'::uuid;

-- Query #5645 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8a7b2190-bc97-2b52-6c2b-6ef30e1d030a'::uuid]);

-- Query #5646 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8a7b2190-bc97-2b52-6c2b-6ef30e1d030a'::uuid;

-- Query #5647 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5648 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '647f90ee-a876-c543-43b7-ab33fae54b5b'::uuid;

-- Query #5649 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['647f90ee-a876-c543-43b7-ab33fae54b5b'::uuid]);

-- Query #5650 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '647f90ee-a876-c543-43b7-ab33fae54b5b'::uuid;

-- Query #5651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('647f90ee-a876-c543-43b7-ab33fae54b5b'::uuid, 'Imdb', 'tt0859576')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5652 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('647f90ee-a876-c543-43b7-ab33fae54b5b'::uuid, 'Tmdb', 200026)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('647f90ee-a876-c543-43b7-ab33fae54b5b'::uuid, 'TmdbCollection', 200026)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('647f90ee-a876-c543-43b7-ab33fae54b5b'::uuid, 'trakt', 211188)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('647f90ee-a876-c543-43b7-ab33fae54b5b'::uuid, 'Tvdb', 308578)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('647f90ee-a876-c543-43b7-ab33fae54b5b'::uuid, 'TvMaze', 72901)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('647f90ee-a876-c543-43b7-ab33fae54b5b'::uuid, 'TvRage', 437558)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5658 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '647f90ee-a876-c543-43b7-ab33fae54b5b'::uuid;

-- Query #5659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '647f90ee-a876-c543-43b7-ab33fae54b5b'::uuid;

-- Query #5660 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['647f90ee-a876-c543-43b7-ab33fae54b5b'::uuid]);

-- Query #5661 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '647f90ee-a876-c543-43b7-ab33fae54b5b'::uuid;

-- Query #5662 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5663 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid;

-- Query #5664 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid]);

-- Query #5665 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid;

-- Query #5666 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, 'Tvdb', 80337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5667 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, 'Tmdb', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5668 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, 'Imdb', 'tt0804503')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, 'TvMaze', 385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, 'TvRage', 16356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, 'Zap2It', 'EP00935777')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, 'wikidata', 'Q223977')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5673 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f791264-43b5-755a-034a-a279c3d50569'::uuid;

-- Query #5674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, 'TmdbCollection', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5675 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid;

-- Query #5676 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid;

-- Query #5677 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid]);

-- Query #5678 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid;

-- Query #5679 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5680 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f791264-43b5-755a-034a-a279c3d50569'::uuid]);

-- Query #5681 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5f791264-43b5-755a-034a-a279c3d50569'::uuid;

-- Query #5682 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f791264-43b5-755a-034a-a279c3d50569'::uuid, 'Imdb', 'tt0895709')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5683 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f791264-43b5-755a-034a-a279c3d50569'::uuid, 'Tmdb', 200034)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5684 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f791264-43b5-755a-034a-a279c3d50569'::uuid, 'TmdbCollection', 200034)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5685 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f791264-43b5-755a-034a-a279c3d50569'::uuid, 'trakt', 211192)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f791264-43b5-755a-034a-a279c3d50569'::uuid, 'Tvdb', 312566)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f791264-43b5-755a-034a-a279c3d50569'::uuid, 'TvMaze', 72905)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5688 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '644d63b4e274878bba0705f16284fdd1'
ORDER BY b."SortName", b."Name";

-- Query #5689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f791264-43b5-755a-034a-a279c3d50569'::uuid, 'TvRage', 472295)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5690 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f791264-43b5-755a-034a-a279c3d50569'::uuid;

-- Query #5691 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5f791264-43b5-755a-034a-a279c3d50569'::uuid;

-- Query #5692 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5f791264-43b5-755a-034a-a279c3d50569'::uuid]);

-- Query #5693 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5f791264-43b5-755a-034a-a279c3d50569'::uuid;

-- Query #5694 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5695 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60a4750f-6e46-8c4e-afa3-79bd8e0f9fe1'::uuid;

-- Query #5696 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid;

-- Query #5697 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['60a4750f-6e46-8c4e-afa3-79bd8e0f9fe1'::uuid]);

-- Query #5698 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '60a4750f-6e46-8c4e-afa3-79bd8e0f9fe1'::uuid;

-- Query #5699 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a4750f-6e46-8c4e-afa3-79bd8e0f9fe1'::uuid, 'Imdb', 'tt0972286')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a4750f-6e46-8c4e-afa3-79bd8e0f9fe1'::uuid, 'Tmdb', 200061)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a4750f-6e46-8c4e-afa3-79bd8e0f9fe1'::uuid, 'TmdbCollection', 200061)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a4750f-6e46-8c4e-afa3-79bd8e0f9fe1'::uuid, 'trakt', 211204)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a4750f-6e46-8c4e-afa3-79bd8e0f9fe1'::uuid, 'Tvdb', 324363)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a4750f-6e46-8c4e-afa3-79bd8e0f9fe1'::uuid, 'TvMaze', 72917)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a4750f-6e46-8c4e-afa3-79bd8e0f9fe1'::uuid, 'TvRage', 521987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5706 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60a4750f-6e46-8c4e-afa3-79bd8e0f9fe1'::uuid;

-- Query #5707 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '60a4750f-6e46-8c4e-afa3-79bd8e0f9fe1'::uuid;

-- Query #5708 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['60a4750f-6e46-8c4e-afa3-79bd8e0f9fe1'::uuid]);

-- Query #5709 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '60a4750f-6e46-8c4e-afa3-79bd8e0f9fe1'::uuid;

-- Query #5710 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5711 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid]);

-- Query #5712 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid;

-- Query #5713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, 'Tvdb', 80337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, 'Tmdb', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, 'Imdb', 'tt0804503')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, 'TvMaze', 385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, 'TvRage', 16356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, 'Zap2It', 'EP00935777')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, 'wikidata', 'Q223977')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, 'TmdbCollection', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5721 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid;

-- Query #5722 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid;

-- Query #5723 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid]);

-- Query #5724 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid;

-- Query #5725 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5726 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f6dd091d-8c3d-04a9-50c4-871f1f7c2414'::uuid;

-- Query #5727 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '644d63b4e274878bba0705f16284fdd1'
ORDER BY b."SortName", b."Name";

-- Query #5728 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6dd091d-8c3d-04a9-50c4-871f1f7c2414'::uuid]);

-- Query #5729 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f6dd091d-8c3d-04a9-50c4-871f1f7c2414'::uuid;

-- Query #5730 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6dd091d-8c3d-04a9-50c4-871f1f7c2414'::uuid, 'Imdb', 'tt1022489')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5731 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6dd091d-8c3d-04a9-50c4-871f1f7c2414'::uuid, 'Tmdb', 200068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5732 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6dd091d-8c3d-04a9-50c4-871f1f7c2414'::uuid, 'TmdbCollection', 200068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5733 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6dd091d-8c3d-04a9-50c4-871f1f7c2414'::uuid, 'trakt', 211209)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6dd091d-8c3d-04a9-50c4-871f1f7c2414'::uuid, 'Tvdb', 330998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6dd091d-8c3d-04a9-50c4-871f1f7c2414'::uuid, 'TvMaze', 72922)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6dd091d-8c3d-04a9-50c4-871f1f7c2414'::uuid, 'TvRage', 546189)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5737 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f6dd091d-8c3d-04a9-50c4-871f1f7c2414'::uuid;

-- Query #5738 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f6dd091d-8c3d-04a9-50c4-871f1f7c2414'::uuid;

-- Query #5739 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f6dd091d-8c3d-04a9-50c4-871f1f7c2414'::uuid]);

-- Query #5740 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f6dd091d-8c3d-04a9-50c4-871f1f7c2414'::uuid;

-- Query #5741 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5742 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b54af60-c277-0186-a257-952df40ad7b8'::uuid;

-- Query #5743 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid;

-- Query #5744 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8b54af60-c277-0186-a257-952df40ad7b8'::uuid]);

-- Query #5745 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8b54af60-c277-0186-a257-952df40ad7b8'::uuid;

-- Query #5746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b54af60-c277-0186-a257-952df40ad7b8'::uuid, 'Imdb', 'tt0883962')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b54af60-c277-0186-a257-952df40ad7b8'::uuid, 'Tmdb', 200031)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b54af60-c277-0186-a257-952df40ad7b8'::uuid, 'TmdbCollection', 200031)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b54af60-c277-0186-a257-952df40ad7b8'::uuid, 'trakt', 211191)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b54af60-c277-0186-a257-952df40ad7b8'::uuid, 'Tvdb', 312565)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b54af60-c277-0186-a257-952df40ad7b8'::uuid, 'TvMaze', 72904)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b54af60-c277-0186-a257-952df40ad7b8'::uuid, 'TvRage', 445292)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5753 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b54af60-c277-0186-a257-952df40ad7b8'::uuid;

-- Query #5754 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8b54af60-c277-0186-a257-952df40ad7b8'::uuid;

-- Query #5755 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid]);

-- Query #5756 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid;

-- Query #5757 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, 'Tvdb', 80337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5758 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, 'Tmdb', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5759 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, 'Imdb', 'tt0804503')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5760 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, 'TvMaze', 385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5761 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, 'TvRage', 16356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5762 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, 'Zap2It', 'EP00935777')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5763 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8b54af60-c277-0186-a257-952df40ad7b8'::uuid]);

-- Query #5764 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, 'wikidata', 'Q223977')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, 'TmdbCollection', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5766 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8b54af60-c277-0186-a257-952df40ad7b8'::uuid;

-- Query #5767 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid;

-- Query #5768 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5769 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid;

-- Query #5770 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid]);

-- Query #5771 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid;

-- Query #5772 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5773 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '644d63b4e274878bba0705f16284fdd1'
ORDER BY b."SortName", b."Name";

-- Query #5774 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dde6e7bd-d532-3f6c-a3ea-9fe72fb60321'::uuid;

-- Query #5775 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dde6e7bd-d532-3f6c-a3ea-9fe72fb60321'::uuid]);

-- Query #5776 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dde6e7bd-d532-3f6c-a3ea-9fe72fb60321'::uuid;

-- Query #5777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dde6e7bd-d532-3f6c-a3ea-9fe72fb60321'::uuid, 'Imdb', 'tt0855003')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dde6e7bd-d532-3f6c-a3ea-9fe72fb60321'::uuid, 'Tmdb', 200024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dde6e7bd-d532-3f6c-a3ea-9fe72fb60321'::uuid, 'TmdbCollection', 200024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dde6e7bd-d532-3f6c-a3ea-9fe72fb60321'::uuid, 'trakt', 211187)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dde6e7bd-d532-3f6c-a3ea-9fe72fb60321'::uuid, 'Tvdb', 308577)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dde6e7bd-d532-3f6c-a3ea-9fe72fb60321'::uuid, 'TvMaze', 72900)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dde6e7bd-d532-3f6c-a3ea-9fe72fb60321'::uuid, 'TvRage', 430068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5784 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dde6e7bd-d532-3f6c-a3ea-9fe72fb60321'::uuid;

-- Query #5785 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dde6e7bd-d532-3f6c-a3ea-9fe72fb60321'::uuid;

-- Query #5786 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dde6e7bd-d532-3f6c-a3ea-9fe72fb60321'::uuid]);

-- Query #5787 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dde6e7bd-d532-3f6c-a3ea-9fe72fb60321'::uuid;

-- Query #5788 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid;

-- Query #5790 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78622bb8-2157-1183-61d0-69256dcc6363'::uuid;

-- Query #5791 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid]);

-- Query #5792 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid;

-- Query #5793 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, 'Tvdb', 80337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, 'Tmdb', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, 'Imdb', 'tt0804503')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, 'TvMaze', 385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, 'TvRage', 16356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, 'Zap2It', 'EP00935777')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5799 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, 'wikidata', 'Q223977')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5800 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, 'TmdbCollection', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5801 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid;

-- Query #5802 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid;

-- Query #5803 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78622bb8-2157-1183-61d0-69256dcc6363'::uuid]);

-- Query #5804 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '78622bb8-2157-1183-61d0-69256dcc6363'::uuid;

-- Query #5805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78622bb8-2157-1183-61d0-69256dcc6363'::uuid, 'Imdb', 'tt0972287')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78622bb8-2157-1183-61d0-69256dcc6363'::uuid, 'Tmdb', 200058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78622bb8-2157-1183-61d0-69256dcc6363'::uuid, 'TmdbCollection', 200058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5808 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid]);

-- Query #5809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78622bb8-2157-1183-61d0-69256dcc6363'::uuid, 'trakt', 211203)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78622bb8-2157-1183-61d0-69256dcc6363'::uuid, 'Tvdb', 324362)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5811 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid;

-- Query #5812 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78622bb8-2157-1183-61d0-69256dcc6363'::uuid, 'TvMaze', 72916)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5813 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5814 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78622bb8-2157-1183-61d0-69256dcc6363'::uuid, 'TvRage', 521986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5815 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78622bb8-2157-1183-61d0-69256dcc6363'::uuid;

-- Query #5816 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '78622bb8-2157-1183-61d0-69256dcc6363'::uuid;

-- Query #5817 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['78622bb8-2157-1183-61d0-69256dcc6363'::uuid]);

-- Query #5818 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '78622bb8-2157-1183-61d0-69256dcc6363'::uuid;

-- Query #5819 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5820 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '644d63b4e274878bba0705f16284fdd1'
ORDER BY b."SortName", b."Name";

-- Query #5821 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89c041b4-fbf8-adb9-898e-f031c7186cf1'::uuid;

-- Query #5822 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['89c041b4-fbf8-adb9-898e-f031c7186cf1'::uuid]);

-- Query #5823 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '89c041b4-fbf8-adb9-898e-f031c7186cf1'::uuid;

-- Query #5824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89c041b4-fbf8-adb9-898e-f031c7186cf1'::uuid, 'Imdb', 'tt0992881')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89c041b4-fbf8-adb9-898e-f031c7186cf1'::uuid, 'Tmdb', 200065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89c041b4-fbf8-adb9-898e-f031c7186cf1'::uuid, 'TmdbCollection', 200065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89c041b4-fbf8-adb9-898e-f031c7186cf1'::uuid, 'trakt', 211206)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89c041b4-fbf8-adb9-898e-f031c7186cf1'::uuid, 'Tvdb', 324365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5829 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89c041b4-fbf8-adb9-898e-f031c7186cf1'::uuid, 'TvMaze', 72919)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89c041b4-fbf8-adb9-898e-f031c7186cf1'::uuid, 'TvRage', 535009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5831 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89c041b4-fbf8-adb9-898e-f031c7186cf1'::uuid;

-- Query #5832 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '89c041b4-fbf8-adb9-898e-f031c7186cf1'::uuid;

-- Query #5833 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['89c041b4-fbf8-adb9-898e-f031c7186cf1'::uuid]);

-- Query #5834 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '89c041b4-fbf8-adb9-898e-f031c7186cf1'::uuid;

-- Query #5835 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b3acdb3-b6c2-dcb7-52ba-0792bdab5764'::uuid;

-- Query #5837 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b12695c-71e6-ed71-2674-71eae5602767'::uuid;

-- Query #5838 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b3acdb3-b6c2-dcb7-52ba-0792bdab5764'::uuid]);

-- Query #5839 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5b3acdb3-b6c2-dcb7-52ba-0792bdab5764'::uuid;

-- Query #5840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b3acdb3-b6c2-dcb7-52ba-0792bdab5764'::uuid, 'Imdb', 'tt0883963')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5841 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b3acdb3-b6c2-dcb7-52ba-0792bdab5764'::uuid, 'Tmdb', 200029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5842 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b3acdb3-b6c2-dcb7-52ba-0792bdab5764'::uuid, 'TmdbCollection', 200029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b3acdb3-b6c2-dcb7-52ba-0792bdab5764'::uuid, 'trakt', 211190)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b3acdb3-b6c2-dcb7-52ba-0792bdab5764'::uuid, 'Tvdb', 311365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5845 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b3acdb3-b6c2-dcb7-52ba-0792bdab5764'::uuid, 'TvMaze', 72903)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b3acdb3-b6c2-dcb7-52ba-0792bdab5764'::uuid, 'TvRage', 445291)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5847 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b3acdb3-b6c2-dcb7-52ba-0792bdab5764'::uuid;

-- Query #5848 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5b3acdb3-b6c2-dcb7-52ba-0792bdab5764'::uuid;

-- Query #5849 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b12695c-71e6-ed71-2674-71eae5602767'::uuid]);

-- Query #5850 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1b12695c-71e6-ed71-2674-71eae5602767'::uuid;

-- Query #5851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b12695c-71e6-ed71-2674-71eae5602767'::uuid, 'Tvdb', 80337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5852 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5b3acdb3-b6c2-dcb7-52ba-0792bdab5764'::uuid]);

-- Query #5853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b12695c-71e6-ed71-2674-71eae5602767'::uuid, 'Tmdb', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5854 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5b3acdb3-b6c2-dcb7-52ba-0792bdab5764'::uuid;

-- Query #5855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b12695c-71e6-ed71-2674-71eae5602767'::uuid, 'Imdb', 'tt0804503')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b12695c-71e6-ed71-2674-71eae5602767'::uuid, 'TvMaze', 385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5857 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b12695c-71e6-ed71-2674-71eae5602767'::uuid, 'TvRage', 16356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b12695c-71e6-ed71-2674-71eae5602767'::uuid, 'Zap2It', 'EP00935777')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b12695c-71e6-ed71-2674-71eae5602767'::uuid, 'wikidata', 'Q223977')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b12695c-71e6-ed71-2674-71eae5602767'::uuid, 'TmdbCollection', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5862 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b12695c-71e6-ed71-2674-71eae5602767'::uuid;

-- Query #5863 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1b12695c-71e6-ed71-2674-71eae5602767'::uuid;

-- Query #5864 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1b12695c-71e6-ed71-2674-71eae5602767'::uuid]);

-- Query #5865 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1b12695c-71e6-ed71-2674-71eae5602767'::uuid;

-- Query #5866 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5867 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '644d63b4e274878bba0705f16284fdd1'
ORDER BY b."SortName", b."Name";

-- Query #5868 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0596f8e-3beb-1c9b-78c9-32248d6f31f1'::uuid;

-- Query #5869 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0596f8e-3beb-1c9b-78c9-32248d6f31f1'::uuid]);

-- Query #5870 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a0596f8e-3beb-1c9b-78c9-32248d6f31f1'::uuid;

-- Query #5871 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0596f8e-3beb-1c9b-78c9-32248d6f31f1'::uuid, 'Imdb', 'tt0957610')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0596f8e-3beb-1c9b-78c9-32248d6f31f1'::uuid, 'Tmdb', 200054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0596f8e-3beb-1c9b-78c9-32248d6f31f1'::uuid, 'TmdbCollection', 200054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5874 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0596f8e-3beb-1c9b-78c9-32248d6f31f1'::uuid, 'trakt', 211202)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5875 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0596f8e-3beb-1c9b-78c9-32248d6f31f1'::uuid, 'Tvdb', 319015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5876 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0596f8e-3beb-1c9b-78c9-32248d6f31f1'::uuid, 'TvMaze', 72915)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5877 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0596f8e-3beb-1c9b-78c9-32248d6f31f1'::uuid, 'TvRage', 521985)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5878 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0596f8e-3beb-1c9b-78c9-32248d6f31f1'::uuid;

-- Query #5879 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a0596f8e-3beb-1c9b-78c9-32248d6f31f1'::uuid;

-- Query #5880 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a0596f8e-3beb-1c9b-78c9-32248d6f31f1'::uuid]);

-- Query #5881 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a0596f8e-3beb-1c9b-78c9-32248d6f31f1'::uuid;

-- Query #5882 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5883 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid;

-- Query #5884 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid]);

-- Query #5885 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2734f3f0-6832-678a-c37f-48783cccd362'::uuid;

-- Query #5886 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid;

-- Query #5887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, 'TmdbCollection', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, 'Tvdb', 80337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, 'Tmdb', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, 'Imdb', 'tt0804503')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, 'TvMaze', 385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, 'TvRage', 16356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, 'Zap2It', 'EP00935777')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, 'wikidata', 'Q223977')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5895 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid;

-- Query #5896 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid;

-- Query #5897 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid]);

-- Query #5898 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid;

-- Query #5899 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5900 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2734f3f0-6832-678a-c37f-48783cccd362'::uuid]);

-- Query #5901 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2734f3f0-6832-678a-c37f-48783cccd362'::uuid;

-- Query #5902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2734f3f0-6832-678a-c37f-48783cccd362'::uuid, 'Imdb', 'tt0901443')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2734f3f0-6832-678a-c37f-48783cccd362'::uuid, 'Tmdb', 200042)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5904 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2734f3f0-6832-678a-c37f-48783cccd362'::uuid, 'TmdbCollection', 200042)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5905 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2734f3f0-6832-678a-c37f-48783cccd362'::uuid, 'trakt', 211196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2734f3f0-6832-678a-c37f-48783cccd362'::uuid, 'Tvdb', 313659)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2734f3f0-6832-678a-c37f-48783cccd362'::uuid, 'TvMaze', 72909)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2734f3f0-6832-678a-c37f-48783cccd362'::uuid, 'TvRage', 472299)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5909 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2734f3f0-6832-678a-c37f-48783cccd362'::uuid;

-- Query #5910 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2734f3f0-6832-678a-c37f-48783cccd362'::uuid;

-- Query #5911 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2734f3f0-6832-678a-c37f-48783cccd362'::uuid]);

-- Query #5912 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '644d63b4e274878bba0705f16284fdd1'
ORDER BY b."SortName", b."Name";

-- Query #5913 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2734f3f0-6832-678a-c37f-48783cccd362'::uuid;

-- Query #5914 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1f11556e-3841-f34f-737b-906e5c3c93dc'::uuid;

-- Query #5916 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1f11556e-3841-f34f-737b-906e5c3c93dc'::uuid]);

-- Query #5917 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1f11556e-3841-f34f-737b-906e5c3c93dc'::uuid;

-- Query #5918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f11556e-3841-f34f-737b-906e5c3c93dc'::uuid, 'Imdb', 'tt1022488')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5919 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f11556e-3841-f34f-737b-906e5c3c93dc'::uuid, 'Tmdb', 200066)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f11556e-3841-f34f-737b-906e5c3c93dc'::uuid, 'TmdbCollection', 200066)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f11556e-3841-f34f-737b-906e5c3c93dc'::uuid, 'trakt', 211207)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f11556e-3841-f34f-737b-906e5c3c93dc'::uuid, 'Tvdb', 330996)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f11556e-3841-f34f-737b-906e5c3c93dc'::uuid, 'TvMaze', 72920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f11556e-3841-f34f-737b-906e5c3c93dc'::uuid, 'TvRage', 541394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5925 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1f11556e-3841-f34f-737b-906e5c3c93dc'::uuid;

-- Query #5926 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1f11556e-3841-f34f-737b-906e5c3c93dc'::uuid;

-- Query #5927 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1f11556e-3841-f34f-737b-906e5c3c93dc'::uuid]);

-- Query #5928 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1f11556e-3841-f34f-737b-906e5c3c93dc'::uuid;

-- Query #5929 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5930 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b03a6259-989d-95e0-ec47-fefadf6cf659'::uuid;

-- Query #5931 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid;

-- Query #5932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b03a6259-989d-95e0-ec47-fefadf6cf659'::uuid]);

-- Query #5933 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b03a6259-989d-95e0-ec47-fefadf6cf659'::uuid;

-- Query #5934 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03a6259-989d-95e0-ec47-fefadf6cf659'::uuid, 'Imdb', 'tt1002172')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03a6259-989d-95e0-ec47-fefadf6cf659'::uuid, 'Tmdb', 200062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03a6259-989d-95e0-ec47-fefadf6cf659'::uuid, 'TmdbCollection', 200062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03a6259-989d-95e0-ec47-fefadf6cf659'::uuid, 'trakt', 211205)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03a6259-989d-95e0-ec47-fefadf6cf659'::uuid, 'Tvdb', 324364)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5939 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid]);

-- Query #5940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03a6259-989d-95e0-ec47-fefadf6cf659'::uuid, 'TvMaze', 72918)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5941 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03a6259-989d-95e0-ec47-fefadf6cf659'::uuid, 'TvRage', 521984)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5942 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid;

-- Query #5943 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, 'Tvdb', 80337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5944 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b03a6259-989d-95e0-ec47-fefadf6cf659'::uuid;

-- Query #5945 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, 'Tmdb', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5946 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b03a6259-989d-95e0-ec47-fefadf6cf659'::uuid;

-- Query #5947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, 'Imdb', 'tt0804503')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, 'TvMaze', 385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, 'TvRage', 16356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, 'Zap2It', 'EP00935777')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, 'wikidata', 'Q223977')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, 'TmdbCollection', 1104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5953 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid;

-- Query #5954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid;

-- Query #5955 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b03a6259-989d-95e0-ec47-fefadf6cf659'::uuid]);

-- Query #5956 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b03a6259-989d-95e0-ec47-fefadf6cf659'::uuid;

-- Query #5957 | logged_duration_ms=12 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5958 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #5959 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid]);

-- Query #5960 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid;

-- Query #5961 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5962 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb905872-1298-64ba-41aa-be5de7be6bb8'::uuid;

-- Query #5963 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7a8f2e6-0159-a201-1027-3c8f797c3951'::uuid;

-- Query #5964 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bb905872-1298-64ba-41aa-be5de7be6bb8'::uuid]);

-- Query #5965 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bb905872-1298-64ba-41aa-be5de7be6bb8'::uuid;

-- Query #5966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb905872-1298-64ba-41aa-be5de7be6bb8'::uuid, 'Imdb', 'tt0854086')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb905872-1298-64ba-41aa-be5de7be6bb8'::uuid, 'Tmdb', 200023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb905872-1298-64ba-41aa-be5de7be6bb8'::uuid, 'TmdbCollection', 200023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5969 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb905872-1298-64ba-41aa-be5de7be6bb8'::uuid, 'trakt', 211186)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5970 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb905872-1298-64ba-41aa-be5de7be6bb8'::uuid, 'Tvdb', 308576)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb905872-1298-64ba-41aa-be5de7be6bb8'::uuid, 'TvMaze', 72899)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb905872-1298-64ba-41aa-be5de7be6bb8'::uuid, 'TvRage', 437557)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5973 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb905872-1298-64ba-41aa-be5de7be6bb8'::uuid;

-- Query #5974 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bb905872-1298-64ba-41aa-be5de7be6bb8'::uuid;

-- Query #5975 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e7a8f2e6-0159-a201-1027-3c8f797c3951'::uuid]);

-- Query #5976 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e7a8f2e6-0159-a201-1027-3c8f797c3951'::uuid;

-- Query #5977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7a8f2e6-0159-a201-1027-3c8f797c3951'::uuid, 'Imdb', 'tt1097127')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5978 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bb905872-1298-64ba-41aa-be5de7be6bb8'::uuid]);

-- Query #5979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7a8f2e6-0159-a201-1027-3c8f797c3951'::uuid, 'Tmdb', 62012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7a8f2e6-0159-a201-1027-3c8f797c3951'::uuid, 'TvMaze', 35189)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5981 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bb905872-1298-64ba-41aa-be5de7be6bb8'::uuid;

-- Query #5982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7a8f2e6-0159-a201-1027-3c8f797c3951'::uuid, 'Tvdb', 333183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7a8f2e6-0159-a201-1027-3c8f797c3951'::uuid, 'TvRage', 583657)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5984 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5985 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7a8f2e6-0159-a201-1027-3c8f797c3951'::uuid, 'trakt', 67810)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5986 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7a8f2e6-0159-a201-1027-3c8f797c3951'::uuid, 'TmdbCollection', 62012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7a8f2e6-0159-a201-1027-3c8f797c3951'::uuid;

-- Query #5988 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e7a8f2e6-0159-a201-1027-3c8f797c3951'::uuid;

-- Query #5989 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e7a8f2e6-0159-a201-1027-3c8f797c3951'::uuid]);

-- Query #5990 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e7a8f2e6-0159-a201-1027-3c8f797c3951'::uuid;

-- Query #5991 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #5992 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f8b31ad-2cfa-482d-9ec4-453484f62cf7'::uuid;

-- Query #5993 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3e12193-6d84-e93c-3c91-626d9f79c8fe'::uuid;

-- Query #5994 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f8b31ad-2cfa-482d-9ec4-453484f62cf7'::uuid]);

-- Query #5995 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5f8b31ad-2cfa-482d-9ec4-453484f62cf7'::uuid;

-- Query #5996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f8b31ad-2cfa-482d-9ec4-453484f62cf7'::uuid, 'Imdb', 'tt1042049')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f8b31ad-2cfa-482d-9ec4-453484f62cf7'::uuid, 'Tmdb', 62013)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5998 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f8b31ad-2cfa-482d-9ec4-453484f62cf7'::uuid, 'TvMaze', 35190)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #5999 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f8b31ad-2cfa-482d-9ec4-453484f62cf7'::uuid, 'Tvdb', 333184)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6000 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f8b31ad-2cfa-482d-9ec4-453484f62cf7'::uuid, 'TvRage', 583658)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f8b31ad-2cfa-482d-9ec4-453484f62cf7'::uuid, 'trakt', 67811)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f8b31ad-2cfa-482d-9ec4-453484f62cf7'::uuid, 'TmdbCollection', 62013)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6003 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f8b31ad-2cfa-482d-9ec4-453484f62cf7'::uuid;

-- Query #6004 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5f8b31ad-2cfa-482d-9ec4-453484f62cf7'::uuid;

-- Query #6005 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5f8b31ad-2cfa-482d-9ec4-453484f62cf7'::uuid]);

-- Query #6006 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3e12193-6d84-e93c-3c91-626d9f79c8fe'::uuid]);

-- Query #6007 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f3e12193-6d84-e93c-3c91-626d9f79c8fe'::uuid;

-- Query #6008 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5f8b31ad-2cfa-482d-9ec4-453484f62cf7'::uuid;

-- Query #6009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3e12193-6d84-e93c-3c91-626d9f79c8fe'::uuid, 'Imdb', 'tt0900860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3e12193-6d84-e93c-3c91-626d9f79c8fe'::uuid, 'Tmdb', 200043)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6011 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3e12193-6d84-e93c-3c91-626d9f79c8fe'::uuid, 'TmdbCollection', 200043)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3e12193-6d84-e93c-3c91-626d9f79c8fe'::uuid, 'trakt', 211197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3e12193-6d84-e93c-3c91-626d9f79c8fe'::uuid, 'Tvdb', 315237)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3e12193-6d84-e93c-3c91-626d9f79c8fe'::uuid, 'TvMaze', 72910)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3e12193-6d84-e93c-3c91-626d9f79c8fe'::uuid, 'TvRage', 500717)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6017 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3e12193-6d84-e93c-3c91-626d9f79c8fe'::uuid;

-- Query #6018 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f3e12193-6d84-e93c-3c91-626d9f79c8fe'::uuid;

-- Query #6019 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f3e12193-6d84-e93c-3c91-626d9f79c8fe'::uuid]);

-- Query #6020 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f3e12193-6d84-e93c-3c91-626d9f79c8fe'::uuid;

-- Query #6021 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6022 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67dc6cc7-ee21-2ea9-7898-4c3998453702'::uuid;

-- Query #6023 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2125359d-b79d-3775-6e57-83ca9e9d60ba'::uuid;

-- Query #6024 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67dc6cc7-ee21-2ea9-7898-4c3998453702'::uuid]);

-- Query #6025 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '67dc6cc7-ee21-2ea9-7898-4c3998453702'::uuid;

-- Query #6026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67dc6cc7-ee21-2ea9-7898-4c3998453702'::uuid, 'TmdbCollection', 62020)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67dc6cc7-ee21-2ea9-7898-4c3998453702'::uuid, 'Imdb', 'tt1108366')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67dc6cc7-ee21-2ea9-7898-4c3998453702'::uuid, 'Tmdb', 62020)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67dc6cc7-ee21-2ea9-7898-4c3998453702'::uuid, 'TvMaze', 35195)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67dc6cc7-ee21-2ea9-7898-4c3998453702'::uuid, 'Tvdb', 337256)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6031 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67dc6cc7-ee21-2ea9-7898-4c3998453702'::uuid, 'TvRage', 604280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67dc6cc7-ee21-2ea9-7898-4c3998453702'::uuid, 'trakt', 67816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6033 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67dc6cc7-ee21-2ea9-7898-4c3998453702'::uuid;

-- Query #6034 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '67dc6cc7-ee21-2ea9-7898-4c3998453702'::uuid;

-- Query #6035 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2125359d-b79d-3775-6e57-83ca9e9d60ba'::uuid]);

-- Query #6036 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2125359d-b79d-3775-6e57-83ca9e9d60ba'::uuid;

-- Query #6037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2125359d-b79d-3775-6e57-83ca9e9d60ba'::uuid, 'Imdb', 'tt0898072')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2125359d-b79d-3775-6e57-83ca9e9d60ba'::uuid, 'Tmdb', 200040)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6039 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['67dc6cc7-ee21-2ea9-7898-4c3998453702'::uuid]);

-- Query #6040 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2125359d-b79d-3775-6e57-83ca9e9d60ba'::uuid, 'TmdbCollection', 200040)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6041 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2125359d-b79d-3775-6e57-83ca9e9d60ba'::uuid, 'trakt', 211194)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6042 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '67dc6cc7-ee21-2ea9-7898-4c3998453702'::uuid;

-- Query #6043 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2125359d-b79d-3775-6e57-83ca9e9d60ba'::uuid, 'Tvdb', 312568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6044 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2125359d-b79d-3775-6e57-83ca9e9d60ba'::uuid, 'TvMaze', 72907)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2125359d-b79d-3775-6e57-83ca9e9d60ba'::uuid, 'TvRage', 472297)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6047 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2125359d-b79d-3775-6e57-83ca9e9d60ba'::uuid;

-- Query #6048 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2125359d-b79d-3775-6e57-83ca9e9d60ba'::uuid;

-- Query #6049 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2125359d-b79d-3775-6e57-83ca9e9d60ba'::uuid]);

-- Query #6050 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2125359d-b79d-3775-6e57-83ca9e9d60ba'::uuid;

-- Query #6051 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6052 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8c21e38f-1dd4-63dc-f526-3eb18f9313f5'::uuid;

-- Query #6053 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '19a97bd7-da26-6756-2ec1-db6c3da1d830'::uuid;

-- Query #6054 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8c21e38f-1dd4-63dc-f526-3eb18f9313f5'::uuid]);

-- Query #6055 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8c21e38f-1dd4-63dc-f526-3eb18f9313f5'::uuid;

-- Query #6056 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c21e38f-1dd4-63dc-f526-3eb18f9313f5'::uuid, 'Imdb', 'tt1049715')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6057 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c21e38f-1dd4-63dc-f526-3eb18f9313f5'::uuid, 'Tmdb', 62008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c21e38f-1dd4-63dc-f526-3eb18f9313f5'::uuid, 'TvMaze', 35186)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c21e38f-1dd4-63dc-f526-3eb18f9313f5'::uuid, 'Tvdb', 333180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c21e38f-1dd4-63dc-f526-3eb18f9313f5'::uuid, 'TvRage', 583369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c21e38f-1dd4-63dc-f526-3eb18f9313f5'::uuid, 'trakt', 67807)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c21e38f-1dd4-63dc-f526-3eb18f9313f5'::uuid, 'TmdbCollection', 62008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6063 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8c21e38f-1dd4-63dc-f526-3eb18f9313f5'::uuid;

-- Query #6064 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8c21e38f-1dd4-63dc-f526-3eb18f9313f5'::uuid;

-- Query #6065 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['19a97bd7-da26-6756-2ec1-db6c3da1d830'::uuid]);

-- Query #6066 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '19a97bd7-da26-6756-2ec1-db6c3da1d830'::uuid;

-- Query #6067 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8c21e38f-1dd4-63dc-f526-3eb18f9313f5'::uuid]);

-- Query #6068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19a97bd7-da26-6756-2ec1-db6c3da1d830'::uuid, 'Imdb', 'tt0900309')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19a97bd7-da26-6756-2ec1-db6c3da1d830'::uuid, 'Tmdb', 200038)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19a97bd7-da26-6756-2ec1-db6c3da1d830'::uuid, 'TmdbCollection', 200038)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6071 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8c21e38f-1dd4-63dc-f526-3eb18f9313f5'::uuid;

-- Query #6072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19a97bd7-da26-6756-2ec1-db6c3da1d830'::uuid, 'trakt', 211193)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19a97bd7-da26-6756-2ec1-db6c3da1d830'::uuid, 'Tvdb', 312567)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6074 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19a97bd7-da26-6756-2ec1-db6c3da1d830'::uuid, 'TvMaze', 72906)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19a97bd7-da26-6756-2ec1-db6c3da1d830'::uuid, 'TvRage', 472296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6077 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '19a97bd7-da26-6756-2ec1-db6c3da1d830'::uuid;

-- Query #6078 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '19a97bd7-da26-6756-2ec1-db6c3da1d830'::uuid;

-- Query #6079 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['19a97bd7-da26-6756-2ec1-db6c3da1d830'::uuid]);

-- Query #6080 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '19a97bd7-da26-6756-2ec1-db6c3da1d830'::uuid;

-- Query #6081 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6082 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '403f4e51-5133-2be4-ab90-70587f74f867'::uuid;

-- Query #6083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '419fd12e-029b-02d4-c116-15ab8abbec4f'::uuid;

-- Query #6084 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['403f4e51-5133-2be4-ab90-70587f74f867'::uuid]);

-- Query #6085 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '403f4e51-5133-2be4-ab90-70587f74f867'::uuid;

-- Query #6086 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('403f4e51-5133-2be4-ab90-70587f74f867'::uuid, 'Imdb', 'tt1094472')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('403f4e51-5133-2be4-ab90-70587f74f867'::uuid, 'Tmdb', 62018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('403f4e51-5133-2be4-ab90-70587f74f867'::uuid, 'TvMaze', 35194)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('403f4e51-5133-2be4-ab90-70587f74f867'::uuid, 'Tvdb', 335953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('403f4e51-5133-2be4-ab90-70587f74f867'::uuid, 'TvRage', 601015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('403f4e51-5133-2be4-ab90-70587f74f867'::uuid, 'trakt', 67815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('403f4e51-5133-2be4-ab90-70587f74f867'::uuid, 'TmdbCollection', 62018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6093 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '403f4e51-5133-2be4-ab90-70587f74f867'::uuid;

-- Query #6094 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '403f4e51-5133-2be4-ab90-70587f74f867'::uuid;

-- Query #6095 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['403f4e51-5133-2be4-ab90-70587f74f867'::uuid]);

-- Query #6096 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '403f4e51-5133-2be4-ab90-70587f74f867'::uuid;

-- Query #6097 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6098 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fd12e-029b-02d4-c116-15ab8abbec4f'::uuid]);

-- Query #6099 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '419fd12e-029b-02d4-c116-15ab8abbec4f'::uuid;

-- Query #6100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('419fd12e-029b-02d4-c116-15ab8abbec4f'::uuid, 'Imdb', 'tt0977187')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('419fd12e-029b-02d4-c116-15ab8abbec4f'::uuid, 'Tmdb', 200052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('419fd12e-029b-02d4-c116-15ab8abbec4f'::uuid, 'TmdbCollection', 200052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('419fd12e-029b-02d4-c116-15ab8abbec4f'::uuid, 'trakt', 211201)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('419fd12e-029b-02d4-c116-15ab8abbec4f'::uuid, 'Tvdb', 319014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('419fd12e-029b-02d4-c116-15ab8abbec4f'::uuid, 'TvMaze', 72914)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('419fd12e-029b-02d4-c116-15ab8abbec4f'::uuid, 'TvRage', 512105)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6107 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '419fd12e-029b-02d4-c116-15ab8abbec4f'::uuid;

-- Query #6108 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '419fd12e-029b-02d4-c116-15ab8abbec4f'::uuid;

-- Query #6109 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['419fd12e-029b-02d4-c116-15ab8abbec4f'::uuid]);

-- Query #6110 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '419fd12e-029b-02d4-c116-15ab8abbec4f'::uuid;

-- Query #6111 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6112 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b70967f4-f8ab-946b-0834-eeef5e37c6bf'::uuid;

-- Query #6113 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b70967f4-f8ab-946b-0834-eeef5e37c6bf'::uuid]);

-- Query #6114 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b70967f4-f8ab-946b-0834-eeef5e37c6bf'::uuid;

-- Query #6115 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b70967f4-f8ab-946b-0834-eeef5e37c6bf'::uuid, 'Imdb', 'tt1049716')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b70967f4-f8ab-946b-0834-eeef5e37c6bf'::uuid, 'Tmdb', 62011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b70967f4-f8ab-946b-0834-eeef5e37c6bf'::uuid, 'TvMaze', 35187)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b70967f4-f8ab-946b-0834-eeef5e37c6bf'::uuid, 'Tvdb', 333181)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6119 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da59aa5a-5c77-8e20-507c-127bc3104f16'::uuid;

-- Query #6120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b70967f4-f8ab-946b-0834-eeef5e37c6bf'::uuid, 'TvRage', 583370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b70967f4-f8ab-946b-0834-eeef5e37c6bf'::uuid, 'TmdbCollection', 62011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b70967f4-f8ab-946b-0834-eeef5e37c6bf'::uuid, 'trakt', 67808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6123 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b70967f4-f8ab-946b-0834-eeef5e37c6bf'::uuid;

-- Query #6124 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b70967f4-f8ab-946b-0834-eeef5e37c6bf'::uuid;

-- Query #6125 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b70967f4-f8ab-946b-0834-eeef5e37c6bf'::uuid]);

-- Query #6126 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b70967f4-f8ab-946b-0834-eeef5e37c6bf'::uuid;

-- Query #6127 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6128 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da59aa5a-5c77-8e20-507c-127bc3104f16'::uuid]);

-- Query #6129 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'da59aa5a-5c77-8e20-507c-127bc3104f16'::uuid;

-- Query #6130 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da59aa5a-5c77-8e20-507c-127bc3104f16'::uuid, 'TvMaze', 72933)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da59aa5a-5c77-8e20-507c-127bc3104f16'::uuid, 'Tvdb', 347918)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da59aa5a-5c77-8e20-507c-127bc3104f16'::uuid, 'Tmdb', 200088)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da59aa5a-5c77-8e20-507c-127bc3104f16'::uuid, 'TvRage', 635050)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da59aa5a-5c77-8e20-507c-127bc3104f16'::uuid, 'trakt', 211220)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da59aa5a-5c77-8e20-507c-127bc3104f16'::uuid, 'TmdbCollection', 200088)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da59aa5a-5c77-8e20-507c-127bc3104f16'::uuid, 'Imdb', 'tt1167407')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6137 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da59aa5a-5c77-8e20-507c-127bc3104f16'::uuid;

-- Query #6138 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'da59aa5a-5c77-8e20-507c-127bc3104f16'::uuid;

-- Query #6139 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['da59aa5a-5c77-8e20-507c-127bc3104f16'::uuid]);

-- Query #6140 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'da59aa5a-5c77-8e20-507c-127bc3104f16'::uuid;

-- Query #6141 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6142 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6dc2c49d-0b6b-3f92-8191-df7dfc18a6b2'::uuid;

-- Query #6143 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6dc2c49d-0b6b-3f92-8191-df7dfc18a6b2'::uuid]);

-- Query #6144 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6dc2c49d-0b6b-3f92-8191-df7dfc18a6b2'::uuid;

-- Query #6145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6dc2c49d-0b6b-3f92-8191-df7dfc18a6b2'::uuid, 'Imdb', 'tt1040713')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6dc2c49d-0b6b-3f92-8191-df7dfc18a6b2'::uuid, 'Tmdb', 62010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6dc2c49d-0b6b-3f92-8191-df7dfc18a6b2'::uuid, 'TvMaze', 35188)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6dc2c49d-0b6b-3f92-8191-df7dfc18a6b2'::uuid, 'Tvdb', 333182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6dc2c49d-0b6b-3f92-8191-df7dfc18a6b2'::uuid, 'TvRage', 583371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6dc2c49d-0b6b-3f92-8191-df7dfc18a6b2'::uuid, 'trakt', 67809)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6dc2c49d-0b6b-3f92-8191-df7dfc18a6b2'::uuid, 'TmdbCollection', 62010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6152 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6dc2c49d-0b6b-3f92-8191-df7dfc18a6b2'::uuid;

-- Query #6153 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6dc2c49d-0b6b-3f92-8191-df7dfc18a6b2'::uuid;

-- Query #6154 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0d52b78-1fdb-57b0-1adb-d808d12eda2c'::uuid;

-- Query #6155 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6dc2c49d-0b6b-3f92-8191-df7dfc18a6b2'::uuid]);

-- Query #6156 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6dc2c49d-0b6b-3f92-8191-df7dfc18a6b2'::uuid;

-- Query #6157 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6158 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0d52b78-1fdb-57b0-1adb-d808d12eda2c'::uuid]);

-- Query #6159 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a0d52b78-1fdb-57b0-1adb-d808d12eda2c'::uuid;

-- Query #6160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0d52b78-1fdb-57b0-1adb-d808d12eda2c'::uuid, 'Imdb', 'tt1139262')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0d52b78-1fdb-57b0-1adb-d808d12eda2c'::uuid, 'Tmdb', 200080)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0d52b78-1fdb-57b0-1adb-d808d12eda2c'::uuid, 'TvMaze', 72929)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0d52b78-1fdb-57b0-1adb-d808d12eda2c'::uuid, 'Tvdb', 342203)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0d52b78-1fdb-57b0-1adb-d808d12eda2c'::uuid, 'TvRage', 622898)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0d52b78-1fdb-57b0-1adb-d808d12eda2c'::uuid, 'trakt', 211216)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0d52b78-1fdb-57b0-1adb-d808d12eda2c'::uuid, 'TmdbCollection', 200080)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6167 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0d52b78-1fdb-57b0-1adb-d808d12eda2c'::uuid;

-- Query #6168 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a0d52b78-1fdb-57b0-1adb-d808d12eda2c'::uuid;

-- Query #6169 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a0d52b78-1fdb-57b0-1adb-d808d12eda2c'::uuid]);

-- Query #6170 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a0d52b78-1fdb-57b0-1adb-d808d12eda2c'::uuid;

-- Query #6171 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b3153ab-dd08-63d3-c66d-70d206042a1b'::uuid;

-- Query #6173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b3153ab-dd08-63d3-c66d-70d206042a1b'::uuid]);

-- Query #6174 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4b3153ab-dd08-63d3-c66d-70d206042a1b'::uuid;

-- Query #6175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b3153ab-dd08-63d3-c66d-70d206042a1b'::uuid, 'Imdb', 'tt1102103')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b3153ab-dd08-63d3-c66d-70d206042a1b'::uuid, 'Tmdb', 62017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b3153ab-dd08-63d3-c66d-70d206042a1b'::uuid, 'TvMaze', 35196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b3153ab-dd08-63d3-c66d-70d206042a1b'::uuid, 'Tvdb', 337257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b3153ab-dd08-63d3-c66d-70d206042a1b'::uuid, 'TvRage', 611320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b3153ab-dd08-63d3-c66d-70d206042a1b'::uuid, 'trakt', 67817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b3153ab-dd08-63d3-c66d-70d206042a1b'::uuid, 'TmdbCollection', 62017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6182 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b3153ab-dd08-63d3-c66d-70d206042a1b'::uuid;

-- Query #6183 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4b3153ab-dd08-63d3-c66d-70d206042a1b'::uuid;

-- Query #6184 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4b3153ab-dd08-63d3-c66d-70d206042a1b'::uuid]);

-- Query #6185 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6ab13260-76af-3268-c608-615e7533d9c6'::uuid;

-- Query #6186 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4b3153ab-dd08-63d3-c66d-70d206042a1b'::uuid;

-- Query #6187 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6188 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6ab13260-76af-3268-c608-615e7533d9c6'::uuid]);

-- Query #6189 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6ab13260-76af-3268-c608-615e7533d9c6'::uuid;

-- Query #6190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ab13260-76af-3268-c608-615e7533d9c6'::uuid, 'Imdb', 'tt1167308')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ab13260-76af-3268-c608-615e7533d9c6'::uuid, 'Tmdb', 200090)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ab13260-76af-3268-c608-615e7533d9c6'::uuid, 'TvMaze', 72934)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ab13260-76af-3268-c608-615e7533d9c6'::uuid, 'Tvdb', 347919)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ab13260-76af-3268-c608-615e7533d9c6'::uuid, 'TvRage', 636249)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ab13260-76af-3268-c608-615e7533d9c6'::uuid, 'trakt', 211221)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ab13260-76af-3268-c608-615e7533d9c6'::uuid, 'TmdbCollection', 200090)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6197 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6ab13260-76af-3268-c608-615e7533d9c6'::uuid;

-- Query #6198 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6ab13260-76af-3268-c608-615e7533d9c6'::uuid;

-- Query #6199 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6ab13260-76af-3268-c608-615e7533d9c6'::uuid]);

-- Query #6200 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6ab13260-76af-3268-c608-615e7533d9c6'::uuid;

-- Query #6201 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6202 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4c2ac716-be7a-b4ee-c5a3-ea8168934b10'::uuid;

-- Query #6203 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4c2ac716-be7a-b4ee-c5a3-ea8168934b10'::uuid]);

-- Query #6204 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4c2ac716-be7a-b4ee-c5a3-ea8168934b10'::uuid;

-- Query #6205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c2ac716-be7a-b4ee-c5a3-ea8168934b10'::uuid, 'Imdb', 'tt1050979')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c2ac716-be7a-b4ee-c5a3-ea8168934b10'::uuid, 'Tmdb', 62016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c2ac716-be7a-b4ee-c5a3-ea8168934b10'::uuid, 'TvMaze', 35191)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c2ac716-be7a-b4ee-c5a3-ea8168934b10'::uuid, 'Tvdb', 333185)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c2ac716-be7a-b4ee-c5a3-ea8168934b10'::uuid, 'TvRage', 583659)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c2ac716-be7a-b4ee-c5a3-ea8168934b10'::uuid, 'trakt', 67812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c2ac716-be7a-b4ee-c5a3-ea8168934b10'::uuid, 'TmdbCollection', 62016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6212 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4c2ac716-be7a-b4ee-c5a3-ea8168934b10'::uuid;

-- Query #6213 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b39d1db9-eb1a-7c4c-06b7-65e631d85fba'::uuid;

-- Query #6214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4c2ac716-be7a-b4ee-c5a3-ea8168934b10'::uuid;

-- Query #6215 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4c2ac716-be7a-b4ee-c5a3-ea8168934b10'::uuid]);

-- Query #6216 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4c2ac716-be7a-b4ee-c5a3-ea8168934b10'::uuid;

-- Query #6217 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6218 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b39d1db9-eb1a-7c4c-06b7-65e631d85fba'::uuid]);

-- Query #6219 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b39d1db9-eb1a-7c4c-06b7-65e631d85fba'::uuid;

-- Query #6220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b39d1db9-eb1a-7c4c-06b7-65e631d85fba'::uuid, 'Imdb', 'tt1118471')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b39d1db9-eb1a-7c4c-06b7-65e631d85fba'::uuid, 'Tmdb', 200078)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b39d1db9-eb1a-7c4c-06b7-65e631d85fba'::uuid, 'TvMaze', 72926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b39d1db9-eb1a-7c4c-06b7-65e631d85fba'::uuid, 'Tvdb', 339464)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b39d1db9-eb1a-7c4c-06b7-65e631d85fba'::uuid, 'TvRage', 606027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6225 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b39d1db9-eb1a-7c4c-06b7-65e631d85fba'::uuid, 'trakt', 211213)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6226 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b39d1db9-eb1a-7c4c-06b7-65e631d85fba'::uuid, 'TmdbCollection', 200078)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6227 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b39d1db9-eb1a-7c4c-06b7-65e631d85fba'::uuid;

-- Query #6228 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b39d1db9-eb1a-7c4c-06b7-65e631d85fba'::uuid;

-- Query #6229 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b39d1db9-eb1a-7c4c-06b7-65e631d85fba'::uuid]);

-- Query #6230 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b39d1db9-eb1a-7c4c-06b7-65e631d85fba'::uuid;

-- Query #6231 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6232 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '295a462d-d4d5-88a9-5684-85cd33b524f1'::uuid;

-- Query #6233 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a38e31f2-c852-2def-39bc-6cbdf2da3bf8'::uuid;

-- Query #6234 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['295a462d-d4d5-88a9-5684-85cd33b524f1'::uuid]);

-- Query #6235 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '295a462d-d4d5-88a9-5684-85cd33b524f1'::uuid;

-- Query #6236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('295a462d-d4d5-88a9-5684-85cd33b524f1'::uuid, 'Imdb', 'tt1097298')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('295a462d-d4d5-88a9-5684-85cd33b524f1'::uuid, 'Tmdb', 62014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('295a462d-d4d5-88a9-5684-85cd33b524f1'::uuid, 'TvMaze', 35193)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6239 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('295a462d-d4d5-88a9-5684-85cd33b524f1'::uuid, 'Tvdb', 335474)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6240 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('295a462d-d4d5-88a9-5684-85cd33b524f1'::uuid, 'TvRage', 597131)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6241 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('295a462d-d4d5-88a9-5684-85cd33b524f1'::uuid, 'trakt', 67814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6242 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('295a462d-d4d5-88a9-5684-85cd33b524f1'::uuid, 'TmdbCollection', 62014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '295a462d-d4d5-88a9-5684-85cd33b524f1'::uuid;

-- Query #6244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '295a462d-d4d5-88a9-5684-85cd33b524f1'::uuid;

-- Query #6245 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a38e31f2-c852-2def-39bc-6cbdf2da3bf8'::uuid]);

-- Query #6246 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a38e31f2-c852-2def-39bc-6cbdf2da3bf8'::uuid;

-- Query #6247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a38e31f2-c852-2def-39bc-6cbdf2da3bf8'::uuid, 'Tmdb', 200094)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6248 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['295a462d-d4d5-88a9-5684-85cd33b524f1'::uuid]);

-- Query #6249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a38e31f2-c852-2def-39bc-6cbdf2da3bf8'::uuid, 'TvMaze', 72936)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a38e31f2-c852-2def-39bc-6cbdf2da3bf8'::uuid, 'Tvdb', 360878)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a38e31f2-c852-2def-39bc-6cbdf2da3bf8'::uuid, 'TvRage', 649517)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6252 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '295a462d-d4d5-88a9-5684-85cd33b524f1'::uuid;

-- Query #6253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a38e31f2-c852-2def-39bc-6cbdf2da3bf8'::uuid, 'trakt', 211223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6254 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a38e31f2-c852-2def-39bc-6cbdf2da3bf8'::uuid, 'TmdbCollection', 200094)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a38e31f2-c852-2def-39bc-6cbdf2da3bf8'::uuid, 'Imdb', 'tt1203495')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6257 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a38e31f2-c852-2def-39bc-6cbdf2da3bf8'::uuid;

-- Query #6258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a38e31f2-c852-2def-39bc-6cbdf2da3bf8'::uuid;

-- Query #6259 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a38e31f2-c852-2def-39bc-6cbdf2da3bf8'::uuid]);

-- Query #6260 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a38e31f2-c852-2def-39bc-6cbdf2da3bf8'::uuid;

-- Query #6261 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6262 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef962b38-d945-d51e-088c-c4e9e18e5dc2'::uuid;

-- Query #6263 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef962b38-d945-d51e-088c-c4e9e18e5dc2'::uuid]);

-- Query #6264 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd58f22d2-8e23-cc67-2a68-c56c290298ca'::uuid;

-- Query #6265 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ef962b38-d945-d51e-088c-c4e9e18e5dc2'::uuid;

-- Query #6266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef962b38-d945-d51e-088c-c4e9e18e5dc2'::uuid, 'Imdb', 'tt1059578')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6267 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef962b38-d945-d51e-088c-c4e9e18e5dc2'::uuid, 'Tmdb', 62009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef962b38-d945-d51e-088c-c4e9e18e5dc2'::uuid, 'TvMaze', 35185)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef962b38-d945-d51e-088c-c4e9e18e5dc2'::uuid, 'Tvdb', 333179)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef962b38-d945-d51e-088c-c4e9e18e5dc2'::uuid, 'TvRage', 579676)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6271 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef962b38-d945-d51e-088c-c4e9e18e5dc2'::uuid, 'trakt', 67806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6272 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef962b38-d945-d51e-088c-c4e9e18e5dc2'::uuid, 'TmdbCollection', 62009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6273 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef962b38-d945-d51e-088c-c4e9e18e5dc2'::uuid;

-- Query #6274 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ef962b38-d945-d51e-088c-c4e9e18e5dc2'::uuid;

-- Query #6275 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d58f22d2-8e23-cc67-2a68-c56c290298ca'::uuid]);

-- Query #6276 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd58f22d2-8e23-cc67-2a68-c56c290298ca'::uuid;

-- Query #6277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d58f22d2-8e23-cc67-2a68-c56c290298ca'::uuid, 'TmdbCollection', 200085)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d58f22d2-8e23-cc67-2a68-c56c290298ca'::uuid, 'Imdb', 'tt1155027')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6279 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ef962b38-d945-d51e-088c-c4e9e18e5dc2'::uuid]);

-- Query #6280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d58f22d2-8e23-cc67-2a68-c56c290298ca'::uuid, 'Tmdb', 200085)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d58f22d2-8e23-cc67-2a68-c56c290298ca'::uuid, 'TvMaze', 72932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6282 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ef962b38-d945-d51e-088c-c4e9e18e5dc2'::uuid;

-- Query #6283 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d58f22d2-8e23-cc67-2a68-c56c290298ca'::uuid, 'Tvdb', 347917)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6284 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d58f22d2-8e23-cc67-2a68-c56c290298ca'::uuid, 'TvRage', 628864)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6285 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6286 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d58f22d2-8e23-cc67-2a68-c56c290298ca'::uuid, 'trakt', 211219)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6287 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd58f22d2-8e23-cc67-2a68-c56c290298ca'::uuid;

-- Query #6288 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd58f22d2-8e23-cc67-2a68-c56c290298ca'::uuid;

-- Query #6289 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d58f22d2-8e23-cc67-2a68-c56c290298ca'::uuid]);

-- Query #6290 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd58f22d2-8e23-cc67-2a68-c56c290298ca'::uuid;

-- Query #6291 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6292 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e41cc3cb-9c69-7d64-5505-a4f7373073a6'::uuid;

-- Query #6293 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e41cc3cb-9c69-7d64-5505-a4f7373073a6'::uuid]);

-- Query #6294 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e41cc3cb-9c69-7d64-5505-a4f7373073a6'::uuid;

-- Query #6295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e41cc3cb-9c69-7d64-5505-a4f7373073a6'::uuid, 'Imdb', 'tt1105057')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6296 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e41cc3cb-9c69-7d64-5505-a4f7373073a6'::uuid, 'Tmdb', 62019)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6297 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e41cc3cb-9c69-7d64-5505-a4f7373073a6'::uuid, 'TvMaze', 35197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6298 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e41cc3cb-9c69-7d64-5505-a4f7373073a6'::uuid, 'Tvdb', 337258)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6299 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e41cc3cb-9c69-7d64-5505-a4f7373073a6'::uuid, 'TvRage', 611801)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e41cc3cb-9c69-7d64-5505-a4f7373073a6'::uuid, 'trakt', 67818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6301 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e41cc3cb-9c69-7d64-5505-a4f7373073a6'::uuid, 'TmdbCollection', 62019)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6302 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e41cc3cb-9c69-7d64-5505-a4f7373073a6'::uuid;

-- Query #6303 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e41cc3cb-9c69-7d64-5505-a4f7373073a6'::uuid;

-- Query #6304 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60556548-d4f6-f155-77e3-3b977ac98b13'::uuid;

-- Query #6305 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e41cc3cb-9c69-7d64-5505-a4f7373073a6'::uuid]);

-- Query #6306 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e41cc3cb-9c69-7d64-5505-a4f7373073a6'::uuid;

-- Query #6307 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6308 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['60556548-d4f6-f155-77e3-3b977ac98b13'::uuid]);

-- Query #6309 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '60556548-d4f6-f155-77e3-3b977ac98b13'::uuid;

-- Query #6310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60556548-d4f6-f155-77e3-3b977ac98b13'::uuid, 'Imdb', 'tt1117505')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60556548-d4f6-f155-77e3-3b977ac98b13'::uuid, 'Tmdb', 200072)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6312 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60556548-d4f6-f155-77e3-3b977ac98b13'::uuid, 'TvMaze', 72924)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6313 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60556548-d4f6-f155-77e3-3b977ac98b13'::uuid, 'Tvdb', 337318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60556548-d4f6-f155-77e3-3b977ac98b13'::uuid, 'TvRage', 595029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6315 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60556548-d4f6-f155-77e3-3b977ac98b13'::uuid, 'trakt', 211211)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6316 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60556548-d4f6-f155-77e3-3b977ac98b13'::uuid, 'TmdbCollection', 200072)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6317 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60556548-d4f6-f155-77e3-3b977ac98b13'::uuid;

-- Query #6318 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '60556548-d4f6-f155-77e3-3b977ac98b13'::uuid;

-- Query #6319 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['60556548-d4f6-f155-77e3-3b977ac98b13'::uuid]);

-- Query #6320 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '60556548-d4f6-f155-77e3-3b977ac98b13'::uuid;

-- Query #6321 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6322 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9137b376-1980-fa79-b452-988e832bc1c1'::uuid;

-- Query #6323 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9137b376-1980-fa79-b452-988e832bc1c1'::uuid]);

-- Query #6324 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9137b376-1980-fa79-b452-988e832bc1c1'::uuid;

-- Query #6325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9137b376-1980-fa79-b452-988e832bc1c1'::uuid, 'Imdb', 'tt1118057')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9137b376-1980-fa79-b452-988e832bc1c1'::uuid, 'Tmdb', 62023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9137b376-1980-fa79-b452-988e832bc1c1'::uuid, 'TvMaze', 35200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2020e1bd-41ed-e639-ede0-067702bcd4e0'::uuid;

-- Query #6329 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9137b376-1980-fa79-b452-988e832bc1c1'::uuid, 'Tvdb', 378151)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6330 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9137b376-1980-fa79-b452-988e832bc1c1'::uuid, 'TvRage', 677148)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9137b376-1980-fa79-b452-988e832bc1c1'::uuid, 'trakt', 67821)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9137b376-1980-fa79-b452-988e832bc1c1'::uuid, 'TmdbCollection', 62023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6333 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9137b376-1980-fa79-b452-988e832bc1c1'::uuid;

-- Query #6334 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9137b376-1980-fa79-b452-988e832bc1c1'::uuid;

-- Query #6335 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9137b376-1980-fa79-b452-988e832bc1c1'::uuid]);

-- Query #6336 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2020e1bd-41ed-e639-ede0-067702bcd4e0'::uuid]);

-- Query #6337 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9137b376-1980-fa79-b452-988e832bc1c1'::uuid;

-- Query #6338 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2020e1bd-41ed-e639-ede0-067702bcd4e0'::uuid;

-- Query #6339 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2020e1bd-41ed-e639-ede0-067702bcd4e0'::uuid, 'TmdbCollection', 200096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2020e1bd-41ed-e639-ede0-067702bcd4e0'::uuid, 'Imdb', 'tt1209289')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2020e1bd-41ed-e639-ede0-067702bcd4e0'::uuid, 'Tmdb', 200096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2020e1bd-41ed-e639-ede0-067702bcd4e0'::uuid, 'TvMaze', 72937)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2020e1bd-41ed-e639-ede0-067702bcd4e0'::uuid, 'Tvdb', 363374)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2020e1bd-41ed-e639-ede0-067702bcd4e0'::uuid, 'TvRage', 650780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2020e1bd-41ed-e639-ede0-067702bcd4e0'::uuid, 'trakt', 211224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6347 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2020e1bd-41ed-e639-ede0-067702bcd4e0'::uuid;

-- Query #6348 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2020e1bd-41ed-e639-ede0-067702bcd4e0'::uuid;

-- Query #6349 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2020e1bd-41ed-e639-ede0-067702bcd4e0'::uuid]);

-- Query #6350 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2020e1bd-41ed-e639-ede0-067702bcd4e0'::uuid;

-- Query #6351 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6352 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a181efc9-1171-d3ac-10da-d29a8ab21170'::uuid;

-- Query #6353 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf759372-70d3-e1b4-d478-ea5922175393'::uuid;

-- Query #6354 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a181efc9-1171-d3ac-10da-d29a8ab21170'::uuid]);

-- Query #6355 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a181efc9-1171-d3ac-10da-d29a8ab21170'::uuid;

-- Query #6356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a181efc9-1171-d3ac-10da-d29a8ab21170'::uuid, 'Imdb', 'tt1118051')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a181efc9-1171-d3ac-10da-d29a8ab21170'::uuid, 'Tmdb', 62021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a181efc9-1171-d3ac-10da-d29a8ab21170'::uuid, 'TvMaze', 35198)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a181efc9-1171-d3ac-10da-d29a8ab21170'::uuid, 'Tvdb', 376358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6360 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a181efc9-1171-d3ac-10da-d29a8ab21170'::uuid, 'TvRage', 664988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6361 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a181efc9-1171-d3ac-10da-d29a8ab21170'::uuid, 'trakt', 67819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6362 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a181efc9-1171-d3ac-10da-d29a8ab21170'::uuid, 'TmdbCollection', 62021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6363 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a181efc9-1171-d3ac-10da-d29a8ab21170'::uuid;

-- Query #6364 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a181efc9-1171-d3ac-10da-d29a8ab21170'::uuid;

-- Query #6365 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf759372-70d3-e1b4-d478-ea5922175393'::uuid]);

-- Query #6366 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bf759372-70d3-e1b4-d478-ea5922175393'::uuid;

-- Query #6367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf759372-70d3-e1b4-d478-ea5922175393'::uuid, 'TmdbCollection', 200097)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6368 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a181efc9-1171-d3ac-10da-d29a8ab21170'::uuid]);

-- Query #6369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf759372-70d3-e1b4-d478-ea5922175393'::uuid, 'Imdb', 'tt1212049')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf759372-70d3-e1b4-d478-ea5922175393'::uuid, 'Tmdb', 200097)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6371 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a181efc9-1171-d3ac-10da-d29a8ab21170'::uuid;

-- Query #6372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf759372-70d3-e1b4-d478-ea5922175393'::uuid, 'TvMaze', 72938)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6373 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf759372-70d3-e1b4-d478-ea5922175393'::uuid, 'Tvdb', 363701)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6375 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf759372-70d3-e1b4-d478-ea5922175393'::uuid, 'TvRage', 653750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6376 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf759372-70d3-e1b4-d478-ea5922175393'::uuid, 'trakt', 211225)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6377 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf759372-70d3-e1b4-d478-ea5922175393'::uuid;

-- Query #6378 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bf759372-70d3-e1b4-d478-ea5922175393'::uuid;

-- Query #6379 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bf759372-70d3-e1b4-d478-ea5922175393'::uuid]);

-- Query #6380 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bf759372-70d3-e1b4-d478-ea5922175393'::uuid;

-- Query #6381 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6382 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ee4e22e-a5bd-da05-2175-0d2e9b85259f'::uuid;

-- Query #6383 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ee4e22e-a5bd-da05-2175-0d2e9b85259f'::uuid]);

-- Query #6384 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0ee4e22e-a5bd-da05-2175-0d2e9b85259f'::uuid;

-- Query #6385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ee4e22e-a5bd-da05-2175-0d2e9b85259f'::uuid, 'TmdbCollection', 62026)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ee4e22e-a5bd-da05-2175-0d2e9b85259f'::uuid, 'Imdb', 'tt1118061')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ee4e22e-a5bd-da05-2175-0d2e9b85259f'::uuid, 'Tmdb', 62026)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ee4e22e-a5bd-da05-2175-0d2e9b85259f'::uuid, 'TvMaze', 35204)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6389 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d66aeb9-24bf-1a5f-ce8c-9e86f826ea67'::uuid;

-- Query #6390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ee4e22e-a5bd-da05-2175-0d2e9b85259f'::uuid, 'Tvdb', 384073)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ee4e22e-a5bd-da05-2175-0d2e9b85259f'::uuid, 'TvRage', 704952)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ee4e22e-a5bd-da05-2175-0d2e9b85259f'::uuid, 'trakt', 67825)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6393 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ee4e22e-a5bd-da05-2175-0d2e9b85259f'::uuid;

-- Query #6394 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0ee4e22e-a5bd-da05-2175-0d2e9b85259f'::uuid;

-- Query #6395 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0ee4e22e-a5bd-da05-2175-0d2e9b85259f'::uuid]);

-- Query #6396 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0ee4e22e-a5bd-da05-2175-0d2e9b85259f'::uuid;

-- Query #6397 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6398 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d66aeb9-24bf-1a5f-ce8c-9e86f826ea67'::uuid]);

-- Query #6399 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2d66aeb9-24bf-1a5f-ce8c-9e86f826ea67'::uuid;

-- Query #6400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d66aeb9-24bf-1a5f-ce8c-9e86f826ea67'::uuid, 'Imdb', 'tt1144786')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d66aeb9-24bf-1a5f-ce8c-9e86f826ea67'::uuid, 'Tmdb', 200082)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d66aeb9-24bf-1a5f-ce8c-9e86f826ea67'::uuid, 'TvMaze', 72930)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d66aeb9-24bf-1a5f-ce8c-9e86f826ea67'::uuid, 'Tvdb', 343264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d66aeb9-24bf-1a5f-ce8c-9e86f826ea67'::uuid, 'TvRage', 622900)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d66aeb9-24bf-1a5f-ce8c-9e86f826ea67'::uuid, 'trakt', 211217)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d66aeb9-24bf-1a5f-ce8c-9e86f826ea67'::uuid, 'TmdbCollection', 200082)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6407 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d66aeb9-24bf-1a5f-ce8c-9e86f826ea67'::uuid;

-- Query #6408 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2d66aeb9-24bf-1a5f-ce8c-9e86f826ea67'::uuid;

-- Query #6409 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2d66aeb9-24bf-1a5f-ce8c-9e86f826ea67'::uuid]);

-- Query #6410 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2d66aeb9-24bf-1a5f-ce8c-9e86f826ea67'::uuid;

-- Query #6411 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6412 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9125b686-43e1-926d-4b16-4eacee818503'::uuid;

-- Query #6413 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9125b686-43e1-926d-4b16-4eacee818503'::uuid]);

-- Query #6414 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9125b686-43e1-926d-4b16-4eacee818503'::uuid;

-- Query #6415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9125b686-43e1-926d-4b16-4eacee818503'::uuid, 'Imdb', 'tt1118052')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9125b686-43e1-926d-4b16-4eacee818503'::uuid, 'Tmdb', 62030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9125b686-43e1-926d-4b16-4eacee818503'::uuid, 'TvMaze', 35207)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9125b686-43e1-926d-4b16-4eacee818503'::uuid, 'Tvdb', 389520)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6419 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9125b686-43e1-926d-4b16-4eacee818503'::uuid, 'TvRage', 707794)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9125b686-43e1-926d-4b16-4eacee818503'::uuid, 'trakt', 67828)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6421 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9125b686-43e1-926d-4b16-4eacee818503'::uuid, 'TmdbCollection', 62030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6422 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9125b686-43e1-926d-4b16-4eacee818503'::uuid;

-- Query #6423 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9125b686-43e1-926d-4b16-4eacee818503'::uuid;

-- Query #6424 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9449b5c4-5450-6046-c945-66f0ad406602'::uuid;

-- Query #6425 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9125b686-43e1-926d-4b16-4eacee818503'::uuid]);

-- Query #6426 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9125b686-43e1-926d-4b16-4eacee818503'::uuid;

-- Query #6427 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6428 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9449b5c4-5450-6046-c945-66f0ad406602'::uuid]);

-- Query #6429 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9449b5c4-5450-6046-c945-66f0ad406602'::uuid;

-- Query #6430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9449b5c4-5450-6046-c945-66f0ad406602'::uuid, 'TmdbCollection', 200092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9449b5c4-5450-6046-c945-66f0ad406602'::uuid, 'Imdb', 'tt1203983')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9449b5c4-5450-6046-c945-66f0ad406602'::uuid, 'Tmdb', 200092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9449b5c4-5450-6046-c945-66f0ad406602'::uuid, 'TvMaze', 72935)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9449b5c4-5450-6046-c945-66f0ad406602'::uuid, 'Tvdb', 359273)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9449b5c4-5450-6046-c945-66f0ad406602'::uuid, 'TvRage', 644708)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9449b5c4-5450-6046-c945-66f0ad406602'::uuid, 'trakt', 211222)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6437 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9449b5c4-5450-6046-c945-66f0ad406602'::uuid;

-- Query #6438 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9449b5c4-5450-6046-c945-66f0ad406602'::uuid;

-- Query #6439 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9449b5c4-5450-6046-c945-66f0ad406602'::uuid]);

-- Query #6440 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9449b5c4-5450-6046-c945-66f0ad406602'::uuid;

-- Query #6441 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6442 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b027b9c7-d813-2404-6781-04a937b4567a'::uuid;

-- Query #6443 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b027b9c7-d813-2404-6781-04a937b4567a'::uuid]);

-- Query #6444 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b027b9c7-d813-2404-6781-04a937b4567a'::uuid;

-- Query #6445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b027b9c7-d813-2404-6781-04a937b4567a'::uuid, 'Imdb', 'tt1118053')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b027b9c7-d813-2404-6781-04a937b4567a'::uuid, 'Tmdb', 62031)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b027b9c7-d813-2404-6781-04a937b4567a'::uuid, 'TvMaze', 35208)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b027b9c7-d813-2404-6781-04a937b4567a'::uuid, 'Tvdb', 393936)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6449 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b027b9c7-d813-2404-6781-04a937b4567a'::uuid, 'TvRage', 707795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b027b9c7-d813-2404-6781-04a937b4567a'::uuid, 'trakt', 67829)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b027b9c7-d813-2404-6781-04a937b4567a'::uuid, 'TmdbCollection', 62031)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6452 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b027b9c7-d813-2404-6781-04a937b4567a'::uuid;

-- Query #6453 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b027b9c7-d813-2404-6781-04a937b4567a'::uuid;

-- Query #6454 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b027b9c7-d813-2404-6781-04a937b4567a'::uuid]);

-- Query #6455 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b027b9c7-d813-2404-6781-04a937b4567a'::uuid;

-- Query #6456 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6457 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f50c0a38-915d-a79c-e8e9-493ea2bd28db'::uuid;

-- Query #6458 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f50c0a38-915d-a79c-e8e9-493ea2bd28db'::uuid]);

-- Query #6459 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b00e4007-59cc-c581-bb3d-8aa99d74df85'::uuid;

-- Query #6460 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f50c0a38-915d-a79c-e8e9-493ea2bd28db'::uuid;

-- Query #6461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50c0a38-915d-a79c-e8e9-493ea2bd28db'::uuid, 'Imdb', 'tt1093792')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50c0a38-915d-a79c-e8e9-493ea2bd28db'::uuid, 'Tmdb', 200069)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50c0a38-915d-a79c-e8e9-493ea2bd28db'::uuid, 'TvMaze', 72923)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50c0a38-915d-a79c-e8e9-493ea2bd28db'::uuid, 'Tvdb', 336635)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50c0a38-915d-a79c-e8e9-493ea2bd28db'::uuid, 'TvRage', 582449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6466 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50c0a38-915d-a79c-e8e9-493ea2bd28db'::uuid, 'trakt', 211210)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50c0a38-915d-a79c-e8e9-493ea2bd28db'::uuid, 'TmdbCollection', 200069)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6468 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f50c0a38-915d-a79c-e8e9-493ea2bd28db'::uuid;

-- Query #6469 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f50c0a38-915d-a79c-e8e9-493ea2bd28db'::uuid;

-- Query #6470 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b00e4007-59cc-c581-bb3d-8aa99d74df85'::uuid]);

-- Query #6471 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f50c0a38-915d-a79c-e8e9-493ea2bd28db'::uuid]);

-- Query #6472 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b00e4007-59cc-c581-bb3d-8aa99d74df85'::uuid;

-- Query #6473 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f50c0a38-915d-a79c-e8e9-493ea2bd28db'::uuid;

-- Query #6474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b00e4007-59cc-c581-bb3d-8aa99d74df85'::uuid, 'Imdb', 'tt1118060')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6475 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b00e4007-59cc-c581-bb3d-8aa99d74df85'::uuid, 'Tmdb', 62027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6477 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b00e4007-59cc-c581-bb3d-8aa99d74df85'::uuid, 'TvMaze', 35203)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6478 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b00e4007-59cc-c581-bb3d-8aa99d74df85'::uuid, 'Tvdb', 383002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b00e4007-59cc-c581-bb3d-8aa99d74df85'::uuid, 'TvRage', 677151)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b00e4007-59cc-c581-bb3d-8aa99d74df85'::uuid, 'trakt', 67824)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b00e4007-59cc-c581-bb3d-8aa99d74df85'::uuid, 'TmdbCollection', 62027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6482 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b00e4007-59cc-c581-bb3d-8aa99d74df85'::uuid;

-- Query #6483 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b00e4007-59cc-c581-bb3d-8aa99d74df85'::uuid;

-- Query #6484 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b00e4007-59cc-c581-bb3d-8aa99d74df85'::uuid]);

-- Query #6485 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b00e4007-59cc-c581-bb3d-8aa99d74df85'::uuid;

-- Query #6486 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6487 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5c62bd6-21ee-3452-580c-62da1641d46d'::uuid;

-- Query #6488 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a5c62bd6-21ee-3452-580c-62da1641d46d'::uuid]);

-- Query #6489 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a5c62bd6-21ee-3452-580c-62da1641d46d'::uuid;

-- Query #6490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5c62bd6-21ee-3452-580c-62da1641d46d'::uuid, 'Imdb', 'tt1151291')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5c62bd6-21ee-3452-580c-62da1641d46d'::uuid, 'Tmdb', 200083)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5c62bd6-21ee-3452-580c-62da1641d46d'::uuid, 'TvMaze', 72931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5c62bd6-21ee-3452-580c-62da1641d46d'::uuid, 'Tvdb', 344626)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5c62bd6-21ee-3452-580c-62da1641d46d'::uuid, 'TvRage', 625889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6495 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5c62bd6-21ee-3452-580c-62da1641d46d'::uuid, 'trakt', 211218)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5c62bd6-21ee-3452-580c-62da1641d46d'::uuid, 'TmdbCollection', 200083)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6497 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5c62bd6-21ee-3452-580c-62da1641d46d'::uuid;

-- Query #6498 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a5c62bd6-21ee-3452-580c-62da1641d46d'::uuid;

-- Query #6499 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11756d94-f3f4-d3ff-19ae-4aa55a240dbb'::uuid;

-- Query #6500 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a5c62bd6-21ee-3452-580c-62da1641d46d'::uuid]);

-- Query #6501 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a5c62bd6-21ee-3452-580c-62da1641d46d'::uuid;

-- Query #6502 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6503 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11756d94-f3f4-d3ff-19ae-4aa55a240dbb'::uuid]);

-- Query #6504 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '11756d94-f3f4-d3ff-19ae-4aa55a240dbb'::uuid;

-- Query #6505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11756d94-f3f4-d3ff-19ae-4aa55a240dbb'::uuid, 'Imdb', 'tt1118055')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11756d94-f3f4-d3ff-19ae-4aa55a240dbb'::uuid, 'Tmdb', 62033)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6507 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11756d94-f3f4-d3ff-19ae-4aa55a240dbb'::uuid, 'TvMaze', 35210)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6508 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11756d94-f3f4-d3ff-19ae-4aa55a240dbb'::uuid, 'Tvdb', 399466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6509 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11756d94-f3f4-d3ff-19ae-4aa55a240dbb'::uuid, 'TvRage', 707797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6510 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11756d94-f3f4-d3ff-19ae-4aa55a240dbb'::uuid, 'trakt', 67831)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6511 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11756d94-f3f4-d3ff-19ae-4aa55a240dbb'::uuid, 'TmdbCollection', 62033)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6512 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11756d94-f3f4-d3ff-19ae-4aa55a240dbb'::uuid;

-- Query #6513 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '11756d94-f3f4-d3ff-19ae-4aa55a240dbb'::uuid;

-- Query #6514 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['11756d94-f3f4-d3ff-19ae-4aa55a240dbb'::uuid]);

-- Query #6515 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '11756d94-f3f4-d3ff-19ae-4aa55a240dbb'::uuid;

-- Query #6516 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6517 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '40e9b2c3-f8f2-e288-ea53-657d2b4c7be4'::uuid;

-- Query #6518 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b2d25c5b-0db6-0980-badf-30b1606972ea'::uuid;

-- Query #6519 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40e9b2c3-f8f2-e288-ea53-657d2b4c7be4'::uuid]);

-- Query #6520 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '40e9b2c3-f8f2-e288-ea53-657d2b4c7be4'::uuid;

-- Query #6521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40e9b2c3-f8f2-e288-ea53-657d2b4c7be4'::uuid, 'TmdbCollection', 200074)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40e9b2c3-f8f2-e288-ea53-657d2b4c7be4'::uuid, 'Imdb', 'tt1118472')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40e9b2c3-f8f2-e288-ea53-657d2b4c7be4'::uuid, 'Tmdb', 200074)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40e9b2c3-f8f2-e288-ea53-657d2b4c7be4'::uuid, 'TvMaze', 72925)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6525 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40e9b2c3-f8f2-e288-ea53-657d2b4c7be4'::uuid, 'Tvdb', 338046)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40e9b2c3-f8f2-e288-ea53-657d2b4c7be4'::uuid, 'TvRage', 604481)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6527 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40e9b2c3-f8f2-e288-ea53-657d2b4c7be4'::uuid, 'trakt', 211212)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6528 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '40e9b2c3-f8f2-e288-ea53-657d2b4c7be4'::uuid;

-- Query #6529 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '40e9b2c3-f8f2-e288-ea53-657d2b4c7be4'::uuid;

-- Query #6530 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['40e9b2c3-f8f2-e288-ea53-657d2b4c7be4'::uuid]);

-- Query #6531 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '40e9b2c3-f8f2-e288-ea53-657d2b4c7be4'::uuid;

-- Query #6532 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b2d25c5b-0db6-0980-badf-30b1606972ea'::uuid]);

-- Query #6533 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6534 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b2d25c5b-0db6-0980-badf-30b1606972ea'::uuid;

-- Query #6535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2d25c5b-0db6-0980-badf-30b1606972ea'::uuid, 'Imdb', 'tt1118054')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2d25c5b-0db6-0980-badf-30b1606972ea'::uuid, 'Tmdb', 62032)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2d25c5b-0db6-0980-badf-30b1606972ea'::uuid, 'TvMaze', 35209)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2d25c5b-0db6-0980-badf-30b1606972ea'::uuid, 'Tvdb', 396567)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6539 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2d25c5b-0db6-0980-badf-30b1606972ea'::uuid, 'TvRage', 707796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6540 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2d25c5b-0db6-0980-badf-30b1606972ea'::uuid, 'trakt', 67830)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6541 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2d25c5b-0db6-0980-badf-30b1606972ea'::uuid, 'TmdbCollection', 62032)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6542 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b2d25c5b-0db6-0980-badf-30b1606972ea'::uuid;

-- Query #6543 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b2d25c5b-0db6-0980-badf-30b1606972ea'::uuid;

-- Query #6544 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b2d25c5b-0db6-0980-badf-30b1606972ea'::uuid]);

-- Query #6545 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b2d25c5b-0db6-0980-badf-30b1606972ea'::uuid;

-- Query #6546 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6547 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd145bea5-03f8-d9e7-bd14-47e54262ce14'::uuid;

-- Query #6548 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d145bea5-03f8-d9e7-bd14-47e54262ce14'::uuid]);

-- Query #6549 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd145bea5-03f8-d9e7-bd14-47e54262ce14'::uuid;

-- Query #6550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d145bea5-03f8-d9e7-bd14-47e54262ce14'::uuid, 'Imdb', 'tt1133324')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d145bea5-03f8-d9e7-bd14-47e54262ce14'::uuid, 'Tmdb', 200104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6552 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d145bea5-03f8-d9e7-bd14-47e54262ce14'::uuid, 'trakt', 211214)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6553 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d145bea5-03f8-d9e7-bd14-47e54262ce14'::uuid, 'TvMaze', 72927)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6554 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d145bea5-03f8-d9e7-bd14-47e54262ce14'::uuid, 'Tvdb', 339465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d145bea5-03f8-d9e7-bd14-47e54262ce14'::uuid, 'TmdbCollection', 200104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6556 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd145bea5-03f8-d9e7-bd14-47e54262ce14'::uuid;

-- Query #6557 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd145bea5-03f8-d9e7-bd14-47e54262ce14'::uuid;

-- Query #6558 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d145bea5-03f8-d9e7-bd14-47e54262ce14'::uuid]);

-- Query #6559 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd145bea5-03f8-d9e7-bd14-47e54262ce14'::uuid;

-- Query #6560 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6561 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c805cf37-53d5-ee90-7cf0-3858f7b588d4'::uuid;

-- Query #6562 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c805cf37-53d5-ee90-7cf0-3858f7b588d4'::uuid]);

-- Query #6563 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c805cf37-53d5-ee90-7cf0-3858f7b588d4'::uuid;

-- Query #6564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c805cf37-53d5-ee90-7cf0-3858f7b588d4'::uuid, 'Imdb', 'tt1118059')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c805cf37-53d5-ee90-7cf0-3858f7b588d4'::uuid, 'Tmdb', 62025)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c805cf37-53d5-ee90-7cf0-3858f7b588d4'::uuid, 'TvMaze', 35202)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '51ff1836-91f1-bc22-f832-7518e2135768'::uuid;

-- Query #6568 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c805cf37-53d5-ee90-7cf0-3858f7b588d4'::uuid, 'Tvdb', 380960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6569 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c805cf37-53d5-ee90-7cf0-3858f7b588d4'::uuid, 'TvRage', 677150)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c805cf37-53d5-ee90-7cf0-3858f7b588d4'::uuid, 'trakt', 67823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c805cf37-53d5-ee90-7cf0-3858f7b588d4'::uuid, 'TmdbCollection', 62025)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6572 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c805cf37-53d5-ee90-7cf0-3858f7b588d4'::uuid;

-- Query #6573 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c805cf37-53d5-ee90-7cf0-3858f7b588d4'::uuid;

-- Query #6574 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c805cf37-53d5-ee90-7cf0-3858f7b588d4'::uuid]);

-- Query #6575 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c805cf37-53d5-ee90-7cf0-3858f7b588d4'::uuid;

-- Query #6576 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6577 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['51ff1836-91f1-bc22-f832-7518e2135768'::uuid]);

-- Query #6578 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '51ff1836-91f1-bc22-f832-7518e2135768'::uuid;

-- Query #6579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51ff1836-91f1-bc22-f832-7518e2135768'::uuid, 'Tmdb', 200101)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6580 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51ff1836-91f1-bc22-f832-7518e2135768'::uuid, 'TvMaze', 72940)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51ff1836-91f1-bc22-f832-7518e2135768'::uuid, 'Tvdb', 366442)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51ff1836-91f1-bc22-f832-7518e2135768'::uuid, 'TvRage', 653752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51ff1836-91f1-bc22-f832-7518e2135768'::uuid, 'trakt', 211227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51ff1836-91f1-bc22-f832-7518e2135768'::uuid, 'TmdbCollection', 200101)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51ff1836-91f1-bc22-f832-7518e2135768'::uuid, 'Imdb', 'tt1212051')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '51ff1836-91f1-bc22-f832-7518e2135768'::uuid;

-- Query #6587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '51ff1836-91f1-bc22-f832-7518e2135768'::uuid;

-- Query #6588 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['51ff1836-91f1-bc22-f832-7518e2135768'::uuid]);

-- Query #6589 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '51ff1836-91f1-bc22-f832-7518e2135768'::uuid;

-- Query #6590 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31a2554e-144b-98fa-20cf-16b8aafe2f9b'::uuid;

-- Query #6592 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['31a2554e-144b-98fa-20cf-16b8aafe2f9b'::uuid]);

-- Query #6593 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '31a2554e-144b-98fa-20cf-16b8aafe2f9b'::uuid;

-- Query #6594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31a2554e-144b-98fa-20cf-16b8aafe2f9b'::uuid, 'Imdb', 'tt1118062')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31a2554e-144b-98fa-20cf-16b8aafe2f9b'::uuid, 'Tmdb', 62029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31a2554e-144b-98fa-20cf-16b8aafe2f9b'::uuid, 'TvMaze', 35205)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31a2554e-144b-98fa-20cf-16b8aafe2f9b'::uuid, 'Tvdb', 386037)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31a2554e-144b-98fa-20cf-16b8aafe2f9b'::uuid, 'TvRage', 704953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31a2554e-144b-98fa-20cf-16b8aafe2f9b'::uuid, 'trakt', 67826)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31a2554e-144b-98fa-20cf-16b8aafe2f9b'::uuid, 'TmdbCollection', 62029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6601 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31a2554e-144b-98fa-20cf-16b8aafe2f9b'::uuid;

-- Query #6602 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '31a2554e-144b-98fa-20cf-16b8aafe2f9b'::uuid;

-- Query #6603 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd4897761-00a6-2d9b-c083-7fcf4a59af83'::uuid;

-- Query #6604 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #6605 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['31a2554e-144b-98fa-20cf-16b8aafe2f9b'::uuid]);

-- Query #6606 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '31a2554e-144b-98fa-20cf-16b8aafe2f9b'::uuid;

-- Query #6607 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6608 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d4897761-00a6-2d9b-c083-7fcf4a59af83'::uuid]);

-- Query #6609 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd4897761-00a6-2d9b-c083-7fcf4a59af83'::uuid;

-- Query #6610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4897761-00a6-2d9b-c083-7fcf4a59af83'::uuid, 'TmdbCollection', 200079)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4897761-00a6-2d9b-c083-7fcf4a59af83'::uuid, 'Imdb', 'tt1133325')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4897761-00a6-2d9b-c083-7fcf4a59af83'::uuid, 'Tmdb', 200079)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4897761-00a6-2d9b-c083-7fcf4a59af83'::uuid, 'TvMaze', 72928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6614 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4897761-00a6-2d9b-c083-7fcf4a59af83'::uuid, 'Tvdb', 340155)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4897761-00a6-2d9b-c083-7fcf4a59af83'::uuid, 'TvRage', 616726)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4897761-00a6-2d9b-c083-7fcf4a59af83'::uuid, 'trakt', 211215)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6617 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd4897761-00a6-2d9b-c083-7fcf4a59af83'::uuid;

-- Query #6618 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd4897761-00a6-2d9b-c083-7fcf4a59af83'::uuid;

-- Query #6619 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d4897761-00a6-2d9b-c083-7fcf4a59af83'::uuid]);

-- Query #6620 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd4897761-00a6-2d9b-c083-7fcf4a59af83'::uuid;

-- Query #6621 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '05f16555-0c0b-59f6-d59b-cb9ab059ff1b'::uuid;

-- Query #6622 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6623 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05f16555-0c0b-59f6-d59b-cb9ab059ff1b'::uuid]);

-- Query #6624 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '05f16555-0c0b-59f6-d59b-cb9ab059ff1b'::uuid;

-- Query #6625 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05f16555-0c0b-59f6-d59b-cb9ab059ff1b'::uuid, 'Imdb', 'tt1118058')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05f16555-0c0b-59f6-d59b-cb9ab059ff1b'::uuid, 'Tmdb', 62022)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05f16555-0c0b-59f6-d59b-cb9ab059ff1b'::uuid, 'TvMaze', 35201)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05f16555-0c0b-59f6-d59b-cb9ab059ff1b'::uuid, 'Tvdb', 379436)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05f16555-0c0b-59f6-d59b-cb9ab059ff1b'::uuid, 'TvRage', 677149)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05f16555-0c0b-59f6-d59b-cb9ab059ff1b'::uuid, 'trakt', 67822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6631 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05f16555-0c0b-59f6-d59b-cb9ab059ff1b'::uuid, 'TmdbCollection', 62022)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6632 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '05f16555-0c0b-59f6-d59b-cb9ab059ff1b'::uuid;

-- Query #6633 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '05f16555-0c0b-59f6-d59b-cb9ab059ff1b'::uuid;

-- Query #6634 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['05f16555-0c0b-59f6-d59b-cb9ab059ff1b'::uuid]);

-- Query #6635 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '05f16555-0c0b-59f6-d59b-cb9ab059ff1b'::uuid;

-- Query #6636 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6637 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '488096cb-b933-4f30-bb1a-1f36767d9736'::uuid;

-- Query #6638 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['488096cb-b933-4f30-bb1a-1f36767d9736'::uuid]);

-- Query #6639 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '488096cb-b933-4f30-bb1a-1f36767d9736'::uuid;

-- Query #6640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('488096cb-b933-4f30-bb1a-1f36767d9736'::uuid, 'Imdb', 'tt1256449')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('488096cb-b933-4f30-bb1a-1f36767d9736'::uuid, 'Tmdb', 200110)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('488096cb-b933-4f30-bb1a-1f36767d9736'::uuid, 'TmdbCollection', 200110)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('488096cb-b933-4f30-bb1a-1f36767d9736'::uuid, 'trakt', 211229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6644 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fa067fb9-33c5-e984-8b44-e76968d01ae4'::uuid;

-- Query #6645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('488096cb-b933-4f30-bb1a-1f36767d9736'::uuid, 'Tvdb', 389701)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6646 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('488096cb-b933-4f30-bb1a-1f36767d9736'::uuid, 'TvMaze', 72942)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6647 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '488096cb-b933-4f30-bb1a-1f36767d9736'::uuid;

-- Query #6648 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '488096cb-b933-4f30-bb1a-1f36767d9736'::uuid;

-- Query #6649 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['488096cb-b933-4f30-bb1a-1f36767d9736'::uuid]);

-- Query #6650 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '488096cb-b933-4f30-bb1a-1f36767d9736'::uuid;

-- Query #6651 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6652 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa067fb9-33c5-e984-8b44-e76968d01ae4'::uuid]);

-- Query #6653 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fa067fb9-33c5-e984-8b44-e76968d01ae4'::uuid;

-- Query #6654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa067fb9-33c5-e984-8b44-e76968d01ae4'::uuid, 'TvRage', 1064822498)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa067fb9-33c5-e984-8b44-e76968d01ae4'::uuid, 'trakt', 67835)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa067fb9-33c5-e984-8b44-e76968d01ae4'::uuid, 'TmdbCollection', 62037)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa067fb9-33c5-e984-8b44-e76968d01ae4'::uuid, 'Imdb', 'tt1484416')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa067fb9-33c5-e984-8b44-e76968d01ae4'::uuid, 'Tmdb', 62037)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa067fb9-33c5-e984-8b44-e76968d01ae4'::uuid, 'TvMaze', 35214)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa067fb9-33c5-e984-8b44-e76968d01ae4'::uuid, 'Tvdb', 1007601)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6661 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fa067fb9-33c5-e984-8b44-e76968d01ae4'::uuid;

-- Query #6662 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fa067fb9-33c5-e984-8b44-e76968d01ae4'::uuid;

-- Query #6663 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fa067fb9-33c5-e984-8b44-e76968d01ae4'::uuid]);

-- Query #6664 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fa067fb9-33c5-e984-8b44-e76968d01ae4'::uuid;

-- Query #6665 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6666 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '68e36b3f-0ca1-e862-2b4c-1c4f127385c8'::uuid;

-- Query #6667 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68e36b3f-0ca1-e862-2b4c-1c4f127385c8'::uuid]);

-- Query #6668 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '68e36b3f-0ca1-e862-2b4c-1c4f127385c8'::uuid;

-- Query #6669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68e36b3f-0ca1-e862-2b4c-1c4f127385c8'::uuid, 'Imdb', 'tt1256458')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68e36b3f-0ca1-e862-2b4c-1c4f127385c8'::uuid, 'Tmdb', 200118)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68e36b3f-0ca1-e862-2b4c-1c4f127385c8'::uuid, 'TmdbCollection', 200118)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68e36b3f-0ca1-e862-2b4c-1c4f127385c8'::uuid, 'trakt', 211235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68e36b3f-0ca1-e862-2b4c-1c4f127385c8'::uuid, 'Tvdb', 410310)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68e36b3f-0ca1-e862-2b4c-1c4f127385c8'::uuid, 'TvMaze', 72948)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6675 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9fc69283-bbb9-557c-91fb-a0c27ccc38c0'::uuid;

-- Query #6676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68e36b3f-0ca1-e862-2b4c-1c4f127385c8'::uuid, 'TvRage', 736182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6677 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '68e36b3f-0ca1-e862-2b4c-1c4f127385c8'::uuid;

-- Query #6678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '68e36b3f-0ca1-e862-2b4c-1c4f127385c8'::uuid;

-- Query #6679 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['68e36b3f-0ca1-e862-2b4c-1c4f127385c8'::uuid]);

-- Query #6680 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '68e36b3f-0ca1-e862-2b4c-1c4f127385c8'::uuid;

-- Query #6681 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6682 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fc69283-bbb9-557c-91fb-a0c27ccc38c0'::uuid]);

-- Query #6683 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9fc69283-bbb9-557c-91fb-a0c27ccc38c0'::uuid;

-- Query #6684 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fc69283-bbb9-557c-91fb-a0c27ccc38c0'::uuid, 'TmdbCollection', 62043)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6685 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fc69283-bbb9-557c-91fb-a0c27ccc38c0'::uuid, 'Imdb', 'tt1484249')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fc69283-bbb9-557c-91fb-a0c27ccc38c0'::uuid, 'Tmdb', 62043)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fc69283-bbb9-557c-91fb-a0c27ccc38c0'::uuid, 'TvMaze', 35220)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fc69283-bbb9-557c-91fb-a0c27ccc38c0'::uuid, 'Tvdb', 1007691)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fc69283-bbb9-557c-91fb-a0c27ccc38c0'::uuid, 'TvRage', 1064822504)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fc69283-bbb9-557c-91fb-a0c27ccc38c0'::uuid, 'trakt', 67841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6691 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9fc69283-bbb9-557c-91fb-a0c27ccc38c0'::uuid;

-- Query #6692 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9fc69283-bbb9-557c-91fb-a0c27ccc38c0'::uuid;

-- Query #6693 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9fc69283-bbb9-557c-91fb-a0c27ccc38c0'::uuid]);

-- Query #6694 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9fc69283-bbb9-557c-91fb-a0c27ccc38c0'::uuid;

-- Query #6695 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6696 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78830899-7906-ff7f-0a03-698a8d0de7d5'::uuid;

-- Query #6697 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78830899-7906-ff7f-0a03-698a8d0de7d5'::uuid]);

-- Query #6698 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '78830899-7906-ff7f-0a03-698a8d0de7d5'::uuid;

-- Query #6699 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8e0669f-63fc-3b0c-68f9-35fa9211318f'::uuid;

-- Query #6700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78830899-7906-ff7f-0a03-698a8d0de7d5'::uuid, 'Imdb', 'tt1256444')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78830899-7906-ff7f-0a03-698a8d0de7d5'::uuid, 'Tmdb', 200141)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78830899-7906-ff7f-0a03-698a8d0de7d5'::uuid, 'TmdbCollection', 200141)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78830899-7906-ff7f-0a03-698a8d0de7d5'::uuid, 'trakt', 211242)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78830899-7906-ff7f-0a03-698a8d0de7d5'::uuid, 'Tvdb', 431628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78830899-7906-ff7f-0a03-698a8d0de7d5'::uuid, 'TvMaze', 72955)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6706 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78830899-7906-ff7f-0a03-698a8d0de7d5'::uuid;

-- Query #6707 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '78830899-7906-ff7f-0a03-698a8d0de7d5'::uuid;

-- Query #6708 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['78830899-7906-ff7f-0a03-698a8d0de7d5'::uuid]);

-- Query #6709 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '78830899-7906-ff7f-0a03-698a8d0de7d5'::uuid;

-- Query #6710 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6711 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8e0669f-63fc-3b0c-68f9-35fa9211318f'::uuid]);

-- Query #6712 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f8e0669f-63fc-3b0c-68f9-35fa9211318f'::uuid;

-- Query #6713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8e0669f-63fc-3b0c-68f9-35fa9211318f'::uuid, 'TmdbCollection', 62038)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8e0669f-63fc-3b0c-68f9-35fa9211318f'::uuid, 'Imdb', 'tt1484417')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8e0669f-63fc-3b0c-68f9-35fa9211318f'::uuid, 'Tmdb', 62038)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8e0669f-63fc-3b0c-68f9-35fa9211318f'::uuid, 'TvMaze', 35215)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8e0669f-63fc-3b0c-68f9-35fa9211318f'::uuid, 'Tvdb', 1007621)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8e0669f-63fc-3b0c-68f9-35fa9211318f'::uuid, 'TvRage', 1064822499)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8e0669f-63fc-3b0c-68f9-35fa9211318f'::uuid, 'trakt', 67836)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6720 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8e0669f-63fc-3b0c-68f9-35fa9211318f'::uuid;

-- Query #6721 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f8e0669f-63fc-3b0c-68f9-35fa9211318f'::uuid;

-- Query #6722 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f8e0669f-63fc-3b0c-68f9-35fa9211318f'::uuid]);

-- Query #6723 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f8e0669f-63fc-3b0c-68f9-35fa9211318f'::uuid;

-- Query #6724 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6725 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a0fb94e-03df-d301-9b45-b2d516d229ae'::uuid;

-- Query #6726 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3a0fb94e-03df-d301-9b45-b2d516d229ae'::uuid]);

-- Query #6727 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3a0fb94e-03df-d301-9b45-b2d516d229ae'::uuid;

-- Query #6728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a0fb94e-03df-d301-9b45-b2d516d229ae'::uuid, 'Imdb', 'tt1256439')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6729 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a0fb94e-03df-d301-9b45-b2d516d229ae'::uuid, 'Tmdb', 200121)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6730 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a0fb94e-03df-d301-9b45-b2d516d229ae'::uuid, 'TmdbCollection', 200121)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6731 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0552672b-86ce-9633-d90b-2bd4e3ba0b3e'::uuid;

-- Query #6732 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a0fb94e-03df-d301-9b45-b2d516d229ae'::uuid, 'trakt', 211237)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6733 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a0fb94e-03df-d301-9b45-b2d516d229ae'::uuid, 'Tvdb', 415919)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a0fb94e-03df-d301-9b45-b2d516d229ae'::uuid, 'TvMaze', 72950)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6735 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a0fb94e-03df-d301-9b45-b2d516d229ae'::uuid;

-- Query #6736 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3a0fb94e-03df-d301-9b45-b2d516d229ae'::uuid;

-- Query #6737 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3a0fb94e-03df-d301-9b45-b2d516d229ae'::uuid]);

-- Query #6738 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3a0fb94e-03df-d301-9b45-b2d516d229ae'::uuid;

-- Query #6739 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6740 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0552672b-86ce-9633-d90b-2bd4e3ba0b3e'::uuid]);

-- Query #6741 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0552672b-86ce-9633-d90b-2bd4e3ba0b3e'::uuid;

-- Query #6742 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0552672b-86ce-9633-d90b-2bd4e3ba0b3e'::uuid, 'Imdb', 'tt1484251')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6743 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0552672b-86ce-9633-d90b-2bd4e3ba0b3e'::uuid, 'Tmdb', 62046)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6744 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0552672b-86ce-9633-d90b-2bd4e3ba0b3e'::uuid, 'TvMaze', 35222)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0552672b-86ce-9633-d90b-2bd4e3ba0b3e'::uuid, 'Tvdb', 1007711)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0552672b-86ce-9633-d90b-2bd4e3ba0b3e'::uuid, 'TvRage', 1064854580)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0552672b-86ce-9633-d90b-2bd4e3ba0b3e'::uuid, 'trakt', 67843)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0552672b-86ce-9633-d90b-2bd4e3ba0b3e'::uuid, 'TmdbCollection', 62046)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6749 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0552672b-86ce-9633-d90b-2bd4e3ba0b3e'::uuid;

-- Query #6750 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0552672b-86ce-9633-d90b-2bd4e3ba0b3e'::uuid;

-- Query #6751 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0552672b-86ce-9633-d90b-2bd4e3ba0b3e'::uuid]);

-- Query #6752 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0552672b-86ce-9633-d90b-2bd4e3ba0b3e'::uuid;

-- Query #6753 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6754 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11c9a979-ea61-7798-7b6d-da11f02bc559'::uuid;

-- Query #6755 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11c9a979-ea61-7798-7b6d-da11f02bc559'::uuid]);

-- Query #6756 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '11c9a979-ea61-7798-7b6d-da11f02bc559'::uuid;

-- Query #6757 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11c9a979-ea61-7798-7b6d-da11f02bc559'::uuid, 'Imdb', 'tt1256447')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6758 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11c9a979-ea61-7798-7b6d-da11f02bc559'::uuid, 'Tmdb', 200143)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6759 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11c9a979-ea61-7798-7b6d-da11f02bc559'::uuid, 'TmdbCollection', 200143)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6760 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11c9a979-ea61-7798-7b6d-da11f02bc559'::uuid, 'trakt', 211245)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6761 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11c9a979-ea61-7798-7b6d-da11f02bc559'::uuid, 'Tvdb', 437538)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6762 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11c9a979-ea61-7798-7b6d-da11f02bc559'::uuid, 'TvMaze', 72958)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6763 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11c9a979-ea61-7798-7b6d-da11f02bc559'::uuid;

-- Query #6764 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '11c9a979-ea61-7798-7b6d-da11f02bc559'::uuid;

-- Query #6765 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['11c9a979-ea61-7798-7b6d-da11f02bc559'::uuid]);

-- Query #6766 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef20fd00-c463-ca7d-682c-fac05d1ea400'::uuid;

-- Query #6767 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '11c9a979-ea61-7798-7b6d-da11f02bc559'::uuid;

-- Query #6768 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6769 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef20fd00-c463-ca7d-682c-fac05d1ea400'::uuid]);

-- Query #6770 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ef20fd00-c463-ca7d-682c-fac05d1ea400'::uuid;

-- Query #6771 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef20fd00-c463-ca7d-682c-fac05d1ea400'::uuid, 'Imdb', 'tt1484435')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6772 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef20fd00-c463-ca7d-682c-fac05d1ea400'::uuid, 'Tmdb', 62039)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6773 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef20fd00-c463-ca7d-682c-fac05d1ea400'::uuid, 'TvMaze', 35216)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6774 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef20fd00-c463-ca7d-682c-fac05d1ea400'::uuid, 'Tvdb', 1007641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef20fd00-c463-ca7d-682c-fac05d1ea400'::uuid, 'TvRage', 1064822500)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef20fd00-c463-ca7d-682c-fac05d1ea400'::uuid, 'trakt', 67837)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef20fd00-c463-ca7d-682c-fac05d1ea400'::uuid, 'TmdbCollection', 62039)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6778 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef20fd00-c463-ca7d-682c-fac05d1ea400'::uuid;

-- Query #6779 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ef20fd00-c463-ca7d-682c-fac05d1ea400'::uuid;

-- Query #6780 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ef20fd00-c463-ca7d-682c-fac05d1ea400'::uuid]);

-- Query #6781 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ef20fd00-c463-ca7d-682c-fac05d1ea400'::uuid;

-- Query #6782 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6783 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '42eab5b3-9da6-7ed4-cbb1-9d01810e9a92'::uuid;

-- Query #6784 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42eab5b3-9da6-7ed4-cbb1-9d01810e9a92'::uuid]);

-- Query #6785 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '42eab5b3-9da6-7ed4-cbb1-9d01810e9a92'::uuid;

-- Query #6786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42eab5b3-9da6-7ed4-cbb1-9d01810e9a92'::uuid, 'Imdb', 'tt1256452')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42eab5b3-9da6-7ed4-cbb1-9d01810e9a92'::uuid, 'Tmdb', 200135)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6788 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42eab5b3-9da6-7ed4-cbb1-9d01810e9a92'::uuid, 'TmdbCollection', 200135)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6789 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42eab5b3-9da6-7ed4-cbb1-9d01810e9a92'::uuid, 'trakt', 211249)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6790 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42eab5b3-9da6-7ed4-cbb1-9d01810e9a92'::uuid, 'Tvdb', 619451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6791 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42eab5b3-9da6-7ed4-cbb1-9d01810e9a92'::uuid, 'TvMaze', 72962)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42eab5b3-9da6-7ed4-cbb1-9d01810e9a92'::uuid, 'TvRage', 1064799287)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6793 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '42eab5b3-9da6-7ed4-cbb1-9d01810e9a92'::uuid;

-- Query #6794 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '42eab5b3-9da6-7ed4-cbb1-9d01810e9a92'::uuid;

-- Query #6795 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['42eab5b3-9da6-7ed4-cbb1-9d01810e9a92'::uuid]);

-- Query #6796 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '42eab5b3-9da6-7ed4-cbb1-9d01810e9a92'::uuid;

-- Query #6797 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6798 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'accab88e-7cff-5879-4689-1bb17a9c99b0'::uuid;

-- Query #6799 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['accab88e-7cff-5879-4689-1bb17a9c99b0'::uuid]);

-- Query #6800 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'accab88e-7cff-5879-4689-1bb17a9c99b0'::uuid;

-- Query #6801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('accab88e-7cff-5879-4689-1bb17a9c99b0'::uuid, 'Imdb', 'tt1484250')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('accab88e-7cff-5879-4689-1bb17a9c99b0'::uuid, 'Tmdb', 62045)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('accab88e-7cff-5879-4689-1bb17a9c99b0'::uuid, 'TvMaze', 35221)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('accab88e-7cff-5879-4689-1bb17a9c99b0'::uuid, 'Tvdb', 1007701)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('accab88e-7cff-5879-4689-1bb17a9c99b0'::uuid, 'TvRage', 1064854579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('accab88e-7cff-5879-4689-1bb17a9c99b0'::uuid, 'trakt', 67842)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('accab88e-7cff-5879-4689-1bb17a9c99b0'::uuid, 'TmdbCollection', 62045)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'accab88e-7cff-5879-4689-1bb17a9c99b0'::uuid;

-- Query #6809 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'accab88e-7cff-5879-4689-1bb17a9c99b0'::uuid;

-- Query #6810 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['accab88e-7cff-5879-4689-1bb17a9c99b0'::uuid]);

-- Query #6811 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c5e32301-6805-b431-f6c1-8133be7e41c1'::uuid;

-- Query #6812 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'accab88e-7cff-5879-4689-1bb17a9c99b0'::uuid;

-- Query #6813 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6814 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c5e32301-6805-b431-f6c1-8133be7e41c1'::uuid]);

-- Query #6815 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c5e32301-6805-b431-f6c1-8133be7e41c1'::uuid;

-- Query #6816 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5e32301-6805-b431-f6c1-8133be7e41c1'::uuid, 'Imdb', 'tt1256443')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6817 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5e32301-6805-b431-f6c1-8133be7e41c1'::uuid, 'Tmdb', 200127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6818 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5e32301-6805-b431-f6c1-8133be7e41c1'::uuid, 'TmdbCollection', 200127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5e32301-6805-b431-f6c1-8133be7e41c1'::uuid, 'trakt', 211241)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5e32301-6805-b431-f6c1-8133be7e41c1'::uuid, 'Tvdb', 431627)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5e32301-6805-b431-f6c1-8133be7e41c1'::uuid, 'TvMaze', 72954)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5e32301-6805-b431-f6c1-8133be7e41c1'::uuid, 'TvRage', 769825)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6823 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c5e32301-6805-b431-f6c1-8133be7e41c1'::uuid;

-- Query #6824 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c5e32301-6805-b431-f6c1-8133be7e41c1'::uuid;

-- Query #6825 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c5e32301-6805-b431-f6c1-8133be7e41c1'::uuid]);

-- Query #6826 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c5e32301-6805-b431-f6c1-8133be7e41c1'::uuid;

-- Query #6827 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6828 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b41c7c0-1f36-f531-143f-ed70e7353145'::uuid;

-- Query #6829 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b41c7c0-1f36-f531-143f-ed70e7353145'::uuid]);

-- Query #6830 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5b41c7c0-1f36-f531-143f-ed70e7353145'::uuid;

-- Query #6831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b41c7c0-1f36-f531-143f-ed70e7353145'::uuid, 'Imdb', 'tt1449612')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b41c7c0-1f36-f531-143f-ed70e7353145'::uuid, 'Tmdb', 62035)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b41c7c0-1f36-f531-143f-ed70e7353145'::uuid, 'TvMaze', 35212)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b41c7c0-1f36-f531-143f-ed70e7353145'::uuid, 'Tvdb', 1007571)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b41c7c0-1f36-f531-143f-ed70e7353145'::uuid, 'TvRage', 1064822496)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6836 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b41c7c0-1f36-f531-143f-ed70e7353145'::uuid, 'trakt', 67833)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b41c7c0-1f36-f531-143f-ed70e7353145'::uuid, 'TmdbCollection', 62035)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6838 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b41c7c0-1f36-f531-143f-ed70e7353145'::uuid;

-- Query #6839 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5b41c7c0-1f36-f531-143f-ed70e7353145'::uuid;

-- Query #6840 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5b41c7c0-1f36-f531-143f-ed70e7353145'::uuid]);

-- Query #6841 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5b41c7c0-1f36-f531-143f-ed70e7353145'::uuid;

-- Query #6842 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2a7e3c97-9093-a61d-b9ad-fd6030fed6de'::uuid;

-- Query #6843 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6844 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2a7e3c97-9093-a61d-b9ad-fd6030fed6de'::uuid]);

-- Query #6845 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2a7e3c97-9093-a61d-b9ad-fd6030fed6de'::uuid;

-- Query #6846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a7e3c97-9093-a61d-b9ad-fd6030fed6de'::uuid, 'Imdb', 'tt1256450')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6847 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a7e3c97-9093-a61d-b9ad-fd6030fed6de'::uuid, 'Tmdb', 200132)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6848 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a7e3c97-9093-a61d-b9ad-fd6030fed6de'::uuid, 'TmdbCollection', 200132)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6849 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a7e3c97-9093-a61d-b9ad-fd6030fed6de'::uuid, 'trakt', 211247)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a7e3c97-9093-a61d-b9ad-fd6030fed6de'::uuid, 'Tvdb', 462081)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a7e3c97-9093-a61d-b9ad-fd6030fed6de'::uuid, 'TvMaze', 72960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a7e3c97-9093-a61d-b9ad-fd6030fed6de'::uuid, 'TvRage', 784960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6853 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2a7e3c97-9093-a61d-b9ad-fd6030fed6de'::uuid;

-- Query #6854 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2a7e3c97-9093-a61d-b9ad-fd6030fed6de'::uuid;

-- Query #6855 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2a7e3c97-9093-a61d-b9ad-fd6030fed6de'::uuid]);

-- Query #6856 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '61209bf2-1612-71d5-249a-dd793508bbba'::uuid;

-- Query #6857 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2a7e3c97-9093-a61d-b9ad-fd6030fed6de'::uuid;

-- Query #6858 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6859 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['61209bf2-1612-71d5-249a-dd793508bbba'::uuid]);

-- Query #6860 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '61209bf2-1612-71d5-249a-dd793508bbba'::uuid;

-- Query #6861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61209bf2-1612-71d5-249a-dd793508bbba'::uuid, 'Imdb', 'tt1484415')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6862 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61209bf2-1612-71d5-249a-dd793508bbba'::uuid, 'Tmdb', 62036)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61209bf2-1612-71d5-249a-dd793508bbba'::uuid, 'TvMaze', 35213)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6864 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61209bf2-1612-71d5-249a-dd793508bbba'::uuid, 'Tvdb', 1007581)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61209bf2-1612-71d5-249a-dd793508bbba'::uuid, 'TvRage', 1064822497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61209bf2-1612-71d5-249a-dd793508bbba'::uuid, 'trakt', 67834)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61209bf2-1612-71d5-249a-dd793508bbba'::uuid, 'TmdbCollection', 62036)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6868 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '61209bf2-1612-71d5-249a-dd793508bbba'::uuid;

-- Query #6869 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '61209bf2-1612-71d5-249a-dd793508bbba'::uuid;

-- Query #6870 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['61209bf2-1612-71d5-249a-dd793508bbba'::uuid]);

-- Query #6871 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '61209bf2-1612-71d5-249a-dd793508bbba'::uuid;

-- Query #6872 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6873 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c497756d-8911-5718-5b78-d01343b7797b'::uuid;

-- Query #6874 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '646036f2-6e18-cc3b-0d4d-068673f22310'::uuid;

-- Query #6875 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c497756d-8911-5718-5b78-d01343b7797b'::uuid]);

-- Query #6876 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c497756d-8911-5718-5b78-d01343b7797b'::uuid;

-- Query #6877 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c497756d-8911-5718-5b78-d01343b7797b'::uuid, 'Imdb', 'tt1256448')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c497756d-8911-5718-5b78-d01343b7797b'::uuid, 'Tmdb', 200130)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c497756d-8911-5718-5b78-d01343b7797b'::uuid, 'TmdbCollection', 200130)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c497756d-8911-5718-5b78-d01343b7797b'::uuid, 'trakt', 211246)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6881 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['646036f2-6e18-cc3b-0d4d-068673f22310'::uuid]);

-- Query #6882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c497756d-8911-5718-5b78-d01343b7797b'::uuid, 'Tvdb', 462071)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6883 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '646036f2-6e18-cc3b-0d4d-068673f22310'::uuid;

-- Query #6884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c497756d-8911-5718-5b78-d01343b7797b'::uuid, 'TvMaze', 72959)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('646036f2-6e18-cc3b-0d4d-068673f22310'::uuid, 'Imdb', 'tt1439792')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c497756d-8911-5718-5b78-d01343b7797b'::uuid, 'TvRage', 782275)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('646036f2-6e18-cc3b-0d4d-068673f22310'::uuid, 'Tmdb', 62034)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6888 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c497756d-8911-5718-5b78-d01343b7797b'::uuid;

-- Query #6889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('646036f2-6e18-cc3b-0d4d-068673f22310'::uuid, 'TvMaze', 35211)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6890 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c497756d-8911-5718-5b78-d01343b7797b'::uuid;

-- Query #6891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('646036f2-6e18-cc3b-0d4d-068673f22310'::uuid, 'Tvdb', 982661)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('646036f2-6e18-cc3b-0d4d-068673f22310'::uuid, 'TvRage', 1064822495)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('646036f2-6e18-cc3b-0d4d-068673f22310'::uuid, 'trakt', 67832)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('646036f2-6e18-cc3b-0d4d-068673f22310'::uuid, 'TmdbCollection', 62034)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6895 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '646036f2-6e18-cc3b-0d4d-068673f22310'::uuid;

-- Query #6896 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '646036f2-6e18-cc3b-0d4d-068673f22310'::uuid;

-- Query #6897 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c497756d-8911-5718-5b78-d01343b7797b'::uuid]);

-- Query #6898 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c497756d-8911-5718-5b78-d01343b7797b'::uuid;

-- Query #6899 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6900 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['646036f2-6e18-cc3b-0d4d-068673f22310'::uuid]);

-- Query #6901 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '646036f2-6e18-cc3b-0d4d-068673f22310'::uuid;

-- Query #6902 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6903 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6723085a-556f-8617-fc3b-c1ed80db8f69'::uuid;

-- Query #6904 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6723085a-556f-8617-fc3b-c1ed80db8f69'::uuid]);

-- Query #6905 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6723085a-556f-8617-fc3b-c1ed80db8f69'::uuid;

-- Query #6906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6723085a-556f-8617-fc3b-c1ed80db8f69'::uuid, 'Imdb', 'tt1472778')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6723085a-556f-8617-fc3b-c1ed80db8f69'::uuid, 'Tmdb', 62040)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6723085a-556f-8617-fc3b-c1ed80db8f69'::uuid, 'TvMaze', 35217)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6723085a-556f-8617-fc3b-c1ed80db8f69'::uuid, 'Tvdb', 1007661)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6723085a-556f-8617-fc3b-c1ed80db8f69'::uuid, 'TvRage', 1064822501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6723085a-556f-8617-fc3b-c1ed80db8f69'::uuid, 'trakt', 67838)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6723085a-556f-8617-fc3b-c1ed80db8f69'::uuid, 'TmdbCollection', 62040)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6913 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8451e2a-9e21-3c15-7ae1-fe0b6dce036f'::uuid;

-- Query #6914 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6723085a-556f-8617-fc3b-c1ed80db8f69'::uuid;

-- Query #6915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6723085a-556f-8617-fc3b-c1ed80db8f69'::uuid;

-- Query #6916 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6723085a-556f-8617-fc3b-c1ed80db8f69'::uuid]);

-- Query #6917 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6723085a-556f-8617-fc3b-c1ed80db8f69'::uuid;

-- Query #6918 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6919 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d8451e2a-9e21-3c15-7ae1-fe0b6dce036f'::uuid]);

-- Query #6920 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd8451e2a-9e21-3c15-7ae1-fe0b6dce036f'::uuid;

-- Query #6921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8451e2a-9e21-3c15-7ae1-fe0b6dce036f'::uuid, 'Imdb', 'tt1256451')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8451e2a-9e21-3c15-7ae1-fe0b6dce036f'::uuid, 'Tmdb', 200133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8451e2a-9e21-3c15-7ae1-fe0b6dce036f'::uuid, 'TmdbCollection', 200133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8451e2a-9e21-3c15-7ae1-fe0b6dce036f'::uuid, 'trakt', 211248)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8451e2a-9e21-3c15-7ae1-fe0b6dce036f'::uuid, 'Tvdb', 462091)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8451e2a-9e21-3c15-7ae1-fe0b6dce036f'::uuid, 'TvMaze', 72961)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8451e2a-9e21-3c15-7ae1-fe0b6dce036f'::uuid, 'TvRage', 789010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6928 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8451e2a-9e21-3c15-7ae1-fe0b6dce036f'::uuid;

-- Query #6929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd8451e2a-9e21-3c15-7ae1-fe0b6dce036f'::uuid;

-- Query #6930 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d8451e2a-9e21-3c15-7ae1-fe0b6dce036f'::uuid]);

-- Query #6931 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd8451e2a-9e21-3c15-7ae1-fe0b6dce036f'::uuid;

-- Query #6932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6933 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b10f064f-dbc2-62c0-e41c-11f7ebc18279'::uuid;

-- Query #6934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b10f064f-dbc2-62c0-e41c-11f7ebc18279'::uuid]);

-- Query #6935 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b10f064f-dbc2-62c0-e41c-11f7ebc18279'::uuid;

-- Query #6936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b10f064f-dbc2-62c0-e41c-11f7ebc18279'::uuid, 'Imdb', 'tt1484414')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b10f064f-dbc2-62c0-e41c-11f7ebc18279'::uuid, 'Tmdb', 62044)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b10f064f-dbc2-62c0-e41c-11f7ebc18279'::uuid, 'TvMaze', 35223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b10f064f-dbc2-62c0-e41c-11f7ebc18279'::uuid, 'Tvdb', 1007721)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b10f064f-dbc2-62c0-e41c-11f7ebc18279'::uuid, 'TvRage', 1064822507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6941 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b10f064f-dbc2-62c0-e41c-11f7ebc18279'::uuid, 'trakt', 67844)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6942 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b10f064f-dbc2-62c0-e41c-11f7ebc18279'::uuid, 'TmdbCollection', 62044)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6943 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b10f064f-dbc2-62c0-e41c-11f7ebc18279'::uuid;

-- Query #6944 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b10f064f-dbc2-62c0-e41c-11f7ebc18279'::uuid;

-- Query #6945 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7ef55084-c6c6-c133-e161-83b2401af128'::uuid;

-- Query #6946 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b10f064f-dbc2-62c0-e41c-11f7ebc18279'::uuid]);

-- Query #6947 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b10f064f-dbc2-62c0-e41c-11f7ebc18279'::uuid;

-- Query #6948 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6949 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ef55084-c6c6-c133-e161-83b2401af128'::uuid]);

-- Query #6950 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7ef55084-c6c6-c133-e161-83b2401af128'::uuid;

-- Query #6951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ef55084-c6c6-c133-e161-83b2401af128'::uuid, 'Imdb', 'tt1256454')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ef55084-c6c6-c133-e161-83b2401af128'::uuid, 'Tmdb', 200111)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ef55084-c6c6-c133-e161-83b2401af128'::uuid, 'TmdbCollection', 200111)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6954 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ef55084-c6c6-c133-e161-83b2401af128'::uuid, 'trakt', 211230)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6955 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ef55084-c6c6-c133-e161-83b2401af128'::uuid, 'Tvdb', 389703)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6956 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ef55084-c6c6-c133-e161-83b2401af128'::uuid, 'TvMaze', 72943)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ef55084-c6c6-c133-e161-83b2401af128'::uuid, 'TvRage', 685508)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6958 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7ef55084-c6c6-c133-e161-83b2401af128'::uuid;

-- Query #6959 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7ef55084-c6c6-c133-e161-83b2401af128'::uuid;

-- Query #6960 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7ef55084-c6c6-c133-e161-83b2401af128'::uuid]);

-- Query #6961 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7ef55084-c6c6-c133-e161-83b2401af128'::uuid;

-- Query #6962 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6963 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2cf8133c-d637-90cb-5882-aab2ecc722b1'::uuid;

-- Query #6964 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eae3f3e9-c267-53ff-0112-015a3cd69616'::uuid;

-- Query #6965 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2cf8133c-d637-90cb-5882-aab2ecc722b1'::uuid]);

-- Query #6966 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2cf8133c-d637-90cb-5882-aab2ecc722b1'::uuid;

-- Query #6967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cf8133c-d637-90cb-5882-aab2ecc722b1'::uuid, 'Imdb', 'tt1484662')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cf8133c-d637-90cb-5882-aab2ecc722b1'::uuid, 'Tmdb', 62041)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6969 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cf8133c-d637-90cb-5882-aab2ecc722b1'::uuid, 'TvMaze', 35218)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6970 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cf8133c-d637-90cb-5882-aab2ecc722b1'::uuid, 'Tvdb', 1007671)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cf8133c-d637-90cb-5882-aab2ecc722b1'::uuid, 'TvRage', 1064822502)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cf8133c-d637-90cb-5882-aab2ecc722b1'::uuid, 'trakt', 67839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6973 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cf8133c-d637-90cb-5882-aab2ecc722b1'::uuid, 'TmdbCollection', 62041)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6974 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2cf8133c-d637-90cb-5882-aab2ecc722b1'::uuid;

-- Query #6975 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2cf8133c-d637-90cb-5882-aab2ecc722b1'::uuid;

-- Query #6976 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eae3f3e9-c267-53ff-0112-015a3cd69616'::uuid]);

-- Query #6977 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eae3f3e9-c267-53ff-0112-015a3cd69616'::uuid;

-- Query #6978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eae3f3e9-c267-53ff-0112-015a3cd69616'::uuid, 'Imdb', 'tt1256456')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eae3f3e9-c267-53ff-0112-015a3cd69616'::uuid, 'Tmdb', 200114)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eae3f3e9-c267-53ff-0112-015a3cd69616'::uuid, 'TmdbCollection', 200114)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eae3f3e9-c267-53ff-0112-015a3cd69616'::uuid, 'trakt', 211233)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6982 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2cf8133c-d637-90cb-5882-aab2ecc722b1'::uuid]);

-- Query #6983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eae3f3e9-c267-53ff-0112-015a3cd69616'::uuid, 'Tvdb', 404986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6984 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eae3f3e9-c267-53ff-0112-015a3cd69616'::uuid, 'TvMaze', 72946)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6985 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eae3f3e9-c267-53ff-0112-015a3cd69616'::uuid, 'TvRage', 736180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6986 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2cf8133c-d637-90cb-5882-aab2ecc722b1'::uuid;

-- Query #6987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eae3f3e9-c267-53ff-0112-015a3cd69616'::uuid;

-- Query #6988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6989 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eae3f3e9-c267-53ff-0112-015a3cd69616'::uuid;

-- Query #6990 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eae3f3e9-c267-53ff-0112-015a3cd69616'::uuid]);

-- Query #6991 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eae3f3e9-c267-53ff-0112-015a3cd69616'::uuid;

-- Query #6992 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #6993 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78d2da44-8b91-af13-84ba-d2ce64a82134'::uuid;

-- Query #6994 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78d2da44-8b91-af13-84ba-d2ce64a82134'::uuid]);

-- Query #6995 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '78d2da44-8b91-af13-84ba-d2ce64a82134'::uuid;

-- Query #6996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78d2da44-8b91-af13-84ba-d2ce64a82134'::uuid, 'Imdb', 'tt1484663')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78d2da44-8b91-af13-84ba-d2ce64a82134'::uuid, 'Tmdb', 62042)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6998 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78d2da44-8b91-af13-84ba-d2ce64a82134'::uuid, 'TvMaze', 35219)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #6999 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78d2da44-8b91-af13-84ba-d2ce64a82134'::uuid, 'Tvdb', 1007681)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7000 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78d2da44-8b91-af13-84ba-d2ce64a82134'::uuid, 'TvRage', 1064822503)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78d2da44-8b91-af13-84ba-d2ce64a82134'::uuid, 'trakt', 67840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78d2da44-8b91-af13-84ba-d2ce64a82134'::uuid, 'TmdbCollection', 62042)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7003 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78d2da44-8b91-af13-84ba-d2ce64a82134'::uuid;

-- Query #7004 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '78d2da44-8b91-af13-84ba-d2ce64a82134'::uuid;

-- Query #7005 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['78d2da44-8b91-af13-84ba-d2ce64a82134'::uuid]);

-- Query #7006 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '78d2da44-8b91-af13-84ba-d2ce64a82134'::uuid;

-- Query #7007 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7008 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3fdac062-6db2-f4ab-99b3-65719987d16a'::uuid;

-- Query #7009 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3fdac062-6db2-f4ab-99b3-65719987d16a'::uuid]);

-- Query #7010 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3fdac062-6db2-f4ab-99b3-65719987d16a'::uuid;

-- Query #7011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3fdac062-6db2-f4ab-99b3-65719987d16a'::uuid, 'Imdb', 'tt1256459')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3fdac062-6db2-f4ab-99b3-65719987d16a'::uuid, 'Tmdb', 200119)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3fdac062-6db2-f4ab-99b3-65719987d16a'::uuid, 'TmdbCollection', 200119)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3fdac062-6db2-f4ab-99b3-65719987d16a'::uuid, 'trakt', 211236)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3fdac062-6db2-f4ab-99b3-65719987d16a'::uuid, 'Tvdb', 412156)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3fdac062-6db2-f4ab-99b3-65719987d16a'::uuid, 'TvMaze', 72949)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3fdac062-6db2-f4ab-99b3-65719987d16a'::uuid, 'TvRage', 736183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7018 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3fdac062-6db2-f4ab-99b3-65719987d16a'::uuid;

-- Query #7019 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3fdac062-6db2-f4ab-99b3-65719987d16a'::uuid;

-- Query #7020 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3fdac062-6db2-f4ab-99b3-65719987d16a'::uuid]);

-- Query #7021 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3fdac062-6db2-f4ab-99b3-65719987d16a'::uuid;

-- Query #7022 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7023 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b862f30b-604e-c5b3-68de-3ef44a724abe'::uuid;

-- Query #7024 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b862f30b-604e-c5b3-68de-3ef44a724abe'::uuid]);

-- Query #7025 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b862f30b-604e-c5b3-68de-3ef44a724abe'::uuid;

-- Query #7026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b862f30b-604e-c5b3-68de-3ef44a724abe'::uuid, 'Imdb', 'tt1615668')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b862f30b-604e-c5b3-68de-3ef44a724abe'::uuid, 'Tmdb', 62058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b862f30b-604e-c5b3-68de-3ef44a724abe'::uuid, 'TvMaze', 35232)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b862f30b-604e-c5b3-68de-3ef44a724abe'::uuid, 'Tvdb', 2686361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b862f30b-604e-c5b3-68de-3ef44a724abe'::uuid, 'TvRage', 1064974656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7031 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b862f30b-604e-c5b3-68de-3ef44a724abe'::uuid, 'trakt', 67853)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b862f30b-604e-c5b3-68de-3ef44a724abe'::uuid, 'TmdbCollection', 62058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7033 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b862f30b-604e-c5b3-68de-3ef44a724abe'::uuid;

-- Query #7034 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b862f30b-604e-c5b3-68de-3ef44a724abe'::uuid;

-- Query #7035 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dbbe6c18-0845-4bb3-13a8-df1cf3cdf0c1'::uuid;

-- Query #7036 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b862f30b-604e-c5b3-68de-3ef44a724abe'::uuid]);

-- Query #7037 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b862f30b-604e-c5b3-68de-3ef44a724abe'::uuid;

-- Query #7038 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7039 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dbbe6c18-0845-4bb3-13a8-df1cf3cdf0c1'::uuid]);

-- Query #7040 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dbbe6c18-0845-4bb3-13a8-df1cf3cdf0c1'::uuid;

-- Query #7041 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbbe6c18-0845-4bb3-13a8-df1cf3cdf0c1'::uuid, 'Imdb', 'tt1256457')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7042 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbbe6c18-0845-4bb3-13a8-df1cf3cdf0c1'::uuid, 'Tmdb', 200113)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7043 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbbe6c18-0845-4bb3-13a8-df1cf3cdf0c1'::uuid, 'TmdbCollection', 200113)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7044 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbbe6c18-0845-4bb3-13a8-df1cf3cdf0c1'::uuid, 'trakt', 211232)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbbe6c18-0845-4bb3-13a8-df1cf3cdf0c1'::uuid, 'Tvdb', 401760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbbe6c18-0845-4bb3-13a8-df1cf3cdf0c1'::uuid, 'TvMaze', 72945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbbe6c18-0845-4bb3-13a8-df1cf3cdf0c1'::uuid, 'TvRage', 731552)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7048 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dbbe6c18-0845-4bb3-13a8-df1cf3cdf0c1'::uuid;

-- Query #7049 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dbbe6c18-0845-4bb3-13a8-df1cf3cdf0c1'::uuid;

-- Query #7050 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dbbe6c18-0845-4bb3-13a8-df1cf3cdf0c1'::uuid]);

-- Query #7051 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dbbe6c18-0845-4bb3-13a8-df1cf3cdf0c1'::uuid;

-- Query #7052 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7053 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13d26d13-2687-c1af-796b-606621e678af'::uuid;

-- Query #7054 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13d26d13-2687-c1af-796b-606621e678af'::uuid]);

-- Query #7055 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e6674ca-61db-7db4-67b2-dbebff872c29'::uuid;

-- Query #7056 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '13d26d13-2687-c1af-796b-606621e678af'::uuid;

-- Query #7057 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13d26d13-2687-c1af-796b-606621e678af'::uuid, 'Imdb', 'tt1256445')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13d26d13-2687-c1af-796b-606621e678af'::uuid, 'Tmdb', 200128)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13d26d13-2687-c1af-796b-606621e678af'::uuid, 'TmdbCollection', 200128)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13d26d13-2687-c1af-796b-606621e678af'::uuid, 'trakt', 211243)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13d26d13-2687-c1af-796b-606621e678af'::uuid, 'Tvdb', 431629)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13d26d13-2687-c1af-796b-606621e678af'::uuid, 'TvMaze', 72956)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13d26d13-2687-c1af-796b-606621e678af'::uuid, 'TvRage', 774913)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7064 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13d26d13-2687-c1af-796b-606621e678af'::uuid;

-- Query #7065 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '13d26d13-2687-c1af-796b-606621e678af'::uuid;

-- Query #7066 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e6674ca-61db-7db4-67b2-dbebff872c29'::uuid]);

-- Query #7067 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8e6674ca-61db-7db4-67b2-dbebff872c29'::uuid;

-- Query #7068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e6674ca-61db-7db4-67b2-dbebff872c29'::uuid, 'Imdb', 'tt1615659')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e6674ca-61db-7db4-67b2-dbebff872c29'::uuid, 'Tmdb', 62055)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7070 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['13d26d13-2687-c1af-796b-606621e678af'::uuid]);

-- Query #7071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e6674ca-61db-7db4-67b2-dbebff872c29'::uuid, 'TvMaze', 35235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e6674ca-61db-7db4-67b2-dbebff872c29'::uuid, 'Tvdb', 2922451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7073 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '13d26d13-2687-c1af-796b-606621e678af'::uuid;

-- Query #7074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e6674ca-61db-7db4-67b2-dbebff872c29'::uuid, 'TvRage', 1064981236)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e6674ca-61db-7db4-67b2-dbebff872c29'::uuid, 'trakt', 67856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7076 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7077 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e6674ca-61db-7db4-67b2-dbebff872c29'::uuid, 'TmdbCollection', 62055)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7078 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e6674ca-61db-7db4-67b2-dbebff872c29'::uuid;

-- Query #7079 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8e6674ca-61db-7db4-67b2-dbebff872c29'::uuid;

-- Query #7080 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8e6674ca-61db-7db4-67b2-dbebff872c29'::uuid]);

-- Query #7081 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8e6674ca-61db-7db4-67b2-dbebff872c29'::uuid;

-- Query #7082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '564f8ede-c244-8af1-2c32-1e59e9cbd911'::uuid;

-- Query #7084 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['564f8ede-c244-8af1-2c32-1e59e9cbd911'::uuid]);

-- Query #7085 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '564f8ede-c244-8af1-2c32-1e59e9cbd911'::uuid;

-- Query #7086 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('564f8ede-c244-8af1-2c32-1e59e9cbd911'::uuid, 'Imdb', 'tt1421356')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7087 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a43cdf3f-ec8d-8795-0649-35aea23faf4e'::uuid;

-- Query #7088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('564f8ede-c244-8af1-2c32-1e59e9cbd911'::uuid, 'Tmdb', 200136)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('564f8ede-c244-8af1-2c32-1e59e9cbd911'::uuid, 'TmdbCollection', 200136)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('564f8ede-c244-8af1-2c32-1e59e9cbd911'::uuid, 'trakt', 211250)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('564f8ede-c244-8af1-2c32-1e59e9cbd911'::uuid, 'Tvdb', 619461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('564f8ede-c244-8af1-2c32-1e59e9cbd911'::uuid, 'TvMaze', 72963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('564f8ede-c244-8af1-2c32-1e59e9cbd911'::uuid, 'TvRage', 1064803453)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7094 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '564f8ede-c244-8af1-2c32-1e59e9cbd911'::uuid;

-- Query #7095 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '564f8ede-c244-8af1-2c32-1e59e9cbd911'::uuid;

-- Query #7096 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['564f8ede-c244-8af1-2c32-1e59e9cbd911'::uuid]);

-- Query #7097 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '564f8ede-c244-8af1-2c32-1e59e9cbd911'::uuid;

-- Query #7098 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a43cdf3f-ec8d-8795-0649-35aea23faf4e'::uuid]);

-- Query #7099 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7100 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a43cdf3f-ec8d-8795-0649-35aea23faf4e'::uuid;

-- Query #7101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a43cdf3f-ec8d-8795-0649-35aea23faf4e'::uuid, 'Imdb', 'tt1615658')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a43cdf3f-ec8d-8795-0649-35aea23faf4e'::uuid, 'Tmdb', 62056)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a43cdf3f-ec8d-8795-0649-35aea23faf4e'::uuid, 'TvMaze', 35234)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a43cdf3f-ec8d-8795-0649-35aea23faf4e'::uuid, 'Tvdb', 2879831)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a43cdf3f-ec8d-8795-0649-35aea23faf4e'::uuid, 'TvRage', 1064981235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a43cdf3f-ec8d-8795-0649-35aea23faf4e'::uuid, 'trakt', 67855)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a43cdf3f-ec8d-8795-0649-35aea23faf4e'::uuid, 'TmdbCollection', 62056)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7108 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a43cdf3f-ec8d-8795-0649-35aea23faf4e'::uuid;

-- Query #7109 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a43cdf3f-ec8d-8795-0649-35aea23faf4e'::uuid;

-- Query #7110 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a43cdf3f-ec8d-8795-0649-35aea23faf4e'::uuid]);

-- Query #7111 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a43cdf3f-ec8d-8795-0649-35aea23faf4e'::uuid;

-- Query #7112 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7113 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e92b8ec-5242-2f7b-a434-65cd7d11fd37'::uuid;

-- Query #7114 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0e92b8ec-5242-2f7b-a434-65cd7d11fd37'::uuid]);

-- Query #7115 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0e92b8ec-5242-2f7b-a434-65cd7d11fd37'::uuid;

-- Query #7116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e92b8ec-5242-2f7b-a434-65cd7d11fd37'::uuid, 'Imdb', 'tt1309552')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e92b8ec-5242-2f7b-a434-65cd7d11fd37'::uuid, 'Tmdb', 200112)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e92b8ec-5242-2f7b-a434-65cd7d11fd37'::uuid, 'TmdbCollection', 200112)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e92b8ec-5242-2f7b-a434-65cd7d11fd37'::uuid, 'trakt', 211231)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e92b8ec-5242-2f7b-a434-65cd7d11fd37'::uuid, 'Tvdb', 400139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e92b8ec-5242-2f7b-a434-65cd7d11fd37'::uuid, 'TvMaze', 72944)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e92b8ec-5242-2f7b-a434-65cd7d11fd37'::uuid, 'TvRage', 717384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7123 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e92b8ec-5242-2f7b-a434-65cd7d11fd37'::uuid;

-- Query #7124 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0e92b8ec-5242-2f7b-a434-65cd7d11fd37'::uuid;

-- Query #7125 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0e92b8ec-5242-2f7b-a434-65cd7d11fd37'::uuid]);

-- Query #7126 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0e92b8ec-5242-2f7b-a434-65cd7d11fd37'::uuid;

-- Query #7127 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7128 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9be6c635-9d44-3b9e-bf08-ccee3a8ecd1c'::uuid;

-- Query #7129 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9be6c635-9d44-3b9e-bf08-ccee3a8ecd1c'::uuid]);

-- Query #7130 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9be6c635-9d44-3b9e-bf08-ccee3a8ecd1c'::uuid;

-- Query #7131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9be6c635-9d44-3b9e-bf08-ccee3a8ecd1c'::uuid, 'Imdb', 'tt1615661')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9be6c635-9d44-3b9e-bf08-ccee3a8ecd1c'::uuid, 'Tmdb', 62049)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9be6c635-9d44-3b9e-bf08-ccee3a8ecd1c'::uuid, 'TvMaze', 35225)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9be6c635-9d44-3b9e-bf08-ccee3a8ecd1c'::uuid, 'Tvdb', 2295351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9be6c635-9d44-3b9e-bf08-ccee3a8ecd1c'::uuid, 'TvRage', 1064927290)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9be6c635-9d44-3b9e-bf08-ccee3a8ecd1c'::uuid, 'trakt', 67846)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9be6c635-9d44-3b9e-bf08-ccee3a8ecd1c'::uuid, 'TmdbCollection', 62049)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7138 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9be6c635-9d44-3b9e-bf08-ccee3a8ecd1c'::uuid;

-- Query #7139 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9be6c635-9d44-3b9e-bf08-ccee3a8ecd1c'::uuid;

-- Query #7140 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9be6c635-9d44-3b9e-bf08-ccee3a8ecd1c'::uuid]);

-- Query #7141 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9be6c635-9d44-3b9e-bf08-ccee3a8ecd1c'::uuid;

-- Query #7142 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid;

-- Query #7143 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7144 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid]);

-- Query #7145 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid;

-- Query #7146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid, 'Imdb', 'tt1421011')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid, 'Tmdb', 200139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid, 'TmdbCollection', 200139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid, 'trakt', 211251)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid, 'Tvdb', 619471)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid, 'TvMaze', 72964)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid, 'TvRage', 1064803718)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7153 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid;

-- Query #7154 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid;

-- Query #7155 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid]);

-- Query #7156 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid;

-- Query #7157 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7158 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3c823659-e3b8-8232-2efb-dcadc75af5ec'::uuid;

-- Query #7159 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3c823659-e3b8-8232-2efb-dcadc75af5ec'::uuid]);

-- Query #7160 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3c823659-e3b8-8232-2efb-dcadc75af5ec'::uuid;

-- Query #7161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c823659-e3b8-8232-2efb-dcadc75af5ec'::uuid, 'Imdb', 'tt1256446')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c823659-e3b8-8232-2efb-dcadc75af5ec'::uuid, 'Tmdb', 200142)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c823659-e3b8-8232-2efb-dcadc75af5ec'::uuid, 'TmdbCollection', 200142)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c823659-e3b8-8232-2efb-dcadc75af5ec'::uuid, 'trakt', 211244)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c823659-e3b8-8232-2efb-dcadc75af5ec'::uuid, 'Tvdb', 437537)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c823659-e3b8-8232-2efb-dcadc75af5ec'::uuid, 'TvMaze', 72957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7167 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3c823659-e3b8-8232-2efb-dcadc75af5ec'::uuid;

-- Query #7168 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3c823659-e3b8-8232-2efb-dcadc75af5ec'::uuid;

-- Query #7169 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3c823659-e3b8-8232-2efb-dcadc75af5ec'::uuid]);

-- Query #7170 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3c823659-e3b8-8232-2efb-dcadc75af5ec'::uuid;

-- Query #7171 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da88af2d-e7cc-fcf7-4dbf-61a38b99d004'::uuid;

-- Query #7173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da88af2d-e7cc-fcf7-4dbf-61a38b99d004'::uuid]);

-- Query #7174 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'da88af2d-e7cc-fcf7-4dbf-61a38b99d004'::uuid;

-- Query #7175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da88af2d-e7cc-fcf7-4dbf-61a38b99d004'::uuid, 'Imdb', 'tt1615664')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da88af2d-e7cc-fcf7-4dbf-61a38b99d004'::uuid, 'Tmdb', 62050)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da88af2d-e7cc-fcf7-4dbf-61a38b99d004'::uuid, 'TvMaze', 35228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da88af2d-e7cc-fcf7-4dbf-61a38b99d004'::uuid, 'Tvdb', 2295381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da88af2d-e7cc-fcf7-4dbf-61a38b99d004'::uuid, 'TvRage', 1064927293)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da88af2d-e7cc-fcf7-4dbf-61a38b99d004'::uuid, 'trakt', 67849)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da88af2d-e7cc-fcf7-4dbf-61a38b99d004'::uuid, 'TmdbCollection', 62050)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7182 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da88af2d-e7cc-fcf7-4dbf-61a38b99d004'::uuid;

-- Query #7183 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'da88af2d-e7cc-fcf7-4dbf-61a38b99d004'::uuid;

-- Query #7184 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce9b3c16-ab08-7b7e-e9e7-e8d6d4653f9d'::uuid;

-- Query #7185 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['da88af2d-e7cc-fcf7-4dbf-61a38b99d004'::uuid]);

-- Query #7186 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'da88af2d-e7cc-fcf7-4dbf-61a38b99d004'::uuid;

-- Query #7187 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7188 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce9b3c16-ab08-7b7e-e9e7-e8d6d4653f9d'::uuid]);

-- Query #7189 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ce9b3c16-ab08-7b7e-e9e7-e8d6d4653f9d'::uuid;

-- Query #7190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce9b3c16-ab08-7b7e-e9e7-e8d6d4653f9d'::uuid, 'Imdb', 'tt1256440')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce9b3c16-ab08-7b7e-e9e7-e8d6d4653f9d'::uuid, 'Tmdb', 200122)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce9b3c16-ab08-7b7e-e9e7-e8d6d4653f9d'::uuid, 'TmdbCollection', 200122)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce9b3c16-ab08-7b7e-e9e7-e8d6d4653f9d'::uuid, 'trakt', 211238)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce9b3c16-ab08-7b7e-e9e7-e8d6d4653f9d'::uuid, 'Tvdb', 421646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce9b3c16-ab08-7b7e-e9e7-e8d6d4653f9d'::uuid, 'TvMaze', 72951)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce9b3c16-ab08-7b7e-e9e7-e8d6d4653f9d'::uuid, 'TvRage', 752810)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7197 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce9b3c16-ab08-7b7e-e9e7-e8d6d4653f9d'::uuid;

-- Query #7198 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ce9b3c16-ab08-7b7e-e9e7-e8d6d4653f9d'::uuid;

-- Query #7199 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ce9b3c16-ab08-7b7e-e9e7-e8d6d4653f9d'::uuid]);

-- Query #7200 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ce9b3c16-ab08-7b7e-e9e7-e8d6d4653f9d'::uuid;

-- Query #7201 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29121822-0757-f52b-3861-fff79d46089c'::uuid, 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7202 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bcde980b-28df-12d5-c3fb-60f291ef59ba'::uuid
ORDER BY b."SortName";

-- Query #7203 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9629e0a8-06ff-5c63-77c1-f4252e3fe5dd'::uuid
ORDER BY b."SortName";

-- Query #7204 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '65a89ac4-d1de-75ef-bfc4-f4ac992cd509'::uuid;

-- Query #7205 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f823bcc8-6852-7c23-6363-3a1bfcbdb684'::uuid
ORDER BY b."SortName";

-- Query #7206 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '294da160-4d73-2d42-0012-37b039905576'::uuid
ORDER BY b."SortName";

-- Query #7207 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65a89ac4-d1de-75ef-bfc4-f4ac992cd509'::uuid]);

-- Query #7208 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '65a89ac4-d1de-75ef-bfc4-f4ac992cd509'::uuid;

-- Query #7209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65a89ac4-d1de-75ef-bfc4-f4ac992cd509'::uuid, 'Imdb', 'tt1615662')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65a89ac4-d1de-75ef-bfc4-f4ac992cd509'::uuid, 'Tmdb', 62054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65a89ac4-d1de-75ef-bfc4-f4ac992cd509'::uuid, 'TvMaze', 35226)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65a89ac4-d1de-75ef-bfc4-f4ac992cd509'::uuid, 'Tvdb', 2295361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65a89ac4-d1de-75ef-bfc4-f4ac992cd509'::uuid, 'TvRage', 1064927291)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65a89ac4-d1de-75ef-bfc4-f4ac992cd509'::uuid, 'trakt', 67847)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65a89ac4-d1de-75ef-bfc4-f4ac992cd509'::uuid, 'TmdbCollection', 62054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7216 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '65a89ac4-d1de-75ef-bfc4-f4ac992cd509'::uuid;

-- Query #7217 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '65a89ac4-d1de-75ef-bfc4-f4ac992cd509'::uuid;

-- Query #7218 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b32ccd5a-a596-b193-a6f6-7f2f7d3fe74c'::uuid
ORDER BY b."SortName";

-- Query #7219 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['65a89ac4-d1de-75ef-bfc4-f4ac992cd509'::uuid]);

-- Query #7220 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '65a89ac4-d1de-75ef-bfc4-f4ac992cd509'::uuid;

-- Query #7221 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7222 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e92cedff-8e69-8e0e-14fd-ac74b06c4714'::uuid
ORDER BY b."SortName";

-- Query #7223 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6fce1c80-1cf4-d934-8407-9e4de9b5a9ff'::uuid
ORDER BY b."SortName";

-- Query #7224 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f6964c5d-ed96-e466-2484-ae7460445ed5'::uuid;

-- Query #7225 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6964c5d-ed96-e466-2484-ae7460445ed5'::uuid]);

-- Query #7226 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f6964c5d-ed96-e466-2484-ae7460445ed5'::uuid;

-- Query #7227 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '29121822-0757-f52b-3861-fff79d46089c'::uuid
ORDER BY b."SortName";

-- Query #7228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6964c5d-ed96-e466-2484-ae7460445ed5'::uuid, 'Imdb', 'tt1615657')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6964c5d-ed96-e466-2484-ae7460445ed5'::uuid, 'Tmdb', 62052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7230 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6964c5d-ed96-e466-2484-ae7460445ed5'::uuid, 'TvMaze', 35233)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7231 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6964c5d-ed96-e466-2484-ae7460445ed5'::uuid, 'Tvdb', 2686371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6964c5d-ed96-e466-2484-ae7460445ed5'::uuid, 'TvRage', 1064974657)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6964c5d-ed96-e466-2484-ae7460445ed5'::uuid, 'trakt', 67854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6964c5d-ed96-e466-2484-ae7460445ed5'::uuid, 'TmdbCollection', 62052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7235 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f6964c5d-ed96-e466-2484-ae7460445ed5'::uuid;

-- Query #7236 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f6964c5d-ed96-e466-2484-ae7460445ed5'::uuid;

-- Query #7237 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f6964c5d-ed96-e466-2484-ae7460445ed5'::uuid]);

-- Query #7238 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f6964c5d-ed96-e466-2484-ae7460445ed5'::uuid;

-- Query #7239 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7240 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'bcde980b28df12d5c3fb60f291ef59ba'
ORDER BY b."SortName", b."Name";

-- Query #7241 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid
ORDER BY b."SortName";

-- Query #7242 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b593321b-b1c6-73d8-f710-29a03f556348'::uuid;

-- Query #7243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid])
ORDER BY b."Id";

-- Query #7244 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid])
ORDER BY b."Id";

-- Query #7245 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid])
ORDER BY b."Id";

-- Query #7246 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid])
ORDER BY b."Id";

-- Query #7247 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid])
ORDER BY b."Id";

-- Query #7248 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid
ORDER BY b."SortName";

-- Query #7249 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b593321b-b1c6-73d8-f710-29a03f556348'::uuid]);

-- Query #7250 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b593321b-b1c6-73d8-f710-29a03f556348'::uuid;

-- Query #7251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b593321b-b1c6-73d8-f710-29a03f556348'::uuid, 'Imdb', 'tt1615656')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b593321b-b1c6-73d8-f710-29a03f556348'::uuid, 'Tmdb', 62048)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b593321b-b1c6-73d8-f710-29a03f556348'::uuid, 'TvMaze', 35224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b593321b-b1c6-73d8-f710-29a03f556348'::uuid, 'Tvdb', 2099901)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b593321b-b1c6-73d8-f710-29a03f556348'::uuid, 'TvRage', 1064920861)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b593321b-b1c6-73d8-f710-29a03f556348'::uuid, 'trakt', 67845)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7257 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b593321b-b1c6-73d8-f710-29a03f556348'::uuid, 'TmdbCollection', 62048)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b593321b-b1c6-73d8-f710-29a03f556348'::uuid;

-- Query #7259 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b593321b-b1c6-73d8-f710-29a03f556348'::uuid;

-- Query #7260 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b593321b-b1c6-73d8-f710-29a03f556348'::uuid]);

-- Query #7261 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b593321b-b1c6-73d8-f710-29a03f556348'::uuid;

-- Query #7262 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7263 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #7264 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6435d7a8-4daf-032a-7358-77abe87fc383'::uuid;

-- Query #7265 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6435d7a8-4daf-032a-7358-77abe87fc383'::uuid]);

-- Query #7266 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6435d7a8-4daf-032a-7358-77abe87fc383'::uuid;

-- Query #7267 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6435d7a8-4daf-032a-7358-77abe87fc383'::uuid, 'Imdb', 'tt1615663')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6435d7a8-4daf-032a-7358-77abe87fc383'::uuid, 'Tmdb', 62051)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6435d7a8-4daf-032a-7358-77abe87fc383'::uuid, 'TvMaze', 35227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6435d7a8-4daf-032a-7358-77abe87fc383'::uuid, 'Tvdb', 2295371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7271 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6435d7a8-4daf-032a-7358-77abe87fc383'::uuid, 'TvRage', 1064927292)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7272 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6435d7a8-4daf-032a-7358-77abe87fc383'::uuid, 'trakt', 67848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7273 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6435d7a8-4daf-032a-7358-77abe87fc383'::uuid, 'TmdbCollection', 62051)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7274 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6435d7a8-4daf-032a-7358-77abe87fc383'::uuid;

-- Query #7275 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6435d7a8-4daf-032a-7358-77abe87fc383'::uuid;

-- Query #7276 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6435d7a8-4daf-032a-7358-77abe87fc383'::uuid]);

-- Query #7277 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6435d7a8-4daf-032a-7358-77abe87fc383'::uuid;

-- Query #7278 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7279 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3d32a140-536b-f6ee-078a-f14864d996be'::uuid;

-- Query #7280 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d32a140-536b-f6ee-078a-f14864d996be'::uuid]);

-- Query #7281 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3d32a140-536b-f6ee-078a-f14864d996be'::uuid;

-- Query #7282 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d32a140-536b-f6ee-078a-f14864d996be'::uuid, 'Imdb', 'tt1615666')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7283 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d32a140-536b-f6ee-078a-f14864d996be'::uuid, 'Tmdb', 62059)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7284 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d32a140-536b-f6ee-078a-f14864d996be'::uuid, 'TvMaze', 35230)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7285 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d32a140-536b-f6ee-078a-f14864d996be'::uuid, 'Tvdb', 2686341)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7286 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d32a140-536b-f6ee-078a-f14864d996be'::uuid, 'TvRage', 1064974654)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7287 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d32a140-536b-f6ee-078a-f14864d996be'::uuid, 'trakt', 67851)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d32a140-536b-f6ee-078a-f14864d996be'::uuid, 'TmdbCollection', 62059)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7289 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3d32a140-536b-f6ee-078a-f14864d996be'::uuid;

-- Query #7290 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3d32a140-536b-f6ee-078a-f14864d996be'::uuid;

-- Query #7291 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3d32a140-536b-f6ee-078a-f14864d996be'::uuid]);

-- Query #7292 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3d32a140-536b-f6ee-078a-f14864d996be'::uuid;

-- Query #7293 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7294 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid;

-- Query #7295 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid]);

-- Query #7296 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid;

-- Query #7297 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'Imdb', 'tt13315324')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7298 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'official website', 'https://www.netflix.com/title/81305952')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7299 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'Tmdb', 111838)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'TmdbCollection', 111838)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7301 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'Tvdb', 390537)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'tv maze', 51424)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'TvMaze', 51424)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'wikidata', 'Q105760276')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'wikipedia', 'The_Woman_in_the_House_Across_the_Street_from_the_Girl_in_the_Window')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7306 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid;

-- Query #7307 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid;

-- Query #7308 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6fe04520-ce39-7795-6e87-7a453c8066ac'::uuid;

-- Query #7309 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid]);

-- Query #7310 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid;

-- Query #7311 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7312 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fe04520-ce39-7795-6e87-7a453c8066ac'::uuid]);

-- Query #7313 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6fe04520-ce39-7795-6e87-7a453c8066ac'::uuid;

-- Query #7314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fe04520-ce39-7795-6e87-7a453c8066ac'::uuid, 'Imdb', 'tt1615667')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7315 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fe04520-ce39-7795-6e87-7a453c8066ac'::uuid, 'Tmdb', 62047)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7316 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fe04520-ce39-7795-6e87-7a453c8066ac'::uuid, 'TvMaze', 35231)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fe04520-ce39-7795-6e87-7a453c8066ac'::uuid, 'Tvdb', 2686351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7318 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fe04520-ce39-7795-6e87-7a453c8066ac'::uuid, 'TvRage', 1064974655)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fe04520-ce39-7795-6e87-7a453c8066ac'::uuid, 'trakt', 67852)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7320 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'c088ac73bdb492588ab3f386c6e20e0c'
ORDER BY b."SortName", b."Name";

-- Query #7321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fe04520-ce39-7795-6e87-7a453c8066ac'::uuid, 'TmdbCollection', 62047)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7322 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6fe04520-ce39-7795-6e87-7a453c8066ac'::uuid;

-- Query #7323 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6fe04520-ce39-7795-6e87-7a453c8066ac'::uuid;

-- Query #7324 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6fe04520-ce39-7795-6e87-7a453c8066ac'::uuid]);

-- Query #7325 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6fe04520-ce39-7795-6e87-7a453c8066ac'::uuid;

-- Query #7326 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid
ORDER BY b."SortName";

-- Query #7327 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7328 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid])
ORDER BY b."Id";

-- Query #7329 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid])
ORDER BY b."Id";

-- Query #7330 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid])
ORDER BY b."Id";

-- Query #7331 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid])
ORDER BY b."Id";

-- Query #7332 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid])
ORDER BY b."Id";

-- Query #7333 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid
ORDER BY b."SortName";

-- Query #7334 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'c088ac73bdb492588ab3f386c6e20e0c'
ORDER BY b."SortName", b."Name";

-- Query #7335 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid;

-- Query #7336 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '416cc946-a0d6-35ec-7b28-b44c5b750fd1'::uuid;

-- Query #7337 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid]);

-- Query #7338 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid;

-- Query #7339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid, 'Tvdb', 390537)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid, 'Tmdb', 111838)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid, 'Imdb', 'tt13315324')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid, 'TvMaze', 51424)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid, 'wikidata', 'Q105760276')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid, 'official website', 'https://www.netflix.com/title/81305952')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid, 'TmdbCollection', 111838)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7346 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid;

-- Query #7347 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid;

-- Query #7348 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['416cc946-a0d6-35ec-7b28-b44c5b750fd1'::uuid]);

-- Query #7349 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid]);

-- Query #7350 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '416cc946-a0d6-35ec-7b28-b44c5b750fd1'::uuid;

-- Query #7351 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('416cc946-a0d6-35ec-7b28-b44c5b750fd1'::uuid, 'Imdb', 'tt1615660')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('416cc946-a0d6-35ec-7b28-b44c5b750fd1'::uuid, 'Tmdb', 62057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7353 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid;

-- Query #7354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('416cc946-a0d6-35ec-7b28-b44c5b750fd1'::uuid, 'TvMaze', 35236)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7355 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('416cc946-a0d6-35ec-7b28-b44c5b750fd1'::uuid, 'Tvdb', 2922461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('416cc946-a0d6-35ec-7b28-b44c5b750fd1'::uuid, 'TvRage', 1064981237)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('416cc946-a0d6-35ec-7b28-b44c5b750fd1'::uuid, 'trakt', 67857)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('416cc946-a0d6-35ec-7b28-b44c5b750fd1'::uuid, 'TmdbCollection', 62057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '416cc946-a0d6-35ec-7b28-b44c5b750fd1'::uuid;

-- Query #7361 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '416cc946-a0d6-35ec-7b28-b44c5b750fd1'::uuid;

-- Query #7362 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['416cc946-a0d6-35ec-7b28-b44c5b750fd1'::uuid]);

-- Query #7363 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '416cc946-a0d6-35ec-7b28-b44c5b750fd1'::uuid;

-- Query #7364 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7365 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e524bc8-397d-ec02-f2fd-c87cfd200487'::uuid;

-- Query #7366 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '97808d79-90d9-97ae-8ca6-5a33f70ef636'::uuid;

-- Query #7367 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4e524bc8-397d-ec02-f2fd-c87cfd200487'::uuid]);

-- Query #7368 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4e524bc8-397d-ec02-f2fd-c87cfd200487'::uuid;

-- Query #7369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e524bc8-397d-ec02-f2fd-c87cfd200487'::uuid, 'Imdb', 'tt1615665')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e524bc8-397d-ec02-f2fd-c87cfd200487'::uuid, 'Tmdb', 62053)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e524bc8-397d-ec02-f2fd-c87cfd200487'::uuid, 'TvMaze', 35229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e524bc8-397d-ec02-f2fd-c87cfd200487'::uuid, 'Tvdb', 2295391)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e524bc8-397d-ec02-f2fd-c87cfd200487'::uuid, 'TvRage', 1064927294)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e524bc8-397d-ec02-f2fd-c87cfd200487'::uuid, 'trakt', 67850)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7375 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e524bc8-397d-ec02-f2fd-c87cfd200487'::uuid, 'TmdbCollection', 62053)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7376 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e524bc8-397d-ec02-f2fd-c87cfd200487'::uuid;

-- Query #7377 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4e524bc8-397d-ec02-f2fd-c87cfd200487'::uuid;

-- Query #7378 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['97808d79-90d9-97ae-8ca6-5a33f70ef636'::uuid]);

-- Query #7379 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '97808d79-90d9-97ae-8ca6-5a33f70ef636'::uuid;

-- Query #7380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97808d79-90d9-97ae-8ca6-5a33f70ef636'::uuid, 'Imdb', 'tt14115732')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97808d79-90d9-97ae-8ca6-5a33f70ef636'::uuid, 'Tmdb', 2471649)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7382 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97808d79-90d9-97ae-8ca6-5a33f70ef636'::uuid, 'trakt', 5464395)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97808d79-90d9-97ae-8ca6-5a33f70ef636'::uuid, 'TvMaze', 2233555)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97808d79-90d9-97ae-8ca6-5a33f70ef636'::uuid, 'Tvdb', 8833928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97808d79-90d9-97ae-8ca6-5a33f70ef636'::uuid, 'TmdbCollection', 2471649)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7386 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4e524bc8-397d-ec02-f2fd-c87cfd200487'::uuid]);

-- Query #7387 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '97808d79-90d9-97ae-8ca6-5a33f70ef636'::uuid;

-- Query #7388 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '97808d79-90d9-97ae-8ca6-5a33f70ef636'::uuid;

-- Query #7389 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4e524bc8-397d-ec02-f2fd-c87cfd200487'::uuid;

-- Query #7390 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7391 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['97808d79-90d9-97ae-8ca6-5a33f70ef636'::uuid]);

-- Query #7392 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '97808d79-90d9-97ae-8ca6-5a33f70ef636'::uuid;

-- Query #7393 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid, 'c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7394 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c1d78f5-80e7-33a3-5a51-4c752f726e73'::uuid;

-- Query #7395 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c1d78f5-80e7-33a3-5a51-4c752f726e73'::uuid]);

-- Query #7396 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2c1d78f5-80e7-33a3-5a51-4c752f726e73'::uuid;

-- Query #7397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c1d78f5-80e7-33a3-5a51-4c752f726e73'::uuid, 'Imdb', 'tt2049173')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c1d78f5-80e7-33a3-5a51-4c752f726e73'::uuid, 'Tmdb', 62062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c1d78f5-80e7-33a3-5a51-4c752f726e73'::uuid, 'trakt', 67864)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c1d78f5-80e7-33a3-5a51-4c752f726e73'::uuid, 'TvMaze', 35243)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c1d78f5-80e7-33a3-5a51-4c752f726e73'::uuid, 'Tvdb', 4284546)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c1d78f5-80e7-33a3-5a51-4c752f726e73'::uuid, 'TmdbCollection', 62062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7403 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c1d78f5-80e7-33a3-5a51-4c752f726e73'::uuid;

-- Query #7404 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2c1d78f5-80e7-33a3-5a51-4c752f726e73'::uuid;

-- Query #7405 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '53b7c3dd-b9ba-8029-e766-902958650bba'::uuid;

-- Query #7406 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2c1d78f5-80e7-33a3-5a51-4c752f726e73'::uuid]);

-- Query #7407 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2c1d78f5-80e7-33a3-5a51-4c752f726e73'::uuid;

-- Query #7408 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b12695c-71e6-ed71-2674-71eae5602767'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7409 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53b7c3dd-b9ba-8029-e766-902958650bba'::uuid]);

-- Query #7410 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '53b7c3dd-b9ba-8029-e766-902958650bba'::uuid;

-- Query #7411 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53b7c3dd-b9ba-8029-e766-902958650bba'::uuid, 'Imdb', 'tt15250408')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7412 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53b7c3dd-b9ba-8029-e766-902958650bba'::uuid, 'Tmdb', 3428152)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53b7c3dd-b9ba-8029-e766-902958650bba'::uuid, 'trakt', 5801824)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53b7c3dd-b9ba-8029-e766-902958650bba'::uuid, 'TvMaze', 2233560)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53b7c3dd-b9ba-8029-e766-902958650bba'::uuid, 'Tvdb', 8878685)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53b7c3dd-b9ba-8029-e766-902958650bba'::uuid, 'TmdbCollection', 3428152)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7417 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '53b7c3dd-b9ba-8029-e766-902958650bba'::uuid;

-- Query #7418 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '53b7c3dd-b9ba-8029-e766-902958650bba'::uuid;

-- Query #7419 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['53b7c3dd-b9ba-8029-e766-902958650bba'::uuid]);

-- Query #7420 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '53b7c3dd-b9ba-8029-e766-902958650bba'::uuid;

-- Query #7421 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid, 'c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7422 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a09f8ac-1a64-4655-7173-d30e9e7cbe4d'::uuid;

-- Query #7423 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a09f8ac-1a64-4655-7173-d30e9e7cbe4d'::uuid]);

-- Query #7424 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6a09f8ac-1a64-4655-7173-d30e9e7cbe4d'::uuid;

-- Query #7425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a09f8ac-1a64-4655-7173-d30e9e7cbe4d'::uuid, 'Imdb', 'tt2049164')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a09f8ac-1a64-4655-7173-d30e9e7cbe4d'::uuid, 'Tmdb', 62071)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a09f8ac-1a64-4655-7173-d30e9e7cbe4d'::uuid, 'trakt', 67867)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a09f8ac-1a64-4655-7173-d30e9e7cbe4d'::uuid, 'TvMaze', 35246)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a09f8ac-1a64-4655-7173-d30e9e7cbe4d'::uuid, 'Tvdb', 4292724)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7430 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b4577d8-d8a9-ceea-be91-3dd1c23fb815'::uuid;

-- Query #7431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a09f8ac-1a64-4655-7173-d30e9e7cbe4d'::uuid, 'TmdbCollection', 62071)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7432 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a09f8ac-1a64-4655-7173-d30e9e7cbe4d'::uuid;

-- Query #7433 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6a09f8ac-1a64-4655-7173-d30e9e7cbe4d'::uuid;

-- Query #7434 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6a09f8ac-1a64-4655-7173-d30e9e7cbe4d'::uuid]);

-- Query #7435 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6a09f8ac-1a64-4655-7173-d30e9e7cbe4d'::uuid;

-- Query #7436 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b12695c-71e6-ed71-2674-71eae5602767'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7437 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b4577d8-d8a9-ceea-be91-3dd1c23fb815'::uuid]);

-- Query #7438 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0b4577d8-d8a9-ceea-be91-3dd1c23fb815'::uuid;

-- Query #7439 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4577d8-d8a9-ceea-be91-3dd1c23fb815'::uuid, 'TmdbCollection', 3428154)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7440 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4577d8-d8a9-ceea-be91-3dd1c23fb815'::uuid, 'Imdb', 'tt15046990')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4577d8-d8a9-ceea-be91-3dd1c23fb815'::uuid, 'Tmdb', 3428154)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4577d8-d8a9-ceea-be91-3dd1c23fb815'::uuid, 'trakt', 5801825)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4577d8-d8a9-ceea-be91-3dd1c23fb815'::uuid, 'TvMaze', 2233561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4577d8-d8a9-ceea-be91-3dd1c23fb815'::uuid, 'Tvdb', 8878688)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7445 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b4577d8-d8a9-ceea-be91-3dd1c23fb815'::uuid;

-- Query #7446 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0b4577d8-d8a9-ceea-be91-3dd1c23fb815'::uuid;

-- Query #7447 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0b4577d8-d8a9-ceea-be91-3dd1c23fb815'::uuid]);

-- Query #7448 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0b4577d8-d8a9-ceea-be91-3dd1c23fb815'::uuid;

-- Query #7449 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid, 'c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7450 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2247313d-dba9-d73a-8b64-0a1e868cdc54'::uuid;

-- Query #7451 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2247313d-dba9-d73a-8b64-0a1e868cdc54'::uuid]);

-- Query #7452 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2247313d-dba9-d73a-8b64-0a1e868cdc54'::uuid;

-- Query #7453 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2247313d-dba9-d73a-8b64-0a1e868cdc54'::uuid, 'Imdb', 'tt2049166')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7454 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2247313d-dba9-d73a-8b64-0a1e868cdc54'::uuid, 'Tmdb', 62064)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7455 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2247313d-dba9-d73a-8b64-0a1e868cdc54'::uuid, 'trakt', 67869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2247313d-dba9-d73a-8b64-0a1e868cdc54'::uuid, 'TvMaze', 35248)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2247313d-dba9-d73a-8b64-0a1e868cdc54'::uuid, 'Tvdb', 4292726)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2247313d-dba9-d73a-8b64-0a1e868cdc54'::uuid, 'TmdbCollection', 62064)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7459 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd684e43a-3ee7-f2be-2729-198dccf9cf1d'::uuid;

-- Query #7460 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2247313d-dba9-d73a-8b64-0a1e868cdc54'::uuid;

-- Query #7461 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2247313d-dba9-d73a-8b64-0a1e868cdc54'::uuid;

-- Query #7462 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2247313d-dba9-d73a-8b64-0a1e868cdc54'::uuid]);

-- Query #7463 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2247313d-dba9-d73a-8b64-0a1e868cdc54'::uuid;

-- Query #7464 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b12695c-71e6-ed71-2674-71eae5602767'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7465 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d684e43a-3ee7-f2be-2729-198dccf9cf1d'::uuid]);

-- Query #7466 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd684e43a-3ee7-f2be-2729-198dccf9cf1d'::uuid;

-- Query #7467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d684e43a-3ee7-f2be-2729-198dccf9cf1d'::uuid, 'Imdb', 'tt15301666')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7468 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d684e43a-3ee7-f2be-2729-198dccf9cf1d'::uuid, 'Tmdb', 3428156)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d684e43a-3ee7-f2be-2729-198dccf9cf1d'::uuid, 'trakt', 5801826)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d684e43a-3ee7-f2be-2729-198dccf9cf1d'::uuid, 'TvMaze', 2233562)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d684e43a-3ee7-f2be-2729-198dccf9cf1d'::uuid, 'Tvdb', 8878690)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d684e43a-3ee7-f2be-2729-198dccf9cf1d'::uuid, 'TmdbCollection', 3428156)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7473 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd684e43a-3ee7-f2be-2729-198dccf9cf1d'::uuid;

-- Query #7474 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd684e43a-3ee7-f2be-2729-198dccf9cf1d'::uuid;

-- Query #7475 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d684e43a-3ee7-f2be-2729-198dccf9cf1d'::uuid]);

-- Query #7476 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd684e43a-3ee7-f2be-2729-198dccf9cf1d'::uuid;

-- Query #7477 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid, 'c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7478 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f66b4e60-557e-8e45-43b7-6d7eec0ac64f'::uuid;

-- Query #7479 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f66b4e60-557e-8e45-43b7-6d7eec0ac64f'::uuid]);

-- Query #7480 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a30a0c96-af0b-9fab-ed42-e497f9730784'::uuid;

-- Query #7481 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f66b4e60-557e-8e45-43b7-6d7eec0ac64f'::uuid;

-- Query #7482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f66b4e60-557e-8e45-43b7-6d7eec0ac64f'::uuid, 'Imdb', 'tt2049175')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f66b4e60-557e-8e45-43b7-6d7eec0ac64f'::uuid, 'Tmdb', 62060)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7484 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f66b4e60-557e-8e45-43b7-6d7eec0ac64f'::uuid, 'trakt', 67866)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f66b4e60-557e-8e45-43b7-6d7eec0ac64f'::uuid, 'TvMaze', 35245)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f66b4e60-557e-8e45-43b7-6d7eec0ac64f'::uuid, 'Tvdb', 4292723)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f66b4e60-557e-8e45-43b7-6d7eec0ac64f'::uuid, 'TmdbCollection', 62060)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7488 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f66b4e60-557e-8e45-43b7-6d7eec0ac64f'::uuid;

-- Query #7489 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f66b4e60-557e-8e45-43b7-6d7eec0ac64f'::uuid;

-- Query #7490 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f66b4e60-557e-8e45-43b7-6d7eec0ac64f'::uuid]);

-- Query #7491 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f66b4e60-557e-8e45-43b7-6d7eec0ac64f'::uuid;

-- Query #7492 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b12695c-71e6-ed71-2674-71eae5602767'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7493 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a30a0c96-af0b-9fab-ed42-e497f9730784'::uuid]);

-- Query #7494 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a30a0c96-af0b-9fab-ed42-e497f9730784'::uuid;

-- Query #7495 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a30a0c96-af0b-9fab-ed42-e497f9730784'::uuid, 'TmdbCollection', 3428159)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a30a0c96-af0b-9fab-ed42-e497f9730784'::uuid, 'Imdb', 'tt14489680')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a30a0c96-af0b-9fab-ed42-e497f9730784'::uuid, 'Tmdb', 3428159)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a30a0c96-af0b-9fab-ed42-e497f9730784'::uuid, 'trakt', 5801827)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a30a0c96-af0b-9fab-ed42-e497f9730784'::uuid, 'TvMaze', 2233563)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a30a0c96-af0b-9fab-ed42-e497f9730784'::uuid, 'Tvdb', 8878692)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7501 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a30a0c96-af0b-9fab-ed42-e497f9730784'::uuid;

-- Query #7502 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a30a0c96-af0b-9fab-ed42-e497f9730784'::uuid;

-- Query #7503 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a30a0c96-af0b-9fab-ed42-e497f9730784'::uuid]);

-- Query #7504 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a30a0c96-af0b-9fab-ed42-e497f9730784'::uuid;

-- Query #7505 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid, 'c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7506 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '17730537-6b25-93b7-ec38-6ab3c517ec78'::uuid;

-- Query #7507 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62e85460-6146-bdd4-fcf4-c1511c84f662'::uuid;

-- Query #7508 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['17730537-6b25-93b7-ec38-6ab3c517ec78'::uuid]);

-- Query #7509 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '17730537-6b25-93b7-ec38-6ab3c517ec78'::uuid;

-- Query #7510 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17730537-6b25-93b7-ec38-6ab3c517ec78'::uuid, 'TvMaze', 2233564)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7511 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17730537-6b25-93b7-ec38-6ab3c517ec78'::uuid, 'Tvdb', 8878694)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17730537-6b25-93b7-ec38-6ab3c517ec78'::uuid, 'TmdbCollection', 3428161)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17730537-6b25-93b7-ec38-6ab3c517ec78'::uuid, 'Imdb', 'tt15301670')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17730537-6b25-93b7-ec38-6ab3c517ec78'::uuid, 'Tmdb', 3428161)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17730537-6b25-93b7-ec38-6ab3c517ec78'::uuid, 'trakt', 5801828)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7516 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '17730537-6b25-93b7-ec38-6ab3c517ec78'::uuid;

-- Query #7517 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '17730537-6b25-93b7-ec38-6ab3c517ec78'::uuid;

-- Query #7518 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['17730537-6b25-93b7-ec38-6ab3c517ec78'::uuid]);

-- Query #7519 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '17730537-6b25-93b7-ec38-6ab3c517ec78'::uuid;

-- Query #7520 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid, 'c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7521 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62e85460-6146-bdd4-fcf4-c1511c84f662'::uuid]);

-- Query #7522 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '62e85460-6146-bdd4-fcf4-c1511c84f662'::uuid;

-- Query #7523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62e85460-6146-bdd4-fcf4-c1511c84f662'::uuid, 'Imdb', 'tt2049172')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62e85460-6146-bdd4-fcf4-c1511c84f662'::uuid, 'Tmdb', 62067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7525 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62e85460-6146-bdd4-fcf4-c1511c84f662'::uuid, 'trakt', 67863)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62e85460-6146-bdd4-fcf4-c1511c84f662'::uuid, 'TvMaze', 35242)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7527 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62e85460-6146-bdd4-fcf4-c1511c84f662'::uuid, 'Tvdb', 4284545)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7528 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62e85460-6146-bdd4-fcf4-c1511c84f662'::uuid, 'TmdbCollection', 62067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7529 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62e85460-6146-bdd4-fcf4-c1511c84f662'::uuid;

-- Query #7530 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '62e85460-6146-bdd4-fcf4-c1511c84f662'::uuid;

-- Query #7531 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['62e85460-6146-bdd4-fcf4-c1511c84f662'::uuid]);

-- Query #7532 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '62e85460-6146-bdd4-fcf4-c1511c84f662'::uuid;

-- Query #7533 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b12695c-71e6-ed71-2674-71eae5602767'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7534 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid;

-- Query #7535 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid]);

-- Query #7536 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid;

-- Query #7537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid, 'Imdb', 'tt15301676')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid, 'Tmdb', 3428165)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7539 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid, 'trakt', 5801830)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7540 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid, 'TvMaze', 2233566)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7541 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid, 'Tvdb', 8878697)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7542 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid, 'TmdbCollection', 3428165)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7543 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid;

-- Query #7544 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid;

-- Query #7545 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid]);

-- Query #7546 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid;

-- Query #7547 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid, 'c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7548 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c088ac73-bdb4-9258-8ab3-f386c6e20e0c'::uuid
ORDER BY b."SortName";

-- Query #7549 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid])
ORDER BY b."Id";

-- Query #7550 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid])
ORDER BY b."Id";

-- Query #7551 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid])
ORDER BY b."Id";

-- Query #7552 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid])
ORDER BY b."Id";

-- Query #7553 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid])
ORDER BY b."Id";

-- Query #7554 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'af244d6b-f0d3-0220-d783-f2dd725141f2'::uuid
ORDER BY b."SortName";

-- Query #7555 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'c088ac73bdb492588ab3f386c6e20e0c'
ORDER BY b."SortName", b."Name";

-- Query #7556 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid
ORDER BY b."SortName";

-- Query #7557 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd173ab8-1830-f74a-d4f3-0f143eafa5fb'::uuid;

-- Query #7558 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid])
ORDER BY b."Id";

-- Query #7559 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid])
ORDER BY b."Id";

-- Query #7560 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid])
ORDER BY b."Id";

-- Query #7561 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid])
ORDER BY b."Id";

-- Query #7562 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid])
ORDER BY b."Id";

-- Query #7563 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd173ab8-1830-f74a-d4f3-0f143eafa5fb'::uuid]);

-- Query #7564 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid
ORDER BY b."SortName";

-- Query #7565 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bd173ab8-1830-f74a-d4f3-0f143eafa5fb'::uuid;

-- Query #7566 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd173ab8-1830-f74a-d4f3-0f143eafa5fb'::uuid, 'Imdb', 'tt2048448')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7567 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd173ab8-1830-f74a-d4f3-0f143eafa5fb'::uuid, 'Tmdb', 62072)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7568 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd173ab8-1830-f74a-d4f3-0f143eafa5fb'::uuid, 'trakt', 67858)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7569 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd173ab8-1830-f74a-d4f3-0f143eafa5fb'::uuid, 'TvMaze', 35237)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd173ab8-1830-f74a-d4f3-0f143eafa5fb'::uuid, 'Tvdb', 4168172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd173ab8-1830-f74a-d4f3-0f143eafa5fb'::uuid, 'TmdbCollection', 62072)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7572 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd173ab8-1830-f74a-d4f3-0f143eafa5fb'::uuid;

-- Query #7573 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bd173ab8-1830-f74a-d4f3-0f143eafa5fb'::uuid;

-- Query #7574 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bd173ab8-1830-f74a-d4f3-0f143eafa5fb'::uuid]);

-- Query #7575 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bd173ab8-1830-f74a-d4f3-0f143eafa5fb'::uuid;

-- Query #7576 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b12695c-71e6-ed71-2674-71eae5602767'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7577 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '86496cb6-c26a-1539-3f13-c9b29dfce216'::uuid;

-- Query #7578 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['86496cb6-c26a-1539-3f13-c9b29dfce216'::uuid]);

-- Query #7579 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '86496cb6-c26a-1539-3f13-c9b29dfce216'::uuid;

-- Query #7580 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86496cb6-c26a-1539-3f13-c9b29dfce216'::uuid, 'Imdb', 'tt2049170')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86496cb6-c26a-1539-3f13-c9b29dfce216'::uuid, 'Tmdb', 62070)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86496cb6-c26a-1539-3f13-c9b29dfce216'::uuid, 'trakt', 67861)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86496cb6-c26a-1539-3f13-c9b29dfce216'::uuid, 'TvMaze', 35240)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86496cb6-c26a-1539-3f13-c9b29dfce216'::uuid, 'Tvdb', 4284543)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86496cb6-c26a-1539-3f13-c9b29dfce216'::uuid, 'TmdbCollection', 62070)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '86496cb6-c26a-1539-3f13-c9b29dfce216'::uuid;

-- Query #7587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '86496cb6-c26a-1539-3f13-c9b29dfce216'::uuid;

-- Query #7588 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['86496cb6-c26a-1539-3f13-c9b29dfce216'::uuid]);

-- Query #7589 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '86496cb6-c26a-1539-3f13-c9b29dfce216'::uuid;

-- Query #7590 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b12695c-71e6-ed71-2674-71eae5602767'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '80c285a1-04e9-c575-ff7a-4153d84c31e5'::uuid;

-- Query #7592 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80c285a1-04e9-c575-ff7a-4153d84c31e5'::uuid]);

-- Query #7593 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '80c285a1-04e9-c575-ff7a-4153d84c31e5'::uuid;

-- Query #7594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80c285a1-04e9-c575-ff7a-4153d84c31e5'::uuid, 'Imdb', 'tt2049165')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80c285a1-04e9-c575-ff7a-4153d84c31e5'::uuid, 'Tmdb', 62063)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80c285a1-04e9-c575-ff7a-4153d84c31e5'::uuid, 'trakt', 67868)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80c285a1-04e9-c575-ff7a-4153d84c31e5'::uuid, 'TvMaze', 35247)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80c285a1-04e9-c575-ff7a-4153d84c31e5'::uuid, 'Tvdb', 4292725)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80c285a1-04e9-c575-ff7a-4153d84c31e5'::uuid, 'TmdbCollection', 62063)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7600 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '80c285a1-04e9-c575-ff7a-4153d84c31e5'::uuid;

-- Query #7601 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '80c285a1-04e9-c575-ff7a-4153d84c31e5'::uuid;

-- Query #7602 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['80c285a1-04e9-c575-ff7a-4153d84c31e5'::uuid]);

-- Query #7603 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '80c285a1-04e9-c575-ff7a-4153d84c31e5'::uuid;

-- Query #7604 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b12695c-71e6-ed71-2674-71eae5602767'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7605 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid;

-- Query #7606 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid]);

-- Query #7607 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid;

-- Query #7608 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid, 'Imdb', 'tt21066182')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7609 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid, 'official website', 'https://disneyplus.com/browse/entity-555c5896-02e4-4873-8fa9-ce090dcd874b')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid, 'Tmdb', 198178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid, 'TmdbCollection', 198178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid, 'Tvdb', 428629)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid, 'wikidata', 'Q114779504')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7614 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid;

-- Query #7615 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid;

-- Query #7616 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid]);

-- Query #7617 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid;

-- Query #7618 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7619 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '783145da-7705-a973-8e0f-f63a7a1d376f'::uuid;

-- Query #7620 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'defff2c61a2156b01a7c320a681f95e0'
ORDER BY b."SortName", b."Name";

-- Query #7621 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid
ORDER BY b."SortName";

-- Query #7622 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid])
ORDER BY b."Id";

-- Query #7623 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['783145da-7705-a973-8e0f-f63a7a1d376f'::uuid]);

-- Query #7624 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid])
ORDER BY b."Id";

-- Query #7625 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '783145da-7705-a973-8e0f-f63a7a1d376f'::uuid;

-- Query #7626 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid])
ORDER BY b."Id";

-- Query #7627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('783145da-7705-a973-8e0f-f63a7a1d376f'::uuid, 'Imdb', 'tt2049167')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7628 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid])
ORDER BY b."Id";

-- Query #7629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('783145da-7705-a973-8e0f-f63a7a1d376f'::uuid, 'Tmdb', 62065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('783145da-7705-a973-8e0f-f63a7a1d376f'::uuid, 'trakt', 67870)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7631 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid])
ORDER BY b."Id";

-- Query #7632 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('783145da-7705-a973-8e0f-f63a7a1d376f'::uuid, 'TvMaze', 35249)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7633 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid
ORDER BY b."SortName";

-- Query #7634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('783145da-7705-a973-8e0f-f63a7a1d376f'::uuid, 'Tvdb', 4292727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7635 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('783145da-7705-a973-8e0f-f63a7a1d376f'::uuid, 'TmdbCollection', 62065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7636 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '783145da-7705-a973-8e0f-f63a7a1d376f'::uuid;

-- Query #7637 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '783145da-7705-a973-8e0f-f63a7a1d376f'::uuid;

-- Query #7638 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['783145da-7705-a973-8e0f-f63a7a1d376f'::uuid]);

-- Query #7639 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '783145da-7705-a973-8e0f-f63a7a1d376f'::uuid;

-- Query #7640 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'defff2c61a2156b01a7c320a681f95e0'
ORDER BY b."SortName", b."Name";

-- Query #7641 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b12695c-71e6-ed71-2674-71eae5602767'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7642 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid;

-- Query #7643 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid]);

-- Query #7644 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid;

-- Query #7645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid, 'Imdb', 'tt21066182')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7646 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid, 'wikidata', 'Q114779504')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid, 'TmdbCollection', 198178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7648 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid, 'Tvdb', 428629)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7649 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid, 'Tmdb', 198178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7650 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid;

-- Query #7651 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid;

-- Query #7652 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96942ca2-28bd-0409-a73d-a6e10096b4c6'::uuid;

-- Query #7653 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid]);

-- Query #7654 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid;

-- Query #7655 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7656 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['96942ca2-28bd-0409-a73d-a6e10096b4c6'::uuid]);

-- Query #7657 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '96942ca2-28bd-0409-a73d-a6e10096b4c6'::uuid;

-- Query #7658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96942ca2-28bd-0409-a73d-a6e10096b4c6'::uuid, 'Imdb', 'tt2049171')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96942ca2-28bd-0409-a73d-a6e10096b4c6'::uuid, 'Tmdb', 62069)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96942ca2-28bd-0409-a73d-a6e10096b4c6'::uuid, 'trakt', 67862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7661 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96942ca2-28bd-0409-a73d-a6e10096b4c6'::uuid, 'TvMaze', 35241)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7662 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96942ca2-28bd-0409-a73d-a6e10096b4c6'::uuid, 'Tvdb', 4284544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7663 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96942ca2-28bd-0409-a73d-a6e10096b4c6'::uuid, 'TmdbCollection', 62069)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7664 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96942ca2-28bd-0409-a73d-a6e10096b4c6'::uuid;

-- Query #7665 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '96942ca2-28bd-0409-a73d-a6e10096b4c6'::uuid;

-- Query #7666 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['96942ca2-28bd-0409-a73d-a6e10096b4c6'::uuid]);

-- Query #7667 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '96942ca2-28bd-0409-a73d-a6e10096b4c6'::uuid;

-- Query #7668 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b12695c-71e6-ed71-2674-71eae5602767'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7669 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b790a70f-ee07-e3ce-9507-55613f9bfb43'::uuid;

-- Query #7670 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b790a70f-ee07-e3ce-9507-55613f9bfb43'::uuid]);

-- Query #7671 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b790a70f-ee07-e3ce-9507-55613f9bfb43'::uuid;

-- Query #7672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b790a70f-ee07-e3ce-9507-55613f9bfb43'::uuid, 'Tmdb', 6594788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b790a70f-ee07-e3ce-9507-55613f9bfb43'::uuid, 'trakt', 13616870)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b790a70f-ee07-e3ce-9507-55613f9bfb43'::uuid, 'Tvdb', 11391276)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b790a70f-ee07-e3ce-9507-55613f9bfb43'::uuid, 'TmdbCollection', 6594788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b790a70f-ee07-e3ce-9507-55613f9bfb43'::uuid, 'Imdb', 'tt31260218')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7677 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b790a70f-ee07-e3ce-9507-55613f9bfb43'::uuid;

-- Query #7678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b790a70f-ee07-e3ce-9507-55613f9bfb43'::uuid;

-- Query #7679 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b790a70f-ee07-e3ce-9507-55613f9bfb43'::uuid]);

-- Query #7680 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0750ad62-0072-430b-bffe-8788ea0c1bf8'::uuid;

-- Query #7681 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b790a70f-ee07-e3ce-9507-55613f9bfb43'::uuid;

-- Query #7682 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid, 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7683 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0750ad62-0072-430b-bffe-8788ea0c1bf8'::uuid]);

-- Query #7684 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0750ad62-0072-430b-bffe-8788ea0c1bf8'::uuid;

-- Query #7685 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0750ad62-0072-430b-bffe-8788ea0c1bf8'::uuid, 'Imdb', 'tt2049169')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0750ad62-0072-430b-bffe-8788ea0c1bf8'::uuid, 'Tmdb', 62066)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0750ad62-0072-430b-bffe-8788ea0c1bf8'::uuid, 'trakt', 67860)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0750ad62-0072-430b-bffe-8788ea0c1bf8'::uuid, 'TvMaze', 35239)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0750ad62-0072-430b-bffe-8788ea0c1bf8'::uuid, 'Tvdb', 4284542)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0750ad62-0072-430b-bffe-8788ea0c1bf8'::uuid, 'TmdbCollection', 62066)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7691 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0750ad62-0072-430b-bffe-8788ea0c1bf8'::uuid;

-- Query #7692 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0750ad62-0072-430b-bffe-8788ea0c1bf8'::uuid;

-- Query #7693 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0750ad62-0072-430b-bffe-8788ea0c1bf8'::uuid]);

-- Query #7694 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0750ad62-0072-430b-bffe-8788ea0c1bf8'::uuid;

-- Query #7695 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b12695c-71e6-ed71-2674-71eae5602767'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7696 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '151a16c8-15b2-fcb4-b76b-9c3f94c1091c'::uuid;

-- Query #7697 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['151a16c8-15b2-fcb4-b76b-9c3f94c1091c'::uuid]);

-- Query #7698 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '151a16c8-15b2-fcb4-b76b-9c3f94c1091c'::uuid;

-- Query #7699 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('151a16c8-15b2-fcb4-b76b-9c3f94c1091c'::uuid, 'Imdb', 'tt29258523')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('151a16c8-15b2-fcb4-b76b-9c3f94c1091c'::uuid, 'Tmdb', 6594786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('151a16c8-15b2-fcb4-b76b-9c3f94c1091c'::uuid, 'trakt', 13616868)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('151a16c8-15b2-fcb4-b76b-9c3f94c1091c'::uuid, 'Tvdb', 11391274)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('151a16c8-15b2-fcb4-b76b-9c3f94c1091c'::uuid, 'TmdbCollection', 6594786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7704 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '151a16c8-15b2-fcb4-b76b-9c3f94c1091c'::uuid;

-- Query #7705 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '151a16c8-15b2-fcb4-b76b-9c3f94c1091c'::uuid;

-- Query #7706 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['151a16c8-15b2-fcb4-b76b-9c3f94c1091c'::uuid]);

-- Query #7707 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '151a16c8-15b2-fcb4-b76b-9c3f94c1091c'::uuid;

-- Query #7708 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid, 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7709 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59a20f70-0b95-0d3f-3527-534d32d69423'::uuid;

-- Query #7710 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59a20f70-0b95-0d3f-3527-534d32d69423'::uuid]);

-- Query #7711 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '59a20f70-0b95-0d3f-3527-534d32d69423'::uuid;

-- Query #7712 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59a20f70-0b95-0d3f-3527-534d32d69423'::uuid, 'Imdb', 'tt2882248')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59a20f70-0b95-0d3f-3527-534d32d69423'::uuid, 'Tmdb', 997952)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59a20f70-0b95-0d3f-3527-534d32d69423'::uuid, 'trakt', 67879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7715 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '884fc4ef-be0e-d881-0004-0f11ff7fbcba'::uuid;

-- Query #7716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59a20f70-0b95-0d3f-3527-534d32d69423'::uuid, 'TvMaze', 35258)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59a20f70-0b95-0d3f-3527-534d32d69423'::uuid, 'Tvdb', 4562482)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59a20f70-0b95-0d3f-3527-534d32d69423'::uuid, 'TmdbCollection', 997952)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7719 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59a20f70-0b95-0d3f-3527-534d32d69423'::uuid;

-- Query #7720 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '59a20f70-0b95-0d3f-3527-534d32d69423'::uuid;

-- Query #7721 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['59a20f70-0b95-0d3f-3527-534d32d69423'::uuid]);

-- Query #7722 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '59a20f70-0b95-0d3f-3527-534d32d69423'::uuid;

-- Query #7723 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7724 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['884fc4ef-be0e-d881-0004-0f11ff7fbcba'::uuid]);

-- Query #7725 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '884fc4ef-be0e-d881-0004-0f11ff7fbcba'::uuid;

-- Query #7726 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('884fc4ef-be0e-d881-0004-0f11ff7fbcba'::uuid, 'Imdb', 'tt31260217')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7727 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('884fc4ef-be0e-d881-0004-0f11ff7fbcba'::uuid, 'Tmdb', 6594787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('884fc4ef-be0e-d881-0004-0f11ff7fbcba'::uuid, 'trakt', 13616869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7729 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('884fc4ef-be0e-d881-0004-0f11ff7fbcba'::uuid, 'Tvdb', 11391275)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7730 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('884fc4ef-be0e-d881-0004-0f11ff7fbcba'::uuid, 'TmdbCollection', 6594787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7731 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '884fc4ef-be0e-d881-0004-0f11ff7fbcba'::uuid;

-- Query #7732 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '884fc4ef-be0e-d881-0004-0f11ff7fbcba'::uuid;

-- Query #7733 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['884fc4ef-be0e-d881-0004-0f11ff7fbcba'::uuid]);

-- Query #7734 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '884fc4ef-be0e-d881-0004-0f11ff7fbcba'::uuid;

-- Query #7735 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid, 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7736 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a9497ae-c7ce-dbb0-250e-a2dbd903c1e1'::uuid;

-- Query #7737 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a9497ae-c7ce-dbb0-250e-a2dbd903c1e1'::uuid]);

-- Query #7738 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7a9497ae-c7ce-dbb0-250e-a2dbd903c1e1'::uuid;

-- Query #7739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a9497ae-c7ce-dbb0-250e-a2dbd903c1e1'::uuid, 'Imdb', 'tt27739623')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a9497ae-c7ce-dbb0-250e-a2dbd903c1e1'::uuid, 'Tmdb', 6594789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a9497ae-c7ce-dbb0-250e-a2dbd903c1e1'::uuid, 'trakt', 13616871)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7742 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a9497ae-c7ce-dbb0-250e-a2dbd903c1e1'::uuid, 'Tvdb', 11391277)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7743 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a9497ae-c7ce-dbb0-250e-a2dbd903c1e1'::uuid, 'TmdbCollection', 6594789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7744 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a9497ae-c7ce-dbb0-250e-a2dbd903c1e1'::uuid;

-- Query #7745 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7a9497ae-c7ce-dbb0-250e-a2dbd903c1e1'::uuid;

-- Query #7746 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d08f9e3-0d63-22c1-c000-07b05939d10e'::uuid;

-- Query #7747 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7a9497ae-c7ce-dbb0-250e-a2dbd903c1e1'::uuid]);

-- Query #7748 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7a9497ae-c7ce-dbb0-250e-a2dbd903c1e1'::uuid;

-- Query #7749 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid, 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7750 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d08f9e3-0d63-22c1-c000-07b05939d10e'::uuid]);

-- Query #7751 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5d08f9e3-0d63-22c1-c000-07b05939d10e'::uuid;

-- Query #7752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d08f9e3-0d63-22c1-c000-07b05939d10e'::uuid, 'Imdb', 'tt2551222')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7753 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d08f9e3-0d63-22c1-c000-07b05939d10e'::uuid, 'Tmdb', 62074)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d08f9e3-0d63-22c1-c000-07b05939d10e'::uuid, 'trakt', 67873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d08f9e3-0d63-22c1-c000-07b05939d10e'::uuid, 'TvMaze', 35252)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d08f9e3-0d63-22c1-c000-07b05939d10e'::uuid, 'Tvdb', 4531386)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7757 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d08f9e3-0d63-22c1-c000-07b05939d10e'::uuid, 'TmdbCollection', 62074)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7758 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d08f9e3-0d63-22c1-c000-07b05939d10e'::uuid;

-- Query #7759 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5d08f9e3-0d63-22c1-c000-07b05939d10e'::uuid;

-- Query #7760 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6323cad4-3ac7-ba89-ca5f-2924defe5bf8'::uuid;

-- Query #7761 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5d08f9e3-0d63-22c1-c000-07b05939d10e'::uuid]);

-- Query #7762 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5d08f9e3-0d63-22c1-c000-07b05939d10e'::uuid;

-- Query #7763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7764 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6323cad4-3ac7-ba89-ca5f-2924defe5bf8'::uuid]);

-- Query #7765 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6323cad4-3ac7-ba89-ca5f-2924defe5bf8'::uuid;

-- Query #7766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6323cad4-3ac7-ba89-ca5f-2924defe5bf8'::uuid, 'Imdb', 'tt21941138')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6323cad4-3ac7-ba89-ca5f-2924defe5bf8'::uuid, 'Tmdb', 3678093)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6323cad4-3ac7-ba89-ca5f-2924defe5bf8'::uuid, 'trakt', 6467658)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6323cad4-3ac7-ba89-ca5f-2924defe5bf8'::uuid, 'Tvdb', 9654510)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6323cad4-3ac7-ba89-ca5f-2924defe5bf8'::uuid, 'TmdbCollection', 3678093)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7771 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6323cad4-3ac7-ba89-ca5f-2924defe5bf8'::uuid;

-- Query #7772 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6323cad4-3ac7-ba89-ca5f-2924defe5bf8'::uuid;

-- Query #7773 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6323cad4-3ac7-ba89-ca5f-2924defe5bf8'::uuid]);

-- Query #7774 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6323cad4-3ac7-ba89-ca5f-2924defe5bf8'::uuid;

-- Query #7775 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid, 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7776 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b1522e23-34e2-0b4d-77ae-c72e2349ead2'::uuid;

-- Query #7777 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '270a063c-348e-5506-4127-1f74fee2614a'::uuid;

-- Query #7778 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1522e23-34e2-0b4d-77ae-c72e2349ead2'::uuid]);

-- Query #7779 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b1522e23-34e2-0b4d-77ae-c72e2349ead2'::uuid;

-- Query #7780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1522e23-34e2-0b4d-77ae-c72e2349ead2'::uuid, 'Imdb', 'tt2470504')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1522e23-34e2-0b4d-77ae-c72e2349ead2'::uuid, 'Tmdb', 62084)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1522e23-34e2-0b4d-77ae-c72e2349ead2'::uuid, 'trakt', 67871)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1522e23-34e2-0b4d-77ae-c72e2349ead2'::uuid, 'TvMaze', 35250)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1522e23-34e2-0b4d-77ae-c72e2349ead2'::uuid, 'Tvdb', 4468357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1522e23-34e2-0b4d-77ae-c72e2349ead2'::uuid, 'TmdbCollection', 62084)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7786 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b1522e23-34e2-0b4d-77ae-c72e2349ead2'::uuid;

-- Query #7787 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b1522e23-34e2-0b4d-77ae-c72e2349ead2'::uuid;

-- Query #7788 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #7789 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['270a063c-348e-5506-4127-1f74fee2614a'::uuid]);

-- Query #7790 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '270a063c-348e-5506-4127-1f74fee2614a'::uuid;

-- Query #7791 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('270a063c-348e-5506-4127-1f74fee2614a'::uuid, 'Imdb', 'tt31260214')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('270a063c-348e-5506-4127-1f74fee2614a'::uuid, 'Tmdb', 6594785)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7793 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('270a063c-348e-5506-4127-1f74fee2614a'::uuid, 'trakt', 13616867)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('270a063c-348e-5506-4127-1f74fee2614a'::uuid, 'Tvdb', 11391273)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7795 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b1522e23-34e2-0b4d-77ae-c72e2349ead2'::uuid]);

-- Query #7796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('270a063c-348e-5506-4127-1f74fee2614a'::uuid, 'TmdbCollection', 6594785)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7797 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '270a063c-348e-5506-4127-1f74fee2614a'::uuid;

-- Query #7798 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b1522e23-34e2-0b4d-77ae-c72e2349ead2'::uuid;

-- Query #7799 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '270a063c-348e-5506-4127-1f74fee2614a'::uuid;

-- Query #7800 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7801 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['270a063c-348e-5506-4127-1f74fee2614a'::uuid]);

-- Query #7802 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '270a063c-348e-5506-4127-1f74fee2614a'::uuid;

-- Query #7803 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid, 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7804 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd73d7b3f-1595-de0b-420b-863980f26cfa'::uuid;

-- Query #7805 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d73d7b3f-1595-de0b-420b-863980f26cfa'::uuid]);

-- Query #7806 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd73d7b3f-1595-de0b-420b-863980f26cfa'::uuid;

-- Query #7807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d73d7b3f-1595-de0b-420b-863980f26cfa'::uuid, 'TmdbCollection', 4924078)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7808 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d73d7b3f-1595-de0b-420b-863980f26cfa'::uuid, 'Imdb', 'tt27774495')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d73d7b3f-1595-de0b-420b-863980f26cfa'::uuid, 'Tmdb', 4924078)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d73d7b3f-1595-de0b-420b-863980f26cfa'::uuid, 'trakt', 11164556)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7811 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d73d7b3f-1595-de0b-420b-863980f26cfa'::uuid, 'Tvdb', 11391272)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7812 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd73d7b3f-1595-de0b-420b-863980f26cfa'::uuid;

-- Query #7813 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd73d7b3f-1595-de0b-420b-863980f26cfa'::uuid;

-- Query #7814 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74cfa2d2-f802-11df-6e06-73514ebeff24'::uuid;

-- Query #7815 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d73d7b3f-1595-de0b-420b-863980f26cfa'::uuid]);

-- Query #7816 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd73d7b3f-1595-de0b-420b-863980f26cfa'::uuid;

-- Query #7817 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid, 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7818 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['74cfa2d2-f802-11df-6e06-73514ebeff24'::uuid]);

-- Query #7819 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '74cfa2d2-f802-11df-6e06-73514ebeff24'::uuid;

-- Query #7820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74cfa2d2-f802-11df-6e06-73514ebeff24'::uuid, 'Imdb', 'tt2939964')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74cfa2d2-f802-11df-6e06-73514ebeff24'::uuid, 'Tmdb', 62007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74cfa2d2-f802-11df-6e06-73514ebeff24'::uuid, 'trakt', 67881)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7823 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74cfa2d2-f802-11df-6e06-73514ebeff24'::uuid, 'TvMaze', 35260)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74cfa2d2-f802-11df-6e06-73514ebeff24'::uuid, 'Tvdb', 4573576)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74cfa2d2-f802-11df-6e06-73514ebeff24'::uuid, 'TmdbCollection', 62007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7826 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74cfa2d2-f802-11df-6e06-73514ebeff24'::uuid;

-- Query #7827 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '74cfa2d2-f802-11df-6e06-73514ebeff24'::uuid;

-- Query #7828 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['74cfa2d2-f802-11df-6e06-73514ebeff24'::uuid]);

-- Query #7829 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid;

-- Query #7830 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '74cfa2d2-f802-11df-6e06-73514ebeff24'::uuid;

-- Query #7831 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7832 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid]);

-- Query #7833 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid;

-- Query #7834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid, 'Imdb', 'tt27739622')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid, 'Tmdb', 6594790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7836 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid, 'trakt', 13616872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid, 'Tvdb', 11391278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid, 'TmdbCollection', 6594790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7839 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid;

-- Query #7840 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid;

-- Query #7841 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid]);

-- Query #7842 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid;

-- Query #7843 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid, 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7844 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'defff2c6-1a21-56b0-1a7c-320a681f95e0'::uuid
ORDER BY b."SortName";

-- Query #7845 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid])
ORDER BY b."Id";

-- Query #7846 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid])
ORDER BY b."Id";

-- Query #7847 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid])
ORDER BY b."Id";

-- Query #7848 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid])
ORDER BY b."Id";

-- Query #7849 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid])
ORDER BY b."Id";

-- Query #7850 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '157e7c7c-454d-34c5-fa8c-b764301c7c17'::uuid
ORDER BY b."SortName";

-- Query #7851 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'defff2c61a2156b01a7c320a681f95e0'
ORDER BY b."SortName", b."Name";

-- Query #7852 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid
ORDER BY b."SortName";

-- Query #7853 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid])
ORDER BY b."Id";

-- Query #7854 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid])
ORDER BY b."Id";

-- Query #7855 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid])
ORDER BY b."Id";

-- Query #7856 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid])
ORDER BY b."Id";

-- Query #7857 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid])
ORDER BY b."Id";

-- Query #7858 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid
ORDER BY b."SortName";

-- Query #7859 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid
ORDER BY b."SortName";

-- Query #7860 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9ad66d1-d926-0acb-6e15-6d643130e526'::uuid;

-- Query #7861 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9ad66d1-d926-0acb-6e15-6d643130e526'::uuid]);

-- Query #7862 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f9ad66d1-d926-0acb-6e15-6d643130e526'::uuid;

-- Query #7863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9ad66d1-d926-0acb-6e15-6d643130e526'::uuid, 'Imdb', 'tt2717848')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7864 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9ad66d1-d926-0acb-6e15-6d643130e526'::uuid, 'Tmdb', 62078)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9ad66d1-d926-0acb-6e15-6d643130e526'::uuid, 'trakt', 67875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7866 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid
ORDER BY b."SortName";

-- Query #7867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9ad66d1-d926-0acb-6e15-6d643130e526'::uuid, 'TvMaze', 35254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7868 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9ad66d1-d926-0acb-6e15-6d643130e526'::uuid, 'Tvdb', 4531388)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7869 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9ad66d1-d926-0acb-6e15-6d643130e526'::uuid, 'TmdbCollection', 62078)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7870 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9ad66d1-d926-0acb-6e15-6d643130e526'::uuid;

-- Query #7871 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f9ad66d1-d926-0acb-6e15-6d643130e526'::uuid;

-- Query #7872 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f9ad66d1-d926-0acb-6e15-6d643130e526'::uuid]);

-- Query #7873 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f9ad66d1-d926-0acb-6e15-6d643130e526'::uuid;

-- Query #7874 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7875 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '006b2701-0619-8f77-605d-834f3a4da096'::uuid;

-- Query #7876 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['006b2701-0619-8f77-605d-834f3a4da096'::uuid]);

-- Query #7877 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '006b2701-0619-8f77-605d-834f3a4da096'::uuid;

-- Query #7878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('006b2701-0619-8f77-605d-834f3a4da096'::uuid, 'Imdb', 'tt2717850')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('006b2701-0619-8f77-605d-834f3a4da096'::uuid, 'Tmdb', 62076)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('006b2701-0619-8f77-605d-834f3a4da096'::uuid, 'trakt', 67876)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('006b2701-0619-8f77-605d-834f3a4da096'::uuid, 'TvMaze', 35255)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('006b2701-0619-8f77-605d-834f3a4da096'::uuid, 'Tvdb', 4547932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('006b2701-0619-8f77-605d-834f3a4da096'::uuid, 'TmdbCollection', 62076)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7884 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '006b2701-0619-8f77-605d-834f3a4da096'::uuid;

-- Query #7885 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '006b2701-0619-8f77-605d-834f3a4da096'::uuid;

-- Query #7886 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['006b2701-0619-8f77-605d-834f3a4da096'::uuid]);

-- Query #7887 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '006b2701-0619-8f77-605d-834f3a4da096'::uuid;

-- Query #7888 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7889 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid;

-- Query #7890 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid]);

-- Query #7891 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid;

-- Query #7892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'Imdb', 'tt0074074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'Tmdb', 4331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'TmdbCollection', 4331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7895 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'Tvdb', 71228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'TvMaze', 1341)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'TvRage', 6641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'wikidata', 'Q1247495')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7899 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'Zap2It', 'EP00004834')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7900 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid;

-- Query #7901 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid;

-- Query #7902 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid]);

-- Query #7903 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid;

-- Query #7904 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7905 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a74d0942-50e4-adee-6af9-dcf489ef23b6'::uuid;

-- Query #7906 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'aa6b20af39b623cf568f8d93a8d86969'
ORDER BY b."SortName", b."Name";

-- Query #7907 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a74d0942-50e4-adee-6af9-dcf489ef23b6'::uuid]);

-- Query #7908 | logged_duration_ms=12 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a74d0942-50e4-adee-6af9-dcf489ef23b6'::uuid;

-- Query #7909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a74d0942-50e4-adee-6af9-dcf489ef23b6'::uuid, 'Imdb', 'tt2939968')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a74d0942-50e4-adee-6af9-dcf489ef23b6'::uuid, 'Tmdb', 62006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a74d0942-50e4-adee-6af9-dcf489ef23b6'::uuid, 'trakt', 67883)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a74d0942-50e4-adee-6af9-dcf489ef23b6'::uuid, 'TvMaze', 35262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a74d0942-50e4-adee-6af9-dcf489ef23b6'::uuid, 'Tvdb', 4576951)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a74d0942-50e4-adee-6af9-dcf489ef23b6'::uuid, 'TmdbCollection', 62006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a74d0942-50e4-adee-6af9-dcf489ef23b6'::uuid;

-- Query #7916 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a74d0942-50e4-adee-6af9-dcf489ef23b6'::uuid;

-- Query #7917 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a74d0942-50e4-adee-6af9-dcf489ef23b6'::uuid]);

-- Query #7918 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a74d0942-50e4-adee-6af9-dcf489ef23b6'::uuid;

-- Query #7919 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7920 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid
ORDER BY b."SortName";

-- Query #7921 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid])
ORDER BY b."Id";

-- Query #7922 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid])
ORDER BY b."Id";

-- Query #7923 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid])
ORDER BY b."Id";

-- Query #7924 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid])
ORDER BY b."Id";

-- Query #7925 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid])
ORDER BY b."Id";

-- Query #7926 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid
ORDER BY b."SortName";

-- Query #7927 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5190278-65d1-a04c-f0ec-d10a64c40147'::uuid;

-- Query #7928 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid
ORDER BY b."SortName";

-- Query #7929 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a5190278-65d1-a04c-f0ec-d10a64c40147'::uuid]);

-- Query #7930 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a5190278-65d1-a04c-f0ec-d10a64c40147'::uuid;

-- Query #7931 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5190278-65d1-a04c-f0ec-d10a64c40147'::uuid, 'Imdb', 'tt2663614')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7932 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5190278-65d1-a04c-f0ec-d10a64c40147'::uuid, 'Tmdb', 62079)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7933 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5190278-65d1-a04c-f0ec-d10a64c40147'::uuid, 'trakt', 67877)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid
ORDER BY b."SortName";

-- Query #7935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5190278-65d1-a04c-f0ec-d10a64c40147'::uuid, 'TvMaze', 35256)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5190278-65d1-a04c-f0ec-d10a64c40147'::uuid, 'Tvdb', 4547935)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5190278-65d1-a04c-f0ec-d10a64c40147'::uuid, 'TmdbCollection', 62079)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7938 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5190278-65d1-a04c-f0ec-d10a64c40147'::uuid;

-- Query #7939 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a5190278-65d1-a04c-f0ec-d10a64c40147'::uuid;

-- Query #7940 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a5190278-65d1-a04c-f0ec-d10a64c40147'::uuid]);

-- Query #7941 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a5190278-65d1-a04c-f0ec-d10a64c40147'::uuid;

-- Query #7942 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7943 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'aa6b20af39b623cf568f8d93a8d86969'
ORDER BY b."SortName", b."Name";

-- Query #7944 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd34d6b4e-fb60-50d0-9154-bf0ecd6617b5'::uuid;

-- Query #7945 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d34d6b4e-fb60-50d0-9154-bf0ecd6617b5'::uuid]);

-- Query #7946 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd34d6b4e-fb60-50d0-9154-bf0ecd6617b5'::uuid;

-- Query #7947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d34d6b4e-fb60-50d0-9154-bf0ecd6617b5'::uuid, 'Imdb', 'tt2939970')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d34d6b4e-fb60-50d0-9154-bf0ecd6617b5'::uuid, 'Tmdb', 62083)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d34d6b4e-fb60-50d0-9154-bf0ecd6617b5'::uuid, 'trakt', 67882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d34d6b4e-fb60-50d0-9154-bf0ecd6617b5'::uuid, 'TvMaze', 35261)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d34d6b4e-fb60-50d0-9154-bf0ecd6617b5'::uuid, 'Tvdb', 4573577)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d34d6b4e-fb60-50d0-9154-bf0ecd6617b5'::uuid, 'TmdbCollection', 62083)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7953 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd34d6b4e-fb60-50d0-9154-bf0ecd6617b5'::uuid;

-- Query #7954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd34d6b4e-fb60-50d0-9154-bf0ecd6617b5'::uuid;

-- Query #7955 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d34d6b4e-fb60-50d0-9154-bf0ecd6617b5'::uuid]);

-- Query #7956 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd34d6b4e-fb60-50d0-9154-bf0ecd6617b5'::uuid;

-- Query #7957 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7958 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa8eeabc-3e16-01d3-d34f-00dda5514e0a'::uuid;

-- Query #7959 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aa8eeabc-3e16-01d3-d34f-00dda5514e0a'::uuid]);

-- Query #7960 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'aa8eeabc-3e16-01d3-d34f-00dda5514e0a'::uuid;

-- Query #7961 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa8eeabc-3e16-01d3-d34f-00dda5514e0a'::uuid, 'Imdb', 'tt2939966')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa8eeabc-3e16-01d3-d34f-00dda5514e0a'::uuid, 'Tmdb', 62082)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa8eeabc-3e16-01d3-d34f-00dda5514e0a'::uuid, 'trakt', 67880)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7964 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa8eeabc-3e16-01d3-d34f-00dda5514e0a'::uuid, 'TvMaze', 35259)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa8eeabc-3e16-01d3-d34f-00dda5514e0a'::uuid, 'Tvdb', 4562483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7966 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid;

-- Query #7967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa8eeabc-3e16-01d3-d34f-00dda5514e0a'::uuid, 'TmdbCollection', 62082)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7968 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa8eeabc-3e16-01d3-d34f-00dda5514e0a'::uuid;

-- Query #7969 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'aa8eeabc-3e16-01d3-d34f-00dda5514e0a'::uuid;

-- Query #7970 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['aa8eeabc-3e16-01d3-d34f-00dda5514e0a'::uuid]);

-- Query #7971 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'aa8eeabc-3e16-01d3-d34f-00dda5514e0a'::uuid;

-- Query #7972 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7973 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid]);

-- Query #7974 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid;

-- Query #7975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'Zap2It', 'EP00004834')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'wikidata', 'Q1247495')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'TmdbCollection', 4331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'Tvdb', 71228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'Tmdb', 4331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'Imdb', 'tt0074074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'TvMaze', 1341)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'TvRage', 6641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7983 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid;

-- Query #7984 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid;

-- Query #7985 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #7986 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid]);

-- Query #7987 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid;

-- Query #7988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #7989 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'aa6b20af39b623cf568f8d93a8d86969'
ORDER BY b."SortName", b."Name";

-- Query #7990 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9ba5a46f-d96f-d17e-ae27-2fe739fc65ee'::uuid;

-- Query #7991 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9ba5a46f-d96f-d17e-ae27-2fe739fc65ee'::uuid]);

-- Query #7992 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9ba5a46f-d96f-d17e-ae27-2fe739fc65ee'::uuid;

-- Query #7993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ba5a46f-d96f-d17e-ae27-2fe739fc65ee'::uuid, 'Imdb', 'tt2560864')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ba5a46f-d96f-d17e-ae27-2fe739fc65ee'::uuid, 'Tmdb', 62075)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ba5a46f-d96f-d17e-ae27-2fe739fc65ee'::uuid, 'trakt', 67874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ba5a46f-d96f-d17e-ae27-2fe739fc65ee'::uuid, 'TvMaze', 35253)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ba5a46f-d96f-d17e-ae27-2fe739fc65ee'::uuid, 'Tvdb', 4531387)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7998 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ba5a46f-d96f-d17e-ae27-2fe739fc65ee'::uuid, 'TmdbCollection', 62075)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #7999 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9ba5a46f-d96f-d17e-ae27-2fe739fc65ee'::uuid;

-- Query #8000 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9ba5a46f-d96f-d17e-ae27-2fe739fc65ee'::uuid;

-- Query #8001 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9ba5a46f-d96f-d17e-ae27-2fe739fc65ee'::uuid]);

-- Query #8002 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9ba5a46f-d96f-d17e-ae27-2fe739fc65ee'::uuid;

-- Query #8003 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8004 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid;

-- Query #8005 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7db8f0aa-6ea6-9d02-9d72-015f31cfa847'::uuid;

-- Query #8006 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid]);

-- Query #8007 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid;

-- Query #8008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'wikidata', 'Q1247495')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'TmdbCollection', 4331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'Tvdb', 71228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'Tmdb', 4331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'Imdb', 'tt0074074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'TvMaze', 1341)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'TvRage', 6641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'Zap2It', 'EP00004834')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8016 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid;

-- Query #8017 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid;

-- Query #8018 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7db8f0aa-6ea6-9d02-9d72-015f31cfa847'::uuid]);

-- Query #8019 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7db8f0aa-6ea6-9d02-9d72-015f31cfa847'::uuid;

-- Query #8020 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #8021 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7db8f0aa-6ea6-9d02-9d72-015f31cfa847'::uuid, 'Imdb', 'tt3669680')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8022 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid]);

-- Query #8023 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7db8f0aa-6ea6-9d02-9d72-015f31cfa847'::uuid, 'Tmdb', 974665)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7db8f0aa-6ea6-9d02-9d72-015f31cfa847'::uuid, 'TvMaze', 35264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8025 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid;

-- Query #8026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7db8f0aa-6ea6-9d02-9d72-015f31cfa847'::uuid, 'Tvdb', 4837010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8027 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7db8f0aa-6ea6-9d02-9d72-015f31cfa847'::uuid, 'TvRage', 1065537258)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7db8f0aa-6ea6-9d02-9d72-015f31cfa847'::uuid, 'trakt', 67885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7db8f0aa-6ea6-9d02-9d72-015f31cfa847'::uuid, 'TmdbCollection', 974665)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8031 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7db8f0aa-6ea6-9d02-9d72-015f31cfa847'::uuid;

-- Query #8032 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7db8f0aa-6ea6-9d02-9d72-015f31cfa847'::uuid;

-- Query #8033 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7db8f0aa-6ea6-9d02-9d72-015f31cfa847'::uuid]);

-- Query #8034 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7db8f0aa-6ea6-9d02-9d72-015f31cfa847'::uuid;

-- Query #8035 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8036 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'aa6b20af39b623cf568f8d93a8d86969'
ORDER BY b."SortName", b."Name";

-- Query #8037 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d22c68f-fa16-e28c-b59b-066bafe8cceb'::uuid;

-- Query #8038 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d22c68f-fa16-e28c-b59b-066bafe8cceb'::uuid]);

-- Query #8039 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4d22c68f-fa16-e28c-b59b-066bafe8cceb'::uuid;

-- Query #8040 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d22c68f-fa16-e28c-b59b-066bafe8cceb'::uuid, 'Imdb', 'tt3678086')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8041 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d22c68f-fa16-e28c-b59b-066bafe8cceb'::uuid, 'Tmdb', 974905)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8042 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d22c68f-fa16-e28c-b59b-066bafe8cceb'::uuid, 'TvMaze', 35265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8043 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d22c68f-fa16-e28c-b59b-066bafe8cceb'::uuid, 'Tvdb', 4840955)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8044 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d22c68f-fa16-e28c-b59b-066bafe8cceb'::uuid, 'TvRage', 1065537267)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d22c68f-fa16-e28c-b59b-066bafe8cceb'::uuid, 'trakt', 67886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d22c68f-fa16-e28c-b59b-066bafe8cceb'::uuid, 'TmdbCollection', 974905)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8047 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d22c68f-fa16-e28c-b59b-066bafe8cceb'::uuid;

-- Query #8048 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4d22c68f-fa16-e28c-b59b-066bafe8cceb'::uuid;

-- Query #8049 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4d22c68f-fa16-e28c-b59b-066bafe8cceb'::uuid]);

-- Query #8050 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4d22c68f-fa16-e28c-b59b-066bafe8cceb'::uuid;

-- Query #8051 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8052 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c11adf9c-8737-996f-c1de-9bdcd2dbf81c'::uuid;

-- Query #8053 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c11adf9c-8737-996f-c1de-9bdcd2dbf81c'::uuid]);

-- Query #8054 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c11adf9c-8737-996f-c1de-9bdcd2dbf81c'::uuid;

-- Query #8055 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c11adf9c-8737-996f-c1de-9bdcd2dbf81c'::uuid, 'TmdbCollection', 1041485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8056 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c11adf9c-8737-996f-c1de-9bdcd2dbf81c'::uuid, 'Imdb', 'tt3908430')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8057 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c11adf9c-8737-996f-c1de-9bdcd2dbf81c'::uuid, 'Tmdb', 1041485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c11adf9c-8737-996f-c1de-9bdcd2dbf81c'::uuid, 'TvMaze', 152874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c11adf9c-8737-996f-c1de-9bdcd2dbf81c'::uuid, 'Tvdb', 5127220)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c11adf9c-8737-996f-c1de-9bdcd2dbf81c'::uuid, 'TvRage', 1065743886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c11adf9c-8737-996f-c1de-9bdcd2dbf81c'::uuid, 'trakt', 1701998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8062 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c11adf9c-8737-996f-c1de-9bdcd2dbf81c'::uuid;

-- Query #8063 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c11adf9c-8737-996f-c1de-9bdcd2dbf81c'::uuid;

-- Query #8064 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid;

-- Query #8065 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c11adf9c-8737-996f-c1de-9bdcd2dbf81c'::uuid]);

-- Query #8066 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c11adf9c-8737-996f-c1de-9bdcd2dbf81c'::uuid;

-- Query #8067 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8068 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid]);

-- Query #8069 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid;

-- Query #8070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'Tvdb', 71228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'Tmdb', 4331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'Imdb', 'tt0074074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'TvMaze', 1341)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'TvRage', 6641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'Zap2It', 'EP00004834')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'wikidata', 'Q1247495')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8077 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'TmdbCollection', 4331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8078 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid;

-- Query #8079 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid;

-- Query #8080 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #8081 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid]);

-- Query #8082 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid;

-- Query #8083 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8084 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b960a557-ca66-6d48-5483-6d1b18d9ac7c'::uuid;

-- Query #8085 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b960a557-ca66-6d48-5483-6d1b18d9ac7c'::uuid]);

-- Query #8086 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b960a557-ca66-6d48-5483-6d1b18d9ac7c'::uuid;

-- Query #8087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b960a557-ca66-6d48-5483-6d1b18d9ac7c'::uuid, 'Imdb', 'tt0750230')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b960a557-ca66-6d48-5483-6d1b18d9ac7c'::uuid, 'Tmdb', 299465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b960a557-ca66-6d48-5483-6d1b18d9ac7c'::uuid, 'TvMaze', 111745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b960a557-ca66-6d48-5483-6d1b18d9ac7c'::uuid, 'Tvdb', 39873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b960a557-ca66-6d48-5483-6d1b18d9ac7c'::uuid, 'TvRage', 234055)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b960a557-ca66-6d48-5483-6d1b18d9ac7c'::uuid, 'trakt', 308181)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b960a557-ca66-6d48-5483-6d1b18d9ac7c'::uuid, 'TmdbCollection', 299465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8094 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b960a557-ca66-6d48-5483-6d1b18d9ac7c'::uuid;

-- Query #8095 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b960a557-ca66-6d48-5483-6d1b18d9ac7c'::uuid;

-- Query #8096 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b960a557-ca66-6d48-5483-6d1b18d9ac7c'::uuid]);

-- Query #8097 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b960a557-ca66-6d48-5483-6d1b18d9ac7c'::uuid;

-- Query #8098 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8099 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '542a8b01-ccc5-8925-4677-c8baa6deccbc'::uuid;

-- Query #8100 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['542a8b01-ccc5-8925-4677-c8baa6deccbc'::uuid]);

-- Query #8101 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '542a8b01-ccc5-8925-4677-c8baa6deccbc'::uuid;

-- Query #8102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('542a8b01-ccc5-8925-4677-c8baa6deccbc'::uuid, 'Imdb', 'tt3783560')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('542a8b01-ccc5-8925-4677-c8baa6deccbc'::uuid, 'Tmdb', 1050296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('542a8b01-ccc5-8925-4677-c8baa6deccbc'::uuid, 'TvMaze', 154712)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('542a8b01-ccc5-8925-4677-c8baa6deccbc'::uuid, 'Tvdb', 5173343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('542a8b01-ccc5-8925-4677-c8baa6deccbc'::uuid, 'TvRage', 1065792313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('542a8b01-ccc5-8925-4677-c8baa6deccbc'::uuid, 'trakt', 1702003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('542a8b01-ccc5-8925-4677-c8baa6deccbc'::uuid, 'TmdbCollection', 1050296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8109 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '542a8b01-ccc5-8925-4677-c8baa6deccbc'::uuid;

-- Query #8110 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '542a8b01-ccc5-8925-4677-c8baa6deccbc'::uuid;

-- Query #8111 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['542a8b01-ccc5-8925-4677-c8baa6deccbc'::uuid]);

-- Query #8112 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '542a8b01-ccc5-8925-4677-c8baa6deccbc'::uuid;

-- Query #8113 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8114 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8f7b794-2215-e1af-1ccb-35aa149bed32'::uuid;

-- Query #8115 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d8f7b794-2215-e1af-1ccb-35aa149bed32'::uuid]);

-- Query #8116 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd8f7b794-2215-e1af-1ccb-35aa149bed32'::uuid;

-- Query #8117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8f7b794-2215-e1af-1ccb-35aa149bed32'::uuid, 'TmdbCollection', 299474)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8f7b794-2215-e1af-1ccb-35aa149bed32'::uuid, 'Imdb', 'tt0750262')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8f7b794-2215-e1af-1ccb-35aa149bed32'::uuid, 'Tmdb', 299474)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8f7b794-2215-e1af-1ccb-35aa149bed32'::uuid, 'TvMaze', 111754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8f7b794-2215-e1af-1ccb-35aa149bed32'::uuid, 'Tvdb', 39882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8f7b794-2215-e1af-1ccb-35aa149bed32'::uuid, 'TvRage', 234064)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8f7b794-2215-e1af-1ccb-35aa149bed32'::uuid, 'trakt', 308190)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8124 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8f7b794-2215-e1af-1ccb-35aa149bed32'::uuid;

-- Query #8125 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd8f7b794-2215-e1af-1ccb-35aa149bed32'::uuid;

-- Query #8126 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d8f7b794-2215-e1af-1ccb-35aa149bed32'::uuid]);

-- Query #8127 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd8f7b794-2215-e1af-1ccb-35aa149bed32'::uuid;

-- Query #8128 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8129 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c0d4403-0679-3310-9d94-4639bc006b8a'::uuid;

-- Query #8130 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c0d4403-0679-3310-9d94-4639bc006b8a'::uuid]);

-- Query #8131 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1c0d4403-0679-3310-9d94-4639bc006b8a'::uuid;

-- Query #8132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c0d4403-0679-3310-9d94-4639bc006b8a'::uuid, 'Imdb', 'tt3680402')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c0d4403-0679-3310-9d94-4639bc006b8a'::uuid, 'Tmdb', 975265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c0d4403-0679-3310-9d94-4639bc006b8a'::uuid, 'TvMaze', 35266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8135 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a13b5f4-7e2d-09c6-fb75-410240df804f'::uuid;

-- Query #8136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c0d4403-0679-3310-9d94-4639bc006b8a'::uuid, 'Tvdb', 4840956)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c0d4403-0679-3310-9d94-4639bc006b8a'::uuid, 'TvRage', 1065543691)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c0d4403-0679-3310-9d94-4639bc006b8a'::uuid, 'trakt', 67887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8139 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c0d4403-0679-3310-9d94-4639bc006b8a'::uuid, 'TmdbCollection', 975265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8140 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c0d4403-0679-3310-9d94-4639bc006b8a'::uuid;

-- Query #8141 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1c0d4403-0679-3310-9d94-4639bc006b8a'::uuid;

-- Query #8142 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1c0d4403-0679-3310-9d94-4639bc006b8a'::uuid]);

-- Query #8143 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1c0d4403-0679-3310-9d94-4639bc006b8a'::uuid;

-- Query #8144 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8145 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a13b5f4-7e2d-09c6-fb75-410240df804f'::uuid]);

-- Query #8146 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4a13b5f4-7e2d-09c6-fb75-410240df804f'::uuid;

-- Query #8147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a13b5f4-7e2d-09c6-fb75-410240df804f'::uuid, 'Imdb', 'tt0750234')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a13b5f4-7e2d-09c6-fb75-410240df804f'::uuid, 'Tmdb', 299464)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a13b5f4-7e2d-09c6-fb75-410240df804f'::uuid, 'TvMaze', 111744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a13b5f4-7e2d-09c6-fb75-410240df804f'::uuid, 'Tvdb', 39872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a13b5f4-7e2d-09c6-fb75-410240df804f'::uuid, 'TvRage', 234054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a13b5f4-7e2d-09c6-fb75-410240df804f'::uuid, 'trakt', 308180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a13b5f4-7e2d-09c6-fb75-410240df804f'::uuid, 'TmdbCollection', 299464)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8154 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a13b5f4-7e2d-09c6-fb75-410240df804f'::uuid;

-- Query #8155 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4a13b5f4-7e2d-09c6-fb75-410240df804f'::uuid;

-- Query #8156 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4a13b5f4-7e2d-09c6-fb75-410240df804f'::uuid]);

-- Query #8157 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4a13b5f4-7e2d-09c6-fb75-410240df804f'::uuid;

-- Query #8158 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8159 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92c68e43-267a-4c60-f7e8-dd17d42209c7'::uuid;

-- Query #8160 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92c68e43-267a-4c60-f7e8-dd17d42209c7'::uuid]);

-- Query #8161 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '92c68e43-267a-4c60-f7e8-dd17d42209c7'::uuid;

-- Query #8162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92c68e43-267a-4c60-f7e8-dd17d42209c7'::uuid, 'Imdb', 'tt0750266')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92c68e43-267a-4c60-f7e8-dd17d42209c7'::uuid, 'Tmdb', 299466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92c68e43-267a-4c60-f7e8-dd17d42209c7'::uuid, 'TvMaze', 111746)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92c68e43-267a-4c60-f7e8-dd17d42209c7'::uuid, 'Tvdb', 39874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92c68e43-267a-4c60-f7e8-dd17d42209c7'::uuid, 'TvRage', 234056)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92c68e43-267a-4c60-f7e8-dd17d42209c7'::uuid, 'trakt', 308182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92c68e43-267a-4c60-f7e8-dd17d42209c7'::uuid, 'TmdbCollection', 299466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8169 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92c68e43-267a-4c60-f7e8-dd17d42209c7'::uuid;

-- Query #8170 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '92c68e43-267a-4c60-f7e8-dd17d42209c7'::uuid;

-- Query #8171 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['92c68e43-267a-4c60-f7e8-dd17d42209c7'::uuid]);

-- Query #8172 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '92c68e43-267a-4c60-f7e8-dd17d42209c7'::uuid;

-- Query #8173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8174 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c3b7fbe5-1eed-b2e0-7150-5f6ebfae746f'::uuid;

-- Query #8175 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3b7fbe5-1eed-b2e0-7150-5f6ebfae746f'::uuid]);

-- Query #8176 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c3b7fbe5-1eed-b2e0-7150-5f6ebfae746f'::uuid;

-- Query #8177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3b7fbe5-1eed-b2e0-7150-5f6ebfae746f'::uuid, 'Imdb', 'tt3868862')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3b7fbe5-1eed-b2e0-7150-5f6ebfae746f'::uuid, 'Tmdb', 1041486)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3b7fbe5-1eed-b2e0-7150-5f6ebfae746f'::uuid, 'TvMaze', 152873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3b7fbe5-1eed-b2e0-7150-5f6ebfae746f'::uuid, 'Tvdb', 5152631)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3b7fbe5-1eed-b2e0-7150-5f6ebfae746f'::uuid, 'TvRage', 1065743885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3b7fbe5-1eed-b2e0-7150-5f6ebfae746f'::uuid, 'trakt', 1701997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8183 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3b7fbe5-1eed-b2e0-7150-5f6ebfae746f'::uuid, 'TmdbCollection', 1041486)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8184 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c3b7fbe5-1eed-b2e0-7150-5f6ebfae746f'::uuid;

-- Query #8185 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c3b7fbe5-1eed-b2e0-7150-5f6ebfae746f'::uuid;

-- Query #8186 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c3b7fbe5-1eed-b2e0-7150-5f6ebfae746f'::uuid]);

-- Query #8187 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c3b7fbe5-1eed-b2e0-7150-5f6ebfae746f'::uuid;

-- Query #8188 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8189 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3080eaa5-8e5f-5c03-88bd-d40af6f63e2b'::uuid;

-- Query #8190 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3080eaa5-8e5f-5c03-88bd-d40af6f63e2b'::uuid]);

-- Query #8191 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3080eaa5-8e5f-5c03-88bd-d40af6f63e2b'::uuid;

-- Query #8192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3080eaa5-8e5f-5c03-88bd-d40af6f63e2b'::uuid, 'Imdb', 'tt0750267')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3080eaa5-8e5f-5c03-88bd-d40af6f63e2b'::uuid, 'Tmdb', 299467)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3080eaa5-8e5f-5c03-88bd-d40af6f63e2b'::uuid, 'TvMaze', 111747)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3080eaa5-8e5f-5c03-88bd-d40af6f63e2b'::uuid, 'Tvdb', 39875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3080eaa5-8e5f-5c03-88bd-d40af6f63e2b'::uuid, 'TvRage', 234057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3080eaa5-8e5f-5c03-88bd-d40af6f63e2b'::uuid, 'trakt', 308183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3080eaa5-8e5f-5c03-88bd-d40af6f63e2b'::uuid, 'TmdbCollection', 299467)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8199 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3080eaa5-8e5f-5c03-88bd-d40af6f63e2b'::uuid;

-- Query #8200 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3080eaa5-8e5f-5c03-88bd-d40af6f63e2b'::uuid;

-- Query #8201 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3080eaa5-8e5f-5c03-88bd-d40af6f63e2b'::uuid]);

-- Query #8202 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3080eaa5-8e5f-5c03-88bd-d40af6f63e2b'::uuid;

-- Query #8203 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8204 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b2691247-aa2b-602c-c5c2-df792584a9f8'::uuid;

-- Query #8205 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b2691247-aa2b-602c-c5c2-df792584a9f8'::uuid]);

-- Query #8206 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b2691247-aa2b-602c-c5c2-df792584a9f8'::uuid;

-- Query #8207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2691247-aa2b-602c-c5c2-df792584a9f8'::uuid, 'TvMaze', 154713)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2691247-aa2b-602c-c5c2-df792584a9f8'::uuid, 'Tvdb', 5173344)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2691247-aa2b-602c-c5c2-df792584a9f8'::uuid, 'TvRage', 1065792314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2691247-aa2b-602c-c5c2-df792584a9f8'::uuid, 'Imdb', 'tt3756834')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2691247-aa2b-602c-c5c2-df792584a9f8'::uuid, 'Tmdb', 1050297)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2691247-aa2b-602c-c5c2-df792584a9f8'::uuid, 'trakt', 1702004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2691247-aa2b-602c-c5c2-df792584a9f8'::uuid, 'TmdbCollection', 1050297)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b2691247-aa2b-602c-c5c2-df792584a9f8'::uuid;

-- Query #8215 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b2691247-aa2b-602c-c5c2-df792584a9f8'::uuid;

-- Query #8216 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18fc4a69-bd76-6354-1a46-3fc39b184d9c'::uuid;

-- Query #8217 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b2691247-aa2b-602c-c5c2-df792584a9f8'::uuid]);

-- Query #8218 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b2691247-aa2b-602c-c5c2-df792584a9f8'::uuid;

-- Query #8219 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8220 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['18fc4a69-bd76-6354-1a46-3fc39b184d9c'::uuid]);

-- Query #8221 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '18fc4a69-bd76-6354-1a46-3fc39b184d9c'::uuid;

-- Query #8222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18fc4a69-bd76-6354-1a46-3fc39b184d9c'::uuid, 'Imdb', 'tt0750237')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18fc4a69-bd76-6354-1a46-3fc39b184d9c'::uuid, 'Tmdb', 299473)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18fc4a69-bd76-6354-1a46-3fc39b184d9c'::uuid, 'TvMaze', 111753)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8225 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18fc4a69-bd76-6354-1a46-3fc39b184d9c'::uuid, 'Tvdb', 39881)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8226 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18fc4a69-bd76-6354-1a46-3fc39b184d9c'::uuid, 'TvRage', 234063)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8227 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18fc4a69-bd76-6354-1a46-3fc39b184d9c'::uuid, 'trakt', 308189)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18fc4a69-bd76-6354-1a46-3fc39b184d9c'::uuid, 'TmdbCollection', 299473)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8229 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18fc4a69-bd76-6354-1a46-3fc39b184d9c'::uuid;

-- Query #8230 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '18fc4a69-bd76-6354-1a46-3fc39b184d9c'::uuid;

-- Query #8231 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['18fc4a69-bd76-6354-1a46-3fc39b184d9c'::uuid]);

-- Query #8232 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '18fc4a69-bd76-6354-1a46-3fc39b184d9c'::uuid;

-- Query #8233 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8234 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0fc40c76-24c3-bdd7-226a-45080f08152d'::uuid;

-- Query #8235 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0fc40c76-24c3-bdd7-226a-45080f08152d'::uuid]);

-- Query #8236 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0fc40c76-24c3-bdd7-226a-45080f08152d'::uuid;

-- Query #8237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fc40c76-24c3-bdd7-226a-45080f08152d'::uuid, 'TvRage', 1065549852)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fc40c76-24c3-bdd7-226a-45080f08152d'::uuid, 'Imdb', 'tt3709284')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8239 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fc40c76-24c3-bdd7-226a-45080f08152d'::uuid, 'Tmdb', 975696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8240 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fc40c76-24c3-bdd7-226a-45080f08152d'::uuid, 'TvMaze', 35267)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8241 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fc40c76-24c3-bdd7-226a-45080f08152d'::uuid, 'Tvdb', 4840957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8242 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fc40c76-24c3-bdd7-226a-45080f08152d'::uuid, 'trakt', 67888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8243 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fc40c76-24c3-bdd7-226a-45080f08152d'::uuid, 'TmdbCollection', 975696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0fc40c76-24c3-bdd7-226a-45080f08152d'::uuid;

-- Query #8245 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0fc40c76-24c3-bdd7-226a-45080f08152d'::uuid;

-- Query #8246 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0fc40c76-24c3-bdd7-226a-45080f08152d'::uuid]);

-- Query #8247 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #8248 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0fc40c76-24c3-bdd7-226a-45080f08152d'::uuid;

-- Query #8249 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8250 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '639f4c2c-272e-7578-9437-850022edb8ce'::uuid;

-- Query #8251 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['639f4c2c-272e-7578-9437-850022edb8ce'::uuid]);

-- Query #8252 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '639f4c2c-272e-7578-9437-850022edb8ce'::uuid;

-- Query #8253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('639f4c2c-272e-7578-9437-850022edb8ce'::uuid, 'Imdb', 'tt0750243')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('639f4c2c-272e-7578-9437-850022edb8ce'::uuid, 'Tmdb', 299471)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('639f4c2c-272e-7578-9437-850022edb8ce'::uuid, 'TvMaze', 111751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('639f4c2c-272e-7578-9437-850022edb8ce'::uuid, 'Tvdb', 39879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8257 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('639f4c2c-272e-7578-9437-850022edb8ce'::uuid, 'TvRage', 234061)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8258 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('639f4c2c-272e-7578-9437-850022edb8ce'::uuid, 'trakt', 308187)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8259 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('639f4c2c-272e-7578-9437-850022edb8ce'::uuid, 'TmdbCollection', 299471)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8260 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '639f4c2c-272e-7578-9437-850022edb8ce'::uuid;

-- Query #8261 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '639f4c2c-272e-7578-9437-850022edb8ce'::uuid;

-- Query #8262 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['639f4c2c-272e-7578-9437-850022edb8ce'::uuid]);

-- Query #8263 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '639f4c2c-272e-7578-9437-850022edb8ce'::uuid;

-- Query #8264 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8265 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '872acf50-7b8c-0d4c-3452-e0b3332bd770'::uuid;

-- Query #8266 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['872acf50-7b8c-0d4c-3452-e0b3332bd770'::uuid]);

-- Query #8267 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '872acf50-7b8c-0d4c-3452-e0b3332bd770'::uuid;

-- Query #8268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('872acf50-7b8c-0d4c-3452-e0b3332bd770'::uuid, 'Imdb', 'tt3239886')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('872acf50-7b8c-0d4c-3452-e0b3332bd770'::uuid, 'Tmdb', 1041484)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('872acf50-7b8c-0d4c-3452-e0b3332bd770'::uuid, 'TvMaze', 117599)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8271 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('872acf50-7b8c-0d4c-3452-e0b3332bd770'::uuid, 'Tvdb', 5098290)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8272 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('872acf50-7b8c-0d4c-3452-e0b3332bd770'::uuid, 'TvRage', 1065739773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8273 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('872acf50-7b8c-0d4c-3452-e0b3332bd770'::uuid, 'trakt', 1701996)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('872acf50-7b8c-0d4c-3452-e0b3332bd770'::uuid, 'TmdbCollection', 1041484)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8275 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '872acf50-7b8c-0d4c-3452-e0b3332bd770'::uuid;

-- Query #8276 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '872acf50-7b8c-0d4c-3452-e0b3332bd770'::uuid;

-- Query #8277 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['872acf50-7b8c-0d4c-3452-e0b3332bd770'::uuid]);

-- Query #8278 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '872acf50-7b8c-0d4c-3452-e0b3332bd770'::uuid;

-- Query #8279 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8280 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '56b72ed9-44be-fe17-ce7a-28c9ec2c2122'::uuid;

-- Query #8281 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56b72ed9-44be-fe17-ce7a-28c9ec2c2122'::uuid]);

-- Query #8282 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '56b72ed9-44be-fe17-ce7a-28c9ec2c2122'::uuid;

-- Query #8283 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56b72ed9-44be-fe17-ce7a-28c9ec2c2122'::uuid, 'TmdbCollection', 299472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8284 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56b72ed9-44be-fe17-ce7a-28c9ec2c2122'::uuid, 'Imdb', 'tt0750244')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8285 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56b72ed9-44be-fe17-ce7a-28c9ec2c2122'::uuid, 'Tmdb', 299472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8286 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56b72ed9-44be-fe17-ce7a-28c9ec2c2122'::uuid, 'TvMaze', 111752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8287 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56b72ed9-44be-fe17-ce7a-28c9ec2c2122'::uuid, 'Tvdb', 39880)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56b72ed9-44be-fe17-ce7a-28c9ec2c2122'::uuid, 'TvRage', 234062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56b72ed9-44be-fe17-ce7a-28c9ec2c2122'::uuid, 'trakt', 308188)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8290 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '56b72ed9-44be-fe17-ce7a-28c9ec2c2122'::uuid;

-- Query #8291 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '56b72ed9-44be-fe17-ce7a-28c9ec2c2122'::uuid;

-- Query #8292 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['56b72ed9-44be-fe17-ce7a-28c9ec2c2122'::uuid]);

-- Query #8293 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '56b72ed9-44be-fe17-ce7a-28c9ec2c2122'::uuid;

-- Query #8294 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8295 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab4551e4-ebcf-3a0c-bc3a-fa67cd8dea95'::uuid;

-- Query #8296 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab4551e4-ebcf-3a0c-bc3a-fa67cd8dea95'::uuid]);

-- Query #8297 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ab4551e4-ebcf-3a0c-bc3a-fa67cd8dea95'::uuid;

-- Query #8298 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab4551e4-ebcf-3a0c-bc3a-fa67cd8dea95'::uuid, 'Imdb', 'tt3709286')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8299 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab4551e4-ebcf-3a0c-bc3a-fa67cd8dea95'::uuid, 'Tmdb', 975954)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab4551e4-ebcf-3a0c-bc3a-fa67cd8dea95'::uuid, 'TvMaze', 35268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8301 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab4551e4-ebcf-3a0c-bc3a-fa67cd8dea95'::uuid, 'Tvdb', 4840958)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab4551e4-ebcf-3a0c-bc3a-fa67cd8dea95'::uuid, 'TvRage', 1065554961)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab4551e4-ebcf-3a0c-bc3a-fa67cd8dea95'::uuid, 'trakt', 67889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab4551e4-ebcf-3a0c-bc3a-fa67cd8dea95'::uuid, 'TmdbCollection', 975954)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8305 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab4551e4-ebcf-3a0c-bc3a-fa67cd8dea95'::uuid;

-- Query #8306 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ab4551e4-ebcf-3a0c-bc3a-fa67cd8dea95'::uuid;

-- Query #8307 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ab4551e4-ebcf-3a0c-bc3a-fa67cd8dea95'::uuid]);

-- Query #8308 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ab4551e4-ebcf-3a0c-bc3a-fa67cd8dea95'::uuid;

-- Query #8309 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8310 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c6ce8f1b-ea7b-26e3-0681-e19b7bec3fad'::uuid;

-- Query #8311 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c6ce8f1b-ea7b-26e3-0681-e19b7bec3fad'::uuid]);

-- Query #8312 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c6ce8f1b-ea7b-26e3-0681-e19b7bec3fad'::uuid;

-- Query #8313 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6ce8f1b-ea7b-26e3-0681-e19b7bec3fad'::uuid, 'TmdbCollection', 299470)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6ce8f1b-ea7b-26e3-0681-e19b7bec3fad'::uuid, 'Imdb', 'tt0750246')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8315 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6ce8f1b-ea7b-26e3-0681-e19b7bec3fad'::uuid, 'Tmdb', 299470)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8316 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6ce8f1b-ea7b-26e3-0681-e19b7bec3fad'::uuid, 'TvMaze', 111750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6ce8f1b-ea7b-26e3-0681-e19b7bec3fad'::uuid, 'Tvdb', 39878)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8318 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6ce8f1b-ea7b-26e3-0681-e19b7bec3fad'::uuid, 'TvRage', 234060)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6ce8f1b-ea7b-26e3-0681-e19b7bec3fad'::uuid, 'trakt', 308186)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8320 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c6ce8f1b-ea7b-26e3-0681-e19b7bec3fad'::uuid;

-- Query #8321 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c6ce8f1b-ea7b-26e3-0681-e19b7bec3fad'::uuid;

-- Query #8322 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c6ce8f1b-ea7b-26e3-0681-e19b7bec3fad'::uuid]);

-- Query #8323 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c6ce8f1b-ea7b-26e3-0681-e19b7bec3fad'::uuid;

-- Query #8324 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8325 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74faff71-cd70-b665-6710-e46783848f3a'::uuid;

-- Query #8326 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['74faff71-cd70-b665-6710-e46783848f3a'::uuid]);

-- Query #8327 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '74faff71-cd70-b665-6710-e46783848f3a'::uuid;

-- Query #8328 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74faff71-cd70-b665-6710-e46783848f3a'::uuid, 'Imdb', 'tt3707054')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8329 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74faff71-cd70-b665-6710-e46783848f3a'::uuid, 'Tmdb', 1050166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8330 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74faff71-cd70-b665-6710-e46783848f3a'::uuid, 'TvMaze', 152875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74faff71-cd70-b665-6710-e46783848f3a'::uuid, 'Tvdb', 5173339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74faff71-cd70-b665-6710-e46783848f3a'::uuid, 'TvRage', 1065776746)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8333 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74faff71-cd70-b665-6710-e46783848f3a'::uuid, 'trakt', 1701999)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74faff71-cd70-b665-6710-e46783848f3a'::uuid, 'TmdbCollection', 1050166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8335 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74faff71-cd70-b665-6710-e46783848f3a'::uuid;

-- Query #8336 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '74faff71-cd70-b665-6710-e46783848f3a'::uuid;

-- Query #8337 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['74faff71-cd70-b665-6710-e46783848f3a'::uuid]);

-- Query #8338 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '74faff71-cd70-b665-6710-e46783848f3a'::uuid;

-- Query #8339 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8340 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5562d038-d923-bb8b-8a09-a193533e1321'::uuid;

-- Query #8341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5562d038-d923-bb8b-8a09-a193533e1321'::uuid]);

-- Query #8342 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5562d038-d923-bb8b-8a09-a193533e1321'::uuid;

-- Query #8343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5562d038-d923-bb8b-8a09-a193533e1321'::uuid, 'Imdb', 'tt0750278')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5562d038-d923-bb8b-8a09-a193533e1321'::uuid, 'Tmdb', 299469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5562d038-d923-bb8b-8a09-a193533e1321'::uuid, 'TvMaze', 111749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5562d038-d923-bb8b-8a09-a193533e1321'::uuid, 'Tvdb', 39877)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8347 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5562d038-d923-bb8b-8a09-a193533e1321'::uuid, 'TvRage', 234059)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8348 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5562d038-d923-bb8b-8a09-a193533e1321'::uuid, 'trakt', 308185)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8349 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5562d038-d923-bb8b-8a09-a193533e1321'::uuid, 'TmdbCollection', 299469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8350 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5562d038-d923-bb8b-8a09-a193533e1321'::uuid;

-- Query #8351 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5562d038-d923-bb8b-8a09-a193533e1321'::uuid;

-- Query #8352 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+CBS', '6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #8353 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5562d038-d923-bb8b-8a09-a193533e1321'::uuid]);

-- Query #8354 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5562d038-d923-bb8b-8a09-a193533e1321'::uuid;

-- Query #8355 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8356 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4681aaf1-23f8-5679-dbdb-156f0a77f188'::uuid;

-- Query #8357 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4681aaf1-23f8-5679-dbdb-156f0a77f188'::uuid]);

-- Query #8358 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4681aaf1-23f8-5679-dbdb-156f0a77f188'::uuid;

-- Query #8359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4681aaf1-23f8-5679-dbdb-156f0a77f188'::uuid, 'TmdbCollection', 974138)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8360 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4681aaf1-23f8-5679-dbdb-156f0a77f188'::uuid, 'Imdb', 'tt3029774')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8361 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4681aaf1-23f8-5679-dbdb-156f0a77f188'::uuid, 'Tmdb', 974138)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8362 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4681aaf1-23f8-5679-dbdb-156f0a77f188'::uuid, 'TvMaze', 35263)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8363 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4681aaf1-23f8-5679-dbdb-156f0a77f188'::uuid, 'Tvdb', 4766129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8364 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4681aaf1-23f8-5679-dbdb-156f0a77f188'::uuid, 'TvRage', 1065442626)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8365 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4681aaf1-23f8-5679-dbdb-156f0a77f188'::uuid, 'trakt', 67884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8366 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4681aaf1-23f8-5679-dbdb-156f0a77f188'::uuid;

-- Query #8367 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4681aaf1-23f8-5679-dbdb-156f0a77f188'::uuid;

-- Query #8368 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4681aaf1-23f8-5679-dbdb-156f0a77f188'::uuid]);

-- Query #8369 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4681aaf1-23f8-5679-dbdb-156f0a77f188'::uuid;

-- Query #8370 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '94397664-b58c-8e24-ecae-494f356cce06'::uuid;

-- Query #8372 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['94397664-b58c-8e24-ecae-494f356cce06'::uuid]);

-- Query #8373 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '94397664-b58c-8e24-ecae-494f356cce06'::uuid;

-- Query #8374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94397664-b58c-8e24-ecae-494f356cce06'::uuid, 'Imdb', 'tt0750285')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8375 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94397664-b58c-8e24-ecae-494f356cce06'::uuid, 'Tmdb', 299475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8376 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94397664-b58c-8e24-ecae-494f356cce06'::uuid, 'TvMaze', 111755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8377 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94397664-b58c-8e24-ecae-494f356cce06'::uuid, 'Tvdb', 39883)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8378 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94397664-b58c-8e24-ecae-494f356cce06'::uuid, 'TvRage', 234065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8379 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94397664-b58c-8e24-ecae-494f356cce06'::uuid, 'trakt', 308191)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94397664-b58c-8e24-ecae-494f356cce06'::uuid, 'TmdbCollection', 299475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8381 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '94397664-b58c-8e24-ecae-494f356cce06'::uuid;

-- Query #8382 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '94397664-b58c-8e24-ecae-494f356cce06'::uuid;

-- Query #8383 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['94397664-b58c-8e24-ecae-494f356cce06'::uuid]);

-- Query #8384 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '94397664-b58c-8e24-ecae-494f356cce06'::uuid;

-- Query #8385 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8386 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3d812c8-e1a8-3e94-6e56-50706ad7e46a'::uuid;

-- Query #8387 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '27e75945-d651-7044-b8bf-53c479a7f993'::uuid;

-- Query #8388 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b3d812c8-e1a8-3e94-6e56-50706ad7e46a'::uuid]);

-- Query #8389 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b3d812c8-e1a8-3e94-6e56-50706ad7e46a'::uuid;

-- Query #8390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3d812c8-e1a8-3e94-6e56-50706ad7e46a'::uuid, 'TmdbCollection', 299463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3d812c8-e1a8-3e94-6e56-50706ad7e46a'::uuid, 'Imdb', 'tt0750284')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8392 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['27e75945-d651-7044-b8bf-53c479a7f993'::uuid]);

-- Query #8393 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3d812c8-e1a8-3e94-6e56-50706ad7e46a'::uuid, 'Tmdb', 299463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8394 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3d812c8-e1a8-3e94-6e56-50706ad7e46a'::uuid, 'TvMaze', 111743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8395 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '27e75945-d651-7044-b8bf-53c479a7f993'::uuid;

-- Query #8396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3d812c8-e1a8-3e94-6e56-50706ad7e46a'::uuid, 'Tvdb', 39871)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e75945-d651-7044-b8bf-53c479a7f993'::uuid, 'Imdb', 'tt3740788')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3d812c8-e1a8-3e94-6e56-50706ad7e46a'::uuid, 'TvRage', 234053)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e75945-d651-7044-b8bf-53c479a7f993'::uuid, 'Tmdb', 975955)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3d812c8-e1a8-3e94-6e56-50706ad7e46a'::uuid, 'trakt', 308179)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e75945-d651-7044-b8bf-53c479a7f993'::uuid, 'TvMaze', 35269)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8402 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3d812c8-e1a8-3e94-6e56-50706ad7e46a'::uuid;

-- Query #8403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e75945-d651-7044-b8bf-53c479a7f993'::uuid, 'Tvdb', 4840959)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e75945-d651-7044-b8bf-53c479a7f993'::uuid, 'TvRage', 1065558749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8405 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b3d812c8-e1a8-3e94-6e56-50706ad7e46a'::uuid;

-- Query #8406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e75945-d651-7044-b8bf-53c479a7f993'::uuid, 'trakt', 67890)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8407 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e75945-d651-7044-b8bf-53c479a7f993'::uuid, 'TmdbCollection', 975955)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8408 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '27e75945-d651-7044-b8bf-53c479a7f993'::uuid;

-- Query #8409 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '27e75945-d651-7044-b8bf-53c479a7f993'::uuid;

-- Query #8410 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b3d812c8-e1a8-3e94-6e56-50706ad7e46a'::uuid]);

-- Query #8411 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b3d812c8-e1a8-3e94-6e56-50706ad7e46a'::uuid;

-- Query #8412 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['27e75945-d651-7044-b8bf-53c479a7f993'::uuid]);

-- Query #8413 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8414 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '27e75945-d651-7044-b8bf-53c479a7f993'::uuid;

-- Query #8415 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid, '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8416 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '644d63b4-e274-878b-ba07-05f16284fdd1'::uuid
ORDER BY b."SortName";

-- Query #8417 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c746b7a6-98d8-929f-e54e-9a1beb19e84e'::uuid
ORDER BY b."SortName";

-- Query #8418 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '78e47287-ec28-ef77-80f4-6e8514cf4d6e'::uuid
ORDER BY b."SortName";

-- Query #8419 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '49b5f509-ecb1-43d2-5b47-592959bcd219'::uuid
ORDER BY b."SortName";

-- Query #8420 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3f59637-1dcb-b7a2-a703-ccda5f337cf8'::uuid;

-- Query #8421 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7ba8b75c-96b8-7a7b-7ba2-cd0093dae4f0'::uuid
ORDER BY b."SortName";

-- Query #8422 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3f59637-1dcb-b7a2-a703-ccda5f337cf8'::uuid]);

-- Query #8423 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f3f59637-1dcb-b7a2-a703-ccda5f337cf8'::uuid;

-- Query #8424 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1b12695c-71e6-ed71-2674-71eae5602767'::uuid
ORDER BY b."SortName";

-- Query #8425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3f59637-1dcb-b7a2-a703-ccda5f337cf8'::uuid, 'Imdb', 'tt0750286')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3f59637-1dcb-b7a2-a703-ccda5f337cf8'::uuid, 'Tmdb', 299468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3f59637-1dcb-b7a2-a703-ccda5f337cf8'::uuid, 'TvMaze', 111748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3f59637-1dcb-b7a2-a703-ccda5f337cf8'::uuid, 'Tvdb', 39876)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3f59637-1dcb-b7a2-a703-ccda5f337cf8'::uuid, 'TvRage', 234058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3f59637-1dcb-b7a2-a703-ccda5f337cf8'::uuid, 'trakt', 308184)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3f59637-1dcb-b7a2-a703-ccda5f337cf8'::uuid, 'TmdbCollection', 299468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8432 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3f59637-1dcb-b7a2-a703-ccda5f337cf8'::uuid;

-- Query #8433 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f3f59637-1dcb-b7a2-a703-ccda5f337cf8'::uuid;

-- Query #8434 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '529a2c9f-3e7e-f786-b5c1-e0ffd4103042'::uuid
ORDER BY b."SortName";

-- Query #8435 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f3f59637-1dcb-b7a2-a703-ccda5f337cf8'::uuid]);

-- Query #8436 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f3f59637-1dcb-b7a2-a703-ccda5f337cf8'::uuid;

-- Query #8437 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8438 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b71f287d-7b6d-d261-e9c1-36a244cf26ce'::uuid
ORDER BY b."SortName";

-- Query #8439 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '644d63b4e274878bba0705f16284fdd1'
ORDER BY b."SortName", b."Name";

-- Query #8440 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e58a6f1-dbec-6208-a7b3-2838a30c6e70'::uuid;

-- Query #8441 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6e58a6f1-dbec-6208-a7b3-2838a30c6e70'::uuid]);

-- Query #8442 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6e58a6f1-dbec-6208-a7b3-2838a30c6e70'::uuid;

-- Query #8443 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid
ORDER BY b."SortName";

-- Query #8444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e58a6f1-dbec-6208-a7b3-2838a30c6e70'::uuid, 'Imdb', 'tt0750229')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e58a6f1-dbec-6208-a7b3-2838a30c6e70'::uuid, 'Tmdb', 299478)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8446 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid])
ORDER BY b."Id";

-- Query #8447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e58a6f1-dbec-6208-a7b3-2838a30c6e70'::uuid, 'TvMaze', 111757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e58a6f1-dbec-6208-a7b3-2838a30c6e70'::uuid, 'Tvdb', 39885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8449 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid])
ORDER BY b."Id";

-- Query #8450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e58a6f1-dbec-6208-a7b3-2838a30c6e70'::uuid, 'TvRage', 234067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e58a6f1-dbec-6208-a7b3-2838a30c6e70'::uuid, 'trakt', 308194)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8452 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid])
ORDER BY b."Id";

-- Query #8453 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e58a6f1-dbec-6208-a7b3-2838a30c6e70'::uuid, 'TmdbCollection', 299478)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8454 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid])
ORDER BY b."Id";

-- Query #8455 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e58a6f1-dbec-6208-a7b3-2838a30c6e70'::uuid;

-- Query #8456 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid])
ORDER BY b."Id";

-- Query #8457 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6e58a6f1-dbec-6208-a7b3-2838a30c6e70'::uuid;

-- Query #8458 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid
ORDER BY b."SortName";

-- Query #8459 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6e58a6f1-dbec-6208-a7b3-2838a30c6e70'::uuid]);

-- Query #8460 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6e58a6f1-dbec-6208-a7b3-2838a30c6e70'::uuid;

-- Query #8461 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8462 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid
ORDER BY b."SortName";

-- Query #8463 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid
ORDER BY b."SortName";

-- Query #8464 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid
ORDER BY b."SortName";

-- Query #8465 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid
ORDER BY b."SortName";

-- Query #8466 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8aa1b0e-078e-f42c-929d-73fe01e14a16'::uuid;

-- Query #8467 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8aa1b0e-078e-f42c-929d-73fe01e14a16'::uuid]);

-- Query #8468 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f8aa1b0e-078e-f42c-929d-73fe01e14a16'::uuid;

-- Query #8469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8aa1b0e-078e-f42c-929d-73fe01e14a16'::uuid, 'Imdb', 'tt0750259')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8aa1b0e-078e-f42c-929d-73fe01e14a16'::uuid, 'Tmdb', 299480)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8aa1b0e-078e-f42c-929d-73fe01e14a16'::uuid, 'TvMaze', 111759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8aa1b0e-078e-f42c-929d-73fe01e14a16'::uuid, 'Tvdb', 39887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8473 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8aa1b0e-078e-f42c-929d-73fe01e14a16'::uuid, 'TvRage', 234069)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8aa1b0e-078e-f42c-929d-73fe01e14a16'::uuid, 'trakt', 308196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8aa1b0e-078e-f42c-929d-73fe01e14a16'::uuid, 'TmdbCollection', 299480)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8476 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8aa1b0e-078e-f42c-929d-73fe01e14a16'::uuid;

-- Query #8477 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f8aa1b0e-078e-f42c-929d-73fe01e14a16'::uuid;

-- Query #8478 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+CBS', '6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #8479 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f8aa1b0e-078e-f42c-929d-73fe01e14a16'::uuid]);

-- Query #8480 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f8aa1b0e-078e-f42c-929d-73fe01e14a16'::uuid;

-- Query #8481 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8482 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '391862d4-e867-1190-f347-2e65202ac50e'::uuid;

-- Query #8483 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['391862d4-e867-1190-f347-2e65202ac50e'::uuid]);

-- Query #8484 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '391862d4-e867-1190-f347-2e65202ac50e'::uuid;

-- Query #8485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('391862d4-e867-1190-f347-2e65202ac50e'::uuid, 'TmdbCollection', 299488)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('391862d4-e867-1190-f347-2e65202ac50e'::uuid, 'Imdb', 'tt0750265')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('391862d4-e867-1190-f347-2e65202ac50e'::uuid, 'Tmdb', 299488)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('391862d4-e867-1190-f347-2e65202ac50e'::uuid, 'TvMaze', 111767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('391862d4-e867-1190-f347-2e65202ac50e'::uuid, 'Tvdb', 39895)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('391862d4-e867-1190-f347-2e65202ac50e'::uuid, 'TvRage', 234077)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('391862d4-e867-1190-f347-2e65202ac50e'::uuid, 'trakt', 308204)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8492 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '391862d4-e867-1190-f347-2e65202ac50e'::uuid;

-- Query #8493 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '391862d4-e867-1190-f347-2e65202ac50e'::uuid;

-- Query #8494 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['391862d4-e867-1190-f347-2e65202ac50e'::uuid]);

-- Query #8495 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '391862d4-e867-1190-f347-2e65202ac50e'::uuid;

-- Query #8496 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8497 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4f3c7cce-137d-b09f-dd40-e4da4d8d11fc'::uuid;

-- Query #8498 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f3c7cce-137d-b09f-dd40-e4da4d8d11fc'::uuid]);

-- Query #8499 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4f3c7cce-137d-b09f-dd40-e4da4d8d11fc'::uuid;

-- Query #8500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f3c7cce-137d-b09f-dd40-e4da4d8d11fc'::uuid, 'Imdb', 'tt0750231')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f3c7cce-137d-b09f-dd40-e4da4d8d11fc'::uuid, 'Tmdb', 299492)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f3c7cce-137d-b09f-dd40-e4da4d8d11fc'::uuid, 'TvMaze', 111771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f3c7cce-137d-b09f-dd40-e4da4d8d11fc'::uuid, 'Tvdb', 39899)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8504 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f3c7cce-137d-b09f-dd40-e4da4d8d11fc'::uuid, 'TvRage', 234081)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f3c7cce-137d-b09f-dd40-e4da4d8d11fc'::uuid, 'trakt', 308208)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f3c7cce-137d-b09f-dd40-e4da4d8d11fc'::uuid, 'TmdbCollection', 299492)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8507 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4f3c7cce-137d-b09f-dd40-e4da4d8d11fc'::uuid;

-- Query #8508 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4f3c7cce-137d-b09f-dd40-e4da4d8d11fc'::uuid;

-- Query #8509 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4f3c7cce-137d-b09f-dd40-e4da4d8d11fc'::uuid]);

-- Query #8510 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4f3c7cce-137d-b09f-dd40-e4da4d8d11fc'::uuid;

-- Query #8511 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8512 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f643904-691f-2b29-3329-b49bc63f9186'::uuid;

-- Query #8513 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f643904-691f-2b29-3329-b49bc63f9186'::uuid]);

-- Query #8514 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9f643904-691f-2b29-3329-b49bc63f9186'::uuid;

-- Query #8515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f643904-691f-2b29-3329-b49bc63f9186'::uuid, 'Imdb', 'tt0750232')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f643904-691f-2b29-3329-b49bc63f9186'::uuid, 'Tmdb', 299491)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f643904-691f-2b29-3329-b49bc63f9186'::uuid, 'TvMaze', 111770)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f643904-691f-2b29-3329-b49bc63f9186'::uuid, 'Tvdb', 39898)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f643904-691f-2b29-3329-b49bc63f9186'::uuid, 'TvRage', 234080)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f643904-691f-2b29-3329-b49bc63f9186'::uuid, 'trakt', 308207)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f643904-691f-2b29-3329-b49bc63f9186'::uuid, 'TmdbCollection', 299491)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8522 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f643904-691f-2b29-3329-b49bc63f9186'::uuid;

-- Query #8523 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9f643904-691f-2b29-3329-b49bc63f9186'::uuid;

-- Query #8524 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9f643904-691f-2b29-3329-b49bc63f9186'::uuid]);

-- Query #8525 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9f643904-691f-2b29-3329-b49bc63f9186'::uuid;

-- Query #8526 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8527 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid;

-- Query #8528 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid]);

-- Query #8529 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2aaac1f5-2c10-c96c-6308-db09da0dbd0a'::uuid;

-- Query #8530 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid;

-- Query #8531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, 'facebook', 'MagnumPICBS')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, 'Imdb', 'tt7942796')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, 'instagram', 'MagnumPICBS')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, 'official website', 'https://www.nbc.com/magnum-pi')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8535 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2aaac1f5-2c10-c96c-6308-db09da0dbd0a'::uuid]);

-- Query #8536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, 'Tmdb', 79593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8537 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2aaac1f5-2c10-c96c-6308-db09da0dbd0a'::uuid;

-- Query #8538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, 'TmdbCollection', 79593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8539 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, 'Tvdb', 350068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8540 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2aaac1f5-2c10-c96c-6308-db09da0dbd0a'::uuid, 'TmdbCollection', 299494)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8541 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, 'TvMaze', 32819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8542 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2aaac1f5-2c10-c96c-6308-db09da0dbd0a'::uuid, 'Imdb', 'tt0750235')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8543 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, 'wikidata', 'Q53230783')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2aaac1f5-2c10-c96c-6308-db09da0dbd0a'::uuid, 'Tmdb', 299494)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2aaac1f5-2c10-c96c-6308-db09da0dbd0a'::uuid, 'TvMaze', 111773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2aaac1f5-2c10-c96c-6308-db09da0dbd0a'::uuid, 'Tvdb', 39901)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8547 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid;

-- Query #8548 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid;

-- Query #8549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2aaac1f5-2c10-c96c-6308-db09da0dbd0a'::uuid, 'TvRage', 234083)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2aaac1f5-2c10-c96c-6308-db09da0dbd0a'::uuid, 'trakt', 308210)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8551 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2aaac1f5-2c10-c96c-6308-db09da0dbd0a'::uuid;

-- Query #8552 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2aaac1f5-2c10-c96c-6308-db09da0dbd0a'::uuid;

-- Query #8553 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid]);

-- Query #8554 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2aaac1f5-2c10-c96c-6308-db09da0dbd0a'::uuid]);

-- Query #8555 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid;

-- Query #8556 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2aaac1f5-2c10-c96c-6308-db09da0dbd0a'::uuid;

-- Query #8557 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8558 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8559 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '317cf53da15d3fbabbf8dbc7bc726bad'
ORDER BY b."SortName", b."Name";

-- Query #8560 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '996f2b55-7101-f1ac-0644-0ffd804554a1'::uuid;

-- Query #8561 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid
ORDER BY b."SortName";

-- Query #8562 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid])
ORDER BY b."Id";

-- Query #8563 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid])
ORDER BY b."Id";

-- Query #8564 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid])
ORDER BY b."Id";

-- Query #8565 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['996f2b55-7101-f1ac-0644-0ffd804554a1'::uuid]);

-- Query #8566 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid])
ORDER BY b."Id";

-- Query #8567 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '996f2b55-7101-f1ac-0644-0ffd804554a1'::uuid;

-- Query #8568 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid])
ORDER BY b."Id";

-- Query #8569 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('996f2b55-7101-f1ac-0644-0ffd804554a1'::uuid, 'Imdb', 'tt0750269')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('996f2b55-7101-f1ac-0644-0ffd804554a1'::uuid, 'Tmdb', 299497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('996f2b55-7101-f1ac-0644-0ffd804554a1'::uuid, 'TvMaze', 111776)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8572 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid
ORDER BY b."SortName";

-- Query #8573 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('996f2b55-7101-f1ac-0644-0ffd804554a1'::uuid, 'Tvdb', 39904)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8574 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('996f2b55-7101-f1ac-0644-0ffd804554a1'::uuid, 'TvRage', 234086)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('996f2b55-7101-f1ac-0644-0ffd804554a1'::uuid, 'trakt', 308213)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('996f2b55-7101-f1ac-0644-0ffd804554a1'::uuid, 'TmdbCollection', 299497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8577 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '996f2b55-7101-f1ac-0644-0ffd804554a1'::uuid;

-- Query #8578 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '996f2b55-7101-f1ac-0644-0ffd804554a1'::uuid;

-- Query #8579 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['996f2b55-7101-f1ac-0644-0ffd804554a1'::uuid]);

-- Query #8580 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid
ORDER BY b."SortName";

-- Query #8581 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '996f2b55-7101-f1ac-0644-0ffd804554a1'::uuid;

-- Query #8582 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8583 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid
ORDER BY b."SortName";

-- Query #8584 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid
ORDER BY b."SortName";

-- Query #8585 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid
ORDER BY b."SortName";

-- Query #8586 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '317cf53da15d3fbabbf8dbc7bc726bad'
ORDER BY b."SortName", b."Name";

-- Query #8587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd782994-52d8-73dd-015c-ee5ab4c52ce8'::uuid;

-- Query #8588 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd782994-52d8-73dd-015c-ee5ab4c52ce8'::uuid]);

-- Query #8589 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bd782994-52d8-73dd-015c-ee5ab4c52ce8'::uuid;

-- Query #8590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd782994-52d8-73dd-015c-ee5ab4c52ce8'::uuid, 'Imdb', 'tt0750241')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd782994-52d8-73dd-015c-ee5ab4c52ce8'::uuid, 'Tmdb', 299484)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8592 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd782994-52d8-73dd-015c-ee5ab4c52ce8'::uuid, 'TvMaze', 111763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8593 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd782994-52d8-73dd-015c-ee5ab4c52ce8'::uuid, 'Tvdb', 39891)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd782994-52d8-73dd-015c-ee5ab4c52ce8'::uuid, 'TvRage', 234073)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd782994-52d8-73dd-015c-ee5ab4c52ce8'::uuid, 'trakt', 308200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd782994-52d8-73dd-015c-ee5ab4c52ce8'::uuid, 'TmdbCollection', 299484)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8597 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd782994-52d8-73dd-015c-ee5ab4c52ce8'::uuid;

-- Query #8598 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bd782994-52d8-73dd-015c-ee5ab4c52ce8'::uuid;

-- Query #8599 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+CBS', '6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #8600 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bd782994-52d8-73dd-015c-ee5ab4c52ce8'::uuid]);

-- Query #8601 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bd782994-52d8-73dd-015c-ee5ab4c52ce8'::uuid;

-- Query #8602 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8603 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09701bbb-1d33-0143-9dba-a87029e60aee'::uuid;

-- Query #8604 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09701bbb-1d33-0143-9dba-a87029e60aee'::uuid]);

-- Query #8605 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '09701bbb-1d33-0143-9dba-a87029e60aee'::uuid;

-- Query #8606 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09701bbb-1d33-0143-9dba-a87029e60aee'::uuid, 'TmdbCollection', 299493)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8607 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09701bbb-1d33-0143-9dba-a87029e60aee'::uuid, 'Imdb', 'tt0750242')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8608 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09701bbb-1d33-0143-9dba-a87029e60aee'::uuid, 'Tmdb', 299493)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8609 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09701bbb-1d33-0143-9dba-a87029e60aee'::uuid, 'TvMaze', 111772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09701bbb-1d33-0143-9dba-a87029e60aee'::uuid, 'Tvdb', 39900)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09701bbb-1d33-0143-9dba-a87029e60aee'::uuid, 'TvRage', 234082)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09701bbb-1d33-0143-9dba-a87029e60aee'::uuid, 'trakt', 308209)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8613 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09701bbb-1d33-0143-9dba-a87029e60aee'::uuid;

-- Query #8614 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '09701bbb-1d33-0143-9dba-a87029e60aee'::uuid;

-- Query #8615 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+CBS', '6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #8616 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['09701bbb-1d33-0143-9dba-a87029e60aee'::uuid]);

-- Query #8617 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid;

-- Query #8618 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '09701bbb-1d33-0143-9dba-a87029e60aee'::uuid;

-- Query #8619 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8620 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid]);

-- Query #8621 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid;

-- Query #8622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'Tvdb', 350068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'Tmdb', 79593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'Imdb', 'tt7942796')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8625 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'wikidata', 'Q53230783')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'TvMaze', 32819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'TmdbCollection', 79593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8628 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid;

-- Query #8629 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid;

-- Query #8630 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+hawaii', '6+military veteran', '6+private investigator', '6+reboot', '6+remake']);

-- Query #8631 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid]);

-- Query #8632 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid;

-- Query #8633 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8634 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '317cf53da15d3fbabbf8dbc7bc726bad'
ORDER BY b."SortName", b."Name";

-- Query #8635 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d007b06-d4ed-eee5-139f-36747a02b2b8'::uuid;

-- Query #8636 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d007b06-d4ed-eee5-139f-36747a02b2b8'::uuid]);

-- Query #8637 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2d007b06-d4ed-eee5-139f-36747a02b2b8'::uuid;

-- Query #8638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d007b06-d4ed-eee5-139f-36747a02b2b8'::uuid, 'Imdb', 'tt0750245')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d007b06-d4ed-eee5-139f-36747a02b2b8'::uuid, 'Tmdb', 299481)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d007b06-d4ed-eee5-139f-36747a02b2b8'::uuid, 'TvMaze', 111760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d007b06-d4ed-eee5-139f-36747a02b2b8'::uuid, 'Tvdb', 39888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d007b06-d4ed-eee5-139f-36747a02b2b8'::uuid, 'TvRage', 234070)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d007b06-d4ed-eee5-139f-36747a02b2b8'::uuid, 'trakt', 308197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d007b06-d4ed-eee5-139f-36747a02b2b8'::uuid, 'TmdbCollection', 299481)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8645 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d007b06-d4ed-eee5-139f-36747a02b2b8'::uuid;

-- Query #8646 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2d007b06-d4ed-eee5-139f-36747a02b2b8'::uuid;

-- Query #8647 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+CBS', '6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #8648 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2d007b06-d4ed-eee5-139f-36747a02b2b8'::uuid]);

-- Query #8649 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2d007b06-d4ed-eee5-139f-36747a02b2b8'::uuid;

-- Query #8650 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8651 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid;

-- Query #8652 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f66bed5f-1509-3ec8-cad3-c4820b95665c'::uuid;

-- Query #8653 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid]);

-- Query #8654 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid;

-- Query #8655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'Tvdb', 350068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'Tmdb', 79593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'Imdb', 'tt7942796')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'wikidata', 'Q53230783')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'TvMaze', 32819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'TmdbCollection', 79593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8661 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid;

-- Query #8662 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid;

-- Query #8663 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+hawaii', '6+military veteran', '6+private investigator', '6+reboot', '6+remake']);

-- Query #8664 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid]);

-- Query #8665 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid;

-- Query #8666 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8667 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f66bed5f-1509-3ec8-cad3-c4820b95665c'::uuid]);

-- Query #8668 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f66bed5f-1509-3ec8-cad3-c4820b95665c'::uuid;

-- Query #8669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f66bed5f-1509-3ec8-cad3-c4820b95665c'::uuid, 'Imdb', 'tt0750247')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f66bed5f-1509-3ec8-cad3-c4820b95665c'::uuid, 'Tmdb', 299489)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f66bed5f-1509-3ec8-cad3-c4820b95665c'::uuid, 'TvMaze', 111768)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f66bed5f-1509-3ec8-cad3-c4820b95665c'::uuid, 'Tvdb', 39896)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f66bed5f-1509-3ec8-cad3-c4820b95665c'::uuid, 'TvRage', 234078)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f66bed5f-1509-3ec8-cad3-c4820b95665c'::uuid, 'trakt', 308205)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f66bed5f-1509-3ec8-cad3-c4820b95665c'::uuid, 'TmdbCollection', 299489)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8676 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f66bed5f-1509-3ec8-cad3-c4820b95665c'::uuid;

-- Query #8677 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f66bed5f-1509-3ec8-cad3-c4820b95665c'::uuid;

-- Query #8678 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #8679 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+CBS', '6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #8680 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '317cf53da15d3fbabbf8dbc7bc726bad'
ORDER BY b."SortName", b."Name";

-- Query #8681 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f66bed5f-1509-3ec8-cad3-c4820b95665c'::uuid]);

-- Query #8682 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f66bed5f-1509-3ec8-cad3-c4820b95665c'::uuid;

-- Query #8683 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8684 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b6f07d9a-0c45-494e-c163-a7c032d7d81a'::uuid;

-- Query #8685 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b6f07d9a-0c45-494e-c163-a7c032d7d81a'::uuid]);

-- Query #8686 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b6f07d9a-0c45-494e-c163-a7c032d7d81a'::uuid;

-- Query #8687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6f07d9a-0c45-494e-c163-a7c032d7d81a'::uuid, 'TmdbCollection', 299479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6f07d9a-0c45-494e-c163-a7c032d7d81a'::uuid, 'Imdb', 'tt0750271')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6f07d9a-0c45-494e-c163-a7c032d7d81a'::uuid, 'Tmdb', 299479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6f07d9a-0c45-494e-c163-a7c032d7d81a'::uuid, 'TvMaze', 111758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6f07d9a-0c45-494e-c163-a7c032d7d81a'::uuid, 'Tvdb', 39886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6f07d9a-0c45-494e-c163-a7c032d7d81a'::uuid, 'TvRage', 234068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6f07d9a-0c45-494e-c163-a7c032d7d81a'::uuid, 'trakt', 308195)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8694 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b6f07d9a-0c45-494e-c163-a7c032d7d81a'::uuid;

-- Query #8695 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid;

-- Query #8696 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b6f07d9a-0c45-494e-c163-a7c032d7d81a'::uuid;

-- Query #8697 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+CBS', '6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #8698 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b6f07d9a-0c45-494e-c163-a7c032d7d81a'::uuid]);

-- Query #8699 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b6f07d9a-0c45-494e-c163-a7c032d7d81a'::uuid;

-- Query #8700 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8701 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid]);

-- Query #8702 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid;

-- Query #8703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, 'Tvdb', 350068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, 'Tmdb', 79593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, 'Imdb', 'tt7942796')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, 'wikidata', 'Q53230783')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, 'TvMaze', 32819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, 'TmdbCollection', 79593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8709 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid;

-- Query #8710 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid;

-- Query #8711 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+hawaii', '6+military veteran', '6+private investigator', '6+reboot', '6+remake']);

-- Query #8712 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid]);

-- Query #8713 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid;

-- Query #8714 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8715 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '317cf53da15d3fbabbf8dbc7bc726bad'
ORDER BY b."SortName", b."Name";

-- Query #8716 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '814fa7bb-dd91-8d47-adf1-48fd4256a592'::uuid;

-- Query #8717 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['814fa7bb-dd91-8d47-adf1-48fd4256a592'::uuid]);

-- Query #8718 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '814fa7bb-dd91-8d47-adf1-48fd4256a592'::uuid;

-- Query #8719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('814fa7bb-dd91-8d47-adf1-48fd4256a592'::uuid, 'TmdbCollection', 299485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('814fa7bb-dd91-8d47-adf1-48fd4256a592'::uuid, 'Imdb', 'tt0750273')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('814fa7bb-dd91-8d47-adf1-48fd4256a592'::uuid, 'Tmdb', 299485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('814fa7bb-dd91-8d47-adf1-48fd4256a592'::uuid, 'TvMaze', 111764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('814fa7bb-dd91-8d47-adf1-48fd4256a592'::uuid, 'Tvdb', 39892)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('814fa7bb-dd91-8d47-adf1-48fd4256a592'::uuid, 'TvRage', 234074)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('814fa7bb-dd91-8d47-adf1-48fd4256a592'::uuid, 'trakt', 308201)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8726 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '814fa7bb-dd91-8d47-adf1-48fd4256a592'::uuid;

-- Query #8727 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '814fa7bb-dd91-8d47-adf1-48fd4256a592'::uuid;

-- Query #8728 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid;

-- Query #8729 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['814fa7bb-dd91-8d47-adf1-48fd4256a592'::uuid]);

-- Query #8730 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '814fa7bb-dd91-8d47-adf1-48fd4256a592'::uuid;

-- Query #8731 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8732 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid]);

-- Query #8733 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid;

-- Query #8734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'Tvdb', 350068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'Tmdb', 79593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'Imdb', 'tt7942796')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'wikidata', 'Q53230783')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'TvMaze', 32819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'TmdbCollection', 79593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8740 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid;

-- Query #8741 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid;

-- Query #8742 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+hawaii', '6+military veteran', '6+private investigator', '6+reboot', '6+remake']);

-- Query #8743 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid]);

-- Query #8744 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid;

-- Query #8745 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8746 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '317cf53da15d3fbabbf8dbc7bc726bad'
ORDER BY b."SortName", b."Name";

-- Query #8747 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e9400659-3c01-423b-d127-ee9a5691d91e'::uuid;

-- Query #8748 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9400659-3c01-423b-d127-ee9a5691d91e'::uuid]);

-- Query #8749 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e9400659-3c01-423b-d127-ee9a5691d91e'::uuid;

-- Query #8750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9400659-3c01-423b-d127-ee9a5691d91e'::uuid, 'Imdb', 'tt0750274')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9400659-3c01-423b-d127-ee9a5691d91e'::uuid, 'Tmdb', 299496)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9400659-3c01-423b-d127-ee9a5691d91e'::uuid, 'TvMaze', 111775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8753 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9400659-3c01-423b-d127-ee9a5691d91e'::uuid, 'Tvdb', 39903)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9400659-3c01-423b-d127-ee9a5691d91e'::uuid, 'TvRage', 234085)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9400659-3c01-423b-d127-ee9a5691d91e'::uuid, 'trakt', 308212)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9400659-3c01-423b-d127-ee9a5691d91e'::uuid, 'TmdbCollection', 299496)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e9400659-3c01-423b-d127-ee9a5691d91e'::uuid;

-- Query #8758 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e9400659-3c01-423b-d127-ee9a5691d91e'::uuid;

-- Query #8759 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid;

-- Query #8760 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e9400659-3c01-423b-d127-ee9a5691d91e'::uuid]);

-- Query #8761 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e9400659-3c01-423b-d127-ee9a5691d91e'::uuid;

-- Query #8762 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid]);

-- Query #8764 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid;

-- Query #8765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, 'Tvdb', 350068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, 'Tmdb', 79593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, 'Imdb', 'tt7942796')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, 'wikidata', 'Q53230783')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, 'TvMaze', 32819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, 'TmdbCollection', 79593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8771 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid;

-- Query #8772 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid;

-- Query #8773 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+hawaii', '6+military veteran', '6+private investigator', '6+reboot', '6+remake']);

-- Query #8774 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid]);

-- Query #8775 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid;

-- Query #8776 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8777 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '94a4009f-80a3-c85a-e11e-a50a3ce064b0'::uuid;

-- Query #8778 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['94a4009f-80a3-c85a-e11e-a50a3ce064b0'::uuid]);

-- Query #8779 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '94a4009f-80a3-c85a-e11e-a50a3ce064b0'::uuid;

-- Query #8780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94a4009f-80a3-c85a-e11e-a50a3ce064b0'::uuid, 'Imdb', 'tt0750248')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94a4009f-80a3-c85a-e11e-a50a3ce064b0'::uuid, 'Tmdb', 299486)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8782 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '733d00b3-915c-38a0-7179-8f1a3e2b51e9'::uuid;

-- Query #8783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94a4009f-80a3-c85a-e11e-a50a3ce064b0'::uuid, 'TvMaze', 111765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94a4009f-80a3-c85a-e11e-a50a3ce064b0'::uuid, 'Tvdb', 39893)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94a4009f-80a3-c85a-e11e-a50a3ce064b0'::uuid, 'TvRage', 234075)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94a4009f-80a3-c85a-e11e-a50a3ce064b0'::uuid, 'trakt', 308202)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94a4009f-80a3-c85a-e11e-a50a3ce064b0'::uuid, 'TmdbCollection', 299486)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8788 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '94a4009f-80a3-c85a-e11e-a50a3ce064b0'::uuid;

-- Query #8789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '94a4009f-80a3-c85a-e11e-a50a3ce064b0'::uuid;

-- Query #8790 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['94a4009f-80a3-c85a-e11e-a50a3ce064b0'::uuid]);

-- Query #8791 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['733d00b3-915c-38a0-7179-8f1a3e2b51e9'::uuid]);

-- Query #8792 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '94a4009f-80a3-c85a-e11e-a50a3ce064b0'::uuid;

-- Query #8793 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '733d00b3-915c-38a0-7179-8f1a3e2b51e9'::uuid;

-- Query #8794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('733d00b3-915c-38a0-7179-8f1a3e2b51e9'::uuid, 'Imdb', 'tt9121556')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8795 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('733d00b3-915c-38a0-7179-8f1a3e2b51e9'::uuid, 'Tmdb', 1626927)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('733d00b3-915c-38a0-7179-8f1a3e2b51e9'::uuid, 'trakt', 3249248)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('733d00b3-915c-38a0-7179-8f1a3e2b51e9'::uuid, 'TvMaze', 1568757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8799 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('733d00b3-915c-38a0-7179-8f1a3e2b51e9'::uuid, 'Tvdb', 6914071)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8800 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('733d00b3-915c-38a0-7179-8f1a3e2b51e9'::uuid, 'TmdbCollection', 1626927)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8801 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '733d00b3-915c-38a0-7179-8f1a3e2b51e9'::uuid;

-- Query #8802 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '733d00b3-915c-38a0-7179-8f1a3e2b51e9'::uuid;

-- Query #8803 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['733d00b3-915c-38a0-7179-8f1a3e2b51e9'::uuid]);

-- Query #8804 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '733d00b3-915c-38a0-7179-8f1a3e2b51e9'::uuid;

-- Query #8805 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8806 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87f0192e-3936-af7b-0579-39e64c454ddd'::uuid;

-- Query #8807 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87f0192e-3936-af7b-0579-39e64c454ddd'::uuid]);

-- Query #8808 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '87f0192e-3936-af7b-0579-39e64c454ddd'::uuid;

-- Query #8809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87f0192e-3936-af7b-0579-39e64c454ddd'::uuid, 'TmdbCollection', 299487)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87f0192e-3936-af7b-0579-39e64c454ddd'::uuid, 'Imdb', 'tt0750249')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8811 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87f0192e-3936-af7b-0579-39e64c454ddd'::uuid, 'Tmdb', 299487)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8812 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87f0192e-3936-af7b-0579-39e64c454ddd'::uuid, 'TvMaze', 111766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8813 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87f0192e-3936-af7b-0579-39e64c454ddd'::uuid, 'Tvdb', 39894)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8814 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87f0192e-3936-af7b-0579-39e64c454ddd'::uuid, 'TvRage', 234076)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8815 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87f0192e-3936-af7b-0579-39e64c454ddd'::uuid, 'trakt', 308203)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8816 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87f0192e-3936-af7b-0579-39e64c454ddd'::uuid;

-- Query #8817 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '87f0192e-3936-af7b-0579-39e64c454ddd'::uuid;

-- Query #8818 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['87f0192e-3936-af7b-0579-39e64c454ddd'::uuid]);

-- Query #8819 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '87f0192e-3936-af7b-0579-39e64c454ddd'::uuid;

-- Query #8820 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8821 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '61d46154-4473-2571-ca97-5a0890664bba'::uuid;

-- Query #8822 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['61d46154-4473-2571-ca97-5a0890664bba'::uuid]);

-- Query #8823 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '61d46154-4473-2571-ca97-5a0890664bba'::uuid;

-- Query #8824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61d46154-4473-2571-ca97-5a0890664bba'::uuid, 'Imdb', 'tt9162324')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61d46154-4473-2571-ca97-5a0890664bba'::uuid, 'Tmdb', 1711691)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61d46154-4473-2571-ca97-5a0890664bba'::uuid, 'trakt', 3378481)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8827 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a6116c14-20cf-446f-aa65-c60ab9e19b41'::uuid;

-- Query #8828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61d46154-4473-2571-ca97-5a0890664bba'::uuid, 'TvMaze', 1606285)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8829 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61d46154-4473-2571-ca97-5a0890664bba'::uuid, 'Tvdb', 7040275)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61d46154-4473-2571-ca97-5a0890664bba'::uuid, 'TmdbCollection', 1711691)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8831 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '61d46154-4473-2571-ca97-5a0890664bba'::uuid;

-- Query #8832 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '61d46154-4473-2571-ca97-5a0890664bba'::uuid;

-- Query #8833 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['61d46154-4473-2571-ca97-5a0890664bba'::uuid]);

-- Query #8834 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '61d46154-4473-2571-ca97-5a0890664bba'::uuid;

-- Query #8835 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8836 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6116c14-20cf-446f-aa65-c60ab9e19b41'::uuid]);

-- Query #8837 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a6116c14-20cf-446f-aa65-c60ab9e19b41'::uuid;

-- Query #8838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6116c14-20cf-446f-aa65-c60ab9e19b41'::uuid, 'Imdb', 'tt0750275')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6116c14-20cf-446f-aa65-c60ab9e19b41'::uuid, 'Tmdb', 299498)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6116c14-20cf-446f-aa65-c60ab9e19b41'::uuid, 'TvMaze', 111777)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8841 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6116c14-20cf-446f-aa65-c60ab9e19b41'::uuid, 'Tvdb', 39905)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8842 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6116c14-20cf-446f-aa65-c60ab9e19b41'::uuid, 'TvRage', 234087)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6116c14-20cf-446f-aa65-c60ab9e19b41'::uuid, 'trakt', 308214)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6116c14-20cf-446f-aa65-c60ab9e19b41'::uuid, 'TmdbCollection', 299498)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8845 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a6116c14-20cf-446f-aa65-c60ab9e19b41'::uuid;

-- Query #8846 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a6116c14-20cf-446f-aa65-c60ab9e19b41'::uuid;

-- Query #8847 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+CBS', '6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #8848 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a6116c14-20cf-446f-aa65-c60ab9e19b41'::uuid]);

-- Query #8849 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a6116c14-20cf-446f-aa65-c60ab9e19b41'::uuid;

-- Query #8850 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8851 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d426b4b-4a90-c459-c0e1-fac715578b6d'::uuid;

-- Query #8852 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d426b4b-4a90-c459-c0e1-fac715578b6d'::uuid]);

-- Query #8853 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4d426b4b-4a90-c459-c0e1-fac715578b6d'::uuid;

-- Query #8854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d426b4b-4a90-c459-c0e1-fac715578b6d'::uuid, 'Imdb', 'tt9162338')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d426b4b-4a90-c459-c0e1-fac715578b6d'::uuid, 'Tmdb', 1737978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8856 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa96f8d1-4c85-c4f6-1e20-822d2446d23d'::uuid;

-- Query #8857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d426b4b-4a90-c459-c0e1-fac715578b6d'::uuid, 'trakt', 3431428)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d426b4b-4a90-c459-c0e1-fac715578b6d'::uuid, 'TvMaze', 1615039)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d426b4b-4a90-c459-c0e1-fac715578b6d'::uuid, 'Tvdb', 7090589)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d426b4b-4a90-c459-c0e1-fac715578b6d'::uuid, 'TmdbCollection', 1737978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8861 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d426b4b-4a90-c459-c0e1-fac715578b6d'::uuid;

-- Query #8862 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4d426b4b-4a90-c459-c0e1-fac715578b6d'::uuid;

-- Query #8863 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aa96f8d1-4c85-c4f6-1e20-822d2446d23d'::uuid]);

-- Query #8864 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'aa96f8d1-4c85-c4f6-1e20-822d2446d23d'::uuid;

-- Query #8865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa96f8d1-4c85-c4f6-1e20-822d2446d23d'::uuid, 'Imdb', 'tt0750277')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa96f8d1-4c85-c4f6-1e20-822d2446d23d'::uuid, 'Tmdb', 299482)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa96f8d1-4c85-c4f6-1e20-822d2446d23d'::uuid, 'TvMaze', 111761)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8868 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4d426b4b-4a90-c459-c0e1-fac715578b6d'::uuid]);

-- Query #8869 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa96f8d1-4c85-c4f6-1e20-822d2446d23d'::uuid, 'Tvdb', 39889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa96f8d1-4c85-c4f6-1e20-822d2446d23d'::uuid, 'TvRage', 234071)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8871 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4d426b4b-4a90-c459-c0e1-fac715578b6d'::uuid;

-- Query #8872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa96f8d1-4c85-c4f6-1e20-822d2446d23d'::uuid, 'trakt', 308198)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa96f8d1-4c85-c4f6-1e20-822d2446d23d'::uuid, 'TmdbCollection', 299482)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8874 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8875 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa96f8d1-4c85-c4f6-1e20-822d2446d23d'::uuid;

-- Query #8876 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'aa96f8d1-4c85-c4f6-1e20-822d2446d23d'::uuid;

-- Query #8877 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['aa96f8d1-4c85-c4f6-1e20-822d2446d23d'::uuid]);

-- Query #8878 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'aa96f8d1-4c85-c4f6-1e20-822d2446d23d'::uuid;

-- Query #8879 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8880 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd3b213c4-b4ec-e33f-934a-c8619795dd60'::uuid;

-- Query #8881 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3021918a-9315-2574-08ea-fff9079aa829'::uuid;

-- Query #8882 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3b213c4-b4ec-e33f-934a-c8619795dd60'::uuid]);

-- Query #8883 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd3b213c4-b4ec-e33f-934a-c8619795dd60'::uuid;

-- Query #8884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3b213c4-b4ec-e33f-934a-c8619795dd60'::uuid, 'TmdbCollection', 299483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3b213c4-b4ec-e33f-934a-c8619795dd60'::uuid, 'Imdb', 'tt0750279')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3b213c4-b4ec-e33f-934a-c8619795dd60'::uuid, 'Tmdb', 299483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3b213c4-b4ec-e33f-934a-c8619795dd60'::uuid, 'TvMaze', 111762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3b213c4-b4ec-e33f-934a-c8619795dd60'::uuid, 'Tvdb', 39890)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3b213c4-b4ec-e33f-934a-c8619795dd60'::uuid, 'TvRage', 234072)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3b213c4-b4ec-e33f-934a-c8619795dd60'::uuid, 'trakt', 308199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8891 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd3b213c4-b4ec-e33f-934a-c8619795dd60'::uuid;

-- Query #8892 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd3b213c4-b4ec-e33f-934a-c8619795dd60'::uuid;

-- Query #8893 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d3b213c4-b4ec-e33f-934a-c8619795dd60'::uuid]);

-- Query #8894 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd3b213c4-b4ec-e33f-934a-c8619795dd60'::uuid;

-- Query #8895 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3021918a-9315-2574-08ea-fff9079aa829'::uuid]);

-- Query #8896 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8897 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3021918a-9315-2574-08ea-fff9079aa829'::uuid;

-- Query #8898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3021918a-9315-2574-08ea-fff9079aa829'::uuid, 'Imdb', 'tt9079772')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8899 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3021918a-9315-2574-08ea-fff9079aa829'::uuid, 'Tmdb', 1612967)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8900 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3021918a-9315-2574-08ea-fff9079aa829'::uuid, 'trakt', 3193175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8901 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3021918a-9315-2574-08ea-fff9079aa829'::uuid, 'TvMaze', 1547915)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3021918a-9315-2574-08ea-fff9079aa829'::uuid, 'Tvdb', 6859719)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3021918a-9315-2574-08ea-fff9079aa829'::uuid, 'TmdbCollection', 1612967)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8904 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3021918a-9315-2574-08ea-fff9079aa829'::uuid;

-- Query #8905 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3021918a-9315-2574-08ea-fff9079aa829'::uuid;

-- Query #8906 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3021918a-9315-2574-08ea-fff9079aa829'::uuid]);

-- Query #8907 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3021918a-9315-2574-08ea-fff9079aa829'::uuid;

-- Query #8908 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8909 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3bf70bea-b019-0f6b-d04d-99b4427893d3'::uuid;

-- Query #8910 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3bf70bea-b019-0f6b-d04d-99b4427893d3'::uuid]);

-- Query #8911 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3bf70bea-b019-0f6b-d04d-99b4427893d3'::uuid;

-- Query #8912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bf70bea-b019-0f6b-d04d-99b4427893d3'::uuid, 'TmdbCollection', 299477)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bf70bea-b019-0f6b-d04d-99b4427893d3'::uuid, 'Imdb', 'tt0750280')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bf70bea-b019-0f6b-d04d-99b4427893d3'::uuid, 'Tmdb', 299477)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8915 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bf70bea-b019-0f6b-d04d-99b4427893d3'::uuid, 'TvMaze', 111756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8916 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bf70bea-b019-0f6b-d04d-99b4427893d3'::uuid, 'Tvdb', 39884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8917 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bf70bea-b019-0f6b-d04d-99b4427893d3'::uuid, 'TvRage', 234066)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bf70bea-b019-0f6b-d04d-99b4427893d3'::uuid, 'trakt', 308193)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8919 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3bf70bea-b019-0f6b-d04d-99b4427893d3'::uuid;

-- Query #8920 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '10c355e0-0e54-bd0a-30a5-22e534606ac1'::uuid;

-- Query #8921 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3bf70bea-b019-0f6b-d04d-99b4427893d3'::uuid;

-- Query #8922 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10c355e0-0e54-bd0a-30a5-22e534606ac1'::uuid]);

-- Query #8923 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+CBS', '6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #8924 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '10c355e0-0e54-bd0a-30a5-22e534606ac1'::uuid;

-- Query #8925 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3bf70bea-b019-0f6b-d04d-99b4427893d3'::uuid]);

-- Query #8926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10c355e0-0e54-bd0a-30a5-22e534606ac1'::uuid, 'Imdb', 'tt9162350')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10c355e0-0e54-bd0a-30a5-22e534606ac1'::uuid, 'Tmdb', 1745040)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8928 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3bf70bea-b019-0f6b-d04d-99b4427893d3'::uuid;

-- Query #8929 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10c355e0-0e54-bd0a-30a5-22e534606ac1'::uuid, 'trakt', 3440427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8930 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8931 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10c355e0-0e54-bd0a-30a5-22e534606ac1'::uuid, 'TvMaze', 1619561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8932 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10c355e0-0e54-bd0a-30a5-22e534606ac1'::uuid, 'Tvdb', 7099315)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8933 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10c355e0-0e54-bd0a-30a5-22e534606ac1'::uuid, 'TmdbCollection', 1745040)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8934 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '10c355e0-0e54-bd0a-30a5-22e534606ac1'::uuid;

-- Query #8935 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '10c355e0-0e54-bd0a-30a5-22e534606ac1'::uuid;

-- Query #8936 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['10c355e0-0e54-bd0a-30a5-22e534606ac1'::uuid]);

-- Query #8937 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '10c355e0-0e54-bd0a-30a5-22e534606ac1'::uuid;

-- Query #8938 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8939 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21b7d1a0-91d3-b38b-e56f-6c8aadad39e5'::uuid;

-- Query #8940 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['21b7d1a0-91d3-b38b-e56f-6c8aadad39e5'::uuid]);

-- Query #8941 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '21b7d1a0-91d3-b38b-e56f-6c8aadad39e5'::uuid;

-- Query #8942 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e4470bf-e561-c9b6-0806-32b3e2158812'::uuid;

-- Query #8943 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21b7d1a0-91d3-b38b-e56f-6c8aadad39e5'::uuid, 'Imdb', 'tt0750254')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8944 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21b7d1a0-91d3-b38b-e56f-6c8aadad39e5'::uuid, 'Tmdb', 299490)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8945 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21b7d1a0-91d3-b38b-e56f-6c8aadad39e5'::uuid, 'TvMaze', 111769)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8946 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21b7d1a0-91d3-b38b-e56f-6c8aadad39e5'::uuid, 'Tvdb', 39897)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21b7d1a0-91d3-b38b-e56f-6c8aadad39e5'::uuid, 'TvRage', 234079)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21b7d1a0-91d3-b38b-e56f-6c8aadad39e5'::uuid, 'trakt', 308206)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21b7d1a0-91d3-b38b-e56f-6c8aadad39e5'::uuid, 'TmdbCollection', 299490)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8950 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21b7d1a0-91d3-b38b-e56f-6c8aadad39e5'::uuid;

-- Query #8951 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '21b7d1a0-91d3-b38b-e56f-6c8aadad39e5'::uuid;

-- Query #8952 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5e4470bf-e561-c9b6-0806-32b3e2158812'::uuid]);

-- Query #8953 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5e4470bf-e561-c9b6-0806-32b3e2158812'::uuid;

-- Query #8954 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e4470bf-e561-c9b6-0806-32b3e2158812'::uuid, 'Imdb', 'tt9154746')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8955 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e4470bf-e561-c9b6-0806-32b3e2158812'::uuid, 'Tmdb', 1680314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8956 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e4470bf-e561-c9b6-0806-32b3e2158812'::uuid, 'trakt', 3301834)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e4470bf-e561-c9b6-0806-32b3e2158812'::uuid, 'TvMaze', 1586306)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8958 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e4470bf-e561-c9b6-0806-32b3e2158812'::uuid, 'Tvdb', 6938522)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8959 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['21b7d1a0-91d3-b38b-e56f-6c8aadad39e5'::uuid]);

-- Query #8960 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e4470bf-e561-c9b6-0806-32b3e2158812'::uuid, 'TmdbCollection', 1680314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8961 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '21b7d1a0-91d3-b38b-e56f-6c8aadad39e5'::uuid;

-- Query #8962 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e4470bf-e561-c9b6-0806-32b3e2158812'::uuid;

-- Query #8963 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5e4470bf-e561-c9b6-0806-32b3e2158812'::uuid;

-- Query #8964 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8965 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5e4470bf-e561-c9b6-0806-32b3e2158812'::uuid]);

-- Query #8966 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5e4470bf-e561-c9b6-0806-32b3e2158812'::uuid;

-- Query #8967 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8968 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b4e8fcbd-3199-714b-933b-e5f8a09e0960'::uuid;

-- Query #8969 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4e8fcbd-3199-714b-933b-e5f8a09e0960'::uuid]);

-- Query #8970 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b4e8fcbd-3199-714b-933b-e5f8a09e0960'::uuid;

-- Query #8971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4e8fcbd-3199-714b-933b-e5f8a09e0960'::uuid, 'Imdb', 'tt0750255')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4e8fcbd-3199-714b-933b-e5f8a09e0960'::uuid, 'Tmdb', 299495)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8973 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4e8fcbd-3199-714b-933b-e5f8a09e0960'::uuid, 'TvMaze', 111774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8974 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4e8fcbd-3199-714b-933b-e5f8a09e0960'::uuid, 'Tvdb', 39902)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4e8fcbd-3199-714b-933b-e5f8a09e0960'::uuid, 'TvRage', 234084)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4e8fcbd-3199-714b-933b-e5f8a09e0960'::uuid, 'trakt', 308211)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4e8fcbd-3199-714b-933b-e5f8a09e0960'::uuid, 'TmdbCollection', 299495)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8978 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b4e8fcbd-3199-714b-933b-e5f8a09e0960'::uuid;

-- Query #8979 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b4e8fcbd-3199-714b-933b-e5f8a09e0960'::uuid;

-- Query #8980 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+CBS', '6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #8981 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b4e8fcbd-3199-714b-933b-e5f8a09e0960'::uuid]);

-- Query #8982 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b4e8fcbd-3199-714b-933b-e5f8a09e0960'::uuid;

-- Query #8983 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '781cb493-da2e-1cbc-e199-f2f9175d9d3b'::uuid;

-- Query #8984 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8985 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['781cb493-da2e-1cbc-e199-f2f9175d9d3b'::uuid]);

-- Query #8986 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '781cb493-da2e-1cbc-e199-f2f9175d9d3b'::uuid;

-- Query #8987 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('781cb493-da2e-1cbc-e199-f2f9175d9d3b'::uuid, 'Imdb', 'tt9162316')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8988 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('781cb493-da2e-1cbc-e199-f2f9175d9d3b'::uuid, 'Tmdb', 1697186)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8989 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('781cb493-da2e-1cbc-e199-f2f9175d9d3b'::uuid, 'trakt', 3349004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('781cb493-da2e-1cbc-e199-f2f9175d9d3b'::uuid, 'TvMaze', 1596994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('781cb493-da2e-1cbc-e199-f2f9175d9d3b'::uuid, 'Tvdb', 7012457)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('781cb493-da2e-1cbc-e199-f2f9175d9d3b'::uuid, 'TmdbCollection', 1697186)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #8993 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '781cb493-da2e-1cbc-e199-f2f9175d9d3b'::uuid;

-- Query #8994 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '781cb493-da2e-1cbc-e199-f2f9175d9d3b'::uuid;

-- Query #8995 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['781cb493-da2e-1cbc-e199-f2f9175d9d3b'::uuid]);

-- Query #8996 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '781cb493-da2e-1cbc-e199-f2f9175d9d3b'::uuid;

-- Query #8997 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #8998 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6ff042d8-59cc-85b4-b902-d5d1c32fd4f6'::uuid;

-- Query #8999 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6ff042d8-59cc-85b4-b902-d5d1c32fd4f6'::uuid]);

-- Query #9000 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6ff042d8-59cc-85b4-b902-d5d1c32fd4f6'::uuid;

-- Query #9001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ff042d8-59cc-85b4-b902-d5d1c32fd4f6'::uuid, 'Imdb', 'tt0750228')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ff042d8-59cc-85b4-b902-d5d1c32fd4f6'::uuid, 'Tmdb', 299515)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ff042d8-59cc-85b4-b902-d5d1c32fd4f6'::uuid, 'TmdbCollection', 299515)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ff042d8-59cc-85b4-b902-d5d1c32fd4f6'::uuid, 'trakt', 308231)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9005 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ff042d8-59cc-85b4-b902-d5d1c32fd4f6'::uuid, 'Tvdb', 39921)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9006 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ff042d8-59cc-85b4-b902-d5d1c32fd4f6'::uuid, 'TvMaze', 111793)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ff042d8-59cc-85b4-b902-d5d1c32fd4f6'::uuid, 'TvRage', 234103)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9008 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6ff042d8-59cc-85b4-b902-d5d1c32fd4f6'::uuid;

-- Query #9009 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6ff042d8-59cc-85b4-b902-d5d1c32fd4f6'::uuid;

-- Query #9010 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6ff042d8-59cc-85b4-b902-d5d1c32fd4f6'::uuid]);

-- Query #9011 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6ff042d8-59cc-85b4-b902-d5d1c32fd4f6'::uuid;

-- Query #9012 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9013 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81ab1c14-1c14-0ae5-be5d-95f016009fe9'::uuid;

-- Query #9014 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['81ab1c14-1c14-0ae5-be5d-95f016009fe9'::uuid]);

-- Query #9015 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '81ab1c14-1c14-0ae5-be5d-95f016009fe9'::uuid;

-- Query #9016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81ab1c14-1c14-0ae5-be5d-95f016009fe9'::uuid, 'Imdb', 'tt9108134')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81ab1c14-1c14-0ae5-be5d-95f016009fe9'::uuid, 'Tmdb', 1607751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9018 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81ab1c14-1c14-0ae5-be5d-95f016009fe9'::uuid, 'trakt', 3165231)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81ab1c14-1c14-0ae5-be5d-95f016009fe9'::uuid, 'TvMaze', 1545000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9020 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81ab1c14-1c14-0ae5-be5d-95f016009fe9'::uuid, 'Tvdb', 6859715)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9021 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81ab1c14-1c14-0ae5-be5d-95f016009fe9'::uuid, 'TmdbCollection', 1607751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9022 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81ab1c14-1c14-0ae5-be5d-95f016009fe9'::uuid;

-- Query #9023 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '81ab1c14-1c14-0ae5-be5d-95f016009fe9'::uuid;

-- Query #9024 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd634f12e-4a41-f9f3-b16b-0fc0770fd22d'::uuid;

-- Query #9025 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['81ab1c14-1c14-0ae5-be5d-95f016009fe9'::uuid]);

-- Query #9026 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '81ab1c14-1c14-0ae5-be5d-95f016009fe9'::uuid;

-- Query #9027 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9028 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d634f12e-4a41-f9f3-b16b-0fc0770fd22d'::uuid]);

-- Query #9029 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd634f12e-4a41-f9f3-b16b-0fc0770fd22d'::uuid;

-- Query #9030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d634f12e-4a41-f9f3-b16b-0fc0770fd22d'::uuid, 'Imdb', 'tt0750260')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9031 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d634f12e-4a41-f9f3-b16b-0fc0770fd22d'::uuid, 'Tmdb', 299519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d634f12e-4a41-f9f3-b16b-0fc0770fd22d'::uuid, 'TmdbCollection', 299519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9033 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d634f12e-4a41-f9f3-b16b-0fc0770fd22d'::uuid, 'trakt', 308235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9034 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d634f12e-4a41-f9f3-b16b-0fc0770fd22d'::uuid, 'Tvdb', 39925)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d634f12e-4a41-f9f3-b16b-0fc0770fd22d'::uuid, 'TvMaze', 111797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d634f12e-4a41-f9f3-b16b-0fc0770fd22d'::uuid, 'TvRage', 234107)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9037 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd634f12e-4a41-f9f3-b16b-0fc0770fd22d'::uuid;

-- Query #9038 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd634f12e-4a41-f9f3-b16b-0fc0770fd22d'::uuid;

-- Query #9039 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d634f12e-4a41-f9f3-b16b-0fc0770fd22d'::uuid]);

-- Query #9040 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd634f12e-4a41-f9f3-b16b-0fc0770fd22d'::uuid;

-- Query #9041 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9042 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '57c79863-6794-895c-7a44-effa43603156'::uuid;

-- Query #9043 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3167ceea-0ae0-98c0-281a-7ffa6edca2d3'::uuid;

-- Query #9044 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['57c79863-6794-895c-7a44-effa43603156'::uuid]);

-- Query #9045 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '57c79863-6794-895c-7a44-effa43603156'::uuid;

-- Query #9046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('57c79863-6794-895c-7a44-effa43603156'::uuid, 'Imdb', 'tt0750261')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('57c79863-6794-895c-7a44-effa43603156'::uuid, 'Tmdb', 299520)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3167ceea-0ae0-98c0-281a-7ffa6edca2d3'::uuid]);

-- Query #9049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('57c79863-6794-895c-7a44-effa43603156'::uuid, 'TmdbCollection', 299520)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9050 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3167ceea-0ae0-98c0-281a-7ffa6edca2d3'::uuid;

-- Query #9051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('57c79863-6794-895c-7a44-effa43603156'::uuid, 'trakt', 308236)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('57c79863-6794-895c-7a44-effa43603156'::uuid, 'Tvdb', 39926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3167ceea-0ae0-98c0-281a-7ffa6edca2d3'::uuid, 'Imdb', 'tt9108158')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9054 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('57c79863-6794-895c-7a44-effa43603156'::uuid, 'TvMaze', 111798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9055 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3167ceea-0ae0-98c0-281a-7ffa6edca2d3'::uuid, 'Tmdb', 1612968)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9056 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('57c79863-6794-895c-7a44-effa43603156'::uuid, 'TvRage', 234108)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9057 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3167ceea-0ae0-98c0-281a-7ffa6edca2d3'::uuid, 'trakt', 3193176)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3167ceea-0ae0-98c0-281a-7ffa6edca2d3'::uuid, 'TvMaze', 1547916)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9059 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '57c79863-6794-895c-7a44-effa43603156'::uuid;

-- Query #9060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3167ceea-0ae0-98c0-281a-7ffa6edca2d3'::uuid, 'Tvdb', 6859721)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9061 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '57c79863-6794-895c-7a44-effa43603156'::uuid;

-- Query #9062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3167ceea-0ae0-98c0-281a-7ffa6edca2d3'::uuid, 'TmdbCollection', 1612968)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9063 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3167ceea-0ae0-98c0-281a-7ffa6edca2d3'::uuid;

-- Query #9064 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3167ceea-0ae0-98c0-281a-7ffa6edca2d3'::uuid;

-- Query #9065 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['57c79863-6794-895c-7a44-effa43603156'::uuid]);

-- Query #9066 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '57c79863-6794-895c-7a44-effa43603156'::uuid;

-- Query #9067 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3167ceea-0ae0-98c0-281a-7ffa6edca2d3'::uuid]);

-- Query #9068 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9069 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3167ceea-0ae0-98c0-281a-7ffa6edca2d3'::uuid;

-- Query #9070 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9071 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7ade0d17-a817-ab00-89dd-2b01229b163f'::uuid;

-- Query #9072 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ade0d17-a817-ab00-89dd-2b01229b163f'::uuid]);

-- Query #9073 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7ade0d17-a817-ab00-89dd-2b01229b163f'::uuid;

-- Query #9074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ade0d17-a817-ab00-89dd-2b01229b163f'::uuid, 'Imdb', 'tt0750227')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ade0d17-a817-ab00-89dd-2b01229b163f'::uuid, 'Tmdb', 299517)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ade0d17-a817-ab00-89dd-2b01229b163f'::uuid, 'TmdbCollection', 299517)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9077 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ade0d17-a817-ab00-89dd-2b01229b163f'::uuid, 'trakt', 308233)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9078 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ade0d17-a817-ab00-89dd-2b01229b163f'::uuid, 'Tvdb', 39923)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9079 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ade0d17-a817-ab00-89dd-2b01229b163f'::uuid, 'TvMaze', 111795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ade0d17-a817-ab00-89dd-2b01229b163f'::uuid, 'TvRage', 234105)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9081 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7ade0d17-a817-ab00-89dd-2b01229b163f'::uuid;

-- Query #9082 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7ade0d17-a817-ab00-89dd-2b01229b163f'::uuid;

-- Query #9083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7feb98c2-5e44-ddf1-1506-b5a6f9d98ea7'::uuid;

-- Query #9084 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7ade0d17-a817-ab00-89dd-2b01229b163f'::uuid]);

-- Query #9085 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7ade0d17-a817-ab00-89dd-2b01229b163f'::uuid;

-- Query #9086 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9087 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7feb98c2-5e44-ddf1-1506-b5a6f9d98ea7'::uuid]);

-- Query #9088 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7feb98c2-5e44-ddf1-1506-b5a6f9d98ea7'::uuid;

-- Query #9089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7feb98c2-5e44-ddf1-1506-b5a6f9d98ea7'::uuid, 'Imdb', 'tt8970730')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7feb98c2-5e44-ddf1-1506-b5a6f9d98ea7'::uuid, 'Tmdb', 1575714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7feb98c2-5e44-ddf1-1506-b5a6f9d98ea7'::uuid, 'trakt', 3165223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7feb98c2-5e44-ddf1-1506-b5a6f9d98ea7'::uuid, 'TvMaze', 1494035)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7feb98c2-5e44-ddf1-1506-b5a6f9d98ea7'::uuid, 'Tvdb', 6835368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7feb98c2-5e44-ddf1-1506-b5a6f9d98ea7'::uuid, 'TmdbCollection', 1575714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9095 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7feb98c2-5e44-ddf1-1506-b5a6f9d98ea7'::uuid;

-- Query #9096 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7feb98c2-5e44-ddf1-1506-b5a6f9d98ea7'::uuid;

-- Query #9097 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7feb98c2-5e44-ddf1-1506-b5a6f9d98ea7'::uuid]);

-- Query #9098 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7feb98c2-5e44-ddf1-1506-b5a6f9d98ea7'::uuid;

-- Query #9099 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9100 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '84c27203-2d27-c73b-e9ad-c0217d81da50'::uuid;

-- Query #9101 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['84c27203-2d27-c73b-e9ad-c0217d81da50'::uuid]);

-- Query #9102 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '84c27203-2d27-c73b-e9ad-c0217d81da50'::uuid;

-- Query #9103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84c27203-2d27-c73b-e9ad-c0217d81da50'::uuid, 'Imdb', 'tt0750263')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84c27203-2d27-c73b-e9ad-c0217d81da50'::uuid, 'Tmdb', 299508)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84c27203-2d27-c73b-e9ad-c0217d81da50'::uuid, 'TmdbCollection', 299508)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84c27203-2d27-c73b-e9ad-c0217d81da50'::uuid, 'trakt', 308224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84c27203-2d27-c73b-e9ad-c0217d81da50'::uuid, 'Tvdb', 39914)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84c27203-2d27-c73b-e9ad-c0217d81da50'::uuid, 'TvMaze', 111786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84c27203-2d27-c73b-e9ad-c0217d81da50'::uuid, 'TvRage', 234096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9110 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '84c27203-2d27-c73b-e9ad-c0217d81da50'::uuid;

-- Query #9111 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '84c27203-2d27-c73b-e9ad-c0217d81da50'::uuid;

-- Query #9112 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+CBS', '6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #9113 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['84c27203-2d27-c73b-e9ad-c0217d81da50'::uuid]);

-- Query #9114 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '84c27203-2d27-c73b-e9ad-c0217d81da50'::uuid;

-- Query #9115 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9116 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0fa474df-641a-b025-3474-34b4d80c7172'::uuid;

-- Query #9117 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0fa474df-641a-b025-3474-34b4d80c7172'::uuid]);

-- Query #9118 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0fa474df-641a-b025-3474-34b4d80c7172'::uuid;

-- Query #9119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fa474df-641a-b025-3474-34b4d80c7172'::uuid, 'Imdb', 'tt8692714')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fa474df-641a-b025-3474-34b4d80c7172'::uuid, 'Tmdb', 1490662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fa474df-641a-b025-3474-34b4d80c7172'::uuid, 'trakt', 3077861)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fa474df-641a-b025-3474-34b4d80c7172'::uuid, 'TvMaze', 1494014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fa474df-641a-b025-3474-34b4d80c7172'::uuid, 'Tvdb', 6755621)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fa474df-641a-b025-3474-34b4d80c7172'::uuid, 'TmdbCollection', 1490662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9125 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0fa474df-641a-b025-3474-34b4d80c7172'::uuid;

-- Query #9126 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0fa474df-641a-b025-3474-34b4d80c7172'::uuid;

-- Query #9127 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0fa474df-641a-b025-3474-34b4d80c7172'::uuid]);

-- Query #9128 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0fa474df-641a-b025-3474-34b4d80c7172'::uuid;

-- Query #9129 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9130 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c2673df8-e764-6f17-510b-949e27ba438a'::uuid;

-- Query #9131 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c2673df8-e764-6f17-510b-949e27ba438a'::uuid]);

-- Query #9132 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c2673df8-e764-6f17-510b-949e27ba438a'::uuid;

-- Query #9133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2673df8-e764-6f17-510b-949e27ba438a'::uuid, 'Imdb', 'tt0750264')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2673df8-e764-6f17-510b-949e27ba438a'::uuid, 'Tmdb', 299502)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2673df8-e764-6f17-510b-949e27ba438a'::uuid, 'TmdbCollection', 299502)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2673df8-e764-6f17-510b-949e27ba438a'::uuid, 'trakt', 308218)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2673df8-e764-6f17-510b-949e27ba438a'::uuid, 'Tvdb', 39908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2673df8-e764-6f17-510b-949e27ba438a'::uuid, 'TvMaze', 111780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9139 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2673df8-e764-6f17-510b-949e27ba438a'::uuid, 'TvRage', 234090)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9140 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c2673df8-e764-6f17-510b-949e27ba438a'::uuid;

-- Query #9141 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c2673df8-e764-6f17-510b-949e27ba438a'::uuid;

-- Query #9142 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c2673df8-e764-6f17-510b-949e27ba438a'::uuid]);

-- Query #9143 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c2673df8-e764-6f17-510b-949e27ba438a'::uuid;

-- Query #9144 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9145 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f31b5702-f75d-8694-7554-e48df39c3f20'::uuid;

-- Query #9146 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f31b5702-f75d-8694-7554-e48df39c3f20'::uuid]);

-- Query #9147 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f31b5702-f75d-8694-7554-e48df39c3f20'::uuid;

-- Query #9148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f31b5702-f75d-8694-7554-e48df39c3f20'::uuid, 'Imdb', 'tt9162312')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f31b5702-f75d-8694-7554-e48df39c3f20'::uuid, 'Tmdb', 1688180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f31b5702-f75d-8694-7554-e48df39c3f20'::uuid, 'trakt', 3301840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f31b5702-f75d-8694-7554-e48df39c3f20'::uuid, 'TvMaze', 1585382)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f31b5702-f75d-8694-7554-e48df39c3f20'::uuid, 'Tvdb', 6973033)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f31b5702-f75d-8694-7554-e48df39c3f20'::uuid, 'TmdbCollection', 1688180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9154 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f31b5702-f75d-8694-7554-e48df39c3f20'::uuid;

-- Query #9155 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f31b5702-f75d-8694-7554-e48df39c3f20'::uuid;

-- Query #9156 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f31b5702-f75d-8694-7554-e48df39c3f20'::uuid]);

-- Query #9157 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f31b5702-f75d-8694-7554-e48df39c3f20'::uuid;

-- Query #9158 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9159 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3c0a2aac-ba34-0741-40d7-64bbcc1220ac'::uuid;

-- Query #9160 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3c0a2aac-ba34-0741-40d7-64bbcc1220ac'::uuid]);

-- Query #9161 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3c0a2aac-ba34-0741-40d7-64bbcc1220ac'::uuid;

-- Query #9162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c0a2aac-ba34-0741-40d7-64bbcc1220ac'::uuid, 'Imdb', 'tt0750233')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c0a2aac-ba34-0741-40d7-64bbcc1220ac'::uuid, 'Tmdb', 299504)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c0a2aac-ba34-0741-40d7-64bbcc1220ac'::uuid, 'TmdbCollection', 299504)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c0a2aac-ba34-0741-40d7-64bbcc1220ac'::uuid, 'trakt', 308220)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c0a2aac-ba34-0741-40d7-64bbcc1220ac'::uuid, 'Tvdb', 39910)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c0a2aac-ba34-0741-40d7-64bbcc1220ac'::uuid, 'TvMaze', 111782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c0a2aac-ba34-0741-40d7-64bbcc1220ac'::uuid, 'TvRage', 234092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9169 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3c0a2aac-ba34-0741-40d7-64bbcc1220ac'::uuid;

-- Query #9170 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3c0a2aac-ba34-0741-40d7-64bbcc1220ac'::uuid;

-- Query #9171 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '39853a35-f2f8-0e1a-b2b8-d73f4bdc52e5'::uuid;

-- Query #9172 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39853a35-f2f8-0e1a-b2b8-d73f4bdc52e5'::uuid]);

-- Query #9173 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+CBS', '6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #9174 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '39853a35-f2f8-0e1a-b2b8-d73f4bdc52e5'::uuid;

-- Query #9175 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3c0a2aac-ba34-0741-40d7-64bbcc1220ac'::uuid]);

-- Query #9176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39853a35-f2f8-0e1a-b2b8-d73f4bdc52e5'::uuid, 'Imdb', 'tt9162330')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9177 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3c0a2aac-ba34-0741-40d7-64bbcc1220ac'::uuid;

-- Query #9178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39853a35-f2f8-0e1a-b2b8-d73f4bdc52e5'::uuid, 'Tmdb', 1711692)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39853a35-f2f8-0e1a-b2b8-d73f4bdc52e5'::uuid, 'trakt', 3378492)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9180 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39853a35-f2f8-0e1a-b2b8-d73f4bdc52e5'::uuid, 'TvMaze', 1609028)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39853a35-f2f8-0e1a-b2b8-d73f4bdc52e5'::uuid, 'Tvdb', 7040277)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9183 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39853a35-f2f8-0e1a-b2b8-d73f4bdc52e5'::uuid, 'TmdbCollection', 1711692)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9184 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '39853a35-f2f8-0e1a-b2b8-d73f4bdc52e5'::uuid;

-- Query #9185 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '39853a35-f2f8-0e1a-b2b8-d73f4bdc52e5'::uuid;

-- Query #9186 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['39853a35-f2f8-0e1a-b2b8-d73f4bdc52e5'::uuid]);

-- Query #9187 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '39853a35-f2f8-0e1a-b2b8-d73f4bdc52e5'::uuid;

-- Query #9188 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9189 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '40f8dc1e-fdcd-9bf0-8d23-764f96cd5ff6'::uuid;

-- Query #9190 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40f8dc1e-fdcd-9bf0-8d23-764f96cd5ff6'::uuid]);

-- Query #9191 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '40f8dc1e-fdcd-9bf0-8d23-764f96cd5ff6'::uuid;

-- Query #9192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40f8dc1e-fdcd-9bf0-8d23-764f96cd5ff6'::uuid, 'Imdb', 'tt0750268')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40f8dc1e-fdcd-9bf0-8d23-764f96cd5ff6'::uuid, 'Tmdb', 299503)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40f8dc1e-fdcd-9bf0-8d23-764f96cd5ff6'::uuid, 'TmdbCollection', 299503)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40f8dc1e-fdcd-9bf0-8d23-764f96cd5ff6'::uuid, 'trakt', 308219)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40f8dc1e-fdcd-9bf0-8d23-764f96cd5ff6'::uuid, 'Tvdb', 39909)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40f8dc1e-fdcd-9bf0-8d23-764f96cd5ff6'::uuid, 'TvMaze', 111781)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40f8dc1e-fdcd-9bf0-8d23-764f96cd5ff6'::uuid, 'TvRage', 234091)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9199 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '40f8dc1e-fdcd-9bf0-8d23-764f96cd5ff6'::uuid;

-- Query #9200 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '40f8dc1e-fdcd-9bf0-8d23-764f96cd5ff6'::uuid;

-- Query #9201 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['40f8dc1e-fdcd-9bf0-8d23-764f96cd5ff6'::uuid]);

-- Query #9202 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '40f8dc1e-fdcd-9bf0-8d23-764f96cd5ff6'::uuid;

-- Query #9203 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9204 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1e93b41-bcd4-49fc-4268-c4bf575e8e62'::uuid;

-- Query #9205 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e1e93b41-bcd4-49fc-4268-c4bf575e8e62'::uuid]);

-- Query #9206 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e1e93b41-bcd4-49fc-4268-c4bf575e8e62'::uuid;

-- Query #9207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1e93b41-bcd4-49fc-4268-c4bf575e8e62'::uuid, 'Imdb', 'tt9162318')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1e93b41-bcd4-49fc-4268-c4bf575e8e62'::uuid, 'Tmdb', 1697187)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1e93b41-bcd4-49fc-4268-c4bf575e8e62'::uuid, 'trakt', 3359528)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1e93b41-bcd4-49fc-4268-c4bf575e8e62'::uuid, 'TvMaze', 1601397)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1e93b41-bcd4-49fc-4268-c4bf575e8e62'::uuid, 'Tvdb', 7021740)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1e93b41-bcd4-49fc-4268-c4bf575e8e62'::uuid, 'TmdbCollection', 1697187)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9213 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1e93b41-bcd4-49fc-4268-c4bf575e8e62'::uuid;

-- Query #9214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e1e93b41-bcd4-49fc-4268-c4bf575e8e62'::uuid;

-- Query #9215 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e1e93b41-bcd4-49fc-4268-c4bf575e8e62'::uuid]);

-- Query #9216 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e1e93b41-bcd4-49fc-4268-c4bf575e8e62'::uuid;

-- Query #9217 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9218 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '20ef3612-317c-808a-839e-dc7435dafde9'::uuid;

-- Query #9219 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20ef3612-317c-808a-839e-dc7435dafde9'::uuid]);

-- Query #9220 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '20ef3612-317c-808a-839e-dc7435dafde9'::uuid;

-- Query #9221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20ef3612-317c-808a-839e-dc7435dafde9'::uuid, 'Imdb', 'tt0750236')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20ef3612-317c-808a-839e-dc7435dafde9'::uuid, 'Tmdb', 299505)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20ef3612-317c-808a-839e-dc7435dafde9'::uuid, 'TmdbCollection', 299505)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20ef3612-317c-808a-839e-dc7435dafde9'::uuid, 'trakt', 308221)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9225 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20ef3612-317c-808a-839e-dc7435dafde9'::uuid, 'Tvdb', 39911)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9226 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20ef3612-317c-808a-839e-dc7435dafde9'::uuid, 'TvMaze', 111783)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9227 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20ef3612-317c-808a-839e-dc7435dafde9'::uuid, 'TvRage', 234093)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9228 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '20ef3612-317c-808a-839e-dc7435dafde9'::uuid;

-- Query #9229 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '20ef3612-317c-808a-839e-dc7435dafde9'::uuid;

-- Query #9230 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+CBS', '6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #9231 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['20ef3612-317c-808a-839e-dc7435dafde9'::uuid]);

-- Query #9232 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '20ef3612-317c-808a-839e-dc7435dafde9'::uuid;

-- Query #9233 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9234 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '527d5d99-75b1-85f7-13a9-49851ebe6c47'::uuid;

-- Query #9235 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['527d5d99-75b1-85f7-13a9-49851ebe6c47'::uuid]);

-- Query #9236 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '527d5d99-75b1-85f7-13a9-49851ebe6c47'::uuid;

-- Query #9237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('527d5d99-75b1-85f7-13a9-49851ebe6c47'::uuid, 'Imdb', 'tt9476696')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('527d5d99-75b1-85f7-13a9-49851ebe6c47'::uuid, 'Tmdb', 1639329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9239 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('527d5d99-75b1-85f7-13a9-49851ebe6c47'::uuid, 'trakt', 3274408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9240 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('527d5d99-75b1-85f7-13a9-49851ebe6c47'::uuid, 'TvMaze', 1576813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9241 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('527d5d99-75b1-85f7-13a9-49851ebe6c47'::uuid, 'Tvdb', 6973031)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9242 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('527d5d99-75b1-85f7-13a9-49851ebe6c47'::uuid, 'TmdbCollection', 1639329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '527d5d99-75b1-85f7-13a9-49851ebe6c47'::uuid;

-- Query #9244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '527d5d99-75b1-85f7-13a9-49851ebe6c47'::uuid;

-- Query #9245 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e29dc05f-97db-315f-86a7-e3a1150ecf0c'::uuid;

-- Query #9246 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['527d5d99-75b1-85f7-13a9-49851ebe6c47'::uuid]);

-- Query #9247 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '527d5d99-75b1-85f7-13a9-49851ebe6c47'::uuid;

-- Query #9248 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9249 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e29dc05f-97db-315f-86a7-e3a1150ecf0c'::uuid]);

-- Query #9250 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e29dc05f-97db-315f-86a7-e3a1150ecf0c'::uuid;

-- Query #9251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e29dc05f-97db-315f-86a7-e3a1150ecf0c'::uuid, 'Imdb', 'tt0750270')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e29dc05f-97db-315f-86a7-e3a1150ecf0c'::uuid, 'Tmdb', 299518)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e29dc05f-97db-315f-86a7-e3a1150ecf0c'::uuid, 'TmdbCollection', 299518)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e29dc05f-97db-315f-86a7-e3a1150ecf0c'::uuid, 'trakt', 308234)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e29dc05f-97db-315f-86a7-e3a1150ecf0c'::uuid, 'Tvdb', 39924)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e29dc05f-97db-315f-86a7-e3a1150ecf0c'::uuid, 'TvMaze', 111796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9257 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e29dc05f-97db-315f-86a7-e3a1150ecf0c'::uuid, 'TvRage', 234106)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e29dc05f-97db-315f-86a7-e3a1150ecf0c'::uuid;

-- Query #9259 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e29dc05f-97db-315f-86a7-e3a1150ecf0c'::uuid;

-- Query #9260 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e29dc05f-97db-315f-86a7-e3a1150ecf0c'::uuid]);

-- Query #9261 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e29dc05f-97db-315f-86a7-e3a1150ecf0c'::uuid;

-- Query #9262 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9263 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '318c444d-6c74-bb00-7f9e-c0e1b09fb252'::uuid;

-- Query #9264 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['318c444d-6c74-bb00-7f9e-c0e1b09fb252'::uuid]);

-- Query #9265 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '318c444d-6c74-bb00-7f9e-c0e1b09fb252'::uuid;

-- Query #9266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('318c444d-6c74-bb00-7f9e-c0e1b09fb252'::uuid, 'Imdb', 'tt9108110')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9267 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('318c444d-6c74-bb00-7f9e-c0e1b09fb252'::uuid, 'Tmdb', 1601636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('318c444d-6c74-bb00-7f9e-c0e1b09fb252'::uuid, 'trakt', 3165228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('318c444d-6c74-bb00-7f9e-c0e1b09fb252'::uuid, 'TvMaze', 1544999)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('318c444d-6c74-bb00-7f9e-c0e1b09fb252'::uuid, 'Tvdb', 6859714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9271 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('318c444d-6c74-bb00-7f9e-c0e1b09fb252'::uuid, 'TmdbCollection', 1601636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '318c444d-6c74-bb00-7f9e-c0e1b09fb252'::uuid;

-- Query #9273 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '318c444d-6c74-bb00-7f9e-c0e1b09fb252'::uuid;

-- Query #9274 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf9168cf-f885-6a0b-40ef-364b6497cbd7'::uuid;

-- Query #9275 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['318c444d-6c74-bb00-7f9e-c0e1b09fb252'::uuid]);

-- Query #9276 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '318c444d-6c74-bb00-7f9e-c0e1b09fb252'::uuid;

-- Query #9277 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9278 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf9168cf-f885-6a0b-40ef-364b6497cbd7'::uuid]);

-- Query #9279 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bf9168cf-f885-6a0b-40ef-364b6497cbd7'::uuid;

-- Query #9280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf9168cf-f885-6a0b-40ef-364b6497cbd7'::uuid, 'Imdb', 'tt0750239')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf9168cf-f885-6a0b-40ef-364b6497cbd7'::uuid, 'Tmdb', 299512)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9282 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf9168cf-f885-6a0b-40ef-364b6497cbd7'::uuid, 'TmdbCollection', 299512)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9283 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf9168cf-f885-6a0b-40ef-364b6497cbd7'::uuid, 'trakt', 308228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9284 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf9168cf-f885-6a0b-40ef-364b6497cbd7'::uuid, 'Tvdb', 39918)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9285 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf9168cf-f885-6a0b-40ef-364b6497cbd7'::uuid, 'TvMaze', 111790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9286 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf9168cf-f885-6a0b-40ef-364b6497cbd7'::uuid, 'TvRage', 234100)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9287 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf9168cf-f885-6a0b-40ef-364b6497cbd7'::uuid;

-- Query #9288 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bf9168cf-f885-6a0b-40ef-364b6497cbd7'::uuid;

-- Query #9289 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bf9168cf-f885-6a0b-40ef-364b6497cbd7'::uuid]);

-- Query #9290 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bf9168cf-f885-6a0b-40ef-364b6497cbd7'::uuid;

-- Query #9291 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9292 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ea44d8ed-e418-c4fa-beb9-3161fd243c86'::uuid;

-- Query #9293 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea44d8ed-e418-c4fa-beb9-3161fd243c86'::uuid]);

-- Query #9294 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ea44d8ed-e418-c4fa-beb9-3161fd243c86'::uuid;

-- Query #9295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea44d8ed-e418-c4fa-beb9-3161fd243c86'::uuid, 'Imdb', 'tt9129008')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9296 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea44d8ed-e418-c4fa-beb9-3161fd243c86'::uuid, 'Tmdb', 1612969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9297 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea44d8ed-e418-c4fa-beb9-3161fd243c86'::uuid, 'trakt', 3229199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9298 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea44d8ed-e418-c4fa-beb9-3161fd243c86'::uuid, 'TvMaze', 1556915)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9299 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea44d8ed-e418-c4fa-beb9-3161fd243c86'::uuid, 'Tvdb', 6895765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea44d8ed-e418-c4fa-beb9-3161fd243c86'::uuid, 'TmdbCollection', 1612969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9301 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ea44d8ed-e418-c4fa-beb9-3161fd243c86'::uuid;

-- Query #9302 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ea44d8ed-e418-c4fa-beb9-3161fd243c86'::uuid;

-- Query #9303 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ea44d8ed-e418-c4fa-beb9-3161fd243c86'::uuid]);

-- Query #9304 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ea44d8ed-e418-c4fa-beb9-3161fd243c86'::uuid;

-- Query #9305 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9306 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd039c483-252b-0f4f-f469-2f86f89bec93'::uuid;

-- Query #9307 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d039c483-252b-0f4f-f469-2f86f89bec93'::uuid]);

-- Query #9308 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd039c483-252b-0f4f-f469-2f86f89bec93'::uuid;

-- Query #9309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d039c483-252b-0f4f-f469-2f86f89bec93'::uuid, 'Imdb', 'tt0750240')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d039c483-252b-0f4f-f469-2f86f89bec93'::uuid, 'Tmdb', 299501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d039c483-252b-0f4f-f469-2f86f89bec93'::uuid, 'TmdbCollection', 299501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9312 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d039c483-252b-0f4f-f469-2f86f89bec93'::uuid, 'trakt', 308217)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9313 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d039c483-252b-0f4f-f469-2f86f89bec93'::uuid, 'Tvdb', 39907)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d039c483-252b-0f4f-f469-2f86f89bec93'::uuid, 'TvMaze', 111779)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9315 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d039c483-252b-0f4f-f469-2f86f89bec93'::uuid, 'TvRage', 234089)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9316 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd039c483-252b-0f4f-f469-2f86f89bec93'::uuid;

-- Query #9317 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd039c483-252b-0f4f-f469-2f86f89bec93'::uuid;

-- Query #9318 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d039c483-252b-0f4f-f469-2f86f89bec93'::uuid]);

-- Query #9319 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd039c483-252b-0f4f-f469-2f86f89bec93'::uuid;

-- Query #9320 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9321 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb590338-e8f9-8d4d-a399-b436c1884b72'::uuid;

-- Query #9322 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb590338-e8f9-8d4d-a399-b436c1884b72'::uuid]);

-- Query #9323 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fb590338-e8f9-8d4d-a399-b436c1884b72'::uuid;

-- Query #9324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb590338-e8f9-8d4d-a399-b436c1884b72'::uuid, 'Imdb', 'tt9505542')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb590338-e8f9-8d4d-a399-b436c1884b72'::uuid, 'Tmdb', 1653525)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb590338-e8f9-8d4d-a399-b436c1884b72'::uuid, 'trakt', 3301835)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb590338-e8f9-8d4d-a399-b436c1884b72'::uuid, 'TvMaze', 1583811)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9328 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb590338-e8f9-8d4d-a399-b436c1884b72'::uuid, 'Tvdb', 6973029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9329 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb590338-e8f9-8d4d-a399-b436c1884b72'::uuid, 'TmdbCollection', 1653525)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9330 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb590338-e8f9-8d4d-a399-b436c1884b72'::uuid;

-- Query #9331 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fb590338-e8f9-8d4d-a399-b436c1884b72'::uuid;

-- Query #9332 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fb590338-e8f9-8d4d-a399-b436c1884b72'::uuid]);

-- Query #9333 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fb590338-e8f9-8d4d-a399-b436c1884b72'::uuid;

-- Query #9334 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9335 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #9336 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5dab3252-472b-6155-719e-4c42b521c581'::uuid;

-- Query #9337 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5dab3252-472b-6155-719e-4c42b521c581'::uuid]);

-- Query #9338 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5dab3252-472b-6155-719e-4c42b521c581'::uuid;

-- Query #9339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5dab3252-472b-6155-719e-4c42b521c581'::uuid, 'Imdb', 'tt0750272')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5dab3252-472b-6155-719e-4c42b521c581'::uuid, 'Tmdb', 299521)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5dab3252-472b-6155-719e-4c42b521c581'::uuid, 'TmdbCollection', 299521)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5dab3252-472b-6155-719e-4c42b521c581'::uuid, 'trakt', 308237)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5dab3252-472b-6155-719e-4c42b521c581'::uuid, 'Tvdb', 39927)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5dab3252-472b-6155-719e-4c42b521c581'::uuid, 'TvMaze', 111799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5dab3252-472b-6155-719e-4c42b521c581'::uuid, 'TvRage', 234109)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9346 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5dab3252-472b-6155-719e-4c42b521c581'::uuid;

-- Query #9347 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5dab3252-472b-6155-719e-4c42b521c581'::uuid;

-- Query #9348 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d22ee1f-5abd-7f2c-2cef-48b76ccf4aa9'::uuid;

-- Query #9349 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5dab3252-472b-6155-719e-4c42b521c581'::uuid]);

-- Query #9350 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5dab3252-472b-6155-719e-4c42b521c581'::uuid;

-- Query #9351 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9352 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d22ee1f-5abd-7f2c-2cef-48b76ccf4aa9'::uuid]);

-- Query #9353 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4d22ee1f-5abd-7f2c-2cef-48b76ccf4aa9'::uuid;

-- Query #9354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d22ee1f-5abd-7f2c-2cef-48b76ccf4aa9'::uuid, 'Imdb', 'tt8970732')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d22ee1f-5abd-7f2c-2cef-48b76ccf4aa9'::uuid, 'Tmdb', 1575715)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d22ee1f-5abd-7f2c-2cef-48b76ccf4aa9'::uuid, 'trakt', 3165224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d22ee1f-5abd-7f2c-2cef-48b76ccf4aa9'::uuid, 'TvMaze', 1536169)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d22ee1f-5abd-7f2c-2cef-48b76ccf4aa9'::uuid, 'Tvdb', 6835369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d22ee1f-5abd-7f2c-2cef-48b76ccf4aa9'::uuid, 'TmdbCollection', 1575715)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d22ee1f-5abd-7f2c-2cef-48b76ccf4aa9'::uuid;

-- Query #9361 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4d22ee1f-5abd-7f2c-2cef-48b76ccf4aa9'::uuid;

-- Query #9362 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4d22ee1f-5abd-7f2c-2cef-48b76ccf4aa9'::uuid]);

-- Query #9363 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4d22ee1f-5abd-7f2c-2cef-48b76ccf4aa9'::uuid;

-- Query #9364 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9365 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c5d246ed-9bd2-5243-e360-d11dc5fcab20'::uuid;

-- Query #9366 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c5d246ed-9bd2-5243-e360-d11dc5fcab20'::uuid]);

-- Query #9367 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c5d246ed-9bd2-5243-e360-d11dc5fcab20'::uuid;

-- Query #9368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5d246ed-9bd2-5243-e360-d11dc5fcab20'::uuid, 'Imdb', 'tt0750250')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5d246ed-9bd2-5243-e360-d11dc5fcab20'::uuid, 'Tmdb', 299500)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5d246ed-9bd2-5243-e360-d11dc5fcab20'::uuid, 'TmdbCollection', 299500)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5d246ed-9bd2-5243-e360-d11dc5fcab20'::uuid, 'trakt', 308216)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5d246ed-9bd2-5243-e360-d11dc5fcab20'::uuid, 'Tvdb', 39906)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5d246ed-9bd2-5243-e360-d11dc5fcab20'::uuid, 'TvMaze', 111778)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5d246ed-9bd2-5243-e360-d11dc5fcab20'::uuid, 'TvRage', 234088)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9375 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c5d246ed-9bd2-5243-e360-d11dc5fcab20'::uuid;

-- Query #9376 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c5d246ed-9bd2-5243-e360-d11dc5fcab20'::uuid;

-- Query #9377 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f82608bf-e678-21a9-f55e-6c163e09ae7a'::uuid;

-- Query #9378 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c5d246ed-9bd2-5243-e360-d11dc5fcab20'::uuid]);

-- Query #9379 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c5d246ed-9bd2-5243-e360-d11dc5fcab20'::uuid;

-- Query #9380 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9381 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f82608bf-e678-21a9-f55e-6c163e09ae7a'::uuid]);

-- Query #9382 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f82608bf-e678-21a9-f55e-6c163e09ae7a'::uuid;

-- Query #9383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f82608bf-e678-21a9-f55e-6c163e09ae7a'::uuid, 'Imdb', 'tt11299742')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f82608bf-e678-21a9-f55e-6c163e09ae7a'::uuid, 'Tmdb', 1994137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f82608bf-e678-21a9-f55e-6c163e09ae7a'::uuid, 'trakt', 3821712)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f82608bf-e678-21a9-f55e-6c163e09ae7a'::uuid, 'TvMaze', 1755878)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f82608bf-e678-21a9-f55e-6c163e09ae7a'::uuid, 'Tvdb', 7465938)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f82608bf-e678-21a9-f55e-6c163e09ae7a'::uuid, 'TmdbCollection', 1994137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9389 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f82608bf-e678-21a9-f55e-6c163e09ae7a'::uuid;

-- Query #9390 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f82608bf-e678-21a9-f55e-6c163e09ae7a'::uuid;

-- Query #9391 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f82608bf-e678-21a9-f55e-6c163e09ae7a'::uuid]);

-- Query #9392 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f82608bf-e678-21a9-f55e-6c163e09ae7a'::uuid;

-- Query #9393 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9394 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '40d480ce-53b6-26c8-14e6-a11bb26f56cb'::uuid;

-- Query #9395 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40d480ce-53b6-26c8-14e6-a11bb26f56cb'::uuid]);

-- Query #9396 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '40d480ce-53b6-26c8-14e6-a11bb26f56cb'::uuid;

-- Query #9397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40d480ce-53b6-26c8-14e6-a11bb26f56cb'::uuid, 'Imdb', 'tt0750251')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40d480ce-53b6-26c8-14e6-a11bb26f56cb'::uuid, 'Tmdb', 299522)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40d480ce-53b6-26c8-14e6-a11bb26f56cb'::uuid, 'TmdbCollection', 299522)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40d480ce-53b6-26c8-14e6-a11bb26f56cb'::uuid, 'trakt', 308238)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9401 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e02e786-b6ae-aa56-e005-b7c0a0fc458c'::uuid;

-- Query #9402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40d480ce-53b6-26c8-14e6-a11bb26f56cb'::uuid, 'Tvdb', 39928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40d480ce-53b6-26c8-14e6-a11bb26f56cb'::uuid, 'TvMaze', 111800)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40d480ce-53b6-26c8-14e6-a11bb26f56cb'::uuid, 'TvRage', 234110)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9405 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '40d480ce-53b6-26c8-14e6-a11bb26f56cb'::uuid;

-- Query #9406 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '40d480ce-53b6-26c8-14e6-a11bb26f56cb'::uuid;

-- Query #9407 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['40d480ce-53b6-26c8-14e6-a11bb26f56cb'::uuid]);

-- Query #9408 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e02e786-b6ae-aa56-e005-b7c0a0fc458c'::uuid]);

-- Query #9409 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '40d480ce-53b6-26c8-14e6-a11bb26f56cb'::uuid;

-- Query #9410 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8e02e786-b6ae-aa56-e005-b7c0a0fc458c'::uuid;

-- Query #9411 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9412 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e02e786-b6ae-aa56-e005-b7c0a0fc458c'::uuid, 'Imdb', 'tt11146240')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e02e786-b6ae-aa56-e005-b7c0a0fc458c'::uuid, 'Tmdb', 1992425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e02e786-b6ae-aa56-e005-b7c0a0fc458c'::uuid, 'trakt', 3821711)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e02e786-b6ae-aa56-e005-b7c0a0fc458c'::uuid, 'TvMaze', 1747988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e02e786-b6ae-aa56-e005-b7c0a0fc458c'::uuid, 'Tvdb', 7465935)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e02e786-b6ae-aa56-e005-b7c0a0fc458c'::uuid, 'TmdbCollection', 1992425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9418 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e02e786-b6ae-aa56-e005-b7c0a0fc458c'::uuid;

-- Query #9419 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8e02e786-b6ae-aa56-e005-b7c0a0fc458c'::uuid;

-- Query #9420 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8e02e786-b6ae-aa56-e005-b7c0a0fc458c'::uuid]);

-- Query #9421 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8e02e786-b6ae-aa56-e005-b7c0a0fc458c'::uuid;

-- Query #9422 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9423 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '40bc29d6-7edb-4d46-e633-2e7f1e7987c2'::uuid;

-- Query #9424 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40bc29d6-7edb-4d46-e633-2e7f1e7987c2'::uuid]);

-- Query #9425 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '40bc29d6-7edb-4d46-e633-2e7f1e7987c2'::uuid;

-- Query #9426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bc29d6-7edb-4d46-e633-2e7f1e7987c2'::uuid, 'Imdb', 'tt0750253')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bc29d6-7edb-4d46-e633-2e7f1e7987c2'::uuid, 'Tmdb', 299510)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bc29d6-7edb-4d46-e633-2e7f1e7987c2'::uuid, 'TmdbCollection', 299510)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bc29d6-7edb-4d46-e633-2e7f1e7987c2'::uuid, 'trakt', 308226)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bc29d6-7edb-4d46-e633-2e7f1e7987c2'::uuid, 'Tvdb', 39916)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9431 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3c192ac-6f68-02c0-94c8-05bb777cd230'::uuid;

-- Query #9432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bc29d6-7edb-4d46-e633-2e7f1e7987c2'::uuid, 'TvMaze', 111788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bc29d6-7edb-4d46-e633-2e7f1e7987c2'::uuid, 'TvRage', 234098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9434 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '40bc29d6-7edb-4d46-e633-2e7f1e7987c2'::uuid;

-- Query #9435 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '40bc29d6-7edb-4d46-e633-2e7f1e7987c2'::uuid;

-- Query #9436 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+CBS', '6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #9437 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['40bc29d6-7edb-4d46-e633-2e7f1e7987c2'::uuid]);

-- Query #9438 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '40bc29d6-7edb-4d46-e633-2e7f1e7987c2'::uuid;

-- Query #9439 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9440 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3c192ac-6f68-02c0-94c8-05bb777cd230'::uuid]);

-- Query #9441 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f3c192ac-6f68-02c0-94c8-05bb777cd230'::uuid;

-- Query #9442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3c192ac-6f68-02c0-94c8-05bb777cd230'::uuid, 'Imdb', 'tt11299746')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3c192ac-6f68-02c0-94c8-05bb777cd230'::uuid, 'Tmdb', 1996271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3c192ac-6f68-02c0-94c8-05bb777cd230'::uuid, 'trakt', 3821713)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3c192ac-6f68-02c0-94c8-05bb777cd230'::uuid, 'TvMaze', 1759884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3c192ac-6f68-02c0-94c8-05bb777cd230'::uuid, 'Tvdb', 7455934)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3c192ac-6f68-02c0-94c8-05bb777cd230'::uuid, 'TmdbCollection', 1996271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9448 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3c192ac-6f68-02c0-94c8-05bb777cd230'::uuid;

-- Query #9449 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f3c192ac-6f68-02c0-94c8-05bb777cd230'::uuid;

-- Query #9450 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f3c192ac-6f68-02c0-94c8-05bb777cd230'::uuid]);

-- Query #9451 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f3c192ac-6f68-02c0-94c8-05bb777cd230'::uuid;

-- Query #9452 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9453 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd125c728-b4f7-e596-85f8-18cd15220517'::uuid;

-- Query #9454 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d125c728-b4f7-e596-85f8-18cd15220517'::uuid]);

-- Query #9455 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd125c728-b4f7-e596-85f8-18cd15220517'::uuid;

-- Query #9456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d125c728-b4f7-e596-85f8-18cd15220517'::uuid, 'Imdb', 'tt0750281')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d125c728-b4f7-e596-85f8-18cd15220517'::uuid, 'Tmdb', 299516)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d125c728-b4f7-e596-85f8-18cd15220517'::uuid, 'TmdbCollection', 299516)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9459 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d125c728-b4f7-e596-85f8-18cd15220517'::uuid, 'trakt', 308232)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9460 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d125c728-b4f7-e596-85f8-18cd15220517'::uuid, 'Tvdb', 39922)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d125c728-b4f7-e596-85f8-18cd15220517'::uuid, 'TvMaze', 111794)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d125c728-b4f7-e596-85f8-18cd15220517'::uuid, 'TvRage', 234104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9463 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd125c728-b4f7-e596-85f8-18cd15220517'::uuid;

-- Query #9464 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd125c728-b4f7-e596-85f8-18cd15220517'::uuid;

-- Query #9465 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+CBS', '6+based on comic', '6+strong woman', '6+super power', '6+superhero']);

-- Query #9466 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '272e287b-1be0-2064-f2b5-027ddc1689f9'::uuid;

-- Query #9467 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d125c728-b4f7-e596-85f8-18cd15220517'::uuid]);

-- Query #9468 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd125c728-b4f7-e596-85f8-18cd15220517'::uuid;

-- Query #9469 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9470 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['272e287b-1be0-2064-f2b5-027ddc1689f9'::uuid]);

-- Query #9471 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '272e287b-1be0-2064-f2b5-027ddc1689f9'::uuid;

-- Query #9472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('272e287b-1be0-2064-f2b5-027ddc1689f9'::uuid, 'Imdb', 'tt10946778')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9473 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('272e287b-1be0-2064-f2b5-027ddc1689f9'::uuid, 'Tmdb', 1951394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('272e287b-1be0-2064-f2b5-027ddc1689f9'::uuid, 'trakt', 3729595)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('272e287b-1be0-2064-f2b5-027ddc1689f9'::uuid, 'TvMaze', 1716357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('272e287b-1be0-2064-f2b5-027ddc1689f9'::uuid, 'Tvdb', 7373494)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9477 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('272e287b-1be0-2064-f2b5-027ddc1689f9'::uuid, 'TmdbCollection', 1951394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9478 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '272e287b-1be0-2064-f2b5-027ddc1689f9'::uuid;

-- Query #9479 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '272e287b-1be0-2064-f2b5-027ddc1689f9'::uuid;

-- Query #9480 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['272e287b-1be0-2064-f2b5-027ddc1689f9'::uuid]);

-- Query #9481 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '272e287b-1be0-2064-f2b5-027ddc1689f9'::uuid;

-- Query #9482 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9483 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fe35c8a-7106-209f-5278-58d59f828916'::uuid;

-- Query #9484 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7fe35c8a-7106-209f-5278-58d59f828916'::uuid]);

-- Query #9485 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7fe35c8a-7106-209f-5278-58d59f828916'::uuid;

-- Query #9486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe35c8a-7106-209f-5278-58d59f828916'::uuid, 'Imdb', 'tt0750256')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe35c8a-7106-209f-5278-58d59f828916'::uuid, 'Tmdb', 299507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe35c8a-7106-209f-5278-58d59f828916'::uuid, 'TmdbCollection', 299507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe35c8a-7106-209f-5278-58d59f828916'::uuid, 'trakt', 308223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe35c8a-7106-209f-5278-58d59f828916'::uuid, 'Tvdb', 39913)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe35c8a-7106-209f-5278-58d59f828916'::uuid, 'TvMaze', 111785)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe35c8a-7106-209f-5278-58d59f828916'::uuid, 'TvRage', 234095)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9493 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fe35c8a-7106-209f-5278-58d59f828916'::uuid;

-- Query #9494 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7fe35c8a-7106-209f-5278-58d59f828916'::uuid;

-- Query #9495 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7fe35c8a-7106-209f-5278-58d59f828916'::uuid]);

-- Query #9496 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7fe35c8a-7106-209f-5278-58d59f828916'::uuid;

-- Query #9497 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9498 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb13bac7-952c-76d6-ad04-0365fbeaadd7'::uuid;

-- Query #9499 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bb13bac7-952c-76d6-ad04-0365fbeaadd7'::uuid]);

-- Query #9500 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bb13bac7-952c-76d6-ad04-0365fbeaadd7'::uuid;

-- Query #9501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb13bac7-952c-76d6-ad04-0365fbeaadd7'::uuid, 'TmdbCollection', 1996278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb13bac7-952c-76d6-ad04-0365fbeaadd7'::uuid, 'Imdb', 'tt11299774')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb13bac7-952c-76d6-ad04-0365fbeaadd7'::uuid, 'Tmdb', 1996278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9504 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb13bac7-952c-76d6-ad04-0365fbeaadd7'::uuid, 'trakt', 3822195)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9505 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b03dd2e4-0843-8009-44d7-c68d8e712db2'::uuid;

-- Query #9506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb13bac7-952c-76d6-ad04-0365fbeaadd7'::uuid, 'TvMaze', 1770568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9507 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb13bac7-952c-76d6-ad04-0365fbeaadd7'::uuid, 'Tvdb', 7459918)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9508 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb13bac7-952c-76d6-ad04-0365fbeaadd7'::uuid;

-- Query #9509 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bb13bac7-952c-76d6-ad04-0365fbeaadd7'::uuid;

-- Query #9510 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bb13bac7-952c-76d6-ad04-0365fbeaadd7'::uuid]);

-- Query #9511 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b03dd2e4-0843-8009-44d7-c68d8e712db2'::uuid]);

-- Query #9512 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bb13bac7-952c-76d6-ad04-0365fbeaadd7'::uuid;

-- Query #9513 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b03dd2e4-0843-8009-44d7-c68d8e712db2'::uuid;

-- Query #9514 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03dd2e4-0843-8009-44d7-c68d8e712db2'::uuid, 'Imdb', 'tt0750282')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03dd2e4-0843-8009-44d7-c68d8e712db2'::uuid, 'Tmdb', 299514)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03dd2e4-0843-8009-44d7-c68d8e712db2'::uuid, 'TmdbCollection', 299514)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03dd2e4-0843-8009-44d7-c68d8e712db2'::uuid, 'trakt', 308230)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03dd2e4-0843-8009-44d7-c68d8e712db2'::uuid, 'Tvdb', 39920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03dd2e4-0843-8009-44d7-c68d8e712db2'::uuid, 'TvMaze', 111792)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03dd2e4-0843-8009-44d7-c68d8e712db2'::uuid, 'TvRage', 234102)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9522 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b03dd2e4-0843-8009-44d7-c68d8e712db2'::uuid;

-- Query #9523 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b03dd2e4-0843-8009-44d7-c68d8e712db2'::uuid;

-- Query #9524 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b03dd2e4-0843-8009-44d7-c68d8e712db2'::uuid]);

-- Query #9525 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b03dd2e4-0843-8009-44d7-c68d8e712db2'::uuid;

-- Query #9526 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9527 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b206037f-75b9-3438-7748-85454dbf4cb1'::uuid;

-- Query #9528 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b206037f-75b9-3438-7748-85454dbf4cb1'::uuid]);

-- Query #9529 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b206037f-75b9-3438-7748-85454dbf4cb1'::uuid;

-- Query #9530 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b206037f-75b9-3438-7748-85454dbf4cb1'::uuid, 'Imdb', 'tt12005296')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b206037f-75b9-3438-7748-85454dbf4cb1'::uuid, 'Tmdb', 2206536)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b206037f-75b9-3438-7748-85454dbf4cb1'::uuid, 'trakt', 4063439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b206037f-75b9-3438-7748-85454dbf4cb1'::uuid, 'TvMaze', 1821503)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b206037f-75b9-3438-7748-85454dbf4cb1'::uuid, 'Tvdb', 7641022)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b206037f-75b9-3438-7748-85454dbf4cb1'::uuid, 'TmdbCollection', 2206536)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9536 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b206037f-75b9-3438-7748-85454dbf4cb1'::uuid;

-- Query #9537 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b206037f-75b9-3438-7748-85454dbf4cb1'::uuid;

-- Query #9538 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b206037f-75b9-3438-7748-85454dbf4cb1'::uuid]);

-- Query #9539 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b206037f-75b9-3438-7748-85454dbf4cb1'::uuid;

-- Query #9540 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9541 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b9a8b618-2a29-f5b0-3b12-14f2fa065e3d'::uuid;

-- Query #9542 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b9a8b618-2a29-f5b0-3b12-14f2fa065e3d'::uuid]);

-- Query #9543 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b9a8b618-2a29-f5b0-3b12-14f2fa065e3d'::uuid;

-- Query #9544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9a8b618-2a29-f5b0-3b12-14f2fa065e3d'::uuid, 'Imdb', 'tt0750258')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9a8b618-2a29-f5b0-3b12-14f2fa065e3d'::uuid, 'Tmdb', 299509)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9a8b618-2a29-f5b0-3b12-14f2fa065e3d'::uuid, 'TmdbCollection', 299509)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9a8b618-2a29-f5b0-3b12-14f2fa065e3d'::uuid, 'trakt', 308225)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9a8b618-2a29-f5b0-3b12-14f2fa065e3d'::uuid, 'Tvdb', 39915)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9a8b618-2a29-f5b0-3b12-14f2fa065e3d'::uuid, 'TvMaze', 111787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9a8b618-2a29-f5b0-3b12-14f2fa065e3d'::uuid, 'TvRage', 234097)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9551 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b9a8b618-2a29-f5b0-3b12-14f2fa065e3d'::uuid;

-- Query #9552 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b9a8b618-2a29-f5b0-3b12-14f2fa065e3d'::uuid;

-- Query #9553 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b9a8b618-2a29-f5b0-3b12-14f2fa065e3d'::uuid]);

-- Query #9554 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b9a8b618-2a29-f5b0-3b12-14f2fa065e3d'::uuid;

-- Query #9555 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9556 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74564456-2375-7828-2c45-ea4d1c46514c'::uuid;

-- Query #9557 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['74564456-2375-7828-2c45-ea4d1c46514c'::uuid]);

-- Query #9558 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '74564456-2375-7828-2c45-ea4d1c46514c'::uuid;

-- Query #9559 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74564456-2375-7828-2c45-ea4d1c46514c'::uuid, 'Imdb', 'tt11584594')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74564456-2375-7828-2c45-ea4d1c46514c'::uuid, 'Tmdb', 2067203)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74564456-2375-7828-2c45-ea4d1c46514c'::uuid, 'trakt', 3916854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74564456-2375-7828-2c45-ea4d1c46514c'::uuid, 'TvMaze', 1787377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9563 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74564456-2375-7828-2c45-ea4d1c46514c'::uuid, 'Tvdb', 7525894)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74564456-2375-7828-2c45-ea4d1c46514c'::uuid, 'TmdbCollection', 2067203)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9565 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74564456-2375-7828-2c45-ea4d1c46514c'::uuid;

-- Query #9566 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '74564456-2375-7828-2c45-ea4d1c46514c'::uuid;

-- Query #9567 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['74564456-2375-7828-2c45-ea4d1c46514c'::uuid]);

-- Query #9568 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '74564456-2375-7828-2c45-ea4d1c46514c'::uuid;

-- Query #9569 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9570 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '03aed27b-ba9d-6586-7bc6-861afece8d69'::uuid;

-- Query #9571 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03aed27b-ba9d-6586-7bc6-861afece8d69'::uuid]);

-- Query #9572 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '03aed27b-ba9d-6586-7bc6-861afece8d69'::uuid;

-- Query #9573 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03aed27b-ba9d-6586-7bc6-861afece8d69'::uuid, 'Imdb', 'tt0750283')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9574 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03aed27b-ba9d-6586-7bc6-861afece8d69'::uuid, 'Tmdb', 299506)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03aed27b-ba9d-6586-7bc6-861afece8d69'::uuid, 'TmdbCollection', 299506)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03aed27b-ba9d-6586-7bc6-861afece8d69'::uuid, 'trakt', 308222)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03aed27b-ba9d-6586-7bc6-861afece8d69'::uuid, 'Tvdb', 39912)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9578 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03aed27b-ba9d-6586-7bc6-861afece8d69'::uuid, 'TvMaze', 111784)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03aed27b-ba9d-6586-7bc6-861afece8d69'::uuid, 'TvRage', 234094)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9580 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '03aed27b-ba9d-6586-7bc6-861afece8d69'::uuid;

-- Query #9581 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '03aed27b-ba9d-6586-7bc6-861afece8d69'::uuid;

-- Query #9582 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['03aed27b-ba9d-6586-7bc6-861afece8d69'::uuid]);

-- Query #9583 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '03aed27b-ba9d-6586-7bc6-861afece8d69'::uuid;

-- Query #9584 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid, 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9585 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'aa6b20af-39b6-23cf-568f-8d93a8d86969'::uuid
ORDER BY b."SortName";

-- Query #9586 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid])
ORDER BY b."Id";

-- Query #9587 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid])
ORDER BY b."Id";

-- Query #9588 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid])
ORDER BY b."Id";

-- Query #9589 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid])
ORDER BY b."Id";

-- Query #9590 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid, '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid, 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid])
ORDER BY b."Id";

-- Query #9591 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7480569a-99ae-5c15-1c0c-e93ef97d5a8c'::uuid
ORDER BY b."SortName";

-- Query #9592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c00d3e79-19e4-2946-d4c5-c4b99215d636'::uuid;

-- Query #9593 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7a437982-6d2a-f649-7584-ef12639e77b8'::uuid
ORDER BY b."SortName";

-- Query #9594 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c00d3e79-19e4-2946-d4c5-c4b99215d636'::uuid]);

-- Query #9595 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c00d3e79-19e4-2946-d4c5-c4b99215d636'::uuid;

-- Query #9596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c00d3e79-19e4-2946-d4c5-c4b99215d636'::uuid, 'Imdb', 'tt10946810')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c00d3e79-19e4-2946-d4c5-c4b99215d636'::uuid, 'Tmdb', 1968329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c00d3e79-19e4-2946-d4c5-c4b99215d636'::uuid, 'trakt', 3785624)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c00d3e79-19e4-2946-d4c5-c4b99215d636'::uuid, 'TvMaze', 1716384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c00d3e79-19e4-2946-d4c5-c4b99215d636'::uuid, 'Tvdb', 7424389)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c00d3e79-19e4-2946-d4c5-c4b99215d636'::uuid, 'TmdbCollection', 1968329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9602 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c00d3e79-19e4-2946-d4c5-c4b99215d636'::uuid;

-- Query #9603 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c00d3e79-19e4-2946-d4c5-c4b99215d636'::uuid;

-- Query #9604 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd60ce626-ae35-89c3-499d-ba12ee9569ac'::uuid
ORDER BY b."SortName";

-- Query #9605 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c00d3e79-19e4-2946-d4c5-c4b99215d636'::uuid]);

-- Query #9606 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c00d3e79-19e4-2946-d4c5-c4b99215d636'::uuid;

-- Query #9607 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9608 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'aa6b20af39b623cf568f8d93a8d86969'
ORDER BY b."SortName", b."Name";

-- Query #9609 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '27668166-0449-98e7-3544-4b5f92c267f6'::uuid;

-- Query #9610 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['27668166-0449-98e7-3544-4b5f92c267f6'::uuid]);

-- Query #9611 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '27668166-0449-98e7-3544-4b5f92c267f6'::uuid;

-- Query #9612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27668166-0449-98e7-3544-4b5f92c267f6'::uuid, 'Imdb', 'tt10649176')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9613 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b3704aeb-bc4f-30fc-3f57-9c04375a7a9f'::uuid
ORDER BY b."SortName";

-- Query #9614 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27668166-0449-98e7-3544-4b5f92c267f6'::uuid, 'Tmdb', 1935142)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27668166-0449-98e7-3544-4b5f92c267f6'::uuid, 'trakt', 3729593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9616 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27668166-0449-98e7-3544-4b5f92c267f6'::uuid, 'TvMaze', 1707987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9618 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['d1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27668166-0449-98e7-3544-4b5f92c267f6'::uuid, 'Tvdb', 7373482)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9620 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27668166-0449-98e7-3544-4b5f92c267f6'::uuid, 'TmdbCollection', 1935142)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9621 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['d1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9622 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '27668166-0449-98e7-3544-4b5f92c267f6'::uuid;

-- Query #9623 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9624 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '27668166-0449-98e7-3544-4b5f92c267f6'::uuid;

-- Query #9625 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['d1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9626 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid
ORDER BY b."SortName";

-- Query #9627 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #9628 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #9629 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #9630 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #9631 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #9632 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['27668166-0449-98e7-3544-4b5f92c267f6'::uuid]);

-- Query #9633 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '27668166-0449-98e7-3544-4b5f92c267f6'::uuid;

-- Query #9634 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9635 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7d70cf78-34df-c0db-144f-632865ea90a0'::uuid;

-- Query #9636 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d70cf78-34df-c0db-144f-632865ea90a0'::uuid]);

-- Query #9637 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7d70cf78-34df-c0db-144f-632865ea90a0'::uuid;

-- Query #9638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d70cf78-34df-c0db-144f-632865ea90a0'::uuid, 'Imdb', 'tt10946762')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d70cf78-34df-c0db-144f-632865ea90a0'::uuid, 'Tmdb', 1935144)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d70cf78-34df-c0db-144f-632865ea90a0'::uuid, 'trakt', 3729594)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d70cf78-34df-c0db-144f-632865ea90a0'::uuid, 'TvMaze', 1716352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d70cf78-34df-c0db-144f-632865ea90a0'::uuid, 'Tvdb', 7373493)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d70cf78-34df-c0db-144f-632865ea90a0'::uuid, 'TmdbCollection', 1935144)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9644 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7d70cf78-34df-c0db-144f-632865ea90a0'::uuid;

-- Query #9645 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7d70cf78-34df-c0db-144f-632865ea90a0'::uuid;

-- Query #9646 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7d70cf78-34df-c0db-144f-632865ea90a0'::uuid]);

-- Query #9647 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7d70cf78-34df-c0db-144f-632865ea90a0'::uuid;

-- Query #9648 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9649 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3704aeb-bc4f-30fc-3f57-9c04375a7a9f'::uuid;

-- Query #9650 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d317569-3762-b8df-f9ea-738425611a48'::uuid;

-- Query #9651 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b3704aeb-bc4f-30fc-3f57-9c04375a7a9f'::uuid]);

-- Query #9652 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b3704aeb-bc4f-30fc-3f57-9c04375a7a9f'::uuid;

-- Query #9653 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d317569-3762-b8df-f9ea-738425611a48'::uuid]);

-- Query #9654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3704aeb-bc4f-30fc-3f57-9c04375a7a9f'::uuid, 'Imdb', 'tt1740828')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3704aeb-bc4f-30fc-3f57-9c04375a7a9f'::uuid, 'Tmdb', 1074542)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9656 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2d317569-3762-b8df-f9ea-738425611a48'::uuid;

-- Query #9657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3704aeb-bc4f-30fc-3f57-9c04375a7a9f'::uuid, 'TmdbCollection', 1074542)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d317569-3762-b8df-f9ea-738425611a48'::uuid, 'Imdb', 'tt12198812')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3704aeb-bc4f-30fc-3f57-9c04375a7a9f'::uuid, 'Tvdb', 368967)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d317569-3762-b8df-f9ea-738425611a48'::uuid, 'Tmdb', 2240851)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9661 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3704aeb-bc4f-30fc-3f57-9c04375a7a9f'::uuid;

-- Query #9662 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d317569-3762-b8df-f9ea-738425611a48'::uuid, 'trakt', 4125021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9663 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b3704aeb-bc4f-30fc-3f57-9c04375a7a9f'::uuid;

-- Query #9664 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d317569-3762-b8df-f9ea-738425611a48'::uuid, 'TvMaze', 1844449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9665 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d317569-3762-b8df-f9ea-738425611a48'::uuid, 'Tvdb', 7699874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9666 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d317569-3762-b8df-f9ea-738425611a48'::uuid, 'TmdbCollection', 2240851)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9667 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d317569-3762-b8df-f9ea-738425611a48'::uuid;

-- Query #9668 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2d317569-3762-b8df-f9ea-738425611a48'::uuid;

-- Query #9669 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Science Fiction', '3+NBC']);

-- Query #9670 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b3704aeb-bc4f-30fc-3f57-9c04375a7a9f'::uuid]);

-- Query #9671 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b3704aeb-bc4f-30fc-3f57-9c04375a7a9f'::uuid;

-- Query #9672 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9673 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2d317569-3762-b8df-f9ea-738425611a48'::uuid]);

-- Query #9674 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2d317569-3762-b8df-f9ea-738425611a48'::uuid;

-- Query #9675 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9676 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'b3704aebbc4f30fc3f579c04375a7a9f'
ORDER BY b."SortName", b."Name";

-- Query #9677 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid, 'd1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9678 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid, 'd1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9679 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid, 'd1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9680 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid, 'd1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9681 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid, 'd1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9682 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b3704aeb-bc4f-30fc-3f57-9c04375a7a9f'::uuid
ORDER BY b."SortName";

-- Query #9683 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9684 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['d1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9685 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['d1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9686 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9687 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['d1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9688 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid
ORDER BY b."SortName";

-- Query #9689 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #9690 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #9691 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #9692 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #9693 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #9694 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'b3704aebbc4f30fc3f579c04375a7a9f'
ORDER BY b."SortName", b."Name";

-- Query #9695 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid, 'd1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9696 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid, 'd1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9697 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid, 'd1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9698 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid, 'd1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9699 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid, 'd1ba3a51-a1e6-f604-2e4b-378c5efb834d'::uuid])
ORDER BY b."Id";

-- Query #9700 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid
ORDER BY b."SortName";

-- Query #9701 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid])
ORDER BY b."Id";

-- Query #9702 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82bb33e9-de72-6250-a007-ae42e87c2b67'::uuid;

-- Query #9703 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid])
ORDER BY b."Id";

-- Query #9704 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid])
ORDER BY b."Id";

-- Query #9705 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid])
ORDER BY b."Id";

-- Query #9706 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid])
ORDER BY b."Id";

-- Query #9707 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid
ORDER BY b."SortName";

-- Query #9708 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82bb33e9-de72-6250-a007-ae42e87c2b67'::uuid]);

-- Query #9709 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82bb33e9-de72-6250-a007-ae42e87c2b67'::uuid;

-- Query #9710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82bb33e9-de72-6250-a007-ae42e87c2b67'::uuid, 'Imdb', 'tt10946792')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82bb33e9-de72-6250-a007-ae42e87c2b67'::uuid, 'Tmdb', 1958144)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9712 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82bb33e9-de72-6250-a007-ae42e87c2b67'::uuid, 'trakt', 3758580)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82bb33e9-de72-6250-a007-ae42e87c2b67'::uuid, 'TvMaze', 1716376)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82bb33e9-de72-6250-a007-ae42e87c2b67'::uuid, 'Tvdb', 7398591)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82bb33e9-de72-6250-a007-ae42e87c2b67'::uuid, 'TmdbCollection', 1958144)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9716 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82bb33e9-de72-6250-a007-ae42e87c2b67'::uuid;

-- Query #9717 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82bb33e9-de72-6250-a007-ae42e87c2b67'::uuid;

-- Query #9718 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82bb33e9-de72-6250-a007-ae42e87c2b67'::uuid]);

-- Query #9719 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '82bb33e9-de72-6250-a007-ae42e87c2b67'::uuid;

-- Query #9720 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9721 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e4080d65-4062-0f51-2a16-8d50ffa74b8c'::uuid;

-- Query #9722 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e4080d65-4062-0f51-2a16-8d50ffa74b8c'::uuid]);

-- Query #9723 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e4080d65-4062-0f51-2a16-8d50ffa74b8c'::uuid;

-- Query #9724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4080d65-4062-0f51-2a16-8d50ffa74b8c'::uuid, 'Imdb', 'tt10946784')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4080d65-4062-0f51-2a16-8d50ffa74b8c'::uuid, 'Tmdb', 1958142)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9726 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4080d65-4062-0f51-2a16-8d50ffa74b8c'::uuid, 'trakt', 3729596)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9727 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4080d65-4062-0f51-2a16-8d50ffa74b8c'::uuid, 'TvMaze', 1716359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4080d65-4062-0f51-2a16-8d50ffa74b8c'::uuid, 'Tvdb', 7373495)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9729 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4080d65-4062-0f51-2a16-8d50ffa74b8c'::uuid, 'TmdbCollection', 1958142)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9730 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e4080d65-4062-0f51-2a16-8d50ffa74b8c'::uuid;

-- Query #9731 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e4080d65-4062-0f51-2a16-8d50ffa74b8c'::uuid;

-- Query #9732 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e4080d65-4062-0f51-2a16-8d50ffa74b8c'::uuid]);

-- Query #9733 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e4080d65-4062-0f51-2a16-8d50ffa74b8c'::uuid;

-- Query #9734 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9735 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89e04885-e546-b7b5-100d-58a93f6ea115'::uuid;

-- Query #9736 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['89e04885-e546-b7b5-100d-58a93f6ea115'::uuid]);

-- Query #9737 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '89e04885-e546-b7b5-100d-58a93f6ea115'::uuid;

-- Query #9738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89e04885-e546-b7b5-100d-58a93f6ea115'::uuid, 'Imdb', 'tt10946802')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89e04885-e546-b7b5-100d-58a93f6ea115'::uuid, 'Tmdb', 1968327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89e04885-e546-b7b5-100d-58a93f6ea115'::uuid, 'trakt', 3785607)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89e04885-e546-b7b5-100d-58a93f6ea115'::uuid, 'TvMaze', 1716380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9742 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89e04885-e546-b7b5-100d-58a93f6ea115'::uuid, 'Tvdb', 7424380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9743 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89e04885-e546-b7b5-100d-58a93f6ea115'::uuid, 'TmdbCollection', 1968327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9744 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89e04885-e546-b7b5-100d-58a93f6ea115'::uuid;

-- Query #9745 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '89e04885-e546-b7b5-100d-58a93f6ea115'::uuid;

-- Query #9746 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['89e04885-e546-b7b5-100d-58a93f6ea115'::uuid]);

-- Query #9747 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '89e04885-e546-b7b5-100d-58a93f6ea115'::uuid;

-- Query #9748 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9749 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '23595e28-1465-04e9-9917-6ddb17e65150'::uuid;

-- Query #9750 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['23595e28-1465-04e9-9917-6ddb17e65150'::uuid]);

-- Query #9751 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '23595e28-1465-04e9-9917-6ddb17e65150'::uuid;

-- Query #9752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('23595e28-1465-04e9-9917-6ddb17e65150'::uuid, 'Imdb', 'tt12142580')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9753 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('23595e28-1465-04e9-9917-6ddb17e65150'::uuid, 'Tmdb', 2240812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('23595e28-1465-04e9-9917-6ddb17e65150'::uuid, 'trakt', 4109899)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('23595e28-1465-04e9-9917-6ddb17e65150'::uuid, 'TvMaze', 1839136)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('23595e28-1465-04e9-9917-6ddb17e65150'::uuid, 'Tvdb', 7687174)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9757 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('23595e28-1465-04e9-9917-6ddb17e65150'::uuid, 'TmdbCollection', 2240812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9758 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '23595e28-1465-04e9-9917-6ddb17e65150'::uuid;

-- Query #9759 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '23595e28-1465-04e9-9917-6ddb17e65150'::uuid;

-- Query #9760 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid;

-- Query #9761 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['23595e28-1465-04e9-9917-6ddb17e65150'::uuid]);

-- Query #9762 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '23595e28-1465-04e9-9917-6ddb17e65150'::uuid;

-- Query #9763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9764 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid]);

-- Query #9765 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid;

-- Query #9766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'Imdb', 'tt8652642')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'official website', 'https://www.netflix.com/title/80230293')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'Tmdb', 86752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'TmdbCollection', 86752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'Tvdb', 357662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9771 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'TvMaze', 37426)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9772 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'wikidata', 'Q56274999')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9773 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid;

-- Query #9774 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid;

-- Query #9775 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid]);

-- Query #9776 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid;

-- Query #9777 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9778 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '53546fbc-cb33-0973-191d-0b92fd71c411'::uuid;

-- Query #9779 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'c4d183292bb8a0c97b109fffbc08d26c'
ORDER BY b."SortName", b."Name";

-- Query #9780 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid
ORDER BY b."SortName";

-- Query #9781 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid])
ORDER BY b."Id";

-- Query #9782 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53546fbc-cb33-0973-191d-0b92fd71c411'::uuid]);

-- Query #9783 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid])
ORDER BY b."Id";

-- Query #9784 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '53546fbc-cb33-0973-191d-0b92fd71c411'::uuid;

-- Query #9785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53546fbc-cb33-0973-191d-0b92fd71c411'::uuid, 'Imdb', 'tt12116060')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9786 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid])
ORDER BY b."Id";

-- Query #9787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53546fbc-cb33-0973-191d-0b92fd71c411'::uuid, 'Tmdb', 2239972)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9788 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid])
ORDER BY b."Id";

-- Query #9789 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53546fbc-cb33-0973-191d-0b92fd71c411'::uuid, 'trakt', 4082148)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9790 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid])
ORDER BY b."Id";

-- Query #9791 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53546fbc-cb33-0973-191d-0b92fd71c411'::uuid, 'TvMaze', 1827666)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53546fbc-cb33-0973-191d-0b92fd71c411'::uuid, 'Tvdb', 7658347)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9793 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid
ORDER BY b."SortName";

-- Query #9794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53546fbc-cb33-0973-191d-0b92fd71c411'::uuid, 'TmdbCollection', 2239972)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9795 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '53546fbc-cb33-0973-191d-0b92fd71c411'::uuid;

-- Query #9796 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '53546fbc-cb33-0973-191d-0b92fd71c411'::uuid;

-- Query #9797 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['53546fbc-cb33-0973-191d-0b92fd71c411'::uuid]);

-- Query #9798 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '53546fbc-cb33-0973-191d-0b92fd71c411'::uuid;

-- Query #9799 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9800 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'c4d183292bb8a0c97b109fffbc08d26c'
ORDER BY b."SortName", b."Name";

-- Query #9801 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '34565cc6-454b-b061-75df-d269e6b7bbed'::uuid;

-- Query #9802 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['34565cc6-454b-b061-75df-d269e6b7bbed'::uuid]);

-- Query #9803 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '34565cc6-454b-b061-75df-d269e6b7bbed'::uuid;

-- Query #9804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34565cc6-454b-b061-75df-d269e6b7bbed'::uuid, 'Imdb', 'tt9663874')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34565cc6-454b-b061-75df-d269e6b7bbed'::uuid, 'Tmdb', 1905645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34565cc6-454b-b061-75df-d269e6b7bbed'::uuid, 'trakt', 3575002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34565cc6-454b-b061-75df-d269e6b7bbed'::uuid, 'TvMaze', 1669466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9808 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34565cc6-454b-b061-75df-d269e6b7bbed'::uuid, 'Tvdb', 7234504)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34565cc6-454b-b061-75df-d269e6b7bbed'::uuid, 'TmdbCollection', 1905645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9810 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '34565cc6-454b-b061-75df-d269e6b7bbed'::uuid;

-- Query #9811 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '34565cc6-454b-b061-75df-d269e6b7bbed'::uuid;

-- Query #9812 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['34565cc6-454b-b061-75df-d269e6b7bbed'::uuid]);

-- Query #9813 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '34565cc6-454b-b061-75df-d269e6b7bbed'::uuid;

-- Query #9814 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9815 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid;

-- Query #9816 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid]);

-- Query #9817 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid;

-- Query #9818 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'TmdbCollection', 86752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'Tvdb', 357662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'Tmdb', 86752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'Imdb', 'tt8652642')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'TvMaze', 37426)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9823 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'acb1040d-36ce-d067-7ec9-166a55499acd'::uuid;

-- Query #9824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'wikidata', 'Q56274999')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'official website', 'https://www.netflix.com/title/80230293')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9826 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid;

-- Query #9827 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid;

-- Query #9828 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid]);

-- Query #9829 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid;

-- Query #9830 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9831 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['acb1040d-36ce-d067-7ec9-166a55499acd'::uuid]);

-- Query #9832 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'acb1040d-36ce-d067-7ec9-166a55499acd'::uuid;

-- Query #9833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acb1040d-36ce-d067-7ec9-166a55499acd'::uuid, 'Imdb', 'tt11710838')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acb1040d-36ce-d067-7ec9-166a55499acd'::uuid, 'Tmdb', 2206535)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acb1040d-36ce-d067-7ec9-166a55499acd'::uuid, 'trakt', 3967337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9836 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acb1040d-36ce-d067-7ec9-166a55499acd'::uuid, 'TvMaze', 1797277)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acb1040d-36ce-d067-7ec9-166a55499acd'::uuid, 'Tvdb', 7563385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acb1040d-36ce-d067-7ec9-166a55499acd'::uuid, 'TmdbCollection', 2206535)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9839 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'acb1040d-36ce-d067-7ec9-166a55499acd'::uuid;

-- Query #9840 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'acb1040d-36ce-d067-7ec9-166a55499acd'::uuid;

-- Query #9841 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['acb1040d-36ce-d067-7ec9-166a55499acd'::uuid]);

-- Query #9842 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'acb1040d-36ce-d067-7ec9-166a55499acd'::uuid;

-- Query #9843 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9844 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba28803c-302b-0293-1743-9d589f8a6cae'::uuid;

-- Query #9845 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba28803c-302b-0293-1743-9d589f8a6cae'::uuid]);

-- Query #9846 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ba28803c-302b-0293-1743-9d589f8a6cae'::uuid;

-- Query #9847 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba28803c-302b-0293-1743-9d589f8a6cae'::uuid, 'Imdb', 'tt8741416')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9848 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba28803c-302b-0293-1743-9d589f8a6cae'::uuid, 'Tmdb', 1877570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9849 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba28803c-302b-0293-1743-9d589f8a6cae'::uuid, 'trakt', 3305188)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba28803c-302b-0293-1743-9d589f8a6cae'::uuid, 'TvMaze', 1692709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba28803c-302b-0293-1743-9d589f8a6cae'::uuid, 'Tvdb', 7311011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba28803c-302b-0293-1743-9d589f8a6cae'::uuid, 'TmdbCollection', 1877570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9853 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba28803c-302b-0293-1743-9d589f8a6cae'::uuid;

-- Query #9854 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ba28803c-302b-0293-1743-9d589f8a6cae'::uuid;

-- Query #9855 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ba28803c-302b-0293-1743-9d589f8a6cae'::uuid]);

-- Query #9856 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ba28803c-302b-0293-1743-9d589f8a6cae'::uuid;

-- Query #9857 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9858 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1925dbee-26b8-f9db-d985-7173296acb47'::uuid;

-- Query #9859 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1925dbee-26b8-f9db-d985-7173296acb47'::uuid]);

-- Query #9860 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1925dbee-26b8-f9db-d985-7173296acb47'::uuid;

-- Query #9861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1925dbee-26b8-f9db-d985-7173296acb47'::uuid, 'Imdb', 'tt12116068')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9862 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1925dbee-26b8-f9db-d985-7173296acb47'::uuid, 'Tmdb', 2240811)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1925dbee-26b8-f9db-d985-7173296acb47'::uuid, 'trakt', 4095534)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9864 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1925dbee-26b8-f9db-d985-7173296acb47'::uuid, 'TvMaze', 1837121)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1925dbee-26b8-f9db-d985-7173296acb47'::uuid, 'Tvdb', 7673956)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1925dbee-26b8-f9db-d985-7173296acb47'::uuid, 'TmdbCollection', 2240811)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9867 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1925dbee-26b8-f9db-d985-7173296acb47'::uuid;

-- Query #9868 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1925dbee-26b8-f9db-d985-7173296acb47'::uuid;

-- Query #9869 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1925dbee-26b8-f9db-d985-7173296acb47'::uuid]);

-- Query #9870 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1925dbee-26b8-f9db-d985-7173296acb47'::uuid;

-- Query #9871 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9872 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a231a4dd-c439-c6c9-7e96-1d775af8c283'::uuid;

-- Query #9873 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a231a4dd-c439-c6c9-7e96-1d775af8c283'::uuid]);

-- Query #9874 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a231a4dd-c439-c6c9-7e96-1d775af8c283'::uuid;

-- Query #9875 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a231a4dd-c439-c6c9-7e96-1d775af8c283'::uuid, 'Imdb', 'tt8698296')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9876 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a231a4dd-c439-c6c9-7e96-1d775af8c283'::uuid, 'Tmdb', 1704805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9877 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a231a4dd-c439-c6c9-7e96-1d775af8c283'::uuid, 'trakt', 3305173)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a231a4dd-c439-c6c9-7e96-1d775af8c283'::uuid, 'TvMaze', 1595361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a231a4dd-c439-c6c9-7e96-1d775af8c283'::uuid, 'Tvdb', 6976164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a231a4dd-c439-c6c9-7e96-1d775af8c283'::uuid, 'TmdbCollection', 1704805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9881 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a231a4dd-c439-c6c9-7e96-1d775af8c283'::uuid;

-- Query #9882 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a231a4dd-c439-c6c9-7e96-1d775af8c283'::uuid;

-- Query #9883 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a231a4dd-c439-c6c9-7e96-1d775af8c283'::uuid]);

-- Query #9884 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a231a4dd-c439-c6c9-7e96-1d775af8c283'::uuid;

-- Query #9885 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9886 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3fec369-75b4-a75c-e9cc-e2028b9b5633'::uuid;

-- Query #9887 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #9888 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b3fec369-75b4-a75c-e9cc-e2028b9b5633'::uuid]);

-- Query #9889 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b3fec369-75b4-a75c-e9cc-e2028b9b5633'::uuid;

-- Query #9890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3fec369-75b4-a75c-e9cc-e2028b9b5633'::uuid, 'Imdb', 'tt14359354')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3fec369-75b4-a75c-e9cc-e2028b9b5633'::uuid, 'Tmdb', 2879252)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3fec369-75b4-a75c-e9cc-e2028b9b5633'::uuid, 'trakt', 5117339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3fec369-75b4-a75c-e9cc-e2028b9b5633'::uuid, 'TvMaze', 2056429)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3fec369-75b4-a75c-e9cc-e2028b9b5633'::uuid, 'Tvdb', 8102381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9895 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3fec369-75b4-a75c-e9cc-e2028b9b5633'::uuid, 'TmdbCollection', 2879252)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9896 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3fec369-75b4-a75c-e9cc-e2028b9b5633'::uuid;

-- Query #9897 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b3fec369-75b4-a75c-e9cc-e2028b9b5633'::uuid;

-- Query #9898 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3560cbca-4e73-e5c8-0155-9d7bfd9ee351'::uuid;

-- Query #9899 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b3fec369-75b4-a75c-e9cc-e2028b9b5633'::uuid]);

-- Query #9900 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b3fec369-75b4-a75c-e9cc-e2028b9b5633'::uuid;

-- Query #9901 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9902 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3560cbca-4e73-e5c8-0155-9d7bfd9ee351'::uuid]);

-- Query #9903 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3560cbca-4e73-e5c8-0155-9d7bfd9ee351'::uuid;

-- Query #9904 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3560cbca-4e73-e5c8-0155-9d7bfd9ee351'::uuid, 'Imdb', 'tt8741408')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9905 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3560cbca-4e73-e5c8-0155-9d7bfd9ee351'::uuid, 'Tmdb', 1877567)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3560cbca-4e73-e5c8-0155-9d7bfd9ee351'::uuid, 'trakt', 3305175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3560cbca-4e73-e5c8-0155-9d7bfd9ee351'::uuid, 'TvMaze', 1692707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3560cbca-4e73-e5c8-0155-9d7bfd9ee351'::uuid, 'Tvdb', 7311008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3560cbca-4e73-e5c8-0155-9d7bfd9ee351'::uuid, 'TmdbCollection', 1877567)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9910 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3560cbca-4e73-e5c8-0155-9d7bfd9ee351'::uuid;

-- Query #9911 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3560cbca-4e73-e5c8-0155-9d7bfd9ee351'::uuid;

-- Query #9912 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3560cbca-4e73-e5c8-0155-9d7bfd9ee351'::uuid]);

-- Query #9913 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3560cbca-4e73-e5c8-0155-9d7bfd9ee351'::uuid;

-- Query #9914 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07f7c9d8-b0ba-6ef3-76f3-4b438fc4df3f'::uuid;

-- Query #9916 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07f7c9d8-b0ba-6ef3-76f3-4b438fc4df3f'::uuid]);

-- Query #9917 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '07f7c9d8-b0ba-6ef3-76f3-4b438fc4df3f'::uuid;

-- Query #9918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07f7c9d8-b0ba-6ef3-76f3-4b438fc4df3f'::uuid, 'Imdb', 'tt8741420')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9919 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07f7c9d8-b0ba-6ef3-76f3-4b438fc4df3f'::uuid, 'Tmdb', 1877571)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07f7c9d8-b0ba-6ef3-76f3-4b438fc4df3f'::uuid, 'trakt', 3305189)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07f7c9d8-b0ba-6ef3-76f3-4b438fc4df3f'::uuid, 'TvMaze', 1692710)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07f7c9d8-b0ba-6ef3-76f3-4b438fc4df3f'::uuid, 'Tvdb', 7311012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07f7c9d8-b0ba-6ef3-76f3-4b438fc4df3f'::uuid, 'TmdbCollection', 1877571)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9924 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07f7c9d8-b0ba-6ef3-76f3-4b438fc4df3f'::uuid;

-- Query #9925 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '783c7f77-5a6c-2581-a8a4-6c1a2459b336'::uuid;

-- Query #9926 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '07f7c9d8-b0ba-6ef3-76f3-4b438fc4df3f'::uuid;

-- Query #9927 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['07f7c9d8-b0ba-6ef3-76f3-4b438fc4df3f'::uuid]);

-- Query #9928 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '07f7c9d8-b0ba-6ef3-76f3-4b438fc4df3f'::uuid;

-- Query #9929 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9930 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['783c7f77-5a6c-2581-a8a4-6c1a2459b336'::uuid]);

-- Query #9931 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '783c7f77-5a6c-2581-a8a4-6c1a2459b336'::uuid;

-- Query #9932 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('783c7f77-5a6c-2581-a8a4-6c1a2459b336'::uuid, 'Imdb', 'tt13926964')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9933 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('783c7f77-5a6c-2581-a8a4-6c1a2459b336'::uuid, 'Tmdb', 2618492)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9934 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('783c7f77-5a6c-2581-a8a4-6c1a2459b336'::uuid, 'trakt', 4628263)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('783c7f77-5a6c-2581-a8a4-6c1a2459b336'::uuid, 'TvMaze', 1981605)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('783c7f77-5a6c-2581-a8a4-6c1a2459b336'::uuid, 'Tvdb', 8076331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('783c7f77-5a6c-2581-a8a4-6c1a2459b336'::uuid, 'TmdbCollection', 2618492)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9938 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '783c7f77-5a6c-2581-a8a4-6c1a2459b336'::uuid;

-- Query #9939 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '783c7f77-5a6c-2581-a8a4-6c1a2459b336'::uuid;

-- Query #9940 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['783c7f77-5a6c-2581-a8a4-6c1a2459b336'::uuid]);

-- Query #9941 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '783c7f77-5a6c-2581-a8a4-6c1a2459b336'::uuid;

-- Query #9942 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9943 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '12cb8205-f663-af97-1e68-55d07225e9b2'::uuid;

-- Query #9944 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['12cb8205-f663-af97-1e68-55d07225e9b2'::uuid]);

-- Query #9945 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '12cb8205-f663-af97-1e68-55d07225e9b2'::uuid;

-- Query #9946 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bfda098d-8504-c5ba-6675-8d4c9ecc4a5d'::uuid;

-- Query #9947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12cb8205-f663-af97-1e68-55d07225e9b2'::uuid, 'Imdb', 'tt8741428')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12cb8205-f663-af97-1e68-55d07225e9b2'::uuid, 'Tmdb', 1877574)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12cb8205-f663-af97-1e68-55d07225e9b2'::uuid, 'trakt', 3305191)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12cb8205-f663-af97-1e68-55d07225e9b2'::uuid, 'TvMaze', 1692712)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12cb8205-f663-af97-1e68-55d07225e9b2'::uuid, 'Tvdb', 7311017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12cb8205-f663-af97-1e68-55d07225e9b2'::uuid, 'TmdbCollection', 1877574)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9953 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '12cb8205-f663-af97-1e68-55d07225e9b2'::uuid;

-- Query #9954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '12cb8205-f663-af97-1e68-55d07225e9b2'::uuid;

-- Query #9955 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bfda098d-8504-c5ba-6675-8d4c9ecc4a5d'::uuid]);

-- Query #9956 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bfda098d-8504-c5ba-6675-8d4c9ecc4a5d'::uuid;

-- Query #9957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfda098d-8504-c5ba-6675-8d4c9ecc4a5d'::uuid, 'Imdb', 'tt14429744')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9958 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfda098d-8504-c5ba-6675-8d4c9ecc4a5d'::uuid, 'Tmdb', 2905284)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9959 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfda098d-8504-c5ba-6675-8d4c9ecc4a5d'::uuid, 'trakt', 5144455)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9960 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfda098d-8504-c5ba-6675-8d4c9ecc4a5d'::uuid, 'TvMaze', 2067519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9961 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfda098d-8504-c5ba-6675-8d4c9ecc4a5d'::uuid, 'Tvdb', 8102385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfda098d-8504-c5ba-6675-8d4c9ecc4a5d'::uuid, 'TmdbCollection', 2905284)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9963 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['12cb8205-f663-af97-1e68-55d07225e9b2'::uuid]);

-- Query #9964 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bfda098d-8504-c5ba-6675-8d4c9ecc4a5d'::uuid;

-- Query #9965 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bfda098d-8504-c5ba-6675-8d4c9ecc4a5d'::uuid;

-- Query #9966 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '12cb8205-f663-af97-1e68-55d07225e9b2'::uuid;

-- Query #9967 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9968 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bfda098d-8504-c5ba-6675-8d4c9ecc4a5d'::uuid]);

-- Query #9969 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bfda098d-8504-c5ba-6675-8d4c9ecc4a5d'::uuid;

-- Query #9970 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9971 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '766c8093-203b-ba9c-492a-2728999f6319'::uuid;

-- Query #9972 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab669891-0d80-1c48-3d2e-8f2a95e0ee32'::uuid;

-- Query #9973 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['766c8093-203b-ba9c-492a-2728999f6319'::uuid]);

-- Query #9974 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '766c8093-203b-ba9c-492a-2728999f6319'::uuid;

-- Query #9975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('766c8093-203b-ba9c-492a-2728999f6319'::uuid, 'Imdb', 'tt8741422')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('766c8093-203b-ba9c-492a-2728999f6319'::uuid, 'Tmdb', 1877573)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('766c8093-203b-ba9c-492a-2728999f6319'::uuid, 'trakt', 3305190)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('766c8093-203b-ba9c-492a-2728999f6319'::uuid, 'TvMaze', 1692711)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('766c8093-203b-ba9c-492a-2728999f6319'::uuid, 'Tvdb', 7311016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('766c8093-203b-ba9c-492a-2728999f6319'::uuid, 'TmdbCollection', 1877573)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9981 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '766c8093-203b-ba9c-492a-2728999f6319'::uuid;

-- Query #9982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '766c8093-203b-ba9c-492a-2728999f6319'::uuid;

-- Query #9983 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['766c8093-203b-ba9c-492a-2728999f6319'::uuid]);

-- Query #9984 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '766c8093-203b-ba9c-492a-2728999f6319'::uuid;

-- Query #9985 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9986 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab669891-0d80-1c48-3d2e-8f2a95e0ee32'::uuid]);

-- Query #9987 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ab669891-0d80-1c48-3d2e-8f2a95e0ee32'::uuid;

-- Query #9988 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab669891-0d80-1c48-3d2e-8f2a95e0ee32'::uuid, 'Imdb', 'tt13877386')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9989 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab669891-0d80-1c48-3d2e-8f2a95e0ee32'::uuid, 'Tmdb', 2618498)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab669891-0d80-1c48-3d2e-8f2a95e0ee32'::uuid, 'trakt', 4668991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab669891-0d80-1c48-3d2e-8f2a95e0ee32'::uuid, 'TvMaze', 2046135)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab669891-0d80-1c48-3d2e-8f2a95e0ee32'::uuid, 'Tvdb', 8102376)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab669891-0d80-1c48-3d2e-8f2a95e0ee32'::uuid, 'TmdbCollection', 2618498)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #9994 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab669891-0d80-1c48-3d2e-8f2a95e0ee32'::uuid;

-- Query #9995 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ab669891-0d80-1c48-3d2e-8f2a95e0ee32'::uuid;

-- Query #9996 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ab669891-0d80-1c48-3d2e-8f2a95e0ee32'::uuid]);

-- Query #9997 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ab669891-0d80-1c48-3d2e-8f2a95e0ee32'::uuid;

-- Query #9998 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #9999 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0b9a2d5-a628-4751-1d9a-dfe49e832939'::uuid;

-- Query #10000 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0b9a2d5-a628-4751-1d9a-dfe49e832939'::uuid]);

-- Query #10001 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c0b9a2d5-a628-4751-1d9a-dfe49e832939'::uuid;

-- Query #10002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0b9a2d5-a628-4751-1d9a-dfe49e832939'::uuid, 'Imdb', 'tt8698300')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0b9a2d5-a628-4751-1d9a-dfe49e832939'::uuid, 'Tmdb', 1704872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0b9a2d5-a628-4751-1d9a-dfe49e832939'::uuid, 'trakt', 3305174)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10005 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0b9a2d5-a628-4751-1d9a-dfe49e832939'::uuid, 'TvMaze', 1665487)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10006 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0b9a2d5-a628-4751-1d9a-dfe49e832939'::uuid, 'Tvdb', 6976165)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0b9a2d5-a628-4751-1d9a-dfe49e832939'::uuid, 'TmdbCollection', 1704872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10008 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0b9a2d5-a628-4751-1d9a-dfe49e832939'::uuid;

-- Query #10009 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c0b9a2d5-a628-4751-1d9a-dfe49e832939'::uuid;

-- Query #10010 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c0b9a2d5-a628-4751-1d9a-dfe49e832939'::uuid]);

-- Query #10011 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c0b9a2d5-a628-4751-1d9a-dfe49e832939'::uuid;

-- Query #10012 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10013 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '80384c79-db13-3dd7-42f6-36b9146c6a99'::uuid;

-- Query #10014 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80384c79-db13-3dd7-42f6-36b9146c6a99'::uuid]);

-- Query #10015 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '80384c79-db13-3dd7-42f6-36b9146c6a99'::uuid;

-- Query #10016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80384c79-db13-3dd7-42f6-36b9146c6a99'::uuid, 'Imdb', 'tt13912440')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80384c79-db13-3dd7-42f6-36b9146c6a99'::uuid, 'Tmdb', 2618495)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10018 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80384c79-db13-3dd7-42f6-36b9146c6a99'::uuid, 'trakt', 4668990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80384c79-db13-3dd7-42f6-36b9146c6a99'::uuid, 'TvMaze', 1991508)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10020 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80384c79-db13-3dd7-42f6-36b9146c6a99'::uuid, 'Tvdb', 8102374)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10021 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80384c79-db13-3dd7-42f6-36b9146c6a99'::uuid, 'TmdbCollection', 2618495)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10022 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '80384c79-db13-3dd7-42f6-36b9146c6a99'::uuid;

-- Query #10023 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '80384c79-db13-3dd7-42f6-36b9146c6a99'::uuid;

-- Query #10024 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '608f673f-3ebc-6b79-dd45-9e59540dfd61'::uuid;

-- Query #10025 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['80384c79-db13-3dd7-42f6-36b9146c6a99'::uuid]);

-- Query #10026 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '80384c79-db13-3dd7-42f6-36b9146c6a99'::uuid;

-- Query #10027 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10028 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['608f673f-3ebc-6b79-dd45-9e59540dfd61'::uuid]);

-- Query #10029 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '608f673f-3ebc-6b79-dd45-9e59540dfd61'::uuid;

-- Query #10030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('608f673f-3ebc-6b79-dd45-9e59540dfd61'::uuid, 'Imdb', 'tt8741430')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10031 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('608f673f-3ebc-6b79-dd45-9e59540dfd61'::uuid, 'Tmdb', 1877576)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('608f673f-3ebc-6b79-dd45-9e59540dfd61'::uuid, 'trakt', 3305192)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10033 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('608f673f-3ebc-6b79-dd45-9e59540dfd61'::uuid, 'TvMaze', 1692713)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10034 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('608f673f-3ebc-6b79-dd45-9e59540dfd61'::uuid, 'Tvdb', 7311019)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('608f673f-3ebc-6b79-dd45-9e59540dfd61'::uuid, 'TmdbCollection', 1877576)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10036 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '608f673f-3ebc-6b79-dd45-9e59540dfd61'::uuid;

-- Query #10037 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '608f673f-3ebc-6b79-dd45-9e59540dfd61'::uuid;

-- Query #10038 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['608f673f-3ebc-6b79-dd45-9e59540dfd61'::uuid]);

-- Query #10039 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '608f673f-3ebc-6b79-dd45-9e59540dfd61'::uuid;

-- Query #10040 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10041 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb637533-c776-74c7-929b-c478a0b03630'::uuid;

-- Query #10042 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb637533-c776-74c7-929b-c478a0b03630'::uuid]);

-- Query #10043 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '22c1dc8a-a3e8-6cf3-865d-e2734ebd6905'::uuid;

-- Query #10044 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cb637533-c776-74c7-929b-c478a0b03630'::uuid;

-- Query #10045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb637533-c776-74c7-929b-c478a0b03630'::uuid, 'Imdb', 'tt8741434')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb637533-c776-74c7-929b-c478a0b03630'::uuid, 'Tmdb', 1877577)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb637533-c776-74c7-929b-c478a0b03630'::uuid, 'trakt', 3305193)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb637533-c776-74c7-929b-c478a0b03630'::uuid, 'TvMaze', 1692714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb637533-c776-74c7-929b-c478a0b03630'::uuid, 'Tvdb', 7311021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb637533-c776-74c7-929b-c478a0b03630'::uuid, 'TmdbCollection', 1877577)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10051 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb637533-c776-74c7-929b-c478a0b03630'::uuid;

-- Query #10052 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cb637533-c776-74c7-929b-c478a0b03630'::uuid;

-- Query #10053 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cb637533-c776-74c7-929b-c478a0b03630'::uuid]);

-- Query #10054 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cb637533-c776-74c7-929b-c478a0b03630'::uuid;

-- Query #10055 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10056 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['22c1dc8a-a3e8-6cf3-865d-e2734ebd6905'::uuid]);

-- Query #10057 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '22c1dc8a-a3e8-6cf3-865d-e2734ebd6905'::uuid;

-- Query #10058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22c1dc8a-a3e8-6cf3-865d-e2734ebd6905'::uuid, 'Imdb', 'tt13588922')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22c1dc8a-a3e8-6cf3-865d-e2734ebd6905'::uuid, 'Tmdb', 2618488)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22c1dc8a-a3e8-6cf3-865d-e2734ebd6905'::uuid, 'trakt', 4619714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10061 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22c1dc8a-a3e8-6cf3-865d-e2734ebd6905'::uuid, 'TvMaze', 1980365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22c1dc8a-a3e8-6cf3-865d-e2734ebd6905'::uuid, 'Tvdb', 8070108)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22c1dc8a-a3e8-6cf3-865d-e2734ebd6905'::uuid, 'TmdbCollection', 2618488)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10064 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '22c1dc8a-a3e8-6cf3-865d-e2734ebd6905'::uuid;

-- Query #10065 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '22c1dc8a-a3e8-6cf3-865d-e2734ebd6905'::uuid;

-- Query #10066 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['22c1dc8a-a3e8-6cf3-865d-e2734ebd6905'::uuid]);

-- Query #10067 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '22c1dc8a-a3e8-6cf3-865d-e2734ebd6905'::uuid;

-- Query #10068 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10069 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7c073281-7c9e-23cd-e736-5936b5cd788c'::uuid;

-- Query #10070 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7c073281-7c9e-23cd-e736-5936b5cd788c'::uuid]);

-- Query #10071 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7c073281-7c9e-23cd-e736-5936b5cd788c'::uuid;

-- Query #10072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c073281-7c9e-23cd-e736-5936b5cd788c'::uuid, 'Imdb', 'tt8741412')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c073281-7c9e-23cd-e736-5936b5cd788c'::uuid, 'Tmdb', 1877568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c073281-7c9e-23cd-e736-5936b5cd788c'::uuid, 'trakt', 3305187)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c073281-7c9e-23cd-e736-5936b5cd788c'::uuid, 'TvMaze', 1692708)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c073281-7c9e-23cd-e736-5936b5cd788c'::uuid, 'Tvdb', 7311009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10077 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c073281-7c9e-23cd-e736-5936b5cd788c'::uuid, 'TmdbCollection', 1877568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10078 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7c073281-7c9e-23cd-e736-5936b5cd788c'::uuid;

-- Query #10079 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7c073281-7c9e-23cd-e736-5936b5cd788c'::uuid;

-- Query #10080 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7c073281-7c9e-23cd-e736-5936b5cd788c'::uuid]);

-- Query #10081 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7c073281-7c9e-23cd-e736-5936b5cd788c'::uuid;

-- Query #10082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid, 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '72a51229-60f0-6705-4694-963b0545f953'::uuid;

-- Query #10084 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c4d18329-2bb8-a0c9-7b10-9fffbc08d26c'::uuid
ORDER BY b."SortName";

-- Query #10085 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid])
ORDER BY b."Id";

-- Query #10086 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid])
ORDER BY b."Id";

-- Query #10087 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid])
ORDER BY b."Id";

-- Query #10088 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid])
ORDER BY b."Id";

-- Query #10089 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72a51229-60f0-6705-4694-963b0545f953'::uuid]);

-- Query #10090 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid])
ORDER BY b."Id";

-- Query #10091 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '72a51229-60f0-6705-4694-963b0545f953'::uuid;

-- Query #10092 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a717e7df-8301-c5cb-33ee-b6a6d8d2eeaf'::uuid
ORDER BY b."SortName";

-- Query #10093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72a51229-60f0-6705-4694-963b0545f953'::uuid, 'Imdb', 'tt12272214')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72a51229-60f0-6705-4694-963b0545f953'::uuid, 'Tmdb', 2511509)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72a51229-60f0-6705-4694-963b0545f953'::uuid, 'trakt', 4583864)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72a51229-60f0-6705-4694-963b0545f953'::uuid, 'TvMaze', 1967420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10097 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72a51229-60f0-6705-4694-963b0545f953'::uuid, 'Tvdb', 8038363)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10098 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72a51229-60f0-6705-4694-963b0545f953'::uuid, 'TmdbCollection', 2511509)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10099 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '72a51229-60f0-6705-4694-963b0545f953'::uuid;

-- Query #10100 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '72a51229-60f0-6705-4694-963b0545f953'::uuid;

-- Query #10101 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'c4d183292bb8a0c97b109fffbc08d26c'
ORDER BY b."SortName", b."Name";

-- Query #10102 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['72a51229-60f0-6705-4694-963b0545f953'::uuid]);

-- Query #10103 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '72a51229-60f0-6705-4694-963b0545f953'::uuid;

-- Query #10104 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10105 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2cb21a55-5574-b267-2500-a85b6f237690'::uuid
ORDER BY b."SortName";

-- Query #10106 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid])
ORDER BY b."Id";

-- Query #10107 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid])
ORDER BY b."Id";

-- Query #10108 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid])
ORDER BY b."Id";

-- Query #10109 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid])
ORDER BY b."Id";

-- Query #10110 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid])
ORDER BY b."Id";

-- Query #10111 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid
ORDER BY b."SortName";

-- Query #10112 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid
ORDER BY b."SortName";

-- Query #10113 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '65e1d774-f580-e062-cc13-eb64b3047a48'::uuid;

-- Query #10114 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid
ORDER BY b."SortName";

-- Query #10115 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65e1d774-f580-e062-cc13-eb64b3047a48'::uuid]);

-- Query #10116 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '65e1d774-f580-e062-cc13-eb64b3047a48'::uuid;

-- Query #10117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65e1d774-f580-e062-cc13-eb64b3047a48'::uuid, 'Imdb', 'tt13431730')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65e1d774-f580-e062-cc13-eb64b3047a48'::uuid, 'Tmdb', 2537879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65e1d774-f580-e062-cc13-eb64b3047a48'::uuid, 'trakt', 4585220)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65e1d774-f580-e062-cc13-eb64b3047a48'::uuid, 'TvMaze', 1968463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65e1d774-f580-e062-cc13-eb64b3047a48'::uuid, 'Tvdb', 8039128)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65e1d774-f580-e062-cc13-eb64b3047a48'::uuid, 'TmdbCollection', 2537879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10123 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '65e1d774-f580-e062-cc13-eb64b3047a48'::uuid;

-- Query #10124 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '65e1d774-f580-e062-cc13-eb64b3047a48'::uuid;

-- Query #10125 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid
ORDER BY b."SortName";

-- Query #10126 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['65e1d774-f580-e062-cc13-eb64b3047a48'::uuid]);

-- Query #10127 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '65e1d774-f580-e062-cc13-eb64b3047a48'::uuid;

-- Query #10128 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10129 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6d1068d1-2519-a948-171b-a38809491dfb'::uuid;

-- Query #10130 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d1068d1-2519-a948-171b-a38809491dfb'::uuid]);

-- Query #10131 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6d1068d1-2519-a948-171b-a38809491dfb'::uuid;

-- Query #10132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d1068d1-2519-a948-171b-a38809491dfb'::uuid, 'Imdb', 'tt13588916')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d1068d1-2519-a948-171b-a38809491dfb'::uuid, 'Tmdb', 2618487)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d1068d1-2519-a948-171b-a38809491dfb'::uuid, 'trakt', 4585222)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d1068d1-2519-a948-171b-a38809491dfb'::uuid, 'TvMaze', 1977983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d1068d1-2519-a948-171b-a38809491dfb'::uuid, 'Tvdb', 8039134)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d1068d1-2519-a948-171b-a38809491dfb'::uuid, 'TmdbCollection', 2618487)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10138 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6d1068d1-2519-a948-171b-a38809491dfb'::uuid;

-- Query #10139 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6d1068d1-2519-a948-171b-a38809491dfb'::uuid;

-- Query #10140 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6d1068d1-2519-a948-171b-a38809491dfb'::uuid]);

-- Query #10141 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6d1068d1-2519-a948-171b-a38809491dfb'::uuid;

-- Query #10142 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10143 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '90eb321d-cef6-e94f-3b1e-3a62a0de37b5'::uuid;

-- Query #10144 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90eb321d-cef6-e94f-3b1e-3a62a0de37b5'::uuid]);

-- Query #10145 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '90eb321d-cef6-e94f-3b1e-3a62a0de37b5'::uuid;

-- Query #10146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90eb321d-cef6-e94f-3b1e-3a62a0de37b5'::uuid, 'Imdb', 'tt13873510')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90eb321d-cef6-e94f-3b1e-3a62a0de37b5'::uuid, 'Tmdb', 2618490)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90eb321d-cef6-e94f-3b1e-3a62a0de37b5'::uuid, 'trakt', 4619716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90eb321d-cef6-e94f-3b1e-3a62a0de37b5'::uuid, 'TvMaze', 1980367)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90eb321d-cef6-e94f-3b1e-3a62a0de37b5'::uuid, 'Tvdb', 8070123)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90eb321d-cef6-e94f-3b1e-3a62a0de37b5'::uuid, 'TmdbCollection', 2618490)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10152 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '90eb321d-cef6-e94f-3b1e-3a62a0de37b5'::uuid;

-- Query #10153 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '90eb321d-cef6-e94f-3b1e-3a62a0de37b5'::uuid;

-- Query #10154 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['90eb321d-cef6-e94f-3b1e-3a62a0de37b5'::uuid]);

-- Query #10155 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '90eb321d-cef6-e94f-3b1e-3a62a0de37b5'::uuid;

-- Query #10156 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10157 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3af9ec3b-540d-b3d4-9fec-f5c49c393d28'::uuid;

-- Query #10158 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3af9ec3b-540d-b3d4-9fec-f5c49c393d28'::uuid]);

-- Query #10159 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3af9ec3b-540d-b3d4-9fec-f5c49c393d28'::uuid;

-- Query #10160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3af9ec3b-540d-b3d4-9fec-f5c49c393d28'::uuid, 'Imdb', 'tt14061744')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3af9ec3b-540d-b3d4-9fec-f5c49c393d28'::uuid, 'Tmdb', 2618494)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3af9ec3b-540d-b3d4-9fec-f5c49c393d28'::uuid, 'trakt', 4668989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3af9ec3b-540d-b3d4-9fec-f5c49c393d28'::uuid, 'TvMaze', 1991507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3af9ec3b-540d-b3d4-9fec-f5c49c393d28'::uuid, 'Tvdb', 8102371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3af9ec3b-540d-b3d4-9fec-f5c49c393d28'::uuid, 'TmdbCollection', 2618494)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10166 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3af9ec3b-540d-b3d4-9fec-f5c49c393d28'::uuid;

-- Query #10167 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3af9ec3b-540d-b3d4-9fec-f5c49c393d28'::uuid;

-- Query #10168 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3af9ec3b-540d-b3d4-9fec-f5c49c393d28'::uuid]);

-- Query #10169 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3af9ec3b-540d-b3d4-9fec-f5c49c393d28'::uuid;

-- Query #10170 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10171 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2cb21a55-5574-b267-2500-a85b6f237690'::uuid;

-- Query #10172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b002bbd-cd69-e99b-343d-563e4190cbe7'::uuid;

-- Query #10173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2cb21a55-5574-b267-2500-a85b6f237690'::uuid]);

-- Query #10174 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2cb21a55-5574-b267-2500-a85b6f237690'::uuid;

-- Query #10175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'eidr', '10.5240/D85C-3341-23DA-227C-157B-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'fan site', 'https://wynonnaearp.fandom.com')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'Imdb', 'tt4878326')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'official website', 'https://www.syfy.com/wynonna-earp')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'reddit', 'wynonnaearp')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10180 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b002bbd-cd69-e99b-343d-563e4190cbe7'::uuid]);

-- Query #10181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'Tmdb', 65988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'TmdbCollection', 65988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10183 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2b002bbd-cd69-e99b-343d-563e4190cbe7'::uuid;

-- Query #10184 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'Tvdb', 305582)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10185 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b002bbd-cd69-e99b-343d-563e4190cbe7'::uuid, 'Imdb', 'tt13900934')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10186 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'TvMaze', 6767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10187 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b002bbd-cd69-e99b-343d-563e4190cbe7'::uuid, 'Tmdb', 2618493)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10188 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b002bbd-cd69-e99b-343d-563e4190cbe7'::uuid, 'trakt', 4628264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'wikidata', 'Q22909835')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b002bbd-cd69-e99b-343d-563e4190cbe7'::uuid, 'TvMaze', 1981606)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'Zap2It', 'EP02373115')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b002bbd-cd69-e99b-343d-563e4190cbe7'::uuid, 'Tvdb', 8076332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10193 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2cb21a55-5574-b267-2500-a85b6f237690'::uuid;

-- Query #10194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b002bbd-cd69-e99b-343d-563e4190cbe7'::uuid, 'TmdbCollection', 2618493)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10195 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2cb21a55-5574-b267-2500-a85b6f237690'::uuid;

-- Query #10196 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b002bbd-cd69-e99b-343d-563e4190cbe7'::uuid;

-- Query #10197 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2b002bbd-cd69-e99b-343d-563e4190cbe7'::uuid;

-- Query #10198 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2b002bbd-cd69-e99b-343d-563e4190cbe7'::uuid]);

-- Query #10199 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2cb21a55-5574-b267-2500-a85b6f237690'::uuid]);

-- Query #10200 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2b002bbd-cd69-e99b-343d-563e4190cbe7'::uuid;

-- Query #10201 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2cb21a55-5574-b267-2500-a85b6f237690'::uuid;

-- Query #10202 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10203 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10204 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '2cb21a555574b2672500a85b6f237690'
ORDER BY b."SortName", b."Name";

-- Query #10205 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b887c400-08fd-208a-3a1a-c885eb1dda70'::uuid;

-- Query #10206 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2cb21a55-5574-b267-2500-a85b6f237690'::uuid
ORDER BY b."SortName";

-- Query #10207 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid])
ORDER BY b."Id";

-- Query #10208 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid])
ORDER BY b."Id";

-- Query #10209 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid])
ORDER BY b."Id";

-- Query #10210 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid])
ORDER BY b."Id";

-- Query #10211 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid])
ORDER BY b."Id";

-- Query #10212 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid
ORDER BY b."SortName";

-- Query #10213 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b887c400-08fd-208a-3a1a-c885eb1dda70'::uuid]);

-- Query #10214 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b887c400-08fd-208a-3a1a-c885eb1dda70'::uuid;

-- Query #10215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b887c400-08fd-208a-3a1a-c885eb1dda70'::uuid, 'Imdb', 'tt13314526')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10216 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b887c400-08fd-208a-3a1a-c885eb1dda70'::uuid, 'Tmdb', 2537880)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b887c400-08fd-208a-3a1a-c885eb1dda70'::uuid, 'trakt', 4585221)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b887c400-08fd-208a-3a1a-c885eb1dda70'::uuid, 'TvMaze', 1968464)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b887c400-08fd-208a-3a1a-c885eb1dda70'::uuid, 'Tvdb', 8039132)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b887c400-08fd-208a-3a1a-c885eb1dda70'::uuid, 'TmdbCollection', 2537880)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10221 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b887c400-08fd-208a-3a1a-c885eb1dda70'::uuid;

-- Query #10222 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b887c400-08fd-208a-3a1a-c885eb1dda70'::uuid;

-- Query #10223 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid
ORDER BY b."SortName";

-- Query #10224 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b887c400-08fd-208a-3a1a-c885eb1dda70'::uuid]);

-- Query #10225 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b887c400-08fd-208a-3a1a-c885eb1dda70'::uuid;

-- Query #10226 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10227 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid
ORDER BY b."SortName";

-- Query #10228 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid
ORDER BY b."SortName";

-- Query #10229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '2cb21a555574b2672500a85b6f237690'
ORDER BY b."SortName", b."Name";

-- Query #10230 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '77096633-5c52-225c-1264-b446b036b91e'::uuid;

-- Query #10231 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77096633-5c52-225c-1264-b446b036b91e'::uuid]);

-- Query #10232 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '77096633-5c52-225c-1264-b446b036b91e'::uuid;

-- Query #10233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77096633-5c52-225c-1264-b446b036b91e'::uuid, 'Imdb', 'tt13885202')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77096633-5c52-225c-1264-b446b036b91e'::uuid, 'Tmdb', 2618491)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77096633-5c52-225c-1264-b446b036b91e'::uuid, 'trakt', 4619717)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77096633-5c52-225c-1264-b446b036b91e'::uuid, 'TvMaze', 1980368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77096633-5c52-225c-1264-b446b036b91e'::uuid, 'Tvdb', 8070125)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77096633-5c52-225c-1264-b446b036b91e'::uuid, 'TmdbCollection', 2618491)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '77096633-5c52-225c-1264-b446b036b91e'::uuid;

-- Query #10240 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '77096633-5c52-225c-1264-b446b036b91e'::uuid;

-- Query #10241 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['77096633-5c52-225c-1264-b446b036b91e'::uuid]);

-- Query #10242 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '77096633-5c52-225c-1264-b446b036b91e'::uuid;

-- Query #10243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid;

-- Query #10245 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid]);

-- Query #10246 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid;

-- Query #10247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, 'official website', 'https://www.syfy.com/wynonna-earp')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, 'Tvdb', 305582)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, 'Tmdb', 65988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, 'Imdb', 'tt4878326')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, 'TvMaze', 6767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, 'fan site', 'https://wynonnaearp.fandom.com')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, 'reddit', 'wynonnaearp')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, 'eidr', '10.5240/D85C-3341-23DA-227C-157B-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, 'Zap2It', 'EP02373115')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, 'wikidata', 'Q22909835')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10257 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, 'TmdbCollection', 65988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid;

-- Query #10259 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid;

-- Query #10260 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid]);

-- Query #10261 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid;

-- Query #10262 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10263 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4af7eeea-8ad0-0dbc-7ed8-8c1d015a374a'::uuid;

-- Query #10264 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4af7eeea-8ad0-0dbc-7ed8-8c1d015a374a'::uuid]);

-- Query #10265 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4af7eeea-8ad0-0dbc-7ed8-8c1d015a374a'::uuid;

-- Query #10266 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '2cb21a555574b2672500a85b6f237690'
ORDER BY b."SortName", b."Name";

-- Query #10267 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4af7eeea-8ad0-0dbc-7ed8-8c1d015a374a'::uuid, 'Imdb', 'tt13588946')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4af7eeea-8ad0-0dbc-7ed8-8c1d015a374a'::uuid, 'Tmdb', 2618489)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4af7eeea-8ad0-0dbc-7ed8-8c1d015a374a'::uuid, 'trakt', 4619715)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4af7eeea-8ad0-0dbc-7ed8-8c1d015a374a'::uuid, 'TvMaze', 1980366)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10271 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4af7eeea-8ad0-0dbc-7ed8-8c1d015a374a'::uuid, 'Tvdb', 8070122)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10272 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4af7eeea-8ad0-0dbc-7ed8-8c1d015a374a'::uuid, 'TmdbCollection', 2618489)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10273 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4af7eeea-8ad0-0dbc-7ed8-8c1d015a374a'::uuid;

-- Query #10274 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4af7eeea-8ad0-0dbc-7ed8-8c1d015a374a'::uuid;

-- Query #10275 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4af7eeea-8ad0-0dbc-7ed8-8c1d015a374a'::uuid]);

-- Query #10276 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4af7eeea-8ad0-0dbc-7ed8-8c1d015a374a'::uuid;

-- Query #10277 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10278 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid;

-- Query #10279 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid]);

-- Query #10280 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid;

-- Query #10281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, 'Zap2It', 'EP02373115')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10282 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, 'wikidata', 'Q22909835')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10283 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, 'official website', 'https://www.syfy.com/wynonna-earp')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10284 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, 'TmdbCollection', 65988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10285 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, 'Tvdb', 305582)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10286 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, 'Tmdb', 65988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10287 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5a14abc9-ab4d-0523-0203-eef342305a6a'::uuid;

-- Query #10288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, 'Imdb', 'tt4878326')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, 'TvMaze', 6767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, 'fan site', 'https://wynonnaearp.fandom.com')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, 'reddit', 'wynonnaearp')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, 'eidr', '10.5240/D85C-3341-23DA-227C-157B-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10293 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid;

-- Query #10294 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid;

-- Query #10295 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid]);

-- Query #10296 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid;

-- Query #10297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5a14abc9-ab4d-0523-0203-eef342305a6a'::uuid]);

-- Query #10298 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10299 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5a14abc9-ab4d-0523-0203-eef342305a6a'::uuid;

-- Query #10300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a14abc9-ab4d-0523-0203-eef342305a6a'::uuid, 'Imdb', 'tt14349094')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10301 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a14abc9-ab4d-0523-0203-eef342305a6a'::uuid, 'Tmdb', 2851519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a14abc9-ab4d-0523-0203-eef342305a6a'::uuid, 'trakt', 4668992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a14abc9-ab4d-0523-0203-eef342305a6a'::uuid, 'TvMaze', 2052236)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a14abc9-ab4d-0523-0203-eef342305a6a'::uuid, 'Tvdb', 8102379)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a14abc9-ab4d-0523-0203-eef342305a6a'::uuid, 'TmdbCollection', 2851519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10306 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5a14abc9-ab4d-0523-0203-eef342305a6a'::uuid;

-- Query #10307 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5a14abc9-ab4d-0523-0203-eef342305a6a'::uuid;

-- Query #10308 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5a14abc9-ab4d-0523-0203-eef342305a6a'::uuid]);

-- Query #10309 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5a14abc9-ab4d-0523-0203-eef342305a6a'::uuid;

-- Query #10310 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10311 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '2cb21a555574b2672500a85b6f237690'
ORDER BY b."SortName", b."Name";

-- Query #10312 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b0b3d3f-38d3-f0f8-6814-6ff7c987c366'::uuid;

-- Query #10313 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid;

-- Query #10314 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b0b3d3f-38d3-f0f8-6814-6ff7c987c366'::uuid]);

-- Query #10315 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0b0b3d3f-38d3-f0f8-6814-6ff7c987c366'::uuid;

-- Query #10316 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b0b3d3f-38d3-f0f8-6814-6ff7c987c366'::uuid, 'Tmdb', 3376041)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b0b3d3f-38d3-f0f8-6814-6ff7c987c366'::uuid, 'trakt', 5736490)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10318 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b0b3d3f-38d3-f0f8-6814-6ff7c987c366'::uuid, 'TvMaze', 2245375)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b0b3d3f-38d3-f0f8-6814-6ff7c987c366'::uuid, 'Tvdb', 8803511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b0b3d3f-38d3-f0f8-6814-6ff7c987c366'::uuid, 'TmdbCollection', 3376041)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b0b3d3f-38d3-f0f8-6814-6ff7c987c366'::uuid, 'Imdb', 'tt16306314')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10322 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b0b3d3f-38d3-f0f8-6814-6ff7c987c366'::uuid;

-- Query #10323 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0b0b3d3f-38d3-f0f8-6814-6ff7c987c366'::uuid;

-- Query #10324 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0b0b3d3f-38d3-f0f8-6814-6ff7c987c366'::uuid]);

-- Query #10325 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0b0b3d3f-38d3-f0f8-6814-6ff7c987c366'::uuid;

-- Query #10326 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10327 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid]);

-- Query #10328 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid;

-- Query #10329 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, 'eidr', '10.5240/D85C-3341-23DA-227C-157B-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10330 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, 'Zap2It', 'EP02373115')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, 'wikidata', 'Q22909835')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, 'official website', 'https://www.syfy.com/wynonna-earp')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10333 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, 'TmdbCollection', 65988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, 'Tvdb', 305582)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, 'Tmdb', 65988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, 'Imdb', 'tt4878326')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, 'TvMaze', 6767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, 'fan site', 'https://wynonnaearp.fandom.com')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, 'reddit', 'wynonnaearp')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10340 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid;

-- Query #10341 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid;

-- Query #10342 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid]);

-- Query #10343 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid;

-- Query #10344 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10345 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d42be8a-4558-c996-3fda-f73143674110'::uuid;

-- Query #10346 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d42be8a-4558-c996-3fda-f73143674110'::uuid]);

-- Query #10347 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0d42be8a-4558-c996-3fda-f73143674110'::uuid;

-- Query #10348 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d42be8a-4558-c996-3fda-f73143674110'::uuid, 'Imdb', 'tt19406646')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10349 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d42be8a-4558-c996-3fda-f73143674110'::uuid, 'Tmdb', 3624723)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10350 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d42be8a-4558-c996-3fda-f73143674110'::uuid, 'trakt', 6003103)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10351 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d42be8a-4558-c996-3fda-f73143674110'::uuid, 'TvMaze', 2304538)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d42be8a-4558-c996-3fda-f73143674110'::uuid, 'Tvdb', 8898305)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d42be8a-4558-c996-3fda-f73143674110'::uuid, 'TmdbCollection', 3624723)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10354 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d42be8a-4558-c996-3fda-f73143674110'::uuid;

-- Query #10355 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0d42be8a-4558-c996-3fda-f73143674110'::uuid;

-- Query #10356 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0d42be8a-4558-c996-3fda-f73143674110'::uuid]);

-- Query #10357 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0d42be8a-4558-c996-3fda-f73143674110'::uuid;

-- Query #10358 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10359 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '162ecd0b-f9f9-adbc-1bf3-6096d6ec4bea'::uuid;

-- Query #10360 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162ecd0b-f9f9-adbc-1bf3-6096d6ec4bea'::uuid]);

-- Query #10361 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '162ecd0b-f9f9-adbc-1bf3-6096d6ec4bea'::uuid;

-- Query #10362 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('162ecd0b-f9f9-adbc-1bf3-6096d6ec4bea'::uuid, 'Imdb', 'tt5215276')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10363 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('162ecd0b-f9f9-adbc-1bf3-6096d6ec4bea'::uuid, 'Tmdb', 1177683)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10364 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('162ecd0b-f9f9-adbc-1bf3-6096d6ec4bea'::uuid, 'trakt', 2136912)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10365 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('162ecd0b-f9f9-adbc-1bf3-6096d6ec4bea'::uuid, 'TvMaze', 665841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('162ecd0b-f9f9-adbc-1bf3-6096d6ec4bea'::uuid, 'Tvdb', 5495535)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('162ecd0b-f9f9-adbc-1bf3-6096d6ec4bea'::uuid, 'TmdbCollection', 1177683)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10368 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '162ecd0b-f9f9-adbc-1bf3-6096d6ec4bea'::uuid;

-- Query #10369 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '162ecd0b-f9f9-adbc-1bf3-6096d6ec4bea'::uuid;

-- Query #10370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '66925200-e66d-dae3-1d78-1c5677cc2d21'::uuid;

-- Query #10371 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['162ecd0b-f9f9-adbc-1bf3-6096d6ec4bea'::uuid]);

-- Query #10372 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '162ecd0b-f9f9-adbc-1bf3-6096d6ec4bea'::uuid;

-- Query #10373 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10374 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['66925200-e66d-dae3-1d78-1c5677cc2d21'::uuid]);

-- Query #10375 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '66925200-e66d-dae3-1d78-1c5677cc2d21'::uuid;

-- Query #10376 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66925200-e66d-dae3-1d78-1c5677cc2d21'::uuid, 'Imdb', 'tt17177638')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10377 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66925200-e66d-dae3-1d78-1c5677cc2d21'::uuid, 'Tmdb', 3480501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10378 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66925200-e66d-dae3-1d78-1c5677cc2d21'::uuid, 'trakt', 5875271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10379 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66925200-e66d-dae3-1d78-1c5677cc2d21'::uuid, 'TvMaze', 2264116)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66925200-e66d-dae3-1d78-1c5677cc2d21'::uuid, 'Tvdb', 8868517)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66925200-e66d-dae3-1d78-1c5677cc2d21'::uuid, 'TmdbCollection', 3480501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10382 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '66925200-e66d-dae3-1d78-1c5677cc2d21'::uuid;

-- Query #10383 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '66925200-e66d-dae3-1d78-1c5677cc2d21'::uuid;

-- Query #10384 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['66925200-e66d-dae3-1d78-1c5677cc2d21'::uuid]);

-- Query #10385 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '66925200-e66d-dae3-1d78-1c5677cc2d21'::uuid;

-- Query #10386 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10387 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9734022f-fe35-3684-f930-5c9732f6da45'::uuid;

-- Query #10388 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9734022f-fe35-3684-f930-5c9732f6da45'::uuid]);

-- Query #10389 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9734022f-fe35-3684-f930-5c9732f6da45'::uuid;

-- Query #10390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9734022f-fe35-3684-f930-5c9732f6da45'::uuid, 'Imdb', 'tt5479248')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9734022f-fe35-3684-f930-5c9732f6da45'::uuid, 'Tmdb', 1177688)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9734022f-fe35-3684-f930-5c9732f6da45'::uuid, 'trakt', 2136923)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10393 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9734022f-fe35-3684-f930-5c9732f6da45'::uuid, 'TvMaze', 665846)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10394 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9734022f-fe35-3684-f930-5c9732f6da45'::uuid, 'Tvdb', 5495540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10395 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9734022f-fe35-3684-f930-5c9732f6da45'::uuid, 'TmdbCollection', 1177688)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10396 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9734022f-fe35-3684-f930-5c9732f6da45'::uuid;

-- Query #10397 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9734022f-fe35-3684-f930-5c9732f6da45'::uuid;

-- Query #10398 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9734022f-fe35-3684-f930-5c9732f6da45'::uuid]);

-- Query #10399 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9734022f-fe35-3684-f930-5c9732f6da45'::uuid;

-- Query #10400 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10401 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60a831f5-67b3-7979-1c65-6e767a16c1a7'::uuid;

-- Query #10402 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['60a831f5-67b3-7979-1c65-6e767a16c1a7'::uuid]);

-- Query #10403 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '60a831f5-67b3-7979-1c65-6e767a16c1a7'::uuid;

-- Query #10404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a831f5-67b3-7979-1c65-6e767a16c1a7'::uuid, 'Imdb', 'tt15739406')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a831f5-67b3-7979-1c65-6e767a16c1a7'::uuid, 'Tmdb', 3206543)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a831f5-67b3-7979-1c65-6e767a16c1a7'::uuid, 'trakt', 5508844)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10407 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a831f5-67b3-7979-1c65-6e767a16c1a7'::uuid, 'TvMaze', 2197051)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10408 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1cb238eb-e56d-ed5a-4e94-7b7ac9261fec'::uuid;

-- Query #10409 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a831f5-67b3-7979-1c65-6e767a16c1a7'::uuid, 'Tvdb', 8756583)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10410 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a831f5-67b3-7979-1c65-6e767a16c1a7'::uuid, 'TmdbCollection', 3206543)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10411 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60a831f5-67b3-7979-1c65-6e767a16c1a7'::uuid;

-- Query #10412 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '60a831f5-67b3-7979-1c65-6e767a16c1a7'::uuid;

-- Query #10413 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['60a831f5-67b3-7979-1c65-6e767a16c1a7'::uuid]);

-- Query #10414 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1cb238eb-e56d-ed5a-4e94-7b7ac9261fec'::uuid]);

-- Query #10415 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '60a831f5-67b3-7979-1c65-6e767a16c1a7'::uuid;

-- Query #10416 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1cb238eb-e56d-ed5a-4e94-7b7ac9261fec'::uuid;

-- Query #10417 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cb238eb-e56d-ed5a-4e94-7b7ac9261fec'::uuid, 'Imdb', 'tt5215280')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10419 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cb238eb-e56d-ed5a-4e94-7b7ac9261fec'::uuid, 'Tmdb', 1177685)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cb238eb-e56d-ed5a-4e94-7b7ac9261fec'::uuid, 'trakt', 2136915)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10421 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cb238eb-e56d-ed5a-4e94-7b7ac9261fec'::uuid, 'TvMaze', 665843)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10422 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cb238eb-e56d-ed5a-4e94-7b7ac9261fec'::uuid, 'Tvdb', 5495537)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10423 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cb238eb-e56d-ed5a-4e94-7b7ac9261fec'::uuid, 'TmdbCollection', 1177685)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10424 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1cb238eb-e56d-ed5a-4e94-7b7ac9261fec'::uuid;

-- Query #10425 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1cb238eb-e56d-ed5a-4e94-7b7ac9261fec'::uuid;

-- Query #10426 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1cb238eb-e56d-ed5a-4e94-7b7ac9261fec'::uuid]);

-- Query #10427 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1cb238eb-e56d-ed5a-4e94-7b7ac9261fec'::uuid;

-- Query #10428 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10429 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #10430 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8232a6f6-94b2-4de2-429c-b6b5ed3205ee'::uuid;

-- Query #10431 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '097063a2-581a-29a5-ea19-7f71ab9ade3f'::uuid;

-- Query #10432 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8232a6f6-94b2-4de2-429c-b6b5ed3205ee'::uuid]);

-- Query #10433 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8232a6f6-94b2-4de2-429c-b6b5ed3205ee'::uuid;

-- Query #10434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8232a6f6-94b2-4de2-429c-b6b5ed3205ee'::uuid, 'Imdb', 'tt16306298')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8232a6f6-94b2-4de2-429c-b6b5ed3205ee'::uuid, 'Tmdb', 3350667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8232a6f6-94b2-4de2-429c-b6b5ed3205ee'::uuid, 'trakt', 5713213)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10437 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8232a6f6-94b2-4de2-429c-b6b5ed3205ee'::uuid, 'TvMaze', 2214749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10438 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8232a6f6-94b2-4de2-429c-b6b5ed3205ee'::uuid, 'Tvdb', 8756591)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10439 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8232a6f6-94b2-4de2-429c-b6b5ed3205ee'::uuid, 'TmdbCollection', 3350667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10440 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8232a6f6-94b2-4de2-429c-b6b5ed3205ee'::uuid;

-- Query #10441 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8232a6f6-94b2-4de2-429c-b6b5ed3205ee'::uuid;

-- Query #10442 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['097063a2-581a-29a5-ea19-7f71ab9ade3f'::uuid]);

-- Query #10443 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '097063a2-581a-29a5-ea19-7f71ab9ade3f'::uuid;

-- Query #10444 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8232a6f6-94b2-4de2-429c-b6b5ed3205ee'::uuid]);

-- Query #10445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('097063a2-581a-29a5-ea19-7f71ab9ade3f'::uuid, 'Imdb', 'tt5215278')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('097063a2-581a-29a5-ea19-7f71ab9ade3f'::uuid, 'Tmdb', 1177684)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10447 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8232a6f6-94b2-4de2-429c-b6b5ed3205ee'::uuid;

-- Query #10448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('097063a2-581a-29a5-ea19-7f71ab9ade3f'::uuid, 'trakt', 2136913)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10449 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('097063a2-581a-29a5-ea19-7f71ab9ade3f'::uuid, 'TvMaze', 665842)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('097063a2-581a-29a5-ea19-7f71ab9ade3f'::uuid, 'Tvdb', 5495536)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10452 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('097063a2-581a-29a5-ea19-7f71ab9ade3f'::uuid, 'TmdbCollection', 1177684)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10453 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '097063a2-581a-29a5-ea19-7f71ab9ade3f'::uuid;

-- Query #10454 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '097063a2-581a-29a5-ea19-7f71ab9ade3f'::uuid;

-- Query #10455 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['097063a2-581a-29a5-ea19-7f71ab9ade3f'::uuid]);

-- Query #10456 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '097063a2-581a-29a5-ea19-7f71ab9ade3f'::uuid;

-- Query #10457 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10458 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88034ae0-874f-6263-cf35-71f4a9d92d1c'::uuid;

-- Query #10459 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44d5c5b1-894b-7517-c8e2-2e3bdcf101d3'::uuid;

-- Query #10460 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88034ae0-874f-6263-cf35-71f4a9d92d1c'::uuid]);

-- Query #10461 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '88034ae0-874f-6263-cf35-71f4a9d92d1c'::uuid;

-- Query #10462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88034ae0-874f-6263-cf35-71f4a9d92d1c'::uuid, 'Imdb', 'tt5513508')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88034ae0-874f-6263-cf35-71f4a9d92d1c'::uuid, 'Tmdb', 1177691)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88034ae0-874f-6263-cf35-71f4a9d92d1c'::uuid, 'trakt', 2197224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88034ae0-874f-6263-cf35-71f4a9d92d1c'::uuid, 'TvMaze', 665849)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10466 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88034ae0-874f-6263-cf35-71f4a9d92d1c'::uuid, 'Tvdb', 5569727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88034ae0-874f-6263-cf35-71f4a9d92d1c'::uuid, 'TmdbCollection', 1177691)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10468 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88034ae0-874f-6263-cf35-71f4a9d92d1c'::uuid;

-- Query #10469 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '88034ae0-874f-6263-cf35-71f4a9d92d1c'::uuid;

-- Query #10470 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44d5c5b1-894b-7517-c8e2-2e3bdcf101d3'::uuid]);

-- Query #10471 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '44d5c5b1-894b-7517-c8e2-2e3bdcf101d3'::uuid;

-- Query #10472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44d5c5b1-894b-7517-c8e2-2e3bdcf101d3'::uuid, 'Imdb', 'tt18332708')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10473 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['88034ae0-874f-6263-cf35-71f4a9d92d1c'::uuid]);

-- Query #10474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44d5c5b1-894b-7517-c8e2-2e3bdcf101d3'::uuid, 'Tmdb', 3532973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44d5c5b1-894b-7517-c8e2-2e3bdcf101d3'::uuid, 'trakt', 5949642)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10476 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '88034ae0-874f-6263-cf35-71f4a9d92d1c'::uuid;

-- Query #10477 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44d5c5b1-894b-7517-c8e2-2e3bdcf101d3'::uuid, 'TvMaze', 2277709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10478 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44d5c5b1-894b-7517-c8e2-2e3bdcf101d3'::uuid, 'Tvdb', 8898301)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44d5c5b1-894b-7517-c8e2-2e3bdcf101d3'::uuid, 'TmdbCollection', 3532973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10481 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44d5c5b1-894b-7517-c8e2-2e3bdcf101d3'::uuid;

-- Query #10482 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '44d5c5b1-894b-7517-c8e2-2e3bdcf101d3'::uuid;

-- Query #10483 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['44d5c5b1-894b-7517-c8e2-2e3bdcf101d3'::uuid]);

-- Query #10484 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '44d5c5b1-894b-7517-c8e2-2e3bdcf101d3'::uuid;

-- Query #10485 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10486 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '470c2810-f0b0-e287-4987-d0594e30f719'::uuid;

-- Query #10487 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['470c2810-f0b0-e287-4987-d0594e30f719'::uuid]);

-- Query #10488 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '470c2810-f0b0-e287-4987-d0594e30f719'::uuid;

-- Query #10489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('470c2810-f0b0-e287-4987-d0594e30f719'::uuid, 'Imdb', 'tt5513512')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('470c2810-f0b0-e287-4987-d0594e30f719'::uuid, 'Tmdb', 1177692)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('470c2810-f0b0-e287-4987-d0594e30f719'::uuid, 'trakt', 2197225)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('470c2810-f0b0-e287-4987-d0594e30f719'::uuid, 'TvMaze', 665850)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('470c2810-f0b0-e287-4987-d0594e30f719'::uuid, 'Tvdb', 5569729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('470c2810-f0b0-e287-4987-d0594e30f719'::uuid, 'TmdbCollection', 1177692)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10495 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '470c2810-f0b0-e287-4987-d0594e30f719'::uuid;

-- Query #10496 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '470c2810-f0b0-e287-4987-d0594e30f719'::uuid;

-- Query #10497 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['470c2810-f0b0-e287-4987-d0594e30f719'::uuid]);

-- Query #10498 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09b50b96-4676-0018-bd0d-c3a2d8b18d95'::uuid;

-- Query #10499 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '470c2810-f0b0-e287-4987-d0594e30f719'::uuid;

-- Query #10500 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10501 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09b50b96-4676-0018-bd0d-c3a2d8b18d95'::uuid]);

-- Query #10502 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '09b50b96-4676-0018-bd0d-c3a2d8b18d95'::uuid;

-- Query #10503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09b50b96-4676-0018-bd0d-c3a2d8b18d95'::uuid, 'Imdb', 'tt15770112')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10504 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09b50b96-4676-0018-bd0d-c3a2d8b18d95'::uuid, 'Tmdb', 3257039)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09b50b96-4676-0018-bd0d-c3a2d8b18d95'::uuid, 'trakt', 5588712)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09b50b96-4676-0018-bd0d-c3a2d8b18d95'::uuid, 'TvMaze', 2213964)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10507 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09b50b96-4676-0018-bd0d-c3a2d8b18d95'::uuid, 'Tvdb', 8756586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10508 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09b50b96-4676-0018-bd0d-c3a2d8b18d95'::uuid, 'TmdbCollection', 3257039)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10509 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09b50b96-4676-0018-bd0d-c3a2d8b18d95'::uuid;

-- Query #10510 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '09b50b96-4676-0018-bd0d-c3a2d8b18d95'::uuid;

-- Query #10511 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['09b50b96-4676-0018-bd0d-c3a2d8b18d95'::uuid]);

-- Query #10512 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '09b50b96-4676-0018-bd0d-c3a2d8b18d95'::uuid;

-- Query #10513 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10514 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '882b3b19-998a-63af-aa15-2a7c7fa8ab1d'::uuid;

-- Query #10515 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['882b3b19-998a-63af-aa15-2a7c7fa8ab1d'::uuid]);

-- Query #10516 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '882b3b19-998a-63af-aa15-2a7c7fa8ab1d'::uuid;

-- Query #10517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('882b3b19-998a-63af-aa15-2a7c7fa8ab1d'::uuid, 'Imdb', 'tt5465820')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('882b3b19-998a-63af-aa15-2a7c7fa8ab1d'::uuid, 'Tmdb', 1177681)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('882b3b19-998a-63af-aa15-2a7c7fa8ab1d'::uuid, 'trakt', 2136908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('882b3b19-998a-63af-aa15-2a7c7fa8ab1d'::uuid, 'TvMaze', 665839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('882b3b19-998a-63af-aa15-2a7c7fa8ab1d'::uuid, 'Tvdb', 5495533)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('882b3b19-998a-63af-aa15-2a7c7fa8ab1d'::uuid, 'TmdbCollection', 1177681)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10523 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '882b3b19-998a-63af-aa15-2a7c7fa8ab1d'::uuid;

-- Query #10524 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '882b3b19-998a-63af-aa15-2a7c7fa8ab1d'::uuid;

-- Query #10525 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['882b3b19-998a-63af-aa15-2a7c7fa8ab1d'::uuid]);

-- Query #10526 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '882b3b19-998a-63af-aa15-2a7c7fa8ab1d'::uuid;

-- Query #10527 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10528 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18c58918-9553-5f63-6517-e78d1af0eaec'::uuid;

-- Query #10529 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['18c58918-9553-5f63-6517-e78d1af0eaec'::uuid]);

-- Query #10530 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '18c58918-9553-5f63-6517-e78d1af0eaec'::uuid;

-- Query #10531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18c58918-9553-5f63-6517-e78d1af0eaec'::uuid, 'Imdb', 'tt15420672')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18c58918-9553-5f63-6517-e78d1af0eaec'::uuid, 'Tmdb', 3206539)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18c58918-9553-5f63-6517-e78d1af0eaec'::uuid, 'trakt', 5508840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18c58918-9553-5f63-6517-e78d1af0eaec'::uuid, 'TvMaze', 2172292)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18c58918-9553-5f63-6517-e78d1af0eaec'::uuid, 'Tvdb', 8593425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18c58918-9553-5f63-6517-e78d1af0eaec'::uuid, 'TmdbCollection', 3206539)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10537 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18c58918-9553-5f63-6517-e78d1af0eaec'::uuid;

-- Query #10538 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '18c58918-9553-5f63-6517-e78d1af0eaec'::uuid;

-- Query #10539 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3928d82d-1d89-aeca-677e-0ecddb1fae3e'::uuid;

-- Query #10540 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['18c58918-9553-5f63-6517-e78d1af0eaec'::uuid]);

-- Query #10541 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '18c58918-9553-5f63-6517-e78d1af0eaec'::uuid;

-- Query #10542 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10543 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3928d82d-1d89-aeca-677e-0ecddb1fae3e'::uuid]);

-- Query #10544 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3928d82d-1d89-aeca-677e-0ecddb1fae3e'::uuid;

-- Query #10545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3928d82d-1d89-aeca-677e-0ecddb1fae3e'::uuid, 'Imdb', 'tt5359990')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3928d82d-1d89-aeca-677e-0ecddb1fae3e'::uuid, 'Tmdb', 1177690)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3928d82d-1d89-aeca-677e-0ecddb1fae3e'::uuid, 'trakt', 2136926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3928d82d-1d89-aeca-677e-0ecddb1fae3e'::uuid, 'TvMaze', 665848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3928d82d-1d89-aeca-677e-0ecddb1fae3e'::uuid, 'Tvdb', 5495542)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3928d82d-1d89-aeca-677e-0ecddb1fae3e'::uuid, 'TmdbCollection', 1177690)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10551 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3928d82d-1d89-aeca-677e-0ecddb1fae3e'::uuid;

-- Query #10552 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3928d82d-1d89-aeca-677e-0ecddb1fae3e'::uuid;

-- Query #10553 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3928d82d-1d89-aeca-677e-0ecddb1fae3e'::uuid]);

-- Query #10554 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3928d82d-1d89-aeca-677e-0ecddb1fae3e'::uuid;

-- Query #10555 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10556 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1a2e632e-62ca-6043-97df-059899840024'::uuid;

-- Query #10557 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4681b9df-237d-aad3-a175-6501699c918d'::uuid;

-- Query #10558 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1a2e632e-62ca-6043-97df-059899840024'::uuid]);

-- Query #10559 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1a2e632e-62ca-6043-97df-059899840024'::uuid;

-- Query #10560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a2e632e-62ca-6043-97df-059899840024'::uuid, 'Imdb', 'tt15034848')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a2e632e-62ca-6043-97df-059899840024'::uuid, 'Tmdb', 3070172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a2e632e-62ca-6043-97df-059899840024'::uuid, 'trakt', 5302182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10563 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a2e632e-62ca-6043-97df-059899840024'::uuid, 'TvMaze', 2130371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a2e632e-62ca-6043-97df-059899840024'::uuid, 'Tvdb', 8548897)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a2e632e-62ca-6043-97df-059899840024'::uuid, 'TmdbCollection', 3070172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10566 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1a2e632e-62ca-6043-97df-059899840024'::uuid;

-- Query #10567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1a2e632e-62ca-6043-97df-059899840024'::uuid;

-- Query #10568 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1a2e632e-62ca-6043-97df-059899840024'::uuid]);

-- Query #10569 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1a2e632e-62ca-6043-97df-059899840024'::uuid;

-- Query #10570 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10571 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4681b9df-237d-aad3-a175-6501699c918d'::uuid]);

-- Query #10572 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4681b9df-237d-aad3-a175-6501699c918d'::uuid;

-- Query #10573 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4681b9df-237d-aad3-a175-6501699c918d'::uuid, 'Imdb', 'tt5465858')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10574 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4681b9df-237d-aad3-a175-6501699c918d'::uuid, 'Tmdb', 1177682)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4681b9df-237d-aad3-a175-6501699c918d'::uuid, 'trakt', 2136910)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4681b9df-237d-aad3-a175-6501699c918d'::uuid, 'TvMaze', 665840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4681b9df-237d-aad3-a175-6501699c918d'::uuid, 'Tvdb', 5495534)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10578 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4681b9df-237d-aad3-a175-6501699c918d'::uuid, 'TmdbCollection', 1177682)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10579 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4681b9df-237d-aad3-a175-6501699c918d'::uuid;

-- Query #10580 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4681b9df-237d-aad3-a175-6501699c918d'::uuid;

-- Query #10581 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4681b9df-237d-aad3-a175-6501699c918d'::uuid]);

-- Query #10582 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4681b9df-237d-aad3-a175-6501699c918d'::uuid;

-- Query #10583 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10584 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3f7a49d9-b1e6-7251-d7d4-23b46eff277e'::uuid;

-- Query #10585 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd87edf2-0430-0568-a524-af5e9e92247b'::uuid;

-- Query #10586 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3f7a49d9-b1e6-7251-d7d4-23b46eff277e'::uuid]);

-- Query #10587 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3f7a49d9-b1e6-7251-d7d4-23b46eff277e'::uuid;

-- Query #10588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f7a49d9-b1e6-7251-d7d4-23b46eff277e'::uuid, 'Imdb', 'tt5345100')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f7a49d9-b1e6-7251-d7d4-23b46eff277e'::uuid, 'Tmdb', 1177668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f7a49d9-b1e6-7251-d7d4-23b46eff277e'::uuid, 'trakt', 2110656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f7a49d9-b1e6-7251-d7d4-23b46eff277e'::uuid, 'TvMaze', 591243)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10592 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f7a49d9-b1e6-7251-d7d4-23b46eff277e'::uuid, 'Tvdb', 5468078)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10593 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f7a49d9-b1e6-7251-d7d4-23b46eff277e'::uuid, 'TmdbCollection', 1177668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10594 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3f7a49d9-b1e6-7251-d7d4-23b46eff277e'::uuid;

-- Query #10595 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3f7a49d9-b1e6-7251-d7d4-23b46eff277e'::uuid;

-- Query #10596 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd87edf2-0430-0568-a524-af5e9e92247b'::uuid]);

-- Query #10597 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bd87edf2-0430-0568-a524-af5e9e92247b'::uuid;

-- Query #10598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd87edf2-0430-0568-a524-af5e9e92247b'::uuid, 'Imdb', 'tt16306318')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd87edf2-0430-0568-a524-af5e9e92247b'::uuid, 'Tmdb', 3442579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd87edf2-0430-0568-a524-af5e9e92247b'::uuid, 'trakt', 5821425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd87edf2-0430-0568-a524-af5e9e92247b'::uuid, 'TvMaze', 2248423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd87edf2-0430-0568-a524-af5e9e92247b'::uuid, 'Tvdb', 8825608)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10603 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd87edf2-0430-0568-a524-af5e9e92247b'::uuid, 'TmdbCollection', 3442579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10604 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd87edf2-0430-0568-a524-af5e9e92247b'::uuid;

-- Query #10605 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3f7a49d9-b1e6-7251-d7d4-23b46eff277e'::uuid]);

-- Query #10606 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bd87edf2-0430-0568-a524-af5e9e92247b'::uuid;

-- Query #10607 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3f7a49d9-b1e6-7251-d7d4-23b46eff277e'::uuid;

-- Query #10608 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10609 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bd87edf2-0430-0568-a524-af5e9e92247b'::uuid]);

-- Query #10610 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bd87edf2-0430-0568-a524-af5e9e92247b'::uuid;

-- Query #10611 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10612 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a2905934-f02f-a2a2-7ce9-bf1df6a9792c'::uuid;

-- Query #10613 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '26ab0af2-288f-8e4f-b950-3d9a61e079eb'::uuid;

-- Query #10614 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a2905934-f02f-a2a2-7ce9-bf1df6a9792c'::uuid]);

-- Query #10615 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a2905934-f02f-a2a2-7ce9-bf1df6a9792c'::uuid;

-- Query #10616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2905934-f02f-a2a2-7ce9-bf1df6a9792c'::uuid, 'Imdb', 'tt5359986')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2905934-f02f-a2a2-7ce9-bf1df6a9792c'::uuid, 'Tmdb', 1177689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2905934-f02f-a2a2-7ce9-bf1df6a9792c'::uuid, 'trakt', 2136925)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2905934-f02f-a2a2-7ce9-bf1df6a9792c'::uuid, 'TvMaze', 665847)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10620 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2905934-f02f-a2a2-7ce9-bf1df6a9792c'::uuid, 'Tvdb', 5495541)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10621 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2905934-f02f-a2a2-7ce9-bf1df6a9792c'::uuid, 'TmdbCollection', 1177689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10622 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a2905934-f02f-a2a2-7ce9-bf1df6a9792c'::uuid;

-- Query #10623 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a2905934-f02f-a2a2-7ce9-bf1df6a9792c'::uuid;

-- Query #10624 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['26ab0af2-288f-8e4f-b950-3d9a61e079eb'::uuid]);

-- Query #10625 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '26ab0af2-288f-8e4f-b950-3d9a61e079eb'::uuid;

-- Query #10626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('26ab0af2-288f-8e4f-b950-3d9a61e079eb'::uuid, 'Imdb', 'tt19352814')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('26ab0af2-288f-8e4f-b950-3d9a61e079eb'::uuid, 'Tmdb', 3624722)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('26ab0af2-288f-8e4f-b950-3d9a61e079eb'::uuid, 'trakt', 6003097)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('26ab0af2-288f-8e4f-b950-3d9a61e079eb'::uuid, 'TvMaze', 2278916)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('26ab0af2-288f-8e4f-b950-3d9a61e079eb'::uuid, 'Tvdb', 8898304)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10631 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('26ab0af2-288f-8e4f-b950-3d9a61e079eb'::uuid, 'TmdbCollection', 3624722)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10632 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a2905934-f02f-a2a2-7ce9-bf1df6a9792c'::uuid]);

-- Query #10633 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '26ab0af2-288f-8e4f-b950-3d9a61e079eb'::uuid;

-- Query #10634 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '26ab0af2-288f-8e4f-b950-3d9a61e079eb'::uuid;

-- Query #10635 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a2905934-f02f-a2a2-7ce9-bf1df6a9792c'::uuid;

-- Query #10636 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10637 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['26ab0af2-288f-8e4f-b950-3d9a61e079eb'::uuid]);

-- Query #10638 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '26ab0af2-288f-8e4f-b950-3d9a61e079eb'::uuid;

-- Query #10639 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10640 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21a852e9-55e8-1b0a-606c-e2906021a5dd'::uuid;

-- Query #10641 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['21a852e9-55e8-1b0a-606c-e2906021a5dd'::uuid]);

-- Query #10642 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '21a852e9-55e8-1b0a-606c-e2906021a5dd'::uuid;

-- Query #10643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21a852e9-55e8-1b0a-606c-e2906021a5dd'::uuid, 'Imdb', 'tt5200474')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21a852e9-55e8-1b0a-606c-e2906021a5dd'::uuid, 'Tmdb', 1177686)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21a852e9-55e8-1b0a-606c-e2906021a5dd'::uuid, 'trakt', 2136917)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10646 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21a852e9-55e8-1b0a-606c-e2906021a5dd'::uuid, 'TvMaze', 665844)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21a852e9-55e8-1b0a-606c-e2906021a5dd'::uuid, 'Tvdb', 5495538)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10648 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21a852e9-55e8-1b0a-606c-e2906021a5dd'::uuid, 'TmdbCollection', 1177686)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10649 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0b40a5b-c910-f977-1915-51d1baff6400'::uuid;

-- Query #10650 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21a852e9-55e8-1b0a-606c-e2906021a5dd'::uuid;

-- Query #10651 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '21a852e9-55e8-1b0a-606c-e2906021a5dd'::uuid;

-- Query #10652 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['21a852e9-55e8-1b0a-606c-e2906021a5dd'::uuid]);

-- Query #10653 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '21a852e9-55e8-1b0a-606c-e2906021a5dd'::uuid;

-- Query #10654 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10655 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0b40a5b-c910-f977-1915-51d1baff6400'::uuid]);

-- Query #10656 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a0b40a5b-c910-f977-1915-51d1baff6400'::uuid;

-- Query #10657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0b40a5b-c910-f977-1915-51d1baff6400'::uuid, 'trakt', 5508845)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0b40a5b-c910-f977-1915-51d1baff6400'::uuid, 'TvMaze', 2203849)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0b40a5b-c910-f977-1915-51d1baff6400'::uuid, 'Tvdb', 8756584)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0b40a5b-c910-f977-1915-51d1baff6400'::uuid, 'TmdbCollection', 3206544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10661 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0b40a5b-c910-f977-1915-51d1baff6400'::uuid, 'Imdb', 'tt15770060')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10662 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0b40a5b-c910-f977-1915-51d1baff6400'::uuid, 'Tmdb', 3206544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10663 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0b40a5b-c910-f977-1915-51d1baff6400'::uuid;

-- Query #10664 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a0b40a5b-c910-f977-1915-51d1baff6400'::uuid;

-- Query #10665 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a0b40a5b-c910-f977-1915-51d1baff6400'::uuid]);

-- Query #10666 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a0b40a5b-c910-f977-1915-51d1baff6400'::uuid;

-- Query #10667 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10668 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '57ef42f1-8ba4-074d-0060-3821541f818b'::uuid;

-- Query #10669 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['57ef42f1-8ba4-074d-0060-3821541f818b'::uuid]);

-- Query #10670 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '57ef42f1-8ba4-074d-0060-3821541f818b'::uuid;

-- Query #10671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('57ef42f1-8ba4-074d-0060-3821541f818b'::uuid, 'Imdb', 'tt6873860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('57ef42f1-8ba4-074d-0060-3821541f818b'::uuid, 'Tmdb', 1335314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('57ef42f1-8ba4-074d-0060-3821541f818b'::uuid, 'trakt', 2603829)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('57ef42f1-8ba4-074d-0060-3821541f818b'::uuid, 'TvMaze', 1206927)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('57ef42f1-8ba4-074d-0060-3821541f818b'::uuid, 'Tvdb', 6123104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('57ef42f1-8ba4-074d-0060-3821541f818b'::uuid, 'TmdbCollection', 1335314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10677 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '57ef42f1-8ba4-074d-0060-3821541f818b'::uuid;

-- Query #10678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '57ef42f1-8ba4-074d-0060-3821541f818b'::uuid;

-- Query #10679 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['57ef42f1-8ba4-074d-0060-3821541f818b'::uuid]);

-- Query #10680 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '57ef42f1-8ba4-074d-0060-3821541f818b'::uuid;

-- Query #10681 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10682 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd6693b3-afb7-0b92-7316-22c61ecf2b05'::uuid;

-- Query #10683 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd6693b3-afb7-0b92-7316-22c61ecf2b05'::uuid]);

-- Query #10684 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dd6693b3-afb7-0b92-7316-22c61ecf2b05'::uuid;

-- Query #10685 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd6693b3-afb7-0b92-7316-22c61ecf2b05'::uuid, 'Imdb', 'tt17177008')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd6693b3-afb7-0b92-7316-22c61ecf2b05'::uuid, 'Tmdb', 3442581)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd6693b3-afb7-0b92-7316-22c61ecf2b05'::uuid, 'trakt', 5821426)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd6693b3-afb7-0b92-7316-22c61ecf2b05'::uuid, 'TvMaze', 2264115)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd6693b3-afb7-0b92-7316-22c61ecf2b05'::uuid, 'Tvdb', 8836631)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd6693b3-afb7-0b92-7316-22c61ecf2b05'::uuid, 'TmdbCollection', 3442581)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10691 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd6693b3-afb7-0b92-7316-22c61ecf2b05'::uuid;

-- Query #10692 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dd6693b3-afb7-0b92-7316-22c61ecf2b05'::uuid;

-- Query #10693 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f1c38af-36ee-5813-3407-556c189119ca'::uuid;

-- Query #10694 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dd6693b3-afb7-0b92-7316-22c61ecf2b05'::uuid]);

-- Query #10695 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dd6693b3-afb7-0b92-7316-22c61ecf2b05'::uuid;

-- Query #10696 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10697 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f1c38af-36ee-5813-3407-556c189119ca'::uuid]);

-- Query #10698 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7f1c38af-36ee-5813-3407-556c189119ca'::uuid;

-- Query #10699 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f1c38af-36ee-5813-3407-556c189119ca'::uuid, 'Tmdb', 1336823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f1c38af-36ee-5813-3407-556c189119ca'::uuid, 'trakt', 2603846)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f1c38af-36ee-5813-3407-556c189119ca'::uuid, 'TvMaze', 1206931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f1c38af-36ee-5813-3407-556c189119ca'::uuid, 'Tvdb', 6123098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f1c38af-36ee-5813-3407-556c189119ca'::uuid, 'TmdbCollection', 1336823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f1c38af-36ee-5813-3407-556c189119ca'::uuid, 'Imdb', 'tt6876362')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10705 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f1c38af-36ee-5813-3407-556c189119ca'::uuid;

-- Query #10706 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7f1c38af-36ee-5813-3407-556c189119ca'::uuid;

-- Query #10707 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7f1c38af-36ee-5813-3407-556c189119ca'::uuid]);

-- Query #10708 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7f1c38af-36ee-5813-3407-556c189119ca'::uuid;

-- Query #10709 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10710 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da270c65-8497-554f-898d-822c17939776'::uuid;

-- Query #10711 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da270c65-8497-554f-898d-822c17939776'::uuid]);

-- Query #10712 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'da270c65-8497-554f-898d-822c17939776'::uuid;

-- Query #10713 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fab6830b-a951-7c88-1999-a0dcc600b662'::uuid;

-- Query #10714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da270c65-8497-554f-898d-822c17939776'::uuid, 'Imdb', 'tt18688728')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da270c65-8497-554f-898d-822c17939776'::uuid, 'Tmdb', 3624721)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da270c65-8497-554f-898d-822c17939776'::uuid, 'trakt', 6003095)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da270c65-8497-554f-898d-822c17939776'::uuid, 'TvMaze', 2278915)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da270c65-8497-554f-898d-822c17939776'::uuid, 'Tvdb', 8898303)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da270c65-8497-554f-898d-822c17939776'::uuid, 'TmdbCollection', 3624721)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10720 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da270c65-8497-554f-898d-822c17939776'::uuid;

-- Query #10721 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'da270c65-8497-554f-898d-822c17939776'::uuid;

-- Query #10722 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fab6830b-a951-7c88-1999-a0dcc600b662'::uuid]);

-- Query #10723 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fab6830b-a951-7c88-1999-a0dcc600b662'::uuid;

-- Query #10724 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['da270c65-8497-554f-898d-822c17939776'::uuid]);

-- Query #10725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fab6830b-a951-7c88-1999-a0dcc600b662'::uuid, 'trakt', 2498260)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10726 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fab6830b-a951-7c88-1999-a0dcc600b662'::uuid, 'TvMaze', 1158949)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10727 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'da270c65-8497-554f-898d-822c17939776'::uuid;

-- Query #10728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fab6830b-a951-7c88-1999-a0dcc600b662'::uuid, 'Tvdb', 5972235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10729 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fab6830b-a951-7c88-1999-a0dcc600b662'::uuid, 'TmdbCollection', 1327037)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10730 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10731 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fab6830b-a951-7c88-1999-a0dcc600b662'::uuid, 'Imdb', 'tt6474348')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10732 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fab6830b-a951-7c88-1999-a0dcc600b662'::uuid, 'Tmdb', 1327037)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10733 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fab6830b-a951-7c88-1999-a0dcc600b662'::uuid;

-- Query #10734 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fab6830b-a951-7c88-1999-a0dcc600b662'::uuid;

-- Query #10735 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fab6830b-a951-7c88-1999-a0dcc600b662'::uuid]);

-- Query #10736 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fab6830b-a951-7c88-1999-a0dcc600b662'::uuid;

-- Query #10737 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10738 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f018ab36-2610-459b-b1bf-4d6a188fe6e3'::uuid;

-- Query #10739 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f018ab36-2610-459b-b1bf-4d6a188fe6e3'::uuid]);

-- Query #10740 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f018ab36-2610-459b-b1bf-4d6a188fe6e3'::uuid;

-- Query #10741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f018ab36-2610-459b-b1bf-4d6a188fe6e3'::uuid, 'Imdb', 'tt6876368')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10742 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f018ab36-2610-459b-b1bf-4d6a188fe6e3'::uuid, 'Tmdb', 1336824)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10743 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f018ab36-2610-459b-b1bf-4d6a188fe6e3'::uuid, 'trakt', 2603847)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10744 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f018ab36-2610-459b-b1bf-4d6a188fe6e3'::uuid, 'TvMaze', 1206932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f018ab36-2610-459b-b1bf-4d6a188fe6e3'::uuid, 'Tvdb', 6123100)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f018ab36-2610-459b-b1bf-4d6a188fe6e3'::uuid, 'TmdbCollection', 1336824)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10747 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f018ab36-2610-459b-b1bf-4d6a188fe6e3'::uuid;

-- Query #10748 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f018ab36-2610-459b-b1bf-4d6a188fe6e3'::uuid;

-- Query #10749 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8593b49d-9943-1bd1-c60f-d36b6dcc28b4'::uuid;

-- Query #10750 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f018ab36-2610-459b-b1bf-4d6a188fe6e3'::uuid]);

-- Query #10751 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f018ab36-2610-459b-b1bf-4d6a188fe6e3'::uuid;

-- Query #10752 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10753 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8593b49d-9943-1bd1-c60f-d36b6dcc28b4'::uuid]);

-- Query #10754 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8593b49d-9943-1bd1-c60f-d36b6dcc28b4'::uuid;

-- Query #10755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8593b49d-9943-1bd1-c60f-d36b6dcc28b4'::uuid, 'Imdb', 'tt15483226')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8593b49d-9943-1bd1-c60f-d36b6dcc28b4'::uuid, 'Tmdb', 3206540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10757 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8593b49d-9943-1bd1-c60f-d36b6dcc28b4'::uuid, 'trakt', 5508841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10758 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8593b49d-9943-1bd1-c60f-d36b6dcc28b4'::uuid, 'TvMaze', 2177253)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10759 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8593b49d-9943-1bd1-c60f-d36b6dcc28b4'::uuid, 'Tvdb', 8593426)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10760 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8593b49d-9943-1bd1-c60f-d36b6dcc28b4'::uuid, 'TmdbCollection', 3206540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10761 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8593b49d-9943-1bd1-c60f-d36b6dcc28b4'::uuid;

-- Query #10762 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8593b49d-9943-1bd1-c60f-d36b6dcc28b4'::uuid;

-- Query #10763 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8593b49d-9943-1bd1-c60f-d36b6dcc28b4'::uuid]);

-- Query #10764 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8593b49d-9943-1bd1-c60f-d36b6dcc28b4'::uuid;

-- Query #10765 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10766 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '49159c93-f838-4eae-83ef-e19bd6b7e7b7'::uuid;

-- Query #10767 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49159c93-f838-4eae-83ef-e19bd6b7e7b7'::uuid]);

-- Query #10768 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '49159c93-f838-4eae-83ef-e19bd6b7e7b7'::uuid;

-- Query #10769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49159c93-f838-4eae-83ef-e19bd6b7e7b7'::uuid, 'Imdb', 'tt6876358')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49159c93-f838-4eae-83ef-e19bd6b7e7b7'::uuid, 'Tmdb', 1336822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10771 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49159c93-f838-4eae-83ef-e19bd6b7e7b7'::uuid, 'trakt', 2603834)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10772 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49159c93-f838-4eae-83ef-e19bd6b7e7b7'::uuid, 'TvMaze', 1206930)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10773 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49159c93-f838-4eae-83ef-e19bd6b7e7b7'::uuid, 'Tvdb', 6123097)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10774 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49159c93-f838-4eae-83ef-e19bd6b7e7b7'::uuid, 'TmdbCollection', 1336822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10775 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '49159c93-f838-4eae-83ef-e19bd6b7e7b7'::uuid;

-- Query #10776 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '49159c93-f838-4eae-83ef-e19bd6b7e7b7'::uuid;

-- Query #10777 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['49159c93-f838-4eae-83ef-e19bd6b7e7b7'::uuid]);

-- Query #10778 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '49159c93-f838-4eae-83ef-e19bd6b7e7b7'::uuid;

-- Query #10779 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10780 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd46a586a-79c4-d1b5-63a5-1d0da6f24410'::uuid;

-- Query #10781 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d46a586a-79c4-d1b5-63a5-1d0da6f24410'::uuid]);

-- Query #10782 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd46a586a-79c4-d1b5-63a5-1d0da6f24410'::uuid;

-- Query #10783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d46a586a-79c4-d1b5-63a5-1d0da6f24410'::uuid, 'Imdb', 'tt15513432')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d46a586a-79c4-d1b5-63a5-1d0da6f24410'::uuid, 'Tmdb', 3206541)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d46a586a-79c4-d1b5-63a5-1d0da6f24410'::uuid, 'trakt', 5508842)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d46a586a-79c4-d1b5-63a5-1d0da6f24410'::uuid, 'TvMaze', 2179332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d46a586a-79c4-d1b5-63a5-1d0da6f24410'::uuid, 'Tvdb', 8733772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10788 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d46a586a-79c4-d1b5-63a5-1d0da6f24410'::uuid, 'TmdbCollection', 3206541)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd46a586a-79c4-d1b5-63a5-1d0da6f24410'::uuid;

-- Query #10790 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd46a586a-79c4-d1b5-63a5-1d0da6f24410'::uuid;

-- Query #10791 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd60f6781-f8c1-6dbf-88f6-b62ec1f4762d'::uuid;

-- Query #10792 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d46a586a-79c4-d1b5-63a5-1d0da6f24410'::uuid]);

-- Query #10793 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd46a586a-79c4-d1b5-63a5-1d0da6f24410'::uuid;

-- Query #10794 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10795 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60f6781-f8c1-6dbf-88f6-b62ec1f4762d'::uuid]);

-- Query #10796 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd60f6781-f8c1-6dbf-88f6-b62ec1f4762d'::uuid;

-- Query #10797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60f6781-f8c1-6dbf-88f6-b62ec1f4762d'::uuid, 'Imdb', 'tt6628692')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60f6781-f8c1-6dbf-88f6-b62ec1f4762d'::uuid, 'Tmdb', 1330485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10799 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60f6781-f8c1-6dbf-88f6-b62ec1f4762d'::uuid, 'trakt', 2567884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10800 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60f6781-f8c1-6dbf-88f6-b62ec1f4762d'::uuid, 'TvMaze', 1206925)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60f6781-f8c1-6dbf-88f6-b62ec1f4762d'::uuid, 'Tvdb', 6069123)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60f6781-f8c1-6dbf-88f6-b62ec1f4762d'::uuid, 'TmdbCollection', 1330485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10803 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd60f6781-f8c1-6dbf-88f6-b62ec1f4762d'::uuid;

-- Query #10804 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd60f6781-f8c1-6dbf-88f6-b62ec1f4762d'::uuid;

-- Query #10805 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d60f6781-f8c1-6dbf-88f6-b62ec1f4762d'::uuid]);

-- Query #10806 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd60f6781-f8c1-6dbf-88f6-b62ec1f4762d'::uuid;

-- Query #10807 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f94edac8-4d6b-cae1-7118-32c3921c748e'::uuid;

-- Query #10809 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f94edac8-4d6b-cae1-7118-32c3921c748e'::uuid]);

-- Query #10810 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f94edac8-4d6b-cae1-7118-32c3921c748e'::uuid;

-- Query #10811 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f94edac8-4d6b-cae1-7118-32c3921c748e'::uuid, 'TmdbCollection', 3206542)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10812 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f94edac8-4d6b-cae1-7118-32c3921c748e'::uuid, 'Imdb', 'tt15535326')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10813 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f94edac8-4d6b-cae1-7118-32c3921c748e'::uuid, 'Tmdb', 3206542)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10814 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f94edac8-4d6b-cae1-7118-32c3921c748e'::uuid, 'trakt', 5508843)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10815 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f94edac8-4d6b-cae1-7118-32c3921c748e'::uuid, 'TvMaze', 2192821)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10816 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f94edac8-4d6b-cae1-7118-32c3921c748e'::uuid, 'Tvdb', 8756582)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10817 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f94edac8-4d6b-cae1-7118-32c3921c748e'::uuid;

-- Query #10818 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f94edac8-4d6b-cae1-7118-32c3921c748e'::uuid;

-- Query #10819 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58ab965a-77c6-8317-3ebe-c0117d5d48c5'::uuid;

-- Query #10820 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f94edac8-4d6b-cae1-7118-32c3921c748e'::uuid]);

-- Query #10821 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f94edac8-4d6b-cae1-7118-32c3921c748e'::uuid;

-- Query #10822 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10823 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58ab965a-77c6-8317-3ebe-c0117d5d48c5'::uuid]);

-- Query #10824 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '58ab965a-77c6-8317-3ebe-c0117d5d48c5'::uuid;

-- Query #10825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58ab965a-77c6-8317-3ebe-c0117d5d48c5'::uuid, 'Imdb', 'tt6802534')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58ab965a-77c6-8317-3ebe-c0117d5d48c5'::uuid, 'Tmdb', 1336820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58ab965a-77c6-8317-3ebe-c0117d5d48c5'::uuid, 'trakt', 2603832)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58ab965a-77c6-8317-3ebe-c0117d5d48c5'::uuid, 'TvMaze', 1206928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10829 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58ab965a-77c6-8317-3ebe-c0117d5d48c5'::uuid, 'Tvdb', 6123116)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58ab965a-77c6-8317-3ebe-c0117d5d48c5'::uuid, 'TmdbCollection', 1336820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10831 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58ab965a-77c6-8317-3ebe-c0117d5d48c5'::uuid;

-- Query #10832 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '58ab965a-77c6-8317-3ebe-c0117d5d48c5'::uuid;

-- Query #10833 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['58ab965a-77c6-8317-3ebe-c0117d5d48c5'::uuid]);

-- Query #10834 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '58ab965a-77c6-8317-3ebe-c0117d5d48c5'::uuid;

-- Query #10835 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f1669f3c-96a8-ccab-7dcc-20d1d7892fd5'::uuid;

-- Query #10837 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5d09c85-b887-6f2e-8c10-d2ba65e44997'::uuid;

-- Query #10838 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f1669f3c-96a8-ccab-7dcc-20d1d7892fd5'::uuid]);

-- Query #10839 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f1669f3c-96a8-ccab-7dcc-20d1d7892fd5'::uuid;

-- Query #10840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1669f3c-96a8-ccab-7dcc-20d1d7892fd5'::uuid, 'Imdb', 'tt6611288')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10841 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1669f3c-96a8-ccab-7dcc-20d1d7892fd5'::uuid, 'Tmdb', 1323936)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10842 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1669f3c-96a8-ccab-7dcc-20d1d7892fd5'::uuid, 'trakt', 2567882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1669f3c-96a8-ccab-7dcc-20d1d7892fd5'::uuid, 'TvMaze', 1158948)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1669f3c-96a8-ccab-7dcc-20d1d7892fd5'::uuid, 'Tvdb', 6069121)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10845 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1669f3c-96a8-ccab-7dcc-20d1d7892fd5'::uuid, 'TmdbCollection', 1323936)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10846 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f1669f3c-96a8-ccab-7dcc-20d1d7892fd5'::uuid;

-- Query #10847 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f1669f3c-96a8-ccab-7dcc-20d1d7892fd5'::uuid;

-- Query #10848 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5d09c85-b887-6f2e-8c10-d2ba65e44997'::uuid]);

-- Query #10849 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f1669f3c-96a8-ccab-7dcc-20d1d7892fd5'::uuid]);

-- Query #10850 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e5d09c85-b887-6f2e-8c10-d2ba65e44997'::uuid;

-- Query #10851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5d09c85-b887-6f2e-8c10-d2ba65e44997'::uuid, 'Tvdb', 9600325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10852 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f1669f3c-96a8-ccab-7dcc-20d1d7892fd5'::uuid;

-- Query #10853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5d09c85-b887-6f2e-8c10-d2ba65e44997'::uuid, 'TmdbCollection', 4387055)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5d09c85-b887-6f2e-8c10-d2ba65e44997'::uuid, 'Imdb', 'tt27904895')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10855 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5d09c85-b887-6f2e-8c10-d2ba65e44997'::uuid, 'Tmdb', 4387055)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5d09c85-b887-6f2e-8c10-d2ba65e44997'::uuid, 'trakt', 7509438)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5d09c85-b887-6f2e-8c10-d2ba65e44997'::uuid, 'TvMaze', 2498649)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10859 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5d09c85-b887-6f2e-8c10-d2ba65e44997'::uuid;

-- Query #10860 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e5d09c85-b887-6f2e-8c10-d2ba65e44997'::uuid;

-- Query #10861 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e5d09c85-b887-6f2e-8c10-d2ba65e44997'::uuid]);

-- Query #10862 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e5d09c85-b887-6f2e-8c10-d2ba65e44997'::uuid;

-- Query #10863 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10864 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9aa003cf-eef2-6bff-5eea-b7062deb4965'::uuid;

-- Query #10865 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '10e345df-fbe9-f947-3e1b-b8ed285e98c2'::uuid;

-- Query #10866 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9aa003cf-eef2-6bff-5eea-b7062deb4965'::uuid]);

-- Query #10867 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9aa003cf-eef2-6bff-5eea-b7062deb4965'::uuid;

-- Query #10868 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9aa003cf-eef2-6bff-5eea-b7062deb4965'::uuid, 'Imdb', 'tt5946792')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10869 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9aa003cf-eef2-6bff-5eea-b7062deb4965'::uuid, 'Tmdb', 1317314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9aa003cf-eef2-6bff-5eea-b7062deb4965'::uuid, 'trakt', 2498259)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10871 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9aa003cf-eef2-6bff-5eea-b7062deb4965'::uuid, 'TvMaze', 1117507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9aa003cf-eef2-6bff-5eea-b7062deb4965'::uuid, 'Tvdb', 5972234)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9aa003cf-eef2-6bff-5eea-b7062deb4965'::uuid, 'TmdbCollection', 1317314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10874 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9aa003cf-eef2-6bff-5eea-b7062deb4965'::uuid;

-- Query #10875 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9aa003cf-eef2-6bff-5eea-b7062deb4965'::uuid;

-- Query #10876 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9aa003cf-eef2-6bff-5eea-b7062deb4965'::uuid]);

-- Query #10877 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9aa003cf-eef2-6bff-5eea-b7062deb4965'::uuid;

-- Query #10878 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10879 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10e345df-fbe9-f947-3e1b-b8ed285e98c2'::uuid]);

-- Query #10880 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '10e345df-fbe9-f947-3e1b-b8ed285e98c2'::uuid;

-- Query #10881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10e345df-fbe9-f947-3e1b-b8ed285e98c2'::uuid, 'Tmdb', 4387061)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10e345df-fbe9-f947-3e1b-b8ed285e98c2'::uuid, 'trakt', 7509444)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10e345df-fbe9-f947-3e1b-b8ed285e98c2'::uuid, 'TmdbCollection', 4387061)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10e345df-fbe9-f947-3e1b-b8ed285e98c2'::uuid, 'TvMaze', 2508820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10e345df-fbe9-f947-3e1b-b8ed285e98c2'::uuid, 'Tvdb', 9674495)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10e345df-fbe9-f947-3e1b-b8ed285e98c2'::uuid, 'Imdb', 'tt28332957')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10887 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '10e345df-fbe9-f947-3e1b-b8ed285e98c2'::uuid;

-- Query #10888 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '10e345df-fbe9-f947-3e1b-b8ed285e98c2'::uuid;

-- Query #10889 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['10e345df-fbe9-f947-3e1b-b8ed285e98c2'::uuid]);

-- Query #10890 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '10e345df-fbe9-f947-3e1b-b8ed285e98c2'::uuid;

-- Query #10891 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10892 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62ce2085-0760-a975-900b-378b24bc2deb'::uuid;

-- Query #10893 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62ce2085-0760-a975-900b-378b24bc2deb'::uuid]);

-- Query #10894 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '62ce2085-0760-a975-900b-378b24bc2deb'::uuid;

-- Query #10895 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62ce2085-0760-a975-900b-378b24bc2deb'::uuid, 'Imdb', 'tt6628708')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62ce2085-0760-a975-900b-378b24bc2deb'::uuid, 'Tmdb', 1330486)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62ce2085-0760-a975-900b-378b24bc2deb'::uuid, 'trakt', 2536646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62ce2085-0760-a975-900b-378b24bc2deb'::uuid, 'TvMaze', 1206926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10899 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62ce2085-0760-a975-900b-378b24bc2deb'::uuid, 'Tvdb', 6025637)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10900 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62ce2085-0760-a975-900b-378b24bc2deb'::uuid, 'TmdbCollection', 1330486)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10901 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62ce2085-0760-a975-900b-378b24bc2deb'::uuid;

-- Query #10902 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '62ce2085-0760-a975-900b-378b24bc2deb'::uuid;

-- Query #10903 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['62ce2085-0760-a975-900b-378b24bc2deb'::uuid]);

-- Query #10904 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '62ce2085-0760-a975-900b-378b24bc2deb'::uuid;

-- Query #10905 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10906 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cc261c72-19b7-1534-d7a1-afd2e223668b'::uuid;

-- Query #10907 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc261c72-19b7-1534-d7a1-afd2e223668b'::uuid]);

-- Query #10908 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cc261c72-19b7-1534-d7a1-afd2e223668b'::uuid;

-- Query #10909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc261c72-19b7-1534-d7a1-afd2e223668b'::uuid, 'trakt', 7509445)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc261c72-19b7-1534-d7a1-afd2e223668b'::uuid, 'TvMaze', 2527511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc261c72-19b7-1534-d7a1-afd2e223668b'::uuid, 'Tvdb', 9710241)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc261c72-19b7-1534-d7a1-afd2e223668b'::uuid, 'TmdbCollection', 4387062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc261c72-19b7-1534-d7a1-afd2e223668b'::uuid, 'Imdb', 'tt28332960')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc261c72-19b7-1534-d7a1-afd2e223668b'::uuid, 'Tmdb', 4387062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cc261c72-19b7-1534-d7a1-afd2e223668b'::uuid;

-- Query #10916 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cc261c72-19b7-1534-d7a1-afd2e223668b'::uuid;

-- Query #10917 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cc261c72-19b7-1534-d7a1-afd2e223668b'::uuid]);

-- Query #10918 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cc261c72-19b7-1534-d7a1-afd2e223668b'::uuid;

-- Query #10919 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10920 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7e82d142-a6f2-14f7-e972-9d22c9099c07'::uuid;

-- Query #10921 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e82d142-a6f2-14f7-e972-9d22c9099c07'::uuid]);

-- Query #10922 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7e82d142-a6f2-14f7-e972-9d22c9099c07'::uuid;

-- Query #10923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e82d142-a6f2-14f7-e972-9d22c9099c07'::uuid, 'TmdbCollection', 4090000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e82d142-a6f2-14f7-e972-9d22c9099c07'::uuid, 'Imdb', 'tt26215596')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e82d142-a6f2-14f7-e972-9d22c9099c07'::uuid, 'Tmdb', 4090000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e82d142-a6f2-14f7-e972-9d22c9099c07'::uuid, 'trakt', 6940911)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e82d142-a6f2-14f7-e972-9d22c9099c07'::uuid, 'TvMaze', 2450303)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10928 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e82d142-a6f2-14f7-e972-9d22c9099c07'::uuid, 'Tvdb', 9480699)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7e82d142-a6f2-14f7-e972-9d22c9099c07'::uuid;

-- Query #10930 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7e82d142-a6f2-14f7-e972-9d22c9099c07'::uuid;

-- Query #10931 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8c77e73d-4ce6-34a4-5a88-5b04c3cbc71a'::uuid;

-- Query #10932 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7e82d142-a6f2-14f7-e972-9d22c9099c07'::uuid]);

-- Query #10933 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7e82d142-a6f2-14f7-e972-9d22c9099c07'::uuid;

-- Query #10934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10935 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8c77e73d-4ce6-34a4-5a88-5b04c3cbc71a'::uuid]);

-- Query #10936 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8c77e73d-4ce6-34a4-5a88-5b04c3cbc71a'::uuid;

-- Query #10937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c77e73d-4ce6-34a4-5a88-5b04c3cbc71a'::uuid, 'Imdb', 'tt7192416')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c77e73d-4ce6-34a4-5a88-5b04c3cbc71a'::uuid, 'Tmdb', 1502540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c77e73d-4ce6-34a4-5a88-5b04c3cbc71a'::uuid, 'trakt', 2856882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c77e73d-4ce6-34a4-5a88-5b04c3cbc71a'::uuid, 'TvMaze', 1444517)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10941 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c77e73d-4ce6-34a4-5a88-5b04c3cbc71a'::uuid, 'Tvdb', 6502264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10942 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c77e73d-4ce6-34a4-5a88-5b04c3cbc71a'::uuid, 'TmdbCollection', 1502540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10943 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8c77e73d-4ce6-34a4-5a88-5b04c3cbc71a'::uuid;

-- Query #10944 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8c77e73d-4ce6-34a4-5a88-5b04c3cbc71a'::uuid;

-- Query #10945 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8c77e73d-4ce6-34a4-5a88-5b04c3cbc71a'::uuid]);

-- Query #10946 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8c77e73d-4ce6-34a4-5a88-5b04c3cbc71a'::uuid;

-- Query #10947 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10948 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '532fc54e-c4ee-59b6-e3fa-d5064175b4a8'::uuid;

-- Query #10949 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['532fc54e-c4ee-59b6-e3fa-d5064175b4a8'::uuid]);

-- Query #10950 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '19781a28-eef3-71e4-0715-286911a25dfa'::uuid;

-- Query #10951 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '532fc54e-c4ee-59b6-e3fa-d5064175b4a8'::uuid;

-- Query #10952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('532fc54e-c4ee-59b6-e3fa-d5064175b4a8'::uuid, 'Imdb', 'tt24057880')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('532fc54e-c4ee-59b6-e3fa-d5064175b4a8'::uuid, 'Tmdb', 4089994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10954 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('532fc54e-c4ee-59b6-e3fa-d5064175b4a8'::uuid, 'trakt', 6940886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10955 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('532fc54e-c4ee-59b6-e3fa-d5064175b4a8'::uuid, 'TvMaze', 2450284)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10956 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('532fc54e-c4ee-59b6-e3fa-d5064175b4a8'::uuid, 'Tvdb', 9480694)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('532fc54e-c4ee-59b6-e3fa-d5064175b4a8'::uuid, 'TmdbCollection', 4089994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10958 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '532fc54e-c4ee-59b6-e3fa-d5064175b4a8'::uuid;

-- Query #10959 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['19781a28-eef3-71e4-0715-286911a25dfa'::uuid]);

-- Query #10960 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '532fc54e-c4ee-59b6-e3fa-d5064175b4a8'::uuid;

-- Query #10961 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '19781a28-eef3-71e4-0715-286911a25dfa'::uuid;

-- Query #10962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19781a28-eef3-71e4-0715-286911a25dfa'::uuid, 'Imdb', 'tt8488952')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19781a28-eef3-71e4-0715-286911a25dfa'::uuid, 'Tmdb', 1523582)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10964 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19781a28-eef3-71e4-0715-286911a25dfa'::uuid, 'trakt', 3053971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19781a28-eef3-71e4-0715-286911a25dfa'::uuid, 'TvMaze', 1482547)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19781a28-eef3-71e4-0715-286911a25dfa'::uuid, 'Tvdb', 6733987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19781a28-eef3-71e4-0715-286911a25dfa'::uuid, 'TmdbCollection', 1523582)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10968 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '19781a28-eef3-71e4-0715-286911a25dfa'::uuid;

-- Query #10969 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '19781a28-eef3-71e4-0715-286911a25dfa'::uuid;

-- Query #10970 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['532fc54e-c4ee-59b6-e3fa-d5064175b4a8'::uuid]);

-- Query #10971 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '532fc54e-c4ee-59b6-e3fa-d5064175b4a8'::uuid;

-- Query #10972 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10973 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['19781a28-eef3-71e4-0715-286911a25dfa'::uuid]);

-- Query #10974 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '19781a28-eef3-71e4-0715-286911a25dfa'::uuid;

-- Query #10975 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10976 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c9c94688-388e-be3c-24f7-dfea01199890'::uuid;

-- Query #10977 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c9c94688-388e-be3c-24f7-dfea01199890'::uuid]);

-- Query #10978 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c9c94688-388e-be3c-24f7-dfea01199890'::uuid;

-- Query #10979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9c94688-388e-be3c-24f7-dfea01199890'::uuid, 'TmdbCollection', 1540634)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9c94688-388e-be3c-24f7-dfea01199890'::uuid, 'Imdb', 'tt8801204')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9c94688-388e-be3c-24f7-dfea01199890'::uuid, 'Tmdb', 1540634)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9c94688-388e-be3c-24f7-dfea01199890'::uuid, 'trakt', 3053983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9c94688-388e-be3c-24f7-dfea01199890'::uuid, 'TvMaze', 1482555)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10984 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd7823de5-eb72-a3b7-651a-5a050b26596c'::uuid;

-- Query #10985 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9c94688-388e-be3c-24f7-dfea01199890'::uuid, 'Tvdb', 6734017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10986 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c9c94688-388e-be3c-24f7-dfea01199890'::uuid;

-- Query #10987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c9c94688-388e-be3c-24f7-dfea01199890'::uuid;

-- Query #10988 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c9c94688-388e-be3c-24f7-dfea01199890'::uuid]);

-- Query #10989 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c9c94688-388e-be3c-24f7-dfea01199890'::uuid;

-- Query #10990 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #10991 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d7823de5-eb72-a3b7-651a-5a050b26596c'::uuid]);

-- Query #10992 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd7823de5-eb72-a3b7-651a-5a050b26596c'::uuid;

-- Query #10993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d7823de5-eb72-a3b7-651a-5a050b26596c'::uuid, 'Imdb', 'tt27196036')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d7823de5-eb72-a3b7-651a-5a050b26596c'::uuid, 'Tmdb', 4157346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d7823de5-eb72-a3b7-651a-5a050b26596c'::uuid, 'trakt', 7210561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d7823de5-eb72-a3b7-651a-5a050b26596c'::uuid, 'TvMaze', 2498646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d7823de5-eb72-a3b7-651a-5a050b26596c'::uuid, 'Tvdb', 9504991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10998 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d7823de5-eb72-a3b7-651a-5a050b26596c'::uuid, 'TmdbCollection', 4157346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #10999 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd7823de5-eb72-a3b7-651a-5a050b26596c'::uuid;

-- Query #11000 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd7823de5-eb72-a3b7-651a-5a050b26596c'::uuid;

-- Query #11001 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d7823de5-eb72-a3b7-651a-5a050b26596c'::uuid]);

-- Query #11002 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd7823de5-eb72-a3b7-651a-5a050b26596c'::uuid;

-- Query #11003 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11004 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a11630e-b729-ca2e-e510-79f832a7ad14'::uuid;

-- Query #11005 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a11630e-b729-ca2e-e510-79f832a7ad14'::uuid]);

-- Query #11006 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6a11630e-b729-ca2e-e510-79f832a7ad14'::uuid;

-- Query #11007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a11630e-b729-ca2e-e510-79f832a7ad14'::uuid, 'Tmdb', 1540630)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a11630e-b729-ca2e-e510-79f832a7ad14'::uuid, 'trakt', 3053977)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a11630e-b729-ca2e-e510-79f832a7ad14'::uuid, 'TvMaze', 1482551)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a11630e-b729-ca2e-e510-79f832a7ad14'::uuid, 'Tvdb', 6734000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a11630e-b729-ca2e-e510-79f832a7ad14'::uuid, 'TmdbCollection', 1540630)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a11630e-b729-ca2e-e510-79f832a7ad14'::uuid, 'Imdb', 'tt8532134')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11013 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a11630e-b729-ca2e-e510-79f832a7ad14'::uuid;

-- Query #11014 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6a11630e-b729-ca2e-e510-79f832a7ad14'::uuid;

-- Query #11015 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6a11630e-b729-ca2e-e510-79f832a7ad14'::uuid]);

-- Query #11016 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6a11630e-b729-ca2e-e510-79f832a7ad14'::uuid;

-- Query #11017 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11018 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '167276fd-1bdc-2ee4-fcfa-e936a957b05b'::uuid;

-- Query #11019 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #11020 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['167276fd-1bdc-2ee4-fcfa-e936a957b05b'::uuid]);

-- Query #11021 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '167276fd-1bdc-2ee4-fcfa-e936a957b05b'::uuid;

-- Query #11022 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('167276fd-1bdc-2ee4-fcfa-e936a957b05b'::uuid, 'TmdbCollection', 4387059)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11023 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('167276fd-1bdc-2ee4-fcfa-e936a957b05b'::uuid, 'Imdb', 'tt28332951')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('167276fd-1bdc-2ee4-fcfa-e936a957b05b'::uuid, 'Tmdb', 4387059)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('167276fd-1bdc-2ee4-fcfa-e936a957b05b'::uuid, 'trakt', 7509442)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('167276fd-1bdc-2ee4-fcfa-e936a957b05b'::uuid, 'TvMaze', 2498653)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('167276fd-1bdc-2ee4-fcfa-e936a957b05b'::uuid, 'Tvdb', 9622929)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11028 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '167276fd-1bdc-2ee4-fcfa-e936a957b05b'::uuid;

-- Query #11029 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '167276fd-1bdc-2ee4-fcfa-e936a957b05b'::uuid;

-- Query #11030 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['167276fd-1bdc-2ee4-fcfa-e936a957b05b'::uuid]);

-- Query #11031 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '167276fd-1bdc-2ee4-fcfa-e936a957b05b'::uuid;

-- Query #11032 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11033 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ccad04eb-3c37-cf6d-0283-3851124ab00a'::uuid;

-- Query #11034 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ccad04eb-3c37-cf6d-0283-3851124ab00a'::uuid]);

-- Query #11035 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ccad04eb-3c37-cf6d-0283-3851124ab00a'::uuid;

-- Query #11036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ccad04eb-3c37-cf6d-0283-3851124ab00a'::uuid, 'TmdbCollection', 1540629)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ccad04eb-3c37-cf6d-0283-3851124ab00a'::uuid, 'Imdb', 'tt8057520')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ccad04eb-3c37-cf6d-0283-3851124ab00a'::uuid, 'Tmdb', 1540629)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11039 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ccad04eb-3c37-cf6d-0283-3851124ab00a'::uuid, 'trakt', 3053976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11040 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ccad04eb-3c37-cf6d-0283-3851124ab00a'::uuid, 'TvMaze', 1482550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11041 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ccad04eb-3c37-cf6d-0283-3851124ab00a'::uuid, 'Tvdb', 6733997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11042 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ccad04eb-3c37-cf6d-0283-3851124ab00a'::uuid;

-- Query #11043 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ccad04eb-3c37-cf6d-0283-3851124ab00a'::uuid;

-- Query #11044 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ccad04eb-3c37-cf6d-0283-3851124ab00a'::uuid]);

-- Query #11045 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ccad04eb-3c37-cf6d-0283-3851124ab00a'::uuid;

-- Query #11046 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11047 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c2ae8af3-8d27-20ac-811d-f6fb2047c7dc'::uuid;

-- Query #11048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c2ae8af3-8d27-20ac-811d-f6fb2047c7dc'::uuid]);

-- Query #11049 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c2ae8af3-8d27-20ac-811d-f6fb2047c7dc'::uuid;

-- Query #11050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2ae8af3-8d27-20ac-811d-f6fb2047c7dc'::uuid, 'Imdb', 'tt8488956')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2ae8af3-8d27-20ac-811d-f6fb2047c7dc'::uuid, 'Tmdb', 1523583)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2ae8af3-8d27-20ac-811d-f6fb2047c7dc'::uuid, 'trakt', 3053974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2ae8af3-8d27-20ac-811d-f6fb2047c7dc'::uuid, 'TvMaze', 1482548)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11054 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2ae8af3-8d27-20ac-811d-f6fb2047c7dc'::uuid, 'Tvdb', 6733991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11055 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2ae8af3-8d27-20ac-811d-f6fb2047c7dc'::uuid, 'TmdbCollection', 1523583)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11056 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c2ae8af3-8d27-20ac-811d-f6fb2047c7dc'::uuid;

-- Query #11057 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c2ae8af3-8d27-20ac-811d-f6fb2047c7dc'::uuid;

-- Query #11058 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3b94d4ab-51d3-3502-ad99-b2e8638124aa'::uuid;

-- Query #11059 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c2ae8af3-8d27-20ac-811d-f6fb2047c7dc'::uuid]);

-- Query #11060 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c2ae8af3-8d27-20ac-811d-f6fb2047c7dc'::uuid;

-- Query #11061 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11062 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3b94d4ab-51d3-3502-ad99-b2e8638124aa'::uuid]);

-- Query #11063 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3b94d4ab-51d3-3502-ad99-b2e8638124aa'::uuid;

-- Query #11064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b94d4ab-51d3-3502-ad99-b2e8638124aa'::uuid, 'TmdbCollection', 4090001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b94d4ab-51d3-3502-ad99-b2e8638124aa'::uuid, 'Imdb', 'tt26215602')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b94d4ab-51d3-3502-ad99-b2e8638124aa'::uuid, 'Tmdb', 4090001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11067 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b94d4ab-51d3-3502-ad99-b2e8638124aa'::uuid, 'trakt', 6940920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b94d4ab-51d3-3502-ad99-b2e8638124aa'::uuid, 'TvMaze', 2498640)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b94d4ab-51d3-3502-ad99-b2e8638124aa'::uuid, 'Tvdb', 9480700)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11070 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3b94d4ab-51d3-3502-ad99-b2e8638124aa'::uuid;

-- Query #11071 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3b94d4ab-51d3-3502-ad99-b2e8638124aa'::uuid;

-- Query #11072 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3b94d4ab-51d3-3502-ad99-b2e8638124aa'::uuid]);

-- Query #11073 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3b94d4ab-51d3-3502-ad99-b2e8638124aa'::uuid;

-- Query #11074 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a286bfa6-334d-1305-d1b7-9f94c99054ab'::uuid;

-- Query #11076 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a286bfa6-334d-1305-d1b7-9f94c99054ab'::uuid]);

-- Query #11077 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a286bfa6-334d-1305-d1b7-9f94c99054ab'::uuid;

-- Query #11078 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a286bfa6-334d-1305-d1b7-9f94c99054ab'::uuid, 'Imdb', 'tt8792056')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11079 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a286bfa6-334d-1305-d1b7-9f94c99054ab'::uuid, 'Tmdb', 1540633)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a286bfa6-334d-1305-d1b7-9f94c99054ab'::uuid, 'trakt', 3053980)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11081 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a286bfa6-334d-1305-d1b7-9f94c99054ab'::uuid, 'TvMaze', 1482554)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11082 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a286bfa6-334d-1305-d1b7-9f94c99054ab'::uuid, 'Tvdb', 6734013)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11083 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a286bfa6-334d-1305-d1b7-9f94c99054ab'::uuid, 'TmdbCollection', 1540633)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11084 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a286bfa6-334d-1305-d1b7-9f94c99054ab'::uuid;

-- Query #11085 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a286bfa6-334d-1305-d1b7-9f94c99054ab'::uuid;

-- Query #11086 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a286bfa6-334d-1305-d1b7-9f94c99054ab'::uuid]);

-- Query #11087 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a286bfa6-334d-1305-d1b7-9f94c99054ab'::uuid;

-- Query #11088 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11089 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8eaa1d14-d1cd-8894-399b-fb22ba4bd800'::uuid;

-- Query #11090 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8eaa1d14-d1cd-8894-399b-fb22ba4bd800'::uuid]);

-- Query #11091 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8eaa1d14-d1cd-8894-399b-fb22ba4bd800'::uuid;

-- Query #11092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8eaa1d14-d1cd-8894-399b-fb22ba4bd800'::uuid, 'Imdb', 'tt8532144')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8eaa1d14-d1cd-8894-399b-fb22ba4bd800'::uuid, 'Tmdb', 1540632)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8eaa1d14-d1cd-8894-399b-fb22ba4bd800'::uuid, 'trakt', 3053979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8eaa1d14-d1cd-8894-399b-fb22ba4bd800'::uuid, 'TvMaze', 1482553)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8eaa1d14-d1cd-8894-399b-fb22ba4bd800'::uuid, 'Tvdb', 6734009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11097 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8eaa1d14-d1cd-8894-399b-fb22ba4bd800'::uuid, 'TmdbCollection', 1540632)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11098 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8eaa1d14-d1cd-8894-399b-fb22ba4bd800'::uuid;

-- Query #11099 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8eaa1d14-d1cd-8894-399b-fb22ba4bd800'::uuid;

-- Query #11100 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '988e1bdb-9862-63d7-44e1-24b3670ee2a9'::uuid;

-- Query #11101 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8eaa1d14-d1cd-8894-399b-fb22ba4bd800'::uuid]);

-- Query #11102 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8eaa1d14-d1cd-8894-399b-fb22ba4bd800'::uuid;

-- Query #11103 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11104 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['988e1bdb-9862-63d7-44e1-24b3670ee2a9'::uuid]);

-- Query #11105 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '988e1bdb-9862-63d7-44e1-24b3670ee2a9'::uuid;

-- Query #11106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('988e1bdb-9862-63d7-44e1-24b3670ee2a9'::uuid, 'Imdb', 'tt24079954')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('988e1bdb-9862-63d7-44e1-24b3670ee2a9'::uuid, 'Tmdb', 4089998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('988e1bdb-9862-63d7-44e1-24b3670ee2a9'::uuid, 'trakt', 6940905)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('988e1bdb-9862-63d7-44e1-24b3670ee2a9'::uuid, 'TvMaze', 2450302)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('988e1bdb-9862-63d7-44e1-24b3670ee2a9'::uuid, 'Tvdb', 9480698)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11111 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('988e1bdb-9862-63d7-44e1-24b3670ee2a9'::uuid, 'TmdbCollection', 4089998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11112 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '988e1bdb-9862-63d7-44e1-24b3670ee2a9'::uuid;

-- Query #11113 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '988e1bdb-9862-63d7-44e1-24b3670ee2a9'::uuid;

-- Query #11114 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['988e1bdb-9862-63d7-44e1-24b3670ee2a9'::uuid]);

-- Query #11115 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '988e1bdb-9862-63d7-44e1-24b3670ee2a9'::uuid;

-- Query #11116 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11117 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df0fefd3-330a-d444-b4c5-1403c5499ca1'::uuid;

-- Query #11118 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df0fefd3-330a-d444-b4c5-1403c5499ca1'::uuid]);

-- Query #11119 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'df0fefd3-330a-d444-b4c5-1403c5499ca1'::uuid;

-- Query #11120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df0fefd3-330a-d444-b4c5-1403c5499ca1'::uuid, 'Imdb', 'tt8532140')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df0fefd3-330a-d444-b4c5-1403c5499ca1'::uuid, 'Tmdb', 1540631)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df0fefd3-330a-d444-b4c5-1403c5499ca1'::uuid, 'trakt', 3053978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df0fefd3-330a-d444-b4c5-1403c5499ca1'::uuid, 'TvMaze', 1482552)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df0fefd3-330a-d444-b4c5-1403c5499ca1'::uuid, 'Tvdb', 6734008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11125 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df0fefd3-330a-d444-b4c5-1403c5499ca1'::uuid, 'TmdbCollection', 1540631)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11126 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df0fefd3-330a-d444-b4c5-1403c5499ca1'::uuid;

-- Query #11127 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'df0fefd3-330a-d444-b4c5-1403c5499ca1'::uuid;

-- Query #11128 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['df0fefd3-330a-d444-b4c5-1403c5499ca1'::uuid]);

-- Query #11129 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'df0fefd3-330a-d444-b4c5-1403c5499ca1'::uuid;

-- Query #11130 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5c1bf1f1-effe-d15f-bd55-e38579638bae'::uuid;

-- Query #11131 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11132 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c1bf1f1-effe-d15f-bd55-e38579638bae'::uuid]);

-- Query #11133 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5c1bf1f1-effe-d15f-bd55-e38579638bae'::uuid;

-- Query #11134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c1bf1f1-effe-d15f-bd55-e38579638bae'::uuid, 'Imdb', 'tt28277605')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c1bf1f1-effe-d15f-bd55-e38579638bae'::uuid, 'Tmdb', 4387060)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c1bf1f1-effe-d15f-bd55-e38579638bae'::uuid, 'trakt', 7509443)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c1bf1f1-effe-d15f-bd55-e38579638bae'::uuid, 'TvMaze', 2508819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c1bf1f1-effe-d15f-bd55-e38579638bae'::uuid, 'Tvdb', 9665944)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11139 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c1bf1f1-effe-d15f-bd55-e38579638bae'::uuid, 'TmdbCollection', 4387060)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11140 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5c1bf1f1-effe-d15f-bd55-e38579638bae'::uuid;

-- Query #11141 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5c1bf1f1-effe-d15f-bd55-e38579638bae'::uuid;

-- Query #11142 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5c1bf1f1-effe-d15f-bd55-e38579638bae'::uuid]);

-- Query #11143 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5c1bf1f1-effe-d15f-bd55-e38579638bae'::uuid;

-- Query #11144 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11145 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd3069e5d-dcb8-b5b1-a11a-87e762dd49c7'::uuid;

-- Query #11146 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3069e5d-dcb8-b5b1-a11a-87e762dd49c7'::uuid]);

-- Query #11147 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd3069e5d-dcb8-b5b1-a11a-87e762dd49c7'::uuid;

-- Query #11148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3069e5d-dcb8-b5b1-a11a-87e762dd49c7'::uuid, 'Imdb', 'tt8801208')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3069e5d-dcb8-b5b1-a11a-87e762dd49c7'::uuid, 'Tmdb', 1540635)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3069e5d-dcb8-b5b1-a11a-87e762dd49c7'::uuid, 'trakt', 2961513)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3069e5d-dcb8-b5b1-a11a-87e762dd49c7'::uuid, 'TvMaze', 1482556)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3069e5d-dcb8-b5b1-a11a-87e762dd49c7'::uuid, 'Tvdb', 6650456)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3069e5d-dcb8-b5b1-a11a-87e762dd49c7'::uuid, 'TmdbCollection', 1540635)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11154 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd3069e5d-dcb8-b5b1-a11a-87e762dd49c7'::uuid;

-- Query #11155 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f6e40f41-6494-4154-85a8-4734bbf46b46'::uuid;

-- Query #11156 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd3069e5d-dcb8-b5b1-a11a-87e762dd49c7'::uuid;

-- Query #11157 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e40f41-6494-4154-85a8-4734bbf46b46'::uuid]);

-- Query #11158 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f6e40f41-6494-4154-85a8-4734bbf46b46'::uuid;

-- Query #11159 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6e40f41-6494-4154-85a8-4734bbf46b46'::uuid, 'TmdbCollection', 4386983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6e40f41-6494-4154-85a8-4734bbf46b46'::uuid, 'Imdb', 'tt27202448')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6e40f41-6494-4154-85a8-4734bbf46b46'::uuid, 'Tmdb', 4386983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6e40f41-6494-4154-85a8-4734bbf46b46'::uuid, 'trakt', 7509436)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11163 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d3069e5d-dcb8-b5b1-a11a-87e762dd49c7'::uuid]);

-- Query #11164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6e40f41-6494-4154-85a8-4734bbf46b46'::uuid, 'TvMaze', 2498647)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6e40f41-6494-4154-85a8-4734bbf46b46'::uuid, 'Tvdb', 9594456)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11166 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd3069e5d-dcb8-b5b1-a11a-87e762dd49c7'::uuid;

-- Query #11167 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f6e40f41-6494-4154-85a8-4734bbf46b46'::uuid;

-- Query #11168 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f6e40f41-6494-4154-85a8-4734bbf46b46'::uuid;

-- Query #11169 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11170 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f6e40f41-6494-4154-85a8-4734bbf46b46'::uuid]);

-- Query #11171 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f6e40f41-6494-4154-85a8-4734bbf46b46'::uuid;

-- Query #11172 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11173 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e19bc6ee-195f-e7de-2b8c-e437050334ca'::uuid;

-- Query #11174 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e19bc6ee-195f-e7de-2b8c-e437050334ca'::uuid]);

-- Query #11175 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e19bc6ee-195f-e7de-2b8c-e437050334ca'::uuid;

-- Query #11176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e19bc6ee-195f-e7de-2b8c-e437050334ca'::uuid, 'TmdbCollection', 1523581)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11177 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e39c74ea-d92e-365f-ffa0-be4bf0dcc47d'::uuid;

-- Query #11178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e19bc6ee-195f-e7de-2b8c-e437050334ca'::uuid, 'Imdb', 'tt8483178')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e19bc6ee-195f-e7de-2b8c-e437050334ca'::uuid, 'Tmdb', 1523581)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e19bc6ee-195f-e7de-2b8c-e437050334ca'::uuid, 'trakt', 3053970)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e19bc6ee-195f-e7de-2b8c-e437050334ca'::uuid, 'TvMaze', 1482546)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e19bc6ee-195f-e7de-2b8c-e437050334ca'::uuid, 'Tvdb', 6733985)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11183 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e19bc6ee-195f-e7de-2b8c-e437050334ca'::uuid;

-- Query #11184 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e19bc6ee-195f-e7de-2b8c-e437050334ca'::uuid;

-- Query #11185 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e19bc6ee-195f-e7de-2b8c-e437050334ca'::uuid]);

-- Query #11186 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e19bc6ee-195f-e7de-2b8c-e437050334ca'::uuid;

-- Query #11187 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11188 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e39c74ea-d92e-365f-ffa0-be4bf0dcc47d'::uuid]);

-- Query #11189 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e39c74ea-d92e-365f-ffa0-be4bf0dcc47d'::uuid;

-- Query #11190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e39c74ea-d92e-365f-ffa0-be4bf0dcc47d'::uuid, 'Imdb', 'tt27904899')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e39c74ea-d92e-365f-ffa0-be4bf0dcc47d'::uuid, 'Tmdb', 4387056)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e39c74ea-d92e-365f-ffa0-be4bf0dcc47d'::uuid, 'trakt', 7509439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e39c74ea-d92e-365f-ffa0-be4bf0dcc47d'::uuid, 'TvMaze', 2498650)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e39c74ea-d92e-365f-ffa0-be4bf0dcc47d'::uuid, 'Tvdb', 9600326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e39c74ea-d92e-365f-ffa0-be4bf0dcc47d'::uuid, 'TmdbCollection', 4387056)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11196 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e39c74ea-d92e-365f-ffa0-be4bf0dcc47d'::uuid;

-- Query #11197 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e39c74ea-d92e-365f-ffa0-be4bf0dcc47d'::uuid;

-- Query #11198 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e39c74ea-d92e-365f-ffa0-be4bf0dcc47d'::uuid]);

-- Query #11199 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e39c74ea-d92e-365f-ffa0-be4bf0dcc47d'::uuid;

-- Query #11200 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11201 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87708bbd-3a5a-12b5-bbb3-ee9f45dcc30d'::uuid;

-- Query #11202 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87708bbd-3a5a-12b5-bbb3-ee9f45dcc30d'::uuid]);

-- Query #11203 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '87708bbd-3a5a-12b5-bbb3-ee9f45dcc30d'::uuid;

-- Query #11204 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87708bbd-3a5a-12b5-bbb3-ee9f45dcc30d'::uuid, 'Imdb', 'tt8873762')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87708bbd-3a5a-12b5-bbb3-ee9f45dcc30d'::uuid, 'Tmdb', 2369265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87708bbd-3a5a-12b5-bbb3-ee9f45dcc30d'::uuid, 'trakt', 4268670)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87708bbd-3a5a-12b5-bbb3-ee9f45dcc30d'::uuid, 'TvMaze', 1900870)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87708bbd-3a5a-12b5-bbb3-ee9f45dcc30d'::uuid, 'Tvdb', 7813004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87708bbd-3a5a-12b5-bbb3-ee9f45dcc30d'::uuid, 'TmdbCollection', 2369265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11210 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87708bbd-3a5a-12b5-bbb3-ee9f45dcc30d'::uuid;

-- Query #11211 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '87708bbd-3a5a-12b5-bbb3-ee9f45dcc30d'::uuid;

-- Query #11212 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['87708bbd-3a5a-12b5-bbb3-ee9f45dcc30d'::uuid]);

-- Query #11213 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '87708bbd-3a5a-12b5-bbb3-ee9f45dcc30d'::uuid;

-- Query #11214 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11215 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ad4243f1-3f9a-a90f-9b75-0f6b787a705e'::uuid;

-- Query #11216 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4243f1-3f9a-a90f-9b75-0f6b787a705e'::uuid]);

-- Query #11217 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ad4243f1-3f9a-a90f-9b75-0f6b787a705e'::uuid;

-- Query #11218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad4243f1-3f9a-a90f-9b75-0f6b787a705e'::uuid, 'Imdb', 'tt24057894')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad4243f1-3f9a-a90f-9b75-0f6b787a705e'::uuid, 'Tmdb', 4089995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad4243f1-3f9a-a90f-9b75-0f6b787a705e'::uuid, 'trakt', 6940892)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad4243f1-3f9a-a90f-9b75-0f6b787a705e'::uuid, 'TvMaze', 2450288)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad4243f1-3f9a-a90f-9b75-0f6b787a705e'::uuid, 'Tvdb', 9480695)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad4243f1-3f9a-a90f-9b75-0f6b787a705e'::uuid, 'TmdbCollection', 4089995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11224 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ad4243f1-3f9a-a90f-9b75-0f6b787a705e'::uuid;

-- Query #11225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ad4243f1-3f9a-a90f-9b75-0f6b787a705e'::uuid;

-- Query #11226 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0089f3e6-55f7-e4ae-d757-938458b86a05'::uuid;

-- Query #11227 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ad4243f1-3f9a-a90f-9b75-0f6b787a705e'::uuid]);

-- Query #11228 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ad4243f1-3f9a-a90f-9b75-0f6b787a705e'::uuid;

-- Query #11229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11230 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0089f3e6-55f7-e4ae-d757-938458b86a05'::uuid]);

-- Query #11231 | logged_duration_ms=2 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0089f3e6-55f7-e4ae-d757-938458b86a05'::uuid;

-- Query #11232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0089f3e6-55f7-e4ae-d757-938458b86a05'::uuid, 'Imdb', 'tt8873798')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0089f3e6-55f7-e4ae-d757-938458b86a05'::uuid, 'Tmdb', 2765813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0089f3e6-55f7-e4ae-d757-938458b86a05'::uuid, 'trakt', 4878788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0089f3e6-55f7-e4ae-d757-938458b86a05'::uuid, 'TvMaze', 2024768)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0089f3e6-55f7-e4ae-d757-938458b86a05'::uuid, 'Tvdb', 8183516)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0089f3e6-55f7-e4ae-d757-938458b86a05'::uuid, 'TmdbCollection', 2765813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11238 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0089f3e6-55f7-e4ae-d757-938458b86a05'::uuid;

-- Query #11239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0089f3e6-55f7-e4ae-d757-938458b86a05'::uuid;

-- Query #11240 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0089f3e6-55f7-e4ae-d757-938458b86a05'::uuid]);

-- Query #11241 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0089f3e6-55f7-e4ae-d757-938458b86a05'::uuid;

-- Query #11242 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7b8b716-dfa6-7290-a785-fe2769c7952b'::uuid;

-- Query #11244 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7b8b716-dfa6-7290-a785-fe2769c7952b'::uuid]);

-- Query #11245 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c7b8b716-dfa6-7290-a785-fe2769c7952b'::uuid;

-- Query #11246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7b8b716-dfa6-7290-a785-fe2769c7952b'::uuid, 'Imdb', 'tt27202393')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7b8b716-dfa6-7290-a785-fe2769c7952b'::uuid, 'Tmdb', 4090002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7b8b716-dfa6-7290-a785-fe2769c7952b'::uuid, 'trakt', 6940930)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7b8b716-dfa6-7290-a785-fe2769c7952b'::uuid, 'TvMaze', 2498643)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7b8b716-dfa6-7290-a785-fe2769c7952b'::uuid, 'Tvdb', 9480702)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7b8b716-dfa6-7290-a785-fe2769c7952b'::uuid, 'TmdbCollection', 4090002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11252 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7b8b716-dfa6-7290-a785-fe2769c7952b'::uuid;

-- Query #11253 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c7b8b716-dfa6-7290-a785-fe2769c7952b'::uuid;

-- Query #11254 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c7b8b716-dfa6-7290-a785-fe2769c7952b'::uuid]);

-- Query #11255 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c7b8b716-dfa6-7290-a785-fe2769c7952b'::uuid;

-- Query #11256 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11257 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '848ad09b-20b8-6166-dc09-4f244e82fd11'::uuid;

-- Query #11258 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['848ad09b-20b8-6166-dc09-4f244e82fd11'::uuid]);

-- Query #11259 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '848ad09b-20b8-6166-dc09-4f244e82fd11'::uuid;

-- Query #11260 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('848ad09b-20b8-6166-dc09-4f244e82fd11'::uuid, 'TmdbCollection', 2354562)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('848ad09b-20b8-6166-dc09-4f244e82fd11'::uuid, 'Imdb', 'tt8873746')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('848ad09b-20b8-6166-dc09-4f244e82fd11'::uuid, 'Tmdb', 2354562)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('848ad09b-20b8-6166-dc09-4f244e82fd11'::uuid, 'trakt', 4268668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('848ad09b-20b8-6166-dc09-4f244e82fd11'::uuid, 'TvMaze', 1900868)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('848ad09b-20b8-6166-dc09-4f244e82fd11'::uuid, 'Tvdb', 7813001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11266 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '848ad09b-20b8-6166-dc09-4f244e82fd11'::uuid;

-- Query #11267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '848ad09b-20b8-6166-dc09-4f244e82fd11'::uuid;

-- Query #11268 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29dd7f4c-99af-82d9-66f5-9d1e1ae2b144'::uuid;

-- Query #11269 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['848ad09b-20b8-6166-dc09-4f244e82fd11'::uuid]);

-- Query #11270 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '848ad09b-20b8-6166-dc09-4f244e82fd11'::uuid;

-- Query #11271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11272 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29dd7f4c-99af-82d9-66f5-9d1e1ae2b144'::uuid]);

-- Query #11273 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '29dd7f4c-99af-82d9-66f5-9d1e1ae2b144'::uuid;

-- Query #11274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29dd7f4c-99af-82d9-66f5-9d1e1ae2b144'::uuid, 'Tmdb', 4044644)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29dd7f4c-99af-82d9-66f5-9d1e1ae2b144'::uuid, 'trakt', 6859623)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29dd7f4c-99af-82d9-66f5-9d1e1ae2b144'::uuid, 'TvMaze', 2427520)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29dd7f4c-99af-82d9-66f5-9d1e1ae2b144'::uuid, 'Tvdb', 9444022)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29dd7f4c-99af-82d9-66f5-9d1e1ae2b144'::uuid, 'TmdbCollection', 4044644)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29dd7f4c-99af-82d9-66f5-9d1e1ae2b144'::uuid, 'Imdb', 'tt21197286')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11280 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29dd7f4c-99af-82d9-66f5-9d1e1ae2b144'::uuid;

-- Query #11281 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '29dd7f4c-99af-82d9-66f5-9d1e1ae2b144'::uuid;

-- Query #11282 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['29dd7f4c-99af-82d9-66f5-9d1e1ae2b144'::uuid]);

-- Query #11283 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '29dd7f4c-99af-82d9-66f5-9d1e1ae2b144'::uuid;

-- Query #11284 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11285 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '059cac7f-67ad-36b8-06f9-8c2b2f59954b'::uuid;

-- Query #11286 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['059cac7f-67ad-36b8-06f9-8c2b2f59954b'::uuid]);

-- Query #11287 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '059cac7f-67ad-36b8-06f9-8c2b2f59954b'::uuid;

-- Query #11288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('059cac7f-67ad-36b8-06f9-8c2b2f59954b'::uuid, 'Imdb', 'tt8873786')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('059cac7f-67ad-36b8-06f9-8c2b2f59954b'::uuid, 'Tmdb', 2765805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('059cac7f-67ad-36b8-06f9-8c2b2f59954b'::uuid, 'trakt', 4878785)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('059cac7f-67ad-36b8-06f9-8c2b2f59954b'::uuid, 'TvMaze', 2024765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('059cac7f-67ad-36b8-06f9-8c2b2f59954b'::uuid, 'Tvdb', 8183513)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('059cac7f-67ad-36b8-06f9-8c2b2f59954b'::uuid, 'TmdbCollection', 2765805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11294 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a4db3c3e-bbf9-ac17-7798-317c42baf765'::uuid;

-- Query #11295 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '059cac7f-67ad-36b8-06f9-8c2b2f59954b'::uuid;

-- Query #11296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '059cac7f-67ad-36b8-06f9-8c2b2f59954b'::uuid;

-- Query #11297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a4db3c3e-bbf9-ac17-7798-317c42baf765'::uuid]);

-- Query #11298 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a4db3c3e-bbf9-ac17-7798-317c42baf765'::uuid;

-- Query #11299 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4db3c3e-bbf9-ac17-7798-317c42baf765'::uuid, 'Imdb', 'tt27904906')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4db3c3e-bbf9-ac17-7798-317c42baf765'::uuid, 'Tmdb', 4387057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11301 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['059cac7f-67ad-36b8-06f9-8c2b2f59954b'::uuid]);

-- Query #11302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4db3c3e-bbf9-ac17-7798-317c42baf765'::uuid, 'trakt', 7509440)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11303 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '059cac7f-67ad-36b8-06f9-8c2b2f59954b'::uuid;

-- Query #11304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4db3c3e-bbf9-ac17-7798-317c42baf765'::uuid, 'TvMaze', 2498651)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4db3c3e-bbf9-ac17-7798-317c42baf765'::uuid, 'Tvdb', 9609595)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11306 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4db3c3e-bbf9-ac17-7798-317c42baf765'::uuid, 'TmdbCollection', 4387057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11308 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a4db3c3e-bbf9-ac17-7798-317c42baf765'::uuid;

-- Query #11309 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a4db3c3e-bbf9-ac17-7798-317c42baf765'::uuid;

-- Query #11310 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a4db3c3e-bbf9-ac17-7798-317c42baf765'::uuid]);

-- Query #11311 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a4db3c3e-bbf9-ac17-7798-317c42baf765'::uuid;

-- Query #11312 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11313 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5c8fddd-ee0e-7c9d-3a66-fd1169350415'::uuid;

-- Query #11314 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '525496ef-3c4b-f5e3-9318-2ef881851f4b'::uuid;

-- Query #11315 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a5c8fddd-ee0e-7c9d-3a66-fd1169350415'::uuid]);

-- Query #11316 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a5c8fddd-ee0e-7c9d-3a66-fd1169350415'::uuid;

-- Query #11317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5c8fddd-ee0e-7c9d-3a66-fd1169350415'::uuid, 'Imdb', 'tt8873776')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11318 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5c8fddd-ee0e-7c9d-3a66-fd1169350415'::uuid, 'Tmdb', 2386081)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5c8fddd-ee0e-7c9d-3a66-fd1169350415'::uuid, 'trakt', 4268672)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5c8fddd-ee0e-7c9d-3a66-fd1169350415'::uuid, 'TvMaze', 1901469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5c8fddd-ee0e-7c9d-3a66-fd1169350415'::uuid, 'Tvdb', 7813006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5c8fddd-ee0e-7c9d-3a66-fd1169350415'::uuid, 'TmdbCollection', 2386081)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11323 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5c8fddd-ee0e-7c9d-3a66-fd1169350415'::uuid;

-- Query #11324 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a5c8fddd-ee0e-7c9d-3a66-fd1169350415'::uuid;

-- Query #11325 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['525496ef-3c4b-f5e3-9318-2ef881851f4b'::uuid]);

-- Query #11326 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '525496ef-3c4b-f5e3-9318-2ef881851f4b'::uuid;

-- Query #11327 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a5c8fddd-ee0e-7c9d-3a66-fd1169350415'::uuid]);

-- Query #11328 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('525496ef-3c4b-f5e3-9318-2ef881851f4b'::uuid, 'Imdb', 'tt28498553')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11329 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a5c8fddd-ee0e-7c9d-3a66-fd1169350415'::uuid;

-- Query #11330 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('525496ef-3c4b-f5e3-9318-2ef881851f4b'::uuid, 'Tmdb', 4387058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('525496ef-3c4b-f5e3-9318-2ef881851f4b'::uuid, 'trakt', 7509441)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11332 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11333 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('525496ef-3c4b-f5e3-9318-2ef881851f4b'::uuid, 'TvMaze', 2498652)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('525496ef-3c4b-f5e3-9318-2ef881851f4b'::uuid, 'Tvdb', 9609596)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('525496ef-3c4b-f5e3-9318-2ef881851f4b'::uuid, 'TmdbCollection', 4387058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11336 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '525496ef-3c4b-f5e3-9318-2ef881851f4b'::uuid;

-- Query #11337 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '525496ef-3c4b-f5e3-9318-2ef881851f4b'::uuid;

-- Query #11338 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['525496ef-3c4b-f5e3-9318-2ef881851f4b'::uuid]);

-- Query #11339 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '525496ef-3c4b-f5e3-9318-2ef881851f4b'::uuid;

-- Query #11340 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11341 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1569dc7d-0af7-b42d-7b40-004bdee2d0fd'::uuid;

-- Query #11342 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1569dc7d-0af7-b42d-7b40-004bdee2d0fd'::uuid]);

-- Query #11343 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1569dc7d-0af7-b42d-7b40-004bdee2d0fd'::uuid;

-- Query #11344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1569dc7d-0af7-b42d-7b40-004bdee2d0fd'::uuid, 'TmdbCollection', 2765812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1569dc7d-0af7-b42d-7b40-004bdee2d0fd'::uuid, 'Imdb', 'tt8873792')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1569dc7d-0af7-b42d-7b40-004bdee2d0fd'::uuid, 'Tmdb', 2765812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11347 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1569dc7d-0af7-b42d-7b40-004bdee2d0fd'::uuid, 'trakt', 4878787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11348 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1569dc7d-0af7-b42d-7b40-004bdee2d0fd'::uuid, 'TvMaze', 2024767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11349 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1569dc7d-0af7-b42d-7b40-004bdee2d0fd'::uuid, 'Tvdb', 8183515)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11350 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1569dc7d-0af7-b42d-7b40-004bdee2d0fd'::uuid;

-- Query #11351 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1569dc7d-0af7-b42d-7b40-004bdee2d0fd'::uuid;

-- Query #11352 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1569dc7d-0af7-b42d-7b40-004bdee2d0fd'::uuid]);

-- Query #11353 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1569dc7d-0af7-b42d-7b40-004bdee2d0fd'::uuid;

-- Query #11354 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11355 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21ef5347-5143-9ded-f3df-a010ccfadf7d'::uuid;

-- Query #11356 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['21ef5347-5143-9ded-f3df-a010ccfadf7d'::uuid]);

-- Query #11357 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e1eea34-0cb9-48e8-9405-b1a5ff7ee14b'::uuid;

-- Query #11358 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '21ef5347-5143-9ded-f3df-a010ccfadf7d'::uuid;

-- Query #11359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21ef5347-5143-9ded-f3df-a010ccfadf7d'::uuid, 'Imdb', 'tt24079906')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11360 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21ef5347-5143-9ded-f3df-a010ccfadf7d'::uuid, 'Tmdb', 4089997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11361 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21ef5347-5143-9ded-f3df-a010ccfadf7d'::uuid, 'trakt', 6940901)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11362 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21ef5347-5143-9ded-f3df-a010ccfadf7d'::uuid, 'TvMaze', 2450301)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11363 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21ef5347-5143-9ded-f3df-a010ccfadf7d'::uuid, 'Tvdb', 9480697)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11364 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21ef5347-5143-9ded-f3df-a010ccfadf7d'::uuid, 'TmdbCollection', 4089997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11365 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21ef5347-5143-9ded-f3df-a010ccfadf7d'::uuid;

-- Query #11366 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '21ef5347-5143-9ded-f3df-a010ccfadf7d'::uuid;

-- Query #11367 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e1eea34-0cb9-48e8-9405-b1a5ff7ee14b'::uuid]);

-- Query #11368 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['21ef5347-5143-9ded-f3df-a010ccfadf7d'::uuid]);

-- Query #11369 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9e1eea34-0cb9-48e8-9405-b1a5ff7ee14b'::uuid;

-- Query #11370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e1eea34-0cb9-48e8-9405-b1a5ff7ee14b'::uuid, 'TmdbCollection', 2361443)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e1eea34-0cb9-48e8-9405-b1a5ff7ee14b'::uuid, 'Imdb', 'tt8879356')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11372 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '21ef5347-5143-9ded-f3df-a010ccfadf7d'::uuid;

-- Query #11373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e1eea34-0cb9-48e8-9405-b1a5ff7ee14b'::uuid, 'Tmdb', 2361443)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11374 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid, '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11375 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e1eea34-0cb9-48e8-9405-b1a5ff7ee14b'::uuid, 'trakt', 4268669)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11376 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e1eea34-0cb9-48e8-9405-b1a5ff7ee14b'::uuid, 'TvMaze', 1900869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11377 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e1eea34-0cb9-48e8-9405-b1a5ff7ee14b'::uuid, 'Tvdb', 7813003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11378 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e1eea34-0cb9-48e8-9405-b1a5ff7ee14b'::uuid;

-- Query #11379 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9e1eea34-0cb9-48e8-9405-b1a5ff7ee14b'::uuid;

-- Query #11380 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9e1eea34-0cb9-48e8-9405-b1a5ff7ee14b'::uuid]);

-- Query #11381 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9e1eea34-0cb9-48e8-9405-b1a5ff7ee14b'::uuid;

-- Query #11382 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11383 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '317cf53d-a15d-3fba-bbf8-dbc7bc726bad'::uuid
ORDER BY b."SortName";

-- Query #11384 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid])
ORDER BY b."Id";

-- Query #11385 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid])
ORDER BY b."Id";

-- Query #11386 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid])
ORDER BY b."Id";

-- Query #11387 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid])
ORDER BY b."Id";

-- Query #11388 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid, 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid, 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid, '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid, 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid])
ORDER BY b."Id";

-- Query #11389 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6d4f6707-aed4-8e82-0d4a-3cba75d98d49'::uuid
ORDER BY b."SortName";

-- Query #11390 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b357b007-03c0-5468-0ae1-4c745be7c725'::uuid
ORDER BY b."SortName";

-- Query #11391 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f2e30eb5-2db1-541b-485e-6140d29038ec'::uuid
ORDER BY b."SortName";

-- Query #11392 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8cd187ac-8c70-4cad-c931-fb97a1a38a03'::uuid
ORDER BY b."SortName";

-- Query #11393 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b4fa122f-46da-a2fd-5972-c4261bb55129'::uuid
ORDER BY b."SortName";

-- Query #11394 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '964a3ad5-7bf2-8cbc-8768-87dbf18c7643'::uuid;

-- Query #11395 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '317cf53da15d3fbabbf8dbc7bc726bad'
ORDER BY b."SortName", b."Name";

-- Query #11396 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['964a3ad5-7bf2-8cbc-8768-87dbf18c7643'::uuid]);

-- Query #11397 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '964a3ad5-7bf2-8cbc-8768-87dbf18c7643'::uuid;

-- Query #11398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('964a3ad5-7bf2-8cbc-8768-87dbf18c7643'::uuid, 'Imdb', 'tt8873778')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('964a3ad5-7bf2-8cbc-8768-87dbf18c7643'::uuid, 'Tmdb', 2710655)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('964a3ad5-7bf2-8cbc-8768-87dbf18c7643'::uuid, 'trakt', 4793003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('964a3ad5-7bf2-8cbc-8768-87dbf18c7643'::uuid, 'TvMaze', 2024639)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('964a3ad5-7bf2-8cbc-8768-87dbf18c7643'::uuid, 'Tvdb', 8183512)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('964a3ad5-7bf2-8cbc-8768-87dbf18c7643'::uuid, 'TmdbCollection', 2710655)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11404 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '964a3ad5-7bf2-8cbc-8768-87dbf18c7643'::uuid;

-- Query #11405 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '964a3ad5-7bf2-8cbc-8768-87dbf18c7643'::uuid;

-- Query #11406 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['964a3ad5-7bf2-8cbc-8768-87dbf18c7643'::uuid]);

-- Query #11407 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '964a3ad5-7bf2-8cbc-8768-87dbf18c7643'::uuid;

-- Query #11408 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11409 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid
ORDER BY b."SortName";

-- Query #11410 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid;

-- Query #11411 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6497bd97-a4b0-2186-981d-1613e524f20e'::uuid
ORDER BY b."SortName";

-- Query #11412 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid]);

-- Query #11413 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid;

-- Query #11414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid, 'Imdb', 'tt8873802')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid, 'Tmdb', 2765814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid, 'trakt', 4878789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11417 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid
ORDER BY b."SortName";

-- Query #11418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid, 'TvMaze', 2024769)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11419 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid, 'Tvdb', 8183517)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid, 'TmdbCollection', 2765814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11421 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid;

-- Query #11422 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid;

-- Query #11423 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid]);

-- Query #11424 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid;

-- Query #11425 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11426 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid
ORDER BY b."SortName";

-- Query #11427 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid
ORDER BY b."SortName";

-- Query #11428 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c63af803-7d16-c558-4004-e616cd1091de'::uuid
ORDER BY b."SortName";

-- Query #11429 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7e0b486e-5914-3780-7c8c-726b184814e0'::uuid;

-- Query #11430 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '172a80ed-c4a0-ea35-b317-baaafb472047'::uuid
ORDER BY b."SortName";

-- Query #11431 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e0b486e-5914-3780-7c8c-726b184814e0'::uuid]);

-- Query #11432 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7e0b486e-5914-3780-7c8c-726b184814e0'::uuid;

-- Query #11433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e0b486e-5914-3780-7c8c-726b184814e0'::uuid, 'Imdb', 'tt8873738')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e0b486e-5914-3780-7c8c-726b184814e0'::uuid, 'Tmdb', 2354534)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e0b486e-5914-3780-7c8c-726b184814e0'::uuid, 'trakt', 4268667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e0b486e-5914-3780-7c8c-726b184814e0'::uuid, 'TvMaze', 1789762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11437 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e0b486e-5914-3780-7c8c-726b184814e0'::uuid, 'Tvdb', 7813000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11438 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e0b486e-5914-3780-7c8c-726b184814e0'::uuid, 'TmdbCollection', 2354534)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11439 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7e0b486e-5914-3780-7c8c-726b184814e0'::uuid;

-- Query #11440 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7e0b486e-5914-3780-7c8c-726b184814e0'::uuid;

-- Query #11441 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7e0b486e-5914-3780-7c8c-726b184814e0'::uuid]);

-- Query #11442 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7e0b486e-5914-3780-7c8c-726b184814e0'::uuid;

-- Query #11443 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid, '2cb21a55-5574-b267-2500-a85b6f237690'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11444 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2cb21a55-5574-b267-2500-a85b6f237690'::uuid
ORDER BY b."SortName";

-- Query #11445 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid])
ORDER BY b."Id";

-- Query #11446 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid])
ORDER BY b."Id";

-- Query #11447 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid])
ORDER BY b."Id";

-- Query #11448 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid])
ORDER BY b."Id";

-- Query #11449 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid, '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid, 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid, '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid])
ORDER BY b."Id";

-- Query #11450 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '05fba218-925b-8116-c669-ffd0d76d1d4a'::uuid
ORDER BY b."SortName";

-- Query #11451 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9cf9004e-3690-38de-6a5a-4aac96723c05'::uuid
ORDER BY b."SortName";

-- Query #11452 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ffeef0f9-4002-f14a-8995-c8576603bd97'::uuid
ORDER BY b."SortName";

-- Query #11453 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0340a25d-7626-dbcc-36e0-51ab5c564a05'::uuid
ORDER BY b."SortName";

-- Query #11454 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '2cb21a555574b2672500a85b6f237690'
ORDER BY b."SortName", b."Name";

-- Query #11455 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6c38f205-9c98-947f-2276-7540400fde9b'::uuid
ORDER BY b."SortName";

-- Query #11456 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid
ORDER BY b."SortName";

-- Query #11457 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '756185cf-5480-62fa-bb32-30fe72011cf3'::uuid
ORDER BY b."SortName";

-- Query #11458 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid
ORDER BY b."SortName";

-- Query #11459 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fef22ac7-e488-9cac-ca51-dc035f853452'::uuid
ORDER BY b."SortName";

-- Query #11460 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid
ORDER BY b."SortName";

-- Query #11461 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ad92a655-c52b-5622-a775-e17e4b91c062'::uuid
ORDER BY b."SortName";

-- Query #11462 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid
ORDER BY b."SortName";

-- Query #11463 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid])
ORDER BY b."Id";

-- Query #11464 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid])
ORDER BY b."Id";

-- Query #11465 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid])
ORDER BY b."Id";

-- Query #11466 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid])
ORDER BY b."Id";

-- Query #11467 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid])
ORDER BY b."Id";

-- Query #11468 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid;

-- Query #11469 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid]);

-- Query #11470 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid;

-- Query #11471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, 'Imdb', 'tt1936532')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, 'Tmdb', 39483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11473 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, 'TmdbCollection', 39483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, 'Tvdb', 257248)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, 'TvMaze', 384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, 'TvRage', 28497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11477 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, 'wikidata', 'Q738219')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11478 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, 'Zap2It', 'EP01432884')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11479 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid;

-- Query #11480 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid;

-- Query #11481 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid]);

-- Query #11482 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid;

-- Query #11483 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11484 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '919c137b2eb7f6e60395c8a17f06675b'
ORDER BY b."SortName", b."Name";

-- Query #11485 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #11486 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid
ORDER BY b."SortName";

-- Query #11487 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6497bd97-a4b0-2186-981d-1613e524f20e'::uuid
ORDER BY b."SortName";

-- Query #11488 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid
ORDER BY b."SortName";

-- Query #11489 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid
ORDER BY b."SortName";

-- Query #11490 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid
ORDER BY b."SortName";

-- Query #11491 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c63af803-7d16-c558-4004-e616cd1091de'::uuid
ORDER BY b."SortName";

-- Query #11492 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '172a80ed-c4a0-ea35-b317-baaafb472047'::uuid
ORDER BY b."SortName";

-- Query #11493 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '919c137b2eb7f6e60395c8a17f06675b'
ORDER BY b."SortName", b."Name";

-- Query #11494 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6497bd97-a4b0-2186-981d-1613e524f20e'::uuid;

-- Query #11495 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c38f205-9c98-947f-2276-7540400fde9b'::uuid;

-- Query #11496 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6497bd97-a4b0-2186-981d-1613e524f20e'::uuid]);

-- Query #11497 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6497bd97-a4b0-2186-981d-1613e524f20e'::uuid;

-- Query #11498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, 'Tvdb', 257248)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, 'Tmdb', 39483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, 'Imdb', 'tt1936532')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, 'TvMaze', 384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, 'TvRage', 28497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, 'Zap2It', 'EP01432884')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11504 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, 'wikidata', 'Q738219')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, 'TmdbCollection', 39483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11506 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6497bd97-a4b0-2186-981d-1613e524f20e'::uuid;

-- Query #11507 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6497bd97-a4b0-2186-981d-1613e524f20e'::uuid;

-- Query #11508 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+lapd', '6+los angeles, california', '6+major crime unit', '6+police', '6+police investigation']);

-- Query #11509 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6497bd97-a4b0-2186-981d-1613e524f20e'::uuid]);

-- Query #11510 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6c38f205-9c98-947f-2276-7540400fde9b'::uuid]);

-- Query #11511 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6497bd97-a4b0-2186-981d-1613e524f20e'::uuid;

-- Query #11512 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6c38f205-9c98-947f-2276-7540400fde9b'::uuid;

-- Query #11513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'eidr', '10.5240/2A10-B9FB-9955-4ADE-CC16-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11514 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'Imdb', 'tt0112230')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'Tmdb', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'TmdbCollection', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'Tvdb', 77799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'TvMaze', 437)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'TvRage', 6668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'wikidata', 'Q38497')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'Zap2It', 'SH151084')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11523 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c38f205-9c98-947f-2276-7540400fde9b'::uuid;

-- Query #11524 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6c38f205-9c98-947f-2276-7540400fde9b'::uuid;

-- Query #11525 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6c38f205-9c98-947f-2276-7540400fde9b'::uuid]);

-- Query #11526 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6c38f205-9c98-947f-2276-7540400fde9b'::uuid;

-- Query #11527 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11528 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '919c137b2eb7f6e60395c8a17f06675b'
ORDER BY b."SortName", b."Name";

-- Query #11529 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '6c38f2059c98947f22767540400fde9b'
ORDER BY b."SortName", b."Name";

-- Query #11530 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid;

-- Query #11531 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid]);

-- Query #11532 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid;

-- Query #11533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, 'Tvdb', 257248)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, 'Tmdb', 39483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, 'Imdb', 'tt1936532')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, 'TvMaze', 384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, 'TvRage', 28497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, 'Zap2It', 'EP01432884')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11539 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, 'wikidata', 'Q738219')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11540 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, 'TmdbCollection', 39483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11541 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid;

-- Query #11542 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid;

-- Query #11543 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6c38f205-9c98-947f-2276-7540400fde9b'::uuid
ORDER BY b."SortName";

-- Query #11544 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+lapd', '6+los angeles, california', '6+major crime unit', '6+police', '6+police investigation']);

-- Query #11545 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid]);

-- Query #11546 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid;

-- Query #11547 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11548 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid
ORDER BY b."SortName";

-- Query #11549 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '919c137b2eb7f6e60395c8a17f06675b'
ORDER BY b."SortName", b."Name";

-- Query #11550 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '756185cf-5480-62fa-bb32-30fe72011cf3'::uuid
ORDER BY b."SortName";

-- Query #11551 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid
ORDER BY b."SortName";

-- Query #11552 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fef22ac7-e488-9cac-ca51-dc035f853452'::uuid
ORDER BY b."SortName";

-- Query #11553 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid;

-- Query #11554 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid
ORDER BY b."SortName";

-- Query #11555 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid]);

-- Query #11556 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid;

-- Query #11557 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, 'wikidata', 'Q738219')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11558 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, 'TmdbCollection', 39483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11559 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, 'Tvdb', 257248)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, 'Tmdb', 39483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, 'Imdb', 'tt1936532')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, 'TvMaze', 384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11563 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, 'TvRage', 28497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, 'Zap2It', 'EP01432884')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11565 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid;

-- Query #11566 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid;

-- Query #11567 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ad92a655-c52b-5622-a775-e17e4b91c062'::uuid
ORDER BY b."SortName";

-- Query #11568 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+lapd', '6+los angeles, california', '6+major crime unit', '6+police', '6+police investigation']);

-- Query #11569 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid]);

-- Query #11570 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid;

-- Query #11571 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11572 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid
ORDER BY b."SortName";

-- Query #11573 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid])
ORDER BY b."Id";

-- Query #11574 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid])
ORDER BY b."Id";

-- Query #11575 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid])
ORDER BY b."Id";

-- Query #11576 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid])
ORDER BY b."Id";

-- Query #11577 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid])
ORDER BY b."Id";

-- Query #11578 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '6c38f2059c98947f22767540400fde9b'
ORDER BY b."SortName", b."Name";

-- Query #11579 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '919c137b2eb7f6e60395c8a17f06675b'
ORDER BY b."SortName", b."Name";

-- Query #11580 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid;

-- Query #11581 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c63af803-7d16-c558-4004-e616cd1091de'::uuid;

-- Query #11582 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid]);

-- Query #11583 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid;

-- Query #11584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, 'eidr', '10.5240/2A10-B9FB-9955-4ADE-CC16-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, 'wikidata', 'Q38497')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, 'TmdbCollection', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11587 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, 'Tvdb', 77799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, 'Tmdb', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, 'Imdb', 'tt0112230')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, 'TvMaze', 437)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, 'TvRage', 6668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11592 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, 'Zap2It', 'SH151084')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11593 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid;

-- Query #11594 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid;

-- Query #11595 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid]);

-- Query #11596 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c63af803-7d16-c558-4004-e616cd1091de'::uuid;

-- Query #11597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c63af803-7d16-c558-4004-e616cd1091de'::uuid, 'Tvdb', 257248)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c63af803-7d16-c558-4004-e616cd1091de'::uuid, 'Tmdb', 39483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11599 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid]);

-- Query #11600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c63af803-7d16-c558-4004-e616cd1091de'::uuid, 'Imdb', 'tt1936532')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c63af803-7d16-c558-4004-e616cd1091de'::uuid, 'TvMaze', 384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c63af803-7d16-c558-4004-e616cd1091de'::uuid, 'TvRage', 28497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11603 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid;

-- Query #11604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c63af803-7d16-c558-4004-e616cd1091de'::uuid, 'Zap2It', 'EP01432884')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11605 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c63af803-7d16-c558-4004-e616cd1091de'::uuid, 'wikidata', 'Q738219')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11606 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11607 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c63af803-7d16-c558-4004-e616cd1091de'::uuid, 'TmdbCollection', 39483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11608 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c63af803-7d16-c558-4004-e616cd1091de'::uuid;

-- Query #11609 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c63af803-7d16-c558-4004-e616cd1091de'::uuid;

-- Query #11610 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+lapd', '6+los angeles, california', '6+major crime unit', '6+police', '6+police investigation']);

-- Query #11611 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid]);

-- Query #11612 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c63af803-7d16-c558-4004-e616cd1091de'::uuid;

-- Query #11613 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11614 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '6c38f2059c98947f22767540400fde9b'
ORDER BY b."SortName", b."Name";

-- Query #11615 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '919c137b2eb7f6e60395c8a17f06675b'
ORDER BY b."SortName", b."Name";

-- Query #11616 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '756185cf-5480-62fa-bb32-30fe72011cf3'::uuid;

-- Query #11617 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '172a80ed-c4a0-ea35-b317-baaafb472047'::uuid;

-- Query #11618 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid]);

-- Query #11619 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '756185cf-5480-62fa-bb32-30fe72011cf3'::uuid;

-- Query #11620 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, 'Tvdb', 77799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11621 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, 'Tmdb', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, 'Imdb', 'tt0112230')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, 'TvMaze', 437)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, 'TvRage', 6668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11625 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['172a80ed-c4a0-ea35-b317-baaafb472047'::uuid]);

-- Query #11626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, 'Zap2It', 'SH151084')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11627 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '172a80ed-c4a0-ea35-b317-baaafb472047'::uuid;

-- Query #11628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, 'eidr', '10.5240/2A10-B9FB-9955-4ADE-CC16-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, 'wikidata', 'Q38497')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, 'Tvdb', 257248)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11631 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, 'TmdbCollection', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11632 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, 'Tmdb', 39483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11633 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, 'Imdb', 'tt1936532')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11634 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '756185cf-5480-62fa-bb32-30fe72011cf3'::uuid;

-- Query #11635 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, 'TvMaze', 384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11636 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '756185cf-5480-62fa-bb32-30fe72011cf3'::uuid;

-- Query #11637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, 'TvRage', 28497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, 'Zap2It', 'EP01432884')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, 'wikidata', 'Q738219')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, 'TmdbCollection', 39483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11641 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '172a80ed-c4a0-ea35-b317-baaafb472047'::uuid;

-- Query #11642 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '172a80ed-c4a0-ea35-b317-baaafb472047'::uuid;

-- Query #11643 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid]);

-- Query #11644 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '756185cf-5480-62fa-bb32-30fe72011cf3'::uuid;

-- Query #11645 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11646 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+lapd', '6+los angeles, california', '6+major crime unit', '6+police', '6+police investigation']);

-- Query #11647 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['172a80ed-c4a0-ea35-b317-baaafb472047'::uuid]);

-- Query #11648 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '172a80ed-c4a0-ea35-b317-baaafb472047'::uuid;

-- Query #11649 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11650 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '6c38f2059c98947f22767540400fde9b'
ORDER BY b."SortName", b."Name";

-- Query #11651 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cc7335d4-530a-45fb-42a7-b38d9ad20d33'::uuid;

-- Query #11652 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc7335d4-530a-45fb-42a7-b38d9ad20d33'::uuid]);

-- Query #11653 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cc7335d4-530a-45fb-42a7-b38d9ad20d33'::uuid;

-- Query #11654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc7335d4-530a-45fb-42a7-b38d9ad20d33'::uuid, 'Imdb', 'tt2385647')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc7335d4-530a-45fb-42a7-b38d9ad20d33'::uuid, 'Tmdb', 868193)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc7335d4-530a-45fb-42a7-b38d9ad20d33'::uuid, 'trakt', 872288)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc7335d4-530a-45fb-42a7-b38d9ad20d33'::uuid, 'TvMaze', 35147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc7335d4-530a-45fb-42a7-b38d9ad20d33'::uuid, 'Tvdb', 4348091)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc7335d4-530a-45fb-42a7-b38d9ad20d33'::uuid, 'TmdbCollection', 868193)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cc7335d4-530a-45fb-42a7-b38d9ad20d33'::uuid;

-- Query #11661 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cc7335d4-530a-45fb-42a7-b38d9ad20d33'::uuid;

-- Query #11662 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cc7335d4-530a-45fb-42a7-b38d9ad20d33'::uuid]);

-- Query #11663 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cc7335d4-530a-45fb-42a7-b38d9ad20d33'::uuid;

-- Query #11664 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11665 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid;

-- Query #11666 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid]);

-- Query #11667 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid;

-- Query #11668 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, 'wikidata', 'Q38497')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, 'TmdbCollection', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, 'eidr', '10.5240/2A10-B9FB-9955-4ADE-CC16-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, 'Tvdb', 77799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, 'Tmdb', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, 'Imdb', 'tt0112230')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, 'TvMaze', 437)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, 'TvRage', 6668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, 'Zap2It', 'SH151084')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11677 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid;

-- Query #11678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid;

-- Query #11679 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid]);

-- Query #11680 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid;

-- Query #11681 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11682 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c9dacaba-61e9-1c49-fb9f-4c2d805f49b2'::uuid;

-- Query #11683 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '6c38f2059c98947f22767540400fde9b'
ORDER BY b."SortName", b."Name";

-- Query #11684 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c9dacaba-61e9-1c49-fb9f-4c2d805f49b2'::uuid]);

-- Query #11685 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c9dacaba-61e9-1c49-fb9f-4c2d805f49b2'::uuid;

-- Query #11686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9dacaba-61e9-1c49-fb9f-4c2d805f49b2'::uuid, 'Imdb', 'tt2282344')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9dacaba-61e9-1c49-fb9f-4c2d805f49b2'::uuid, 'Tmdb', 868202)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9dacaba-61e9-1c49-fb9f-4c2d805f49b2'::uuid, 'trakt', 872295)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9dacaba-61e9-1c49-fb9f-4c2d805f49b2'::uuid, 'TvMaze', 35154)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9dacaba-61e9-1c49-fb9f-4c2d805f49b2'::uuid, 'Tvdb', 4361699)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9dacaba-61e9-1c49-fb9f-4c2d805f49b2'::uuid, 'TmdbCollection', 868202)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11692 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c9dacaba-61e9-1c49-fb9f-4c2d805f49b2'::uuid;

-- Query #11693 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c9dacaba-61e9-1c49-fb9f-4c2d805f49b2'::uuid;

-- Query #11694 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c9dacaba-61e9-1c49-fb9f-4c2d805f49b2'::uuid]);

-- Query #11695 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c9dacaba-61e9-1c49-fb9f-4c2d805f49b2'::uuid;

-- Query #11696 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11697 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fef22ac7-e488-9cac-ca51-dc035f853452'::uuid;

-- Query #11698 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e53b9a6-2095-23ea-3b8f-fa619c1603a0'::uuid;

-- Query #11699 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid]);

-- Query #11700 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fef22ac7-e488-9cac-ca51-dc035f853452'::uuid;

-- Query #11701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, 'TmdbCollection', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, 'Tvdb', 77799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, 'Tmdb', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, 'Imdb', 'tt0112230')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, 'TvMaze', 437)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, 'TvRage', 6668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, 'Zap2It', 'SH151084')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, 'eidr', '10.5240/2A10-B9FB-9955-4ADE-CC16-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, 'wikidata', 'Q38497')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11710 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fef22ac7-e488-9cac-ca51-dc035f853452'::uuid;

-- Query #11711 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fef22ac7-e488-9cac-ca51-dc035f853452'::uuid;

-- Query #11712 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4e53b9a6-2095-23ea-3b8f-fa619c1603a0'::uuid]);

-- Query #11713 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4e53b9a6-2095-23ea-3b8f-fa619c1603a0'::uuid;

-- Query #11714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e53b9a6-2095-23ea-3b8f-fa619c1603a0'::uuid, 'Imdb', 'tt2234000')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e53b9a6-2095-23ea-3b8f-fa619c1603a0'::uuid, 'Tmdb', 868198)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e53b9a6-2095-23ea-3b8f-fa619c1603a0'::uuid, 'trakt', 872291)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e53b9a6-2095-23ea-3b8f-fa619c1603a0'::uuid, 'TvMaze', 35150)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e53b9a6-2095-23ea-3b8f-fa619c1603a0'::uuid, 'Tvdb', 4361695)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11719 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid]);

-- Query #11720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e53b9a6-2095-23ea-3b8f-fa619c1603a0'::uuid, 'TmdbCollection', 868198)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11721 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e53b9a6-2095-23ea-3b8f-fa619c1603a0'::uuid;

-- Query #11722 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fef22ac7-e488-9cac-ca51-dc035f853452'::uuid;

-- Query #11723 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4e53b9a6-2095-23ea-3b8f-fa619c1603a0'::uuid;

-- Query #11724 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11725 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4e53b9a6-2095-23ea-3b8f-fa619c1603a0'::uuid]);

-- Query #11726 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '6c38f2059c98947f22767540400fde9b'
ORDER BY b."SortName", b."Name";

-- Query #11727 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4e53b9a6-2095-23ea-3b8f-fa619c1603a0'::uuid;

-- Query #11728 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11729 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e4619411-58b1-f429-0f05-3b06721267f3'::uuid;

-- Query #11730 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e4619411-58b1-f429-0f05-3b06721267f3'::uuid]);

-- Query #11731 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e4619411-58b1-f429-0f05-3b06721267f3'::uuid;

-- Query #11732 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4619411-58b1-f429-0f05-3b06721267f3'::uuid, 'Imdb', 'tt2260984')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11733 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4619411-58b1-f429-0f05-3b06721267f3'::uuid, 'Tmdb', 868200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4619411-58b1-f429-0f05-3b06721267f3'::uuid, 'trakt', 872294)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4619411-58b1-f429-0f05-3b06721267f3'::uuid, 'TvMaze', 35153)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4619411-58b1-f429-0f05-3b06721267f3'::uuid, 'Tvdb', 4361698)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4619411-58b1-f429-0f05-3b06721267f3'::uuid, 'TmdbCollection', 868200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11738 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e4619411-58b1-f429-0f05-3b06721267f3'::uuid;

-- Query #11739 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e4619411-58b1-f429-0f05-3b06721267f3'::uuid;

-- Query #11740 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid;

-- Query #11741 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e4619411-58b1-f429-0f05-3b06721267f3'::uuid]);

-- Query #11742 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e4619411-58b1-f429-0f05-3b06721267f3'::uuid;

-- Query #11743 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11744 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid]);

-- Query #11745 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid;

-- Query #11746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, 'TmdbCollection', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, 'Tvdb', 77799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, 'Tmdb', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, 'Imdb', 'tt0112230')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, 'TvMaze', 437)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, 'TvRage', 6668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, 'Zap2It', 'SH151084')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11753 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, 'eidr', '10.5240/2A10-B9FB-9955-4ADE-CC16-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, 'wikidata', 'Q38497')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11755 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid;

-- Query #11756 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid;

-- Query #11757 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid]);

-- Query #11758 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid;

-- Query #11759 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11760 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '6c38f2059c98947f22767540400fde9b'
ORDER BY b."SortName", b."Name";

-- Query #11761 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7c0f72d1-f7ee-689e-74ae-ea4b72d98e03'::uuid;

-- Query #11762 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7c0f72d1-f7ee-689e-74ae-ea4b72d98e03'::uuid]);

-- Query #11763 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7c0f72d1-f7ee-689e-74ae-ea4b72d98e03'::uuid;

-- Query #11764 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c0f72d1-f7ee-689e-74ae-ea4b72d98e03'::uuid, 'Imdb', 'tt2169064')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c0f72d1-f7ee-689e-74ae-ea4b72d98e03'::uuid, 'Tmdb', 868196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c0f72d1-f7ee-689e-74ae-ea4b72d98e03'::uuid, 'trakt', 872290)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c0f72d1-f7ee-689e-74ae-ea4b72d98e03'::uuid, 'TvMaze', 35149)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c0f72d1-f7ee-689e-74ae-ea4b72d98e03'::uuid, 'Tvdb', 4361694)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c0f72d1-f7ee-689e-74ae-ea4b72d98e03'::uuid, 'TmdbCollection', 868196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11770 | logged_duration_ms=2 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7c0f72d1-f7ee-689e-74ae-ea4b72d98e03'::uuid;

-- Query #11771 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7c0f72d1-f7ee-689e-74ae-ea4b72d98e03'::uuid;

-- Query #11772 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7c0f72d1-f7ee-689e-74ae-ea4b72d98e03'::uuid]);

-- Query #11773 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7c0f72d1-f7ee-689e-74ae-ea4b72d98e03'::uuid;

-- Query #11774 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11775 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ad92a655-c52b-5622-a775-e17e4b91c062'::uuid;

-- Query #11776 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid]);

-- Query #11777 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ad92a655-c52b-5622-a775-e17e4b91c062'::uuid;

-- Query #11778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, 'Tvdb', 77799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, 'Tmdb', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, 'Imdb', 'tt0112230')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, 'TvMaze', 437)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, 'TvRage', 6668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, 'Zap2It', 'SH151084')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11784 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4aca35c2-f7e1-000b-6bc5-bbb018eccc6b'::uuid;

-- Query #11785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, 'eidr', '10.5240/2A10-B9FB-9955-4ADE-CC16-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, 'wikidata', 'Q38497')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, 'TmdbCollection', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11788 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ad92a655-c52b-5622-a775-e17e4b91c062'::uuid;

-- Query #11789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ad92a655-c52b-5622-a775-e17e4b91c062'::uuid;

-- Query #11790 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4aca35c2-f7e1-000b-6bc5-bbb018eccc6b'::uuid]);

-- Query #11791 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4aca35c2-f7e1-000b-6bc5-bbb018eccc6b'::uuid;

-- Query #11792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4aca35c2-f7e1-000b-6bc5-bbb018eccc6b'::uuid, 'Imdb', 'tt2315878')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11793 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4aca35c2-f7e1-000b-6bc5-bbb018eccc6b'::uuid, 'Tmdb', 868201)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4aca35c2-f7e1-000b-6bc5-bbb018eccc6b'::uuid, 'trakt', 872296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4aca35c2-f7e1-000b-6bc5-bbb018eccc6b'::uuid, 'TvMaze', 35155)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4aca35c2-f7e1-000b-6bc5-bbb018eccc6b'::uuid, 'Tvdb', 4361700)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4aca35c2-f7e1-000b-6bc5-bbb018eccc6b'::uuid, 'TmdbCollection', 868201)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11798 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid]);

-- Query #11799 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4aca35c2-f7e1-000b-6bc5-bbb018eccc6b'::uuid;

-- Query #11800 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ad92a655-c52b-5622-a775-e17e4b91c062'::uuid;

-- Query #11801 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4aca35c2-f7e1-000b-6bc5-bbb018eccc6b'::uuid;

-- Query #11802 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11803 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4aca35c2-f7e1-000b-6bc5-bbb018eccc6b'::uuid]);

-- Query #11804 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '6c38f2059c98947f22767540400fde9b'
ORDER BY b."SortName", b."Name";

-- Query #11805 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4aca35c2-f7e1-000b-6bc5-bbb018eccc6b'::uuid;

-- Query #11806 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11807 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1a4a5ae9-c721-01f3-a88a-f64a32a88562'::uuid;

-- Query #11808 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1a4a5ae9-c721-01f3-a88a-f64a32a88562'::uuid]);

-- Query #11809 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1a4a5ae9-c721-01f3-a88a-f64a32a88562'::uuid;

-- Query #11810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a4a5ae9-c721-01f3-a88a-f64a32a88562'::uuid, 'Imdb', 'tt2233994')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11811 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a4a5ae9-c721-01f3-a88a-f64a32a88562'::uuid, 'Tmdb', 868194)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11812 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a4a5ae9-c721-01f3-a88a-f64a32a88562'::uuid, 'trakt', 872289)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11813 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a4a5ae9-c721-01f3-a88a-f64a32a88562'::uuid, 'TvMaze', 35148)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11814 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a4a5ae9-c721-01f3-a88a-f64a32a88562'::uuid, 'Tvdb', 4348092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11815 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a4a5ae9-c721-01f3-a88a-f64a32a88562'::uuid, 'TmdbCollection', 868194)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11816 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1a4a5ae9-c721-01f3-a88a-f64a32a88562'::uuid;

-- Query #11817 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1a4a5ae9-c721-01f3-a88a-f64a32a88562'::uuid;

-- Query #11818 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1a4a5ae9-c721-01f3-a88a-f64a32a88562'::uuid]);

-- Query #11819 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1a4a5ae9-c721-01f3-a88a-f64a32a88562'::uuid;

-- Query #11820 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11821 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid;

-- Query #11822 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '230f66a6-5f9b-cc76-10e2-0907156ce76d'::uuid;

-- Query #11823 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid]);

-- Query #11824 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid;

-- Query #11825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid, 'Tvdb', 77799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid, 'Tmdb', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid, 'Imdb', 'tt0112230')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid, 'TvMaze', 437)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11829 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid, 'TvRage', 6668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid, 'Zap2It', 'SH151084')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid, 'eidr', '10.5240/2A10-B9FB-9955-4ADE-CC16-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid, 'wikidata', 'Q38497')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11833 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['230f66a6-5f9b-cc76-10e2-0907156ce76d'::uuid]);

-- Query #11834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid, 'TmdbCollection', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11835 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '230f66a6-5f9b-cc76-10e2-0907156ce76d'::uuid;

-- Query #11836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid;

-- Query #11837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('230f66a6-5f9b-cc76-10e2-0907156ce76d'::uuid, 'Imdb', 'tt2234004')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11838 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid;

-- Query #11839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('230f66a6-5f9b-cc76-10e2-0907156ce76d'::uuid, 'Tmdb', 868197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('230f66a6-5f9b-cc76-10e2-0907156ce76d'::uuid, 'trakt', 872292)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11841 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('230f66a6-5f9b-cc76-10e2-0907156ce76d'::uuid, 'TvMaze', 35151)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11842 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('230f66a6-5f9b-cc76-10e2-0907156ce76d'::uuid, 'Tvdb', 4361696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('230f66a6-5f9b-cc76-10e2-0907156ce76d'::uuid, 'TmdbCollection', 868197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11844 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '230f66a6-5f9b-cc76-10e2-0907156ce76d'::uuid;

-- Query #11845 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '230f66a6-5f9b-cc76-10e2-0907156ce76d'::uuid;

-- Query #11846 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid]);

-- Query #11847 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid;

-- Query #11848 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11849 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['230f66a6-5f9b-cc76-10e2-0907156ce76d'::uuid]);

-- Query #11850 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '230f66a6-5f9b-cc76-10e2-0907156ce76d'::uuid;

-- Query #11851 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11852 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f392f194-b04b-3685-940b-c9a6bfd058df'::uuid;

-- Query #11853 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid;

-- Query #11854 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f392f194-b04b-3685-940b-c9a6bfd058df'::uuid]);

-- Query #11855 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f392f194-b04b-3685-940b-c9a6bfd058df'::uuid;

-- Query #11856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f392f194-b04b-3685-940b-c9a6bfd058df'::uuid, 'Imdb', 'tt2307665')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f392f194-b04b-3685-940b-c9a6bfd058df'::uuid, 'Tmdb', 868195)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f392f194-b04b-3685-940b-c9a6bfd058df'::uuid, 'trakt', 872287)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f392f194-b04b-3685-940b-c9a6bfd058df'::uuid, 'TvMaze', 35146)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f392f194-b04b-3685-940b-c9a6bfd058df'::uuid, 'Tvdb', 4292776)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f392f194-b04b-3685-940b-c9a6bfd058df'::uuid, 'TmdbCollection', 868195)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11862 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f392f194-b04b-3685-940b-c9a6bfd058df'::uuid;

-- Query #11863 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f392f194-b04b-3685-940b-c9a6bfd058df'::uuid;

-- Query #11864 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid]);

-- Query #11865 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f392f194-b04b-3685-940b-c9a6bfd058df'::uuid]);

-- Query #11866 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid;

-- Query #11867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid, 'eidr', '10.5240/8F21-2BD6-F3C1-3E19-BC04-H')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11868 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f392f194-b04b-3685-940b-c9a6bfd058df'::uuid;

-- Query #11869 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid, 'Imdb', 'tt0751452')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid, 'Tmdb', 334927)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11871 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid, 'TmdbCollection', 334927)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid, 'trakt', 343310)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11874 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid, 'Tvdb', 259686)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11875 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid, 'tv maze', 41393)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11876 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid, 'TvMaze', 41393)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11877 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid, 'TvRage', 236245)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11878 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid;

-- Query #11879 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid;

-- Query #11880 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid]);

-- Query #11881 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'af75e496-4ace-fe54-5f35-a94f632d8f47'::uuid;

-- Query #11882 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11883 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6d0f2b9-2750-6f6a-8683-438360e8ab09'::uuid;

-- Query #11884 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6d0f2b9-2750-6f6a-8683-438360e8ab09'::uuid]);

-- Query #11885 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e6d0f2b9-2750-6f6a-8683-438360e8ab09'::uuid;

-- Query #11886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6d0f2b9-2750-6f6a-8683-438360e8ab09'::uuid, 'Imdb', 'tt2234002')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6d0f2b9-2750-6f6a-8683-438360e8ab09'::uuid, 'Tmdb', 868199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6d0f2b9-2750-6f6a-8683-438360e8ab09'::uuid, 'trakt', 872293)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6d0f2b9-2750-6f6a-8683-438360e8ab09'::uuid, 'TvMaze', 35152)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6d0f2b9-2750-6f6a-8683-438360e8ab09'::uuid, 'Tvdb', 4361697)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6d0f2b9-2750-6f6a-8683-438360e8ab09'::uuid, 'TmdbCollection', 868199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11892 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6d0f2b9-2750-6f6a-8683-438360e8ab09'::uuid;

-- Query #11893 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e6d0f2b9-2750-6f6a-8683-438360e8ab09'::uuid;

-- Query #11894 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e6d0f2b9-2750-6f6a-8683-438360e8ab09'::uuid]);

-- Query #11895 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e6d0f2b9-2750-6f6a-8683-438360e8ab09'::uuid;

-- Query #11896 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6497bd97-a4b0-2186-981d-1613e524f20e'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11897 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid;

-- Query #11898 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid]);

-- Query #11899 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid;

-- Query #11900 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid, 'eidr', '10.5240/BFFC-2DD0-43FD-9F4E-D2A1-Y')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11901 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid, 'Imdb', 'tt0751456')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid, 'Tmdb', 334940)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid, 'TmdbCollection', 334940)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11904 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid, 'trakt', 343304)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11905 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid, 'Tvdb', 259680)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid, 'tv maze', 41387)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid, 'TvMaze', 41387)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid, 'TvRage', 236239)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11909 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid;

-- Query #11910 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid;

-- Query #11911 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid]);

-- Query #11912 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '67a86fa8-220b-53a6-df54-b8ccb6316f46'::uuid;

-- Query #11913 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dbc3ed0f-4d17-bff8-190e-af5cec9eb56c'::uuid;

-- Query #11914 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11915 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dbc3ed0f-4d17-bff8-190e-af5cec9eb56c'::uuid]);

-- Query #11916 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dbc3ed0f-4d17-bff8-190e-af5cec9eb56c'::uuid;

-- Query #11917 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbc3ed0f-4d17-bff8-190e-af5cec9eb56c'::uuid, 'TmdbCollection', 973339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbc3ed0f-4d17-bff8-190e-af5cec9eb56c'::uuid, 'Tvdb', 4709817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11919 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbc3ed0f-4d17-bff8-190e-af5cec9eb56c'::uuid, 'Imdb', 'tt3232096')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbc3ed0f-4d17-bff8-190e-af5cec9eb56c'::uuid, 'Tmdb', 973339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbc3ed0f-4d17-bff8-190e-af5cec9eb56c'::uuid, 'trakt', 872310)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbc3ed0f-4d17-bff8-190e-af5cec9eb56c'::uuid, 'TvMaze', 200248)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11923 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dbc3ed0f-4d17-bff8-190e-af5cec9eb56c'::uuid;

-- Query #11924 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dbc3ed0f-4d17-bff8-190e-af5cec9eb56c'::uuid;

-- Query #11925 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dbc3ed0f-4d17-bff8-190e-af5cec9eb56c'::uuid]);

-- Query #11926 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dbc3ed0f-4d17-bff8-190e-af5cec9eb56c'::uuid;

-- Query #11927 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11928 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid;

-- Query #11929 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid]);

-- Query #11930 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid;

-- Query #11931 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid, 'eidr', '10.5240/9D62-1EE2-62B8-7ABA-D41D-X')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11932 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid, 'Imdb', 'tt0751536')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11933 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid, 'Tmdb', 334938)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11934 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid, 'TmdbCollection', 334938)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid, 'trakt', 343302)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid, 'Tvdb', 259678)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid, 'tv maze', 41385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid, 'TvMaze', 41385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid, 'TvRage', 236237)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11940 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid;

-- Query #11941 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid;

-- Query #11942 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '28f882dd-5db6-92de-8b85-94ac53ec2479'::uuid;

-- Query #11943 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid]);

-- Query #11944 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2a00fc92-0bb5-1cba-f34c-716338104f3b'::uuid;

-- Query #11945 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11946 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['28f882dd-5db6-92de-8b85-94ac53ec2479'::uuid]);

-- Query #11947 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '28f882dd-5db6-92de-8b85-94ac53ec2479'::uuid;

-- Query #11948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f882dd-5db6-92de-8b85-94ac53ec2479'::uuid, 'Imdb', 'tt3009978')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f882dd-5db6-92de-8b85-94ac53ec2479'::uuid, 'Tmdb', 868209)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f882dd-5db6-92de-8b85-94ac53ec2479'::uuid, 'trakt', 872306)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f882dd-5db6-92de-8b85-94ac53ec2479'::uuid, 'TvMaze', 200244)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f882dd-5db6-92de-8b85-94ac53ec2479'::uuid, 'Tvdb', 4600663)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f882dd-5db6-92de-8b85-94ac53ec2479'::uuid, 'TmdbCollection', 868209)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '28f882dd-5db6-92de-8b85-94ac53ec2479'::uuid;

-- Query #11955 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '28f882dd-5db6-92de-8b85-94ac53ec2479'::uuid;

-- Query #11956 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['28f882dd-5db6-92de-8b85-94ac53ec2479'::uuid]);

-- Query #11957 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '28f882dd-5db6-92de-8b85-94ac53ec2479'::uuid;

-- Query #11958 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11959 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid;

-- Query #11960 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid]);

-- Query #11961 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid;

-- Query #11962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid, 'eidr', '10.5240/6686-43B1-76E9-D46F-8488-Y')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid, 'Imdb', 'tt0751462')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11964 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid, 'Tmdb', 334948)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid, 'TmdbCollection', 334948)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid, 'trakt', 343313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid, 'Tvdb', 259689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid, 'tv maze', 41396)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11969 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid, 'TvMaze', 41396)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11970 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid, 'TvRage', 236248)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11971 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid;

-- Query #11972 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid;

-- Query #11973 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid]);

-- Query #11974 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f781fcc4-fa9f-1253-d9c9-3e126971dc98'::uuid;

-- Query #11975 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f3290ce8-aa3c-1058-1216-7fa5afd74610'::uuid;

-- Query #11976 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11977 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f781fcc4-fa9f-1253-d9c9-3e126971dc98'::uuid]);

-- Query #11978 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f781fcc4-fa9f-1253-d9c9-3e126971dc98'::uuid;

-- Query #11979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f781fcc4-fa9f-1253-d9c9-3e126971dc98'::uuid, 'Imdb', 'tt3007098')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f781fcc4-fa9f-1253-d9c9-3e126971dc98'::uuid, 'Tmdb', 868204)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f781fcc4-fa9f-1253-d9c9-3e126971dc98'::uuid, 'trakt', 872302)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f781fcc4-fa9f-1253-d9c9-3e126971dc98'::uuid, 'TvMaze', 200240)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f781fcc4-fa9f-1253-d9c9-3e126971dc98'::uuid, 'Tvdb', 4600659)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11984 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f781fcc4-fa9f-1253-d9c9-3e126971dc98'::uuid, 'TmdbCollection', 868204)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11985 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f781fcc4-fa9f-1253-d9c9-3e126971dc98'::uuid;

-- Query #11986 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f781fcc4-fa9f-1253-d9c9-3e126971dc98'::uuid;

-- Query #11987 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f781fcc4-fa9f-1253-d9c9-3e126971dc98'::uuid]);

-- Query #11988 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f781fcc4-fa9f-1253-d9c9-3e126971dc98'::uuid;

-- Query #11989 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #11990 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #11991 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid;

-- Query #11992 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid]);

-- Query #11993 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid;

-- Query #11994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid, 'eidr', '10.5240/3206-260B-AC1E-EB10-03EA-O')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid, 'Imdb', 'tt0751464')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid, 'Tmdb', 334929)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid, 'TmdbCollection', 334929)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11998 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid, 'trakt', 343293)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #11999 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid, 'Tvdb', 259669)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12000 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid, 'tv maze', 41376)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid, 'TvMaze', 41376)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid, 'TvRage', 236228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12003 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid;

-- Query #12004 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid;

-- Query #12005 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e8eb40f9-2108-0a99-8526-361ec8ec6c5b'::uuid;

-- Query #12006 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid]);

-- Query #12007 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6d8bcd82-db31-a183-a322-95f6b07aca7d'::uuid;

-- Query #12008 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12009 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e8eb40f9-2108-0a99-8526-361ec8ec6c5b'::uuid]);

-- Query #12010 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e8eb40f9-2108-0a99-8526-361ec8ec6c5b'::uuid;

-- Query #12011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8eb40f9-2108-0a99-8526-361ec8ec6c5b'::uuid, 'Imdb', 'tt3281650')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8eb40f9-2108-0a99-8526-361ec8ec6c5b'::uuid, 'Tmdb', 973340)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8eb40f9-2108-0a99-8526-361ec8ec6c5b'::uuid, 'trakt', 872311)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8eb40f9-2108-0a99-8526-361ec8ec6c5b'::uuid, 'TvMaze', 200249)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8eb40f9-2108-0a99-8526-361ec8ec6c5b'::uuid, 'Tvdb', 4709818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8eb40f9-2108-0a99-8526-361ec8ec6c5b'::uuid, 'TmdbCollection', 973340)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12017 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e8eb40f9-2108-0a99-8526-361ec8ec6c5b'::uuid;

-- Query #12018 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e8eb40f9-2108-0a99-8526-361ec8ec6c5b'::uuid;

-- Query #12019 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e8eb40f9-2108-0a99-8526-361ec8ec6c5b'::uuid]);

-- Query #12020 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e8eb40f9-2108-0a99-8526-361ec8ec6c5b'::uuid;

-- Query #12021 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12022 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid;

-- Query #12023 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid]);

-- Query #12024 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid;

-- Query #12025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid, 'eidr', '10.5240/0F32-4DDA-1F50-BDBE-3188-8')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid, 'Imdb', 'tt0751466')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid, 'Tmdb', 334931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid, 'TmdbCollection', 334931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid, 'trakt', 343295)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid, 'Tvdb', 259671)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12031 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid, 'tv maze', 41378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid, 'TvMaze', 41378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12033 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid, 'TvRage', 236230)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12034 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid;

-- Query #12035 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a77e939-8086-24ca-d74f-9cf863bff507'::uuid;

-- Query #12036 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid;

-- Query #12037 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid]);

-- Query #12038 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0b57df11-f47b-3a0d-69cf-926800eed2e2'::uuid;

-- Query #12039 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12040 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a77e939-8086-24ca-d74f-9cf863bff507'::uuid]);

-- Query #12041 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8a77e939-8086-24ca-d74f-9cf863bff507'::uuid;

-- Query #12042 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a77e939-8086-24ca-d74f-9cf863bff507'::uuid, 'Imdb', 'tt3003092')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12043 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a77e939-8086-24ca-d74f-9cf863bff507'::uuid, 'Tmdb', 868207)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12044 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a77e939-8086-24ca-d74f-9cf863bff507'::uuid, 'trakt', 872304)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a77e939-8086-24ca-d74f-9cf863bff507'::uuid, 'TvMaze', 200242)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a77e939-8086-24ca-d74f-9cf863bff507'::uuid, 'Tvdb', 4600661)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a77e939-8086-24ca-d74f-9cf863bff507'::uuid, 'TmdbCollection', 868207)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12048 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a77e939-8086-24ca-d74f-9cf863bff507'::uuid;

-- Query #12049 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8a77e939-8086-24ca-d74f-9cf863bff507'::uuid;

-- Query #12050 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8a77e939-8086-24ca-d74f-9cf863bff507'::uuid]);

-- Query #12051 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8a77e939-8086-24ca-d74f-9cf863bff507'::uuid;

-- Query #12052 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12053 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid;

-- Query #12054 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ea5b6d6-44e1-3e91-f08f-87c083802709'::uuid;

-- Query #12055 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid]);

-- Query #12056 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid;

-- Query #12057 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ea5b6d6-44e1-3e91-f08f-87c083802709'::uuid]);

-- Query #12058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid, 'eidr', '10.5240/035B-FFE7-F0FC-054D-BF10-P')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid, 'Imdb', 'tt0751471')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12060 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8ea5b6d6-44e1-3e91-f08f-87c083802709'::uuid;

-- Query #12061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid, 'Tmdb', 334936)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ea5b6d6-44e1-3e91-f08f-87c083802709'::uuid, 'Imdb', 'tt2813580')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid, 'TmdbCollection', 334936)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ea5b6d6-44e1-3e91-f08f-87c083802709'::uuid, 'Tmdb', 868210)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ea5b6d6-44e1-3e91-f08f-87c083802709'::uuid, 'trakt', 872298)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid, 'trakt', 343300)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12067 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ea5b6d6-44e1-3e91-f08f-87c083802709'::uuid, 'TvMaze', 200236)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid, 'Tvdb', 259676)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ea5b6d6-44e1-3e91-f08f-87c083802709'::uuid, 'Tvdb', 4507878)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid, 'tv maze', 41383)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ea5b6d6-44e1-3e91-f08f-87c083802709'::uuid, 'TmdbCollection', 868210)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid, 'TvMaze', 41383)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid, 'TvRage', 236235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12074 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ea5b6d6-44e1-3e91-f08f-87c083802709'::uuid;

-- Query #12075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid;

-- Query #12076 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8ea5b6d6-44e1-3e91-f08f-87c083802709'::uuid;

-- Query #12077 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid;

-- Query #12078 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8ea5b6d6-44e1-3e91-f08f-87c083802709'::uuid]);

-- Query #12079 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid]);

-- Query #12080 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8ea5b6d6-44e1-3e91-f08f-87c083802709'::uuid;

-- Query #12081 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'df35de0d-69cb-b032-e734-7fcc38d31e45'::uuid;

-- Query #12082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12083 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12084 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1911913-b365-6961-927e-2d400f26afbd'::uuid;

-- Query #12085 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1911913-b365-6961-927e-2d400f26afbd'::uuid]);

-- Query #12086 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c1911913-b365-6961-927e-2d400f26afbd'::uuid;

-- Query #12087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1911913-b365-6961-927e-2d400f26afbd'::uuid, 'eidr', '10.5240/F3F7-33AE-DB74-2489-6F92-L')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1911913-b365-6961-927e-2d400f26afbd'::uuid, 'Imdb', 'tt0751470')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12089 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af957931-d619-6af4-c00c-2954ebf1e702'::uuid;

-- Query #12090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1911913-b365-6961-927e-2d400f26afbd'::uuid, 'Tmdb', 334949)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1911913-b365-6961-927e-2d400f26afbd'::uuid, 'TmdbCollection', 334949)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1911913-b365-6961-927e-2d400f26afbd'::uuid, 'trakt', 343314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1911913-b365-6961-927e-2d400f26afbd'::uuid, 'Tvdb', 259690)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1911913-b365-6961-927e-2d400f26afbd'::uuid, 'tv maze', 41397)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1911913-b365-6961-927e-2d400f26afbd'::uuid, 'TvMaze', 41397)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1911913-b365-6961-927e-2d400f26afbd'::uuid, 'TvRage', 236249)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12097 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1911913-b365-6961-927e-2d400f26afbd'::uuid;

-- Query #12098 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c1911913-b365-6961-927e-2d400f26afbd'::uuid;

-- Query #12099 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af957931-d619-6af4-c00c-2954ebf1e702'::uuid]);

-- Query #12100 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c1911913-b365-6961-927e-2d400f26afbd'::uuid]);

-- Query #12101 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'af957931-d619-6af4-c00c-2954ebf1e702'::uuid;

-- Query #12102 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c1911913-b365-6961-927e-2d400f26afbd'::uuid;

-- Query #12103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af957931-d619-6af4-c00c-2954ebf1e702'::uuid, 'Imdb', 'tt2801004')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af957931-d619-6af4-c00c-2954ebf1e702'::uuid, 'Tmdb', 868213)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12105 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af957931-d619-6af4-c00c-2954ebf1e702'::uuid, 'trakt', 872297)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af957931-d619-6af4-c00c-2954ebf1e702'::uuid, 'TvMaze', 200235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af957931-d619-6af4-c00c-2954ebf1e702'::uuid, 'Tvdb', 4507877)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af957931-d619-6af4-c00c-2954ebf1e702'::uuid, 'TmdbCollection', 868213)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12110 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af957931-d619-6af4-c00c-2954ebf1e702'::uuid;

-- Query #12111 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'af957931-d619-6af4-c00c-2954ebf1e702'::uuid;

-- Query #12112 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['af957931-d619-6af4-c00c-2954ebf1e702'::uuid]);

-- Query #12113 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'af957931-d619-6af4-c00c-2954ebf1e702'::uuid;

-- Query #12114 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12115 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8634fc48-9f70-4b60-8573-3570555b271c'::uuid;

-- Query #12116 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid;

-- Query #12117 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8634fc48-9f70-4b60-8573-3570555b271c'::uuid]);

-- Query #12118 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8634fc48-9f70-4b60-8573-3570555b271c'::uuid;

-- Query #12119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8634fc48-9f70-4b60-8573-3570555b271c'::uuid, 'Imdb', 'tt3120780')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8634fc48-9f70-4b60-8573-3570555b271c'::uuid, 'Tmdb', 868214)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8634fc48-9f70-4b60-8573-3570555b271c'::uuid, 'trakt', 872308)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8634fc48-9f70-4b60-8573-3570555b271c'::uuid, 'TvMaze', 200246)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8634fc48-9f70-4b60-8573-3570555b271c'::uuid, 'Tvdb', 4638739)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8634fc48-9f70-4b60-8573-3570555b271c'::uuid, 'TmdbCollection', 868214)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12125 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8634fc48-9f70-4b60-8573-3570555b271c'::uuid;

-- Query #12126 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8634fc48-9f70-4b60-8573-3570555b271c'::uuid;

-- Query #12127 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid]);

-- Query #12128 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid;

-- Query #12129 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid, 'eidr', '10.5240/72C3-3CE8-3852-8773-EC22-Z')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12130 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8634fc48-9f70-4b60-8573-3570555b271c'::uuid]);

-- Query #12131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid, 'Imdb', 'tt0751475')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid, 'Tmdb', 334930)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12133 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8634fc48-9f70-4b60-8573-3570555b271c'::uuid;

-- Query #12134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid, 'TmdbCollection', 334930)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12135 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid, 'trakt', 343294)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid, 'Tvdb', 259670)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid, 'tv maze', 41377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12139 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid, 'TvMaze', 41377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12140 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid, 'TvRage', 236229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12141 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid;

-- Query #12142 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid;

-- Query #12143 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid]);

-- Query #12144 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ac11d0fa-afa2-6514-69bc-2248cf9c35e0'::uuid;

-- Query #12145 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12146 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '450479c5-3138-869e-af14-613ad9d1c7fa'::uuid;

-- Query #12147 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['450479c5-3138-869e-af14-613ad9d1c7fa'::uuid]);

-- Query #12148 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '450479c5-3138-869e-af14-613ad9d1c7fa'::uuid;

-- Query #12149 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid;

-- Query #12150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('450479c5-3138-869e-af14-613ad9d1c7fa'::uuid, 'Imdb', 'tt3009934')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('450479c5-3138-869e-af14-613ad9d1c7fa'::uuid, 'Tmdb', 868206)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('450479c5-3138-869e-af14-613ad9d1c7fa'::uuid, 'trakt', 872307)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('450479c5-3138-869e-af14-613ad9d1c7fa'::uuid, 'TvMaze', 200245)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12154 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('450479c5-3138-869e-af14-613ad9d1c7fa'::uuid, 'Tvdb', 4600664)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12155 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('450479c5-3138-869e-af14-613ad9d1c7fa'::uuid, 'TmdbCollection', 868206)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12156 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '450479c5-3138-869e-af14-613ad9d1c7fa'::uuid;

-- Query #12157 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '450479c5-3138-869e-af14-613ad9d1c7fa'::uuid;

-- Query #12158 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['450479c5-3138-869e-af14-613ad9d1c7fa'::uuid]);

-- Query #12159 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid]);

-- Query #12160 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '450479c5-3138-869e-af14-613ad9d1c7fa'::uuid;

-- Query #12161 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid;

-- Query #12162 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid, 'eidr', '10.5240/09E5-4BE3-8295-01F5-0C4E-G')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid, 'Imdb', 'tt0751443')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid, 'Tmdb', 334941)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid, 'TmdbCollection', 334941)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid, 'trakt', 343305)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid, 'Tvdb', 259681)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12169 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid, 'tv maze', 41388)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12170 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid, 'TvMaze', 41388)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12171 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid, 'TvRage', 236240)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid;

-- Query #12173 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid;

-- Query #12174 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid]);

-- Query #12175 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c3358a78-3816-1be0-013c-e58d4ec04cc7'::uuid;

-- Query #12176 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12177 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid;

-- Query #12178 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '05b5e2d5-3cb5-4a46-398f-7628f7907472'::uuid;

-- Query #12179 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid]);

-- Query #12180 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid;

-- Query #12181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid, 'eidr', '10.5240/E038-56AC-0817-C8E9-BDCE-H')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid, 'Imdb', 'tt0751546')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12183 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid, 'Tmdb', 334947)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12184 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid, 'TmdbCollection', 334947)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12185 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05b5e2d5-3cb5-4a46-398f-7628f7907472'::uuid]);

-- Query #12186 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid, 'trakt', 343312)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12187 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid, 'Tvdb', 259688)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12188 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '05b5e2d5-3cb5-4a46-398f-7628f7907472'::uuid;

-- Query #12189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid, 'tv maze', 41395)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05b5e2d5-3cb5-4a46-398f-7628f7907472'::uuid, 'Imdb', 'tt3375958')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid, 'TvMaze', 41395)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05b5e2d5-3cb5-4a46-398f-7628f7907472'::uuid, 'Tmdb', 973343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid, 'TvRage', 236247)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05b5e2d5-3cb5-4a46-398f-7628f7907472'::uuid, 'trakt', 872314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05b5e2d5-3cb5-4a46-398f-7628f7907472'::uuid, 'TvMaze', 200341)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12196 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid;

-- Query #12197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05b5e2d5-3cb5-4a46-398f-7628f7907472'::uuid, 'Tvdb', 4721286)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12198 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid;

-- Query #12199 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05b5e2d5-3cb5-4a46-398f-7628f7907472'::uuid, 'TmdbCollection', 973343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12200 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '05b5e2d5-3cb5-4a46-398f-7628f7907472'::uuid;

-- Query #12201 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '05b5e2d5-3cb5-4a46-398f-7628f7907472'::uuid;

-- Query #12202 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid]);

-- Query #12203 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['05b5e2d5-3cb5-4a46-398f-7628f7907472'::uuid]);

-- Query #12204 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9a164121-008a-8fec-0a11-c9ea50f55ca6'::uuid;

-- Query #12205 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '05b5e2d5-3cb5-4a46-398f-7628f7907472'::uuid;

-- Query #12206 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12207 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12208 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid;

-- Query #12209 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '632d146c-a983-b8bf-faa5-353528a423b0'::uuid;

-- Query #12210 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid]);

-- Query #12211 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid;

-- Query #12212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid, 'eidr', '10.5240/FDEB-AA02-D2F8-04F8-0035-0')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid, 'Imdb', 'tt0751489')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid, 'Tmdb', 334937)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid, 'TmdbCollection', 334937)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12216 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['632d146c-a983-b8bf-faa5-353528a423b0'::uuid]);

-- Query #12217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid, 'trakt', 343301)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid, 'Tvdb', 259677)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12219 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '632d146c-a983-b8bf-faa5-353528a423b0'::uuid;

-- Query #12220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid, 'tv maze', 41384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('632d146c-a983-b8bf-faa5-353528a423b0'::uuid, 'Imdb', 'tt3361946')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid, 'TvMaze', 41384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('632d146c-a983-b8bf-faa5-353528a423b0'::uuid, 'Tmdb', 973344)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid, 'TvRage', 236236)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12225 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('632d146c-a983-b8bf-faa5-353528a423b0'::uuid, 'trakt', 872315)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12226 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid;

-- Query #12227 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('632d146c-a983-b8bf-faa5-353528a423b0'::uuid, 'TvMaze', 200252)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12228 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid;

-- Query #12229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('632d146c-a983-b8bf-faa5-353528a423b0'::uuid, 'Tvdb', 4721287)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12230 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('632d146c-a983-b8bf-faa5-353528a423b0'::uuid, 'TmdbCollection', 973344)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12231 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '632d146c-a983-b8bf-faa5-353528a423b0'::uuid;

-- Query #12232 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '632d146c-a983-b8bf-faa5-353528a423b0'::uuid;

-- Query #12233 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid]);

-- Query #12234 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4782cc3a-bec5-471e-a6cb-0bff8baad751'::uuid;

-- Query #12235 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['632d146c-a983-b8bf-faa5-353528a423b0'::uuid]);

-- Query #12236 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12237 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '632d146c-a983-b8bf-faa5-353528a423b0'::uuid;

-- Query #12238 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid;

-- Query #12240 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid]);

-- Query #12241 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3bb794fd-9d66-445f-8339-f22171d59ac3'::uuid;

-- Query #12242 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid;

-- Query #12243 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid, 'eidr', '10.5240/D778-458A-3171-53FD-9616-A')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12244 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid, 'Imdb', 'tt0751494')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12245 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid, 'Tmdb', 334950)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid, 'TmdbCollection', 334950)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid, 'trakt', 343315)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid, 'Tvdb', 259691)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid, 'tv maze', 41398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid, 'TvMaze', 41398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid, 'TvRage', 236250)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12252 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid;

-- Query #12253 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid;

-- Query #12254 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3bb794fd-9d66-445f-8339-f22171d59ac3'::uuid]);

-- Query #12255 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3bb794fd-9d66-445f-8339-f22171d59ac3'::uuid;

-- Query #12256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bb794fd-9d66-445f-8339-f22171d59ac3'::uuid, 'Imdb', 'tt3305208')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12257 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bb794fd-9d66-445f-8339-f22171d59ac3'::uuid, 'Tmdb', 973341)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12258 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bb794fd-9d66-445f-8339-f22171d59ac3'::uuid, 'trakt', 872312)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12259 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bb794fd-9d66-445f-8339-f22171d59ac3'::uuid, 'TvMaze', 200250)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12260 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid]);

-- Query #12261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bb794fd-9d66-445f-8339-f22171d59ac3'::uuid, 'Tvdb', 4709819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bb794fd-9d66-445f-8339-f22171d59ac3'::uuid, 'TmdbCollection', 973341)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12263 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '080f2e0f-dc1e-82b7-3fd4-4cdfdeec856e'::uuid;

-- Query #12264 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3bb794fd-9d66-445f-8339-f22171d59ac3'::uuid;

-- Query #12265 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3bb794fd-9d66-445f-8339-f22171d59ac3'::uuid;

-- Query #12266 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12267 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3bb794fd-9d66-445f-8339-f22171d59ac3'::uuid]);

-- Query #12268 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3bb794fd-9d66-445f-8339-f22171d59ac3'::uuid;

-- Query #12269 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12270 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52bad44a-f699-e269-ffe6-fd72516890a4'::uuid;

-- Query #12271 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b518a414-16a2-d0b6-787f-c4230ccc0932'::uuid;

-- Query #12272 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['52bad44a-f699-e269-ffe6-fd72516890a4'::uuid]);

-- Query #12273 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '52bad44a-f699-e269-ffe6-fd72516890a4'::uuid;

-- Query #12274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52bad44a-f699-e269-ffe6-fd72516890a4'::uuid, 'eidr', '10.5240/B5BC-1BE7-04C7-65C7-ED21-L')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52bad44a-f699-e269-ffe6-fd72516890a4'::uuid, 'Imdb', 'tt0751511')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52bad44a-f699-e269-ffe6-fd72516890a4'::uuid, 'Tmdb', 334943)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52bad44a-f699-e269-ffe6-fd72516890a4'::uuid, 'TmdbCollection', 334943)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52bad44a-f699-e269-ffe6-fd72516890a4'::uuid, 'trakt', 343307)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52bad44a-f699-e269-ffe6-fd72516890a4'::uuid, 'Tvdb', 259683)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52bad44a-f699-e269-ffe6-fd72516890a4'::uuid, 'tv maze', 41390)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52bad44a-f699-e269-ffe6-fd72516890a4'::uuid, 'TvMaze', 41390)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12282 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52bad44a-f699-e269-ffe6-fd72516890a4'::uuid, 'TvRage', 236242)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12283 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52bad44a-f699-e269-ffe6-fd72516890a4'::uuid;

-- Query #12284 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '52bad44a-f699-e269-ffe6-fd72516890a4'::uuid;

-- Query #12285 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['52bad44a-f699-e269-ffe6-fd72516890a4'::uuid]);

-- Query #12286 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '52bad44a-f699-e269-ffe6-fd72516890a4'::uuid;

-- Query #12287 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12288 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b518a414-16a2-d0b6-787f-c4230ccc0932'::uuid]);

-- Query #12289 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b518a414-16a2-d0b6-787f-c4230ccc0932'::uuid;

-- Query #12290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b518a414-16a2-d0b6-787f-c4230ccc0932'::uuid, 'Imdb', 'tt3009880')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b518a414-16a2-d0b6-787f-c4230ccc0932'::uuid, 'Tmdb', 868208)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b518a414-16a2-d0b6-787f-c4230ccc0932'::uuid, 'trakt', 872303)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b518a414-16a2-d0b6-787f-c4230ccc0932'::uuid, 'TvMaze', 200241)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b518a414-16a2-d0b6-787f-c4230ccc0932'::uuid, 'Tvdb', 4600660)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b518a414-16a2-d0b6-787f-c4230ccc0932'::uuid, 'TmdbCollection', 868208)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b518a414-16a2-d0b6-787f-c4230ccc0932'::uuid;

-- Query #12297 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b518a414-16a2-d0b6-787f-c4230ccc0932'::uuid;

-- Query #12298 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b518a414-16a2-d0b6-787f-c4230ccc0932'::uuid]);

-- Query #12299 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b518a414-16a2-d0b6-787f-c4230ccc0932'::uuid;

-- Query #12300 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12301 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6e5a2da-b05c-86f4-6985-b194ce6d2ac2'::uuid;

-- Query #12302 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid;

-- Query #12303 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6e5a2da-b05c-86f4-6985-b194ce6d2ac2'::uuid]);

-- Query #12304 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e6e5a2da-b05c-86f4-6985-b194ce6d2ac2'::uuid;

-- Query #12305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6e5a2da-b05c-86f4-6985-b194ce6d2ac2'::uuid, 'Imdb', 'tt3009876')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6e5a2da-b05c-86f4-6985-b194ce6d2ac2'::uuid, 'Tmdb', 868205)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6e5a2da-b05c-86f4-6985-b194ce6d2ac2'::uuid, 'trakt', 872305)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6e5a2da-b05c-86f4-6985-b194ce6d2ac2'::uuid, 'TvMaze', 200243)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6e5a2da-b05c-86f4-6985-b194ce6d2ac2'::uuid, 'Tvdb', 4600662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6e5a2da-b05c-86f4-6985-b194ce6d2ac2'::uuid, 'TmdbCollection', 868205)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12311 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6e5a2da-b05c-86f4-6985-b194ce6d2ac2'::uuid;

-- Query #12312 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e6e5a2da-b05c-86f4-6985-b194ce6d2ac2'::uuid;

-- Query #12313 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid]);

-- Query #12314 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid;

-- Query #12315 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid, 'eidr', '10.5240/09A1-4F3C-E7A6-0707-CA43-V')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12316 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e6e5a2da-b05c-86f4-6985-b194ce6d2ac2'::uuid]);

-- Query #12317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid, 'Imdb', 'tt0751548')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12318 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e6e5a2da-b05c-86f4-6985-b194ce6d2ac2'::uuid;

-- Query #12319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid, 'Tmdb', 334932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid, 'TmdbCollection', 334932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12321 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid, 'trakt', 343296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid, 'Tvdb', 259672)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid, 'tv maze', 41379)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid, 'TvMaze', 41379)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid, 'TvRage', 236231)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12327 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid;

-- Query #12328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid;

-- Query #12329 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid]);

-- Query #12330 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '43342724-83b8-caf7-ba55-9df2a2763fb4'::uuid;

-- Query #12331 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12332 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f276cdf9-c7d1-bde0-4679-279aa3cc2974'::uuid;

-- Query #12333 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5997faeb-9663-62e6-4717-f499f87b3833'::uuid;

-- Query #12334 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5997faeb-9663-62e6-4717-f499f87b3833'::uuid]);

-- Query #12335 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5997faeb-9663-62e6-4717-f499f87b3833'::uuid;

-- Query #12336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5997faeb-9663-62e6-4717-f499f87b3833'::uuid, 'eidr', '10.5240/50A7-B53F-6B82-255E-2EFF-F')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5997faeb-9663-62e6-4717-f499f87b3833'::uuid, 'Imdb', 'tt0751551')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5997faeb-9663-62e6-4717-f499f87b3833'::uuid, 'Tmdb', 334945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5997faeb-9663-62e6-4717-f499f87b3833'::uuid, 'TmdbCollection', 334945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5997faeb-9663-62e6-4717-f499f87b3833'::uuid, 'trakt', 343309)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f276cdf9-c7d1-bde0-4679-279aa3cc2974'::uuid]);

-- Query #12342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5997faeb-9663-62e6-4717-f499f87b3833'::uuid, 'Tvdb', 259685)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12343 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f276cdf9-c7d1-bde0-4679-279aa3cc2974'::uuid;

-- Query #12344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5997faeb-9663-62e6-4717-f499f87b3833'::uuid, 'tv maze', 41392)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5997faeb-9663-62e6-4717-f499f87b3833'::uuid, 'TvMaze', 41392)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f276cdf9-c7d1-bde0-4679-279aa3cc2974'::uuid, 'Imdb', 'tt2838988')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12347 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5997faeb-9663-62e6-4717-f499f87b3833'::uuid, 'TvRage', 236244)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12348 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f276cdf9-c7d1-bde0-4679-279aa3cc2974'::uuid, 'Tmdb', 868203)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12349 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5997faeb-9663-62e6-4717-f499f87b3833'::uuid;

-- Query #12350 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f276cdf9-c7d1-bde0-4679-279aa3cc2974'::uuid, 'trakt', 872299)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12351 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f276cdf9-c7d1-bde0-4679-279aa3cc2974'::uuid, 'TvMaze', 200237)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12352 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5997faeb-9663-62e6-4717-f499f87b3833'::uuid;

-- Query #12353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f276cdf9-c7d1-bde0-4679-279aa3cc2974'::uuid, 'Tvdb', 4559368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f276cdf9-c7d1-bde0-4679-279aa3cc2974'::uuid, 'TmdbCollection', 868203)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12355 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f276cdf9-c7d1-bde0-4679-279aa3cc2974'::uuid;

-- Query #12356 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f276cdf9-c7d1-bde0-4679-279aa3cc2974'::uuid;

-- Query #12357 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5997faeb-9663-62e6-4717-f499f87b3833'::uuid]);

-- Query #12358 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5997faeb-9663-62e6-4717-f499f87b3833'::uuid;

-- Query #12359 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f276cdf9-c7d1-bde0-4679-279aa3cc2974'::uuid]);

-- Query #12360 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12361 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f276cdf9-c7d1-bde0-4679-279aa3cc2974'::uuid;

-- Query #12362 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12363 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid;

-- Query #12364 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd37fb326-773d-1212-4974-12b2961a69fb'::uuid;

-- Query #12365 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid]);

-- Query #12366 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid;

-- Query #12367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid, 'eidr', '10.5240/70EF-8D9F-2D4A-8194-82BD-C')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid, 'Imdb', 'tt0751519')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid, 'Tmdb', 334935)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid, 'TmdbCollection', 334935)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid, 'trakt', 343299)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid, 'Tvdb', 259675)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid, 'tv maze', 41382)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid, 'TvMaze', 41382)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12375 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid, 'TvRage', 236234)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12376 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid;

-- Query #12377 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid;

-- Query #12378 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid]);

-- Query #12379 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6e719d2e-3a29-e5fe-08d1-725dfd9b7478'::uuid;

-- Query #12380 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12381 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d37fb326-773d-1212-4974-12b2961a69fb'::uuid]);

-- Query #12382 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd37fb326-773d-1212-4974-12b2961a69fb'::uuid;

-- Query #12383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37fb326-773d-1212-4974-12b2961a69fb'::uuid, 'Imdb', 'tt3375954')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37fb326-773d-1212-4974-12b2961a69fb'::uuid, 'Tmdb', 973342)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37fb326-773d-1212-4974-12b2961a69fb'::uuid, 'trakt', 872313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37fb326-773d-1212-4974-12b2961a69fb'::uuid, 'TvMaze', 200251)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37fb326-773d-1212-4974-12b2961a69fb'::uuid, 'Tvdb', 4721285)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37fb326-773d-1212-4974-12b2961a69fb'::uuid, 'TmdbCollection', 973342)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12389 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd37fb326-773d-1212-4974-12b2961a69fb'::uuid;

-- Query #12390 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd37fb326-773d-1212-4974-12b2961a69fb'::uuid;

-- Query #12391 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d37fb326-773d-1212-4974-12b2961a69fb'::uuid]);

-- Query #12392 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid;

-- Query #12393 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd37fb326-773d-1212-4974-12b2961a69fb'::uuid;

-- Query #12394 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12395 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid]);

-- Query #12396 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid;

-- Query #12397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid, 'eidr', '10.5240/E071-E51A-CFDA-517C-DB3C-7')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid, 'Imdb', 'tt0751554')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid, 'Tmdb', 334933)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid, 'TmdbCollection', 334933)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid, 'trakt', 343297)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid, 'Tvdb', 259673)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid, 'tv maze', 41380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid, 'TvMaze', 41380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid, 'TvRage', 236232)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12406 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid;

-- Query #12407 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid;

-- Query #12408 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid]);

-- Query #12409 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bdbf7241-8635-44d9-1b1b-043eb5308ecf'::uuid;

-- Query #12410 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12411 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f96f146c-4132-e73a-3ef7-539427ce9030'::uuid;

-- Query #12412 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f96f146c-4132-e73a-3ef7-539427ce9030'::uuid]);

-- Query #12413 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f96f146c-4132-e73a-3ef7-539427ce9030'::uuid;

-- Query #12414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f96f146c-4132-e73a-3ef7-539427ce9030'::uuid, 'Imdb', 'tt4008638')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f96f146c-4132-e73a-3ef7-539427ce9030'::uuid, 'Tmdb', 1019772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f96f146c-4132-e73a-3ef7-539427ce9030'::uuid, 'TvMaze', 200265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f96f146c-4132-e73a-3ef7-539427ce9030'::uuid, 'Tvdb', 5039468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f96f146c-4132-e73a-3ef7-539427ce9030'::uuid, 'TvRage', 1065714190)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12419 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f96f146c-4132-e73a-3ef7-539427ce9030'::uuid, 'trakt', 1389057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f96f146c-4132-e73a-3ef7-539427ce9030'::uuid, 'TmdbCollection', 1019772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12421 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f96f146c-4132-e73a-3ef7-539427ce9030'::uuid;

-- Query #12422 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f96f146c-4132-e73a-3ef7-539427ce9030'::uuid;

-- Query #12423 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid;

-- Query #12424 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f96f146c-4132-e73a-3ef7-539427ce9030'::uuid]);

-- Query #12425 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid]);

-- Query #12426 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f96f146c-4132-e73a-3ef7-539427ce9030'::uuid;

-- Query #12427 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid;

-- Query #12428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid, 'eidr', '10.5240/B376-9AAA-55A3-DFBD-BAA0-F')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12429 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid, 'Imdb', 'tt0751557')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid, 'Tmdb', 334944)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid, 'TmdbCollection', 334944)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid, 'trakt', 343308)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid, 'Tvdb', 259684)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid, 'tv maze', 41391)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid, 'TvMaze', 41391)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12437 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid, 'TvRage', 236243)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12438 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid;

-- Query #12439 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid;

-- Query #12440 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid]);

-- Query #12441 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0ae6edac-a0bc-9e95-209c-aeb3f14e5825'::uuid;

-- Query #12442 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12443 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c48b17a-8fa5-ffd7-d1d2-b5a71408dea2'::uuid;

-- Query #12444 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c48b17a-8fa5-ffd7-d1d2-b5a71408dea2'::uuid]);

-- Query #12445 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1c48b17a-8fa5-ffd7-d1d2-b5a71408dea2'::uuid;

-- Query #12446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c48b17a-8fa5-ffd7-d1d2-b5a71408dea2'::uuid, 'trakt', 1389074)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c48b17a-8fa5-ffd7-d1d2-b5a71408dea2'::uuid, 'TmdbCollection', 1019774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c48b17a-8fa5-ffd7-d1d2-b5a71408dea2'::uuid, 'Imdb', 'tt4115670')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12449 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid;

-- Query #12450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c48b17a-8fa5-ffd7-d1d2-b5a71408dea2'::uuid, 'Tmdb', 1019774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c48b17a-8fa5-ffd7-d1d2-b5a71408dea2'::uuid, 'TvMaze', 200267)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12452 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c48b17a-8fa5-ffd7-d1d2-b5a71408dea2'::uuid, 'Tvdb', 5039473)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12453 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c48b17a-8fa5-ffd7-d1d2-b5a71408dea2'::uuid, 'TvRage', 1065714208)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12454 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c48b17a-8fa5-ffd7-d1d2-b5a71408dea2'::uuid;

-- Query #12455 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1c48b17a-8fa5-ffd7-d1d2-b5a71408dea2'::uuid;

-- Query #12456 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1c48b17a-8fa5-ffd7-d1d2-b5a71408dea2'::uuid]);

-- Query #12457 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid]);

-- Query #12458 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1c48b17a-8fa5-ffd7-d1d2-b5a71408dea2'::uuid;

-- Query #12459 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid;

-- Query #12460 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid, 'eidr', '10.5240/49FE-826F-4A30-157B-720B-B')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid, 'Imdb', 'tt0751529')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid, 'Tmdb', 334928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid, 'TmdbCollection', 334928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid, 'trakt', 343292)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12466 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid, 'Tvdb', 259668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid, 'tv maze', 41375)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12468 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid, 'TvMaze', 41375)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid, 'TvRage', 236227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12470 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid;

-- Query #12471 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid;

-- Query #12472 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid]);

-- Query #12473 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ee14dd65-a5e3-844c-1b89-b72416ff6574'::uuid;

-- Query #12474 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12475 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '38700a55-89e5-315d-235f-0f80676eebaf'::uuid;

-- Query #12476 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31e98962-5acf-a836-551f-19b3cae4f49e'::uuid;

-- Query #12477 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38700a55-89e5-315d-235f-0f80676eebaf'::uuid]);

-- Query #12478 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '38700a55-89e5-315d-235f-0f80676eebaf'::uuid;

-- Query #12479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38700a55-89e5-315d-235f-0f80676eebaf'::uuid, 'Imdb', 'tt3859428')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38700a55-89e5-315d-235f-0f80676eebaf'::uuid, 'Tmdb', 995712)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12481 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['31e98962-5acf-a836-551f-19b3cae4f49e'::uuid]);

-- Query #12482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38700a55-89e5-315d-235f-0f80676eebaf'::uuid, 'TvMaze', 200260)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38700a55-89e5-315d-235f-0f80676eebaf'::uuid, 'Tvdb', 4928688)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12484 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '31e98962-5acf-a836-551f-19b3cae4f49e'::uuid;

-- Query #12485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38700a55-89e5-315d-235f-0f80676eebaf'::uuid, 'TvRage', 1065579649)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31e98962-5acf-a836-551f-19b3cae4f49e'::uuid, 'eidr', '10.5240/62F5-99DB-5F00-F8E1-25D2-J')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38700a55-89e5-315d-235f-0f80676eebaf'::uuid, 'trakt', 872323)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31e98962-5acf-a836-551f-19b3cae4f49e'::uuid, 'Imdb', 'tt0751562')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('38700a55-89e5-315d-235f-0f80676eebaf'::uuid, 'TmdbCollection', 995712)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31e98962-5acf-a836-551f-19b3cae4f49e'::uuid, 'Tmdb', 334946)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31e98962-5acf-a836-551f-19b3cae4f49e'::uuid, 'TmdbCollection', 334946)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12492 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '38700a55-89e5-315d-235f-0f80676eebaf'::uuid;

-- Query #12493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31e98962-5acf-a836-551f-19b3cae4f49e'::uuid, 'trakt', 343311)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12494 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '38700a55-89e5-315d-235f-0f80676eebaf'::uuid;

-- Query #12495 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31e98962-5acf-a836-551f-19b3cae4f49e'::uuid, 'Tvdb', 259687)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31e98962-5acf-a836-551f-19b3cae4f49e'::uuid, 'tv maze', 41394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31e98962-5acf-a836-551f-19b3cae4f49e'::uuid, 'TvMaze', 41394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31e98962-5acf-a836-551f-19b3cae4f49e'::uuid, 'TvRage', 236246)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12499 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31e98962-5acf-a836-551f-19b3cae4f49e'::uuid;

-- Query #12500 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '31e98962-5acf-a836-551f-19b3cae4f49e'::uuid;

-- Query #12501 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['38700a55-89e5-315d-235f-0f80676eebaf'::uuid]);

-- Query #12502 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '38700a55-89e5-315d-235f-0f80676eebaf'::uuid;

-- Query #12503 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12504 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['31e98962-5acf-a836-551f-19b3cae4f49e'::uuid]);

-- Query #12505 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '31e98962-5acf-a836-551f-19b3cae4f49e'::uuid;

-- Query #12506 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12507 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'beb3210a-a2da-3167-1d2e-c214b078e118'::uuid;

-- Query #12508 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid;

-- Query #12509 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['beb3210a-a2da-3167-1d2e-c214b078e118'::uuid]);

-- Query #12510 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid]);

-- Query #12511 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'beb3210a-a2da-3167-1d2e-c214b078e118'::uuid;

-- Query #12512 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid;

-- Query #12513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('beb3210a-a2da-3167-1d2e-c214b078e118'::uuid, 'Imdb', 'tt3790322')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid, 'eidr', '10.5240/3174-B817-963C-562F-8141-6')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('beb3210a-a2da-3167-1d2e-c214b078e118'::uuid, 'Tmdb', 992148)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid, 'Imdb', 'tt0751558')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('beb3210a-a2da-3167-1d2e-c214b078e118'::uuid, 'TvMaze', 200257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid, 'Tmdb', 334934)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('beb3210a-a2da-3167-1d2e-c214b078e118'::uuid, 'Tvdb', 4903568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid, 'TmdbCollection', 334934)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('beb3210a-a2da-3167-1d2e-c214b078e118'::uuid, 'TvRage', 1065579646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid, 'trakt', 343298)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('beb3210a-a2da-3167-1d2e-c214b078e118'::uuid, 'trakt', 872320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid, 'Tvdb', 259674)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12525 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('beb3210a-a2da-3167-1d2e-c214b078e118'::uuid, 'TmdbCollection', 992148)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid, 'tv maze', 41381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12527 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'beb3210a-a2da-3167-1d2e-c214b078e118'::uuid;

-- Query #12528 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid, 'TvMaze', 41381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12529 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'beb3210a-a2da-3167-1d2e-c214b078e118'::uuid;

-- Query #12530 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid, 'TvRage', 236233)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12531 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid;

-- Query #12532 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid;

-- Query #12533 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['beb3210a-a2da-3167-1d2e-c214b078e118'::uuid]);

-- Query #12534 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'beb3210a-a2da-3167-1d2e-c214b078e118'::uuid;

-- Query #12535 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid]);

-- Query #12536 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12537 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '81cc4a65-9769-72ab-5c1d-be11288e24a7'::uuid;

-- Query #12538 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12539 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '767d7a6e-1e19-8fd6-23ac-70a38dbeb72d'::uuid;

-- Query #12540 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid;

-- Query #12541 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['767d7a6e-1e19-8fd6-23ac-70a38dbeb72d'::uuid]);

-- Query #12542 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '767d7a6e-1e19-8fd6-23ac-70a38dbeb72d'::uuid;

-- Query #12543 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('767d7a6e-1e19-8fd6-23ac-70a38dbeb72d'::uuid, 'Imdb', 'tt3916144')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('767d7a6e-1e19-8fd6-23ac-70a38dbeb72d'::uuid, 'Tmdb', 1014446)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('767d7a6e-1e19-8fd6-23ac-70a38dbeb72d'::uuid, 'TvMaze', 200263)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12546 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid]);

-- Query #12547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('767d7a6e-1e19-8fd6-23ac-70a38dbeb72d'::uuid, 'Tvdb', 4999922)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12548 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid;

-- Query #12549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('767d7a6e-1e19-8fd6-23ac-70a38dbeb72d'::uuid, 'TvRage', 1065708567)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid, 'eidr', '10.5240/FA51-ADDB-62AF-3FA9-7666-A')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('767d7a6e-1e19-8fd6-23ac-70a38dbeb72d'::uuid, 'trakt', 1389033)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12552 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid, 'Imdb', 'tt0751568')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12553 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('767d7a6e-1e19-8fd6-23ac-70a38dbeb72d'::uuid, 'TmdbCollection', 1014446)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12554 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid, 'Tmdb', 334942)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid, 'TmdbCollection', 334942)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12556 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '767d7a6e-1e19-8fd6-23ac-70a38dbeb72d'::uuid;

-- Query #12557 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid, 'trakt', 343306)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12558 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '767d7a6e-1e19-8fd6-23ac-70a38dbeb72d'::uuid;

-- Query #12559 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid, 'Tvdb', 259682)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid, 'tv maze', 41389)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid, 'TvMaze', 41389)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid, 'TvRage', 236241)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12563 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid;

-- Query #12564 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid;

-- Query #12565 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['767d7a6e-1e19-8fd6-23ac-70a38dbeb72d'::uuid]);

-- Query #12566 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '767d7a6e-1e19-8fd6-23ac-70a38dbeb72d'::uuid;

-- Query #12567 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12568 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid]);

-- Query #12569 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a5379588-9a10-6a7f-fc4b-0afc87ae6f11'::uuid;

-- Query #12570 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12571 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4624e9dc-ceab-b9ec-4734-6174feffc259'::uuid;

-- Query #12572 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4624e9dc-ceab-b9ec-4734-6174feffc259'::uuid]);

-- Query #12573 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid;

-- Query #12574 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4624e9dc-ceab-b9ec-4734-6174feffc259'::uuid;

-- Query #12575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4624e9dc-ceab-b9ec-4734-6174feffc259'::uuid, 'Imdb', 'tt3124002')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4624e9dc-ceab-b9ec-4734-6174feffc259'::uuid, 'Tmdb', 992144)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4624e9dc-ceab-b9ec-4734-6174feffc259'::uuid, 'TvMaze', 200253)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12578 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid]);

-- Query #12579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4624e9dc-ceab-b9ec-4734-6174feffc259'::uuid, 'Tvdb', 4826154)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12580 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid;

-- Query #12581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4624e9dc-ceab-b9ec-4734-6174feffc259'::uuid, 'TvRage', 1065510235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid, 'Imdb', 'tt0751461')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid, 'Tmdb', 335034)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4624e9dc-ceab-b9ec-4734-6174feffc259'::uuid, 'trakt', 872316)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid, 'TvMaze', 41416)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4624e9dc-ceab-b9ec-4734-6174feffc259'::uuid, 'TmdbCollection', 992144)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12587 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid, 'Tvdb', 259709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12588 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4624e9dc-ceab-b9ec-4734-6174feffc259'::uuid;

-- Query #12589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid, 'tv maze', 41416)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12590 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4624e9dc-ceab-b9ec-4734-6174feffc259'::uuid;

-- Query #12591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid, 'TvRage', 236268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12592 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid, 'trakt', 343333)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12593 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid, 'eidr', '10.5240/BE9A-1F8F-B3A2-612D-6C12-5')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid, 'TmdbCollection', 335034)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12595 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid;

-- Query #12596 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid;

-- Query #12597 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4624e9dc-ceab-b9ec-4734-6174feffc259'::uuid]);

-- Query #12598 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4624e9dc-ceab-b9ec-4734-6174feffc259'::uuid;

-- Query #12599 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12600 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid]);

-- Query #12601 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e7447316-bbe9-fa40-738e-8e05c12a2f96'::uuid;

-- Query #12602 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12603 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '47279744-4741-743d-a3fb-fbe28c31a352'::uuid;

-- Query #12604 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1fd8210-0be7-9423-8c93-47375baa596e'::uuid;

-- Query #12605 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['47279744-4741-743d-a3fb-fbe28c31a352'::uuid]);

-- Query #12606 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '47279744-4741-743d-a3fb-fbe28c31a352'::uuid;

-- Query #12607 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47279744-4741-743d-a3fb-fbe28c31a352'::uuid, 'Imdb', 'tt0751440')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12608 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47279744-4741-743d-a3fb-fbe28c31a352'::uuid, 'Tmdb', 335038)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12609 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47279744-4741-743d-a3fb-fbe28c31a352'::uuid, 'TvMaze', 41420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47279744-4741-743d-a3fb-fbe28c31a352'::uuid, 'Tvdb', 259713)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47279744-4741-743d-a3fb-fbe28c31a352'::uuid, 'tv maze', 41420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47279744-4741-743d-a3fb-fbe28c31a352'::uuid, 'TvRage', 236272)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47279744-4741-743d-a3fb-fbe28c31a352'::uuid, 'trakt', 343337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12614 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47279744-4741-743d-a3fb-fbe28c31a352'::uuid, 'eidr', '10.5240/F5AF-E4CA-8ACE-3FA9-D3FB-F')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47279744-4741-743d-a3fb-fbe28c31a352'::uuid, 'TmdbCollection', 335038)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12616 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '47279744-4741-743d-a3fb-fbe28c31a352'::uuid;

-- Query #12617 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '47279744-4741-743d-a3fb-fbe28c31a352'::uuid;

-- Query #12618 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e1fd8210-0be7-9423-8c93-47375baa596e'::uuid]);

-- Query #12619 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e1fd8210-0be7-9423-8c93-47375baa596e'::uuid;

-- Query #12620 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1fd8210-0be7-9423-8c93-47375baa596e'::uuid, 'Imdb', 'tt3701410')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12621 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1fd8210-0be7-9423-8c93-47375baa596e'::uuid, 'Tmdb', 992146)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1fd8210-0be7-9423-8c93-47375baa596e'::uuid, 'TvMaze', 200255)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1fd8210-0be7-9423-8c93-47375baa596e'::uuid, 'Tvdb', 4872959)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1fd8210-0be7-9423-8c93-47375baa596e'::uuid, 'TvRage', 1065564804)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12625 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['47279744-4741-743d-a3fb-fbe28c31a352'::uuid]);

-- Query #12626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1fd8210-0be7-9423-8c93-47375baa596e'::uuid, 'trakt', 872318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1fd8210-0be7-9423-8c93-47375baa596e'::uuid, 'TmdbCollection', 992146)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12628 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '47279744-4741-743d-a3fb-fbe28c31a352'::uuid;

-- Query #12629 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1fd8210-0be7-9423-8c93-47375baa596e'::uuid;

-- Query #12630 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e1fd8210-0be7-9423-8c93-47375baa596e'::uuid;

-- Query #12631 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12632 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e1fd8210-0be7-9423-8c93-47375baa596e'::uuid]);

-- Query #12633 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e1fd8210-0be7-9423-8c93-47375baa596e'::uuid;

-- Query #12634 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12635 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1a4baeaa-b125-8cba-23c5-667ec8b1cc9b'::uuid;

-- Query #12636 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a161258b-c147-cb64-a022-f1c652c605b2'::uuid;

-- Query #12637 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1a4baeaa-b125-8cba-23c5-667ec8b1cc9b'::uuid]);

-- Query #12638 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1a4baeaa-b125-8cba-23c5-667ec8b1cc9b'::uuid;

-- Query #12639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a4baeaa-b125-8cba-23c5-667ec8b1cc9b'::uuid, 'TmdbCollection', 1019776)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a4baeaa-b125-8cba-23c5-667ec8b1cc9b'::uuid, 'Imdb', 'tt4150774')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12641 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a161258b-c147-cb64-a022-f1c652c605b2'::uuid]);

-- Query #12642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a4baeaa-b125-8cba-23c5-667ec8b1cc9b'::uuid, 'Tmdb', 1019776)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12643 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a161258b-c147-cb64-a022-f1c652c605b2'::uuid;

-- Query #12644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a4baeaa-b125-8cba-23c5-667ec8b1cc9b'::uuid, 'TvMaze', 200269)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a4baeaa-b125-8cba-23c5-667ec8b1cc9b'::uuid, 'Tvdb', 5039477)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12646 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a161258b-c147-cb64-a022-f1c652c605b2'::uuid, 'Imdb', 'tt0751441')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a161258b-c147-cb64-a022-f1c652c605b2'::uuid, 'Tmdb', 335031)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12648 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a4baeaa-b125-8cba-23c5-667ec8b1cc9b'::uuid, 'TvRage', 1065714319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12649 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a161258b-c147-cb64-a022-f1c652c605b2'::uuid, 'TvMaze', 41413)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12650 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a4baeaa-b125-8cba-23c5-667ec8b1cc9b'::uuid, 'trakt', 1389086)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a161258b-c147-cb64-a022-f1c652c605b2'::uuid, 'Tvdb', 259706)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12652 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1a4baeaa-b125-8cba-23c5-667ec8b1cc9b'::uuid;

-- Query #12653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a161258b-c147-cb64-a022-f1c652c605b2'::uuid, 'tv maze', 41413)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12654 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1a4baeaa-b125-8cba-23c5-667ec8b1cc9b'::uuid;

-- Query #12655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a161258b-c147-cb64-a022-f1c652c605b2'::uuid, 'TvRage', 236265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a161258b-c147-cb64-a022-f1c652c605b2'::uuid, 'trakt', 343330)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a161258b-c147-cb64-a022-f1c652c605b2'::uuid, 'eidr', '10.5240/1406-C3B1-AE64-1789-5BA5-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a161258b-c147-cb64-a022-f1c652c605b2'::uuid, 'TmdbCollection', 335031)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a161258b-c147-cb64-a022-f1c652c605b2'::uuid;

-- Query #12660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a161258b-c147-cb64-a022-f1c652c605b2'::uuid;

-- Query #12661 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1a4baeaa-b125-8cba-23c5-667ec8b1cc9b'::uuid]);

-- Query #12662 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1a4baeaa-b125-8cba-23c5-667ec8b1cc9b'::uuid;

-- Query #12663 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12664 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a161258b-c147-cb64-a022-f1c652c605b2'::uuid]);

-- Query #12665 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a161258b-c147-cb64-a022-f1c652c605b2'::uuid;

-- Query #12666 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12667 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid;

-- Query #12668 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6f388ba-a992-2524-1457-e16293157705'::uuid;

-- Query #12669 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid]);

-- Query #12670 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid;

-- Query #12671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid, 'TvRage', 236262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid, 'trakt', 343327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid, 'TmdbCollection', 335028)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid, 'eidr', '10.5240/00BE-A9AD-034F-937B-E484-L')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid, 'Imdb', 'tt0751473')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid, 'Tmdb', 335028)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid, 'TvMaze', 41410)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12678 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid, 'Tvdb', 259703)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12679 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid, 'tv maze', 41410)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12680 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid;

-- Query #12681 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid;

-- Query #12682 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6f388ba-a992-2524-1457-e16293157705'::uuid]);

-- Query #12683 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e6f388ba-a992-2524-1457-e16293157705'::uuid;

-- Query #12684 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6f388ba-a992-2524-1457-e16293157705'::uuid, 'Imdb', 'tt3738534')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12685 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6f388ba-a992-2524-1457-e16293157705'::uuid, 'Tmdb', 992149)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12686 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid]);

-- Query #12687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6f388ba-a992-2524-1457-e16293157705'::uuid, 'TvMaze', 200258)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6f388ba-a992-2524-1457-e16293157705'::uuid, 'Tvdb', 4903569)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12689 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '179d730f-8f52-6347-19d2-f8f6e8d5a181'::uuid;

-- Query #12690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6f388ba-a992-2524-1457-e16293157705'::uuid, 'TvRage', 1065579647)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12691 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6f388ba-a992-2524-1457-e16293157705'::uuid, 'trakt', 872321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6f388ba-a992-2524-1457-e16293157705'::uuid, 'TmdbCollection', 992149)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12694 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6f388ba-a992-2524-1457-e16293157705'::uuid;

-- Query #12695 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e6f388ba-a992-2524-1457-e16293157705'::uuid;

-- Query #12696 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e6f388ba-a992-2524-1457-e16293157705'::uuid]);

-- Query #12697 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e6f388ba-a992-2524-1457-e16293157705'::uuid;

-- Query #12698 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12699 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid;

-- Query #12700 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13f3855f-4dc2-8336-076a-a0434c8fd3bc'::uuid;

-- Query #12701 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid]);

-- Query #12702 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid;

-- Query #12703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid, 'eidr', '10.5240/4D9D-6D58-ADB2-6C83-C7D6-Q')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid, 'Imdb', 'tt0751542')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid, 'Tmdb', 335033)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid, 'TvMaze', 41415)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid, 'Tvdb', 259708)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid, 'tv maze', 41415)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid, 'TvRage', 236267)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid, 'trakt', 343332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid, 'TmdbCollection', 335033)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12712 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13f3855f-4dc2-8336-076a-a0434c8fd3bc'::uuid]);

-- Query #12713 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid;

-- Query #12714 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '13f3855f-4dc2-8336-076a-a0434c8fd3bc'::uuid;

-- Query #12715 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid;

-- Query #12716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13f3855f-4dc2-8336-076a-a0434c8fd3bc'::uuid, 'TmdbCollection', 1019775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13f3855f-4dc2-8336-076a-a0434c8fd3bc'::uuid, 'Imdb', 'tt4126890')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13f3855f-4dc2-8336-076a-a0434c8fd3bc'::uuid, 'Tmdb', 1019775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13f3855f-4dc2-8336-076a-a0434c8fd3bc'::uuid, 'TvMaze', 200268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13f3855f-4dc2-8336-076a-a0434c8fd3bc'::uuid, 'Tvdb', 5039474)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13f3855f-4dc2-8336-076a-a0434c8fd3bc'::uuid, 'TvRage', 1065714212)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13f3855f-4dc2-8336-076a-a0434c8fd3bc'::uuid, 'trakt', 1389082)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12723 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13f3855f-4dc2-8336-076a-a0434c8fd3bc'::uuid;

-- Query #12724 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '13f3855f-4dc2-8336-076a-a0434c8fd3bc'::uuid;

-- Query #12725 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid]);

-- Query #12726 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '83c0f0b8-07db-fc6c-d0dd-76a431a84ea1'::uuid;

-- Query #12727 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12728 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['13f3855f-4dc2-8336-076a-a0434c8fd3bc'::uuid]);

-- Query #12729 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '13f3855f-4dc2-8336-076a-a0434c8fd3bc'::uuid;

-- Query #12730 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12731 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #12732 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82475505-8d21-c52e-6ec7-51974dc8ec6f'::uuid;

-- Query #12733 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '296d960b-53d0-e81d-1943-a81f66fac25c'::uuid;

-- Query #12734 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82475505-8d21-c52e-6ec7-51974dc8ec6f'::uuid]);

-- Query #12735 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82475505-8d21-c52e-6ec7-51974dc8ec6f'::uuid;

-- Query #12736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82475505-8d21-c52e-6ec7-51974dc8ec6f'::uuid, 'Tmdb', 992147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82475505-8d21-c52e-6ec7-51974dc8ec6f'::uuid, 'TvMaze', 200256)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82475505-8d21-c52e-6ec7-51974dc8ec6f'::uuid, 'Tvdb', 4903567)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82475505-8d21-c52e-6ec7-51974dc8ec6f'::uuid, 'TvRage', 1065579645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82475505-8d21-c52e-6ec7-51974dc8ec6f'::uuid, 'trakt', 872319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12741 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['296d960b-53d0-e81d-1943-a81f66fac25c'::uuid]);

-- Query #12742 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82475505-8d21-c52e-6ec7-51974dc8ec6f'::uuid, 'Imdb', 'tt3697918')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12743 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82475505-8d21-c52e-6ec7-51974dc8ec6f'::uuid, 'TmdbCollection', 992147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12744 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '296d960b-53d0-e81d-1943-a81f66fac25c'::uuid;

-- Query #12745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('296d960b-53d0-e81d-1943-a81f66fac25c'::uuid, 'Imdb', 'tt0751481')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12746 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82475505-8d21-c52e-6ec7-51974dc8ec6f'::uuid;

-- Query #12747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('296d960b-53d0-e81d-1943-a81f66fac25c'::uuid, 'Tmdb', 335032)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12748 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82475505-8d21-c52e-6ec7-51974dc8ec6f'::uuid;

-- Query #12749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('296d960b-53d0-e81d-1943-a81f66fac25c'::uuid, 'TvMaze', 41414)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12750 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('296d960b-53d0-e81d-1943-a81f66fac25c'::uuid, 'Tvdb', 259707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('296d960b-53d0-e81d-1943-a81f66fac25c'::uuid, 'tv maze', 41414)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('296d960b-53d0-e81d-1943-a81f66fac25c'::uuid, 'TvRage', 236266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12753 | logged_duration_ms=3 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('296d960b-53d0-e81d-1943-a81f66fac25c'::uuid, 'trakt', 343331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('296d960b-53d0-e81d-1943-a81f66fac25c'::uuid, 'eidr', '10.5240/32D0-FD7F-B8C5-6EFB-8A08-L')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('296d960b-53d0-e81d-1943-a81f66fac25c'::uuid, 'TmdbCollection', 335032)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12756 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82475505-8d21-c52e-6ec7-51974dc8ec6f'::uuid]);

-- Query #12757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '296d960b-53d0-e81d-1943-a81f66fac25c'::uuid;

-- Query #12758 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '296d960b-53d0-e81d-1943-a81f66fac25c'::uuid;

-- Query #12759 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '82475505-8d21-c52e-6ec7-51974dc8ec6f'::uuid;

-- Query #12760 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12761 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['296d960b-53d0-e81d-1943-a81f66fac25c'::uuid]);

-- Query #12762 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '296d960b-53d0-e81d-1943-a81f66fac25c'::uuid;

-- Query #12763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12764 | logged_duration_ms=2 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid;

-- Query #12765 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b7a8db9a-cffb-7f08-7029-4caf0a93e655'::uuid;

-- Query #12766 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid]);

-- Query #12767 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid;

-- Query #12768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid, 'TmdbCollection', 335020)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid, 'Imdb', 'tt0751544')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid, 'Tmdb', 335020)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12771 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7a8db9a-cffb-7f08-7029-4caf0a93e655'::uuid]);

-- Query #12772 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid, 'TvMaze', 41401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12773 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid, 'Tvdb', 259694)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12774 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b7a8db9a-cffb-7f08-7029-4caf0a93e655'::uuid;

-- Query #12775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid, 'tv maze', 41401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7a8db9a-cffb-7f08-7029-4caf0a93e655'::uuid, 'trakt', 1389044)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid, 'TvRage', 236253)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid, 'trakt', 343318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7a8db9a-cffb-7f08-7029-4caf0a93e655'::uuid, 'TmdbCollection', 1019771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7a8db9a-cffb-7f08-7029-4caf0a93e655'::uuid, 'Imdb', 'tt3978102')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid, 'eidr', '10.5240/394F-EF8D-A664-7230-EE00-6')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7a8db9a-cffb-7f08-7029-4caf0a93e655'::uuid, 'Tmdb', 1019771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12783 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid;

-- Query #12784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7a8db9a-cffb-7f08-7029-4caf0a93e655'::uuid, 'TvMaze', 200264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12785 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid;

-- Query #12786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7a8db9a-cffb-7f08-7029-4caf0a93e655'::uuid, 'Tvdb', 4999923)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7a8db9a-cffb-7f08-7029-4caf0a93e655'::uuid, 'TvRage', 1065711270)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12788 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b7a8db9a-cffb-7f08-7029-4caf0a93e655'::uuid;

-- Query #12789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b7a8db9a-cffb-7f08-7029-4caf0a93e655'::uuid;

-- Query #12790 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid]);

-- Query #12791 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2128e8ff-69cd-502f-ebd2-6de379b2c9a3'::uuid;

-- Query #12792 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b7a8db9a-cffb-7f08-7029-4caf0a93e655'::uuid]);

-- Query #12793 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12794 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b7a8db9a-cffb-7f08-7029-4caf0a93e655'::uuid;

-- Query #12795 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12796 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf1c43b8-747a-c285-00b1-47aa042227b0'::uuid;

-- Query #12797 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid;

-- Query #12798 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf1c43b8-747a-c285-00b1-47aa042227b0'::uuid]);

-- Query #12799 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cf1c43b8-747a-c285-00b1-47aa042227b0'::uuid;

-- Query #12800 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf1c43b8-747a-c285-00b1-47aa042227b0'::uuid, 'Imdb', 'tt3659626')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf1c43b8-747a-c285-00b1-47aa042227b0'::uuid, 'Tmdb', 992154)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf1c43b8-747a-c285-00b1-47aa042227b0'::uuid, 'TvMaze', 200254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf1c43b8-747a-c285-00b1-47aa042227b0'::uuid, 'Tvdb', 4872958)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf1c43b8-747a-c285-00b1-47aa042227b0'::uuid, 'TvRage', 1065564803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf1c43b8-747a-c285-00b1-47aa042227b0'::uuid, 'trakt', 872317)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf1c43b8-747a-c285-00b1-47aa042227b0'::uuid, 'TmdbCollection', 992154)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12807 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf1c43b8-747a-c285-00b1-47aa042227b0'::uuid;

-- Query #12808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cf1c43b8-747a-c285-00b1-47aa042227b0'::uuid;

-- Query #12809 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid]);

-- Query #12810 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid;

-- Query #12811 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cf1c43b8-747a-c285-00b1-47aa042227b0'::uuid]);

-- Query #12812 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid, 'trakt', 343319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12813 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid, 'eidr', '10.5240/A52E-BD01-5295-DA9F-DDCC-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12814 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cf1c43b8-747a-c285-00b1-47aa042227b0'::uuid;

-- Query #12815 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid, 'TmdbCollection', 335017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12816 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12817 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid, 'Imdb', 'tt0751485')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12818 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid, 'Tmdb', 335017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid, 'TvMaze', 41402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid, 'Tvdb', 259695)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid, 'tv maze', 41402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid, 'TvRage', 236254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12823 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid;

-- Query #12824 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid;

-- Query #12825 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid]);

-- Query #12826 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8ccc5e16-38ba-9baa-18ca-ecb66d8cc905'::uuid;

-- Query #12827 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12828 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e3dc036a-051d-0d5d-c4a4-11dcf385287d'::uuid;

-- Query #12829 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e3dc036a-051d-0d5d-c4a4-11dcf385287d'::uuid]);

-- Query #12830 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e3dc036a-051d-0d5d-c4a4-11dcf385287d'::uuid;

-- Query #12831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3dc036a-051d-0d5d-c4a4-11dcf385287d'::uuid, 'Imdb', 'tt4150770')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3dc036a-051d-0d5d-c4a4-11dcf385287d'::uuid, 'Tmdb', 1019777)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3dc036a-051d-0d5d-c4a4-11dcf385287d'::uuid, 'TvMaze', 200270)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3dc036a-051d-0d5d-c4a4-11dcf385287d'::uuid, 'Tvdb', 5052320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3dc036a-051d-0d5d-c4a4-11dcf385287d'::uuid, 'TvRage', 1065714324)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12836 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3dc036a-051d-0d5d-c4a4-11dcf385287d'::uuid, 'trakt', 1389089)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3dc036a-051d-0d5d-c4a4-11dcf385287d'::uuid, 'TmdbCollection', 1019777)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12838 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e3dc036a-051d-0d5d-c4a4-11dcf385287d'::uuid;

-- Query #12839 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e3dc036a-051d-0d5d-c4a4-11dcf385287d'::uuid;

-- Query #12840 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e3dc036a-051d-0d5d-c4a4-11dcf385287d'::uuid]);

-- Query #12841 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e3dc036a-051d-0d5d-c4a4-11dcf385287d'::uuid;

-- Query #12842 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12843 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid;

-- Query #12844 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid]);

-- Query #12845 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid;

-- Query #12846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid, 'eidr', '10.5240/A670-2E9E-2966-533A-A475-I')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12847 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid, 'TmdbCollection', 335023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12848 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid, 'Imdb', 'tt0751493')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12849 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid, 'Tmdb', 335023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid, 'TvMaze', 41405)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid, 'Tvdb', 259698)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid, 'tv maze', 41405)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid, 'TvRage', 236257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid, 'trakt', 343322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12855 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid;

-- Query #12856 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid;

-- Query #12857 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid]);

-- Query #12858 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '46249cb0-d6fb-9be5-a2a2-f95d8ea3bf98'::uuid;

-- Query #12859 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12860 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '56c646bb-5b53-fa3c-0d4f-0d5d798955ae'::uuid;

-- Query #12861 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56c646bb-5b53-fa3c-0d4f-0d5d798955ae'::uuid]);

-- Query #12862 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '56c646bb-5b53-fa3c-0d4f-0d5d798955ae'::uuid;

-- Query #12863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56c646bb-5b53-fa3c-0d4f-0d5d798955ae'::uuid, 'Tmdb', 1019778)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12864 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56c646bb-5b53-fa3c-0d4f-0d5d798955ae'::uuid, 'TvMaze', 200271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56c646bb-5b53-fa3c-0d4f-0d5d798955ae'::uuid, 'Tvdb', 5052321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56c646bb-5b53-fa3c-0d4f-0d5d798955ae'::uuid, 'TvRage', 1065714325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56c646bb-5b53-fa3c-0d4f-0d5d798955ae'::uuid, 'trakt', 1389090)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12868 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56c646bb-5b53-fa3c-0d4f-0d5d798955ae'::uuid, 'TmdbCollection', 1019778)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12869 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56c646bb-5b53-fa3c-0d4f-0d5d798955ae'::uuid, 'Imdb', 'tt4001236')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12870 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '56c646bb-5b53-fa3c-0d4f-0d5d798955ae'::uuid;

-- Query #12871 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '56c646bb-5b53-fa3c-0d4f-0d5d798955ae'::uuid;

-- Query #12872 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0030406-5dba-c904-b043-e73c60b0f946'::uuid;

-- Query #12873 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['56c646bb-5b53-fa3c-0d4f-0d5d798955ae'::uuid]);

-- Query #12874 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '56c646bb-5b53-fa3c-0d4f-0d5d798955ae'::uuid;

-- Query #12875 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12876 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d0030406-5dba-c904-b043-e73c60b0f946'::uuid]);

-- Query #12877 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd0030406-5dba-c904-b043-e73c60b0f946'::uuid;

-- Query #12878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0030406-5dba-c904-b043-e73c60b0f946'::uuid, 'Imdb', 'tt0751447')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0030406-5dba-c904-b043-e73c60b0f946'::uuid, 'Tmdb', 335030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0030406-5dba-c904-b043-e73c60b0f946'::uuid, 'TvMaze', 41412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0030406-5dba-c904-b043-e73c60b0f946'::uuid, 'Tvdb', 259705)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0030406-5dba-c904-b043-e73c60b0f946'::uuid, 'tv maze', 41412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0030406-5dba-c904-b043-e73c60b0f946'::uuid, 'TvRage', 236264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0030406-5dba-c904-b043-e73c60b0f946'::uuid, 'trakt', 343329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0030406-5dba-c904-b043-e73c60b0f946'::uuid, 'eidr', '10.5240/B7EC-8827-1901-A5E8-50D2-5')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0030406-5dba-c904-b043-e73c60b0f946'::uuid, 'TmdbCollection', 335030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12887 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0030406-5dba-c904-b043-e73c60b0f946'::uuid;

-- Query #12888 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd0030406-5dba-c904-b043-e73c60b0f946'::uuid;

-- Query #12889 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6583559a-14d8-29a8-b265-94ab5d99fa7b'::uuid;

-- Query #12890 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d0030406-5dba-c904-b043-e73c60b0f946'::uuid]);

-- Query #12891 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd0030406-5dba-c904-b043-e73c60b0f946'::uuid;

-- Query #12892 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12893 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6583559a-14d8-29a8-b265-94ab5d99fa7b'::uuid]);

-- Query #12894 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6583559a-14d8-29a8-b265-94ab5d99fa7b'::uuid;

-- Query #12895 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6583559a-14d8-29a8-b265-94ab5d99fa7b'::uuid, 'Imdb', 'tt3859434')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6583559a-14d8-29a8-b265-94ab5d99fa7b'::uuid, 'Tmdb', 995711)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6583559a-14d8-29a8-b265-94ab5d99fa7b'::uuid, 'TvMaze', 200261)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6583559a-14d8-29a8-b265-94ab5d99fa7b'::uuid, 'Tvdb', 4931454)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12899 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6583559a-14d8-29a8-b265-94ab5d99fa7b'::uuid, 'TvRage', 1065579650)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12900 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6583559a-14d8-29a8-b265-94ab5d99fa7b'::uuid, 'trakt', 872324)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12901 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6583559a-14d8-29a8-b265-94ab5d99fa7b'::uuid, 'TmdbCollection', 995711)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12902 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6583559a-14d8-29a8-b265-94ab5d99fa7b'::uuid;

-- Query #12903 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6583559a-14d8-29a8-b265-94ab5d99fa7b'::uuid;

-- Query #12904 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6583559a-14d8-29a8-b265-94ab5d99fa7b'::uuid]);

-- Query #12905 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6583559a-14d8-29a8-b265-94ab5d99fa7b'::uuid;

-- Query #12906 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12907 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid;

-- Query #12908 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid]);

-- Query #12909 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid;

-- Query #12910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid, 'eidr', '10.5240/0CEF-FC8F-E505-4120-B69B-8')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid, 'TmdbCollection', 335018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid, 'Imdb', 'tt0751515')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid, 'Tmdb', 335018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid, 'TvMaze', 41399)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12915 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid, 'Tvdb', 259692)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12916 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid, 'tv maze', 41399)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12917 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid, 'TvRage', 236251)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid, 'trakt', 343316)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12919 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid;

-- Query #12920 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid;

-- Query #12921 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce90caa4-491d-57e8-547a-6d2e90a24425'::uuid;

-- Query #12922 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid]);

-- Query #12923 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce90caa4-491d-57e8-547a-6d2e90a24425'::uuid]);

-- Query #12924 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ec973663-947f-11fc-78a6-33467a5fbb2d'::uuid;

-- Query #12925 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ce90caa4-491d-57e8-547a-6d2e90a24425'::uuid;

-- Query #12926 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce90caa4-491d-57e8-547a-6d2e90a24425'::uuid, 'trakt', 1389069)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12928 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce90caa4-491d-57e8-547a-6d2e90a24425'::uuid, 'TmdbCollection', 1019773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12929 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce90caa4-491d-57e8-547a-6d2e90a24425'::uuid, 'Imdb', 'tt4131692')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12930 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce90caa4-491d-57e8-547a-6d2e90a24425'::uuid, 'Tmdb', 1019773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12931 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce90caa4-491d-57e8-547a-6d2e90a24425'::uuid, 'TvMaze', 200266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12932 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce90caa4-491d-57e8-547a-6d2e90a24425'::uuid, 'Tvdb', 5039472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12933 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce90caa4-491d-57e8-547a-6d2e90a24425'::uuid, 'TvRage', 1065714200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12934 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce90caa4-491d-57e8-547a-6d2e90a24425'::uuid;

-- Query #12935 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ce90caa4-491d-57e8-547a-6d2e90a24425'::uuid;

-- Query #12936 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ce90caa4-491d-57e8-547a-6d2e90a24425'::uuid]);

-- Query #12937 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ce90caa4-491d-57e8-547a-6d2e90a24425'::uuid;

-- Query #12938 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12939 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid;

-- Query #12940 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid]);

-- Query #12941 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid;

-- Query #12942 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid, 'TmdbCollection', 335036)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12943 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid, 'Imdb', 'tt0751550')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12944 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid, 'Tmdb', 335036)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12945 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid, 'TvMaze', 41418)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12946 | logged_duration_ms=2 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89955a2e-320f-dfe2-3e5f-e3945218ab38'::uuid;

-- Query #12947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid, 'Tvdb', 259711)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid, 'tv maze', 41418)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid, 'TvRage', 236270)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid, 'trakt', 343335)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid, 'eidr', '10.5240/0180-BCA7-60FF-35BD-7217-1')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12952 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid;

-- Query #12953 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid;

-- Query #12954 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['89955a2e-320f-dfe2-3e5f-e3945218ab38'::uuid]);

-- Query #12955 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '89955a2e-320f-dfe2-3e5f-e3945218ab38'::uuid;

-- Query #12956 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89955a2e-320f-dfe2-3e5f-e3945218ab38'::uuid, 'Imdb', 'tt3803090')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89955a2e-320f-dfe2-3e5f-e3945218ab38'::uuid, 'Tmdb', 992150)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12958 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89955a2e-320f-dfe2-3e5f-e3945218ab38'::uuid, 'TvMaze', 200259)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12959 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89955a2e-320f-dfe2-3e5f-e3945218ab38'::uuid, 'Tvdb', 4927888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12960 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89955a2e-320f-dfe2-3e5f-e3945218ab38'::uuid, 'TvRage', 1065579648)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12961 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89955a2e-320f-dfe2-3e5f-e3945218ab38'::uuid, 'trakt', 872322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12962 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid]);

-- Query #12963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89955a2e-320f-dfe2-3e5f-e3945218ab38'::uuid, 'TmdbCollection', 992150)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12964 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89955a2e-320f-dfe2-3e5f-e3945218ab38'::uuid;

-- Query #12965 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ca0a2e6c-cf1a-53f6-dc6e-ea68d212c0b6'::uuid;

-- Query #12966 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '89955a2e-320f-dfe2-3e5f-e3945218ab38'::uuid;

-- Query #12967 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12968 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['89955a2e-320f-dfe2-3e5f-e3945218ab38'::uuid]);

-- Query #12969 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '89955a2e-320f-dfe2-3e5f-e3945218ab38'::uuid;

-- Query #12970 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #12971 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6d4805f2-3e80-d9d9-a91d-36184d850d5d'::uuid;

-- Query #12972 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid;

-- Query #12973 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d4805f2-3e80-d9d9-a91d-36184d850d5d'::uuid]);

-- Query #12974 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6d4805f2-3e80-d9d9-a91d-36184d850d5d'::uuid;

-- Query #12975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d4805f2-3e80-d9d9-a91d-36184d850d5d'::uuid, 'Imdb', 'tt3867438')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d4805f2-3e80-d9d9-a91d-36184d850d5d'::uuid, 'Tmdb', 1001151)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d4805f2-3e80-d9d9-a91d-36184d850d5d'::uuid, 'TvMaze', 200262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d4805f2-3e80-d9d9-a91d-36184d850d5d'::uuid, 'Tvdb', 4934429)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12979 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid]);

-- Query #12980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d4805f2-3e80-d9d9-a91d-36184d850d5d'::uuid, 'TvRage', 1065579651)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d4805f2-3e80-d9d9-a91d-36184d850d5d'::uuid, 'trakt', 872325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12982 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid;

-- Query #12983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6d4805f2-3e80-d9d9-a91d-36184d850d5d'::uuid, 'TmdbCollection', 1001151)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12984 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid, 'eidr', '10.5240/5594-6D26-DDE3-EFFA-A171-6')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12985 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid, 'TmdbCollection', 335029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12986 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6d4805f2-3e80-d9d9-a91d-36184d850d5d'::uuid;

-- Query #12987 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid, 'Imdb', 'tt0751552')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12988 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6d4805f2-3e80-d9d9-a91d-36184d850d5d'::uuid;

-- Query #12989 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid, 'Tmdb', 335029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid, 'TvMaze', 41411)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid, 'Tvdb', 259704)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid, 'tv maze', 41411)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid, 'TvRage', 236263)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid, 'trakt', 343328)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #12995 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid;

-- Query #12996 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid;

-- Query #12997 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6d4805f2-3e80-d9d9-a91d-36184d850d5d'::uuid]);

-- Query #12998 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6d4805f2-3e80-d9d9-a91d-36184d850d5d'::uuid;

-- Query #12999 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13000 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid]);

-- Query #13001 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0ec7d6ac-548a-96ce-218f-7aa820263037'::uuid;

-- Query #13002 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13003 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid;

-- Query #13004 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da89c5e2-abd0-e160-4c27-cb1da0962d3c'::uuid;

-- Query #13005 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid]);

-- Query #13006 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid;

-- Query #13007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid, 'TmdbCollection', 335019)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid, 'Imdb', 'tt0751522')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid, 'Tmdb', 335019)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13010 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da89c5e2-abd0-e160-4c27-cb1da0962d3c'::uuid]);

-- Query #13011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid, 'TvMaze', 41400)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13012 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'da89c5e2-abd0-e160-4c27-cb1da0962d3c'::uuid;

-- Query #13013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid, 'Tvdb', 259693)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da89c5e2-abd0-e160-4c27-cb1da0962d3c'::uuid, 'Imdb', 'tt4789950')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid, 'tv maze', 41400)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da89c5e2-abd0-e160-4c27-cb1da0962d3c'::uuid, 'Tmdb', 1134163)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid, 'TvRage', 236252)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13018 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da89c5e2-abd0-e160-4c27-cb1da0962d3c'::uuid, 'trakt', 1956216)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid, 'trakt', 343317)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13020 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da89c5e2-abd0-e160-4c27-cb1da0962d3c'::uuid, 'TvMaze', 266990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13021 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid, 'eidr', '10.5240/818D-B513-344D-D415-20AD-H')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13022 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da89c5e2-abd0-e160-4c27-cb1da0962d3c'::uuid, 'Tvdb', 5302978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13023 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid;

-- Query #13024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da89c5e2-abd0-e160-4c27-cb1da0962d3c'::uuid, 'TmdbCollection', 1134163)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13025 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid;

-- Query #13026 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da89c5e2-abd0-e160-4c27-cb1da0962d3c'::uuid;

-- Query #13027 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'da89c5e2-abd0-e160-4c27-cb1da0962d3c'::uuid;

-- Query #13028 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid]);

-- Query #13029 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['da89c5e2-abd0-e160-4c27-cb1da0962d3c'::uuid]);

-- Query #13030 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2e32422a-bea7-9ba5-4f6c-175043f0d201'::uuid;

-- Query #13031 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'da89c5e2-abd0-e160-4c27-cb1da0962d3c'::uuid;

-- Query #13032 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13033 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13034 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid;

-- Query #13035 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fdd7de09-76b6-03d2-592f-4444d7b57dd3'::uuid;

-- Query #13036 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid]);

-- Query #13037 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid;

-- Query #13038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid, 'eidr', '10.5240/5116-CB30-83F5-DFDB-B960-6')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13039 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid, 'TmdbCollection', 335021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13040 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid, 'Imdb', 'tt0751523')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13041 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid, 'Tmdb', 335021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13042 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid, 'TvMaze', 41403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13043 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid, 'Tvdb', 259696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13044 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid, 'tv maze', 41403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid, 'TvRage', 236255)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid, 'trakt', 343320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13047 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid;

-- Query #13048 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid;

-- Query #13049 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fdd7de09-76b6-03d2-592f-4444d7b57dd3'::uuid]);

-- Query #13050 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fdd7de09-76b6-03d2-592f-4444d7b57dd3'::uuid;

-- Query #13051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fdd7de09-76b6-03d2-592f-4444d7b57dd3'::uuid, 'Imdb', 'tt4800762')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fdd7de09-76b6-03d2-592f-4444d7b57dd3'::uuid, 'Tmdb', 1146839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fdd7de09-76b6-03d2-592f-4444d7b57dd3'::uuid, 'trakt', 2057243)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13054 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid]);

-- Query #13055 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fdd7de09-76b6-03d2-592f-4444d7b57dd3'::uuid, 'TvMaze', 473851)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13056 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fdd7de09-76b6-03d2-592f-4444d7b57dd3'::uuid, 'Tvdb', 5405372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13057 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4dde9c35-df1a-bb92-8f2d-cb8a2a32c48c'::uuid;

-- Query #13058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fdd7de09-76b6-03d2-592f-4444d7b57dd3'::uuid, 'TmdbCollection', 1146839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13059 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13060 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fdd7de09-76b6-03d2-592f-4444d7b57dd3'::uuid;

-- Query #13061 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fdd7de09-76b6-03d2-592f-4444d7b57dd3'::uuid;

-- Query #13062 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fdd7de09-76b6-03d2-592f-4444d7b57dd3'::uuid]);

-- Query #13063 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fdd7de09-76b6-03d2-592f-4444d7b57dd3'::uuid;

-- Query #13064 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13065 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid;

-- Query #13066 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid]);

-- Query #13067 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid;

-- Query #13068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid, 'TmdbCollection', 335025)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid, 'Imdb', 'tt0751448')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13070 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7bbd02a1-6328-f05b-e5cd-89fca4e350bf'::uuid;

-- Query #13071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid, 'Tmdb', 335025)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid, 'TvMaze', 41407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid, 'Tvdb', 259700)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid, 'tv maze', 41407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid, 'TvRage', 236259)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid, 'trakt', 343324)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13077 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid, 'eidr', '10.5240/2983-3185-02F8-099E-7B27-5')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13078 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7bbd02a1-6328-f05b-e5cd-89fca4e350bf'::uuid]);

-- Query #13079 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid;

-- Query #13080 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7bbd02a1-6328-f05b-e5cd-89fca4e350bf'::uuid;

-- Query #13081 | logged_duration_ms=7 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid;

-- Query #13082 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bbd02a1-6328-f05b-e5cd-89fca4e350bf'::uuid, 'Imdb', 'tt4789946')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13083 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bbd02a1-6328-f05b-e5cd-89fca4e350bf'::uuid, 'Tmdb', 1133998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13084 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bbd02a1-6328-f05b-e5cd-89fca4e350bf'::uuid, 'trakt', 1930487)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13085 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bbd02a1-6328-f05b-e5cd-89fca4e350bf'::uuid, 'TvMaze', 266989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13086 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bbd02a1-6328-f05b-e5cd-89fca4e350bf'::uuid, 'Tvdb', 5277578)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bbd02a1-6328-f05b-e5cd-89fca4e350bf'::uuid, 'TmdbCollection', 1133998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13088 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7bbd02a1-6328-f05b-e5cd-89fca4e350bf'::uuid;

-- Query #13089 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7bbd02a1-6328-f05b-e5cd-89fca4e350bf'::uuid;

-- Query #13090 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid]);

-- Query #13091 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ef1158e7-6e29-22f2-c524-1dc2a1e68d5c'::uuid;

-- Query #13092 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13093 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7bbd02a1-6328-f05b-e5cd-89fca4e350bf'::uuid]);

-- Query #13094 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7bbd02a1-6328-f05b-e5cd-89fca4e350bf'::uuid;

-- Query #13095 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13096 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid;

-- Query #13097 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '30354ffb-5589-e775-a833-01dbe1de6f81'::uuid;

-- Query #13098 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid]);

-- Query #13099 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid;

-- Query #13100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid, 'TmdbCollection', 335024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid, 'Imdb', 'tt0751533')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid, 'Tmdb', 335024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid, 'TvMaze', 41406)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13104 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30354ffb-5589-e775-a833-01dbe1de6f81'::uuid]);

-- Query #13105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid, 'Tvdb', 259699)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13106 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '30354ffb-5589-e775-a833-01dbe1de6f81'::uuid;

-- Query #13107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid, 'tv maze', 41406)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid, 'TvRage', 236258)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30354ffb-5589-e775-a833-01dbe1de6f81'::uuid, 'TmdbCollection', 1166087)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid, 'trakt', 343323)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13111 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30354ffb-5589-e775-a833-01dbe1de6f81'::uuid, 'Imdb', 'tt4958504')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13112 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid, 'eidr', '10.5240/5DF2-3B4D-6DE1-EAA7-5040-4')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30354ffb-5589-e775-a833-01dbe1de6f81'::uuid, 'Tmdb', 1166087)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13114 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30354ffb-5589-e775-a833-01dbe1de6f81'::uuid, 'trakt', 2079523)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13115 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid;

-- Query #13116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30354ffb-5589-e775-a833-01dbe1de6f81'::uuid, 'TvMaze', 541911)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13117 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid;

-- Query #13118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30354ffb-5589-e775-a833-01dbe1de6f81'::uuid, 'Tvdb', 5428709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13119 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '30354ffb-5589-e775-a833-01dbe1de6f81'::uuid;

-- Query #13120 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '30354ffb-5589-e775-a833-01dbe1de6f81'::uuid;

-- Query #13121 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid]);

-- Query #13122 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['30354ffb-5589-e775-a833-01dbe1de6f81'::uuid]);

-- Query #13123 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1ff400e0-2e05-24e3-2758-4e8b245540f3'::uuid;

-- Query #13124 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '30354ffb-5589-e775-a833-01dbe1de6f81'::uuid;

-- Query #13125 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13126 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13127 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14e02460-173e-baaa-6f7c-af8374453cce'::uuid;

-- Query #13128 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14e02460-173e-baaa-6f7c-af8374453cce'::uuid]);

-- Query #13129 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '14e02460-173e-baaa-6f7c-af8374453cce'::uuid;

-- Query #13130 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e02460-173e-baaa-6f7c-af8374453cce'::uuid, 'Imdb', 'tt4958508')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e02460-173e-baaa-6f7c-af8374453cce'::uuid, 'Tmdb', 1168648)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e02460-173e-baaa-6f7c-af8374453cce'::uuid, 'trakt', 2085420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13133 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d849182-74c6-537c-8ab8-4e3496179e99'::uuid;

-- Query #13134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e02460-173e-baaa-6f7c-af8374453cce'::uuid, 'TvMaze', 582456)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e02460-173e-baaa-6f7c-af8374453cce'::uuid, 'Tvdb', 5480263)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e02460-173e-baaa-6f7c-af8374453cce'::uuid, 'TmdbCollection', 1168648)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13137 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14e02460-173e-baaa-6f7c-af8374453cce'::uuid;

-- Query #13138 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '14e02460-173e-baaa-6f7c-af8374453cce'::uuid;

-- Query #13139 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['14e02460-173e-baaa-6f7c-af8374453cce'::uuid]);

-- Query #13140 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d849182-74c6-537c-8ab8-4e3496179e99'::uuid]);

-- Query #13141 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '14e02460-173e-baaa-6f7c-af8374453cce'::uuid;

-- Query #13142 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0d849182-74c6-537c-8ab8-4e3496179e99'::uuid;

-- Query #13143 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13144 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d849182-74c6-537c-8ab8-4e3496179e99'::uuid, 'Imdb', 'tt0751565')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d849182-74c6-537c-8ab8-4e3496179e99'::uuid, 'Tmdb', 335035)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d849182-74c6-537c-8ab8-4e3496179e99'::uuid, 'TvMaze', 41417)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d849182-74c6-537c-8ab8-4e3496179e99'::uuid, 'Tvdb', 259710)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d849182-74c6-537c-8ab8-4e3496179e99'::uuid, 'tv maze', 41417)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d849182-74c6-537c-8ab8-4e3496179e99'::uuid, 'TvRage', 236269)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d849182-74c6-537c-8ab8-4e3496179e99'::uuid, 'trakt', 343334)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d849182-74c6-537c-8ab8-4e3496179e99'::uuid, 'eidr', '10.5240/8400-1E5B-D33A-8409-A69C-P')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d849182-74c6-537c-8ab8-4e3496179e99'::uuid, 'TmdbCollection', 335035)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13153 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d849182-74c6-537c-8ab8-4e3496179e99'::uuid;

-- Query #13154 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0d849182-74c6-537c-8ab8-4e3496179e99'::uuid;

-- Query #13155 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0d849182-74c6-537c-8ab8-4e3496179e99'::uuid]);

-- Query #13156 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0d849182-74c6-537c-8ab8-4e3496179e99'::uuid;

-- Query #13157 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13158 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '98a70db8-51fd-9ff9-cc6c-d455e6342550'::uuid;

-- Query #13159 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid;

-- Query #13160 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['98a70db8-51fd-9ff9-cc6c-d455e6342550'::uuid]);

-- Query #13161 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '98a70db8-51fd-9ff9-cc6c-d455e6342550'::uuid;

-- Query #13162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98a70db8-51fd-9ff9-cc6c-d455e6342550'::uuid, 'Imdb', 'tt4958518')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98a70db8-51fd-9ff9-cc6c-d455e6342550'::uuid, 'Tmdb', 1174268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98a70db8-51fd-9ff9-cc6c-d455e6342550'::uuid, 'trakt', 2085424)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98a70db8-51fd-9ff9-cc6c-d455e6342550'::uuid, 'TvMaze', 597706)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13166 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid]);

-- Query #13167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98a70db8-51fd-9ff9-cc6c-d455e6342550'::uuid, 'Tvdb', 5497695)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98a70db8-51fd-9ff9-cc6c-d455e6342550'::uuid, 'TmdbCollection', 1174268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13169 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid;

-- Query #13170 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '98a70db8-51fd-9ff9-cc6c-d455e6342550'::uuid;

-- Query #13171 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid, 'Imdb', 'tt0751569')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13172 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid, 'Tmdb', 335022)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13173 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '98a70db8-51fd-9ff9-cc6c-d455e6342550'::uuid;

-- Query #13174 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid, 'TvMaze', 41404)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid, 'Tvdb', 259697)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid, 'tv maze', 41404)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid, 'TvRage', 236256)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid, 'trakt', 343321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid, 'eidr', '10.5240/43F8-5FE0-4D14-B136-5E5A-I')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid, 'TmdbCollection', 335022)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13181 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid;

-- Query #13182 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid;

-- Query #13183 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['98a70db8-51fd-9ff9-cc6c-d455e6342550'::uuid]);

-- Query #13184 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '98a70db8-51fd-9ff9-cc6c-d455e6342550'::uuid;

-- Query #13185 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13186 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid]);

-- Query #13187 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f91e431c-ab49-bb51-d996-7f68d6ce7e0b'::uuid;

-- Query #13188 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13189 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a379b29-b4c0-08af-6eaf-674c28f9a90e'::uuid;

-- Query #13190 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b653add-14a6-c0ac-79e4-821afac578db'::uuid;

-- Query #13191 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b653add-14a6-c0ac-79e4-821afac578db'::uuid]);

-- Query #13192 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1b653add-14a6-c0ac-79e4-821afac578db'::uuid;

-- Query #13193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b653add-14a6-c0ac-79e4-821afac578db'::uuid, 'TmdbCollection', 335026)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b653add-14a6-c0ac-79e4-821afac578db'::uuid, 'Imdb', 'tt0751560')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b653add-14a6-c0ac-79e4-821afac578db'::uuid, 'Tmdb', 335026)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b653add-14a6-c0ac-79e4-821afac578db'::uuid, 'TvMaze', 41408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b653add-14a6-c0ac-79e4-821afac578db'::uuid, 'Tvdb', 259701)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b653add-14a6-c0ac-79e4-821afac578db'::uuid, 'tv maze', 41408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13199 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b653add-14a6-c0ac-79e4-821afac578db'::uuid, 'TvRage', 236260)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13200 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b653add-14a6-c0ac-79e4-821afac578db'::uuid, 'trakt', 343325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13201 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b653add-14a6-c0ac-79e4-821afac578db'::uuid, 'eidr', '10.5240/548E-0767-A05F-EEFF-2443-O')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13202 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b653add-14a6-c0ac-79e4-821afac578db'::uuid;

-- Query #13203 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1b653add-14a6-c0ac-79e4-821afac578db'::uuid;

-- Query #13204 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3a379b29-b4c0-08af-6eaf-674c28f9a90e'::uuid]);

-- Query #13205 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3a379b29-b4c0-08af-6eaf-674c28f9a90e'::uuid;

-- Query #13206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a379b29-b4c0-08af-6eaf-674c28f9a90e'::uuid, 'Imdb', 'tt4768138')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a379b29-b4c0-08af-6eaf-674c28f9a90e'::uuid, 'Tmdb', 1090599)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a379b29-b4c0-08af-6eaf-674c28f9a90e'::uuid, 'trakt', 1918289)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13209 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1b653add-14a6-c0ac-79e4-821afac578db'::uuid]);

-- Query #13210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a379b29-b4c0-08af-6eaf-674c28f9a90e'::uuid, 'TvMaze', 153159)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a379b29-b4c0-08af-6eaf-674c28f9a90e'::uuid, 'Tvdb', 5266098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a379b29-b4c0-08af-6eaf-674c28f9a90e'::uuid, 'TmdbCollection', 1090599)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13213 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1b653add-14a6-c0ac-79e4-821afac578db'::uuid;

-- Query #13214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a379b29-b4c0-08af-6eaf-674c28f9a90e'::uuid;

-- Query #13215 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['756185cf-5480-62fa-bb32-30fe72011cf3'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13216 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3a379b29-b4c0-08af-6eaf-674c28f9a90e'::uuid;

-- Query #13217 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3a379b29-b4c0-08af-6eaf-674c28f9a90e'::uuid]);

-- Query #13218 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3a379b29-b4c0-08af-6eaf-674c28f9a90e'::uuid;

-- Query #13219 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13220 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd23a6b32-e02c-df88-8259-cae409610682'::uuid;

-- Query #13221 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d23a6b32-e02c-df88-8259-cae409610682'::uuid]);

-- Query #13222 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd23a6b32-e02c-df88-8259-cae409610682'::uuid;

-- Query #13223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d23a6b32-e02c-df88-8259-cae409610682'::uuid, 'Imdb', 'tt0751458')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d23a6b32-e02c-df88-8259-cae409610682'::uuid, 'Tmdb', 334997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13225 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d23a6b32-e02c-df88-8259-cae409610682'::uuid, 'TvMaze', 41422)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13226 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d23a6b32-e02c-df88-8259-cae409610682'::uuid, 'Tvdb', 259715)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13227 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d23a6b32-e02c-df88-8259-cae409610682'::uuid, 'TvRage', 236274)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d23a6b32-e02c-df88-8259-cae409610682'::uuid, 'trakt', 343339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13229 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fe34b27-1d2b-c409-74c3-34bd154faba1'::uuid;

-- Query #13230 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d23a6b32-e02c-df88-8259-cae409610682'::uuid, 'TmdbCollection', 334997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13231 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd23a6b32-e02c-df88-8259-cae409610682'::uuid;

-- Query #13232 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd23a6b32-e02c-df88-8259-cae409610682'::uuid;

-- Query #13233 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7fe34b27-1d2b-c409-74c3-34bd154faba1'::uuid]);

-- Query #13234 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7fe34b27-1d2b-c409-74c3-34bd154faba1'::uuid;

-- Query #13235 | logged_duration_ms=7 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe34b27-1d2b-c409-74c3-34bd154faba1'::uuid, 'TmdbCollection', 1134166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe34b27-1d2b-c409-74c3-34bd154faba1'::uuid, 'Imdb', 'tt4561974')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe34b27-1d2b-c409-74c3-34bd154faba1'::uuid, 'Tmdb', 1134166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe34b27-1d2b-c409-74c3-34bd154faba1'::uuid, 'trakt', 2006014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13239 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe34b27-1d2b-c409-74c3-34bd154faba1'::uuid, 'TvMaze', 353015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13240 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe34b27-1d2b-c409-74c3-34bd154faba1'::uuid, 'Tvdb', 5348325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13241 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d23a6b32-e02c-df88-8259-cae409610682'::uuid]);

-- Query #13242 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fe34b27-1d2b-c409-74c3-34bd154faba1'::uuid;

-- Query #13243 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd23a6b32-e02c-df88-8259-cae409610682'::uuid;

-- Query #13244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7fe34b27-1d2b-c409-74c3-34bd154faba1'::uuid;

-- Query #13245 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13246 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7fe34b27-1d2b-c409-74c3-34bd154faba1'::uuid]);

-- Query #13247 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7fe34b27-1d2b-c409-74c3-34bd154faba1'::uuid;

-- Query #13248 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13249 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '76185dd9-5021-77d7-aab5-66296d11570b'::uuid;

-- Query #13250 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '04e576e1-1f2a-93fe-320f-eb2c88aa93ab'::uuid;

-- Query #13251 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['76185dd9-5021-77d7-aab5-66296d11570b'::uuid]);

-- Query #13252 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '76185dd9-5021-77d7-aab5-66296d11570b'::uuid;

-- Query #13253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76185dd9-5021-77d7-aab5-66296d11570b'::uuid, 'Imdb', 'tt0751535')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76185dd9-5021-77d7-aab5-66296d11570b'::uuid, 'Tmdb', 334995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76185dd9-5021-77d7-aab5-66296d11570b'::uuid, 'TvMaze', 41432)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76185dd9-5021-77d7-aab5-66296d11570b'::uuid, 'Tvdb', 259725)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13257 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76185dd9-5021-77d7-aab5-66296d11570b'::uuid, 'TvRage', 236284)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13258 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76185dd9-5021-77d7-aab5-66296d11570b'::uuid, 'trakt', 343349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13259 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76185dd9-5021-77d7-aab5-66296d11570b'::uuid, 'TmdbCollection', 334995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13260 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '76185dd9-5021-77d7-aab5-66296d11570b'::uuid;

-- Query #13261 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '76185dd9-5021-77d7-aab5-66296d11570b'::uuid;

-- Query #13262 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['04e576e1-1f2a-93fe-320f-eb2c88aa93ab'::uuid]);

-- Query #13263 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '04e576e1-1f2a-93fe-320f-eb2c88aa93ab'::uuid;

-- Query #13264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04e576e1-1f2a-93fe-320f-eb2c88aa93ab'::uuid, 'Imdb', 'tt4669898')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13265 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['76185dd9-5021-77d7-aab5-66296d11570b'::uuid]);

-- Query #13266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04e576e1-1f2a-93fe-320f-eb2c88aa93ab'::uuid, 'Tmdb', 1073044)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13267 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04e576e1-1f2a-93fe-320f-eb2c88aa93ab'::uuid, 'trakt', 1845570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13268 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '76185dd9-5021-77d7-aab5-66296d11570b'::uuid;

-- Query #13269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04e576e1-1f2a-93fe-320f-eb2c88aa93ab'::uuid, 'TvMaze', 153154)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04e576e1-1f2a-93fe-320f-eb2c88aa93ab'::uuid, 'Tvdb', 5206831)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13272 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04e576e1-1f2a-93fe-320f-eb2c88aa93ab'::uuid, 'TmdbCollection', 1073044)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13273 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '04e576e1-1f2a-93fe-320f-eb2c88aa93ab'::uuid;

-- Query #13274 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '04e576e1-1f2a-93fe-320f-eb2c88aa93ab'::uuid;

-- Query #13275 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['04e576e1-1f2a-93fe-320f-eb2c88aa93ab'::uuid]);

-- Query #13276 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '04e576e1-1f2a-93fe-320f-eb2c88aa93ab'::uuid;

-- Query #13277 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13278 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88367851-ba40-8ab5-9d21-b757725f6df1'::uuid;

-- Query #13279 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88367851-ba40-8ab5-9d21-b757725f6df1'::uuid]);

-- Query #13280 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '88367851-ba40-8ab5-9d21-b757725f6df1'::uuid;

-- Query #13281 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd0c7e36-bb61-4bc5-4a5f-e06613050b79'::uuid;

-- Query #13282 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88367851-ba40-8ab5-9d21-b757725f6df1'::uuid, 'Imdb', 'tt0751538')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13283 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88367851-ba40-8ab5-9d21-b757725f6df1'::uuid, 'Tmdb', 335001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13284 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88367851-ba40-8ab5-9d21-b757725f6df1'::uuid, 'TvMaze', 41426)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13285 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88367851-ba40-8ab5-9d21-b757725f6df1'::uuid, 'Tvdb', 259719)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13286 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88367851-ba40-8ab5-9d21-b757725f6df1'::uuid, 'TvRage', 236278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13287 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88367851-ba40-8ab5-9d21-b757725f6df1'::uuid, 'trakt', 343343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88367851-ba40-8ab5-9d21-b757725f6df1'::uuid, 'TmdbCollection', 335001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13289 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88367851-ba40-8ab5-9d21-b757725f6df1'::uuid;

-- Query #13290 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '88367851-ba40-8ab5-9d21-b757725f6df1'::uuid;

-- Query #13291 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd0c7e36-bb61-4bc5-4a5f-e06613050b79'::uuid]);

-- Query #13292 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bd0c7e36-bb61-4bc5-4a5f-e06613050b79'::uuid;

-- Query #13293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd0c7e36-bb61-4bc5-4a5f-e06613050b79'::uuid, 'Imdb', 'tt4767580')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd0c7e36-bb61-4bc5-4a5f-e06613050b79'::uuid, 'Tmdb', 1148424)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd0c7e36-bb61-4bc5-4a5f-e06613050b79'::uuid, 'trakt', 2057244)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13296 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd0c7e36-bb61-4bc5-4a5f-e06613050b79'::uuid, 'TvMaze', 473853)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13297 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd0c7e36-bb61-4bc5-4a5f-e06613050b79'::uuid, 'Tvdb', 5405375)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13298 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd0c7e36-bb61-4bc5-4a5f-e06613050b79'::uuid, 'TmdbCollection', 1148424)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13299 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd0c7e36-bb61-4bc5-4a5f-e06613050b79'::uuid;

-- Query #13300 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bd0c7e36-bb61-4bc5-4a5f-e06613050b79'::uuid;

-- Query #13301 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['88367851-ba40-8ab5-9d21-b757725f6df1'::uuid]);

-- Query #13302 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '88367851-ba40-8ab5-9d21-b757725f6df1'::uuid;

-- Query #13303 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13304 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bd0c7e36-bb61-4bc5-4a5f-e06613050b79'::uuid]);

-- Query #13305 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bd0c7e36-bb61-4bc5-4a5f-e06613050b79'::uuid;

-- Query #13306 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13307 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c689cab-ff38-3e49-32ef-ef44c3d263f8'::uuid;

-- Query #13308 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60e0184a-9133-5dbc-ef1e-c9392bf1624f'::uuid;

-- Query #13309 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c689cab-ff38-3e49-32ef-ef44c3d263f8'::uuid]);

-- Query #13310 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2c689cab-ff38-3e49-32ef-ef44c3d263f8'::uuid;

-- Query #13311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c689cab-ff38-3e49-32ef-ef44c3d263f8'::uuid, 'Imdb', 'tt0751539')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13312 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c689cab-ff38-3e49-32ef-ef44c3d263f8'::uuid, 'Tmdb', 335002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13313 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c689cab-ff38-3e49-32ef-ef44c3d263f8'::uuid, 'TvMaze', 41427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c689cab-ff38-3e49-32ef-ef44c3d263f8'::uuid, 'Tvdb', 259720)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13315 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c689cab-ff38-3e49-32ef-ef44c3d263f8'::uuid, 'TvRage', 236279)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13316 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c689cab-ff38-3e49-32ef-ef44c3d263f8'::uuid, 'trakt', 343344)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c689cab-ff38-3e49-32ef-ef44c3d263f8'::uuid, 'TmdbCollection', 335002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13318 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c689cab-ff38-3e49-32ef-ef44c3d263f8'::uuid;

-- Query #13319 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2c689cab-ff38-3e49-32ef-ef44c3d263f8'::uuid;

-- Query #13320 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2c689cab-ff38-3e49-32ef-ef44c3d263f8'::uuid]);

-- Query #13321 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2c689cab-ff38-3e49-32ef-ef44c3d263f8'::uuid;

-- Query #13322 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13323 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['60e0184a-9133-5dbc-ef1e-c9392bf1624f'::uuid]);

-- Query #13324 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '60e0184a-9133-5dbc-ef1e-c9392bf1624f'::uuid;

-- Query #13325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60e0184a-9133-5dbc-ef1e-c9392bf1624f'::uuid, 'Imdb', 'tt4701502')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60e0184a-9133-5dbc-ef1e-c9392bf1624f'::uuid, 'Tmdb', 1085359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60e0184a-9133-5dbc-ef1e-c9392bf1624f'::uuid, 'trakt', 1876427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13328 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60e0184a-9133-5dbc-ef1e-c9392bf1624f'::uuid, 'TvMaze', 153157)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13329 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60e0184a-9133-5dbc-ef1e-c9392bf1624f'::uuid, 'Tvdb', 5233143)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13330 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60e0184a-9133-5dbc-ef1e-c9392bf1624f'::uuid, 'TmdbCollection', 1085359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13331 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60e0184a-9133-5dbc-ef1e-c9392bf1624f'::uuid;

-- Query #13332 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '60e0184a-9133-5dbc-ef1e-c9392bf1624f'::uuid;

-- Query #13333 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['60e0184a-9133-5dbc-ef1e-c9392bf1624f'::uuid]);

-- Query #13334 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '60e0184a-9133-5dbc-ef1e-c9392bf1624f'::uuid;

-- Query #13335 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13336 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1833048-9b70-ca55-fa00-7d44716d57ec'::uuid;

-- Query #13337 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1687bd3d-8851-a101-2f0c-4afc58765c4a'::uuid;

-- Query #13338 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1833048-9b70-ca55-fa00-7d44716d57ec'::uuid]);

-- Query #13339 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c1833048-9b70-ca55-fa00-7d44716d57ec'::uuid;

-- Query #13340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1833048-9b70-ca55-fa00-7d44716d57ec'::uuid, 'Imdb', 'tt0751540')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1833048-9b70-ca55-fa00-7d44716d57ec'::uuid, 'Tmdb', 334999)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1833048-9b70-ca55-fa00-7d44716d57ec'::uuid, 'TvMaze', 41424)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1833048-9b70-ca55-fa00-7d44716d57ec'::uuid, 'Tvdb', 259717)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1833048-9b70-ca55-fa00-7d44716d57ec'::uuid, 'TvRage', 236276)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1833048-9b70-ca55-fa00-7d44716d57ec'::uuid, 'trakt', 343341)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1833048-9b70-ca55-fa00-7d44716d57ec'::uuid, 'TmdbCollection', 334999)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13347 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1833048-9b70-ca55-fa00-7d44716d57ec'::uuid;

-- Query #13348 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c1833048-9b70-ca55-fa00-7d44716d57ec'::uuid;

-- Query #13349 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1687bd3d-8851-a101-2f0c-4afc58765c4a'::uuid]);

-- Query #13350 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c1833048-9b70-ca55-fa00-7d44716d57ec'::uuid]);

-- Query #13351 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1687bd3d-8851-a101-2f0c-4afc58765c4a'::uuid;

-- Query #13352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1687bd3d-8851-a101-2f0c-4afc58765c4a'::uuid, 'Imdb', 'tt4789954')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1687bd3d-8851-a101-2f0c-4afc58765c4a'::uuid, 'Tmdb', 1134164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13354 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c1833048-9b70-ca55-fa00-7d44716d57ec'::uuid;

-- Query #13355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1687bd3d-8851-a101-2f0c-4afc58765c4a'::uuid, 'trakt', 1972361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13356 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1687bd3d-8851-a101-2f0c-4afc58765c4a'::uuid, 'TvMaze', 353013)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1687bd3d-8851-a101-2f0c-4afc58765c4a'::uuid, 'Tvdb', 5318383)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1687bd3d-8851-a101-2f0c-4afc58765c4a'::uuid, 'TmdbCollection', 1134164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1687bd3d-8851-a101-2f0c-4afc58765c4a'::uuid;

-- Query #13361 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1687bd3d-8851-a101-2f0c-4afc58765c4a'::uuid;

-- Query #13362 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1687bd3d-8851-a101-2f0c-4afc58765c4a'::uuid]);

-- Query #13363 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1687bd3d-8851-a101-2f0c-4afc58765c4a'::uuid;

-- Query #13364 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13365 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3ec96db-4fe2-0954-823b-bbdf168dd97d'::uuid;

-- Query #13366 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '50ce22b2-c4f1-d5f7-af84-73e9967936bf'::uuid;

-- Query #13367 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b3ec96db-4fe2-0954-823b-bbdf168dd97d'::uuid]);

-- Query #13368 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b3ec96db-4fe2-0954-823b-bbdf168dd97d'::uuid;

-- Query #13369 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3ec96db-4fe2-0954-823b-bbdf168dd97d'::uuid, 'Imdb', 'tt0751541')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3ec96db-4fe2-0954-823b-bbdf168dd97d'::uuid, 'Tmdb', 334998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3ec96db-4fe2-0954-823b-bbdf168dd97d'::uuid, 'TvMaze', 41423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3ec96db-4fe2-0954-823b-bbdf168dd97d'::uuid, 'Tvdb', 259716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3ec96db-4fe2-0954-823b-bbdf168dd97d'::uuid, 'TvRage', 236275)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3ec96db-4fe2-0954-823b-bbdf168dd97d'::uuid, 'trakt', 343340)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13375 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3ec96db-4fe2-0954-823b-bbdf168dd97d'::uuid, 'TmdbCollection', 334998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13376 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3ec96db-4fe2-0954-823b-bbdf168dd97d'::uuid;

-- Query #13377 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b3ec96db-4fe2-0954-823b-bbdf168dd97d'::uuid;

-- Query #13378 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50ce22b2-c4f1-d5f7-af84-73e9967936bf'::uuid]);

-- Query #13379 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '50ce22b2-c4f1-d5f7-af84-73e9967936bf'::uuid;

-- Query #13380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50ce22b2-c4f1-d5f7-af84-73e9967936bf'::uuid, 'TmdbCollection', 1051067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50ce22b2-c4f1-d5f7-af84-73e9967936bf'::uuid, 'Imdb', 'tt3881226')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50ce22b2-c4f1-d5f7-af84-73e9967936bf'::uuid, 'Tmdb', 1051067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50ce22b2-c4f1-d5f7-af84-73e9967936bf'::uuid, 'TvMaze', 153080)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13384 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b3ec96db-4fe2-0954-823b-bbdf168dd97d'::uuid]);

-- Query #13385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50ce22b2-c4f1-d5f7-af84-73e9967936bf'::uuid, 'Tvdb', 5179450)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50ce22b2-c4f1-d5f7-af84-73e9967936bf'::uuid, 'TvRage', 1065777817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50ce22b2-c4f1-d5f7-af84-73e9967936bf'::uuid, 'trakt', 1812271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13388 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b3ec96db-4fe2-0954-823b-bbdf168dd97d'::uuid;

-- Query #13389 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '50ce22b2-c4f1-d5f7-af84-73e9967936bf'::uuid;

-- Query #13390 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13391 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '50ce22b2-c4f1-d5f7-af84-73e9967936bf'::uuid;

-- Query #13392 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['50ce22b2-c4f1-d5f7-af84-73e9967936bf'::uuid]);

-- Query #13393 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '50ce22b2-c4f1-d5f7-af84-73e9967936bf'::uuid;

-- Query #13394 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13395 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '20f11df9-6b53-fa37-22cc-4f539e5092b8'::uuid;

-- Query #13396 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5a70c447-d183-8832-a134-2f54af18ffdc'::uuid;

-- Query #13397 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20f11df9-6b53-fa37-22cc-4f539e5092b8'::uuid]);

-- Query #13398 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '20f11df9-6b53-fa37-22cc-4f539e5092b8'::uuid;

-- Query #13399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20f11df9-6b53-fa37-22cc-4f539e5092b8'::uuid, 'Imdb', 'tt0751480')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20f11df9-6b53-fa37-22cc-4f539e5092b8'::uuid, 'Tmdb', 335012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20f11df9-6b53-fa37-22cc-4f539e5092b8'::uuid, 'TvMaze', 41438)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20f11df9-6b53-fa37-22cc-4f539e5092b8'::uuid, 'Tvdb', 259731)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20f11df9-6b53-fa37-22cc-4f539e5092b8'::uuid, 'TvRage', 236290)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20f11df9-6b53-fa37-22cc-4f539e5092b8'::uuid, 'trakt', 343355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20f11df9-6b53-fa37-22cc-4f539e5092b8'::uuid, 'TmdbCollection', 335012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13406 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '20f11df9-6b53-fa37-22cc-4f539e5092b8'::uuid;

-- Query #13407 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '20f11df9-6b53-fa37-22cc-4f539e5092b8'::uuid;

-- Query #13408 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5a70c447-d183-8832-a134-2f54af18ffdc'::uuid]);

-- Query #13409 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5a70c447-d183-8832-a134-2f54af18ffdc'::uuid;

-- Query #13410 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a70c447-d183-8832-a134-2f54af18ffdc'::uuid, 'Imdb', 'tt4624730')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13411 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a70c447-d183-8832-a134-2f54af18ffdc'::uuid, 'Tmdb', 1070365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13412 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['20f11df9-6b53-fa37-22cc-4f539e5092b8'::uuid]);

-- Query #13413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a70c447-d183-8832-a134-2f54af18ffdc'::uuid, 'trakt', 1842612)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a70c447-d183-8832-a134-2f54af18ffdc'::uuid, 'TvMaze', 153153)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a70c447-d183-8832-a134-2f54af18ffdc'::uuid, 'Tvdb', 5204156)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13416 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '20f11df9-6b53-fa37-22cc-4f539e5092b8'::uuid;

-- Query #13417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a70c447-d183-8832-a134-2f54af18ffdc'::uuid, 'TmdbCollection', 1070365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13418 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13419 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5a70c447-d183-8832-a134-2f54af18ffdc'::uuid;

-- Query #13420 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5a70c447-d183-8832-a134-2f54af18ffdc'::uuid;

-- Query #13421 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5a70c447-d183-8832-a134-2f54af18ffdc'::uuid]);

-- Query #13422 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5a70c447-d183-8832-a134-2f54af18ffdc'::uuid;

-- Query #13423 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13424 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf743339-066b-597a-fa3d-26b41f409a7c'::uuid;

-- Query #13425 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf743339-066b-597a-fa3d-26b41f409a7c'::uuid]);

-- Query #13426 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cf743339-066b-597a-fa3d-26b41f409a7c'::uuid;

-- Query #13427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf743339-066b-597a-fa3d-26b41f409a7c'::uuid, 'Imdb', 'tt0751482')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf743339-066b-597a-fa3d-26b41f409a7c'::uuid, 'Tmdb', 335011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf743339-066b-597a-fa3d-26b41f409a7c'::uuid, 'TvMaze', 41437)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf743339-066b-597a-fa3d-26b41f409a7c'::uuid, 'Tvdb', 259730)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf743339-066b-597a-fa3d-26b41f409a7c'::uuid, 'TvRage', 236289)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf743339-066b-597a-fa3d-26b41f409a7c'::uuid, 'trakt', 343354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf743339-066b-597a-fa3d-26b41f409a7c'::uuid, 'TmdbCollection', 335011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13434 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf743339-066b-597a-fa3d-26b41f409a7c'::uuid;

-- Query #13435 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cf743339-066b-597a-fa3d-26b41f409a7c'::uuid;

-- Query #13436 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c5063092-fadf-facc-5b64-5abbb120b8c4'::uuid;

-- Query #13437 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cf743339-066b-597a-fa3d-26b41f409a7c'::uuid]);

-- Query #13438 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cf743339-066b-597a-fa3d-26b41f409a7c'::uuid;

-- Query #13439 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c5063092-fadf-facc-5b64-5abbb120b8c4'::uuid]);

-- Query #13440 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13441 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c5063092-fadf-facc-5b64-5abbb120b8c4'::uuid;

-- Query #13442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5063092-fadf-facc-5b64-5abbb120b8c4'::uuid, 'Imdb', 'tt4737556')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5063092-fadf-facc-5b64-5abbb120b8c4'::uuid, 'Tmdb', 1085360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5063092-fadf-facc-5b64-5abbb120b8c4'::uuid, 'trakt', 1902880)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5063092-fadf-facc-5b64-5abbb120b8c4'::uuid, 'TvMaze', 153158)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5063092-fadf-facc-5b64-5abbb120b8c4'::uuid, 'Tvdb', 5254081)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5063092-fadf-facc-5b64-5abbb120b8c4'::uuid, 'TmdbCollection', 1085360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13448 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c5063092-fadf-facc-5b64-5abbb120b8c4'::uuid;

-- Query #13449 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c5063092-fadf-facc-5b64-5abbb120b8c4'::uuid;

-- Query #13450 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c5063092-fadf-facc-5b64-5abbb120b8c4'::uuid]);

-- Query #13451 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c5063092-fadf-facc-5b64-5abbb120b8c4'::uuid;

-- Query #13452 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13453 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa97304a-1c22-e8f2-4de6-7b3a98a1bf47'::uuid;

-- Query #13454 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9044d432-8cc2-12f4-7e3e-c470b6ce969e'::uuid;

-- Query #13455 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aa97304a-1c22-e8f2-4de6-7b3a98a1bf47'::uuid]);

-- Query #13456 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'aa97304a-1c22-e8f2-4de6-7b3a98a1bf47'::uuid;

-- Query #13457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa97304a-1c22-e8f2-4de6-7b3a98a1bf47'::uuid, 'Imdb', 'tt0751483')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa97304a-1c22-e8f2-4de6-7b3a98a1bf47'::uuid, 'Tmdb', 335008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13459 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa97304a-1c22-e8f2-4de6-7b3a98a1bf47'::uuid, 'TvMaze', 41434)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13460 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa97304a-1c22-e8f2-4de6-7b3a98a1bf47'::uuid, 'Tvdb', 259727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa97304a-1c22-e8f2-4de6-7b3a98a1bf47'::uuid, 'TvRage', 236286)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa97304a-1c22-e8f2-4de6-7b3a98a1bf47'::uuid, 'trakt', 343351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa97304a-1c22-e8f2-4de6-7b3a98a1bf47'::uuid, 'TmdbCollection', 335008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13464 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa97304a-1c22-e8f2-4de6-7b3a98a1bf47'::uuid;

-- Query #13465 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'aa97304a-1c22-e8f2-4de6-7b3a98a1bf47'::uuid;

-- Query #13466 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9044d432-8cc2-12f4-7e3e-c470b6ce969e'::uuid]);

-- Query #13467 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9044d432-8cc2-12f4-7e3e-c470b6ce969e'::uuid;

-- Query #13468 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9044d432-8cc2-12f4-7e3e-c470b6ce969e'::uuid, 'Imdb', 'tt4800740')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9044d432-8cc2-12f4-7e3e-c470b6ce969e'::uuid, 'Tmdb', 1134167)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9044d432-8cc2-12f4-7e3e-c470b6ce969e'::uuid, 'trakt', 2006015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9044d432-8cc2-12f4-7e3e-c470b6ce969e'::uuid, 'TvMaze', 421525)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13472 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #13473 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9044d432-8cc2-12f4-7e3e-c470b6ce969e'::uuid, 'Tvdb', 5348326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9044d432-8cc2-12f4-7e3e-c470b6ce969e'::uuid, 'TmdbCollection', 1134167)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13475 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9044d432-8cc2-12f4-7e3e-c470b6ce969e'::uuid;

-- Query #13476 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['aa97304a-1c22-e8f2-4de6-7b3a98a1bf47'::uuid]);

-- Query #13477 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9044d432-8cc2-12f4-7e3e-c470b6ce969e'::uuid;

-- Query #13478 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'aa97304a-1c22-e8f2-4de6-7b3a98a1bf47'::uuid;

-- Query #13479 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13480 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9044d432-8cc2-12f4-7e3e-c470b6ce969e'::uuid]);

-- Query #13481 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9044d432-8cc2-12f4-7e3e-c470b6ce969e'::uuid;

-- Query #13482 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13483 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '34c2ff10-fd60-0242-be52-ce45c5eb4239'::uuid;

-- Query #13484 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '71ba7878-3610-ce4c-2ad8-ebef242b06cd'::uuid;

-- Query #13485 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['34c2ff10-fd60-0242-be52-ce45c5eb4239'::uuid]);

-- Query #13486 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '34c2ff10-fd60-0242-be52-ce45c5eb4239'::uuid;

-- Query #13487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34c2ff10-fd60-0242-be52-ce45c5eb4239'::uuid, 'Imdb', 'tt4677864')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34c2ff10-fd60-0242-be52-ce45c5eb4239'::uuid, 'Tmdb', 1075023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34c2ff10-fd60-0242-be52-ce45c5eb4239'::uuid, 'trakt', 1852350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34c2ff10-fd60-0242-be52-ce45c5eb4239'::uuid, 'TvMaze', 153155)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34c2ff10-fd60-0242-be52-ce45c5eb4239'::uuid, 'Tvdb', 5211439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34c2ff10-fd60-0242-be52-ce45c5eb4239'::uuid, 'TmdbCollection', 1075023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13493 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '34c2ff10-fd60-0242-be52-ce45c5eb4239'::uuid;

-- Query #13494 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '34c2ff10-fd60-0242-be52-ce45c5eb4239'::uuid;

-- Query #13495 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71ba7878-3610-ce4c-2ad8-ebef242b06cd'::uuid]);

-- Query #13496 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '71ba7878-3610-ce4c-2ad8-ebef242b06cd'::uuid;

-- Query #13497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71ba7878-3610-ce4c-2ad8-ebef242b06cd'::uuid, 'Imdb', 'tt0751543')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13498 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['34c2ff10-fd60-0242-be52-ce45c5eb4239'::uuid]);

-- Query #13499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71ba7878-3610-ce4c-2ad8-ebef242b06cd'::uuid, 'Tmdb', 334996)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13500 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '34c2ff10-fd60-0242-be52-ce45c5eb4239'::uuid;

-- Query #13501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71ba7878-3610-ce4c-2ad8-ebef242b06cd'::uuid, 'TvMaze', 41421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71ba7878-3610-ce4c-2ad8-ebef242b06cd'::uuid, 'Tvdb', 259714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13503 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13504 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71ba7878-3610-ce4c-2ad8-ebef242b06cd'::uuid, 'TvRage', 236273)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71ba7878-3610-ce4c-2ad8-ebef242b06cd'::uuid, 'trakt', 343338)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71ba7878-3610-ce4c-2ad8-ebef242b06cd'::uuid, 'TmdbCollection', 334996)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13507 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '71ba7878-3610-ce4c-2ad8-ebef242b06cd'::uuid;

-- Query #13508 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '71ba7878-3610-ce4c-2ad8-ebef242b06cd'::uuid;

-- Query #13509 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['71ba7878-3610-ce4c-2ad8-ebef242b06cd'::uuid]);

-- Query #13510 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '71ba7878-3610-ce4c-2ad8-ebef242b06cd'::uuid;

-- Query #13511 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13512 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58e49127-7af9-b927-c3e4-e92978351062'::uuid;

-- Query #13513 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a2747c45-f909-291d-0d7e-889370bdaa15'::uuid;

-- Query #13514 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58e49127-7af9-b927-c3e4-e92978351062'::uuid]);

-- Query #13515 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '58e49127-7af9-b927-c3e4-e92978351062'::uuid;

-- Query #13516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58e49127-7af9-b927-c3e4-e92978351062'::uuid, 'Imdb', 'tt4768136')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58e49127-7af9-b927-c3e4-e92978351062'::uuid, 'Tmdb', 1090904)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58e49127-7af9-b927-c3e4-e92978351062'::uuid, 'trakt', 1918290)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58e49127-7af9-b927-c3e4-e92978351062'::uuid, 'TvMaze', 153160)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13520 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a2747c45-f909-291d-0d7e-889370bdaa15'::uuid]);

-- Query #13521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58e49127-7af9-b927-c3e4-e92978351062'::uuid, 'Tvdb', 5266099)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13522 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a2747c45-f909-291d-0d7e-889370bdaa15'::uuid;

-- Query #13523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58e49127-7af9-b927-c3e4-e92978351062'::uuid, 'TmdbCollection', 1090904)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2747c45-f909-291d-0d7e-889370bdaa15'::uuid, 'Imdb', 'tt0751484')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13525 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58e49127-7af9-b927-c3e4-e92978351062'::uuid;

-- Query #13526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2747c45-f909-291d-0d7e-889370bdaa15'::uuid, 'Tmdb', 335000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13527 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '58e49127-7af9-b927-c3e4-e92978351062'::uuid;

-- Query #13528 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2747c45-f909-291d-0d7e-889370bdaa15'::uuid, 'TvMaze', 41425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13529 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2747c45-f909-291d-0d7e-889370bdaa15'::uuid, 'Tvdb', 259718)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13530 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2747c45-f909-291d-0d7e-889370bdaa15'::uuid, 'TvRage', 236277)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2747c45-f909-291d-0d7e-889370bdaa15'::uuid, 'trakt', 343342)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2747c45-f909-291d-0d7e-889370bdaa15'::uuid, 'TmdbCollection', 335000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13533 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a2747c45-f909-291d-0d7e-889370bdaa15'::uuid;

-- Query #13534 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a2747c45-f909-291d-0d7e-889370bdaa15'::uuid;

-- Query #13535 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['58e49127-7af9-b927-c3e4-e92978351062'::uuid]);

-- Query #13536 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '58e49127-7af9-b927-c3e4-e92978351062'::uuid;

-- Query #13537 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13538 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a2747c45-f909-291d-0d7e-889370bdaa15'::uuid]);

-- Query #13539 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a2747c45-f909-291d-0d7e-889370bdaa15'::uuid;

-- Query #13540 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13541 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d874e19-0187-aacf-c3d8-a83725c1e3fe'::uuid;

-- Query #13542 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7045c7bc-805b-9b97-8f64-e979c730418e'::uuid;

-- Query #13543 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9d874e19-0187-aacf-c3d8-a83725c1e3fe'::uuid]);

-- Query #13544 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9d874e19-0187-aacf-c3d8-a83725c1e3fe'::uuid;

-- Query #13545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d874e19-0187-aacf-c3d8-a83725c1e3fe'::uuid, 'Imdb', 'tt0751497')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d874e19-0187-aacf-c3d8-a83725c1e3fe'::uuid, 'Tmdb', 335009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d874e19-0187-aacf-c3d8-a83725c1e3fe'::uuid, 'TvMaze', 41435)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d874e19-0187-aacf-c3d8-a83725c1e3fe'::uuid, 'Tvdb', 259728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d874e19-0187-aacf-c3d8-a83725c1e3fe'::uuid, 'TvRage', 236287)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d874e19-0187-aacf-c3d8-a83725c1e3fe'::uuid, 'trakt', 343352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d874e19-0187-aacf-c3d8-a83725c1e3fe'::uuid, 'TmdbCollection', 335009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13552 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d874e19-0187-aacf-c3d8-a83725c1e3fe'::uuid;

-- Query #13553 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9d874e19-0187-aacf-c3d8-a83725c1e3fe'::uuid;

-- Query #13554 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7045c7bc-805b-9b97-8f64-e979c730418e'::uuid]);

-- Query #13555 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7045c7bc-805b-9b97-8f64-e979c730418e'::uuid;

-- Query #13556 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7045c7bc-805b-9b97-8f64-e979c730418e'::uuid, 'TvMaze', 1046391)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13557 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7045c7bc-805b-9b97-8f64-e979c730418e'::uuid, 'Tvdb', 5937058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13558 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7045c7bc-805b-9b97-8f64-e979c730418e'::uuid, 'TmdbCollection', 1285423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13559 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7045c7bc-805b-9b97-8f64-e979c730418e'::uuid, 'Imdb', 'tt5895730')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7045c7bc-805b-9b97-8f64-e979c730418e'::uuid, 'Tmdb', 1285423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7045c7bc-805b-9b97-8f64-e979c730418e'::uuid, 'trakt', 2475516)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13562 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9d874e19-0187-aacf-c3d8-a83725c1e3fe'::uuid]);

-- Query #13563 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7045c7bc-805b-9b97-8f64-e979c730418e'::uuid;

-- Query #13564 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9d874e19-0187-aacf-c3d8-a83725c1e3fe'::uuid;

-- Query #13565 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7045c7bc-805b-9b97-8f64-e979c730418e'::uuid;

-- Query #13566 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13567 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7045c7bc-805b-9b97-8f64-e979c730418e'::uuid]);

-- Query #13568 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7045c7bc-805b-9b97-8f64-e979c730418e'::uuid;

-- Query #13569 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13570 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b0e1347-77b6-59ef-2cd6-d33c823c27f1'::uuid;

-- Query #13571 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb620c30-1523-b738-3923-09d7e69decd5'::uuid;

-- Query #13572 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7b0e1347-77b6-59ef-2cd6-d33c823c27f1'::uuid]);

-- Query #13573 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7b0e1347-77b6-59ef-2cd6-d33c823c27f1'::uuid;

-- Query #13574 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b0e1347-77b6-59ef-2cd6-d33c823c27f1'::uuid, 'Imdb', 'tt0751498')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b0e1347-77b6-59ef-2cd6-d33c823c27f1'::uuid, 'Tmdb', 335003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b0e1347-77b6-59ef-2cd6-d33c823c27f1'::uuid, 'TvMaze', 41428)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13577 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb620c30-1523-b738-3923-09d7e69decd5'::uuid]);

-- Query #13578 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b0e1347-77b6-59ef-2cd6-d33c823c27f1'::uuid, 'Tvdb', 259721)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b0e1347-77b6-59ef-2cd6-d33c823c27f1'::uuid, 'TvRage', 236280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13580 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cb620c30-1523-b738-3923-09d7e69decd5'::uuid;

-- Query #13581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b0e1347-77b6-59ef-2cd6-d33c823c27f1'::uuid, 'trakt', 343345)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb620c30-1523-b738-3923-09d7e69decd5'::uuid, 'trakt', 2251251)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb620c30-1523-b738-3923-09d7e69decd5'::uuid, 'TmdbCollection', 1205417)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b0e1347-77b6-59ef-2cd6-d33c823c27f1'::uuid, 'TmdbCollection', 335003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb620c30-1523-b738-3923-09d7e69decd5'::uuid, 'Imdb', 'tt5502596')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b0e1347-77b6-59ef-2cd6-d33c823c27f1'::uuid;

-- Query #13587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7b0e1347-77b6-59ef-2cd6-d33c823c27f1'::uuid;

-- Query #13588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb620c30-1523-b738-3923-09d7e69decd5'::uuid, 'Tmdb', 1205417)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb620c30-1523-b738-3923-09d7e69decd5'::uuid, 'TvMaze', 819658)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb620c30-1523-b738-3923-09d7e69decd5'::uuid, 'Tvdb', 5633197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb620c30-1523-b738-3923-09d7e69decd5'::uuid, 'TvRage', 1065951493)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb620c30-1523-b738-3923-09d7e69decd5'::uuid;

-- Query #13593 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cb620c30-1523-b738-3923-09d7e69decd5'::uuid;

-- Query #13594 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7b0e1347-77b6-59ef-2cd6-d33c823c27f1'::uuid]);

-- Query #13595 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7b0e1347-77b6-59ef-2cd6-d33c823c27f1'::uuid;

-- Query #13596 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cb620c30-1523-b738-3923-09d7e69decd5'::uuid]);

-- Query #13597 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13598 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cb620c30-1523-b738-3923-09d7e69decd5'::uuid;

-- Query #13599 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13600 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a3f4d5c-6b4f-8d8a-c65e-321c42b82d1e'::uuid;

-- Query #13601 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b74dfb62-fea3-4b56-9cca-8b0b379b993d'::uuid;

-- Query #13602 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3a3f4d5c-6b4f-8d8a-c65e-321c42b82d1e'::uuid]);

-- Query #13603 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3a3f4d5c-6b4f-8d8a-c65e-321c42b82d1e'::uuid;

-- Query #13604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a3f4d5c-6b4f-8d8a-c65e-321c42b82d1e'::uuid, 'Imdb', 'tt0751510')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13605 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a3f4d5c-6b4f-8d8a-c65e-321c42b82d1e'::uuid, 'Tmdb', 335006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13606 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a3f4d5c-6b4f-8d8a-c65e-321c42b82d1e'::uuid, 'TvMaze', 41431)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13607 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a3f4d5c-6b4f-8d8a-c65e-321c42b82d1e'::uuid, 'Tvdb', 259724)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13608 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a3f4d5c-6b4f-8d8a-c65e-321c42b82d1e'::uuid, 'TvRage', 236283)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13609 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a3f4d5c-6b4f-8d8a-c65e-321c42b82d1e'::uuid, 'trakt', 343348)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a3f4d5c-6b4f-8d8a-c65e-321c42b82d1e'::uuid, 'TmdbCollection', 335006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13611 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a3f4d5c-6b4f-8d8a-c65e-321c42b82d1e'::uuid;

-- Query #13612 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3a3f4d5c-6b4f-8d8a-c65e-321c42b82d1e'::uuid;

-- Query #13613 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74dfb62-fea3-4b56-9cca-8b0b379b993d'::uuid]);

-- Query #13614 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b74dfb62-fea3-4b56-9cca-8b0b379b993d'::uuid;

-- Query #13615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b74dfb62-fea3-4b56-9cca-8b0b379b993d'::uuid, 'Tmdb', 1279244)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13616 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3a3f4d5c-6b4f-8d8a-c65e-321c42b82d1e'::uuid]);

-- Query #13617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b74dfb62-fea3-4b56-9cca-8b0b379b993d'::uuid, 'trakt', 2475471)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b74dfb62-fea3-4b56-9cca-8b0b379b993d'::uuid, 'TvMaze', 1046388)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b74dfb62-fea3-4b56-9cca-8b0b379b993d'::uuid, 'Tvdb', 5937054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13620 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3a3f4d5c-6b4f-8d8a-c65e-321c42b82d1e'::uuid;

-- Query #13621 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b74dfb62-fea3-4b56-9cca-8b0b379b993d'::uuid, 'TmdbCollection', 1279244)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13622 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b74dfb62-fea3-4b56-9cca-8b0b379b993d'::uuid, 'Imdb', 'tt5864356')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13624 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b74dfb62-fea3-4b56-9cca-8b0b379b993d'::uuid;

-- Query #13625 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b74dfb62-fea3-4b56-9cca-8b0b379b993d'::uuid;

-- Query #13626 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b74dfb62-fea3-4b56-9cca-8b0b379b993d'::uuid]);

-- Query #13627 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b74dfb62-fea3-4b56-9cca-8b0b379b993d'::uuid;

-- Query #13628 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13629 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffa2e647-7437-12de-7615-588549e22c52'::uuid;

-- Query #13630 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffa2e647-7437-12de-7615-588549e22c52'::uuid]);

-- Query #13631 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ffa2e647-7437-12de-7615-588549e22c52'::uuid;

-- Query #13632 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffa2e647-7437-12de-7615-588549e22c52'::uuid, 'Imdb', 'tt0751514')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13633 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffa2e647-7437-12de-7615-588549e22c52'::uuid, 'Tmdb', 335007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffa2e647-7437-12de-7615-588549e22c52'::uuid, 'TvMaze', 41433)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13635 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffa2e647-7437-12de-7615-588549e22c52'::uuid, 'Tvdb', 259726)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13636 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffa2e647-7437-12de-7615-588549e22c52'::uuid, 'TvRage', 236285)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffa2e647-7437-12de-7615-588549e22c52'::uuid, 'trakt', 343350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffa2e647-7437-12de-7615-588549e22c52'::uuid, 'TmdbCollection', 335007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13639 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffa2e647-7437-12de-7615-588549e22c52'::uuid;

-- Query #13640 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ffa2e647-7437-12de-7615-588549e22c52'::uuid;

-- Query #13641 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '437fe246-0ae2-d27c-0bf2-a06ad4c12ec0'::uuid;

-- Query #13642 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ffa2e647-7437-12de-7615-588549e22c52'::uuid]);

-- Query #13643 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ffa2e647-7437-12de-7615-588549e22c52'::uuid;

-- Query #13644 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13645 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['437fe246-0ae2-d27c-0bf2-a06ad4c12ec0'::uuid]);

-- Query #13646 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '437fe246-0ae2-d27c-0bf2-a06ad4c12ec0'::uuid;

-- Query #13647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('437fe246-0ae2-d27c-0bf2-a06ad4c12ec0'::uuid, 'Tvdb', 5937057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13648 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('437fe246-0ae2-d27c-0bf2-a06ad4c12ec0'::uuid, 'TmdbCollection', 1279788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13649 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('437fe246-0ae2-d27c-0bf2-a06ad4c12ec0'::uuid, 'Imdb', 'tt5895722')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13650 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('437fe246-0ae2-d27c-0bf2-a06ad4c12ec0'::uuid, 'Tmdb', 1279788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('437fe246-0ae2-d27c-0bf2-a06ad4c12ec0'::uuid, 'trakt', 2475497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13652 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('437fe246-0ae2-d27c-0bf2-a06ad4c12ec0'::uuid, 'TvMaze', 1046390)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13653 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '437fe246-0ae2-d27c-0bf2-a06ad4c12ec0'::uuid;

-- Query #13654 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '437fe246-0ae2-d27c-0bf2-a06ad4c12ec0'::uuid;

-- Query #13655 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['437fe246-0ae2-d27c-0bf2-a06ad4c12ec0'::uuid]);

-- Query #13656 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '437fe246-0ae2-d27c-0bf2-a06ad4c12ec0'::uuid;

-- Query #13657 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13658 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6fc097ab-4ab1-3b36-8c91-eea373957250'::uuid;

-- Query #13659 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fc097ab-4ab1-3b36-8c91-eea373957250'::uuid]);

-- Query #13660 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6fc097ab-4ab1-3b36-8c91-eea373957250'::uuid;

-- Query #13661 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fc097ab-4ab1-3b36-8c91-eea373957250'::uuid, 'Imdb', 'tt0751553')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13662 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fc097ab-4ab1-3b36-8c91-eea373957250'::uuid, 'Tmdb', 335005)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13663 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fc097ab-4ab1-3b36-8c91-eea373957250'::uuid, 'TvMaze', 41430)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13664 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fc097ab-4ab1-3b36-8c91-eea373957250'::uuid, 'Tvdb', 259723)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13665 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fc097ab-4ab1-3b36-8c91-eea373957250'::uuid, 'TvRage', 236282)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13666 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fc097ab-4ab1-3b36-8c91-eea373957250'::uuid, 'trakt', 343347)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13667 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fc097ab-4ab1-3b36-8c91-eea373957250'::uuid, 'TmdbCollection', 335005)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13668 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6fc097ab-4ab1-3b36-8c91-eea373957250'::uuid;

-- Query #13669 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6fc097ab-4ab1-3b36-8c91-eea373957250'::uuid;

-- Query #13670 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f51729f-3509-8aa0-e225-19c7d086e275'::uuid;

-- Query #13671 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6fc097ab-4ab1-3b36-8c91-eea373957250'::uuid]);

-- Query #13672 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6fc097ab-4ab1-3b36-8c91-eea373957250'::uuid;

-- Query #13673 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13674 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0f51729f-3509-8aa0-e225-19c7d086e275'::uuid]);

-- Query #13675 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0f51729f-3509-8aa0-e225-19c7d086e275'::uuid;

-- Query #13676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f51729f-3509-8aa0-e225-19c7d086e275'::uuid, 'Imdb', 'tt5502878')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f51729f-3509-8aa0-e225-19c7d086e275'::uuid, 'Tmdb', 1216346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13678 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f51729f-3509-8aa0-e225-19c7d086e275'::uuid, 'trakt', 2285918)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13679 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f51729f-3509-8aa0-e225-19c7d086e275'::uuid, 'TvMaze', 871403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13680 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f51729f-3509-8aa0-e225-19c7d086e275'::uuid, 'Tvdb', 5677762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13681 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f51729f-3509-8aa0-e225-19c7d086e275'::uuid, 'TmdbCollection', 1216346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13682 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f51729f-3509-8aa0-e225-19c7d086e275'::uuid;

-- Query #13683 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0f51729f-3509-8aa0-e225-19c7d086e275'::uuid;

-- Query #13684 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0f51729f-3509-8aa0-e225-19c7d086e275'::uuid]);

-- Query #13685 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0f51729f-3509-8aa0-e225-19c7d086e275'::uuid;

-- Query #13686 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13687 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e8180f39-d3e4-64f5-6d53-505b57e9dab5'::uuid;

-- Query #13688 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e8180f39-d3e4-64f5-6d53-505b57e9dab5'::uuid]);

-- Query #13689 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e8180f39-d3e4-64f5-6d53-505b57e9dab5'::uuid;

-- Query #13690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8180f39-d3e4-64f5-6d53-505b57e9dab5'::uuid, 'Imdb', 'tt0751525')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8180f39-d3e4-64f5-6d53-505b57e9dab5'::uuid, 'Tmdb', 335015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8180f39-d3e4-64f5-6d53-505b57e9dab5'::uuid, 'TvMaze', 41441)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8180f39-d3e4-64f5-6d53-505b57e9dab5'::uuid, 'Tvdb', 259734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13694 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8180f39-d3e4-64f5-6d53-505b57e9dab5'::uuid, 'TvRage', 236293)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13695 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8180f39-d3e4-64f5-6d53-505b57e9dab5'::uuid, 'trakt', 343358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13696 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8180f39-d3e4-64f5-6d53-505b57e9dab5'::uuid, 'TmdbCollection', 335015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13697 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e8180f39-d3e4-64f5-6d53-505b57e9dab5'::uuid;

-- Query #13698 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e8180f39-d3e4-64f5-6d53-505b57e9dab5'::uuid;

-- Query #13699 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e8180f39-d3e4-64f5-6d53-505b57e9dab5'::uuid]);

-- Query #13700 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e8180f39-d3e4-64f5-6d53-505b57e9dab5'::uuid;

-- Query #13701 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13702 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bfaf4878-4423-64b5-acb2-eb754ba0441d'::uuid;

-- Query #13703 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '381fd5c2-3e98-f7c6-a774-9f34f8c23c17'::uuid;

-- Query #13704 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bfaf4878-4423-64b5-acb2-eb754ba0441d'::uuid]);

-- Query #13705 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bfaf4878-4423-64b5-acb2-eb754ba0441d'::uuid;

-- Query #13706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfaf4878-4423-64b5-acb2-eb754ba0441d'::uuid, 'Imdb', 'tt5502808')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfaf4878-4423-64b5-acb2-eb754ba0441d'::uuid, 'Tmdb', 1205420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfaf4878-4423-64b5-acb2-eb754ba0441d'::uuid, 'trakt', 2273717)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfaf4878-4423-64b5-acb2-eb754ba0441d'::uuid, 'TvMaze', 852277)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfaf4878-4423-64b5-acb2-eb754ba0441d'::uuid, 'Tvdb', 5663452)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfaf4878-4423-64b5-acb2-eb754ba0441d'::uuid, 'TmdbCollection', 1205420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13712 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bfaf4878-4423-64b5-acb2-eb754ba0441d'::uuid;

-- Query #13713 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bfaf4878-4423-64b5-acb2-eb754ba0441d'::uuid;

-- Query #13714 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['381fd5c2-3e98-f7c6-a774-9f34f8c23c17'::uuid]);

-- Query #13715 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '381fd5c2-3e98-f7c6-a774-9f34f8c23c17'::uuid;

-- Query #13716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('381fd5c2-3e98-f7c6-a774-9f34f8c23c17'::uuid, 'Imdb', 'tt0751526')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('381fd5c2-3e98-f7c6-a774-9f34f8c23c17'::uuid, 'Tmdb', 335016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('381fd5c2-3e98-f7c6-a774-9f34f8c23c17'::uuid, 'TvMaze', 41442)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('381fd5c2-3e98-f7c6-a774-9f34f8c23c17'::uuid, 'Tvdb', 259735)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('381fd5c2-3e98-f7c6-a774-9f34f8c23c17'::uuid, 'TvRage', 236294)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('381fd5c2-3e98-f7c6-a774-9f34f8c23c17'::uuid, 'trakt', 343359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13722 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bfaf4878-4423-64b5-acb2-eb754ba0441d'::uuid]);

-- Query #13723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('381fd5c2-3e98-f7c6-a774-9f34f8c23c17'::uuid, 'TmdbCollection', 335016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13724 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '381fd5c2-3e98-f7c6-a774-9f34f8c23c17'::uuid;

-- Query #13725 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bfaf4878-4423-64b5-acb2-eb754ba0441d'::uuid;

-- Query #13726 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '381fd5c2-3e98-f7c6-a774-9f34f8c23c17'::uuid;

-- Query #13727 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13728 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['381fd5c2-3e98-f7c6-a774-9f34f8c23c17'::uuid]);

-- Query #13729 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '381fd5c2-3e98-f7c6-a774-9f34f8c23c17'::uuid;

-- Query #13730 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13731 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62d84f8b-f60e-cd86-215e-58c75d6f08f1'::uuid;

-- Query #13732 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b2171e0-09d6-ce53-9db8-24663df67291'::uuid;

-- Query #13733 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62d84f8b-f60e-cd86-215e-58c75d6f08f1'::uuid]);

-- Query #13734 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '62d84f8b-f60e-cd86-215e-58c75d6f08f1'::uuid;

-- Query #13735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62d84f8b-f60e-cd86-215e-58c75d6f08f1'::uuid, 'Imdb', 'tt5502594')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62d84f8b-f60e-cd86-215e-58c75d6f08f1'::uuid, 'Tmdb', 1202332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62d84f8b-f60e-cd86-215e-58c75d6f08f1'::uuid, 'TvMaze', 763318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62d84f8b-f60e-cd86-215e-58c75d6f08f1'::uuid, 'Tvdb', 5599265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62d84f8b-f60e-cd86-215e-58c75d6f08f1'::uuid, 'TvRage', 1065943993)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62d84f8b-f60e-cd86-215e-58c75d6f08f1'::uuid, 'trakt', 2222248)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62d84f8b-f60e-cd86-215e-58c75d6f08f1'::uuid, 'TmdbCollection', 1202332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13742 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62d84f8b-f60e-cd86-215e-58c75d6f08f1'::uuid;

-- Query #13743 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '62d84f8b-f60e-cd86-215e-58c75d6f08f1'::uuid;

-- Query #13744 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b2171e0-09d6-ce53-9db8-24663df67291'::uuid]);

-- Query #13745 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4b2171e0-09d6-ce53-9db8-24663df67291'::uuid;

-- Query #13746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b2171e0-09d6-ce53-9db8-24663df67291'::uuid, 'Imdb', 'tt0751564')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b2171e0-09d6-ce53-9db8-24663df67291'::uuid, 'Tmdb', 335013)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b2171e0-09d6-ce53-9db8-24663df67291'::uuid, 'TvMaze', 41439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b2171e0-09d6-ce53-9db8-24663df67291'::uuid, 'Tvdb', 259732)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b2171e0-09d6-ce53-9db8-24663df67291'::uuid, 'TvRage', 236291)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b2171e0-09d6-ce53-9db8-24663df67291'::uuid, 'trakt', 343356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13752 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['62d84f8b-f60e-cd86-215e-58c75d6f08f1'::uuid]);

-- Query #13753 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b2171e0-09d6-ce53-9db8-24663df67291'::uuid, 'TmdbCollection', 335013)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13754 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '62d84f8b-f60e-cd86-215e-58c75d6f08f1'::uuid;

-- Query #13755 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b2171e0-09d6-ce53-9db8-24663df67291'::uuid;

-- Query #13756 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4b2171e0-09d6-ce53-9db8-24663df67291'::uuid;

-- Query #13758 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4b2171e0-09d6-ce53-9db8-24663df67291'::uuid]);

-- Query #13759 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4b2171e0-09d6-ce53-9db8-24663df67291'::uuid;

-- Query #13760 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13761 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6996c19d-13c4-245a-1d8c-09c3495ff995'::uuid;

-- Query #13762 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3d7a805f-2cf7-1bb6-f678-2a2f829012dd'::uuid;

-- Query #13763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6996c19d-13c4-245a-1d8c-09c3495ff995'::uuid]);

-- Query #13764 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6996c19d-13c4-245a-1d8c-09c3495ff995'::uuid;

-- Query #13765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6996c19d-13c4-245a-1d8c-09c3495ff995'::uuid, 'Imdb', 'tt0751566')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6996c19d-13c4-245a-1d8c-09c3495ff995'::uuid, 'Tmdb', 335014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6996c19d-13c4-245a-1d8c-09c3495ff995'::uuid, 'TvMaze', 41440)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13768 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d7a805f-2cf7-1bb6-f678-2a2f829012dd'::uuid]);

-- Query #13769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6996c19d-13c4-245a-1d8c-09c3495ff995'::uuid, 'Tvdb', 259733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6996c19d-13c4-245a-1d8c-09c3495ff995'::uuid, 'TvRage', 236292)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13771 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3d7a805f-2cf7-1bb6-f678-2a2f829012dd'::uuid;

-- Query #13772 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6996c19d-13c4-245a-1d8c-09c3495ff995'::uuid, 'trakt', 343357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13773 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d7a805f-2cf7-1bb6-f678-2a2f829012dd'::uuid, 'Imdb', 'tt5895718')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13774 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6996c19d-13c4-245a-1d8c-09c3495ff995'::uuid, 'TmdbCollection', 335014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d7a805f-2cf7-1bb6-f678-2a2f829012dd'::uuid, 'Tmdb', 1288903)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13776 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6996c19d-13c4-245a-1d8c-09c3495ff995'::uuid;

-- Query #13777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d7a805f-2cf7-1bb6-f678-2a2f829012dd'::uuid, 'trakt', 2475529)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13778 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6996c19d-13c4-245a-1d8c-09c3495ff995'::uuid;

-- Query #13779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d7a805f-2cf7-1bb6-f678-2a2f829012dd'::uuid, 'Tvdb', 5937059)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d7a805f-2cf7-1bb6-f678-2a2f829012dd'::uuid, 'TvMaze', 1046392)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d7a805f-2cf7-1bb6-f678-2a2f829012dd'::uuid, 'TmdbCollection', 1288903)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13782 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3d7a805f-2cf7-1bb6-f678-2a2f829012dd'::uuid;

-- Query #13783 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3d7a805f-2cf7-1bb6-f678-2a2f829012dd'::uuid;

-- Query #13784 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6996c19d-13c4-245a-1d8c-09c3495ff995'::uuid]);

-- Query #13785 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6996c19d-13c4-245a-1d8c-09c3495ff995'::uuid;

-- Query #13786 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3d7a805f-2cf7-1bb6-f678-2a2f829012dd'::uuid]);

-- Query #13787 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13788 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3d7a805f-2cf7-1bb6-f678-2a2f829012dd'::uuid;

-- Query #13789 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13790 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd69cb30b-9956-bdfe-ccdd-d727baebb72d'::uuid;

-- Query #13791 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7aec963b-13e2-0c89-24ac-7d88af44c44f'::uuid;

-- Query #13792 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d69cb30b-9956-bdfe-ccdd-d727baebb72d'::uuid]);

-- Query #13793 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd69cb30b-9956-bdfe-ccdd-d727baebb72d'::uuid;

-- Query #13794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d69cb30b-9956-bdfe-ccdd-d727baebb72d'::uuid, 'Imdb', 'tt0751567')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d69cb30b-9956-bdfe-ccdd-d727baebb72d'::uuid, 'Tmdb', 335004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13796 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7aec963b-13e2-0c89-24ac-7d88af44c44f'::uuid]);

-- Query #13797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d69cb30b-9956-bdfe-ccdd-d727baebb72d'::uuid, 'TvMaze', 41429)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d69cb30b-9956-bdfe-ccdd-d727baebb72d'::uuid, 'Tvdb', 259722)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13799 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7aec963b-13e2-0c89-24ac-7d88af44c44f'::uuid;

-- Query #13800 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d69cb30b-9956-bdfe-ccdd-d727baebb72d'::uuid, 'TvRage', 236281)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7aec963b-13e2-0c89-24ac-7d88af44c44f'::uuid, 'Imdb', 'tt5502778')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d69cb30b-9956-bdfe-ccdd-d727baebb72d'::uuid, 'trakt', 343346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7aec963b-13e2-0c89-24ac-7d88af44c44f'::uuid, 'Tmdb', 1205421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d69cb30b-9956-bdfe-ccdd-d727baebb72d'::uuid, 'TmdbCollection', 335004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7aec963b-13e2-0c89-24ac-7d88af44c44f'::uuid, 'trakt', 2263931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7aec963b-13e2-0c89-24ac-7d88af44c44f'::uuid, 'TvMaze', 837348)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13807 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd69cb30b-9956-bdfe-ccdd-d727baebb72d'::uuid;

-- Query #13808 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7aec963b-13e2-0c89-24ac-7d88af44c44f'::uuid, 'Tvdb', 5651130)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13809 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd69cb30b-9956-bdfe-ccdd-d727baebb72d'::uuid;

-- Query #13810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7aec963b-13e2-0c89-24ac-7d88af44c44f'::uuid, 'TmdbCollection', 1205421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13811 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7aec963b-13e2-0c89-24ac-7d88af44c44f'::uuid;

-- Query #13812 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7aec963b-13e2-0c89-24ac-7d88af44c44f'::uuid;

-- Query #13813 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d69cb30b-9956-bdfe-ccdd-d727baebb72d'::uuid]);

-- Query #13814 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7aec963b-13e2-0c89-24ac-7d88af44c44f'::uuid]);

-- Query #13815 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd69cb30b-9956-bdfe-ccdd-d727baebb72d'::uuid;

-- Query #13816 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13817 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7aec963b-13e2-0c89-24ac-7d88af44c44f'::uuid;

-- Query #13818 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13819 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4330ad68-1e65-a49f-0cf7-b87758162e88'::uuid;

-- Query #13820 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4330ad68-1e65-a49f-0cf7-b87758162e88'::uuid]);

-- Query #13821 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4330ad68-1e65-a49f-0cf7-b87758162e88'::uuid;

-- Query #13822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4330ad68-1e65-a49f-0cf7-b87758162e88'::uuid, 'Imdb', 'tt0751571')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13823 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4330ad68-1e65-a49f-0cf7-b87758162e88'::uuid, 'Tmdb', 335010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4330ad68-1e65-a49f-0cf7-b87758162e88'::uuid, 'TvMaze', 41436)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4330ad68-1e65-a49f-0cf7-b87758162e88'::uuid, 'Tvdb', 259729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4330ad68-1e65-a49f-0cf7-b87758162e88'::uuid, 'TvRage', 236288)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4330ad68-1e65-a49f-0cf7-b87758162e88'::uuid, 'trakt', 343353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4330ad68-1e65-a49f-0cf7-b87758162e88'::uuid, 'TmdbCollection', 335010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13829 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4330ad68-1e65-a49f-0cf7-b87758162e88'::uuid;

-- Query #13830 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4330ad68-1e65-a49f-0cf7-b87758162e88'::uuid;

-- Query #13831 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e167b94-ead6-cb50-efbb-853c8197e706'::uuid;

-- Query #13832 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4330ad68-1e65-a49f-0cf7-b87758162e88'::uuid]);

-- Query #13833 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4330ad68-1e65-a49f-0cf7-b87758162e88'::uuid;

-- Query #13834 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13835 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e167b94-ead6-cb50-efbb-853c8197e706'::uuid]);

-- Query #13836 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3e167b94-ead6-cb50-efbb-853c8197e706'::uuid;

-- Query #13837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e167b94-ead6-cb50-efbb-853c8197e706'::uuid, 'TmdbCollection', 1200509)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e167b94-ead6-cb50-efbb-853c8197e706'::uuid, 'Imdb', 'tt5500140')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e167b94-ead6-cb50-efbb-853c8197e706'::uuid, 'Tmdb', 1200509)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e167b94-ead6-cb50-efbb-853c8197e706'::uuid, 'TvMaze', 763317)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13841 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e167b94-ead6-cb50-efbb-853c8197e706'::uuid, 'Tvdb', 5599264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13842 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e167b94-ead6-cb50-efbb-853c8197e706'::uuid, 'TvRage', 1065941620)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e167b94-ead6-cb50-efbb-853c8197e706'::uuid, 'trakt', 2222241)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13844 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e167b94-ead6-cb50-efbb-853c8197e706'::uuid;

-- Query #13845 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3e167b94-ead6-cb50-efbb-853c8197e706'::uuid;

-- Query #13846 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3e167b94-ead6-cb50-efbb-853c8197e706'::uuid]);

-- Query #13847 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3e167b94-ead6-cb50-efbb-853c8197e706'::uuid;

-- Query #13848 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13849 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e0f867e-b7e5-35b9-40bc-9001a1458af9'::uuid;

-- Query #13850 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0e0f867e-b7e5-35b9-40bc-9001a1458af9'::uuid]);

-- Query #13851 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0e0f867e-b7e5-35b9-40bc-9001a1458af9'::uuid;

-- Query #13852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e0f867e-b7e5-35b9-40bc-9001a1458af9'::uuid, 'Imdb', 'tt0751450')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e0f867e-b7e5-35b9-40bc-9001a1458af9'::uuid, 'Tmdb', 334973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e0f867e-b7e5-35b9-40bc-9001a1458af9'::uuid, 'TvMaze', 41443)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e0f867e-b7e5-35b9-40bc-9001a1458af9'::uuid, 'Tvdb', 259736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e0f867e-b7e5-35b9-40bc-9001a1458af9'::uuid, 'TvRage', 236295)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e0f867e-b7e5-35b9-40bc-9001a1458af9'::uuid, 'trakt', 343360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e0f867e-b7e5-35b9-40bc-9001a1458af9'::uuid, 'TmdbCollection', 334973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13859 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e0f867e-b7e5-35b9-40bc-9001a1458af9'::uuid;

-- Query #13860 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0e0f867e-b7e5-35b9-40bc-9001a1458af9'::uuid;

-- Query #13861 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a40f5e64-6941-4680-619e-cefb7e741b4f'::uuid;

-- Query #13862 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0e0f867e-b7e5-35b9-40bc-9001a1458af9'::uuid]);

-- Query #13863 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0e0f867e-b7e5-35b9-40bc-9001a1458af9'::uuid;

-- Query #13864 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13865 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a40f5e64-6941-4680-619e-cefb7e741b4f'::uuid]);

-- Query #13866 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a40f5e64-6941-4680-619e-cefb7e741b4f'::uuid;

-- Query #13867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a40f5e64-6941-4680-619e-cefb7e741b4f'::uuid, 'Imdb', 'tt5502802')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13868 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a40f5e64-6941-4680-619e-cefb7e741b4f'::uuid, 'Tmdb', 1205419)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13869 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a40f5e64-6941-4680-619e-cefb7e741b4f'::uuid, 'trakt', 2273716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a40f5e64-6941-4680-619e-cefb7e741b4f'::uuid, 'TvMaze', 852276)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13871 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a40f5e64-6941-4680-619e-cefb7e741b4f'::uuid, 'Tvdb', 5663449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a40f5e64-6941-4680-619e-cefb7e741b4f'::uuid, 'TmdbCollection', 1205419)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13873 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a40f5e64-6941-4680-619e-cefb7e741b4f'::uuid;

-- Query #13874 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a40f5e64-6941-4680-619e-cefb7e741b4f'::uuid;

-- Query #13875 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a40f5e64-6941-4680-619e-cefb7e741b4f'::uuid]);

-- Query #13876 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a40f5e64-6941-4680-619e-cefb7e741b4f'::uuid;

-- Query #13877 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13878 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74f9d9e6-e091-abdc-d316-c625a19f0f33'::uuid;

-- Query #13879 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['74f9d9e6-e091-abdc-d316-c625a19f0f33'::uuid]);

-- Query #13880 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '74f9d9e6-e091-abdc-d316-c625a19f0f33'::uuid;

-- Query #13881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74f9d9e6-e091-abdc-d316-c625a19f0f33'::uuid, 'Imdb', 'tt0751451')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74f9d9e6-e091-abdc-d316-c625a19f0f33'::uuid, 'Tmdb', 334974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74f9d9e6-e091-abdc-d316-c625a19f0f33'::uuid, 'TvMaze', 41444)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74f9d9e6-e091-abdc-d316-c625a19f0f33'::uuid, 'Tvdb', 259737)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74f9d9e6-e091-abdc-d316-c625a19f0f33'::uuid, 'TvRage', 236296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74f9d9e6-e091-abdc-d316-c625a19f0f33'::uuid, 'trakt', 343361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74f9d9e6-e091-abdc-d316-c625a19f0f33'::uuid, 'TmdbCollection', 334974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13888 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74f9d9e6-e091-abdc-d316-c625a19f0f33'::uuid;

-- Query #13889 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '74f9d9e6-e091-abdc-d316-c625a19f0f33'::uuid;

-- Query #13890 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['74f9d9e6-e091-abdc-d316-c625a19f0f33'::uuid]);

-- Query #13891 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '74f9d9e6-e091-abdc-d316-c625a19f0f33'::uuid;

-- Query #13892 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13893 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b6388394-7ca6-5d73-d352-4de61e3920ed'::uuid;

-- Query #13894 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b6388394-7ca6-5d73-d352-4de61e3920ed'::uuid]);

-- Query #13895 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b6388394-7ca6-5d73-d352-4de61e3920ed'::uuid;

-- Query #13896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6388394-7ca6-5d73-d352-4de61e3920ed'::uuid, 'Imdb', 'tt5275090')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6388394-7ca6-5d73-d352-4de61e3920ed'::uuid, 'Tmdb', 1199425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6388394-7ca6-5d73-d352-4de61e3920ed'::uuid, 'TvMaze', 680604)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13899 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6388394-7ca6-5d73-d352-4de61e3920ed'::uuid, 'Tvdb', 5566021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13900 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6388394-7ca6-5d73-d352-4de61e3920ed'::uuid, 'TvRage', 1065923080)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13901 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6388394-7ca6-5d73-d352-4de61e3920ed'::uuid, 'trakt', 2194368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6388394-7ca6-5d73-d352-4de61e3920ed'::uuid, 'TmdbCollection', 1199425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13903 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b6388394-7ca6-5d73-d352-4de61e3920ed'::uuid;

-- Query #13904 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b6388394-7ca6-5d73-d352-4de61e3920ed'::uuid;

-- Query #13905 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b6388394-7ca6-5d73-d352-4de61e3920ed'::uuid]);

-- Query #13906 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b6388394-7ca6-5d73-d352-4de61e3920ed'::uuid;

-- Query #13907 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13908 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7bea94fb-e8d1-547f-f2a1-b74db258e7f9'::uuid;

-- Query #13909 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7bea94fb-e8d1-547f-f2a1-b74db258e7f9'::uuid]);

-- Query #13910 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7bea94fb-e8d1-547f-f2a1-b74db258e7f9'::uuid;

-- Query #13911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bea94fb-e8d1-547f-f2a1-b74db258e7f9'::uuid, 'Imdb', 'tt0751537')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13912 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ed0ff55-eb2f-70ad-e8da-9f0b4f91b81f'::uuid;

-- Query #13913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bea94fb-e8d1-547f-f2a1-b74db258e7f9'::uuid, 'Tmdb', 334990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bea94fb-e8d1-547f-f2a1-b74db258e7f9'::uuid, 'TvMaze', 41460)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13915 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bea94fb-e8d1-547f-f2a1-b74db258e7f9'::uuid, 'Tvdb', 259753)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13916 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bea94fb-e8d1-547f-f2a1-b74db258e7f9'::uuid, 'TvRage', 236312)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13917 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bea94fb-e8d1-547f-f2a1-b74db258e7f9'::uuid, 'trakt', 343377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bea94fb-e8d1-547f-f2a1-b74db258e7f9'::uuid, 'TmdbCollection', 334990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13919 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7bea94fb-e8d1-547f-f2a1-b74db258e7f9'::uuid;

-- Query #13920 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7bea94fb-e8d1-547f-f2a1-b74db258e7f9'::uuid;

-- Query #13921 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ed0ff55-eb2f-70ad-e8da-9f0b4f91b81f'::uuid]);

-- Query #13922 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7bea94fb-e8d1-547f-f2a1-b74db258e7f9'::uuid]);

-- Query #13923 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5ed0ff55-eb2f-70ad-e8da-9f0b4f91b81f'::uuid;

-- Query #13924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ed0ff55-eb2f-70ad-e8da-9f0b4f91b81f'::uuid, 'Imdb', 'tt5886078')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ed0ff55-eb2f-70ad-e8da-9f0b4f91b81f'::uuid, 'Tmdb', 1279787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13926 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7bea94fb-e8d1-547f-f2a1-b74db258e7f9'::uuid;

-- Query #13927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ed0ff55-eb2f-70ad-e8da-9f0b4f91b81f'::uuid, 'trakt', 2475476)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13928 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13929 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ed0ff55-eb2f-70ad-e8da-9f0b4f91b81f'::uuid, 'TvMaze', 1046389)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13930 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ed0ff55-eb2f-70ad-e8da-9f0b4f91b81f'::uuid, 'Tvdb', 5937056)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13931 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ed0ff55-eb2f-70ad-e8da-9f0b4f91b81f'::uuid, 'TmdbCollection', 1279787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13932 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ed0ff55-eb2f-70ad-e8da-9f0b4f91b81f'::uuid;

-- Query #13933 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5ed0ff55-eb2f-70ad-e8da-9f0b4f91b81f'::uuid;

-- Query #13934 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5ed0ff55-eb2f-70ad-e8da-9f0b4f91b81f'::uuid]);

-- Query #13935 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5ed0ff55-eb2f-70ad-e8da-9f0b4f91b81f'::uuid;

-- Query #13936 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13937 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fd5adcba-4051-d387-834a-ba183334e942'::uuid;

-- Query #13938 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fd5adcba-4051-d387-834a-ba183334e942'::uuid]);

-- Query #13939 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fd5adcba-4051-d387-834a-ba183334e942'::uuid;

-- Query #13940 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3da7fb5b-d5e3-edb2-adbc-3701d353b231'::uuid;

-- Query #13941 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd5adcba-4051-d387-834a-ba183334e942'::uuid, 'Imdb', 'tt0751467')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13942 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd5adcba-4051-d387-834a-ba183334e942'::uuid, 'Tmdb', 334980)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13943 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd5adcba-4051-d387-834a-ba183334e942'::uuid, 'TvMaze', 41450)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13944 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd5adcba-4051-d387-834a-ba183334e942'::uuid, 'Tvdb', 259743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13945 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd5adcba-4051-d387-834a-ba183334e942'::uuid, 'TvRage', 236302)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13946 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd5adcba-4051-d387-834a-ba183334e942'::uuid, 'trakt', 343367)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd5adcba-4051-d387-834a-ba183334e942'::uuid, 'TmdbCollection', 334980)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13948 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fd5adcba-4051-d387-834a-ba183334e942'::uuid;

-- Query #13949 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fd5adcba-4051-d387-834a-ba183334e942'::uuid;

-- Query #13950 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fd5adcba-4051-d387-834a-ba183334e942'::uuid]);

-- Query #13951 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fd5adcba-4051-d387-834a-ba183334e942'::uuid;

-- Query #13952 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13953 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3da7fb5b-d5e3-edb2-adbc-3701d353b231'::uuid]);

-- Query #13954 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3da7fb5b-d5e3-edb2-adbc-3701d353b231'::uuid;

-- Query #13955 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da7fb5b-d5e3-edb2-adbc-3701d353b231'::uuid, 'TmdbCollection', 1296181)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13956 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da7fb5b-d5e3-edb2-adbc-3701d353b231'::uuid, 'Imdb', 'tt5834894')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da7fb5b-d5e3-edb2-adbc-3701d353b231'::uuid, 'Tmdb', 1296181)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13958 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da7fb5b-d5e3-edb2-adbc-3701d353b231'::uuid, 'trakt', 2496863)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13959 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da7fb5b-d5e3-edb2-adbc-3701d353b231'::uuid, 'TvMaze', 1049932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13960 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da7fb5b-d5e3-edb2-adbc-3701d353b231'::uuid, 'Tvdb', 5970023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13961 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3da7fb5b-d5e3-edb2-adbc-3701d353b231'::uuid;

-- Query #13962 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3da7fb5b-d5e3-edb2-adbc-3701d353b231'::uuid;

-- Query #13963 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3da7fb5b-d5e3-edb2-adbc-3701d353b231'::uuid]);

-- Query #13964 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3da7fb5b-d5e3-edb2-adbc-3701d353b231'::uuid;

-- Query #13965 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13966 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e24ba987-9d09-fd41-21dd-b34bdb3296a4'::uuid;

-- Query #13967 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e24ba987-9d09-fd41-21dd-b34bdb3296a4'::uuid]);

-- Query #13968 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e24ba987-9d09-fd41-21dd-b34bdb3296a4'::uuid;

-- Query #13969 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24ba987-9d09-fd41-21dd-b34bdb3296a4'::uuid, 'Imdb', 'tt0751469')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13970 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24ba987-9d09-fd41-21dd-b34bdb3296a4'::uuid, 'Tmdb', 334983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24ba987-9d09-fd41-21dd-b34bdb3296a4'::uuid, 'TvMaze', 41453)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24ba987-9d09-fd41-21dd-b34bdb3296a4'::uuid, 'Tvdb', 259746)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13973 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24ba987-9d09-fd41-21dd-b34bdb3296a4'::uuid, 'TvRage', 236305)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13974 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24ba987-9d09-fd41-21dd-b34bdb3296a4'::uuid, 'trakt', 343370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24ba987-9d09-fd41-21dd-b34bdb3296a4'::uuid, 'TmdbCollection', 334983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13976 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e24ba987-9d09-fd41-21dd-b34bdb3296a4'::uuid;

-- Query #13977 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e24ba987-9d09-fd41-21dd-b34bdb3296a4'::uuid;

-- Query #13978 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e24ba987-9d09-fd41-21dd-b34bdb3296a4'::uuid]);

-- Query #13979 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e24ba987-9d09-fd41-21dd-b34bdb3296a4'::uuid;

-- Query #13980 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13981 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81ba3cfc-9dbd-91a9-b460-05b0b6ee96cd'::uuid;

-- Query #13982 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['81ba3cfc-9dbd-91a9-b460-05b0b6ee96cd'::uuid]);

-- Query #13983 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '81ba3cfc-9dbd-91a9-b460-05b0b6ee96cd'::uuid;

-- Query #13984 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81ba3cfc-9dbd-91a9-b460-05b0b6ee96cd'::uuid, 'Imdb', 'tt5830964')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13985 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81ba3cfc-9dbd-91a9-b460-05b0b6ee96cd'::uuid, 'Tmdb', 1298960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13986 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81ba3cfc-9dbd-91a9-b460-05b0b6ee96cd'::uuid, 'trakt', 2496866)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13987 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81ba3cfc-9dbd-91a9-b460-05b0b6ee96cd'::uuid, 'TvMaze', 1049933)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13988 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81ba3cfc-9dbd-91a9-b460-05b0b6ee96cd'::uuid, 'Tvdb', 5970024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13989 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81ba3cfc-9dbd-91a9-b460-05b0b6ee96cd'::uuid, 'TmdbCollection', 1298960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13990 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81ba3cfc-9dbd-91a9-b460-05b0b6ee96cd'::uuid;

-- Query #13991 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '81ba3cfc-9dbd-91a9-b460-05b0b6ee96cd'::uuid;

-- Query #13992 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['81ba3cfc-9dbd-91a9-b460-05b0b6ee96cd'::uuid]);

-- Query #13993 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '81ba3cfc-9dbd-91a9-b460-05b0b6ee96cd'::uuid;

-- Query #13994 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #13995 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82ba6d76-facb-b367-d0ad-6e8be83bff0a'::uuid;

-- Query #13996 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ba6d76-facb-b367-d0ad-6e8be83bff0a'::uuid]);

-- Query #13997 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82ba6d76-facb-b367-d0ad-6e8be83bff0a'::uuid;

-- Query #13998 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ba6d76-facb-b367-d0ad-6e8be83bff0a'::uuid, 'Imdb', 'tt0751472')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #13999 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ba6d76-facb-b367-d0ad-6e8be83bff0a'::uuid, 'Tmdb', 334994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14000 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ba6d76-facb-b367-d0ad-6e8be83bff0a'::uuid, 'TvMaze', 41464)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ba6d76-facb-b367-d0ad-6e8be83bff0a'::uuid, 'Tvdb', 259757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ba6d76-facb-b367-d0ad-6e8be83bff0a'::uuid, 'TvRage', 236316)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ba6d76-facb-b367-d0ad-6e8be83bff0a'::uuid, 'trakt', 343381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ba6d76-facb-b367-d0ad-6e8be83bff0a'::uuid, 'TmdbCollection', 334994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14005 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82ba6d76-facb-b367-d0ad-6e8be83bff0a'::uuid;

-- Query #14006 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82ba6d76-facb-b367-d0ad-6e8be83bff0a'::uuid;

-- Query #14007 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e50713b1-d797-e116-090e-aa48036d7847'::uuid;

-- Query #14008 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82ba6d76-facb-b367-d0ad-6e8be83bff0a'::uuid]);

-- Query #14009 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '82ba6d76-facb-b367-d0ad-6e8be83bff0a'::uuid;

-- Query #14010 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14011 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e50713b1-d797-e116-090e-aa48036d7847'::uuid]);

-- Query #14012 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e50713b1-d797-e116-090e-aa48036d7847'::uuid;

-- Query #14013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e50713b1-d797-e116-090e-aa48036d7847'::uuid, 'Imdb', 'tt5502586')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e50713b1-d797-e116-090e-aa48036d7847'::uuid, 'Tmdb', 1205319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e50713b1-d797-e116-090e-aa48036d7847'::uuid, 'TvMaze', 803992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e50713b1-d797-e116-090e-aa48036d7847'::uuid, 'Tvdb', 5603221)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e50713b1-d797-e116-090e-aa48036d7847'::uuid, 'TvRage', 1065948188)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14018 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e50713b1-d797-e116-090e-aa48036d7847'::uuid, 'trakt', 2224946)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e50713b1-d797-e116-090e-aa48036d7847'::uuid, 'TmdbCollection', 1205319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14020 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e50713b1-d797-e116-090e-aa48036d7847'::uuid;

-- Query #14021 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e50713b1-d797-e116-090e-aa48036d7847'::uuid;

-- Query #14022 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e50713b1-d797-e116-090e-aa48036d7847'::uuid]);

-- Query #14023 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e50713b1-d797-e116-090e-aa48036d7847'::uuid;

-- Query #14024 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14025 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '445825f3-6185-9a47-37ed-8e2a9254469a'::uuid;

-- Query #14026 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['445825f3-6185-9a47-37ed-8e2a9254469a'::uuid]);

-- Query #14027 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '445825f3-6185-9a47-37ed-8e2a9254469a'::uuid;

-- Query #14028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('445825f3-6185-9a47-37ed-8e2a9254469a'::uuid, 'Imdb', 'tt0751474')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('445825f3-6185-9a47-37ed-8e2a9254469a'::uuid, 'Tmdb', 334986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('445825f3-6185-9a47-37ed-8e2a9254469a'::uuid, 'TvMaze', 41456)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14031 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('445825f3-6185-9a47-37ed-8e2a9254469a'::uuid, 'Tvdb', 259749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('445825f3-6185-9a47-37ed-8e2a9254469a'::uuid, 'TvRage', 236308)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14033 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9ea0ae84-a0b2-6bb7-72a3-576ef2b81c01'::uuid;

-- Query #14034 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('445825f3-6185-9a47-37ed-8e2a9254469a'::uuid, 'trakt', 343373)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('445825f3-6185-9a47-37ed-8e2a9254469a'::uuid, 'TmdbCollection', 334986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14036 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '445825f3-6185-9a47-37ed-8e2a9254469a'::uuid;

-- Query #14037 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '445825f3-6185-9a47-37ed-8e2a9254469a'::uuid;

-- Query #14038 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['445825f3-6185-9a47-37ed-8e2a9254469a'::uuid]);

-- Query #14039 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9ea0ae84-a0b2-6bb7-72a3-576ef2b81c01'::uuid]);

-- Query #14040 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '445825f3-6185-9a47-37ed-8e2a9254469a'::uuid;

-- Query #14041 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9ea0ae84-a0b2-6bb7-72a3-576ef2b81c01'::uuid;

-- Query #14042 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14043 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ea0ae84-a0b2-6bb7-72a3-576ef2b81c01'::uuid, 'Imdb', 'tt5502600')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14044 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ea0ae84-a0b2-6bb7-72a3-576ef2b81c01'::uuid, 'Tmdb', 1205418)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ea0ae84-a0b2-6bb7-72a3-576ef2b81c01'::uuid, 'trakt', 2251253)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ea0ae84-a0b2-6bb7-72a3-576ef2b81c01'::uuid, 'TvMaze', 819659)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ea0ae84-a0b2-6bb7-72a3-576ef2b81c01'::uuid, 'Tvdb', 5633198)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9ea0ae84-a0b2-6bb7-72a3-576ef2b81c01'::uuid, 'TmdbCollection', 1205418)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14049 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9ea0ae84-a0b2-6bb7-72a3-576ef2b81c01'::uuid;

-- Query #14050 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9ea0ae84-a0b2-6bb7-72a3-576ef2b81c01'::uuid;

-- Query #14051 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9ea0ae84-a0b2-6bb7-72a3-576ef2b81c01'::uuid]);

-- Query #14052 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9ea0ae84-a0b2-6bb7-72a3-576ef2b81c01'::uuid;

-- Query #14053 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14054 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9dc2e75f-ada2-eb8a-d186-89f179df8cdf'::uuid;

-- Query #14055 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9bbe4425-8389-3eea-fac6-51fe00c3a6ae'::uuid;

-- Query #14056 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dc2e75f-ada2-eb8a-d186-89f179df8cdf'::uuid]);

-- Query #14057 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9dc2e75f-ada2-eb8a-d186-89f179df8cdf'::uuid;

-- Query #14058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dc2e75f-ada2-eb8a-d186-89f179df8cdf'::uuid, 'Imdb', 'tt0751476')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dc2e75f-ada2-eb8a-d186-89f179df8cdf'::uuid, 'Tmdb', 334992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dc2e75f-ada2-eb8a-d186-89f179df8cdf'::uuid, 'TvMaze', 41462)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14061 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9bbe4425-8389-3eea-fac6-51fe00c3a6ae'::uuid]);

-- Query #14062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dc2e75f-ada2-eb8a-d186-89f179df8cdf'::uuid, 'Tvdb', 259755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14063 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9bbe4425-8389-3eea-fac6-51fe00c3a6ae'::uuid;

-- Query #14064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dc2e75f-ada2-eb8a-d186-89f179df8cdf'::uuid, 'TvRage', 236314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9bbe4425-8389-3eea-fac6-51fe00c3a6ae'::uuid, 'Imdb', 'tt5502882')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dc2e75f-ada2-eb8a-d186-89f179df8cdf'::uuid, 'trakt', 343379)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14067 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9bbe4425-8389-3eea-fac6-51fe00c3a6ae'::uuid, 'Tmdb', 1219283)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dc2e75f-ada2-eb8a-d186-89f179df8cdf'::uuid, 'TmdbCollection', 334992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9bbe4425-8389-3eea-fac6-51fe00c3a6ae'::uuid, 'trakt', 2285919)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14070 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9dc2e75f-ada2-eb8a-d186-89f179df8cdf'::uuid;

-- Query #14071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9bbe4425-8389-3eea-fac6-51fe00c3a6ae'::uuid, 'TvMaze', 868256)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14072 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9dc2e75f-ada2-eb8a-d186-89f179df8cdf'::uuid;

-- Query #14073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9bbe4425-8389-3eea-fac6-51fe00c3a6ae'::uuid, 'Tvdb', 5677763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9bbe4425-8389-3eea-fac6-51fe00c3a6ae'::uuid, 'TmdbCollection', 1219283)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9bbe4425-8389-3eea-fac6-51fe00c3a6ae'::uuid;

-- Query #14076 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9bbe4425-8389-3eea-fac6-51fe00c3a6ae'::uuid;

-- Query #14077 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9dc2e75f-ada2-eb8a-d186-89f179df8cdf'::uuid]);

-- Query #14078 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9dc2e75f-ada2-eb8a-d186-89f179df8cdf'::uuid;

-- Query #14079 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9bbe4425-8389-3eea-fac6-51fe00c3a6ae'::uuid]);

-- Query #14080 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14081 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9bbe4425-8389-3eea-fac6-51fe00c3a6ae'::uuid;

-- Query #14082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '85c31227-7082-d2d4-540a-94c0bca589b3'::uuid;

-- Query #14084 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd94b7b1d-3e5c-3717-2113-4216688c2dab'::uuid;

-- Query #14085 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85c31227-7082-d2d4-540a-94c0bca589b3'::uuid]);

-- Query #14086 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '85c31227-7082-d2d4-540a-94c0bca589b3'::uuid;

-- Query #14087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85c31227-7082-d2d4-540a-94c0bca589b3'::uuid, 'Imdb', 'tt5502884')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85c31227-7082-d2d4-540a-94c0bca589b3'::uuid, 'Tmdb', 1222659)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85c31227-7082-d2d4-540a-94c0bca589b3'::uuid, 'trakt', 2285920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85c31227-7082-d2d4-540a-94c0bca589b3'::uuid, 'TvMaze', 868257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85c31227-7082-d2d4-540a-94c0bca589b3'::uuid, 'Tvdb', 5677764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85c31227-7082-d2d4-540a-94c0bca589b3'::uuid, 'TmdbCollection', 1222659)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14093 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '85c31227-7082-d2d4-540a-94c0bca589b3'::uuid;

-- Query #14094 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '85c31227-7082-d2d4-540a-94c0bca589b3'::uuid;

-- Query #14095 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d94b7b1d-3e5c-3717-2113-4216688c2dab'::uuid]);

-- Query #14096 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd94b7b1d-3e5c-3717-2113-4216688c2dab'::uuid;

-- Query #14097 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d94b7b1d-3e5c-3717-2113-4216688c2dab'::uuid, 'Imdb', 'tt0751442')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14098 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d94b7b1d-3e5c-3717-2113-4216688c2dab'::uuid, 'Tmdb', 334975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14099 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d94b7b1d-3e5c-3717-2113-4216688c2dab'::uuid, 'TvMaze', 41445)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d94b7b1d-3e5c-3717-2113-4216688c2dab'::uuid, 'Tvdb', 259738)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14101 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['85c31227-7082-d2d4-540a-94c0bca589b3'::uuid]);

-- Query #14102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d94b7b1d-3e5c-3717-2113-4216688c2dab'::uuid, 'TvRage', 236297)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d94b7b1d-3e5c-3717-2113-4216688c2dab'::uuid, 'trakt', 343362)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14104 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '85c31227-7082-d2d4-540a-94c0bca589b3'::uuid;

-- Query #14105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d94b7b1d-3e5c-3717-2113-4216688c2dab'::uuid, 'TmdbCollection', 334975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14106 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14107 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd94b7b1d-3e5c-3717-2113-4216688c2dab'::uuid;

-- Query #14108 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd94b7b1d-3e5c-3717-2113-4216688c2dab'::uuid;

-- Query #14109 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d94b7b1d-3e5c-3717-2113-4216688c2dab'::uuid]);

-- Query #14110 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd94b7b1d-3e5c-3717-2113-4216688c2dab'::uuid;

-- Query #14111 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14112 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b6bace5-96ef-6012-b830-bbcdc2229680'::uuid;

-- Query #14113 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bad5e222-f0ee-499b-0b2f-8dc6ad55567e'::uuid;

-- Query #14114 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b6bace5-96ef-6012-b830-bbcdc2229680'::uuid]);

-- Query #14115 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5b6bace5-96ef-6012-b830-bbcdc2229680'::uuid;

-- Query #14116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b6bace5-96ef-6012-b830-bbcdc2229680'::uuid, 'Imdb', 'tt5308396')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b6bace5-96ef-6012-b830-bbcdc2229680'::uuid, 'Tmdb', 1222823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b6bace5-96ef-6012-b830-bbcdc2229680'::uuid, 'trakt', 2285921)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b6bace5-96ef-6012-b830-bbcdc2229680'::uuid, 'TvMaze', 868258)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b6bace5-96ef-6012-b830-bbcdc2229680'::uuid, 'Tvdb', 5677765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b6bace5-96ef-6012-b830-bbcdc2229680'::uuid, 'TmdbCollection', 1222823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14122 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b6bace5-96ef-6012-b830-bbcdc2229680'::uuid;

-- Query #14123 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5b6bace5-96ef-6012-b830-bbcdc2229680'::uuid;

-- Query #14124 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bad5e222-f0ee-499b-0b2f-8dc6ad55567e'::uuid]);

-- Query #14125 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bad5e222-f0ee-499b-0b2f-8dc6ad55567e'::uuid;

-- Query #14126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bad5e222-f0ee-499b-0b2f-8dc6ad55567e'::uuid, 'Imdb', 'tt0751446')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14127 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bad5e222-f0ee-499b-0b2f-8dc6ad55567e'::uuid, 'Tmdb', 334977)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14128 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bad5e222-f0ee-499b-0b2f-8dc6ad55567e'::uuid, 'TvMaze', 41447)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14129 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bad5e222-f0ee-499b-0b2f-8dc6ad55567e'::uuid, 'Tvdb', 259740)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14130 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5b6bace5-96ef-6012-b830-bbcdc2229680'::uuid]);

-- Query #14131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bad5e222-f0ee-499b-0b2f-8dc6ad55567e'::uuid, 'TvRage', 236299)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bad5e222-f0ee-499b-0b2f-8dc6ad55567e'::uuid, 'trakt', 343364)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bad5e222-f0ee-499b-0b2f-8dc6ad55567e'::uuid, 'TmdbCollection', 334977)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14134 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5b6bace5-96ef-6012-b830-bbcdc2229680'::uuid;

-- Query #14135 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bad5e222-f0ee-499b-0b2f-8dc6ad55567e'::uuid;

-- Query #14136 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c63af803-7d16-c558-4004-e616cd1091de'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14137 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bad5e222-f0ee-499b-0b2f-8dc6ad55567e'::uuid;

-- Query #14138 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #14139 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bad5e222-f0ee-499b-0b2f-8dc6ad55567e'::uuid]);

-- Query #14140 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bad5e222-f0ee-499b-0b2f-8dc6ad55567e'::uuid;

-- Query #14141 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14142 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2ae4b65b-5fd2-4e79-c6b4-ce00010885e2'::uuid;

-- Query #14143 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b0e3d097-5e93-d74a-7c2f-23eb631a7538'::uuid;

-- Query #14144 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ae4b65b-5fd2-4e79-c6b4-ce00010885e2'::uuid]);

-- Query #14145 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2ae4b65b-5fd2-4e79-c6b4-ce00010885e2'::uuid;

-- Query #14146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ae4b65b-5fd2-4e79-c6b4-ce00010885e2'::uuid, 'Tmdb', 1411029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ae4b65b-5fd2-4e79-c6b4-ce00010885e2'::uuid, 'trakt', 2684905)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14148 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b0e3d097-5e93-d74a-7c2f-23eb631a7538'::uuid]);

-- Query #14149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ae4b65b-5fd2-4e79-c6b4-ce00010885e2'::uuid, 'TvMaze', 1271679)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14150 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b0e3d097-5e93-d74a-7c2f-23eb631a7538'::uuid;

-- Query #14151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ae4b65b-5fd2-4e79-c6b4-ce00010885e2'::uuid, 'Tvdb', 6247363)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ae4b65b-5fd2-4e79-c6b4-ce00010885e2'::uuid, 'TmdbCollection', 1411029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14153 | logged_duration_ms=9 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0e3d097-5e93-d74a-7c2f-23eb631a7538'::uuid, 'Imdb', 'tt0394990')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14154 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ae4b65b-5fd2-4e79-c6b4-ce00010885e2'::uuid, 'Imdb', 'tt6464604')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14155 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0e3d097-5e93-d74a-7c2f-23eb631a7538'::uuid, 'Tmdb', 334993)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14156 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0e3d097-5e93-d74a-7c2f-23eb631a7538'::uuid, 'TvMaze', 41463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14157 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2ae4b65b-5fd2-4e79-c6b4-ce00010885e2'::uuid;

-- Query #14158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0e3d097-5e93-d74a-7c2f-23eb631a7538'::uuid, 'Tvdb', 259756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14159 | logged_duration_ms=2 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2ae4b65b-5fd2-4e79-c6b4-ce00010885e2'::uuid;

-- Query #14160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0e3d097-5e93-d74a-7c2f-23eb631a7538'::uuid, 'TvRage', 236315)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0e3d097-5e93-d74a-7c2f-23eb631a7538'::uuid, 'trakt', 343380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0e3d097-5e93-d74a-7c2f-23eb631a7538'::uuid, 'TmdbCollection', 334993)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14163 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b0e3d097-5e93-d74a-7c2f-23eb631a7538'::uuid;

-- Query #14164 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b0e3d097-5e93-d74a-7c2f-23eb631a7538'::uuid;

-- Query #14165 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2ae4b65b-5fd2-4e79-c6b4-ce00010885e2'::uuid]);

-- Query #14166 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2ae4b65b-5fd2-4e79-c6b4-ce00010885e2'::uuid;

-- Query #14167 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14168 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b0e3d097-5e93-d74a-7c2f-23eb631a7538'::uuid]);

-- Query #14169 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b0e3d097-5e93-d74a-7c2f-23eb631a7538'::uuid;

-- Query #14170 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14171 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b8e3401-3f83-08ce-2fe3-622f7ed7b68d'::uuid;

-- Query #14172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd9492b88-593f-6d3d-2ae4-2b2af0e6ec0c'::uuid;

-- Query #14173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b8e3401-3f83-08ce-2fe3-622f7ed7b68d'::uuid]);

-- Query #14174 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5b8e3401-3f83-08ce-2fe3-622f7ed7b68d'::uuid;

-- Query #14175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b8e3401-3f83-08ce-2fe3-622f7ed7b68d'::uuid, 'TmdbCollection', 1411030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b8e3401-3f83-08ce-2fe3-622f7ed7b68d'::uuid, 'Imdb', 'tt6464606')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b8e3401-3f83-08ce-2fe3-622f7ed7b68d'::uuid, 'Tmdb', 1411030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b8e3401-3f83-08ce-2fe3-622f7ed7b68d'::uuid, 'trakt', 2684906)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b8e3401-3f83-08ce-2fe3-622f7ed7b68d'::uuid, 'TvMaze', 1271680)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b8e3401-3f83-08ce-2fe3-622f7ed7b68d'::uuid, 'Tvdb', 6247365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14181 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b8e3401-3f83-08ce-2fe3-622f7ed7b68d'::uuid;

-- Query #14182 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5b8e3401-3f83-08ce-2fe3-622f7ed7b68d'::uuid;

-- Query #14183 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d9492b88-593f-6d3d-2ae4-2b2af0e6ec0c'::uuid]);

-- Query #14184 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd9492b88-593f-6d3d-2ae4-2b2af0e6ec0c'::uuid;

-- Query #14185 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9492b88-593f-6d3d-2ae4-2b2af0e6ec0c'::uuid, 'Imdb', 'tt0751492')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14186 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9492b88-593f-6d3d-2ae4-2b2af0e6ec0c'::uuid, 'Tmdb', 334976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14187 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9492b88-593f-6d3d-2ae4-2b2af0e6ec0c'::uuid, 'TvMaze', 41446)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14188 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9492b88-593f-6d3d-2ae4-2b2af0e6ec0c'::uuid, 'Tvdb', 259739)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9492b88-593f-6d3d-2ae4-2b2af0e6ec0c'::uuid, 'TvRage', 236298)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9492b88-593f-6d3d-2ae4-2b2af0e6ec0c'::uuid, 'trakt', 343363)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9492b88-593f-6d3d-2ae4-2b2af0e6ec0c'::uuid, 'TmdbCollection', 334976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14192 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5b8e3401-3f83-08ce-2fe3-622f7ed7b68d'::uuid]);

-- Query #14193 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd9492b88-593f-6d3d-2ae4-2b2af0e6ec0c'::uuid;

-- Query #14194 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd9492b88-593f-6d3d-2ae4-2b2af0e6ec0c'::uuid;

-- Query #14195 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5b8e3401-3f83-08ce-2fe3-622f7ed7b68d'::uuid;

-- Query #14196 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14197 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d9492b88-593f-6d3d-2ae4-2b2af0e6ec0c'::uuid]);

-- Query #14198 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd9492b88-593f-6d3d-2ae4-2b2af0e6ec0c'::uuid;

-- Query #14199 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14200 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dfe3a926-fd4d-bedd-f949-8edd59d56712'::uuid;

-- Query #14201 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dfe3a926-fd4d-bedd-f949-8edd59d56712'::uuid]);

-- Query #14202 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dfe3a926-fd4d-bedd-f949-8edd59d56712'::uuid;

-- Query #14203 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3038fab-bd85-67a8-83d1-296011d7c9e9'::uuid;

-- Query #14204 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfe3a926-fd4d-bedd-f949-8edd59d56712'::uuid, 'Imdb', 'tt6441254')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfe3a926-fd4d-bedd-f949-8edd59d56712'::uuid, 'Tmdb', 1417280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfe3a926-fd4d-bedd-f949-8edd59d56712'::uuid, 'trakt', 2684908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfe3a926-fd4d-bedd-f949-8edd59d56712'::uuid, 'TvMaze', 1271682)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfe3a926-fd4d-bedd-f949-8edd59d56712'::uuid, 'Tvdb', 6247368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfe3a926-fd4d-bedd-f949-8edd59d56712'::uuid, 'TmdbCollection', 1417280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14210 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dfe3a926-fd4d-bedd-f949-8edd59d56712'::uuid;

-- Query #14211 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dfe3a926-fd4d-bedd-f949-8edd59d56712'::uuid;

-- Query #14212 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b3038fab-bd85-67a8-83d1-296011d7c9e9'::uuid]);

-- Query #14213 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dfe3a926-fd4d-bedd-f949-8edd59d56712'::uuid]);

-- Query #14214 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b3038fab-bd85-67a8-83d1-296011d7c9e9'::uuid;

-- Query #14215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3038fab-bd85-67a8-83d1-296011d7c9e9'::uuid, 'TmdbCollection', 334979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14216 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dfe3a926-fd4d-bedd-f949-8edd59d56712'::uuid;

-- Query #14217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3038fab-bd85-67a8-83d1-296011d7c9e9'::uuid, 'Imdb', 'tt0751504')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3038fab-bd85-67a8-83d1-296011d7c9e9'::uuid, 'Tmdb', 334979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14219 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3038fab-bd85-67a8-83d1-296011d7c9e9'::uuid, 'TvMaze', 41449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3038fab-bd85-67a8-83d1-296011d7c9e9'::uuid, 'Tvdb', 259742)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3038fab-bd85-67a8-83d1-296011d7c9e9'::uuid, 'TvRage', 236301)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3038fab-bd85-67a8-83d1-296011d7c9e9'::uuid, 'trakt', 343366)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14224 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3038fab-bd85-67a8-83d1-296011d7c9e9'::uuid;

-- Query #14225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b3038fab-bd85-67a8-83d1-296011d7c9e9'::uuid;

-- Query #14226 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b3038fab-bd85-67a8-83d1-296011d7c9e9'::uuid]);

-- Query #14227 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b3038fab-bd85-67a8-83d1-296011d7c9e9'::uuid;

-- Query #14228 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14229 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f50111d9-19c5-e9a4-250c-3b9a69dbddee'::uuid;

-- Query #14230 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f50111d9-19c5-e9a4-250c-3b9a69dbddee'::uuid]);

-- Query #14231 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f50111d9-19c5-e9a4-250c-3b9a69dbddee'::uuid;

-- Query #14232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50111d9-19c5-e9a4-250c-3b9a69dbddee'::uuid, 'Tvdb', 6247355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50111d9-19c5-e9a4-250c-3b9a69dbddee'::uuid, 'TmdbCollection', 1398613)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50111d9-19c5-e9a4-250c-3b9a69dbddee'::uuid, 'Imdb', 'tt6464582')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50111d9-19c5-e9a4-250c-3b9a69dbddee'::uuid, 'Tmdb', 1398613)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50111d9-19c5-e9a4-250c-3b9a69dbddee'::uuid, 'trakt', 2684901)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50111d9-19c5-e9a4-250c-3b9a69dbddee'::uuid, 'TvMaze', 1271675)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14238 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f50111d9-19c5-e9a4-250c-3b9a69dbddee'::uuid;

-- Query #14239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f50111d9-19c5-e9a4-250c-3b9a69dbddee'::uuid;

-- Query #14240 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f50111d9-19c5-e9a4-250c-3b9a69dbddee'::uuid]);

-- Query #14241 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b0bd2e08-98e4-a0d5-2747-29ea360136d7'::uuid;

-- Query #14242 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f50111d9-19c5-e9a4-250c-3b9a69dbddee'::uuid;

-- Query #14243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14244 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b0bd2e08-98e4-a0d5-2747-29ea360136d7'::uuid]);

-- Query #14245 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b0bd2e08-98e4-a0d5-2747-29ea360136d7'::uuid;

-- Query #14246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0bd2e08-98e4-a0d5-2747-29ea360136d7'::uuid, 'Imdb', 'tt0751516')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0bd2e08-98e4-a0d5-2747-29ea360136d7'::uuid, 'Tmdb', 334985)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0bd2e08-98e4-a0d5-2747-29ea360136d7'::uuid, 'TvMaze', 41455)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0bd2e08-98e4-a0d5-2747-29ea360136d7'::uuid, 'Tvdb', 259748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0bd2e08-98e4-a0d5-2747-29ea360136d7'::uuid, 'TvRage', 236307)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0bd2e08-98e4-a0d5-2747-29ea360136d7'::uuid, 'trakt', 343372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0bd2e08-98e4-a0d5-2747-29ea360136d7'::uuid, 'TmdbCollection', 334985)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14253 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b0bd2e08-98e4-a0d5-2747-29ea360136d7'::uuid;

-- Query #14254 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b0bd2e08-98e4-a0d5-2747-29ea360136d7'::uuid;

-- Query #14255 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b0bd2e08-98e4-a0d5-2747-29ea360136d7'::uuid]);

-- Query #14256 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b0bd2e08-98e4-a0d5-2747-29ea360136d7'::uuid;

-- Query #14257 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9add7fa0-f4d7-9af2-41c6-8fda73199b8d'::uuid;

-- Query #14259 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9add7fa0-f4d7-9af2-41c6-8fda73199b8d'::uuid]);

-- Query #14260 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9add7fa0-f4d7-9af2-41c6-8fda73199b8d'::uuid;

-- Query #14261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9add7fa0-f4d7-9af2-41c6-8fda73199b8d'::uuid, 'Imdb', 'tt6464588')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9add7fa0-f4d7-9af2-41c6-8fda73199b8d'::uuid, 'Tmdb', 1398617)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9add7fa0-f4d7-9af2-41c6-8fda73199b8d'::uuid, 'trakt', 2684902)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9add7fa0-f4d7-9af2-41c6-8fda73199b8d'::uuid, 'TvMaze', 1271676)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9add7fa0-f4d7-9af2-41c6-8fda73199b8d'::uuid, 'Tvdb', 6247357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9add7fa0-f4d7-9af2-41c6-8fda73199b8d'::uuid, 'TmdbCollection', 1398617)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9add7fa0-f4d7-9af2-41c6-8fda73199b8d'::uuid;

-- Query #14268 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9add7fa0-f4d7-9af2-41c6-8fda73199b8d'::uuid;

-- Query #14269 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '975c3911-a0db-3e02-aa31-bbbf6a3a2f3e'::uuid;

-- Query #14270 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9add7fa0-f4d7-9af2-41c6-8fda73199b8d'::uuid]);

-- Query #14271 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9add7fa0-f4d7-9af2-41c6-8fda73199b8d'::uuid;

-- Query #14272 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14273 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['975c3911-a0db-3e02-aa31-bbbf6a3a2f3e'::uuid]);

-- Query #14274 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '975c3911-a0db-3e02-aa31-bbbf6a3a2f3e'::uuid;

-- Query #14275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('975c3911-a0db-3e02-aa31-bbbf6a3a2f3e'::uuid, 'Imdb', 'tt0751517')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('975c3911-a0db-3e02-aa31-bbbf6a3a2f3e'::uuid, 'Tmdb', 334981)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('975c3911-a0db-3e02-aa31-bbbf6a3a2f3e'::uuid, 'TvMaze', 41451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('975c3911-a0db-3e02-aa31-bbbf6a3a2f3e'::uuid, 'Tvdb', 259744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('975c3911-a0db-3e02-aa31-bbbf6a3a2f3e'::uuid, 'TvRage', 236303)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('975c3911-a0db-3e02-aa31-bbbf6a3a2f3e'::uuid, 'trakt', 343368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('975c3911-a0db-3e02-aa31-bbbf6a3a2f3e'::uuid, 'TmdbCollection', 334981)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '975c3911-a0db-3e02-aa31-bbbf6a3a2f3e'::uuid;

-- Query #14283 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '975c3911-a0db-3e02-aa31-bbbf6a3a2f3e'::uuid;

-- Query #14284 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['975c3911-a0db-3e02-aa31-bbbf6a3a2f3e'::uuid]);

-- Query #14285 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '975c3911-a0db-3e02-aa31-bbbf6a3a2f3e'::uuid;

-- Query #14286 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14287 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb003c05-0659-09fb-211a-a8073cccfbe3'::uuid;

-- Query #14288 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb003c05-0659-09fb-211a-a8073cccfbe3'::uuid]);

-- Query #14289 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fb003c05-0659-09fb-211a-a8073cccfbe3'::uuid;

-- Query #14290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb003c05-0659-09fb-211a-a8073cccfbe3'::uuid, 'Imdb', 'tt6464580')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb003c05-0659-09fb-211a-a8073cccfbe3'::uuid, 'Tmdb', 1398618)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb003c05-0659-09fb-211a-a8073cccfbe3'::uuid, 'trakt', 2684903)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb003c05-0659-09fb-211a-a8073cccfbe3'::uuid, 'TvMaze', 1271677)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb003c05-0659-09fb-211a-a8073cccfbe3'::uuid, 'Tvdb', 6247359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb003c05-0659-09fb-211a-a8073cccfbe3'::uuid, 'TmdbCollection', 1398618)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb003c05-0659-09fb-211a-a8073cccfbe3'::uuid;

-- Query #14297 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fb003c05-0659-09fb-211a-a8073cccfbe3'::uuid;

-- Query #14298 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fb003c05-0659-09fb-211a-a8073cccfbe3'::uuid]);

-- Query #14299 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81fd2f41-3871-507b-ceb7-c721ce74ce70'::uuid;

-- Query #14300 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fb003c05-0659-09fb-211a-a8073cccfbe3'::uuid;

-- Query #14301 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14302 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['81fd2f41-3871-507b-ceb7-c721ce74ce70'::uuid]);

-- Query #14303 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '81fd2f41-3871-507b-ceb7-c721ce74ce70'::uuid;

-- Query #14304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81fd2f41-3871-507b-ceb7-c721ce74ce70'::uuid, 'Imdb', 'tt0751549')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81fd2f41-3871-507b-ceb7-c721ce74ce70'::uuid, 'Tmdb', 334989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81fd2f41-3871-507b-ceb7-c721ce74ce70'::uuid, 'TvMaze', 41459)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81fd2f41-3871-507b-ceb7-c721ce74ce70'::uuid, 'Tvdb', 259752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81fd2f41-3871-507b-ceb7-c721ce74ce70'::uuid, 'TvRage', 236311)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81fd2f41-3871-507b-ceb7-c721ce74ce70'::uuid, 'trakt', 343376)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81fd2f41-3871-507b-ceb7-c721ce74ce70'::uuid, 'TmdbCollection', 334989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14311 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81fd2f41-3871-507b-ceb7-c721ce74ce70'::uuid;

-- Query #14312 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '81fd2f41-3871-507b-ceb7-c721ce74ce70'::uuid;

-- Query #14313 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['81fd2f41-3871-507b-ceb7-c721ce74ce70'::uuid]);

-- Query #14314 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b806b06d-b07c-6b14-9ccb-ff1b24bb1380'::uuid;

-- Query #14315 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '81fd2f41-3871-507b-ceb7-c721ce74ce70'::uuid;

-- Query #14316 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14317 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b806b06d-b07c-6b14-9ccb-ff1b24bb1380'::uuid]);

-- Query #14318 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b806b06d-b07c-6b14-9ccb-ff1b24bb1380'::uuid;

-- Query #14319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b806b06d-b07c-6b14-9ccb-ff1b24bb1380'::uuid, 'Imdb', 'tt6464602')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b806b06d-b07c-6b14-9ccb-ff1b24bb1380'::uuid, 'Tmdb', 1407472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b806b06d-b07c-6b14-9ccb-ff1b24bb1380'::uuid, 'trakt', 2684904)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b806b06d-b07c-6b14-9ccb-ff1b24bb1380'::uuid, 'TvMaze', 1271678)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b806b06d-b07c-6b14-9ccb-ff1b24bb1380'::uuid, 'Tvdb', 6247360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b806b06d-b07c-6b14-9ccb-ff1b24bb1380'::uuid, 'TmdbCollection', 1407472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14325 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b806b06d-b07c-6b14-9ccb-ff1b24bb1380'::uuid;

-- Query #14326 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b806b06d-b07c-6b14-9ccb-ff1b24bb1380'::uuid;

-- Query #14327 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b806b06d-b07c-6b14-9ccb-ff1b24bb1380'::uuid]);

-- Query #14328 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b806b06d-b07c-6b14-9ccb-ff1b24bb1380'::uuid;

-- Query #14329 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14330 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ccddc0a-76ad-9281-c18c-ed38d977c5fc'::uuid;

-- Query #14331 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ccddc0a-76ad-9281-c18c-ed38d977c5fc'::uuid]);

-- Query #14332 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0ccddc0a-76ad-9281-c18c-ed38d977c5fc'::uuid;

-- Query #14333 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ccddc0a-76ad-9281-c18c-ed38d977c5fc'::uuid, 'Imdb', 'tt0751532')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ccddc0a-76ad-9281-c18c-ed38d977c5fc'::uuid, 'Tmdb', 334991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ccddc0a-76ad-9281-c18c-ed38d977c5fc'::uuid, 'TvMaze', 41461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ccddc0a-76ad-9281-c18c-ed38d977c5fc'::uuid, 'Tvdb', 259754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ccddc0a-76ad-9281-c18c-ed38d977c5fc'::uuid, 'TvRage', 236313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ccddc0a-76ad-9281-c18c-ed38d977c5fc'::uuid, 'trakt', 343378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ccddc0a-76ad-9281-c18c-ed38d977c5fc'::uuid, 'TmdbCollection', 334991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14340 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ccddc0a-76ad-9281-c18c-ed38d977c5fc'::uuid;

-- Query #14341 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0ccddc0a-76ad-9281-c18c-ed38d977c5fc'::uuid;

-- Query #14342 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a09f4dd-ceb7-a05a-c525-83dd1ef0688c'::uuid;

-- Query #14343 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0ccddc0a-76ad-9281-c18c-ed38d977c5fc'::uuid]);

-- Query #14344 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0ccddc0a-76ad-9281-c18c-ed38d977c5fc'::uuid;

-- Query #14345 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14346 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a09f4dd-ceb7-a05a-c525-83dd1ef0688c'::uuid]);

-- Query #14347 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8a09f4dd-ceb7-a05a-c525-83dd1ef0688c'::uuid;

-- Query #14348 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a09f4dd-ceb7-a05a-c525-83dd1ef0688c'::uuid, 'Imdb', 'tt6441252')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14349 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a09f4dd-ceb7-a05a-c525-83dd1ef0688c'::uuid, 'Tmdb', 1387622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14350 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a09f4dd-ceb7-a05a-c525-83dd1ef0688c'::uuid, 'trakt', 2681255)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14351 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a09f4dd-ceb7-a05a-c525-83dd1ef0688c'::uuid, 'TvMaze', 1270071)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a09f4dd-ceb7-a05a-c525-83dd1ef0688c'::uuid, 'Tvdb', 6244119)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a09f4dd-ceb7-a05a-c525-83dd1ef0688c'::uuid, 'TmdbCollection', 1387622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14354 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a09f4dd-ceb7-a05a-c525-83dd1ef0688c'::uuid;

-- Query #14355 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8a09f4dd-ceb7-a05a-c525-83dd1ef0688c'::uuid;

-- Query #14356 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8a09f4dd-ceb7-a05a-c525-83dd1ef0688c'::uuid]);

-- Query #14357 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8a09f4dd-ceb7-a05a-c525-83dd1ef0688c'::uuid;

-- Query #14358 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14359 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c174d704-0f6d-4bbe-c055-af8f3936cf9b'::uuid;

-- Query #14360 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c174d704-0f6d-4bbe-c055-af8f3936cf9b'::uuid]);

-- Query #14361 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c174d704-0f6d-4bbe-c055-af8f3936cf9b'::uuid;

-- Query #14362 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c174d704-0f6d-4bbe-c055-af8f3936cf9b'::uuid, 'Imdb', 'tt0751449')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14363 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c174d704-0f6d-4bbe-c055-af8f3936cf9b'::uuid, 'Tmdb', 334978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14364 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c174d704-0f6d-4bbe-c055-af8f3936cf9b'::uuid, 'TvMaze', 41448)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14365 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c174d704-0f6d-4bbe-c055-af8f3936cf9b'::uuid, 'Tvdb', 259741)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c174d704-0f6d-4bbe-c055-af8f3936cf9b'::uuid, 'TvRage', 236300)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c174d704-0f6d-4bbe-c055-af8f3936cf9b'::uuid, 'trakt', 343365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c174d704-0f6d-4bbe-c055-af8f3936cf9b'::uuid, 'TmdbCollection', 334978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14369 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c174d704-0f6d-4bbe-c055-af8f3936cf9b'::uuid;

-- Query #14370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c174d704-0f6d-4bbe-c055-af8f3936cf9b'::uuid;

-- Query #14371 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c174d704-0f6d-4bbe-c055-af8f3936cf9b'::uuid]);

-- Query #14372 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3aa6af0a-ba33-e3ec-c733-345004663618'::uuid;

-- Query #14373 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c174d704-0f6d-4bbe-c055-af8f3936cf9b'::uuid;

-- Query #14374 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14375 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3aa6af0a-ba33-e3ec-c733-345004663618'::uuid]);

-- Query #14376 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3aa6af0a-ba33-e3ec-c733-345004663618'::uuid;

-- Query #14377 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3aa6af0a-ba33-e3ec-c733-345004663618'::uuid, 'Imdb', 'tt6450546')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14378 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3aa6af0a-ba33-e3ec-c733-345004663618'::uuid, 'Tmdb', 1390873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14379 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3aa6af0a-ba33-e3ec-c733-345004663618'::uuid, 'trakt', 2684897)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3aa6af0a-ba33-e3ec-c733-345004663618'::uuid, 'TvMaze', 1319084)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3aa6af0a-ba33-e3ec-c733-345004663618'::uuid, 'Tvdb', 6247347)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3aa6af0a-ba33-e3ec-c733-345004663618'::uuid, 'TmdbCollection', 1390873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14383 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3aa6af0a-ba33-e3ec-c733-345004663618'::uuid;

-- Query #14384 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3aa6af0a-ba33-e3ec-c733-345004663618'::uuid;

-- Query #14385 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3aa6af0a-ba33-e3ec-c733-345004663618'::uuid]);

-- Query #14386 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3aa6af0a-ba33-e3ec-c733-345004663618'::uuid;

-- Query #14387 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14388 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c468e025-26c8-245d-962a-f286fa3c6913'::uuid;

-- Query #14389 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c468e025-26c8-245d-962a-f286fa3c6913'::uuid]);

-- Query #14390 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c468e025-26c8-245d-962a-f286fa3c6913'::uuid;

-- Query #14391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c468e025-26c8-245d-962a-f286fa3c6913'::uuid, 'Imdb', 'tt0751559')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c468e025-26c8-245d-962a-f286fa3c6913'::uuid, 'Tmdb', 334988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14393 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c468e025-26c8-245d-962a-f286fa3c6913'::uuid, 'TvMaze', 41458)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14394 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c468e025-26c8-245d-962a-f286fa3c6913'::uuid, 'Tvdb', 259751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14395 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c468e025-26c8-245d-962a-f286fa3c6913'::uuid, 'TvRage', 236310)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c468e025-26c8-245d-962a-f286fa3c6913'::uuid, 'trakt', 343375)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c468e025-26c8-245d-962a-f286fa3c6913'::uuid, 'TmdbCollection', 334988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14398 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c468e025-26c8-245d-962a-f286fa3c6913'::uuid;

-- Query #14399 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c468e025-26c8-245d-962a-f286fa3c6913'::uuid;

-- Query #14400 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c468e025-26c8-245d-962a-f286fa3c6913'::uuid]);

-- Query #14401 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '84d91a25-e7e5-30f1-344e-128ea0735821'::uuid;

-- Query #14402 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c468e025-26c8-245d-962a-f286fa3c6913'::uuid;

-- Query #14403 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fef22ac7-e488-9cac-ca51-dc035f853452'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14404 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['84d91a25-e7e5-30f1-344e-128ea0735821'::uuid]);

-- Query #14405 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '84d91a25-e7e5-30f1-344e-128ea0735821'::uuid;

-- Query #14406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84d91a25-e7e5-30f1-344e-128ea0735821'::uuid, 'Imdb', 'tt6464600')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14407 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84d91a25-e7e5-30f1-344e-128ea0735821'::uuid, 'Tmdb', 1393192)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14408 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84d91a25-e7e5-30f1-344e-128ea0735821'::uuid, 'trakt', 2684899)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14409 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84d91a25-e7e5-30f1-344e-128ea0735821'::uuid, 'TvMaze', 1271673)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14410 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84d91a25-e7e5-30f1-344e-128ea0735821'::uuid, 'Tvdb', 6247351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14411 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84d91a25-e7e5-30f1-344e-128ea0735821'::uuid, 'TmdbCollection', 1393192)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14412 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '84d91a25-e7e5-30f1-344e-128ea0735821'::uuid;

-- Query #14413 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '84d91a25-e7e5-30f1-344e-128ea0735821'::uuid;

-- Query #14414 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['84d91a25-e7e5-30f1-344e-128ea0735821'::uuid]);

-- Query #14415 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '84d91a25-e7e5-30f1-344e-128ea0735821'::uuid;

-- Query #14416 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['172a80ed-c4a0-ea35-b317-baaafb472047'::uuid, '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14417 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '00af81eb-0707-dd57-43ea-93346e55b8a0'::uuid;

-- Query #14418 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '919c137b-2eb7-f6e6-0395-c8a17f06675b'::uuid
ORDER BY b."SortName";

-- Query #14419 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00af81eb-0707-dd57-43ea-93346e55b8a0'::uuid]);

-- Query #14420 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '00af81eb-0707-dd57-43ea-93346e55b8a0'::uuid;

-- Query #14421 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6497bd97-a4b0-2186-981d-1613e524f20e'::uuid
ORDER BY b."SortName";

-- Query #14422 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00af81eb-0707-dd57-43ea-93346e55b8a0'::uuid, 'Imdb', 'tt0751453')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14423 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00af81eb-0707-dd57-43ea-93346e55b8a0'::uuid, 'Tmdb', 334918)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00af81eb-0707-dd57-43ea-93346e55b8a0'::uuid, 'TvMaze', 41478)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00af81eb-0707-dd57-43ea-93346e55b8a0'::uuid, 'Tvdb', 259771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00af81eb-0707-dd57-43ea-93346e55b8a0'::uuid, 'TvRage', 236330)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00af81eb-0707-dd57-43ea-93346e55b8a0'::uuid, 'trakt', 343395)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00af81eb-0707-dd57-43ea-93346e55b8a0'::uuid, 'TmdbCollection', 334918)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14429 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '00af81eb-0707-dd57-43ea-93346e55b8a0'::uuid;

-- Query #14430 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '00af81eb-0707-dd57-43ea-93346e55b8a0'::uuid;

-- Query #14431 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4a3a7113-de2c-d066-ff4f-9320eb5f11a4'::uuid
ORDER BY b."SortName";

-- Query #14432 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['00af81eb-0707-dd57-43ea-93346e55b8a0'::uuid]);

-- Query #14433 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '00af81eb-0707-dd57-43ea-93346e55b8a0'::uuid;

-- Query #14434 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14435 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '46316ac5-63a8-f789-dc32-2fbefc8a0117'::uuid
ORDER BY b."SortName";

-- Query #14436 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9fd48009-94c8-7ce0-990e-4e7b279f6f4b'::uuid
ORDER BY b."SortName";

-- Query #14437 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c63af803-7d16-c558-4004-e616cd1091de'::uuid
ORDER BY b."SortName";

-- Query #14438 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '172a80ed-c4a0-ea35-b317-baaafb472047'::uuid
ORDER BY b."SortName";

-- Query #14439 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '713b5ffa-96e3-8102-5d74-0a34e95ce416'::uuid;

-- Query #14440 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['713b5ffa-96e3-8102-5d74-0a34e95ce416'::uuid]);

-- Query #14441 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '713b5ffa-96e3-8102-5d74-0a34e95ce416'::uuid;

-- Query #14442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('713b5ffa-96e3-8102-5d74-0a34e95ce416'::uuid, 'TmdbCollection', 334908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('713b5ffa-96e3-8102-5d74-0a34e95ce416'::uuid, 'Imdb', 'tt0751454')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14444 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '919c137b2eb7f6e60395c8a17f06675b'
ORDER BY b."SortName", b."Name";

-- Query #14445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('713b5ffa-96e3-8102-5d74-0a34e95ce416'::uuid, 'Tmdb', 334908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('713b5ffa-96e3-8102-5d74-0a34e95ce416'::uuid, 'TvMaze', 41468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('713b5ffa-96e3-8102-5d74-0a34e95ce416'::uuid, 'Tvdb', 259761)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('713b5ffa-96e3-8102-5d74-0a34e95ce416'::uuid, 'TvRage', 236320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14449 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('713b5ffa-96e3-8102-5d74-0a34e95ce416'::uuid, 'trakt', 343385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14450 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '713b5ffa-96e3-8102-5d74-0a34e95ce416'::uuid;

-- Query #14451 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '713b5ffa-96e3-8102-5d74-0a34e95ce416'::uuid;

-- Query #14452 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['713b5ffa-96e3-8102-5d74-0a34e95ce416'::uuid]);

-- Query #14453 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '713b5ffa-96e3-8102-5d74-0a34e95ce416'::uuid;

-- Query #14454 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14455 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'beb92e7d-884e-156d-5a4c-9ec727f5ac40'::uuid;

-- Query #14456 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid
ORDER BY b."SortName";

-- Query #14457 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid])
ORDER BY b."Id";

-- Query #14458 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid])
ORDER BY b."Id";

-- Query #14459 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid])
ORDER BY b."Id";

-- Query #14460 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['beb92e7d-884e-156d-5a4c-9ec727f5ac40'::uuid]);

-- Query #14461 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid])
ORDER BY b."Id";

-- Query #14462 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'beb92e7d-884e-156d-5a4c-9ec727f5ac40'::uuid;

-- Query #14463 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid])
ORDER BY b."Id";

-- Query #14464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('beb92e7d-884e-156d-5a4c-9ec727f5ac40'::uuid, 'Imdb', 'tt0751455')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('beb92e7d-884e-156d-5a4c-9ec727f5ac40'::uuid, 'Tmdb', 334922)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14466 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('beb92e7d-884e-156d-5a4c-9ec727f5ac40'::uuid, 'TvMaze', 41482)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14467 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid
ORDER BY b."SortName";

-- Query #14468 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('beb92e7d-884e-156d-5a4c-9ec727f5ac40'::uuid, 'Tvdb', 259775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('beb92e7d-884e-156d-5a4c-9ec727f5ac40'::uuid, 'TvRage', 236334)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('beb92e7d-884e-156d-5a4c-9ec727f5ac40'::uuid, 'trakt', 343399)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('beb92e7d-884e-156d-5a4c-9ec727f5ac40'::uuid, 'TmdbCollection', 334922)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14472 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'beb92e7d-884e-156d-5a4c-9ec727f5ac40'::uuid;

-- Query #14473 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'beb92e7d-884e-156d-5a4c-9ec727f5ac40'::uuid;

-- Query #14474 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid
ORDER BY b."SortName";

-- Query #14475 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['beb92e7d-884e-156d-5a4c-9ec727f5ac40'::uuid]);

-- Query #14476 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'beb92e7d-884e-156d-5a4c-9ec727f5ac40'::uuid;

-- Query #14477 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14478 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '596e01bf-6184-274e-0e5e-f154ca08627b'::uuid;

-- Query #14479 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['596e01bf-6184-274e-0e5e-f154ca08627b'::uuid]);

-- Query #14480 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '596e01bf-6184-274e-0e5e-f154ca08627b'::uuid;

-- Query #14481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('596e01bf-6184-274e-0e5e-f154ca08627b'::uuid, 'Imdb', 'tt0751457')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('596e01bf-6184-274e-0e5e-f154ca08627b'::uuid, 'Tmdb', 334911)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('596e01bf-6184-274e-0e5e-f154ca08627b'::uuid, 'TvMaze', 41471)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14484 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('596e01bf-6184-274e-0e5e-f154ca08627b'::uuid, 'Tvdb', 259764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('596e01bf-6184-274e-0e5e-f154ca08627b'::uuid, 'TvRage', 236323)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('596e01bf-6184-274e-0e5e-f154ca08627b'::uuid, 'trakt', 343388)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('596e01bf-6184-274e-0e5e-f154ca08627b'::uuid, 'TmdbCollection', 334911)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14488 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '596e01bf-6184-274e-0e5e-f154ca08627b'::uuid;

-- Query #14489 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '596e01bf-6184-274e-0e5e-f154ca08627b'::uuid;

-- Query #14490 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['596e01bf-6184-274e-0e5e-f154ca08627b'::uuid]);

-- Query #14491 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '596e01bf-6184-274e-0e5e-f154ca08627b'::uuid;

-- Query #14492 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14493 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8c863fa9-7efc-e741-f258-a5e777661785'::uuid;

-- Query #14494 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8c863fa9-7efc-e741-f258-a5e777661785'::uuid]);

-- Query #14495 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8c863fa9-7efc-e741-f258-a5e777661785'::uuid;

-- Query #14496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c863fa9-7efc-e741-f258-a5e777661785'::uuid, 'Imdb', 'tt0751477')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c863fa9-7efc-e741-f258-a5e777661785'::uuid, 'Tmdb', 334917)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c863fa9-7efc-e741-f258-a5e777661785'::uuid, 'TvMaze', 41477)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c863fa9-7efc-e741-f258-a5e777661785'::uuid, 'Tvdb', 259770)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c863fa9-7efc-e741-f258-a5e777661785'::uuid, 'TvRage', 236329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c863fa9-7efc-e741-f258-a5e777661785'::uuid, 'trakt', 343394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c863fa9-7efc-e741-f258-a5e777661785'::uuid, 'TmdbCollection', 334917)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14503 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8c863fa9-7efc-e741-f258-a5e777661785'::uuid;

-- Query #14504 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8c863fa9-7efc-e741-f258-a5e777661785'::uuid;

-- Query #14505 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8c863fa9-7efc-e741-f258-a5e777661785'::uuid]);

-- Query #14506 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8c863fa9-7efc-e741-f258-a5e777661785'::uuid;

-- Query #14507 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14508 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid;

-- Query #14509 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid]);

-- Query #14510 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid;

-- Query #14511 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, 'eidr', '10.5240/7C9C-0555-E54F-E470-743C-6')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, 'Imdb', 'tt5189670')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, 'Tmdb', 64439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, 'TmdbCollection', 64439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, 'Tvdb', 303210)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, 'tv maze', 7989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, 'TvMaze', 7989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14518 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29f8b5eb-2eab-9a77-cc09-edb18c767aa5'::uuid;

-- Query #14519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, 'wikidata', 'Q21784198')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, 'wikipedia', 'Making_a_Murderer')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, 'Zap2It', 'EP02305674')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14522 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid;

-- Query #14523 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid;

-- Query #14524 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29f8b5eb-2eab-9a77-cc09-edb18c767aa5'::uuid]);

-- Query #14525 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '29f8b5eb-2eab-9a77-cc09-edb18c767aa5'::uuid;

-- Query #14526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29f8b5eb-2eab-9a77-cc09-edb18c767aa5'::uuid, 'Imdb', 'tt0751478')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14527 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29f8b5eb-2eab-9a77-cc09-edb18c767aa5'::uuid, 'Tmdb', 334925)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14528 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29f8b5eb-2eab-9a77-cc09-edb18c767aa5'::uuid, 'TvMaze', 41485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14529 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29f8b5eb-2eab-9a77-cc09-edb18c767aa5'::uuid, 'Tvdb', 259778)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14530 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid]);

-- Query #14531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29f8b5eb-2eab-9a77-cc09-edb18c767aa5'::uuid, 'TvRage', 236337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29f8b5eb-2eab-9a77-cc09-edb18c767aa5'::uuid, 'trakt', 343402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29f8b5eb-2eab-9a77-cc09-edb18c767aa5'::uuid, 'TmdbCollection', 334925)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14534 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid;

-- Query #14535 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29f8b5eb-2eab-9a77-cc09-edb18c767aa5'::uuid;

-- Query #14536 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14537 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '29f8b5eb-2eab-9a77-cc09-edb18c767aa5'::uuid;

-- Query #14538 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['29f8b5eb-2eab-9a77-cc09-edb18c767aa5'::uuid]);

-- Query #14539 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '29f8b5eb-2eab-9a77-cc09-edb18c767aa5'::uuid;

-- Query #14540 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14541 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '9c585c0722e3c0fda31184e99866f72d'
ORDER BY b."SortName", b."Name";

-- Query #14542 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid
ORDER BY b."SortName";

-- Query #14543 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid])
ORDER BY b."Id";

-- Query #14544 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid])
ORDER BY b."Id";

-- Query #14545 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid])
ORDER BY b."Id";

-- Query #14546 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid])
ORDER BY b."Id";

-- Query #14547 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid])
ORDER BY b."Id";

-- Query #14548 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f7d5c1a9-5d02-fba3-2af3-a988aecf1551'::uuid;

-- Query #14549 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid
ORDER BY b."SortName";

-- Query #14550 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f7d5c1a9-5d02-fba3-2af3-a988aecf1551'::uuid]);

-- Query #14551 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f7d5c1a9-5d02-fba3-2af3-a988aecf1551'::uuid;

-- Query #14552 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7d5c1a9-5d02-fba3-2af3-a988aecf1551'::uuid, 'Imdb', 'tt0751479')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14553 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7d5c1a9-5d02-fba3-2af3-a988aecf1551'::uuid, 'Tmdb', 334905)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14554 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7d5c1a9-5d02-fba3-2af3-a988aecf1551'::uuid, 'TvMaze', 41465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7d5c1a9-5d02-fba3-2af3-a988aecf1551'::uuid, 'Tvdb', 259758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14556 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7d5c1a9-5d02-fba3-2af3-a988aecf1551'::uuid, 'TvRage', 236317)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14557 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7d5c1a9-5d02-fba3-2af3-a988aecf1551'::uuid, 'trakt', 343382)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14558 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid
ORDER BY b."SortName";

-- Query #14559 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7d5c1a9-5d02-fba3-2af3-a988aecf1551'::uuid, 'TmdbCollection', 334905)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14560 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f7d5c1a9-5d02-fba3-2af3-a988aecf1551'::uuid;

-- Query #14561 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f7d5c1a9-5d02-fba3-2af3-a988aecf1551'::uuid;

-- Query #14562 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f7d5c1a9-5d02-fba3-2af3-a988aecf1551'::uuid]);

-- Query #14563 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f7d5c1a9-5d02-fba3-2af3-a988aecf1551'::uuid;

-- Query #14564 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14565 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '9c585c0722e3c0fda31184e99866f72d'
ORDER BY b."SortName", b."Name";

-- Query #14566 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid;

-- Query #14567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca29ed74-039c-5035-b842-01a2ce0feb87'::uuid;

-- Query #14568 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid]);

-- Query #14569 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid;

-- Query #14570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'wikidata', 'Q21784198')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'TmdbCollection', 64439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14572 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'Tvdb', 303210)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14573 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'Tmdb', 64439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14574 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'Imdb', 'tt5189670')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'TvMaze', 7989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'eidr', '10.5240/7C9C-0555-E54F-E470-743C-6')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'Zap2It', 'EP02305674')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14578 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid;

-- Query #14579 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid;

-- Query #14580 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid]);

-- Query #14581 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ca29ed74-039c-5035-b842-01a2ce0feb87'::uuid]);

-- Query #14582 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid;

-- Query #14583 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ca29ed74-039c-5035-b842-01a2ce0feb87'::uuid;

-- Query #14584 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca29ed74-039c-5035-b842-01a2ce0feb87'::uuid, 'Imdb', 'tt0751496')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca29ed74-039c-5035-b842-01a2ce0feb87'::uuid, 'Tmdb', 334921)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14587 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca29ed74-039c-5035-b842-01a2ce0feb87'::uuid, 'TvMaze', 41481)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca29ed74-039c-5035-b842-01a2ce0feb87'::uuid, 'Tvdb', 259774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca29ed74-039c-5035-b842-01a2ce0feb87'::uuid, 'TvRage', 236333)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca29ed74-039c-5035-b842-01a2ce0feb87'::uuid, 'trakt', 343398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca29ed74-039c-5035-b842-01a2ce0feb87'::uuid, 'TmdbCollection', 334921)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca29ed74-039c-5035-b842-01a2ce0feb87'::uuid;

-- Query #14593 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ca29ed74-039c-5035-b842-01a2ce0feb87'::uuid;

-- Query #14594 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '9c585c0722e3c0fda31184e99866f72d'
ORDER BY b."SortName", b."Name";

-- Query #14595 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ca29ed74-039c-5035-b842-01a2ce0feb87'::uuid]);

-- Query #14596 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ca29ed74-039c-5035-b842-01a2ce0feb87'::uuid;

-- Query #14597 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14598 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f69a9354-559a-49b4-1139-c01c3291978c'::uuid;

-- Query #14599 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f69a9354-559a-49b4-1139-c01c3291978c'::uuid]);

-- Query #14600 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f69a9354-559a-49b4-1139-c01c3291978c'::uuid;

-- Query #14601 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid;

-- Query #14602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69a9354-559a-49b4-1139-c01c3291978c'::uuid, 'Imdb', 'tt0751501')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14603 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69a9354-559a-49b4-1139-c01c3291978c'::uuid, 'Tmdb', 334920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69a9354-559a-49b4-1139-c01c3291978c'::uuid, 'TvMaze', 41480)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14605 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69a9354-559a-49b4-1139-c01c3291978c'::uuid, 'Tvdb', 259773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14606 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69a9354-559a-49b4-1139-c01c3291978c'::uuid, 'TvRage', 236332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14607 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69a9354-559a-49b4-1139-c01c3291978c'::uuid, 'trakt', 343397)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14608 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69a9354-559a-49b4-1139-c01c3291978c'::uuid, 'TmdbCollection', 334920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14609 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid]);

-- Query #14610 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f69a9354-559a-49b4-1139-c01c3291978c'::uuid;

-- Query #14611 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid;

-- Query #14612 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f69a9354-559a-49b4-1139-c01c3291978c'::uuid;

-- Query #14613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, 'Tvdb', 303210)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14614 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, 'Tmdb', 64439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, 'Imdb', 'tt5189670')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, 'TvMaze', 7989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, 'eidr', '10.5240/7C9C-0555-E54F-E470-743C-6')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, 'Zap2It', 'EP02305674')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, 'wikidata', 'Q21784198')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14620 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, 'TmdbCollection', 64439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14621 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid;

-- Query #14622 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid;

-- Query #14623 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f69a9354-559a-49b4-1139-c01c3291978c'::uuid]);

-- Query #14624 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f69a9354-559a-49b4-1139-c01c3291978c'::uuid;

-- Query #14625 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14626 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid]);

-- Query #14627 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid;

-- Query #14628 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14629 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1739b5ab-e5cc-3375-ce2e-8e2c1ba7d3b7'::uuid;

-- Query #14630 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1739b5ab-e5cc-3375-ce2e-8e2c1ba7d3b7'::uuid]);

-- Query #14631 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1739b5ab-e5cc-3375-ce2e-8e2c1ba7d3b7'::uuid;

-- Query #14632 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '98576b4a-636d-d40f-9bc9-2b3e72f571a7'::uuid;

-- Query #14633 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1739b5ab-e5cc-3375-ce2e-8e2c1ba7d3b7'::uuid, 'Imdb', 'tt0751502')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1739b5ab-e5cc-3375-ce2e-8e2c1ba7d3b7'::uuid, 'Tmdb', 334912)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14635 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1739b5ab-e5cc-3375-ce2e-8e2c1ba7d3b7'::uuid, 'TvMaze', 41472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14636 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1739b5ab-e5cc-3375-ce2e-8e2c1ba7d3b7'::uuid, 'Tvdb', 259765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1739b5ab-e5cc-3375-ce2e-8e2c1ba7d3b7'::uuid, 'TvRage', 236324)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1739b5ab-e5cc-3375-ce2e-8e2c1ba7d3b7'::uuid, 'trakt', 343389)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1739b5ab-e5cc-3375-ce2e-8e2c1ba7d3b7'::uuid, 'TmdbCollection', 334912)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14640 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['98576b4a-636d-d40f-9bc9-2b3e72f571a7'::uuid]);

-- Query #14641 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1739b5ab-e5cc-3375-ce2e-8e2c1ba7d3b7'::uuid;

-- Query #14642 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '98576b4a-636d-d40f-9bc9-2b3e72f571a7'::uuid;

-- Query #14643 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1739b5ab-e5cc-3375-ce2e-8e2c1ba7d3b7'::uuid;

-- Query #14644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98576b4a-636d-d40f-9bc9-2b3e72f571a7'::uuid, 'Imdb', 'tt5237706')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98576b4a-636d-d40f-9bc9-2b3e72f571a7'::uuid, 'Tmdb', 1137056)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14646 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98576b4a-636d-d40f-9bc9-2b3e72f571a7'::uuid, 'trakt', 2055744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98576b4a-636d-d40f-9bc9-2b3e72f571a7'::uuid, 'TvMaze', 442456)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14648 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98576b4a-636d-d40f-9bc9-2b3e72f571a7'::uuid, 'Tvdb', 5411660)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14649 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98576b4a-636d-d40f-9bc9-2b3e72f571a7'::uuid, 'TmdbCollection', 1137056)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14650 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '98576b4a-636d-d40f-9bc9-2b3e72f571a7'::uuid;

-- Query #14651 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '98576b4a-636d-d40f-9bc9-2b3e72f571a7'::uuid;

-- Query #14652 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1739b5ab-e5cc-3375-ce2e-8e2c1ba7d3b7'::uuid]);

-- Query #14653 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1739b5ab-e5cc-3375-ce2e-8e2c1ba7d3b7'::uuid;

-- Query #14654 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14655 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['98576b4a-636d-d40f-9bc9-2b3e72f571a7'::uuid]);

-- Query #14656 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '98576b4a-636d-d40f-9bc9-2b3e72f571a7'::uuid;

-- Query #14657 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14658 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36383388-4bf4-c3b4-6bb0-9abef4a86150'::uuid;

-- Query #14659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48690f38-1a4a-59b7-2fc1-d6b3dd07d094'::uuid;

-- Query #14660 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['36383388-4bf4-c3b4-6bb0-9abef4a86150'::uuid]);

-- Query #14661 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '36383388-4bf4-c3b4-6bb0-9abef4a86150'::uuid;

-- Query #14662 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36383388-4bf4-c3b4-6bb0-9abef4a86150'::uuid, 'Imdb', 'tt5258146')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14663 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36383388-4bf4-c3b4-6bb0-9abef4a86150'::uuid, 'Tmdb', 1137065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14664 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36383388-4bf4-c3b4-6bb0-9abef4a86150'::uuid, 'trakt', 2055753)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14665 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36383388-4bf4-c3b4-6bb0-9abef4a86150'::uuid, 'TvMaze', 526090)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14666 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36383388-4bf4-c3b4-6bb0-9abef4a86150'::uuid, 'Tvdb', 5434017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14667 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36383388-4bf4-c3b4-6bb0-9abef4a86150'::uuid, 'TmdbCollection', 1137065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14668 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36383388-4bf4-c3b4-6bb0-9abef4a86150'::uuid;

-- Query #14669 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '36383388-4bf4-c3b4-6bb0-9abef4a86150'::uuid;

-- Query #14670 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48690f38-1a4a-59b7-2fc1-d6b3dd07d094'::uuid]);

-- Query #14671 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '48690f38-1a4a-59b7-2fc1-d6b3dd07d094'::uuid;

-- Query #14672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48690f38-1a4a-59b7-2fc1-d6b3dd07d094'::uuid, 'TmdbCollection', 334924)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48690f38-1a4a-59b7-2fc1-d6b3dd07d094'::uuid, 'Imdb', 'tt0751503')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48690f38-1a4a-59b7-2fc1-d6b3dd07d094'::uuid, 'Tmdb', 334924)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14675 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['36383388-4bf4-c3b4-6bb0-9abef4a86150'::uuid]);

-- Query #14676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48690f38-1a4a-59b7-2fc1-d6b3dd07d094'::uuid, 'TvMaze', 41484)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48690f38-1a4a-59b7-2fc1-d6b3dd07d094'::uuid, 'Tvdb', 259777)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14678 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '36383388-4bf4-c3b4-6bb0-9abef4a86150'::uuid;

-- Query #14679 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48690f38-1a4a-59b7-2fc1-d6b3dd07d094'::uuid, 'TvRage', 236336)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14680 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14681 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48690f38-1a4a-59b7-2fc1-d6b3dd07d094'::uuid, 'trakt', 343401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14682 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48690f38-1a4a-59b7-2fc1-d6b3dd07d094'::uuid;

-- Query #14683 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '48690f38-1a4a-59b7-2fc1-d6b3dd07d094'::uuid;

-- Query #14684 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['48690f38-1a4a-59b7-2fc1-d6b3dd07d094'::uuid]);

-- Query #14685 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '48690f38-1a4a-59b7-2fc1-d6b3dd07d094'::uuid;

-- Query #14686 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14687 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dbe865e9-b11b-4d1c-cab8-7563bf667fd8'::uuid;

-- Query #14688 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cd71ab04-5455-59c4-a9d5-774aafd3266f'::uuid;

-- Query #14689 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dbe865e9-b11b-4d1c-cab8-7563bf667fd8'::uuid]);

-- Query #14690 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dbe865e9-b11b-4d1c-cab8-7563bf667fd8'::uuid;

-- Query #14691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbe865e9-b11b-4d1c-cab8-7563bf667fd8'::uuid, 'Imdb', 'tt5257962')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbe865e9-b11b-4d1c-cab8-7563bf667fd8'::uuid, 'Tmdb', 1137062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbe865e9-b11b-4d1c-cab8-7563bf667fd8'::uuid, 'trakt', 2055750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14694 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbe865e9-b11b-4d1c-cab8-7563bf667fd8'::uuid, 'TvMaze', 526087)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14695 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbe865e9-b11b-4d1c-cab8-7563bf667fd8'::uuid, 'Tvdb', 5434014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14696 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbe865e9-b11b-4d1c-cab8-7563bf667fd8'::uuid, 'TmdbCollection', 1137062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14697 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dbe865e9-b11b-4d1c-cab8-7563bf667fd8'::uuid;

-- Query #14698 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dbe865e9-b11b-4d1c-cab8-7563bf667fd8'::uuid;

-- Query #14699 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dbe865e9-b11b-4d1c-cab8-7563bf667fd8'::uuid]);

-- Query #14700 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dbe865e9-b11b-4d1c-cab8-7563bf667fd8'::uuid;

-- Query #14701 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14702 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cd71ab04-5455-59c4-a9d5-774aafd3266f'::uuid]);

-- Query #14703 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cd71ab04-5455-59c4-a9d5-774aafd3266f'::uuid;

-- Query #14704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd71ab04-5455-59c4-a9d5-774aafd3266f'::uuid, 'Imdb', 'tt0751507')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd71ab04-5455-59c4-a9d5-774aafd3266f'::uuid, 'Tmdb', 334914)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd71ab04-5455-59c4-a9d5-774aafd3266f'::uuid, 'TvMaze', 41474)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd71ab04-5455-59c4-a9d5-774aafd3266f'::uuid, 'Tvdb', 259767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd71ab04-5455-59c4-a9d5-774aafd3266f'::uuid, 'TvRage', 236326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd71ab04-5455-59c4-a9d5-774aafd3266f'::uuid, 'trakt', 343391)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd71ab04-5455-59c4-a9d5-774aafd3266f'::uuid, 'TmdbCollection', 334914)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14711 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cd71ab04-5455-59c4-a9d5-774aafd3266f'::uuid;

-- Query #14712 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cd71ab04-5455-59c4-a9d5-774aafd3266f'::uuid;

-- Query #14713 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #14714 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cd71ab04-5455-59c4-a9d5-774aafd3266f'::uuid]);

-- Query #14715 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cd71ab04-5455-59c4-a9d5-774aafd3266f'::uuid;

-- Query #14716 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14717 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b3096d0-0ada-f660-67d5-9eab3ff44918'::uuid;

-- Query #14718 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7b3096d0-0ada-f660-67d5-9eab3ff44918'::uuid]);

-- Query #14719 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7b3096d0-0ada-f660-67d5-9eab3ff44918'::uuid;

-- Query #14720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b3096d0-0ada-f660-67d5-9eab3ff44918'::uuid, 'Imdb', 'tt5258034')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b3096d0-0ada-f660-67d5-9eab3ff44918'::uuid, 'Tmdb', 1137063)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b3096d0-0ada-f660-67d5-9eab3ff44918'::uuid, 'trakt', 2055751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b3096d0-0ada-f660-67d5-9eab3ff44918'::uuid, 'TvMaze', 526088)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b3096d0-0ada-f660-67d5-9eab3ff44918'::uuid, 'Tvdb', 5434015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b3096d0-0ada-f660-67d5-9eab3ff44918'::uuid, 'TmdbCollection', 1137063)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14726 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b3096d0-0ada-f660-67d5-9eab3ff44918'::uuid;

-- Query #14727 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7b3096d0-0ada-f660-67d5-9eab3ff44918'::uuid;

-- Query #14728 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7b3096d0-0ada-f660-67d5-9eab3ff44918'::uuid]);

-- Query #14729 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7b3096d0-0ada-f660-67d5-9eab3ff44918'::uuid;

-- Query #14730 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14731 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '769f99a2-12d7-be53-c371-69d34fc95f3b'::uuid;

-- Query #14732 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['769f99a2-12d7-be53-c371-69d34fc95f3b'::uuid]);

-- Query #14733 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '769f99a2-12d7-be53-c371-69d34fc95f3b'::uuid;

-- Query #14734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('769f99a2-12d7-be53-c371-69d34fc95f3b'::uuid, 'Imdb', 'tt0751509')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('769f99a2-12d7-be53-c371-69d34fc95f3b'::uuid, 'Tmdb', 334919)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('769f99a2-12d7-be53-c371-69d34fc95f3b'::uuid, 'TvMaze', 41479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('769f99a2-12d7-be53-c371-69d34fc95f3b'::uuid, 'Tvdb', 259772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('769f99a2-12d7-be53-c371-69d34fc95f3b'::uuid, 'TvRage', 236331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('769f99a2-12d7-be53-c371-69d34fc95f3b'::uuid, 'trakt', 343396)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('769f99a2-12d7-be53-c371-69d34fc95f3b'::uuid, 'TmdbCollection', 334919)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14741 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8cdcd17-62c3-dbaf-e9c5-54bdd7cc2674'::uuid;

-- Query #14742 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '769f99a2-12d7-be53-c371-69d34fc95f3b'::uuid;

-- Query #14743 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '769f99a2-12d7-be53-c371-69d34fc95f3b'::uuid;

-- Query #14744 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d8cdcd17-62c3-dbaf-e9c5-54bdd7cc2674'::uuid]);

-- Query #14745 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd8cdcd17-62c3-dbaf-e9c5-54bdd7cc2674'::uuid;

-- Query #14746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8cdcd17-62c3-dbaf-e9c5-54bdd7cc2674'::uuid, 'Imdb', 'tt5258124')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14747 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['769f99a2-12d7-be53-c371-69d34fc95f3b'::uuid]);

-- Query #14748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8cdcd17-62c3-dbaf-e9c5-54bdd7cc2674'::uuid, 'Tmdb', 1137064)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8cdcd17-62c3-dbaf-e9c5-54bdd7cc2674'::uuid, 'trakt', 2055752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8cdcd17-62c3-dbaf-e9c5-54bdd7cc2674'::uuid, 'TvMaze', 526089)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14751 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '769f99a2-12d7-be53-c371-69d34fc95f3b'::uuid;

-- Query #14752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8cdcd17-62c3-dbaf-e9c5-54bdd7cc2674'::uuid, 'Tvdb', 5434016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14753 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8cdcd17-62c3-dbaf-e9c5-54bdd7cc2674'::uuid, 'TmdbCollection', 1137064)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14755 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8cdcd17-62c3-dbaf-e9c5-54bdd7cc2674'::uuid;

-- Query #14756 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd8cdcd17-62c3-dbaf-e9c5-54bdd7cc2674'::uuid;

-- Query #14757 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d8cdcd17-62c3-dbaf-e9c5-54bdd7cc2674'::uuid]);

-- Query #14758 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd8cdcd17-62c3-dbaf-e9c5-54bdd7cc2674'::uuid;

-- Query #14759 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14760 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '35a91c19-bdc2-9f1f-0c16-14e2b8399674'::uuid;

-- Query #14761 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['35a91c19-bdc2-9f1f-0c16-14e2b8399674'::uuid]);

-- Query #14762 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e747301b-6015-612b-2b4f-bf70ba342170'::uuid;

-- Query #14763 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '35a91c19-bdc2-9f1f-0c16-14e2b8399674'::uuid;

-- Query #14764 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a91c19-bdc2-9f1f-0c16-14e2b8399674'::uuid, 'Imdb', 'tt0751512')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a91c19-bdc2-9f1f-0c16-14e2b8399674'::uuid, 'Tmdb', 334926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a91c19-bdc2-9f1f-0c16-14e2b8399674'::uuid, 'TvMaze', 41486)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a91c19-bdc2-9f1f-0c16-14e2b8399674'::uuid, 'Tvdb', 259779)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a91c19-bdc2-9f1f-0c16-14e2b8399674'::uuid, 'TvRage', 236338)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a91c19-bdc2-9f1f-0c16-14e2b8399674'::uuid, 'trakt', 343403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a91c19-bdc2-9f1f-0c16-14e2b8399674'::uuid, 'TmdbCollection', 334926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14771 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e747301b-6015-612b-2b4f-bf70ba342170'::uuid]);

-- Query #14772 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '35a91c19-bdc2-9f1f-0c16-14e2b8399674'::uuid;

-- Query #14773 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '35a91c19-bdc2-9f1f-0c16-14e2b8399674'::uuid;

-- Query #14774 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e747301b-6015-612b-2b4f-bf70ba342170'::uuid;

-- Query #14775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e747301b-6015-612b-2b4f-bf70ba342170'::uuid, 'Imdb', 'tt5257872')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e747301b-6015-612b-2b4f-bf70ba342170'::uuid, 'Tmdb', 1137060)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e747301b-6015-612b-2b4f-bf70ba342170'::uuid, 'trakt', 2055748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e747301b-6015-612b-2b4f-bf70ba342170'::uuid, 'TvMaze', 526085)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e747301b-6015-612b-2b4f-bf70ba342170'::uuid, 'Tvdb', 5434012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e747301b-6015-612b-2b4f-bf70ba342170'::uuid, 'TmdbCollection', 1137060)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14781 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e747301b-6015-612b-2b4f-bf70ba342170'::uuid;

-- Query #14782 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e747301b-6015-612b-2b4f-bf70ba342170'::uuid;

-- Query #14783 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['35a91c19-bdc2-9f1f-0c16-14e2b8399674'::uuid]);

-- Query #14784 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '35a91c19-bdc2-9f1f-0c16-14e2b8399674'::uuid;

-- Query #14785 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14786 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e747301b-6015-612b-2b4f-bf70ba342170'::uuid]);

-- Query #14787 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e747301b-6015-612b-2b4f-bf70ba342170'::uuid;

-- Query #14788 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81e83bbf-d92c-d18f-6be0-e43f541fa257'::uuid;

-- Query #14790 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e3801f2-3675-5a8e-a0c5-2bd372b45e4f'::uuid;

-- Query #14791 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['81e83bbf-d92c-d18f-6be0-e43f541fa257'::uuid]);

-- Query #14792 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '81e83bbf-d92c-d18f-6be0-e43f541fa257'::uuid;

-- Query #14793 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81e83bbf-d92c-d18f-6be0-e43f541fa257'::uuid, 'TmdbCollection', 334915)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14794 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5e3801f2-3675-5a8e-a0c5-2bd372b45e4f'::uuid]);

-- Query #14795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81e83bbf-d92c-d18f-6be0-e43f541fa257'::uuid, 'Imdb', 'tt0751520')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81e83bbf-d92c-d18f-6be0-e43f541fa257'::uuid, 'Tmdb', 334915)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14797 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5e3801f2-3675-5a8e-a0c5-2bd372b45e4f'::uuid;

-- Query #14798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81e83bbf-d92c-d18f-6be0-e43f541fa257'::uuid, 'TvMaze', 41475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14799 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e3801f2-3675-5a8e-a0c5-2bd372b45e4f'::uuid, 'Imdb', 'tt5255582')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14800 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81e83bbf-d92c-d18f-6be0-e43f541fa257'::uuid, 'Tvdb', 259768)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e3801f2-3675-5a8e-a0c5-2bd372b45e4f'::uuid, 'Tmdb', 1137058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81e83bbf-d92c-d18f-6be0-e43f541fa257'::uuid, 'TvRage', 236327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e3801f2-3675-5a8e-a0c5-2bd372b45e4f'::uuid, 'trakt', 2055746)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81e83bbf-d92c-d18f-6be0-e43f541fa257'::uuid, 'trakt', 343392)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e3801f2-3675-5a8e-a0c5-2bd372b45e4f'::uuid, 'TvMaze', 526083)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14806 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81e83bbf-d92c-d18f-6be0-e43f541fa257'::uuid;

-- Query #14807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e3801f2-3675-5a8e-a0c5-2bd372b45e4f'::uuid, 'Tvdb', 5434010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '81e83bbf-d92c-d18f-6be0-e43f541fa257'::uuid;

-- Query #14809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e3801f2-3675-5a8e-a0c5-2bd372b45e4f'::uuid, 'TmdbCollection', 1137058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14810 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e3801f2-3675-5a8e-a0c5-2bd372b45e4f'::uuid;

-- Query #14811 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5e3801f2-3675-5a8e-a0c5-2bd372b45e4f'::uuid;

-- Query #14812 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['81e83bbf-d92c-d18f-6be0-e43f541fa257'::uuid]);

-- Query #14813 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5e3801f2-3675-5a8e-a0c5-2bd372b45e4f'::uuid]);

-- Query #14814 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '81e83bbf-d92c-d18f-6be0-e43f541fa257'::uuid;

-- Query #14815 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5e3801f2-3675-5a8e-a0c5-2bd372b45e4f'::uuid;

-- Query #14816 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14817 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14818 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f50c79bf-3e22-2737-a403-941bc03ff9fb'::uuid;

-- Query #14819 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2ae8eb91-a4ba-a250-df98-e5a676211884'::uuid;

-- Query #14820 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f50c79bf-3e22-2737-a403-941bc03ff9fb'::uuid]);

-- Query #14821 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f50c79bf-3e22-2737-a403-941bc03ff9fb'::uuid;

-- Query #14822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50c79bf-3e22-2737-a403-941bc03ff9fb'::uuid, 'Imdb', 'tt0751521')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14823 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ae8eb91-a4ba-a250-df98-e5a676211884'::uuid]);

-- Query #14824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50c79bf-3e22-2737-a403-941bc03ff9fb'::uuid, 'Tmdb', 334910)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50c79bf-3e22-2737-a403-941bc03ff9fb'::uuid, 'TvMaze', 41470)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14826 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2ae8eb91-a4ba-a250-df98-e5a676211884'::uuid;

-- Query #14827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50c79bf-3e22-2737-a403-941bc03ff9fb'::uuid, 'Tvdb', 259763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ae8eb91-a4ba-a250-df98-e5a676211884'::uuid, 'Imdb', 'tt5257920')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14829 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50c79bf-3e22-2737-a403-941bc03ff9fb'::uuid, 'TvRage', 236322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ae8eb91-a4ba-a250-df98-e5a676211884'::uuid, 'Tmdb', 1137061)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50c79bf-3e22-2737-a403-941bc03ff9fb'::uuid, 'trakt', 343387)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ae8eb91-a4ba-a250-df98-e5a676211884'::uuid, 'trakt', 2055749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f50c79bf-3e22-2737-a403-941bc03ff9fb'::uuid, 'TmdbCollection', 334910)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ae8eb91-a4ba-a250-df98-e5a676211884'::uuid, 'TvMaze', 526086)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ae8eb91-a4ba-a250-df98-e5a676211884'::uuid, 'Tvdb', 5434013)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f50c79bf-3e22-2737-a403-941bc03ff9fb'::uuid;

-- Query #14837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ae8eb91-a4ba-a250-df98-e5a676211884'::uuid, 'TmdbCollection', 1137061)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14838 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f50c79bf-3e22-2737-a403-941bc03ff9fb'::uuid;

-- Query #14839 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2ae8eb91-a4ba-a250-df98-e5a676211884'::uuid;

-- Query #14840 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2ae8eb91-a4ba-a250-df98-e5a676211884'::uuid;

-- Query #14841 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f50c79bf-3e22-2737-a403-941bc03ff9fb'::uuid]);

-- Query #14842 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2ae8eb91-a4ba-a250-df98-e5a676211884'::uuid]);

-- Query #14843 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f50c79bf-3e22-2737-a403-941bc03ff9fb'::uuid;

-- Query #14844 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2ae8eb91-a4ba-a250-df98-e5a676211884'::uuid;

-- Query #14845 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14846 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14847 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '03fe9255-cd0b-f963-488e-896e0c5017b3'::uuid;

-- Query #14848 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7da327e9-1c5c-7658-415f-c64739b29eb6'::uuid;

-- Query #14849 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03fe9255-cd0b-f963-488e-896e0c5017b3'::uuid]);

-- Query #14850 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7da327e9-1c5c-7658-415f-c64739b29eb6'::uuid]);

-- Query #14851 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '03fe9255-cd0b-f963-488e-896e0c5017b3'::uuid;

-- Query #14852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03fe9255-cd0b-f963-488e-896e0c5017b3'::uuid, 'Imdb', 'tt0751527')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14853 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7da327e9-1c5c-7658-415f-c64739b29eb6'::uuid;

-- Query #14854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03fe9255-cd0b-f963-488e-896e0c5017b3'::uuid, 'Tmdb', 334913)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7da327e9-1c5c-7658-415f-c64739b29eb6'::uuid, 'Imdb', 'tt5237714')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03fe9255-cd0b-f963-488e-896e0c5017b3'::uuid, 'TvMaze', 41473)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7da327e9-1c5c-7658-415f-c64739b29eb6'::uuid, 'Tmdb', 1137057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03fe9255-cd0b-f963-488e-896e0c5017b3'::uuid, 'Tvdb', 259766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7da327e9-1c5c-7658-415f-c64739b29eb6'::uuid, 'trakt', 2055745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03fe9255-cd0b-f963-488e-896e0c5017b3'::uuid, 'TvRage', 236325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7da327e9-1c5c-7658-415f-c64739b29eb6'::uuid, 'TvMaze', 526082)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14862 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03fe9255-cd0b-f963-488e-896e0c5017b3'::uuid, 'trakt', 343390)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7da327e9-1c5c-7658-415f-c64739b29eb6'::uuid, 'Tvdb', 5434009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14864 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03fe9255-cd0b-f963-488e-896e0c5017b3'::uuid, 'TmdbCollection', 334913)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7da327e9-1c5c-7658-415f-c64739b29eb6'::uuid, 'TmdbCollection', 1137057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14866 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '03fe9255-cd0b-f963-488e-896e0c5017b3'::uuid;

-- Query #14867 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7da327e9-1c5c-7658-415f-c64739b29eb6'::uuid;

-- Query #14868 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '03fe9255-cd0b-f963-488e-896e0c5017b3'::uuid;

-- Query #14869 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7da327e9-1c5c-7658-415f-c64739b29eb6'::uuid;

-- Query #14870 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['03fe9255-cd0b-f963-488e-896e0c5017b3'::uuid]);

-- Query #14871 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7da327e9-1c5c-7658-415f-c64739b29eb6'::uuid]);

-- Query #14872 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7da327e9-1c5c-7658-415f-c64739b29eb6'::uuid;

-- Query #14873 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '03fe9255-cd0b-f963-488e-896e0c5017b3'::uuid;

-- Query #14874 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14875 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14876 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f730e143-c7c4-ced6-5b17-8a87b454cc27'::uuid;

-- Query #14877 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '489871ff-d530-ba88-6aab-643840d8e45a'::uuid;

-- Query #14878 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f730e143-c7c4-ced6-5b17-8a87b454cc27'::uuid]);

-- Query #14879 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f730e143-c7c4-ced6-5b17-8a87b454cc27'::uuid;

-- Query #14880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f730e143-c7c4-ced6-5b17-8a87b454cc27'::uuid, 'Imdb', 'tt0751531')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f730e143-c7c4-ced6-5b17-8a87b454cc27'::uuid, 'Tmdb', 334907)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f730e143-c7c4-ced6-5b17-8a87b454cc27'::uuid, 'TvMaze', 41467)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f730e143-c7c4-ced6-5b17-8a87b454cc27'::uuid, 'Tvdb', 259760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f730e143-c7c4-ced6-5b17-8a87b454cc27'::uuid, 'TvRage', 236319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f730e143-c7c4-ced6-5b17-8a87b454cc27'::uuid, 'trakt', 343384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f730e143-c7c4-ced6-5b17-8a87b454cc27'::uuid, 'TmdbCollection', 334907)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14887 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f730e143-c7c4-ced6-5b17-8a87b454cc27'::uuid;

-- Query #14888 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f730e143-c7c4-ced6-5b17-8a87b454cc27'::uuid;

-- Query #14889 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f730e143-c7c4-ced6-5b17-8a87b454cc27'::uuid]);

-- Query #14890 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f730e143-c7c4-ced6-5b17-8a87b454cc27'::uuid;

-- Query #14891 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['489871ff-d530-ba88-6aab-643840d8e45a'::uuid]);

-- Query #14892 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14893 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '489871ff-d530-ba88-6aab-643840d8e45a'::uuid;

-- Query #14894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('489871ff-d530-ba88-6aab-643840d8e45a'::uuid, 'Imdb', 'tt9045468')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14895 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('489871ff-d530-ba88-6aab-643840d8e45a'::uuid, 'Tmdb', 1597916)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('489871ff-d530-ba88-6aab-643840d8e45a'::uuid, 'trakt', 3173299)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('489871ff-d530-ba88-6aab-643840d8e45a'::uuid, 'TvMaze', 1549004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('489871ff-d530-ba88-6aab-643840d8e45a'::uuid, 'Tvdb', 6840624)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14899 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('489871ff-d530-ba88-6aab-643840d8e45a'::uuid, 'TmdbCollection', 1597916)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14900 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '489871ff-d530-ba88-6aab-643840d8e45a'::uuid;

-- Query #14901 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '489871ff-d530-ba88-6aab-643840d8e45a'::uuid;

-- Query #14902 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['489871ff-d530-ba88-6aab-643840d8e45a'::uuid]);

-- Query #14903 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '489871ff-d530-ba88-6aab-643840d8e45a'::uuid;

-- Query #14904 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14905 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2cce56aa-8919-0e0c-3d52-67329ad34081'::uuid;

-- Query #14906 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2cce56aa-8919-0e0c-3d52-67329ad34081'::uuid]);

-- Query #14907 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2cce56aa-8919-0e0c-3d52-67329ad34081'::uuid;

-- Query #14908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cce56aa-8919-0e0c-3d52-67329ad34081'::uuid, 'Imdb', 'tt0751534')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cce56aa-8919-0e0c-3d52-67329ad34081'::uuid, 'Tmdb', 334956)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cce56aa-8919-0e0c-3d52-67329ad34081'::uuid, 'TvMaze', 41492)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cce56aa-8919-0e0c-3d52-67329ad34081'::uuid, 'Tvdb', 259785)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cce56aa-8919-0e0c-3d52-67329ad34081'::uuid, 'TvRage', 236344)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cce56aa-8919-0e0c-3d52-67329ad34081'::uuid, 'trakt', 343409)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cce56aa-8919-0e0c-3d52-67329ad34081'::uuid, 'TmdbCollection', 334956)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2cce56aa-8919-0e0c-3d52-67329ad34081'::uuid;

-- Query #14916 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c2661685-9af2-29dd-2da1-9c6934e035dc'::uuid;

-- Query #14917 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2cce56aa-8919-0e0c-3d52-67329ad34081'::uuid;

-- Query #14918 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c2661685-9af2-29dd-2da1-9c6934e035dc'::uuid]);

-- Query #14919 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c2661685-9af2-29dd-2da1-9c6934e035dc'::uuid;

-- Query #14920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2661685-9af2-29dd-2da1-9c6934e035dc'::uuid, 'Tmdb', 1597919)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14921 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2cce56aa-8919-0e0c-3d52-67329ad34081'::uuid]);

-- Query #14922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2661685-9af2-29dd-2da1-9c6934e035dc'::uuid, 'trakt', 3173302)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2661685-9af2-29dd-2da1-9c6934e035dc'::uuid, 'Imdb', 'tt9045474')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14924 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2cce56aa-8919-0e0c-3d52-67329ad34081'::uuid;

-- Query #14925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2661685-9af2-29dd-2da1-9c6934e035dc'::uuid, 'TvMaze', 1549007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2661685-9af2-29dd-2da1-9c6934e035dc'::uuid, 'Tvdb', 6840630)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14927 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14928 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2661685-9af2-29dd-2da1-9c6934e035dc'::uuid, 'TmdbCollection', 1597919)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c2661685-9af2-29dd-2da1-9c6934e035dc'::uuid;

-- Query #14930 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c2661685-9af2-29dd-2da1-9c6934e035dc'::uuid;

-- Query #14931 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c2661685-9af2-29dd-2da1-9c6934e035dc'::uuid]);

-- Query #14932 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c2661685-9af2-29dd-2da1-9c6934e035dc'::uuid;

-- Query #14933 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14934 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e8d524a0-2040-8639-db9b-d1b05fea74c2'::uuid;

-- Query #14935 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2526b25f-1888-3cb5-e9a9-b59ea018b7d5'::uuid;

-- Query #14936 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e8d524a0-2040-8639-db9b-d1b05fea74c2'::uuid]);

-- Query #14937 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e8d524a0-2040-8639-db9b-d1b05fea74c2'::uuid;

-- Query #14938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8d524a0-2040-8639-db9b-d1b05fea74c2'::uuid, 'Imdb', 'tt0751465')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8d524a0-2040-8639-db9b-d1b05fea74c2'::uuid, 'Tmdb', 334951)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8d524a0-2040-8639-db9b-d1b05fea74c2'::uuid, 'TvMaze', 41487)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14941 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8d524a0-2040-8639-db9b-d1b05fea74c2'::uuid, 'Tvdb', 259780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14942 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8d524a0-2040-8639-db9b-d1b05fea74c2'::uuid, 'TvRage', 236339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14943 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8d524a0-2040-8639-db9b-d1b05fea74c2'::uuid, 'trakt', 343404)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14944 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8d524a0-2040-8639-db9b-d1b05fea74c2'::uuid, 'TmdbCollection', 334951)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14945 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e8d524a0-2040-8639-db9b-d1b05fea74c2'::uuid;

-- Query #14946 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e8d524a0-2040-8639-db9b-d1b05fea74c2'::uuid;

-- Query #14947 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2526b25f-1888-3cb5-e9a9-b59ea018b7d5'::uuid]);

-- Query #14948 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2526b25f-1888-3cb5-e9a9-b59ea018b7d5'::uuid;

-- Query #14949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2526b25f-1888-3cb5-e9a9-b59ea018b7d5'::uuid, 'Imdb', 'tt9045470')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2526b25f-1888-3cb5-e9a9-b59ea018b7d5'::uuid, 'Tmdb', 1597917)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2526b25f-1888-3cb5-e9a9-b59ea018b7d5'::uuid, 'trakt', 3173300)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2526b25f-1888-3cb5-e9a9-b59ea018b7d5'::uuid, 'TvMaze', 1549005)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2526b25f-1888-3cb5-e9a9-b59ea018b7d5'::uuid, 'Tvdb', 6840626)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14954 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e8d524a0-2040-8639-db9b-d1b05fea74c2'::uuid]);

-- Query #14955 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2526b25f-1888-3cb5-e9a9-b59ea018b7d5'::uuid, 'TmdbCollection', 1597917)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14956 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2526b25f-1888-3cb5-e9a9-b59ea018b7d5'::uuid;

-- Query #14957 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2526b25f-1888-3cb5-e9a9-b59ea018b7d5'::uuid;

-- Query #14958 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e8d524a0-2040-8639-db9b-d1b05fea74c2'::uuid;

-- Query #14959 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14960 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2526b25f-1888-3cb5-e9a9-b59ea018b7d5'::uuid]);

-- Query #14961 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2526b25f-1888-3cb5-e9a9-b59ea018b7d5'::uuid;

-- Query #14962 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14963 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6271deda-9f73-500b-4811-ea178ffd1046'::uuid;

-- Query #14964 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6271deda-9f73-500b-4811-ea178ffd1046'::uuid]);

-- Query #14965 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6271deda-9f73-500b-4811-ea178ffd1046'::uuid;

-- Query #14966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6271deda-9f73-500b-4811-ea178ffd1046'::uuid, 'Imdb', 'tt6009334')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6271deda-9f73-500b-4811-ea178ffd1046'::uuid, 'Tmdb', 1597913)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6271deda-9f73-500b-4811-ea178ffd1046'::uuid, 'trakt', 3173296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14969 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6271deda-9f73-500b-4811-ea178ffd1046'::uuid, 'TvMaze', 1549001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14970 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6271deda-9f73-500b-4811-ea178ffd1046'::uuid, 'Tvdb', 6840618)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6271deda-9f73-500b-4811-ea178ffd1046'::uuid, 'TmdbCollection', 1597913)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14972 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6271deda-9f73-500b-4811-ea178ffd1046'::uuid;

-- Query #14973 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6271deda-9f73-500b-4811-ea178ffd1046'::uuid;

-- Query #14974 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '218a5fdd-15e9-98f1-9c75-67f47a2acc48'::uuid;

-- Query #14975 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6271deda-9f73-500b-4811-ea178ffd1046'::uuid]);

-- Query #14976 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6271deda-9f73-500b-4811-ea178ffd1046'::uuid;

-- Query #14977 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14978 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['218a5fdd-15e9-98f1-9c75-67f47a2acc48'::uuid]);

-- Query #14979 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '218a5fdd-15e9-98f1-9c75-67f47a2acc48'::uuid;

-- Query #14980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('218a5fdd-15e9-98f1-9c75-67f47a2acc48'::uuid, 'TmdbCollection', 334961)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('218a5fdd-15e9-98f1-9c75-67f47a2acc48'::uuid, 'Imdb', 'tt0751468')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('218a5fdd-15e9-98f1-9c75-67f47a2acc48'::uuid, 'Tmdb', 334961)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('218a5fdd-15e9-98f1-9c75-67f47a2acc48'::uuid, 'TvMaze', 41497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14984 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('218a5fdd-15e9-98f1-9c75-67f47a2acc48'::uuid, 'Tvdb', 259790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14985 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('218a5fdd-15e9-98f1-9c75-67f47a2acc48'::uuid, 'TvRage', 236349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14986 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('218a5fdd-15e9-98f1-9c75-67f47a2acc48'::uuid, 'trakt', 343414)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '218a5fdd-15e9-98f1-9c75-67f47a2acc48'::uuid;

-- Query #14988 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '218a5fdd-15e9-98f1-9c75-67f47a2acc48'::uuid;

-- Query #14989 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['218a5fdd-15e9-98f1-9c75-67f47a2acc48'::uuid]);

-- Query #14990 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '218a5fdd-15e9-98f1-9c75-67f47a2acc48'::uuid;

-- Query #14991 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #14992 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd18301cf-d6e1-fc40-f170-ffa0b1555935'::uuid;

-- Query #14993 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d18301cf-d6e1-fc40-f170-ffa0b1555935'::uuid]);

-- Query #14994 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd18301cf-d6e1-fc40-f170-ffa0b1555935'::uuid;

-- Query #14995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d18301cf-d6e1-fc40-f170-ffa0b1555935'::uuid, 'Imdb', 'tt5895818')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d18301cf-d6e1-fc40-f170-ffa0b1555935'::uuid, 'Tmdb', 1594537)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d18301cf-d6e1-fc40-f170-ffa0b1555935'::uuid, 'trakt', 3171900)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14998 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d18301cf-d6e1-fc40-f170-ffa0b1555935'::uuid, 'TvMaze', 1536333)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #14999 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d18301cf-d6e1-fc40-f170-ffa0b1555935'::uuid, 'Tvdb', 6840201)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15000 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d18301cf-d6e1-fc40-f170-ffa0b1555935'::uuid, 'TmdbCollection', 1594537)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15001 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd18301cf-d6e1-fc40-f170-ffa0b1555935'::uuid;

-- Query #15002 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd18301cf-d6e1-fc40-f170-ffa0b1555935'::uuid;

-- Query #15003 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '540c24db-3035-4caf-7103-8e81129b7407'::uuid;

-- Query #15004 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d18301cf-d6e1-fc40-f170-ffa0b1555935'::uuid]);

-- Query #15005 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd18301cf-d6e1-fc40-f170-ffa0b1555935'::uuid;

-- Query #15006 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15007 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['540c24db-3035-4caf-7103-8e81129b7407'::uuid]);

-- Query #15008 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '540c24db-3035-4caf-7103-8e81129b7407'::uuid;

-- Query #15009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('540c24db-3035-4caf-7103-8e81129b7407'::uuid, 'Imdb', 'tt0751444')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('540c24db-3035-4caf-7103-8e81129b7407'::uuid, 'Tmdb', 334971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('540c24db-3035-4caf-7103-8e81129b7407'::uuid, 'TvMaze', 41507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('540c24db-3035-4caf-7103-8e81129b7407'::uuid, 'Tvdb', 259800)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('540c24db-3035-4caf-7103-8e81129b7407'::uuid, 'TvRage', 236359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('540c24db-3035-4caf-7103-8e81129b7407'::uuid, 'trakt', 343424)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('540c24db-3035-4caf-7103-8e81129b7407'::uuid, 'TmdbCollection', 334971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15016 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '540c24db-3035-4caf-7103-8e81129b7407'::uuid;

-- Query #15017 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '540c24db-3035-4caf-7103-8e81129b7407'::uuid;

-- Query #15018 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['540c24db-3035-4caf-7103-8e81129b7407'::uuid]);

-- Query #15019 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '540c24db-3035-4caf-7103-8e81129b7407'::uuid;

-- Query #15020 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15021 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bfe495db-c060-8632-b233-840ce9ac4558'::uuid;

-- Query #15022 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bfe495db-c060-8632-b233-840ce9ac4558'::uuid]);

-- Query #15023 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bfe495db-c060-8632-b233-840ce9ac4558'::uuid;

-- Query #15024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfe495db-c060-8632-b233-840ce9ac4558'::uuid, 'Imdb', 'tt9045472')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfe495db-c060-8632-b233-840ce9ac4558'::uuid, 'Tmdb', 1597918)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfe495db-c060-8632-b233-840ce9ac4558'::uuid, 'trakt', 3173301)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfe495db-c060-8632-b233-840ce9ac4558'::uuid, 'TvMaze', 1549006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfe495db-c060-8632-b233-840ce9ac4558'::uuid, 'Tvdb', 6840628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfe495db-c060-8632-b233-840ce9ac4558'::uuid, 'TmdbCollection', 1597918)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15030 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bfe495db-c060-8632-b233-840ce9ac4558'::uuid;

-- Query #15031 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bfe495db-c060-8632-b233-840ce9ac4558'::uuid;

-- Query #15032 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bfe495db-c060-8632-b233-840ce9ac4558'::uuid]);

-- Query #15033 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bfe495db-c060-8632-b233-840ce9ac4558'::uuid;

-- Query #15034 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15035 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid;

-- Query #15036 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid]);

-- Query #15037 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid;

-- Query #15038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid, 'Imdb', 'tt0751445')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15039 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid, 'Tmdb', 334972)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15040 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid, 'TvMaze', 41508)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15041 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid, 'Tvdb', 259801)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15042 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid, 'TvRage', 236360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15043 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3ffec2d1-dd17-4440-1b5a-e4b1b3eb9da3'::uuid;

-- Query #15044 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid, 'trakt', 343425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid, 'TmdbCollection', 334972)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15046 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid;

-- Query #15047 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid;

-- Query #15048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ffec2d1-dd17-4440-1b5a-e4b1b3eb9da3'::uuid]);

-- Query #15049 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3ffec2d1-dd17-4440-1b5a-e4b1b3eb9da3'::uuid;

-- Query #15050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ffec2d1-dd17-4440-1b5a-e4b1b3eb9da3'::uuid, 'Imdb', 'tt9045476')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15051 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid]);

-- Query #15052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ffec2d1-dd17-4440-1b5a-e4b1b3eb9da3'::uuid, 'Tmdb', 1597920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ffec2d1-dd17-4440-1b5a-e4b1b3eb9da3'::uuid, 'trakt', 3173305)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15054 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid;

-- Query #15055 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ffec2d1-dd17-4440-1b5a-e4b1b3eb9da3'::uuid, 'TvMaze', 1549008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15056 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15057 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ffec2d1-dd17-4440-1b5a-e4b1b3eb9da3'::uuid, 'Tvdb', 6840632)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ffec2d1-dd17-4440-1b5a-e4b1b3eb9da3'::uuid, 'TmdbCollection', 1597920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15059 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3ffec2d1-dd17-4440-1b5a-e4b1b3eb9da3'::uuid;

-- Query #15060 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3ffec2d1-dd17-4440-1b5a-e4b1b3eb9da3'::uuid;

-- Query #15061 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3ffec2d1-dd17-4440-1b5a-e4b1b3eb9da3'::uuid]);

-- Query #15062 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3ffec2d1-dd17-4440-1b5a-e4b1b3eb9da3'::uuid;

-- Query #15063 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15064 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '145a62d7-1588-e845-5d54-5f5015bbbee4'::uuid;

-- Query #15065 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5afa43ae-3288-3694-25f0-c625f5ccd16b'::uuid;

-- Query #15066 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['145a62d7-1588-e845-5d54-5f5015bbbee4'::uuid]);

-- Query #15067 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '145a62d7-1588-e845-5d54-5f5015bbbee4'::uuid;

-- Query #15068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('145a62d7-1588-e845-5d54-5f5015bbbee4'::uuid, 'Imdb', 'tt9045466')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('145a62d7-1588-e845-5d54-5f5015bbbee4'::uuid, 'Tmdb', 1597915)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('145a62d7-1588-e845-5d54-5f5015bbbee4'::uuid, 'trakt', 3173298)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('145a62d7-1588-e845-5d54-5f5015bbbee4'::uuid, 'TvMaze', 1549003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('145a62d7-1588-e845-5d54-5f5015bbbee4'::uuid, 'Tvdb', 6840622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('145a62d7-1588-e845-5d54-5f5015bbbee4'::uuid, 'TmdbCollection', 1597915)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15074 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '145a62d7-1588-e845-5d54-5f5015bbbee4'::uuid;

-- Query #15075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '145a62d7-1588-e845-5d54-5f5015bbbee4'::uuid;

-- Query #15076 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5afa43ae-3288-3694-25f0-c625f5ccd16b'::uuid]);

-- Query #15077 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5afa43ae-3288-3694-25f0-c625f5ccd16b'::uuid;

-- Query #15078 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5afa43ae-3288-3694-25f0-c625f5ccd16b'::uuid, 'Imdb', 'tt0751545')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15079 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5afa43ae-3288-3694-25f0-c625f5ccd16b'::uuid, 'Tmdb', 334962)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5afa43ae-3288-3694-25f0-c625f5ccd16b'::uuid, 'TvMaze', 41498)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15081 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5afa43ae-3288-3694-25f0-c625f5ccd16b'::uuid, 'Tvdb', 259791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15082 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5afa43ae-3288-3694-25f0-c625f5ccd16b'::uuid, 'TvRage', 236350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15083 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['145a62d7-1588-e845-5d54-5f5015bbbee4'::uuid]);

-- Query #15084 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5afa43ae-3288-3694-25f0-c625f5ccd16b'::uuid, 'trakt', 343415)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15085 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5afa43ae-3288-3694-25f0-c625f5ccd16b'::uuid, 'TmdbCollection', 334962)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15086 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '145a62d7-1588-e845-5d54-5f5015bbbee4'::uuid;

-- Query #15087 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5afa43ae-3288-3694-25f0-c625f5ccd16b'::uuid;

-- Query #15088 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15089 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5afa43ae-3288-3694-25f0-c625f5ccd16b'::uuid;

-- Query #15090 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5afa43ae-3288-3694-25f0-c625f5ccd16b'::uuid]);

-- Query #15091 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5afa43ae-3288-3694-25f0-c625f5ccd16b'::uuid;

-- Query #15092 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15093 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6698281b-eb0c-0938-12d2-fbff075edd83'::uuid;

-- Query #15094 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6698281b-eb0c-0938-12d2-fbff075edd83'::uuid]);

-- Query #15095 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6698281b-eb0c-0938-12d2-fbff075edd83'::uuid;

-- Query #15096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6698281b-eb0c-0938-12d2-fbff075edd83'::uuid, 'Imdb', 'tt6009330')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15097 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6698281b-eb0c-0938-12d2-fbff075edd83'::uuid, 'Tmdb', 1597912)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15098 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2451d5a6-dfa7-ee84-cbde-695be39873a3'::uuid;

-- Query #15099 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6698281b-eb0c-0938-12d2-fbff075edd83'::uuid, 'trakt', 3173295)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6698281b-eb0c-0938-12d2-fbff075edd83'::uuid, 'TvMaze', 1549000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6698281b-eb0c-0938-12d2-fbff075edd83'::uuid, 'Tvdb', 6840616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6698281b-eb0c-0938-12d2-fbff075edd83'::uuid, 'TmdbCollection', 1597912)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15103 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6698281b-eb0c-0938-12d2-fbff075edd83'::uuid;

-- Query #15104 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6698281b-eb0c-0938-12d2-fbff075edd83'::uuid;

-- Query #15105 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6698281b-eb0c-0938-12d2-fbff075edd83'::uuid]);

-- Query #15106 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6698281b-eb0c-0938-12d2-fbff075edd83'::uuid;

-- Query #15107 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid, '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15108 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2451d5a6-dfa7-ee84-cbde-695be39873a3'::uuid]);

-- Query #15109 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2451d5a6-dfa7-ee84-cbde-695be39873a3'::uuid;

-- Query #15110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2451d5a6-dfa7-ee84-cbde-695be39873a3'::uuid, 'Imdb', 'tt0751547')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15111 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9c585c07-22e3-c0fd-a311-84e99866f72d'::uuid
ORDER BY b."SortName";

-- Query #15112 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2451d5a6-dfa7-ee84-cbde-695be39873a3'::uuid, 'Tmdb', 334952)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2451d5a6-dfa7-ee84-cbde-695be39873a3'::uuid, 'TvMaze', 41488)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15114 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid])
ORDER BY b."Id";

-- Query #15115 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2451d5a6-dfa7-ee84-cbde-695be39873a3'::uuid, 'Tvdb', 259781)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15116 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid])
ORDER BY b."Id";

-- Query #15117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2451d5a6-dfa7-ee84-cbde-695be39873a3'::uuid, 'TvRage', 236340)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2451d5a6-dfa7-ee84-cbde-695be39873a3'::uuid, 'trakt', 343405)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15119 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid])
ORDER BY b."Id";

-- Query #15120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2451d5a6-dfa7-ee84-cbde-695be39873a3'::uuid, 'TmdbCollection', 334952)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15121 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid])
ORDER BY b."Id";

-- Query #15122 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2451d5a6-dfa7-ee84-cbde-695be39873a3'::uuid;

-- Query #15123 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2451d5a6-dfa7-ee84-cbde-695be39873a3'::uuid;

-- Query #15124 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid, 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid])
ORDER BY b."Id";

-- Query #15125 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5bc6de3e-9224-0b5d-8aa6-cd89eecfb731'::uuid
ORDER BY b."SortName";

-- Query #15126 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2451d5a6-dfa7-ee84-cbde-695be39873a3'::uuid]);

-- Query #15127 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2451d5a6-dfa7-ee84-cbde-695be39873a3'::uuid;

-- Query #15128 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15129 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ab3a8638-514e-8a2c-95ad-9d5a4a53f5a9'::uuid
ORDER BY b."SortName";

-- Query #15130 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '9c585c0722e3c0fda31184e99866f72d'
ORDER BY b."SortName", b."Name";

-- Query #15131 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid
ORDER BY b."SortName";

-- Query #15132 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid])
ORDER BY b."Id";

-- Query #15133 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid])
ORDER BY b."Id";

-- Query #15134 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid])
ORDER BY b."Id";

-- Query #15135 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid])
ORDER BY b."Id";

-- Query #15136 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid])
ORDER BY b."Id";

-- Query #15137 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid
ORDER BY b."SortName";

-- Query #15138 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dcc41241-c4f9-bc02-3706-e975c25b5bbf'::uuid;

-- Query #15139 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcc41241-c4f9-bc02-3706-e975c25b5bbf'::uuid]);

-- Query #15140 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dcc41241-c4f9-bc02-3706-e975c25b5bbf'::uuid;

-- Query #15141 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcc41241-c4f9-bc02-3706-e975c25b5bbf'::uuid, 'Imdb', 'tt0751487')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15142 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcc41241-c4f9-bc02-3706-e975c25b5bbf'::uuid, 'Tmdb', 334953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15143 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcc41241-c4f9-bc02-3706-e975c25b5bbf'::uuid, 'TvMaze', 41489)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15144 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcc41241-c4f9-bc02-3706-e975c25b5bbf'::uuid, 'Tvdb', 259782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcc41241-c4f9-bc02-3706-e975c25b5bbf'::uuid, 'TvRage', 236341)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcc41241-c4f9-bc02-3706-e975c25b5bbf'::uuid, 'trakt', 343406)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcc41241-c4f9-bc02-3706-e975c25b5bbf'::uuid, 'TmdbCollection', 334953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15148 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dcc41241-c4f9-bc02-3706-e975c25b5bbf'::uuid;

-- Query #15149 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dcc41241-c4f9-bc02-3706-e975c25b5bbf'::uuid;

-- Query #15150 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dcc41241-c4f9-bc02-3706-e975c25b5bbf'::uuid]);

-- Query #15151 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dcc41241-c4f9-bc02-3706-e975c25b5bbf'::uuid;

-- Query #15152 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15153 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f1217da8-6f84-9460-eed5-1817ad2e91b4'::uuid;

-- Query #15154 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f1217da8-6f84-9460-eed5-1817ad2e91b4'::uuid]);

-- Query #15155 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f1217da8-6f84-9460-eed5-1817ad2e91b4'::uuid;

-- Query #15156 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1217da8-6f84-9460-eed5-1817ad2e91b4'::uuid, 'Imdb', 'tt0751499')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15157 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1217da8-6f84-9460-eed5-1817ad2e91b4'::uuid, 'Tmdb', 334967)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1217da8-6f84-9460-eed5-1817ad2e91b4'::uuid, 'TvMaze', 41503)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15159 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1217da8-6f84-9460-eed5-1817ad2e91b4'::uuid, 'Tvdb', 259796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1217da8-6f84-9460-eed5-1817ad2e91b4'::uuid, 'TvRage', 236355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1217da8-6f84-9460-eed5-1817ad2e91b4'::uuid, 'trakt', 343420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1217da8-6f84-9460-eed5-1817ad2e91b4'::uuid, 'TmdbCollection', 334967)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15163 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f1217da8-6f84-9460-eed5-1817ad2e91b4'::uuid;

-- Query #15164 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid;

-- Query #15165 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f1217da8-6f84-9460-eed5-1817ad2e91b4'::uuid;

-- Query #15166 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid]);

-- Query #15167 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f1217da8-6f84-9460-eed5-1817ad2e91b4'::uuid]);

-- Query #15168 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid;

-- Query #15169 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, 'Imdb', 'tt0096646')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15170 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, 'Tmdb', 1137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15171 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f1217da8-6f84-9460-eed5-1817ad2e91b4'::uuid;

-- Query #15172 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, 'TmdbCollection', 1137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15174 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, 'Tvdb', 73280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, 'TvMaze', 26708)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, 'TvRage', 2577)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, 'wikidata', 'Q599085')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, 'Zap2It', 'SH076276')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15179 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid;

-- Query #15180 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid;

-- Query #15181 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Drama', '3+ABC', '3+ABC (US)']);

-- Query #15182 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid]);

-- Query #15183 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid;

-- Query #15184 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15185 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '9fe42e3ae5032008e80a44082e7fc680'
ORDER BY b."SortName", b."Name";

-- Query #15186 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09fe3391-6a1b-9cfe-adda-9a8ce8b0edf5'::uuid;

-- Query #15187 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid
ORDER BY b."SortName";

-- Query #15188 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid])
ORDER BY b."Id";

-- Query #15189 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid])
ORDER BY b."Id";

-- Query #15190 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid])
ORDER BY b."Id";

-- Query #15191 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid])
ORDER BY b."Id";

-- Query #15192 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid])
ORDER BY b."Id";

-- Query #15193 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid
ORDER BY b."SortName";

-- Query #15194 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09fe3391-6a1b-9cfe-adda-9a8ce8b0edf5'::uuid]);

-- Query #15195 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '09fe3391-6a1b-9cfe-adda-9a8ce8b0edf5'::uuid;

-- Query #15196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09fe3391-6a1b-9cfe-adda-9a8ce8b0edf5'::uuid, 'Imdb', 'tt0751500')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09fe3391-6a1b-9cfe-adda-9a8ce8b0edf5'::uuid, 'Tmdb', 334955)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09fe3391-6a1b-9cfe-adda-9a8ce8b0edf5'::uuid, 'TvMaze', 41491)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15199 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09fe3391-6a1b-9cfe-adda-9a8ce8b0edf5'::uuid, 'Tvdb', 259784)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15200 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09fe3391-6a1b-9cfe-adda-9a8ce8b0edf5'::uuid, 'TvRage', 236343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15201 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '9fe42e3ae5032008e80a44082e7fc680'
ORDER BY b."SortName", b."Name";

-- Query #15202 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09fe3391-6a1b-9cfe-adda-9a8ce8b0edf5'::uuid, 'trakt', 343408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15203 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09fe3391-6a1b-9cfe-adda-9a8ce8b0edf5'::uuid, 'TmdbCollection', 334955)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15204 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09fe3391-6a1b-9cfe-adda-9a8ce8b0edf5'::uuid;

-- Query #15205 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '09fe3391-6a1b-9cfe-adda-9a8ce8b0edf5'::uuid;

-- Query #15206 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['09fe3391-6a1b-9cfe-adda-9a8ce8b0edf5'::uuid]);

-- Query #15207 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '09fe3391-6a1b-9cfe-adda-9a8ce8b0edf5'::uuid;

-- Query #15208 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15209 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid;

-- Query #15210 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid]);

-- Query #15211 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid;

-- Query #15212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, 'Tvdb', 73280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, 'Tmdb', 1137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, 'Imdb', 'tt0096646')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, 'TvMaze', 26708)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15216 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, 'TvRage', 2577)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, 'Zap2It', 'SH076276')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, 'wikidata', 'Q599085')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, 'TmdbCollection', 1137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15220 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid;

-- Query #15221 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid;

-- Query #15222 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #15223 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid]);

-- Query #15224 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid;

-- Query #15225 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15226 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '91c9badb-2ce0-067e-2158-247667555e88'::uuid;

-- Query #15227 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['91c9badb-2ce0-067e-2158-247667555e88'::uuid]);

-- Query #15228 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '91c9badb-2ce0-067e-2158-247667555e88'::uuid;

-- Query #15229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91c9badb-2ce0-067e-2158-247667555e88'::uuid, 'Imdb', 'tt0751508')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15230 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91c9badb-2ce0-067e-2158-247667555e88'::uuid, 'Tmdb', 334969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15231 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91c9badb-2ce0-067e-2158-247667555e88'::uuid, 'TvMaze', 41505)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91c9badb-2ce0-067e-2158-247667555e88'::uuid, 'Tvdb', 259798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91c9badb-2ce0-067e-2158-247667555e88'::uuid, 'TvRage', 236357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91c9badb-2ce0-067e-2158-247667555e88'::uuid, 'trakt', 343422)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91c9badb-2ce0-067e-2158-247667555e88'::uuid, 'TmdbCollection', 334969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15236 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '91c9badb-2ce0-067e-2158-247667555e88'::uuid;

-- Query #15237 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '91c9badb-2ce0-067e-2158-247667555e88'::uuid;

-- Query #15238 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['91c9badb-2ce0-067e-2158-247667555e88'::uuid]);

-- Query #15239 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '91c9badb-2ce0-067e-2158-247667555e88'::uuid;

-- Query #15240 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7d8b3b93-670b-b8f0-77a1-f97992000e46'::uuid;

-- Query #15241 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15242 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d8b3b93-670b-b8f0-77a1-f97992000e46'::uuid]);

-- Query #15243 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7d8b3b93-670b-b8f0-77a1-f97992000e46'::uuid;

-- Query #15244 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d8b3b93-670b-b8f0-77a1-f97992000e46'::uuid, 'Tmdb', 57137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15245 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d8b3b93-670b-b8f0-77a1-f97992000e46'::uuid, 'TvRage', 8186)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d8b3b93-670b-b8f0-77a1-f97992000e46'::uuid, 'trakt', 68371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d8b3b93-670b-b8f0-77a1-f97992000e46'::uuid, 'TvMaze', 1119453)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d8b3b93-670b-b8f0-77a1-f97992000e46'::uuid, 'Tvdb', 111524)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d8b3b93-670b-b8f0-77a1-f97992000e46'::uuid, 'TmdbCollection', 57137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15250 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7d8b3b93-670b-b8f0-77a1-f97992000e46'::uuid;

-- Query #15251 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7d8b3b93-670b-b8f0-77a1-f97992000e46'::uuid;

-- Query #15252 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+ABC (US)']);

-- Query #15253 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7d8b3b93-670b-b8f0-77a1-f97992000e46'::uuid]);

-- Query #15254 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7d8b3b93-670b-b8f0-77a1-f97992000e46'::uuid;

-- Query #15255 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15256 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a8547a0-a5e1-b535-db50-6669ed0783d8'::uuid;

-- Query #15257 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a8547a0-a5e1-b535-db50-6669ed0783d8'::uuid]);

-- Query #15258 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6a8547a0-a5e1-b535-db50-6669ed0783d8'::uuid;

-- Query #15259 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a8547a0-a5e1-b535-db50-6669ed0783d8'::uuid, 'Imdb', 'tt0751513')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15260 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a8547a0-a5e1-b535-db50-6669ed0783d8'::uuid, 'Tmdb', 334960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a8547a0-a5e1-b535-db50-6669ed0783d8'::uuid, 'TvMaze', 41496)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a8547a0-a5e1-b535-db50-6669ed0783d8'::uuid, 'Tvdb', 259789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a8547a0-a5e1-b535-db50-6669ed0783d8'::uuid, 'TvRage', 236348)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a8547a0-a5e1-b535-db50-6669ed0783d8'::uuid, 'trakt', 343413)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a8547a0-a5e1-b535-db50-6669ed0783d8'::uuid, 'TmdbCollection', 334960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15266 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a8547a0-a5e1-b535-db50-6669ed0783d8'::uuid;

-- Query #15267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6a8547a0-a5e1-b535-db50-6669ed0783d8'::uuid;

-- Query #15268 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7e3de065-6b7c-af57-9365-e24e8dd5a760'::uuid;

-- Query #15269 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6a8547a0-a5e1-b535-db50-6669ed0783d8'::uuid]);

-- Query #15270 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6a8547a0-a5e1-b535-db50-6669ed0783d8'::uuid;

-- Query #15271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15272 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e3de065-6b7c-af57-9365-e24e8dd5a760'::uuid]);

-- Query #15273 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7e3de065-6b7c-af57-9365-e24e8dd5a760'::uuid;

-- Query #15274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e3de065-6b7c-af57-9365-e24e8dd5a760'::uuid, 'Imdb', 'tt0640731')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e3de065-6b7c-af57-9365-e24e8dd5a760'::uuid, 'Tmdb', 57129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e3de065-6b7c-af57-9365-e24e8dd5a760'::uuid, 'TvMaze', 1119448)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e3de065-6b7c-af57-9365-e24e8dd5a760'::uuid, 'Tvdb', 111519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e3de065-6b7c-af57-9365-e24e8dd5a760'::uuid, 'TvRage', 8181)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e3de065-6b7c-af57-9365-e24e8dd5a760'::uuid, 'trakt', 68366)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e3de065-6b7c-af57-9365-e24e8dd5a760'::uuid, 'TmdbCollection', 57129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15281 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7e3de065-6b7c-af57-9365-e24e8dd5a760'::uuid;

-- Query #15282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7e3de065-6b7c-af57-9365-e24e8dd5a760'::uuid;

-- Query #15283 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Drama', '3+ABC (US)']);

-- Query #15284 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7e3de065-6b7c-af57-9365-e24e8dd5a760'::uuid]);

-- Query #15285 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7e3de065-6b7c-af57-9365-e24e8dd5a760'::uuid;

-- Query #15286 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15287 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef97e5ac-d86a-e6a3-e7c5-19eb3e317ccc'::uuid;

-- Query #15288 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fcde334d-f1c4-e967-d6d5-6fca24888ff1'::uuid;

-- Query #15289 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef97e5ac-d86a-e6a3-e7c5-19eb3e317ccc'::uuid]);

-- Query #15290 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ef97e5ac-d86a-e6a3-e7c5-19eb3e317ccc'::uuid;

-- Query #15291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef97e5ac-d86a-e6a3-e7c5-19eb3e317ccc'::uuid, 'Imdb', 'tt0751518')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef97e5ac-d86a-e6a3-e7c5-19eb3e317ccc'::uuid, 'Tmdb', 334964)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef97e5ac-d86a-e6a3-e7c5-19eb3e317ccc'::uuid, 'TvMaze', 41500)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef97e5ac-d86a-e6a3-e7c5-19eb3e317ccc'::uuid, 'Tvdb', 259793)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef97e5ac-d86a-e6a3-e7c5-19eb3e317ccc'::uuid, 'TvRage', 236352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15296 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef97e5ac-d86a-e6a3-e7c5-19eb3e317ccc'::uuid, 'trakt', 343417)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fcde334d-f1c4-e967-d6d5-6fca24888ff1'::uuid]);

-- Query #15298 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef97e5ac-d86a-e6a3-e7c5-19eb3e317ccc'::uuid, 'TmdbCollection', 334964)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15299 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef97e5ac-d86a-e6a3-e7c5-19eb3e317ccc'::uuid;

-- Query #15300 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fcde334d-f1c4-e967-d6d5-6fca24888ff1'::uuid;

-- Query #15301 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ef97e5ac-d86a-e6a3-e7c5-19eb3e317ccc'::uuid;

-- Query #15302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fcde334d-f1c4-e967-d6d5-6fca24888ff1'::uuid, 'Tmdb', 57130)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fcde334d-f1c4-e967-d6d5-6fca24888ff1'::uuid, 'TvRage', 8179)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fcde334d-f1c4-e967-d6d5-6fca24888ff1'::uuid, 'trakt', 68364)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fcde334d-f1c4-e967-d6d5-6fca24888ff1'::uuid, 'TvMaze', 1119446)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fcde334d-f1c4-e967-d6d5-6fca24888ff1'::uuid, 'Tvdb', 111517)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fcde334d-f1c4-e967-d6d5-6fca24888ff1'::uuid, 'TmdbCollection', 57130)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15308 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fcde334d-f1c4-e967-d6d5-6fca24888ff1'::uuid;

-- Query #15309 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fcde334d-f1c4-e967-d6d5-6fca24888ff1'::uuid;

-- Query #15310 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ef97e5ac-d86a-e6a3-e7c5-19eb3e317ccc'::uuid]);

-- Query #15311 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ef97e5ac-d86a-e6a3-e7c5-19eb3e317ccc'::uuid;

-- Query #15312 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15313 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+ABC (US)']);

-- Query #15314 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fcde334d-f1c4-e967-d6d5-6fca24888ff1'::uuid]);

-- Query #15315 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fcde334d-f1c4-e967-d6d5-6fca24888ff1'::uuid;

-- Query #15316 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15317 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb42f6a9-b471-c4a9-a9d2-1ff850481bb6'::uuid;

-- Query #15318 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bb42f6a9-b471-c4a9-a9d2-1ff850481bb6'::uuid]);

-- Query #15319 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bb42f6a9-b471-c4a9-a9d2-1ff850481bb6'::uuid;

-- Query #15320 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f78c01a-bb12-abf9-51e5-8ad61b8bffaf'::uuid;

-- Query #15321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb42f6a9-b471-c4a9-a9d2-1ff850481bb6'::uuid, 'Imdb', 'tt0751524')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb42f6a9-b471-c4a9-a9d2-1ff850481bb6'::uuid, 'Tmdb', 334959)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb42f6a9-b471-c4a9-a9d2-1ff850481bb6'::uuid, 'TvMaze', 41495)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb42f6a9-b471-c4a9-a9d2-1ff850481bb6'::uuid, 'Tvdb', 259788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb42f6a9-b471-c4a9-a9d2-1ff850481bb6'::uuid, 'TvRage', 236347)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb42f6a9-b471-c4a9-a9d2-1ff850481bb6'::uuid, 'trakt', 343412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb42f6a9-b471-c4a9-a9d2-1ff850481bb6'::uuid, 'TmdbCollection', 334959)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb42f6a9-b471-c4a9-a9d2-1ff850481bb6'::uuid;

-- Query #15329 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bb42f6a9-b471-c4a9-a9d2-1ff850481bb6'::uuid;

-- Query #15330 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f78c01a-bb12-abf9-51e5-8ad61b8bffaf'::uuid]);

-- Query #15331 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7f78c01a-bb12-abf9-51e5-8ad61b8bffaf'::uuid;

-- Query #15332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f78c01a-bb12-abf9-51e5-8ad61b8bffaf'::uuid, 'Imdb', 'tt0640732')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15333 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bb42f6a9-b471-c4a9-a9d2-1ff850481bb6'::uuid]);

-- Query #15334 | logged_duration_ms=3 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f78c01a-bb12-abf9-51e5-8ad61b8bffaf'::uuid, 'Tmdb', 57131)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15335 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bb42f6a9-b471-c4a9-a9d2-1ff850481bb6'::uuid;

-- Query #15336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f78c01a-bb12-abf9-51e5-8ad61b8bffaf'::uuid, 'TvMaze', 1119444)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f78c01a-bb12-abf9-51e5-8ad61b8bffaf'::uuid, 'Tvdb', 111515)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15338 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f78c01a-bb12-abf9-51e5-8ad61b8bffaf'::uuid, 'TvRage', 8177)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f78c01a-bb12-abf9-51e5-8ad61b8bffaf'::uuid, 'trakt', 68362)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f78c01a-bb12-abf9-51e5-8ad61b8bffaf'::uuid, 'TmdbCollection', 57131)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15342 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f78c01a-bb12-abf9-51e5-8ad61b8bffaf'::uuid;

-- Query #15343 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7f78c01a-bb12-abf9-51e5-8ad61b8bffaf'::uuid;

-- Query #15344 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Drama', '3+ABC (US)']);

-- Query #15345 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7f78c01a-bb12-abf9-51e5-8ad61b8bffaf'::uuid]);

-- Query #15346 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7f78c01a-bb12-abf9-51e5-8ad61b8bffaf'::uuid;

-- Query #15347 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15348 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f4039a12-338f-01ad-611b-e4b75a648d12'::uuid;

-- Query #15349 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4039a12-338f-01ad-611b-e4b75a648d12'::uuid]);

-- Query #15350 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f4039a12-338f-01ad-611b-e4b75a648d12'::uuid;

-- Query #15351 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4039a12-338f-01ad-611b-e4b75a648d12'::uuid, 'Imdb', 'tt0751555')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4039a12-338f-01ad-611b-e4b75a648d12'::uuid, 'Tmdb', 334957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4039a12-338f-01ad-611b-e4b75a648d12'::uuid, 'TvMaze', 41493)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4039a12-338f-01ad-611b-e4b75a648d12'::uuid, 'Tvdb', 259786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4039a12-338f-01ad-611b-e4b75a648d12'::uuid, 'TvRage', 236345)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15356 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70b0dfc4-5e61-4dfe-ec4e-8ade93ce9495'::uuid;

-- Query #15357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4039a12-338f-01ad-611b-e4b75a648d12'::uuid, 'trakt', 343410)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4039a12-338f-01ad-611b-e4b75a648d12'::uuid, 'TmdbCollection', 334957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15359 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f4039a12-338f-01ad-611b-e4b75a648d12'::uuid;

-- Query #15360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f4039a12-338f-01ad-611b-e4b75a648d12'::uuid;

-- Query #15361 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f4039a12-338f-01ad-611b-e4b75a648d12'::uuid]);

-- Query #15362 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f4039a12-338f-01ad-611b-e4b75a648d12'::uuid;

-- Query #15363 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15364 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70b0dfc4-5e61-4dfe-ec4e-8ade93ce9495'::uuid]);

-- Query #15365 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '70b0dfc4-5e61-4dfe-ec4e-8ade93ce9495'::uuid;

-- Query #15366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70b0dfc4-5e61-4dfe-ec4e-8ade93ce9495'::uuid, 'Tmdb', 57134)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70b0dfc4-5e61-4dfe-ec4e-8ade93ce9495'::uuid, 'TvRage', 8185)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70b0dfc4-5e61-4dfe-ec4e-8ade93ce9495'::uuid, 'trakt', 68370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70b0dfc4-5e61-4dfe-ec4e-8ade93ce9495'::uuid, 'TvMaze', 1119452)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70b0dfc4-5e61-4dfe-ec4e-8ade93ce9495'::uuid, 'Tvdb', 111523)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70b0dfc4-5e61-4dfe-ec4e-8ade93ce9495'::uuid, 'TmdbCollection', 57134)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15372 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70b0dfc4-5e61-4dfe-ec4e-8ade93ce9495'::uuid;

-- Query #15373 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '70b0dfc4-5e61-4dfe-ec4e-8ade93ce9495'::uuid;

-- Query #15374 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+ABC (US)']);

-- Query #15375 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['70b0dfc4-5e61-4dfe-ec4e-8ade93ce9495'::uuid]);

-- Query #15376 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '70b0dfc4-5e61-4dfe-ec4e-8ade93ce9495'::uuid;

-- Query #15377 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15378 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a551d18d-4b03-cd7c-90a6-13cce21dd8e2'::uuid;

-- Query #15379 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '807f844b-96d3-a0ca-94b2-a3b9f5279f0f'::uuid;

-- Query #15380 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a551d18d-4b03-cd7c-90a6-13cce21dd8e2'::uuid]);

-- Query #15381 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a551d18d-4b03-cd7c-90a6-13cce21dd8e2'::uuid;

-- Query #15382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a551d18d-4b03-cd7c-90a6-13cce21dd8e2'::uuid, 'Imdb', 'tt0751556')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a551d18d-4b03-cd7c-90a6-13cce21dd8e2'::uuid, 'Tmdb', 334958)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a551d18d-4b03-cd7c-90a6-13cce21dd8e2'::uuid, 'TvMaze', 41494)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a551d18d-4b03-cd7c-90a6-13cce21dd8e2'::uuid, 'Tvdb', 259787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a551d18d-4b03-cd7c-90a6-13cce21dd8e2'::uuid, 'TvRage', 236346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a551d18d-4b03-cd7c-90a6-13cce21dd8e2'::uuid, 'trakt', 343411)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15388 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['807f844b-96d3-a0ca-94b2-a3b9f5279f0f'::uuid]);

-- Query #15389 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a551d18d-4b03-cd7c-90a6-13cce21dd8e2'::uuid, 'TmdbCollection', 334958)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15390 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a551d18d-4b03-cd7c-90a6-13cce21dd8e2'::uuid;

-- Query #15391 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '807f844b-96d3-a0ca-94b2-a3b9f5279f0f'::uuid;

-- Query #15392 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a551d18d-4b03-cd7c-90a6-13cce21dd8e2'::uuid;

-- Query #15393 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807f844b-96d3-a0ca-94b2-a3b9f5279f0f'::uuid, 'Tmdb', 57136)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15394 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807f844b-96d3-a0ca-94b2-a3b9f5279f0f'::uuid, 'TvRage', 8187)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15395 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807f844b-96d3-a0ca-94b2-a3b9f5279f0f'::uuid, 'trakt', 68372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807f844b-96d3-a0ca-94b2-a3b9f5279f0f'::uuid, 'TvMaze', 1119454)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807f844b-96d3-a0ca-94b2-a3b9f5279f0f'::uuid, 'Tvdb', 111525)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807f844b-96d3-a0ca-94b2-a3b9f5279f0f'::uuid, 'TmdbCollection', 57136)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15399 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '807f844b-96d3-a0ca-94b2-a3b9f5279f0f'::uuid;

-- Query #15400 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '807f844b-96d3-a0ca-94b2-a3b9f5279f0f'::uuid;

-- Query #15401 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a551d18d-4b03-cd7c-90a6-13cce21dd8e2'::uuid]);

-- Query #15402 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a551d18d-4b03-cd7c-90a6-13cce21dd8e2'::uuid;

-- Query #15403 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+ABC (US)']);

-- Query #15404 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15405 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['807f844b-96d3-a0ca-94b2-a3b9f5279f0f'::uuid]);

-- Query #15406 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '807f844b-96d3-a0ca-94b2-a3b9f5279f0f'::uuid;

-- Query #15407 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15408 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bcfb966e-44b2-3f9d-7b61-a47442758a5d'::uuid;

-- Query #15409 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcfb966e-44b2-3f9d-7b61-a47442758a5d'::uuid]);

-- Query #15410 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e75c9ba0-30d6-4514-65e1-9e2f29e98f6b'::uuid;

-- Query #15411 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bcfb966e-44b2-3f9d-7b61-a47442758a5d'::uuid;

-- Query #15412 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcfb966e-44b2-3f9d-7b61-a47442758a5d'::uuid, 'Imdb', 'tt0751528')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcfb966e-44b2-3f9d-7b61-a47442758a5d'::uuid, 'Tmdb', 334966)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcfb966e-44b2-3f9d-7b61-a47442758a5d'::uuid, 'TvMaze', 41502)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcfb966e-44b2-3f9d-7b61-a47442758a5d'::uuid, 'Tvdb', 259795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcfb966e-44b2-3f9d-7b61-a47442758a5d'::uuid, 'TvRage', 236354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcfb966e-44b2-3f9d-7b61-a47442758a5d'::uuid, 'trakt', 343419)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcfb966e-44b2-3f9d-7b61-a47442758a5d'::uuid, 'TmdbCollection', 334966)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15419 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bcfb966e-44b2-3f9d-7b61-a47442758a5d'::uuid;

-- Query #15420 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bcfb966e-44b2-3f9d-7b61-a47442758a5d'::uuid;

-- Query #15421 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e75c9ba0-30d6-4514-65e1-9e2f29e98f6b'::uuid]);

-- Query #15422 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e75c9ba0-30d6-4514-65e1-9e2f29e98f6b'::uuid;

-- Query #15423 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e75c9ba0-30d6-4514-65e1-9e2f29e98f6b'::uuid, 'Tmdb', 57126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e75c9ba0-30d6-4514-65e1-9e2f29e98f6b'::uuid, 'TvRage', 8175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e75c9ba0-30d6-4514-65e1-9e2f29e98f6b'::uuid, 'trakt', 68360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e75c9ba0-30d6-4514-65e1-9e2f29e98f6b'::uuid, 'TvMaze', 1119442)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e75c9ba0-30d6-4514-65e1-9e2f29e98f6b'::uuid, 'Tvdb', 111513)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15428 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bcfb966e-44b2-3f9d-7b61-a47442758a5d'::uuid]);

-- Query #15429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e75c9ba0-30d6-4514-65e1-9e2f29e98f6b'::uuid, 'TmdbCollection', 57126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15430 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e75c9ba0-30d6-4514-65e1-9e2f29e98f6b'::uuid;

-- Query #15431 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bcfb966e-44b2-3f9d-7b61-a47442758a5d'::uuid;

-- Query #15432 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e75c9ba0-30d6-4514-65e1-9e2f29e98f6b'::uuid;

-- Query #15433 | logged_duration_ms=7 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15434 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+ABC (US)']);

-- Query #15435 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e75c9ba0-30d6-4514-65e1-9e2f29e98f6b'::uuid]);

-- Query #15436 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e75c9ba0-30d6-4514-65e1-9e2f29e98f6b'::uuid;

-- Query #15437 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15438 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b4e20a7-79f0-94e8-399e-d4021141c04a'::uuid;

-- Query #15439 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7b4e20a7-79f0-94e8-399e-d4021141c04a'::uuid]);

-- Query #15440 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7b4e20a7-79f0-94e8-399e-d4021141c04a'::uuid;

-- Query #15441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b4e20a7-79f0-94e8-399e-d4021141c04a'::uuid, 'TvMaze', 41506)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b4e20a7-79f0-94e8-399e-d4021141c04a'::uuid, 'Tvdb', 259799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b4e20a7-79f0-94e8-399e-d4021141c04a'::uuid, 'TmdbCollection', 334970)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b4e20a7-79f0-94e8-399e-d4021141c04a'::uuid, 'TvRage', 236358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b4e20a7-79f0-94e8-399e-d4021141c04a'::uuid, 'trakt', 343423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b4e20a7-79f0-94e8-399e-d4021141c04a'::uuid, 'Imdb', 'tt0751530')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15447 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '529bc2ba-7650-8731-2db0-a52075b18981'::uuid;

-- Query #15448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b4e20a7-79f0-94e8-399e-d4021141c04a'::uuid, 'Tmdb', 334970)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15449 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b4e20a7-79f0-94e8-399e-d4021141c04a'::uuid;

-- Query #15450 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7b4e20a7-79f0-94e8-399e-d4021141c04a'::uuid;

-- Query #15451 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7b4e20a7-79f0-94e8-399e-d4021141c04a'::uuid]);

-- Query #15452 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7b4e20a7-79f0-94e8-399e-d4021141c04a'::uuid;

-- Query #15453 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15454 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['529bc2ba-7650-8731-2db0-a52075b18981'::uuid]);

-- Query #15455 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '529bc2ba-7650-8731-2db0-a52075b18981'::uuid;

-- Query #15456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529bc2ba-7650-8731-2db0-a52075b18981'::uuid, 'Tmdb', 57132)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529bc2ba-7650-8731-2db0-a52075b18981'::uuid, 'TvRage', 8183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529bc2ba-7650-8731-2db0-a52075b18981'::uuid, 'trakt', 68368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15459 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529bc2ba-7650-8731-2db0-a52075b18981'::uuid, 'TvMaze', 1119450)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15460 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529bc2ba-7650-8731-2db0-a52075b18981'::uuid, 'Tvdb', 111521)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529bc2ba-7650-8731-2db0-a52075b18981'::uuid, 'TmdbCollection', 57132)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15462 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '529bc2ba-7650-8731-2db0-a52075b18981'::uuid;

-- Query #15463 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #15464 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '529bc2ba-7650-8731-2db0-a52075b18981'::uuid;

-- Query #15465 | logged_duration_ms=6 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+ABC (US)']);

-- Query #15466 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['529bc2ba-7650-8731-2db0-a52075b18981'::uuid]);

-- Query #15467 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '529bc2ba-7650-8731-2db0-a52075b18981'::uuid;

-- Query #15468 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15469 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e4c369dd-9b7f-1b2b-ee7b-10c434fac7d5'::uuid;

-- Query #15470 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e4c369dd-9b7f-1b2b-ee7b-10c434fac7d5'::uuid]);

-- Query #15471 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e4c369dd-9b7f-1b2b-ee7b-10c434fac7d5'::uuid;

-- Query #15472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4c369dd-9b7f-1b2b-ee7b-10c434fac7d5'::uuid, 'Imdb', 'tt0751570')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15473 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4c369dd-9b7f-1b2b-ee7b-10c434fac7d5'::uuid, 'Tmdb', 334968)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4c369dd-9b7f-1b2b-ee7b-10c434fac7d5'::uuid, 'TvMaze', 41504)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4c369dd-9b7f-1b2b-ee7b-10c434fac7d5'::uuid, 'Tvdb', 259797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4c369dd-9b7f-1b2b-ee7b-10c434fac7d5'::uuid, 'TvRage', 236356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15477 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4c369dd-9b7f-1b2b-ee7b-10c434fac7d5'::uuid, 'trakt', 343421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15478 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4c369dd-9b7f-1b2b-ee7b-10c434fac7d5'::uuid, 'TmdbCollection', 334968)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15479 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e4c369dd-9b7f-1b2b-ee7b-10c434fac7d5'::uuid;

-- Query #15480 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e4c369dd-9b7f-1b2b-ee7b-10c434fac7d5'::uuid;

-- Query #15481 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'befad6de-5925-c0f9-0f2d-0504dcc36f59'::uuid;

-- Query #15482 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e4c369dd-9b7f-1b2b-ee7b-10c434fac7d5'::uuid]);

-- Query #15483 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e4c369dd-9b7f-1b2b-ee7b-10c434fac7d5'::uuid;

-- Query #15484 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15485 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['befad6de-5925-c0f9-0f2d-0504dcc36f59'::uuid]);

-- Query #15486 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'befad6de-5925-c0f9-0f2d-0504dcc36f59'::uuid;

-- Query #15487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('befad6de-5925-c0f9-0f2d-0504dcc36f59'::uuid, 'Tmdb', 57133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('befad6de-5925-c0f9-0f2d-0504dcc36f59'::uuid, 'TvRage', 8182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('befad6de-5925-c0f9-0f2d-0504dcc36f59'::uuid, 'trakt', 68367)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('befad6de-5925-c0f9-0f2d-0504dcc36f59'::uuid, 'TvMaze', 1119449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('befad6de-5925-c0f9-0f2d-0504dcc36f59'::uuid, 'Tvdb', 111520)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('befad6de-5925-c0f9-0f2d-0504dcc36f59'::uuid, 'TmdbCollection', 57133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15493 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'befad6de-5925-c0f9-0f2d-0504dcc36f59'::uuid;

-- Query #15494 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'befad6de-5925-c0f9-0f2d-0504dcc36f59'::uuid;

-- Query #15495 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+ABC (US)']);

-- Query #15496 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['befad6de-5925-c0f9-0f2d-0504dcc36f59'::uuid]);

-- Query #15497 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'befad6de-5925-c0f9-0f2d-0504dcc36f59'::uuid;

-- Query #15498 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15499 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f8590cb-e5db-a8b9-4f96-3567b2ef2dea'::uuid;

-- Query #15500 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f8590cb-e5db-a8b9-4f96-3567b2ef2dea'::uuid]);

-- Query #15501 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9f8590cb-e5db-a8b9-4f96-3567b2ef2dea'::uuid;

-- Query #15502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f8590cb-e5db-a8b9-4f96-3567b2ef2dea'::uuid, 'Imdb', 'tt0751573')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f8590cb-e5db-a8b9-4f96-3567b2ef2dea'::uuid, 'Tmdb', 334963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15504 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f8590cb-e5db-a8b9-4f96-3567b2ef2dea'::uuid, 'TvMaze', 41499)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15505 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3d817bc-7489-71b4-fb03-6e1c08217b29'::uuid;

-- Query #15506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f8590cb-e5db-a8b9-4f96-3567b2ef2dea'::uuid, 'Tvdb', 259792)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15507 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f8590cb-e5db-a8b9-4f96-3567b2ef2dea'::uuid, 'TvRage', 236351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15508 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f8590cb-e5db-a8b9-4f96-3567b2ef2dea'::uuid, 'trakt', 343416)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15509 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f8590cb-e5db-a8b9-4f96-3567b2ef2dea'::uuid, 'TmdbCollection', 334963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15510 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f8590cb-e5db-a8b9-4f96-3567b2ef2dea'::uuid;

-- Query #15511 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9f8590cb-e5db-a8b9-4f96-3567b2ef2dea'::uuid;

-- Query #15512 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3d817bc-7489-71b4-fb03-6e1c08217b29'::uuid]);

-- Query #15513 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f3d817bc-7489-71b4-fb03-6e1c08217b29'::uuid;

-- Query #15514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3d817bc-7489-71b4-fb03-6e1c08217b29'::uuid, 'TmdbCollection', 57125)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3d817bc-7489-71b4-fb03-6e1c08217b29'::uuid, 'Imdb', 'tt0640729')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3d817bc-7489-71b4-fb03-6e1c08217b29'::uuid, 'Tmdb', 57125)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15517 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9f8590cb-e5db-a8b9-4f96-3567b2ef2dea'::uuid]);

-- Query #15518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3d817bc-7489-71b4-fb03-6e1c08217b29'::uuid, 'TvMaze', 1119443)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3d817bc-7489-71b4-fb03-6e1c08217b29'::uuid, 'Tvdb', 111514)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15520 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9f8590cb-e5db-a8b9-4f96-3567b2ef2dea'::uuid;

-- Query #15521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3d817bc-7489-71b4-fb03-6e1c08217b29'::uuid, 'TvRage', 8176)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3d817bc-7489-71b4-fb03-6e1c08217b29'::uuid, 'trakt', 68361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15523 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad92a655-c52b-5622-a775-e17e4b91c062'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15524 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3d817bc-7489-71b4-fb03-6e1c08217b29'::uuid;

-- Query #15525 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f3d817bc-7489-71b4-fb03-6e1c08217b29'::uuid;

-- Query #15526 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Drama', '3+ABC (US)']);

-- Query #15527 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f3d817bc-7489-71b4-fb03-6e1c08217b29'::uuid]);

-- Query #15528 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f3d817bc-7489-71b4-fb03-6e1c08217b29'::uuid;

-- Query #15529 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15530 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid;

-- Query #15531 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9888023c-466d-09ac-0d23-3496115b7e6f'::uuid;

-- Query #15532 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid]);

-- Query #15533 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid;

-- Query #15534 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid;

-- Query #15535 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid;

-- Query #15536 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid]);

-- Query #15537 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid;

-- Query #15538 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid, '6c38f205-9c98-947f-2276-7540400fde9b'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15539 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9888023c-466d-09ac-0d23-3496115b7e6f'::uuid]);

-- Query #15540 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9888023c-466d-09ac-0d23-3496115b7e6f'::uuid;

-- Query #15541 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9888023c-466d-09ac-0d23-3496115b7e6f'::uuid, 'Tmdb', 57127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15542 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9888023c-466d-09ac-0d23-3496115b7e6f'::uuid, 'TvRage', 8180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15543 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9888023c-466d-09ac-0d23-3496115b7e6f'::uuid, 'trakt', 68365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9888023c-466d-09ac-0d23-3496115b7e6f'::uuid, 'TvMaze', 1119447)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9888023c-466d-09ac-0d23-3496115b7e6f'::uuid, 'Tvdb', 111518)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9888023c-466d-09ac-0d23-3496115b7e6f'::uuid, 'TmdbCollection', 57127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15547 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9888023c-466d-09ac-0d23-3496115b7e6f'::uuid;

-- Query #15548 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9888023c-466d-09ac-0d23-3496115b7e6f'::uuid;

-- Query #15549 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+ABC (US)']);

-- Query #15550 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9888023c-466d-09ac-0d23-3496115b7e6f'::uuid]);

-- Query #15551 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6c38f205-9c98-947f-2276-7540400fde9b'::uuid
ORDER BY b."SortName";

-- Query #15552 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9888023c-466d-09ac-0d23-3496115b7e6f'::uuid;

-- Query #15553 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid, '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15554 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '62006445-d7d5-10dd-5ee0-5d516a6abb39'::uuid
ORDER BY b."SortName";

-- Query #15555 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9fe42e3a-e503-2008-e80a-44082e7fc680'::uuid
ORDER BY b."SortName";

-- Query #15556 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid])
ORDER BY b."Id";

-- Query #15557 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid])
ORDER BY b."Id";

-- Query #15558 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '756185cf-5480-62fa-bb32-30fe72011cf3'::uuid
ORDER BY b."SortName";

-- Query #15559 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid])
ORDER BY b."Id";

-- Query #15560 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid])
ORDER BY b."Id";

-- Query #15561 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid])
ORDER BY b."Id";

-- Query #15562 | logged_duration_ms=9 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cdeff963-2d32-2b42-2bc4-a188cd79d4bc'::uuid
ORDER BY b."SortName";

-- Query #15563 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '9fe42e3ae5032008e80a44082e7fc680'
ORDER BY b."SortName", b."Name";

-- Query #15564 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b7ce6f6f-8b88-05a5-a6e6-55fc737689f9'::uuid
ORDER BY b."SortName";

-- Query #15565 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fef22ac7-e488-9cac-ca51-dc035f853452'::uuid
ORDER BY b."SortName";

-- Query #15566 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid
ORDER BY b."SortName";

-- Query #15567 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15568 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15569 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15570 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15571 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15572 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd396b700-5f70-6875-a593-ec6953bac8d1'::uuid
ORDER BY b."SortName";

-- Query #15573 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c4a8774-2d96-2163-9404-b022e77b6a03'::uuid
ORDER BY b."SortName";

-- Query #15574 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ad92a655-c52b-5622-a775-e17e4b91c062'::uuid
ORDER BY b."SortName";

-- Query #15575 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '66ee29b9-121d-ee01-ba78-5037f1c69746'::uuid
ORDER BY b."SortName";

-- Query #15576 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid])
ORDER BY b."Id";

-- Query #15577 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid])
ORDER BY b."Id";

-- Query #15578 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid])
ORDER BY b."Id";

-- Query #15579 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid])
ORDER BY b."Id";

-- Query #15580 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['881531d9-5c8f-4f63-5f89-d7a9693c5301'::uuid])
ORDER BY b."Id";

-- Query #15581 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '6c38f2059c98947f22767540400fde9b'
ORDER BY b."SortName", b."Name";

-- Query #15582 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid;

-- Query #15583 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid]);

-- Query #15584 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid;

-- Query #15585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid, 'Imdb', 'tt0096646')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid, 'Tmdb', 1137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15587 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid, 'TmdbCollection', 1137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid, 'Tvdb', 73280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid, 'TvMaze', 26708)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid, 'TvRage', 2577)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid, 'Zap2It', 'SH076276')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid;

-- Query #15593 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid;

-- Query #15594 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Drama', '3+ABC', '3+ABC (US)']);

-- Query #15595 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid]);

-- Query #15596 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid;

-- Query #15597 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15598 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '1159c1044343c64c69cb4a5386c7a3da'
ORDER BY b."SortName", b."Name";

-- Query #15599 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15600 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15601 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15602 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15603 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15604 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid
ORDER BY b."SortName";

-- Query #15605 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15606 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15607 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15608 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15609 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15610 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd396b700-5f70-6875-a593-ec6953bac8d1'::uuid
ORDER BY b."SortName";

-- Query #15611 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '1159c1044343c64c69cb4a5386c7a3da'
ORDER BY b."SortName", b."Name";

-- Query #15612 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid
ORDER BY b."SortName";

-- Query #15613 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid])
ORDER BY b."Id";

-- Query #15614 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid])
ORDER BY b."Id";

-- Query #15615 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid])
ORDER BY b."Id";

-- Query #15616 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid])
ORDER BY b."Id";

-- Query #15617 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd396b700-5f70-6875-a593-ec6953bac8d1'::uuid;

-- Query #15618 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid])
ORDER BY b."Id";

-- Query #15619 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cf3b551c-6636-d758-2801-178c434b68d2'::uuid
ORDER BY b."SortName";

-- Query #15620 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid]);

-- Query #15621 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd396b700-5f70-6875-a593-ec6953bac8d1'::uuid;

-- Query #15622 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid
ORDER BY b."SortName";

-- Query #15623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d396b700-5f70-6875-a593-ec6953bac8d1'::uuid, 'Tvdb', 5580)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d396b700-5f70-6875-a593-ec6953bac8d1'::uuid, 'TvMaze', 64616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15625 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd396b700-5f70-6875-a593-ec6953bac8d1'::uuid;

-- Query #15626 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd396b700-5f70-6875-a593-ec6953bac8d1'::uuid;

-- Query #15627 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #15628 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid]);

-- Query #15629 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd396b700-5f70-6875-a593-ec6953bac8d1'::uuid;

-- Query #15630 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid
ORDER BY b."SortName";

-- Query #15631 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15632 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid
ORDER BY b."SortName";

-- Query #15633 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1159c104-4343-c64c-69cb-4a5386c7a3da'::uuid
ORDER BY b."SortName";

-- Query #15634 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15635 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15636 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15637 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15638 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15639 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid
ORDER BY b."SortName";

-- Query #15640 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd396b700-5f70-6875-a593-ec6953bac8d1'::uuid
ORDER BY b."SortName";

-- Query #15641 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '1159c1044343c64c69cb4a5386c7a3da'
ORDER BY b."SortName", b."Name";

-- Query #15642 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15643 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15644 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15645 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15646 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['d396b700-5f70-6875-a593-ec6953bac8d1'::uuid])
ORDER BY b."Id";

-- Query #15647 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid
ORDER BY b."SortName";

-- Query #15648 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'a536800f-4a96-e130-113f-b2500236ce12'::uuid])
ORDER BY b."Id";

-- Query #15649 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'a536800f-4a96-e130-113f-b2500236ce12'::uuid])
ORDER BY b."Id";

-- Query #15650 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'a536800f-4a96-e130-113f-b2500236ce12'::uuid])
ORDER BY b."Id";

-- Query #15651 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'a536800f-4a96-e130-113f-b2500236ce12'::uuid])
ORDER BY b."Id";

-- Query #15652 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'a536800f-4a96-e130-113f-b2500236ce12'::uuid])
ORDER BY b."Id";

-- Query #15653 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid
ORDER BY b."SortName";

-- Query #15654 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a536800f-4a96-e130-113f-b2500236ce12'::uuid
ORDER BY b."SortName";

-- Query #15655 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'f91a6e47-31a4-72fd-cbc2-aae4e94c5796'::uuid])
ORDER BY b."Id";

-- Query #15656 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'f91a6e47-31a4-72fd-cbc2-aae4e94c5796'::uuid])
ORDER BY b."Id";

-- Query #15657 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'f91a6e47-31a4-72fd-cbc2-aae4e94c5796'::uuid])
ORDER BY b."Id";

-- Query #15658 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'f91a6e47-31a4-72fd-cbc2-aae4e94c5796'::uuid])
ORDER BY b."Id";

-- Query #15659 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'f91a6e47-31a4-72fd-cbc2-aae4e94c5796'::uuid])
ORDER BY b."Id";

-- Query #15660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid;

-- Query #15661 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d4b21fc-9745-be30-86e2-16f35899e159'::uuid]);

-- Query #15662 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid;

-- Query #15663 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'eidr', '10.5240/4960-E55E-984B-1108-9A9F-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15664 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'facebook', 'yellowstoneparamount')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15665 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'Imdb', 'tt4236770')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15666 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'instagram', 'yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15667 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'official website', 'https://www.paramountnetwork.com/shows/yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15668 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'reddit', 'YellowstonePN')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'Tmdb', 73586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'TmdbCollection', 73586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'Tvdb', 341164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'tv maze', 27848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'TvMaze', 27848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'wikidata', 'Q47452423')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'wikipedia', 'Yellowstone_(American_TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'x (twitter)', 'Yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'Zap2It', 'SH02877189')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid;

-- Query #15679 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid;

-- Query #15680 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid;

-- Query #15681 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0d4b21fc-9745-be30-86e2-16f35899e159'::uuid]);

-- Query #15682 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid;

-- Query #15683 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15684 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid]);

-- Query #15685 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid;

-- Query #15686 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '0d4b21fc9745be3086e216f35899e159'
ORDER BY b."SortName", b."Name";

-- Query #15687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, 'Imdb', 'tt0075533')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, 'Tmdb', 3575)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, 'TmdbCollection', 3575)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, 'Tvdb', 77352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, 'TvMaze', 1485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, 'TvRage', 5964)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, 'wikidata', 'Q1195481')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15694 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid;

-- Query #15695 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid;

-- Query #15696 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid]);

-- Query #15697 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid;

-- Query #15698 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15699 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'dc9d0794badc4d2c953adc58fe6bd822'
ORDER BY b."SortName", b."Name";

-- Query #15700 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid
ORDER BY b."SortName";

-- Query #15701 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid
ORDER BY b."SortName";

-- Query #15702 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'a536800f-4a96-e130-113f-b2500236ce12'::uuid])
ORDER BY b."Id";

-- Query #15703 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid])
ORDER BY b."Id";

-- Query #15704 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'a536800f-4a96-e130-113f-b2500236ce12'::uuid])
ORDER BY b."Id";

-- Query #15705 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid])
ORDER BY b."Id";

-- Query #15706 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'a536800f-4a96-e130-113f-b2500236ce12'::uuid])
ORDER BY b."Id";

-- Query #15707 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid])
ORDER BY b."Id";

-- Query #15708 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'a536800f-4a96-e130-113f-b2500236ce12'::uuid])
ORDER BY b."Id";

-- Query #15709 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid])
ORDER BY b."Id";

-- Query #15710 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'a536800f-4a96-e130-113f-b2500236ce12'::uuid])
ORDER BY b."Id";

-- Query #15711 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid])
ORDER BY b."Id";

-- Query #15712 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid
ORDER BY b."SortName";

-- Query #15713 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cf3b551c-6636-d758-2801-178c434b68d2'::uuid
ORDER BY b."SortName";

-- Query #15714 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a536800f-4a96-e130-113f-b2500236ce12'::uuid
ORDER BY b."SortName";

-- Query #15715 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid
ORDER BY b."SortName";

-- Query #15716 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'f91a6e47-31a4-72fd-cbc2-aae4e94c5796'::uuid])
ORDER BY b."Id";

-- Query #15717 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'f91a6e47-31a4-72fd-cbc2-aae4e94c5796'::uuid])
ORDER BY b."Id";

-- Query #15718 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'f91a6e47-31a4-72fd-cbc2-aae4e94c5796'::uuid])
ORDER BY b."Id";

-- Query #15719 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'f91a6e47-31a4-72fd-cbc2-aae4e94c5796'::uuid])
ORDER BY b."Id";

-- Query #15720 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'f91a6e47-31a4-72fd-cbc2-aae4e94c5796'::uuid])
ORDER BY b."Id";

-- Query #15721 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'dc9d0794badc4d2c953adc58fe6bd822'
ORDER BY b."SortName", b."Name";

-- Query #15722 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid
ORDER BY b."SortName";

-- Query #15723 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid
ORDER BY b."SortName";

-- Query #15724 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid;

-- Query #15725 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid
ORDER BY b."SortName";

-- Query #15726 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid]);

-- Query #15727 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid;

-- Query #15728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'Tvdb', 77352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15729 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'Tmdb', 3575)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15730 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'Imdb', 'tt0075533')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15731 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'TvMaze', 1485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15732 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'TvRage', 5964)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15733 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'wikidata', 'Q1195481')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'TmdbCollection', 3575)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15735 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid;

-- Query #15736 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid;

-- Query #15737 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '0d4b21fc9745be3086e216f35899e159'
ORDER BY b."SortName", b."Name";

-- Query #15738 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+atlantis', '6+superhuman', '6+supernatural being', '6+supernatural creature', '6+underwater world']);

-- Query #15739 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid]);

-- Query #15740 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid;

-- Query #15741 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15742 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'dc9d0794badc4d2c953adc58fe6bd822'
ORDER BY b."SortName", b."Name";

-- Query #15743 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a536800f-4a96-e130-113f-b2500236ce12'::uuid;

-- Query #15744 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a536800f-4a96-e130-113f-b2500236ce12'::uuid]);

-- Query #15745 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a536800f-4a96-e130-113f-b2500236ce12'::uuid;

-- Query #15746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a536800f-4a96-e130-113f-b2500236ce12'::uuid, 'Tvdb', 77352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a536800f-4a96-e130-113f-b2500236ce12'::uuid, 'Tmdb', 3575)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a536800f-4a96-e130-113f-b2500236ce12'::uuid, 'Imdb', 'tt0075533')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a536800f-4a96-e130-113f-b2500236ce12'::uuid, 'TvMaze', 1485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a536800f-4a96-e130-113f-b2500236ce12'::uuid, 'TvRage', 5964)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a536800f-4a96-e130-113f-b2500236ce12'::uuid, 'wikidata', 'Q1195481')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a536800f-4a96-e130-113f-b2500236ce12'::uuid, 'TmdbCollection', 3575)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15753 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a536800f-4a96-e130-113f-b2500236ce12'::uuid;

-- Query #15754 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a536800f-4a96-e130-113f-b2500236ce12'::uuid;

-- Query #15755 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+atlantis', '6+superhuman', '6+supernatural being', '6+supernatural creature', '6+underwater world']);

-- Query #15756 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a536800f-4a96-e130-113f-b2500236ce12'::uuid]);

-- Query #15757 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a536800f-4a96-e130-113f-b2500236ce12'::uuid;

-- Query #15758 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15759 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf3b551c-6636-d758-2801-178c434b68d2'::uuid;

-- Query #15760 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'acca450d-ebcd-80a1-4ede-4897c11006ac'::uuid;

-- Query #15761 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid]);

-- Query #15762 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cf3b551c-6636-d758-2801-178c434b68d2'::uuid;

-- Query #15763 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'tv maze', 27848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15764 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'wikipedia', 'Yellowstone_(American_TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'eidr', '10.5240/4960-E55E-984B-1108-9A9F-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'wikidata', 'Q47452423')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'TmdbCollection', 73586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'official website', 'https://www.paramountnetwork.com/shows/yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'Tvdb', 341164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'Tmdb', 73586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15771 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'TvMaze', 27848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15772 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['acca450d-ebcd-80a1-4ede-4897c11006ac'::uuid]);

-- Query #15773 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'facebook', 'yellowstoneparamount')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15774 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'instagram', 'yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15775 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'acca450d-ebcd-80a1-4ede-4897c11006ac'::uuid;

-- Query #15776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'Zap2It', 'SH02877189')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acca450d-ebcd-80a1-4ede-4897c11006ac'::uuid, 'Tmdb', 255640)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'x (twitter)', 'Yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acca450d-ebcd-80a1-4ede-4897c11006ac'::uuid, 'TvRage', 196708)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'Imdb', 'tt4236770')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acca450d-ebcd-80a1-4ede-4897c11006ac'::uuid, 'trakt', 264449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'reddit', 'YellowstonePN')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acca450d-ebcd-80a1-4ede-4897c11006ac'::uuid, 'TvMaze', 133981)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15784 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf3b551c-6636-d758-2801-178c434b68d2'::uuid;

-- Query #15785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acca450d-ebcd-80a1-4ede-4897c11006ac'::uuid, 'Tvdb', 4163094)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15786 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cf3b551c-6636-d758-2801-178c434b68d2'::uuid;

-- Query #15787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acca450d-ebcd-80a1-4ede-4897c11006ac'::uuid, 'TmdbCollection', 255640)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15788 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'acca450d-ebcd-80a1-4ede-4897c11006ac'::uuid;

-- Query #15789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'acca450d-ebcd-80a1-4ede-4897c11006ac'::uuid;

-- Query #15790 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid]);

-- Query #15791 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['acca450d-ebcd-80a1-4ede-4897c11006ac'::uuid]);

-- Query #15792 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cf3b551c-6636-d758-2801-178c434b68d2'::uuid;

-- Query #15793 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'acca450d-ebcd-80a1-4ede-4897c11006ac'::uuid;

-- Query #15794 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15795 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15796 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '0d4b21fc9745be3086e216f35899e159'
ORDER BY b."SortName", b."Name";

-- Query #15797 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74a69cf8-0221-b84d-17c9-191ec53488ed'::uuid;

-- Query #15798 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['74a69cf8-0221-b84d-17c9-191ec53488ed'::uuid]);

-- Query #15799 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '74a69cf8-0221-b84d-17c9-191ec53488ed'::uuid;

-- Query #15800 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74a69cf8-0221-b84d-17c9-191ec53488ed'::uuid, 'TmdbCollection', 255642)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74a69cf8-0221-b84d-17c9-191ec53488ed'::uuid, 'Imdb', 'tt0641008')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74a69cf8-0221-b84d-17c9-191ec53488ed'::uuid, 'Tmdb', 255642)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74a69cf8-0221-b84d-17c9-191ec53488ed'::uuid, 'TvMaze', 133983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74a69cf8-0221-b84d-17c9-191ec53488ed'::uuid, 'Tvdb', 4163096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74a69cf8-0221-b84d-17c9-191ec53488ed'::uuid, 'TvRage', 196710)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74a69cf8-0221-b84d-17c9-191ec53488ed'::uuid, 'trakt', 264451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15807 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74a69cf8-0221-b84d-17c9-191ec53488ed'::uuid;

-- Query #15808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '74a69cf8-0221-b84d-17c9-191ec53488ed'::uuid;

-- Query #15809 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['74a69cf8-0221-b84d-17c9-191ec53488ed'::uuid]);

-- Query #15810 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '74a69cf8-0221-b84d-17c9-191ec53488ed'::uuid;

-- Query #15811 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15812 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b0841d7-250e-d026-f64d-0c7be40068f6'::uuid;

-- Query #15813 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b0841d7-250e-d026-f64d-0c7be40068f6'::uuid]);

-- Query #15814 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0b0841d7-250e-d026-f64d-0c7be40068f6'::uuid;

-- Query #15815 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b0841d7-250e-d026-f64d-0c7be40068f6'::uuid, 'Tmdb', 255648)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15816 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b0841d7-250e-d026-f64d-0c7be40068f6'::uuid, 'TvRage', 196714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15817 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b0841d7-250e-d026-f64d-0c7be40068f6'::uuid, 'trakt', 264455)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15818 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b0841d7-250e-d026-f64d-0c7be40068f6'::uuid, 'TvMaze', 133987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b0841d7-250e-d026-f64d-0c7be40068f6'::uuid, 'Tvdb', 321010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b0841d7-250e-d026-f64d-0c7be40068f6'::uuid, 'TmdbCollection', 255648)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15821 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b0841d7-250e-d026-f64d-0c7be40068f6'::uuid;

-- Query #15822 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0b0841d7-250e-d026-f64d-0c7be40068f6'::uuid;

-- Query #15823 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0b0841d7-250e-d026-f64d-0c7be40068f6'::uuid]);

-- Query #15824 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0b0841d7-250e-d026-f64d-0c7be40068f6'::uuid;

-- Query #15825 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15826 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid;

-- Query #15827 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid]);

-- Query #15828 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid;

-- Query #15829 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, 'TmdbCollection', 73586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, 'Tvdb', 341164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, 'Tmdb', 73586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, 'TvMaze', 27848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, 'facebook', 'yellowstoneparamount')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, 'instagram', 'yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, 'Zap2It', 'SH02877189')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15836 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, 'x (twitter)', 'Yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, 'Imdb', 'tt4236770')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, 'reddit', 'YellowstonePN')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, 'tv maze', 27848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, 'wikipedia', 'Yellowstone_(American_TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15841 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, 'eidr', '10.5240/4960-E55E-984B-1108-9A9F-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15842 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, 'wikidata', 'Q47452423')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, 'official website', 'https://www.paramountnetwork.com/shows/yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15844 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid;

-- Query #15845 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid;

-- Query #15846 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid]);

-- Query #15847 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid;

-- Query #15848 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15849 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11d15943-a202-cb67-dcfc-0b12bdfad1ac'::uuid;

-- Query #15850 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '0d4b21fc9745be3086e216f35899e159'
ORDER BY b."SortName", b."Name";

-- Query #15851 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11d15943-a202-cb67-dcfc-0b12bdfad1ac'::uuid]);

-- Query #15852 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '11d15943-a202-cb67-dcfc-0b12bdfad1ac'::uuid;

-- Query #15853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11d15943-a202-cb67-dcfc-0b12bdfad1ac'::uuid, 'Imdb', 'tt0247293')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11d15943-a202-cb67-dcfc-0b12bdfad1ac'::uuid, 'Tmdb', 255636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11d15943-a202-cb67-dcfc-0b12bdfad1ac'::uuid, 'TvMaze', 133978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11d15943-a202-cb67-dcfc-0b12bdfad1ac'::uuid, 'Tvdb', 4163091)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11d15943-a202-cb67-dcfc-0b12bdfad1ac'::uuid, 'TvRage', 196705)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11d15943-a202-cb67-dcfc-0b12bdfad1ac'::uuid, 'trakt', 264446)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11d15943-a202-cb67-dcfc-0b12bdfad1ac'::uuid, 'TmdbCollection', 255636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15860 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11d15943-a202-cb67-dcfc-0b12bdfad1ac'::uuid;

-- Query #15861 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '11d15943-a202-cb67-dcfc-0b12bdfad1ac'::uuid;

-- Query #15862 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['11d15943-a202-cb67-dcfc-0b12bdfad1ac'::uuid]);

-- Query #15863 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '11d15943-a202-cb67-dcfc-0b12bdfad1ac'::uuid;

-- Query #15864 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15865 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '529eda68-e385-1435-1194-84df2bfc7e00'::uuid;

-- Query #15866 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['529eda68-e385-1435-1194-84df2bfc7e00'::uuid]);

-- Query #15867 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '529eda68-e385-1435-1194-84df2bfc7e00'::uuid;

-- Query #15868 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529eda68-e385-1435-1194-84df2bfc7e00'::uuid, 'Imdb', 'tt0247449')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15869 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529eda68-e385-1435-1194-84df2bfc7e00'::uuid, 'Tmdb', 255635)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529eda68-e385-1435-1194-84df2bfc7e00'::uuid, 'TvMaze', 133977)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15871 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529eda68-e385-1435-1194-84df2bfc7e00'::uuid, 'Tvdb', 238455)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529eda68-e385-1435-1194-84df2bfc7e00'::uuid, 'TvRage', 196704)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529eda68-e385-1435-1194-84df2bfc7e00'::uuid, 'trakt', 264445)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15874 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('529eda68-e385-1435-1194-84df2bfc7e00'::uuid, 'TmdbCollection', 255635)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15875 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '529eda68-e385-1435-1194-84df2bfc7e00'::uuid;

-- Query #15876 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '529eda68-e385-1435-1194-84df2bfc7e00'::uuid;

-- Query #15877 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['529eda68-e385-1435-1194-84df2bfc7e00'::uuid]);

-- Query #15878 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '529eda68-e385-1435-1194-84df2bfc7e00'::uuid;

-- Query #15879 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15880 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd3a29c62-1c07-b36c-66e4-ddaaa0a790ec'::uuid;

-- Query #15881 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3a29c62-1c07-b36c-66e4-ddaaa0a790ec'::uuid]);

-- Query #15882 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd3a29c62-1c07-b36c-66e4-ddaaa0a790ec'::uuid;

-- Query #15883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3a29c62-1c07-b36c-66e4-ddaaa0a790ec'::uuid, 'Tmdb', 255645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3a29c62-1c07-b36c-66e4-ddaaa0a790ec'::uuid, 'TvRage', 196712)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3a29c62-1c07-b36c-66e4-ddaaa0a790ec'::uuid, 'trakt', 264453)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3a29c62-1c07-b36c-66e4-ddaaa0a790ec'::uuid, 'TvMaze', 133985)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3a29c62-1c07-b36c-66e4-ddaaa0a790ec'::uuid, 'Tvdb', 321008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15888 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid;

-- Query #15889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3a29c62-1c07-b36c-66e4-ddaaa0a790ec'::uuid, 'TmdbCollection', 255645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15890 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd3a29c62-1c07-b36c-66e4-ddaaa0a790ec'::uuid;

-- Query #15891 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd3a29c62-1c07-b36c-66e4-ddaaa0a790ec'::uuid;

-- Query #15892 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid]);

-- Query #15893 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid;

-- Query #15894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, 'wikidata', 'Q47452423')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15895 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d3a29c62-1c07-b36c-66e4-ddaaa0a790ec'::uuid]);

-- Query #15896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, 'Imdb', 'tt4236770')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15897 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd3a29c62-1c07-b36c-66e4-ddaaa0a790ec'::uuid;

-- Query #15898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, 'reddit', 'YellowstonePN')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15899 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, 'tv maze', 27848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15900 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15901 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, 'wikipedia', 'Yellowstone_(American_TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, 'eidr', '10.5240/4960-E55E-984B-1108-9A9F-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, 'TmdbCollection', 73586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15904 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, 'official website', 'https://www.paramountnetwork.com/shows/yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15905 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, 'Tvdb', 341164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, 'Tmdb', 73586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, 'TvMaze', 27848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, 'facebook', 'yellowstoneparamount')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, 'instagram', 'yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, 'Zap2It', 'SH02877189')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, 'x (twitter)', 'Yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15912 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid;

-- Query #15913 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid;

-- Query #15914 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid]);

-- Query #15915 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid;

-- Query #15916 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15917 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '0d4b21fc9745be3086e216f35899e159'
ORDER BY b."SortName", b."Name";

-- Query #15918 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f506e118-7e3a-45c4-7318-cfee3dda163e'::uuid;

-- Query #15919 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f506e118-7e3a-45c4-7318-cfee3dda163e'::uuid]);

-- Query #15920 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f506e118-7e3a-45c4-7318-cfee3dda163e'::uuid;

-- Query #15921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f506e118-7e3a-45c4-7318-cfee3dda163e'::uuid, 'Imdb', 'tt0641010')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f506e118-7e3a-45c4-7318-cfee3dda163e'::uuid, 'Tmdb', 255637)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f506e118-7e3a-45c4-7318-cfee3dda163e'::uuid, 'TvMaze', 133979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f506e118-7e3a-45c4-7318-cfee3dda163e'::uuid, 'Tvdb', 4163092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f506e118-7e3a-45c4-7318-cfee3dda163e'::uuid, 'TvRage', 196706)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f506e118-7e3a-45c4-7318-cfee3dda163e'::uuid, 'trakt', 264447)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f506e118-7e3a-45c4-7318-cfee3dda163e'::uuid, 'TmdbCollection', 255637)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15928 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f506e118-7e3a-45c4-7318-cfee3dda163e'::uuid;

-- Query #15929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f506e118-7e3a-45c4-7318-cfee3dda163e'::uuid;

-- Query #15930 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f506e118-7e3a-45c4-7318-cfee3dda163e'::uuid]);

-- Query #15931 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f506e118-7e3a-45c4-7318-cfee3dda163e'::uuid;

-- Query #15932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15933 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9017c81c-9a40-35f1-889b-ca169c3240f9'::uuid;

-- Query #15934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9017c81c-9a40-35f1-889b-ca169c3240f9'::uuid]);

-- Query #15935 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9017c81c-9a40-35f1-889b-ca169c3240f9'::uuid;

-- Query #15936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9017c81c-9a40-35f1-889b-ca169c3240f9'::uuid, 'Imdb', 'tt0641010')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9017c81c-9a40-35f1-889b-ca169c3240f9'::uuid, 'Tmdb', 255633)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9017c81c-9a40-35f1-889b-ca169c3240f9'::uuid, 'TvMaze', 133975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9017c81c-9a40-35f1-889b-ca169c3240f9'::uuid, 'Tvdb', 238453)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9017c81c-9a40-35f1-889b-ca169c3240f9'::uuid, 'TvRage', 196702)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15941 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9017c81c-9a40-35f1-889b-ca169c3240f9'::uuid, 'trakt', 264443)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15942 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9017c81c-9a40-35f1-889b-ca169c3240f9'::uuid, 'TmdbCollection', 255633)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15943 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9017c81c-9a40-35f1-889b-ca169c3240f9'::uuid;

-- Query #15944 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9017c81c-9a40-35f1-889b-ca169c3240f9'::uuid;

-- Query #15945 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid;

-- Query #15946 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9017c81c-9a40-35f1-889b-ca169c3240f9'::uuid]);

-- Query #15947 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid]);

-- Query #15948 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9017c81c-9a40-35f1-889b-ca169c3240f9'::uuid;

-- Query #15949 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid;

-- Query #15950 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'Imdb', 'tt4236770')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'reddit', 'YellowstonePN')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'tv maze', 27848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15954 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'wikipedia', 'Yellowstone_(American_TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15955 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'eidr', '10.5240/4960-E55E-984B-1108-9A9F-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15956 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'wikidata', 'Q47452423')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'official website', 'https://www.paramountnetwork.com/shows/yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15958 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'TmdbCollection', 73586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15959 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'Tvdb', 341164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15960 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'Tmdb', 73586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15961 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'TvMaze', 27848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'facebook', 'yellowstoneparamount')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'instagram', 'yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15964 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'Zap2It', 'SH02877189')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'x (twitter)', 'Yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15966 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid;

-- Query #15967 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid;

-- Query #15968 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid]);

-- Query #15969 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid;

-- Query #15970 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15971 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e5852ed-2050-1a19-e6b4-b3d51d630d9c'::uuid;

-- Query #15972 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '0d4b21fc9745be3086e216f35899e159'
ORDER BY b."SortName", b."Name";

-- Query #15973 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e5852ed-2050-1a19-e6b4-b3d51d630d9c'::uuid]);

-- Query #15974 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2e5852ed-2050-1a19-e6b4-b3d51d630d9c'::uuid;

-- Query #15975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e5852ed-2050-1a19-e6b4-b3d51d630d9c'::uuid, 'Imdb', 'tt0247278')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e5852ed-2050-1a19-e6b4-b3d51d630d9c'::uuid, 'Tmdb', 255634)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e5852ed-2050-1a19-e6b4-b3d51d630d9c'::uuid, 'TvMaze', 133976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e5852ed-2050-1a19-e6b4-b3d51d630d9c'::uuid, 'Tvdb', 238454)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e5852ed-2050-1a19-e6b4-b3d51d630d9c'::uuid, 'TvRage', 196703)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e5852ed-2050-1a19-e6b4-b3d51d630d9c'::uuid, 'trakt', 264444)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e5852ed-2050-1a19-e6b4-b3d51d630d9c'::uuid, 'TmdbCollection', 255634)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e5852ed-2050-1a19-e6b4-b3d51d630d9c'::uuid;

-- Query #15983 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2e5852ed-2050-1a19-e6b4-b3d51d630d9c'::uuid;

-- Query #15984 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2e5852ed-2050-1a19-e6b4-b3d51d630d9c'::uuid]);

-- Query #15985 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2e5852ed-2050-1a19-e6b4-b3d51d630d9c'::uuid;

-- Query #15986 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #15987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1141a4d-bad6-d2a8-8daa-23306f3260f8'::uuid;

-- Query #15988 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid;

-- Query #15989 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e1141a4d-bad6-d2a8-8daa-23306f3260f8'::uuid]);

-- Query #15990 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e1141a4d-bad6-d2a8-8daa-23306f3260f8'::uuid;

-- Query #15991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1141a4d-bad6-d2a8-8daa-23306f3260f8'::uuid, 'Imdb', 'tt0641017')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1141a4d-bad6-d2a8-8daa-23306f3260f8'::uuid, 'Tmdb', 255639)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15993 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid]);

-- Query #15994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1141a4d-bad6-d2a8-8daa-23306f3260f8'::uuid, 'TvMaze', 133980)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15995 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid;

-- Query #15996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1141a4d-bad6-d2a8-8daa-23306f3260f8'::uuid, 'Tvdb', 4163093)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1141a4d-bad6-d2a8-8daa-23306f3260f8'::uuid, 'TvRage', 196707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15998 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, 'TmdbCollection', 73586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #15999 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1141a4d-bad6-d2a8-8daa-23306f3260f8'::uuid, 'trakt', 264448)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16000 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, 'Tvdb', 341164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1141a4d-bad6-d2a8-8daa-23306f3260f8'::uuid, 'TmdbCollection', 255639)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16002 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1141a4d-bad6-d2a8-8daa-23306f3260f8'::uuid;

-- Query #16003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, 'Tmdb', 73586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, 'TvMaze', 27848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16005 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e1141a4d-bad6-d2a8-8daa-23306f3260f8'::uuid;

-- Query #16006 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, 'facebook', 'yellowstoneparamount')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, 'instagram', 'yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, 'Zap2It', 'SH02877189')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, 'x (twitter)', 'Yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, 'Imdb', 'tt4236770')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, 'reddit', 'YellowstonePN')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, 'tv maze', 27848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, 'wikipedia', 'Yellowstone_(American_TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, 'eidr', '10.5240/4960-E55E-984B-1108-9A9F-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, 'wikidata', 'Q47452423')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16016 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e1141a4d-bad6-d2a8-8daa-23306f3260f8'::uuid]);

-- Query #16017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, 'official website', 'https://www.paramountnetwork.com/shows/yellowstone')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16018 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e1141a4d-bad6-d2a8-8daa-23306f3260f8'::uuid;

-- Query #16019 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid;

-- Query #16020 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid;

-- Query #16021 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16022 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid]);

-- Query #16023 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid;

-- Query #16024 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16025 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid;

-- Query #16026 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5c3d65ac-11f2-6c7e-245c-171553822820'::uuid;

-- Query #16027 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid]);

-- Query #16028 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid;

-- Query #16029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, 'TvMaze', 133989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, 'Tvdb', 238450)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16031 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid;

-- Query #16032 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid;

-- Query #16033 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c3d65ac-11f2-6c7e-245c-171553822820'::uuid]);

-- Query #16034 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid]);

-- Query #16035 | logged_duration_ms=9 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5c3d65ac-11f2-6c7e-245c-171553822820'::uuid;

-- Query #16036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c3d65ac-11f2-6c7e-245c-171553822820'::uuid, 'Imdb', 'tt8075166')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16037 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid;

-- Query #16038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c3d65ac-11f2-6c7e-245c-171553822820'::uuid, 'Tmdb', 1515184)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16039 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a536800f-4a96-e130-113f-b2500236ce12'::uuid, 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16040 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c3d65ac-11f2-6c7e-245c-171553822820'::uuid, 'trakt', 3043653)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16041 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c3d65ac-11f2-6c7e-245c-171553822820'::uuid, 'TvMaze', 1479828)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16042 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c3d65ac-11f2-6c7e-245c-171553822820'::uuid, 'Tvdb', 6732098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16043 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c3d65ac-11f2-6c7e-245c-171553822820'::uuid, 'TmdbCollection', 1515184)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16044 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5c3d65ac-11f2-6c7e-245c-171553822820'::uuid;

-- Query #16045 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5c3d65ac-11f2-6c7e-245c-171553822820'::uuid;

-- Query #16046 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5c3d65ac-11f2-6c7e-245c-171553822820'::uuid]);

-- Query #16047 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5c3d65ac-11f2-6c7e-245c-171553822820'::uuid;

-- Query #16048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16049 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid;

-- Query #16050 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid]);

-- Query #16051 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid;

-- Query #16052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, 'TvMaze', 133991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, 'Tvdb', 133991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16054 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid;

-- Query #16055 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid;

-- Query #16056 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #16057 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid]);

-- Query #16058 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid;

-- Query #16059 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a536800f-4a96-e130-113f-b2500236ce12'::uuid, 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16060 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8d5ed62-2a87-6e23-60a1-6e94b176c8c0'::uuid;

-- Query #16061 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid;

-- Query #16062 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8d5ed62-2a87-6e23-60a1-6e94b176c8c0'::uuid]);

-- Query #16063 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b8d5ed62-2a87-6e23-60a1-6e94b176c8c0'::uuid;

-- Query #16064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8d5ed62-2a87-6e23-60a1-6e94b176c8c0'::uuid, 'Imdb', 'tt7529124')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8d5ed62-2a87-6e23-60a1-6e94b176c8c0'::uuid, 'Tmdb', 1445224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8d5ed62-2a87-6e23-60a1-6e94b176c8c0'::uuid, 'trakt', 2859410)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16067 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8d5ed62-2a87-6e23-60a1-6e94b176c8c0'::uuid, 'TvMaze', 1390685)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8d5ed62-2a87-6e23-60a1-6e94b176c8c0'::uuid, 'Tvdb', 6507316)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8d5ed62-2a87-6e23-60a1-6e94b176c8c0'::uuid, 'TmdbCollection', 1445224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16070 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8d5ed62-2a87-6e23-60a1-6e94b176c8c0'::uuid;

-- Query #16071 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b8d5ed62-2a87-6e23-60a1-6e94b176c8c0'::uuid;

-- Query #16072 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid]);

-- Query #16073 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid;

-- Query #16074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'TvMaze', 133990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16075 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b8d5ed62-2a87-6e23-60a1-6e94b176c8c0'::uuid]);

-- Query #16076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'Tvdb', 238451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16077 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b8d5ed62-2a87-6e23-60a1-6e94b176c8c0'::uuid;

-- Query #16078 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid;

-- Query #16079 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid;

-- Query #16080 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16081 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid]);

-- Query #16082 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid;

-- Query #16083 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a536800f-4a96-e130-113f-b2500236ce12'::uuid, 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16084 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dc9d0794-badc-4d2c-953a-dc58fe6bd822'::uuid
ORDER BY b."SortName";

-- Query #16085 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'a536800f-4a96-e130-113f-b2500236ce12'::uuid])
ORDER BY b."Id";

-- Query #16086 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'a536800f-4a96-e130-113f-b2500236ce12'::uuid])
ORDER BY b."Id";

-- Query #16087 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'a536800f-4a96-e130-113f-b2500236ce12'::uuid])
ORDER BY b."Id";

-- Query #16088 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f6cbe5b-cab4-7197-cfa6-556d69131839'::uuid;

-- Query #16089 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'a536800f-4a96-e130-113f-b2500236ce12'::uuid])
ORDER BY b."Id";

-- Query #16090 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid, 'a536800f-4a96-e130-113f-b2500236ce12'::uuid])
ORDER BY b."Id";

-- Query #16091 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '358d6d95-5e28-52a0-15b5-f45ec5c0229c'::uuid
ORDER BY b."SortName";

-- Query #16092 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a536800f-4a96-e130-113f-b2500236ce12'::uuid
ORDER BY b."SortName";

-- Query #16093 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0f6cbe5b-cab4-7197-cfa6-556d69131839'::uuid]);

-- Query #16094 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'f91a6e47-31a4-72fd-cbc2-aae4e94c5796'::uuid])
ORDER BY b."Id";

-- Query #16095 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0f6cbe5b-cab4-7197-cfa6-556d69131839'::uuid;

-- Query #16096 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'f91a6e47-31a4-72fd-cbc2-aae4e94c5796'::uuid])
ORDER BY b."Id";

-- Query #16097 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f6cbe5b-cab4-7197-cfa6-556d69131839'::uuid, 'Imdb', 'tt8075156')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16098 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'f91a6e47-31a4-72fd-cbc2-aae4e94c5796'::uuid])
ORDER BY b."Id";

-- Query #16099 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f6cbe5b-cab4-7197-cfa6-556d69131839'::uuid, 'Tmdb', 1508836)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f6cbe5b-cab4-7197-cfa6-556d69131839'::uuid, 'trakt', 3043649)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16101 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'f91a6e47-31a4-72fd-cbc2-aae4e94c5796'::uuid])
ORDER BY b."Id";

-- Query #16102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f6cbe5b-cab4-7197-cfa6-556d69131839'::uuid, 'TvMaze', 1478617)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16103 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5ca7ddf4-8c5f-d40c-20cf-88c9b27c1e96'::uuid, '00a9c9a5-698a-4a7a-c79c-94775d927dcc'::uuid, '073d2fec-f177-ff80-53e5-7bdb43b70447'::uuid, 'f91a6e47-31a4-72fd-cbc2-aae4e94c5796'::uuid])
ORDER BY b."Id";

-- Query #16104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f6cbe5b-cab4-7197-cfa6-556d69131839'::uuid, 'Tvdb', 6725917)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f6cbe5b-cab4-7197-cfa6-556d69131839'::uuid, 'TmdbCollection', 1508836)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16106 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f6cbe5b-cab4-7197-cfa6-556d69131839'::uuid;

-- Query #16107 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0f6cbe5b-cab4-7197-cfa6-556d69131839'::uuid;

-- Query #16108 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'dc9d0794badc4d2c953adc58fe6bd822'
ORDER BY b."SortName", b."Name";

-- Query #16109 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0f6cbe5b-cab4-7197-cfa6-556d69131839'::uuid]);

-- Query #16110 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0f6cbe5b-cab4-7197-cfa6-556d69131839'::uuid;

-- Query #16111 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16112 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid
ORDER BY b."SortName";

-- Query #16113 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid])
ORDER BY b."Id";

-- Query #16114 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid])
ORDER BY b."Id";

-- Query #16115 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid])
ORDER BY b."Id";

-- Query #16116 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid])
ORDER BY b."Id";

-- Query #16117 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid])
ORDER BY b."Id";

-- Query #16118 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid
ORDER BY b."SortName";

-- Query #16119 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid
ORDER BY b."SortName";

-- Query #16120 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd65d0938-b004-b89d-a5d2-612f5ead0a26'::uuid;

-- Query #16121 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d65d0938-b004-b89d-a5d2-612f5ead0a26'::uuid]);

-- Query #16122 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd65d0938-b004-b89d-a5d2-612f5ead0a26'::uuid;

-- Query #16123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d65d0938-b004-b89d-a5d2-612f5ead0a26'::uuid, 'Imdb', 'tt8075162')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d65d0938-b004-b89d-a5d2-612f5ead0a26'::uuid, 'Tmdb', 1515183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16125 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d65d0938-b004-b89d-a5d2-612f5ead0a26'::uuid, 'trakt', 3043651)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d65d0938-b004-b89d-a5d2-612f5ead0a26'::uuid, 'TvMaze', 1479827)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16127 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d65d0938-b004-b89d-a5d2-612f5ead0a26'::uuid, 'Tvdb', 6725919)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16128 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d65d0938-b004-b89d-a5d2-612f5ead0a26'::uuid, 'TmdbCollection', 1515183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16129 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd65d0938-b004-b89d-a5d2-612f5ead0a26'::uuid;

-- Query #16130 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd65d0938-b004-b89d-a5d2-612f5ead0a26'::uuid;

-- Query #16131 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d65d0938-b004-b89d-a5d2-612f5ead0a26'::uuid]);

-- Query #16132 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd65d0938-b004-b89d-a5d2-612f5ead0a26'::uuid;

-- Query #16133 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16134 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '40fa862d-2b2d-c1c3-e262-9521910f9b74'::uuid;

-- Query #16135 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40fa862d-2b2d-c1c3-e262-9521910f9b74'::uuid]);

-- Query #16136 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '40fa862d-2b2d-c1c3-e262-9521910f9b74'::uuid;

-- Query #16137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40fa862d-2b2d-c1c3-e262-9521910f9b74'::uuid, 'Imdb', 'tt7709938')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40fa862d-2b2d-c1c3-e262-9521910f9b74'::uuid, 'Tmdb', 1530921)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16139 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40fa862d-2b2d-c1c3-e262-9521910f9b74'::uuid, 'trakt', 3056728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16140 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40fa862d-2b2d-c1c3-e262-9521910f9b74'::uuid, 'TvMaze', 1502799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16141 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40fa862d-2b2d-c1c3-e262-9521910f9b74'::uuid, 'Tvdb', 6736456)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16142 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40fa862d-2b2d-c1c3-e262-9521910f9b74'::uuid, 'TmdbCollection', 1530921)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16143 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '40fa862d-2b2d-c1c3-e262-9521910f9b74'::uuid;

-- Query #16144 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '40fa862d-2b2d-c1c3-e262-9521910f9b74'::uuid;

-- Query #16145 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['40fa862d-2b2d-c1c3-e262-9521910f9b74'::uuid]);

-- Query #16146 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '40fa862d-2b2d-c1c3-e262-9521910f9b74'::uuid;

-- Query #16147 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16148 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e8c63bb-b838-efd3-7483-6e3c31148145'::uuid;

-- Query #16149 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid;

-- Query #16150 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6e8c63bb-b838-efd3-7483-6e3c31148145'::uuid]);

-- Query #16151 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6e8c63bb-b838-efd3-7483-6e3c31148145'::uuid;

-- Query #16152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e8c63bb-b838-efd3-7483-6e3c31148145'::uuid, 'Imdb', 'tt8075160')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e8c63bb-b838-efd3-7483-6e3c31148145'::uuid, 'Tmdb', 1515182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16154 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e8c63bb-b838-efd3-7483-6e3c31148145'::uuid, 'trakt', 3043650)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16155 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e8c63bb-b838-efd3-7483-6e3c31148145'::uuid, 'TvMaze', 1479826)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16156 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid]);

-- Query #16157 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e8c63bb-b838-efd3-7483-6e3c31148145'::uuid, 'Tvdb', 6725918)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e8c63bb-b838-efd3-7483-6e3c31148145'::uuid, 'TmdbCollection', 1515182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16159 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid;

-- Query #16160 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e8c63bb-b838-efd3-7483-6e3c31148145'::uuid;

-- Query #16161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, 'eidr', '10.5240/5772-2769-0EC7-22DB-5A1B-Y')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16162 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6e8c63bb-b838-efd3-7483-6e3c31148145'::uuid;

-- Query #16163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, 'Imdb', 'tt5618256')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, 'official website', 'https://spectrumoriginals.com/manhunt-deadly-games')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, 'Tmdb', 72597)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, 'TmdbCollection', 72597)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, 'Tvdb', 326288)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, 'tv maze', 9693)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16169 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, 'TvMaze', 9693)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16170 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, 'wikidata', 'Q30091619')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16171 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, 'wikipedia', 'Manhunt_(2017_TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16172 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, 'Zap2It', 'EP02694203')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16173 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6e8c63bb-b838-efd3-7483-6e3c31148145'::uuid]);

-- Query #16174 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid;

-- Query #16175 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid;

-- Query #16176 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6e8c63bb-b838-efd3-7483-6e3c31148145'::uuid;

-- Query #16177 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16178 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid]);

-- Query #16179 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid;

-- Query #16180 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16181 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'cc3efbb3722465f49ba5645941c48724'
ORDER BY b."SortName", b."Name";

-- Query #16182 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid
ORDER BY b."SortName";

-- Query #16183 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid])
ORDER BY b."Id";

-- Query #16184 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid])
ORDER BY b."Id";

-- Query #16185 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid])
ORDER BY b."Id";

-- Query #16186 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid])
ORDER BY b."Id";

-- Query #16187 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid])
ORDER BY b."Id";

-- Query #16188 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid
ORDER BY b."SortName";

-- Query #16189 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid
ORDER BY b."SortName";

-- Query #16190 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67ca4f32-2c4b-308c-3190-870d1fcb94e6'::uuid;

-- Query #16191 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'cc3efbb3722465f49ba5645941c48724'
ORDER BY b."SortName", b."Name";

-- Query #16192 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67ca4f32-2c4b-308c-3190-870d1fcb94e6'::uuid]);

-- Query #16193 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '67ca4f32-2c4b-308c-3190-870d1fcb94e6'::uuid;

-- Query #16194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67ca4f32-2c4b-308c-3190-870d1fcb94e6'::uuid, 'Imdb', 'tt8004480')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67ca4f32-2c4b-308c-3190-870d1fcb94e6'::uuid, 'Tmdb', 1525951)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67ca4f32-2c4b-308c-3190-870d1fcb94e6'::uuid, 'trakt', 3051891)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67ca4f32-2c4b-308c-3190-870d1fcb94e6'::uuid, 'TvMaze', 1485832)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67ca4f32-2c4b-308c-3190-870d1fcb94e6'::uuid, 'Tvdb', 6736455)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16199 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67ca4f32-2c4b-308c-3190-870d1fcb94e6'::uuid, 'TmdbCollection', 1525951)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16200 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67ca4f32-2c4b-308c-3190-870d1fcb94e6'::uuid;

-- Query #16201 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '67ca4f32-2c4b-308c-3190-870d1fcb94e6'::uuid;

-- Query #16202 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['67ca4f32-2c4b-308c-3190-870d1fcb94e6'::uuid]);

-- Query #16203 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '67ca4f32-2c4b-308c-3190-870d1fcb94e6'::uuid;

-- Query #16204 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16205 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid;

-- Query #16206 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid]);

-- Query #16207 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid;

-- Query #16208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'Tvdb', 326288)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'Tmdb', 72597)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'Imdb', 'tt5618256')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'TvMaze', 9693)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'eidr', '10.5240/5772-2769-0EC7-22DB-5A1B-Y')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'Zap2It', 'EP02694203')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'wikidata', 'Q30091619')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'TmdbCollection', 72597)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16216 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid;

-- Query #16217 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid;

-- Query #16218 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9b62000-f045-622d-b482-e11e661e374a'::uuid;

-- Query #16219 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid]);

-- Query #16220 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid;

-- Query #16221 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16222 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9b62000-f045-622d-b482-e11e661e374a'::uuid]);

-- Query #16223 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f9b62000-f045-622d-b482-e11e661e374a'::uuid;

-- Query #16224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9b62000-f045-622d-b482-e11e661e374a'::uuid, 'Imdb', 'tt8075168')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16225 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9b62000-f045-622d-b482-e11e661e374a'::uuid, 'Tmdb', 1534479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16226 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9b62000-f045-622d-b482-e11e661e374a'::uuid, 'trakt', 3056729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16227 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9b62000-f045-622d-b482-e11e661e374a'::uuid, 'TvMaze', 1502703)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9b62000-f045-622d-b482-e11e661e374a'::uuid, 'Tvdb', 6736457)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9b62000-f045-622d-b482-e11e661e374a'::uuid, 'TmdbCollection', 1534479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16230 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9b62000-f045-622d-b482-e11e661e374a'::uuid;

-- Query #16231 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f9b62000-f045-622d-b482-e11e661e374a'::uuid;

-- Query #16232 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'cc3efbb3722465f49ba5645941c48724'
ORDER BY b."SortName", b."Name";

-- Query #16233 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f9b62000-f045-622d-b482-e11e661e374a'::uuid]);

-- Query #16234 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f9b62000-f045-622d-b482-e11e661e374a'::uuid;

-- Query #16235 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16236 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid;

-- Query #16237 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fd8c43ac-11d0-8265-d0c1-804242cd6ad0'::uuid;

-- Query #16238 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid]);

-- Query #16239 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid;

-- Query #16240 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'Tvdb', 326288)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16241 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'Tmdb', 72597)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16242 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'Imdb', 'tt5618256')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16243 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'TvMaze', 9693)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16244 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'eidr', '10.5240/5772-2769-0EC7-22DB-5A1B-Y')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16245 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'Zap2It', 'EP02694203')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'wikidata', 'Q30091619')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'TmdbCollection', 72597)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16248 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid;

-- Query #16249 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid;

-- Query #16250 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fd8c43ac-11d0-8265-d0c1-804242cd6ad0'::uuid]);

-- Query #16251 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fd8c43ac-11d0-8265-d0c1-804242cd6ad0'::uuid;

-- Query #16252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd8c43ac-11d0-8265-d0c1-804242cd6ad0'::uuid, 'Imdb', 'tt7867214')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd8c43ac-11d0-8265-d0c1-804242cd6ad0'::uuid, 'Tmdb', 1544468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd8c43ac-11d0-8265-d0c1-804242cd6ad0'::uuid, 'trakt', 3056730)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd8c43ac-11d0-8265-d0c1-804242cd6ad0'::uuid, 'TvMaze', 1507326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd8c43ac-11d0-8265-d0c1-804242cd6ad0'::uuid, 'Tvdb', 6736458)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16257 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid]);

-- Query #16258 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd8c43ac-11d0-8265-d0c1-804242cd6ad0'::uuid, 'TmdbCollection', 1544468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16259 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid;

-- Query #16260 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fd8c43ac-11d0-8265-d0c1-804242cd6ad0'::uuid;

-- Query #16261 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16262 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fd8c43ac-11d0-8265-d0c1-804242cd6ad0'::uuid;

-- Query #16263 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fd8c43ac-11d0-8265-d0c1-804242cd6ad0'::uuid]);

-- Query #16264 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fd8c43ac-11d0-8265-d0c1-804242cd6ad0'::uuid;

-- Query #16265 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16266 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '90166471-8838-6723-8dcf-786f41ee1e21'::uuid;

-- Query #16267 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90166471-8838-6723-8dcf-786f41ee1e21'::uuid]);

-- Query #16268 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '90166471-8838-6723-8dcf-786f41ee1e21'::uuid;

-- Query #16269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90166471-8838-6723-8dcf-786f41ee1e21'::uuid, 'Imdb', 'tt6528820')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90166471-8838-6723-8dcf-786f41ee1e21'::uuid, 'Tmdb', 1354086)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16271 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90166471-8838-6723-8dcf-786f41ee1e21'::uuid, 'trakt', 2675938)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16272 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90166471-8838-6723-8dcf-786f41ee1e21'::uuid, 'TvMaze', 1259288)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16273 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90166471-8838-6723-8dcf-786f41ee1e21'::uuid, 'Tvdb', 6234595)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90166471-8838-6723-8dcf-786f41ee1e21'::uuid, 'TmdbCollection', 1354086)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16275 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '90166471-8838-6723-8dcf-786f41ee1e21'::uuid;

-- Query #16276 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '90166471-8838-6723-8dcf-786f41ee1e21'::uuid;

-- Query #16277 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29952951-eb22-2ed4-d94e-bb551e648c56'::uuid;

-- Query #16278 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['90166471-8838-6723-8dcf-786f41ee1e21'::uuid]);

-- Query #16279 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '90166471-8838-6723-8dcf-786f41ee1e21'::uuid;

-- Query #16280 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16281 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29952951-eb22-2ed4-d94e-bb551e648c56'::uuid]);

-- Query #16282 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '29952951-eb22-2ed4-d94e-bb551e648c56'::uuid;

-- Query #16283 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29952951-eb22-2ed4-d94e-bb551e648c56'::uuid, 'Imdb', 'tt8755456')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16284 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29952951-eb22-2ed4-d94e-bb551e648c56'::uuid, 'Tmdb', 1890549)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16285 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29952951-eb22-2ed4-d94e-bb551e648c56'::uuid, 'trakt', 3613200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16286 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29952951-eb22-2ed4-d94e-bb551e648c56'::uuid, 'TvMaze', 1679655)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16287 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29952951-eb22-2ed4-d94e-bb551e648c56'::uuid, 'Tvdb', 7272191)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29952951-eb22-2ed4-d94e-bb551e648c56'::uuid, 'TmdbCollection', 1890549)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16289 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29952951-eb22-2ed4-d94e-bb551e648c56'::uuid;

-- Query #16290 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '29952951-eb22-2ed4-d94e-bb551e648c56'::uuid;

-- Query #16291 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['29952951-eb22-2ed4-d94e-bb551e648c56'::uuid]);

-- Query #16292 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '29952951-eb22-2ed4-d94e-bb551e648c56'::uuid;

-- Query #16293 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16294 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6354c252-59df-fa42-7dd3-67f4141e03f4'::uuid;

-- Query #16295 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6354c252-59df-fa42-7dd3-67f4141e03f4'::uuid]);

-- Query #16296 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6354c252-59df-fa42-7dd3-67f4141e03f4'::uuid;

-- Query #16297 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6354c252-59df-fa42-7dd3-67f4141e03f4'::uuid, 'Imdb', 'tt6528816')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16298 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6354c252-59df-fa42-7dd3-67f4141e03f4'::uuid, 'Tmdb', 1350490)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16299 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6354c252-59df-fa42-7dd3-67f4141e03f4'::uuid, 'trakt', 2675937)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6354c252-59df-fa42-7dd3-67f4141e03f4'::uuid, 'TvMaze', 1259287)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16301 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6354c252-59df-fa42-7dd3-67f4141e03f4'::uuid, 'Tvdb', 6193576)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6354c252-59df-fa42-7dd3-67f4141e03f4'::uuid, 'TmdbCollection', 1350490)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16303 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6354c252-59df-fa42-7dd3-67f4141e03f4'::uuid;

-- Query #16304 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e6de94e-ac50-511b-3055-318b40ebc211'::uuid;

-- Query #16305 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6354c252-59df-fa42-7dd3-67f4141e03f4'::uuid;

-- Query #16306 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6354c252-59df-fa42-7dd3-67f4141e03f4'::uuid]);

-- Query #16307 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6354c252-59df-fa42-7dd3-67f4141e03f4'::uuid;

-- Query #16308 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16309 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e6de94e-ac50-511b-3055-318b40ebc211'::uuid]);

-- Query #16310 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9e6de94e-ac50-511b-3055-318b40ebc211'::uuid;

-- Query #16311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e6de94e-ac50-511b-3055-318b40ebc211'::uuid, 'TmdbCollection', 1855319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16312 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e6de94e-ac50-511b-3055-318b40ebc211'::uuid, 'Imdb', 'tt8755448')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16313 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e6de94e-ac50-511b-3055-318b40ebc211'::uuid, 'Tmdb', 1855319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e6de94e-ac50-511b-3055-318b40ebc211'::uuid, 'trakt', 3613198)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16315 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e6de94e-ac50-511b-3055-318b40ebc211'::uuid, 'TvMaze', 1679653)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16316 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e6de94e-ac50-511b-3055-318b40ebc211'::uuid, 'Tvdb', 7272189)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16317 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e6de94e-ac50-511b-3055-318b40ebc211'::uuid;

-- Query #16318 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9e6de94e-ac50-511b-3055-318b40ebc211'::uuid;

-- Query #16319 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9e6de94e-ac50-511b-3055-318b40ebc211'::uuid]);

-- Query #16320 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9e6de94e-ac50-511b-3055-318b40ebc211'::uuid;

-- Query #16321 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16322 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67086fa0-74e1-0032-c342-b91eb1830265'::uuid;

-- Query #16323 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67086fa0-74e1-0032-c342-b91eb1830265'::uuid]);

-- Query #16324 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '67086fa0-74e1-0032-c342-b91eb1830265'::uuid;

-- Query #16325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67086fa0-74e1-0032-c342-b91eb1830265'::uuid, 'Imdb', 'tt6498276')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67086fa0-74e1-0032-c342-b91eb1830265'::uuid, 'Tmdb', 1347641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67086fa0-74e1-0032-c342-b91eb1830265'::uuid, 'trakt', 2653604)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16328 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67086fa0-74e1-0032-c342-b91eb1830265'::uuid, 'TvMaze', 1265386)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16329 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67086fa0-74e1-0032-c342-b91eb1830265'::uuid, 'Tvdb', 6234593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16330 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67086fa0-74e1-0032-c342-b91eb1830265'::uuid, 'TmdbCollection', 1347641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16331 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67086fa0-74e1-0032-c342-b91eb1830265'::uuid;

-- Query #16332 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '67086fa0-74e1-0032-c342-b91eb1830265'::uuid;

-- Query #16333 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['67086fa0-74e1-0032-c342-b91eb1830265'::uuid]);

-- Query #16334 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '67086fa0-74e1-0032-c342-b91eb1830265'::uuid;

-- Query #16335 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16336 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cfb22299-45ef-cb08-16fd-ce99371e2839'::uuid;

-- Query #16337 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfb22299-45ef-cb08-16fd-ce99371e2839'::uuid]);

-- Query #16338 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cfb22299-45ef-cb08-16fd-ce99371e2839'::uuid;

-- Query #16339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfb22299-45ef-cb08-16fd-ce99371e2839'::uuid, 'Imdb', 'tt8755454')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfb22299-45ef-cb08-16fd-ce99371e2839'::uuid, 'Tmdb', 1890550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfb22299-45ef-cb08-16fd-ce99371e2839'::uuid, 'trakt', 3613202)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfb22299-45ef-cb08-16fd-ce99371e2839'::uuid, 'TvMaze', 1679656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfb22299-45ef-cb08-16fd-ce99371e2839'::uuid, 'Tvdb', 7272192)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfb22299-45ef-cb08-16fd-ce99371e2839'::uuid, 'TmdbCollection', 1890550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16345 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cfb22299-45ef-cb08-16fd-ce99371e2839'::uuid;

-- Query #16346 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cfb22299-45ef-cb08-16fd-ce99371e2839'::uuid;

-- Query #16347 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cfb22299-45ef-cb08-16fd-ce99371e2839'::uuid]);

-- Query #16348 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cfb22299-45ef-cb08-16fd-ce99371e2839'::uuid;

-- Query #16349 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16350 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a8d875b-c9cf-dad1-2683-0382a02f2125'::uuid;

-- Query #16351 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a8d875b-c9cf-dad1-2683-0382a02f2125'::uuid]);

-- Query #16352 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9a8d875b-c9cf-dad1-2683-0382a02f2125'::uuid;

-- Query #16353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a8d875b-c9cf-dad1-2683-0382a02f2125'::uuid, 'Imdb', 'tt5774560')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a8d875b-c9cf-dad1-2683-0382a02f2125'::uuid, 'Tmdb', 1332595)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a8d875b-c9cf-dad1-2683-0382a02f2125'::uuid, 'trakt', 2538466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a8d875b-c9cf-dad1-2683-0382a02f2125'::uuid, 'TvMaze', 1114475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a8d875b-c9cf-dad1-2683-0382a02f2125'::uuid, 'Tvdb', 6028530)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a8d875b-c9cf-dad1-2683-0382a02f2125'::uuid, 'TmdbCollection', 1332595)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16359 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a8d875b-c9cf-dad1-2683-0382a02f2125'::uuid;

-- Query #16360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9a8d875b-c9cf-dad1-2683-0382a02f2125'::uuid;

-- Query #16361 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82e580dd-e964-67f9-fb9c-bfe877d22df5'::uuid;

-- Query #16362 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9a8d875b-c9cf-dad1-2683-0382a02f2125'::uuid]);

-- Query #16363 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9a8d875b-c9cf-dad1-2683-0382a02f2125'::uuid;

-- Query #16364 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82e580dd-e964-67f9-fb9c-bfe877d22df5'::uuid]);

-- Query #16365 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16366 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82e580dd-e964-67f9-fb9c-bfe877d22df5'::uuid;

-- Query #16367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82e580dd-e964-67f9-fb9c-bfe877d22df5'::uuid, 'Imdb', 'tt8755444')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82e580dd-e964-67f9-fb9c-bfe877d22df5'::uuid, 'Tmdb', 1841804)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82e580dd-e964-67f9-fb9c-bfe877d22df5'::uuid, 'trakt', 3562687)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82e580dd-e964-67f9-fb9c-bfe877d22df5'::uuid, 'TvMaze', 1673459)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82e580dd-e964-67f9-fb9c-bfe877d22df5'::uuid, 'Tvdb', 7244843)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82e580dd-e964-67f9-fb9c-bfe877d22df5'::uuid, 'TmdbCollection', 1841804)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16373 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82e580dd-e964-67f9-fb9c-bfe877d22df5'::uuid;

-- Query #16374 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82e580dd-e964-67f9-fb9c-bfe877d22df5'::uuid;

-- Query #16375 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82e580dd-e964-67f9-fb9c-bfe877d22df5'::uuid]);

-- Query #16376 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '82e580dd-e964-67f9-fb9c-bfe877d22df5'::uuid;

-- Query #16377 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16378 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1eeea05b-753c-eb33-fe01-08ad14764b15'::uuid;

-- Query #16379 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eeea05b-753c-eb33-fe01-08ad14764b15'::uuid]);

-- Query #16380 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1eeea05b-753c-eb33-fe01-08ad14764b15'::uuid;

-- Query #16381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1eeea05b-753c-eb33-fe01-08ad14764b15'::uuid, 'Imdb', 'tt6528828')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1eeea05b-753c-eb33-fe01-08ad14764b15'::uuid, 'Tmdb', 1354596)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1eeea05b-753c-eb33-fe01-08ad14764b15'::uuid, 'trakt', 2675941)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1eeea05b-753c-eb33-fe01-08ad14764b15'::uuid, 'TvMaze', 1259291)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1eeea05b-753c-eb33-fe01-08ad14764b15'::uuid, 'Tvdb', 6234599)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1eeea05b-753c-eb33-fe01-08ad14764b15'::uuid, 'TmdbCollection', 1354596)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16387 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1eeea05b-753c-eb33-fe01-08ad14764b15'::uuid;

-- Query #16388 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9c2b1cf-9c0b-4671-edc9-8f610b09ed37'::uuid;

-- Query #16389 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1eeea05b-753c-eb33-fe01-08ad14764b15'::uuid;

-- Query #16390 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1eeea05b-753c-eb33-fe01-08ad14764b15'::uuid]);

-- Query #16391 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1eeea05b-753c-eb33-fe01-08ad14764b15'::uuid;

-- Query #16392 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16393 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9c2b1cf-9c0b-4671-edc9-8f610b09ed37'::uuid]);

-- Query #16394 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f9c2b1cf-9c0b-4671-edc9-8f610b09ed37'::uuid;

-- Query #16395 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9c2b1cf-9c0b-4671-edc9-8f610b09ed37'::uuid, 'Imdb', 'tt8755442')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9c2b1cf-9c0b-4671-edc9-8f610b09ed37'::uuid, 'Tmdb', 1825696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9c2b1cf-9c0b-4671-edc9-8f610b09ed37'::uuid, 'trakt', 3562685)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9c2b1cf-9c0b-4671-edc9-8f610b09ed37'::uuid, 'TvMaze', 1673080)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9c2b1cf-9c0b-4671-edc9-8f610b09ed37'::uuid, 'Tvdb', 7242863)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9c2b1cf-9c0b-4671-edc9-8f610b09ed37'::uuid, 'TmdbCollection', 1825696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16401 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9c2b1cf-9c0b-4671-edc9-8f610b09ed37'::uuid;

-- Query #16402 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f9c2b1cf-9c0b-4671-edc9-8f610b09ed37'::uuid;

-- Query #16403 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f9c2b1cf-9c0b-4671-edc9-8f610b09ed37'::uuid]);

-- Query #16404 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f9c2b1cf-9c0b-4671-edc9-8f610b09ed37'::uuid;

-- Query #16405 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16406 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2490784-2835-2b69-4664-641f7420d704'::uuid;

-- Query #16407 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8992a4af-017b-6f36-7d57-90b534733ec2'::uuid;

-- Query #16408 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2490784-2835-2b69-4664-641f7420d704'::uuid]);

-- Query #16409 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f2490784-2835-2b69-4664-641f7420d704'::uuid;

-- Query #16410 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2490784-2835-2b69-4664-641f7420d704'::uuid, 'Imdb', 'tt8755452')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16411 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2490784-2835-2b69-4664-641f7420d704'::uuid, 'Tmdb', 1878777)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16412 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2490784-2835-2b69-4664-641f7420d704'::uuid, 'trakt', 3613199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2490784-2835-2b69-4664-641f7420d704'::uuid, 'TvMaze', 1679654)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2490784-2835-2b69-4664-641f7420d704'::uuid, 'Tvdb', 7272190)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2490784-2835-2b69-4664-641f7420d704'::uuid, 'TmdbCollection', 1878777)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16416 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8992a4af-017b-6f36-7d57-90b534733ec2'::uuid]);

-- Query #16417 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2490784-2835-2b69-4664-641f7420d704'::uuid;

-- Query #16418 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8992a4af-017b-6f36-7d57-90b534733ec2'::uuid;

-- Query #16419 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f2490784-2835-2b69-4664-641f7420d704'::uuid;

-- Query #16420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8992a4af-017b-6f36-7d57-90b534733ec2'::uuid, 'Imdb', 'tt11208992')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16421 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8992a4af-017b-6f36-7d57-90b534733ec2'::uuid, 'Tmdb', 2158377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16422 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8992a4af-017b-6f36-7d57-90b534733ec2'::uuid, 'trakt', 3944344)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16423 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8992a4af-017b-6f36-7d57-90b534733ec2'::uuid, 'TvMaze', 1791759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8992a4af-017b-6f36-7d57-90b534733ec2'::uuid, 'Tvdb', 7546321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8992a4af-017b-6f36-7d57-90b534733ec2'::uuid, 'TmdbCollection', 2158377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16426 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8992a4af-017b-6f36-7d57-90b534733ec2'::uuid;

-- Query #16427 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8992a4af-017b-6f36-7d57-90b534733ec2'::uuid;

-- Query #16428 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f2490784-2835-2b69-4664-641f7420d704'::uuid]);

-- Query #16429 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f2490784-2835-2b69-4664-641f7420d704'::uuid;

-- Query #16430 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16431 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8992a4af-017b-6f36-7d57-90b534733ec2'::uuid]);

-- Query #16432 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8992a4af-017b-6f36-7d57-90b534733ec2'::uuid;

-- Query #16433 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16434 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7c5c7377-6b38-d350-e9d9-50b63fad1db4'::uuid;

-- Query #16435 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed867c7c-cfff-06bf-8e92-24a3ba1dea24'::uuid;

-- Query #16436 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7c5c7377-6b38-d350-e9d9-50b63fad1db4'::uuid]);

-- Query #16437 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7c5c7377-6b38-d350-e9d9-50b63fad1db4'::uuid;

-- Query #16438 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c5c7377-6b38-d350-e9d9-50b63fad1db4'::uuid, 'TmdbCollection', 1890551)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16439 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c5c7377-6b38-d350-e9d9-50b63fad1db4'::uuid, 'Imdb', 'tt8755458')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16440 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c5c7377-6b38-d350-e9d9-50b63fad1db4'::uuid, 'Tmdb', 1890551)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c5c7377-6b38-d350-e9d9-50b63fad1db4'::uuid, 'trakt', 3628745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c5c7377-6b38-d350-e9d9-50b63fad1db4'::uuid, 'TvMaze', 1684357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c5c7377-6b38-d350-e9d9-50b63fad1db4'::uuid, 'Tvdb', 7287654)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16444 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7c5c7377-6b38-d350-e9d9-50b63fad1db4'::uuid;

-- Query #16445 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7c5c7377-6b38-d350-e9d9-50b63fad1db4'::uuid;

-- Query #16446 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed867c7c-cfff-06bf-8e92-24a3ba1dea24'::uuid]);

-- Query #16447 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ed867c7c-cfff-06bf-8e92-24a3ba1dea24'::uuid;

-- Query #16448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed867c7c-cfff-06bf-8e92-24a3ba1dea24'::uuid, 'Imdb', 'tt10308170')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16449 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7c5c7377-6b38-d350-e9d9-50b63fad1db4'::uuid]);

-- Query #16450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed867c7c-cfff-06bf-8e92-24a3ba1dea24'::uuid, 'Tmdb', 2063454)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed867c7c-cfff-06bf-8e92-24a3ba1dea24'::uuid, 'trakt', 3944342)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16452 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7c5c7377-6b38-d350-e9d9-50b63fad1db4'::uuid;

-- Query #16453 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed867c7c-cfff-06bf-8e92-24a3ba1dea24'::uuid, 'TvMaze', 1791757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16454 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed867c7c-cfff-06bf-8e92-24a3ba1dea24'::uuid, 'Tvdb', 7546319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16455 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed867c7c-cfff-06bf-8e92-24a3ba1dea24'::uuid, 'TmdbCollection', 2063454)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16457 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed867c7c-cfff-06bf-8e92-24a3ba1dea24'::uuid;

-- Query #16458 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ed867c7c-cfff-06bf-8e92-24a3ba1dea24'::uuid;

-- Query #16459 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ed867c7c-cfff-06bf-8e92-24a3ba1dea24'::uuid]);

-- Query #16460 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ed867c7c-cfff-06bf-8e92-24a3ba1dea24'::uuid;

-- Query #16461 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16462 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62d07fd8-4679-4440-19f3-e9a82e1c2209'::uuid;

-- Query #16463 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62d07fd8-4679-4440-19f3-e9a82e1c2209'::uuid]);

-- Query #16464 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '62d07fd8-4679-4440-19f3-e9a82e1c2209'::uuid;

-- Query #16465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62d07fd8-4679-4440-19f3-e9a82e1c2209'::uuid, 'Imdb', 'tt8755438')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16466 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62d07fd8-4679-4440-19f3-e9a82e1c2209'::uuid, 'Tmdb', 1734433)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62d07fd8-4679-4440-19f3-e9a82e1c2209'::uuid, 'trakt', 3130149)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16468 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62d07fd8-4679-4440-19f3-e9a82e1c2209'::uuid, 'TvMaze', 1627083)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62d07fd8-4679-4440-19f3-e9a82e1c2209'::uuid, 'Tvdb', 6802576)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62d07fd8-4679-4440-19f3-e9a82e1c2209'::uuid, 'TmdbCollection', 1734433)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16471 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62d07fd8-4679-4440-19f3-e9a82e1c2209'::uuid;

-- Query #16472 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '62d07fd8-4679-4440-19f3-e9a82e1c2209'::uuid;

-- Query #16473 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fb185a8-1428-5be9-006e-5a658482e0e5'::uuid;

-- Query #16474 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['62d07fd8-4679-4440-19f3-e9a82e1c2209'::uuid]);

-- Query #16475 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '62d07fd8-4679-4440-19f3-e9a82e1c2209'::uuid;

-- Query #16476 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16477 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7fb185a8-1428-5be9-006e-5a658482e0e5'::uuid]);

-- Query #16478 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7fb185a8-1428-5be9-006e-5a658482e0e5'::uuid;

-- Query #16479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fb185a8-1428-5be9-006e-5a658482e0e5'::uuid, 'Imdb', 'tt11209132')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fb185a8-1428-5be9-006e-5a658482e0e5'::uuid, 'Tmdb', 2158383)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fb185a8-1428-5be9-006e-5a658482e0e5'::uuid, 'trakt', 3944351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fb185a8-1428-5be9-006e-5a658482e0e5'::uuid, 'TvMaze', 1791765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fb185a8-1428-5be9-006e-5a658482e0e5'::uuid, 'Tvdb', 7546327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16484 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fb185a8-1428-5be9-006e-5a658482e0e5'::uuid, 'TmdbCollection', 2158383)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16485 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fb185a8-1428-5be9-006e-5a658482e0e5'::uuid;

-- Query #16486 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7fb185a8-1428-5be9-006e-5a658482e0e5'::uuid;

-- Query #16487 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7fb185a8-1428-5be9-006e-5a658482e0e5'::uuid]);

-- Query #16488 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7fb185a8-1428-5be9-006e-5a658482e0e5'::uuid;

-- Query #16489 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16490 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e4b3ca4c-8ec4-5eb4-93af-fe789ce00b0f'::uuid;

-- Query #16491 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e4b3ca4c-8ec4-5eb4-93af-fe789ce00b0f'::uuid]);

-- Query #16492 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e4b3ca4c-8ec4-5eb4-93af-fe789ce00b0f'::uuid;

-- Query #16493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4b3ca4c-8ec4-5eb4-93af-fe789ce00b0f'::uuid, 'Imdb', 'tt8755446')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4b3ca4c-8ec4-5eb4-93af-fe789ce00b0f'::uuid, 'Tmdb', 1855318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16495 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4b3ca4c-8ec4-5eb4-93af-fe789ce00b0f'::uuid, 'trakt', 3585201)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4b3ca4c-8ec4-5eb4-93af-fe789ce00b0f'::uuid, 'TvMaze', 1673460)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4b3ca4c-8ec4-5eb4-93af-fe789ce00b0f'::uuid, 'Tvdb', 7244845)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4b3ca4c-8ec4-5eb4-93af-fe789ce00b0f'::uuid, 'TmdbCollection', 1855318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16499 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e4b3ca4c-8ec4-5eb4-93af-fe789ce00b0f'::uuid;

-- Query #16500 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e4b3ca4c-8ec4-5eb4-93af-fe789ce00b0f'::uuid;

-- Query #16501 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cbc8bec4-a08f-7b0d-bf3d-950de7f9b00c'::uuid;

-- Query #16502 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e4b3ca4c-8ec4-5eb4-93af-fe789ce00b0f'::uuid]);

-- Query #16503 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e4b3ca4c-8ec4-5eb4-93af-fe789ce00b0f'::uuid;

-- Query #16504 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16505 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbc8bec4-a08f-7b0d-bf3d-950de7f9b00c'::uuid]);

-- Query #16506 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cbc8bec4-a08f-7b0d-bf3d-950de7f9b00c'::uuid;

-- Query #16507 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbc8bec4-a08f-7b0d-bf3d-950de7f9b00c'::uuid, 'TmdbCollection', 2158381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16508 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbc8bec4-a08f-7b0d-bf3d-950de7f9b00c'::uuid, 'Imdb', 'tt11313340')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16509 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbc8bec4-a08f-7b0d-bf3d-950de7f9b00c'::uuid, 'Tmdb', 2158381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16510 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbc8bec4-a08f-7b0d-bf3d-950de7f9b00c'::uuid, 'trakt', 3944349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16511 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbc8bec4-a08f-7b0d-bf3d-950de7f9b00c'::uuid, 'TvMaze', 1791763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbc8bec4-a08f-7b0d-bf3d-950de7f9b00c'::uuid, 'Tvdb', 7546325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16513 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cbc8bec4-a08f-7b0d-bf3d-950de7f9b00c'::uuid;

-- Query #16514 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cbc8bec4-a08f-7b0d-bf3d-950de7f9b00c'::uuid;

-- Query #16515 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cbc8bec4-a08f-7b0d-bf3d-950de7f9b00c'::uuid]);

-- Query #16516 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cbc8bec4-a08f-7b0d-bf3d-950de7f9b00c'::uuid;

-- Query #16517 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16518 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f4f306bf-f8a3-4b1c-08ac-738e36645276'::uuid;

-- Query #16519 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4f306bf-f8a3-4b1c-08ac-738e36645276'::uuid]);

-- Query #16520 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f4f306bf-f8a3-4b1c-08ac-738e36645276'::uuid;

-- Query #16521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4f306bf-f8a3-4b1c-08ac-738e36645276'::uuid, 'Imdb', 'tt10587854')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4f306bf-f8a3-4b1c-08ac-738e36645276'::uuid, 'Tmdb', 2317686)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4f306bf-f8a3-4b1c-08ac-738e36645276'::uuid, 'trakt', 4160221)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4f306bf-f8a3-4b1c-08ac-738e36645276'::uuid, 'TvMaze', 1880162)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16525 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4f306bf-f8a3-4b1c-08ac-738e36645276'::uuid, 'Tvdb', 7730431)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4f306bf-f8a3-4b1c-08ac-738e36645276'::uuid, 'TmdbCollection', 2317686)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16527 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f4f306bf-f8a3-4b1c-08ac-738e36645276'::uuid;

-- Query #16528 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f4f306bf-f8a3-4b1c-08ac-738e36645276'::uuid;

-- Query #16529 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f4f306bf-f8a3-4b1c-08ac-738e36645276'::uuid]);

-- Query #16530 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f4f306bf-f8a3-4b1c-08ac-738e36645276'::uuid;

-- Query #16531 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16532 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '800fdd41-8323-222e-4609-7c661d47dc44'::uuid;

-- Query #16533 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['800fdd41-8323-222e-4609-7c661d47dc44'::uuid]);

-- Query #16534 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '800fdd41-8323-222e-4609-7c661d47dc44'::uuid;

-- Query #16535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('800fdd41-8323-222e-4609-7c661d47dc44'::uuid, 'Imdb', 'tt11276502')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('800fdd41-8323-222e-4609-7c661d47dc44'::uuid, 'TvMaze', 1791764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('800fdd41-8323-222e-4609-7c661d47dc44'::uuid, 'Tvdb', 7546326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16538 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '800fdd41-8323-222e-4609-7c661d47dc44'::uuid;

-- Query #16539 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '800fdd41-8323-222e-4609-7c661d47dc44'::uuid;

-- Query #16540 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['800fdd41-8323-222e-4609-7c661d47dc44'::uuid]);

-- Query #16541 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '800fdd41-8323-222e-4609-7c661d47dc44'::uuid;

-- Query #16542 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16543 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fab2dd3-32df-b896-ad2b-ce9cfc6ba735'::uuid;

-- Query #16544 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7fab2dd3-32df-b896-ad2b-ce9cfc6ba735'::uuid]);

-- Query #16545 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7fab2dd3-32df-b896-ad2b-ce9cfc6ba735'::uuid;

-- Query #16546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fab2dd3-32df-b896-ad2b-ce9cfc6ba735'::uuid, 'Imdb', 'tt10587906')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fab2dd3-32df-b896-ad2b-ce9cfc6ba735'::uuid, 'Tmdb', 2363496)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fab2dd3-32df-b896-ad2b-ce9cfc6ba735'::uuid, 'trakt', 4306474)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fab2dd3-32df-b896-ad2b-ce9cfc6ba735'::uuid, 'TvMaze', 1880163)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fab2dd3-32df-b896-ad2b-ce9cfc6ba735'::uuid, 'Tvdb', 7843393)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fab2dd3-32df-b896-ad2b-ce9cfc6ba735'::uuid, 'TmdbCollection', 2363496)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16552 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fab2dd3-32df-b896-ad2b-ce9cfc6ba735'::uuid;

-- Query #16553 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7fab2dd3-32df-b896-ad2b-ce9cfc6ba735'::uuid;

-- Query #16554 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7fab2dd3-32df-b896-ad2b-ce9cfc6ba735'::uuid]);

-- Query #16555 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7fab2dd3-32df-b896-ad2b-ce9cfc6ba735'::uuid;

-- Query #16556 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16557 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '726d8c7e-af2a-fc00-1895-5867564cc363'::uuid;

-- Query #16558 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['726d8c7e-af2a-fc00-1895-5867564cc363'::uuid]);

-- Query #16559 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '726d8c7e-af2a-fc00-1895-5867564cc363'::uuid;

-- Query #16560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('726d8c7e-af2a-fc00-1895-5867564cc363'::uuid, 'Imdb', 'tt11437516')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('726d8c7e-af2a-fc00-1895-5867564cc363'::uuid, 'Tmdb', 2158379)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('726d8c7e-af2a-fc00-1895-5867564cc363'::uuid, 'trakt', 3944347)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16563 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('726d8c7e-af2a-fc00-1895-5867564cc363'::uuid, 'TvMaze', 1791761)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('726d8c7e-af2a-fc00-1895-5867564cc363'::uuid, 'Tvdb', 7546323)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('726d8c7e-af2a-fc00-1895-5867564cc363'::uuid, 'TmdbCollection', 2158379)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16566 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '726d8c7e-af2a-fc00-1895-5867564cc363'::uuid;

-- Query #16567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '726d8c7e-af2a-fc00-1895-5867564cc363'::uuid;

-- Query #16568 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['726d8c7e-af2a-fc00-1895-5867564cc363'::uuid]);

-- Query #16569 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '806a285d-4cb4-0111-c868-d4b85629605f'::uuid;

-- Query #16570 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '726d8c7e-af2a-fc00-1895-5867564cc363'::uuid;

-- Query #16571 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16572 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['806a285d-4cb4-0111-c868-d4b85629605f'::uuid]);

-- Query #16573 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '806a285d-4cb4-0111-c868-d4b85629605f'::uuid;

-- Query #16574 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('806a285d-4cb4-0111-c868-d4b85629605f'::uuid, 'TmdbCollection', 2373603)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('806a285d-4cb4-0111-c868-d4b85629605f'::uuid, 'Imdb', 'tt10587916')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('806a285d-4cb4-0111-c868-d4b85629605f'::uuid, 'Tmdb', 2373603)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('806a285d-4cb4-0111-c868-d4b85629605f'::uuid, 'trakt', 4328869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16578 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('806a285d-4cb4-0111-c868-d4b85629605f'::uuid, 'TvMaze', 1904516)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('806a285d-4cb4-0111-c868-d4b85629605f'::uuid, 'Tvdb', 7778518)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16580 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '806a285d-4cb4-0111-c868-d4b85629605f'::uuid;

-- Query #16581 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '806a285d-4cb4-0111-c868-d4b85629605f'::uuid;

-- Query #16582 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['806a285d-4cb4-0111-c868-d4b85629605f'::uuid]);

-- Query #16583 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '806a285d-4cb4-0111-c868-d4b85629605f'::uuid;

-- Query #16584 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16585 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0d69f9b-c996-8378-cb64-7e5e4c7f9d35'::uuid;

-- Query #16586 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0d69f9b-c996-8378-cb64-7e5e4c7f9d35'::uuid]);

-- Query #16587 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c0d69f9b-c996-8378-cb64-7e5e4c7f9d35'::uuid;

-- Query #16588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0d69f9b-c996-8378-cb64-7e5e4c7f9d35'::uuid, 'Imdb', 'tt11437550')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0d69f9b-c996-8378-cb64-7e5e4c7f9d35'::uuid, 'TvMaze', 1791766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0d69f9b-c996-8378-cb64-7e5e4c7f9d35'::uuid, 'Tvdb', 7546328)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0d69f9b-c996-8378-cb64-7e5e4c7f9d35'::uuid;

-- Query #16592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c0d69f9b-c996-8378-cb64-7e5e4c7f9d35'::uuid;

-- Query #16593 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88a028ab-2879-3958-004e-17488e4eb5c1'::uuid;

-- Query #16594 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c0d69f9b-c996-8378-cb64-7e5e4c7f9d35'::uuid]);

-- Query #16595 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c0d69f9b-c996-8378-cb64-7e5e4c7f9d35'::uuid;

-- Query #16596 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16597 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88a028ab-2879-3958-004e-17488e4eb5c1'::uuid]);

-- Query #16598 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '88a028ab-2879-3958-004e-17488e4eb5c1'::uuid;

-- Query #16599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88a028ab-2879-3958-004e-17488e4eb5c1'::uuid, 'Imdb', 'tt10587894')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88a028ab-2879-3958-004e-17488e4eb5c1'::uuid, 'Tmdb', 2338890)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88a028ab-2879-3958-004e-17488e4eb5c1'::uuid, 'trakt', 4225761)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88a028ab-2879-3958-004e-17488e4eb5c1'::uuid, 'TvMaze', 1902071)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16603 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88a028ab-2879-3958-004e-17488e4eb5c1'::uuid, 'Tvdb', 7834723)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88a028ab-2879-3958-004e-17488e4eb5c1'::uuid, 'TmdbCollection', 2338890)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16605 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88a028ab-2879-3958-004e-17488e4eb5c1'::uuid;

-- Query #16606 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '88a028ab-2879-3958-004e-17488e4eb5c1'::uuid;

-- Query #16607 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['88a028ab-2879-3958-004e-17488e4eb5c1'::uuid]);

-- Query #16608 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '88a028ab-2879-3958-004e-17488e4eb5c1'::uuid;

-- Query #16609 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16610 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '37b237e4-aa95-2a08-015a-6c351ceea58b'::uuid;

-- Query #16611 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['37b237e4-aa95-2a08-015a-6c351ceea58b'::uuid]);

-- Query #16612 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '37b237e4-aa95-2a08-015a-6c351ceea58b'::uuid;

-- Query #16613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('37b237e4-aa95-2a08-015a-6c351ceea58b'::uuid, 'Imdb', 'tt11580348')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16614 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb4eacf4-fc06-db74-247f-029c93892e5f'::uuid;

-- Query #16615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('37b237e4-aa95-2a08-015a-6c351ceea58b'::uuid, 'Tmdb', 2158378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('37b237e4-aa95-2a08-015a-6c351ceea58b'::uuid, 'trakt', 3944346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('37b237e4-aa95-2a08-015a-6c351ceea58b'::uuid, 'TvMaze', 1791760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('37b237e4-aa95-2a08-015a-6c351ceea58b'::uuid, 'Tvdb', 7546322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('37b237e4-aa95-2a08-015a-6c351ceea58b'::uuid, 'TmdbCollection', 2158378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16620 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '37b237e4-aa95-2a08-015a-6c351ceea58b'::uuid;

-- Query #16621 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '37b237e4-aa95-2a08-015a-6c351ceea58b'::uuid;

-- Query #16622 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['37b237e4-aa95-2a08-015a-6c351ceea58b'::uuid]);

-- Query #16623 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '37b237e4-aa95-2a08-015a-6c351ceea58b'::uuid;

-- Query #16624 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16625 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb4eacf4-fc06-db74-247f-029c93892e5f'::uuid]);

-- Query #16626 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fb4eacf4-fc06-db74-247f-029c93892e5f'::uuid;

-- Query #16627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb4eacf4-fc06-db74-247f-029c93892e5f'::uuid, 'Imdb', 'tt10587832')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb4eacf4-fc06-db74-247f-029c93892e5f'::uuid, 'Tmdb', 2302517)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb4eacf4-fc06-db74-247f-029c93892e5f'::uuid, 'trakt', 4160220)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb4eacf4-fc06-db74-247f-029c93892e5f'::uuid, 'TvMaze', 1861266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16631 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb4eacf4-fc06-db74-247f-029c93892e5f'::uuid, 'Tvdb', 7730429)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16632 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb4eacf4-fc06-db74-247f-029c93892e5f'::uuid, 'TmdbCollection', 2302517)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16633 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb4eacf4-fc06-db74-247f-029c93892e5f'::uuid;

-- Query #16634 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fb4eacf4-fc06-db74-247f-029c93892e5f'::uuid;

-- Query #16635 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fb4eacf4-fc06-db74-247f-029c93892e5f'::uuid]);

-- Query #16636 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fb4eacf4-fc06-db74-247f-029c93892e5f'::uuid;

-- Query #16637 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16638 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82b13463-dab8-2856-b106-241d7071d3c3'::uuid;

-- Query #16639 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82b13463-dab8-2856-b106-241d7071d3c3'::uuid]);

-- Query #16640 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82b13463-dab8-2856-b106-241d7071d3c3'::uuid;

-- Query #16641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82b13463-dab8-2856-b106-241d7071d3c3'::uuid, 'Imdb', 'tt11724034')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82b13463-dab8-2856-b106-241d7071d3c3'::uuid, 'Tmdb', 2158376)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82b13463-dab8-2856-b106-241d7071d3c3'::uuid, 'trakt', 3944343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82b13463-dab8-2856-b106-241d7071d3c3'::uuid, 'TvMaze', 1791758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82b13463-dab8-2856-b106-241d7071d3c3'::uuid, 'Tvdb', 7546320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16646 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82b13463-dab8-2856-b106-241d7071d3c3'::uuid, 'TmdbCollection', 2158376)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16647 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82b13463-dab8-2856-b106-241d7071d3c3'::uuid;

-- Query #16648 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82b13463-dab8-2856-b106-241d7071d3c3'::uuid;

-- Query #16649 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99f6bbc4-299e-5381-8faa-27d91bf56e53'::uuid;

-- Query #16650 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82b13463-dab8-2856-b106-241d7071d3c3'::uuid]);

-- Query #16651 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '82b13463-dab8-2856-b106-241d7071d3c3'::uuid;

-- Query #16652 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid, 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16653 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99f6bbc4-299e-5381-8faa-27d91bf56e53'::uuid]);

-- Query #16654 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '99f6bbc4-299e-5381-8faa-27d91bf56e53'::uuid;

-- Query #16655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99f6bbc4-299e-5381-8faa-27d91bf56e53'::uuid, 'Imdb', 'tt10587868')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99f6bbc4-299e-5381-8faa-27d91bf56e53'::uuid, 'Tmdb', 2338889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99f6bbc4-299e-5381-8faa-27d91bf56e53'::uuid, 'trakt', 4225760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99f6bbc4-299e-5381-8faa-27d91bf56e53'::uuid, 'TvMaze', 1861267)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16659 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cc3efbb3-7224-65f4-9ba5-645941c48724'::uuid
ORDER BY b."SortName";

-- Query #16660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99f6bbc4-299e-5381-8faa-27d91bf56e53'::uuid, 'Tvdb', 7619817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16661 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99f6bbc4-299e-5381-8faa-27d91bf56e53'::uuid, 'TmdbCollection', 2338889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16662 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid])
ORDER BY b."Id";

-- Query #16663 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99f6bbc4-299e-5381-8faa-27d91bf56e53'::uuid;

-- Query #16664 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '99f6bbc4-299e-5381-8faa-27d91bf56e53'::uuid;

-- Query #16665 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid])
ORDER BY b."Id";

-- Query #16666 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid])
ORDER BY b."Id";

-- Query #16667 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid])
ORDER BY b."Id";

-- Query #16668 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid, 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid])
ORDER BY b."Id";

-- Query #16669 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ba62275e-6bea-0e61-0265-b7cbb6fcabce'::uuid
ORDER BY b."SortName";

-- Query #16670 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['99f6bbc4-299e-5381-8faa-27d91bf56e53'::uuid]);

-- Query #16671 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '99f6bbc4-299e-5381-8faa-27d91bf56e53'::uuid;

-- Query #16672 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16673 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b5fabad9-93d6-4340-7cff-3fc0bf8fbd92'::uuid
ORDER BY b."SortName";

-- Query #16674 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'cc3efbb3722465f49ba5645941c48724'
ORDER BY b."SortName", b."Name";

-- Query #16675 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #16676 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid
ORDER BY b."SortName";

-- Query #16677 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16678 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16679 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16680 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16681 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16682 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '71ec304f-29bb-360e-df2a-3697574c996d'::uuid
ORDER BY b."SortName";

-- Query #16683 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid
ORDER BY b."SortName";

-- Query #16684 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d8496b9-19ec-0306-496d-1d8648812fce'::uuid;

-- Query #16685 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d8496b9-19ec-0306-496d-1d8648812fce'::uuid]);

-- Query #16686 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1d8496b9-19ec-0306-496d-1d8648812fce'::uuid;

-- Query #16687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d8496b9-19ec-0306-496d-1d8648812fce'::uuid, 'Imdb', 'tt10587950')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d8496b9-19ec-0306-496d-1d8648812fce'::uuid, 'Tmdb', 2376530)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d8496b9-19ec-0306-496d-1d8648812fce'::uuid, 'trakt', 4361898)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d8496b9-19ec-0306-496d-1d8648812fce'::uuid, 'TvMaze', 1910157)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d8496b9-19ec-0306-496d-1d8648812fce'::uuid, 'Tvdb', 7869707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d8496b9-19ec-0306-496d-1d8648812fce'::uuid, 'TmdbCollection', 2376530)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16693 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d8496b9-19ec-0306-496d-1d8648812fce'::uuid;

-- Query #16694 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1d8496b9-19ec-0306-496d-1d8648812fce'::uuid;

-- Query #16695 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1d8496b9-19ec-0306-496d-1d8648812fce'::uuid]);

-- Query #16696 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1d8496b9-19ec-0306-496d-1d8648812fce'::uuid;

-- Query #16697 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16698 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11f8b53c-7f98-8ded-e8e3-a478d60d822f'::uuid;

-- Query #16699 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11f8b53c-7f98-8ded-e8e3-a478d60d822f'::uuid]);

-- Query #16700 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '11f8b53c-7f98-8ded-e8e3-a478d60d822f'::uuid;

-- Query #16701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11f8b53c-7f98-8ded-e8e3-a478d60d822f'::uuid, 'Imdb', 'tt10587962')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11f8b53c-7f98-8ded-e8e3-a478d60d822f'::uuid, 'Tmdb', 2397196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11f8b53c-7f98-8ded-e8e3-a478d60d822f'::uuid, 'trakt', 4375753)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11f8b53c-7f98-8ded-e8e3-a478d60d822f'::uuid, 'TvMaze', 1912443)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11f8b53c-7f98-8ded-e8e3-a478d60d822f'::uuid, 'Tvdb', 7878620)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11f8b53c-7f98-8ded-e8e3-a478d60d822f'::uuid, 'TmdbCollection', 2397196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16707 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11f8b53c-7f98-8ded-e8e3-a478d60d822f'::uuid;

-- Query #16708 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '11f8b53c-7f98-8ded-e8e3-a478d60d822f'::uuid;

-- Query #16709 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['11f8b53c-7f98-8ded-e8e3-a478d60d822f'::uuid]);

-- Query #16710 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '11f8b53c-7f98-8ded-e8e3-a478d60d822f'::uuid;

-- Query #16711 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16712 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cbcc40d5-c391-e69b-7658-2e1dc5162d41'::uuid;

-- Query #16713 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbcc40d5-c391-e69b-7658-2e1dc5162d41'::uuid]);

-- Query #16714 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cbcc40d5-c391-e69b-7658-2e1dc5162d41'::uuid;

-- Query #16715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbcc40d5-c391-e69b-7658-2e1dc5162d41'::uuid, 'Imdb', 'tt10514008')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbcc40d5-c391-e69b-7658-2e1dc5162d41'::uuid, 'Tmdb', 2238992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbcc40d5-c391-e69b-7658-2e1dc5162d41'::uuid, 'trakt', 4036084)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbcc40d5-c391-e69b-7658-2e1dc5162d41'::uuid, 'TvMaze', 1837768)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbcc40d5-c391-e69b-7658-2e1dc5162d41'::uuid, 'Tvdb', 7778510)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbcc40d5-c391-e69b-7658-2e1dc5162d41'::uuid, 'TmdbCollection', 2238992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16721 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cbcc40d5-c391-e69b-7658-2e1dc5162d41'::uuid;

-- Query #16722 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cbcc40d5-c391-e69b-7658-2e1dc5162d41'::uuid;

-- Query #16723 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cbcc40d5-c391-e69b-7658-2e1dc5162d41'::uuid]);

-- Query #16724 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cbcc40d5-c391-e69b-7658-2e1dc5162d41'::uuid;

-- Query #16725 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16726 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a007ed83-2c90-aacc-3ca4-b5853ed0d1d3'::uuid;

-- Query #16727 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a007ed83-2c90-aacc-3ca4-b5853ed0d1d3'::uuid]);

-- Query #16728 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a007ed83-2c90-aacc-3ca4-b5853ed0d1d3'::uuid;

-- Query #16729 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a007ed83-2c90-aacc-3ca4-b5853ed0d1d3'::uuid, 'Imdb', 'tt15766278')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16730 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a007ed83-2c90-aacc-3ca4-b5853ed0d1d3'::uuid, 'Tmdb', 3302727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16731 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a007ed83-2c90-aacc-3ca4-b5853ed0d1d3'::uuid, 'trakt', 5647540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16732 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a007ed83-2c90-aacc-3ca4-b5853ed0d1d3'::uuid, 'TvMaze', 2197186)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16733 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a007ed83-2c90-aacc-3ca4-b5853ed0d1d3'::uuid, 'Tvdb', 8787770)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a007ed83-2c90-aacc-3ca4-b5853ed0d1d3'::uuid, 'TmdbCollection', 3302727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16735 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a007ed83-2c90-aacc-3ca4-b5853ed0d1d3'::uuid;

-- Query #16736 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a007ed83-2c90-aacc-3ca4-b5853ed0d1d3'::uuid;

-- Query #16737 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a007ed83-2c90-aacc-3ca4-b5853ed0d1d3'::uuid]);

-- Query #16738 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a007ed83-2c90-aacc-3ca4-b5853ed0d1d3'::uuid;

-- Query #16739 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16740 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid;

-- Query #16741 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid]);

-- Query #16742 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid;

-- Query #16743 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid, 'Imdb', 'tt7801964')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16744 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid, 'official website', 'https://www.itv.com/hub/manhunt/2a5386')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid, 'Tmdb', 85052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid, 'TmdbCollection', 85052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid, 'Tvdb', 352015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid, 'TvMaze', 34496)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16749 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid;

-- Query #16750 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid;

-- Query #16751 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid]);

-- Query #16752 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid;

-- Query #16753 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16754 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'e965f6f55a6e681a9e6b9f4e5bf9f2b0'
ORDER BY b."SortName", b."Name";

-- Query #16755 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16756 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16757 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16758 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16759 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16760 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid
ORDER BY b."SortName";

-- Query #16761 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16762 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16763 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16764 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16765 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4da5cc30-74b4-e528-f359-6e9a05fd9523'::uuid;

-- Query #16766 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16767 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '71ec304f-29bb-360e-df2a-3697574c996d'::uuid
ORDER BY b."SortName";

-- Query #16768 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid
ORDER BY b."SortName";

-- Query #16769 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'e965f6f55a6e681a9e6b9f4e5bf9f2b0'
ORDER BY b."SortName", b."Name";

-- Query #16770 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4da5cc30-74b4-e528-f359-6e9a05fd9523'::uuid]);

-- Query #16771 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4da5cc30-74b4-e528-f359-6e9a05fd9523'::uuid;

-- Query #16772 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da5cc30-74b4-e528-f359-6e9a05fd9523'::uuid, 'Imdb', 'tt16433302')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16773 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da5cc30-74b4-e528-f359-6e9a05fd9523'::uuid, 'Tmdb', 3302751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16774 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da5cc30-74b4-e528-f359-6e9a05fd9523'::uuid, 'trakt', 5647547)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da5cc30-74b4-e528-f359-6e9a05fd9523'::uuid, 'TvMaze', 2237043)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da5cc30-74b4-e528-f359-6e9a05fd9523'::uuid, 'Tvdb', 8787777)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da5cc30-74b4-e528-f359-6e9a05fd9523'::uuid, 'TmdbCollection', 3302751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16778 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4da5cc30-74b4-e528-f359-6e9a05fd9523'::uuid;

-- Query #16779 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4da5cc30-74b4-e528-f359-6e9a05fd9523'::uuid;

-- Query #16780 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '71ec304f-29bb-360e-df2a-3697574c996d'::uuid;

-- Query #16781 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4da5cc30-74b4-e528-f359-6e9a05fd9523'::uuid]);

-- Query #16782 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4da5cc30-74b4-e528-f359-6e9a05fd9523'::uuid;

-- Query #16783 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16784 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid]);

-- Query #16785 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '71ec304f-29bb-360e-df2a-3697574c996d'::uuid;

-- Query #16786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'Tvdb', 789507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'TvMaze', 80491)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16788 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '71ec304f-29bb-360e-df2a-3697574c996d'::uuid;

-- Query #16789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '71ec304f-29bb-360e-df2a-3697574c996d'::uuid;

-- Query #16790 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid]);

-- Query #16791 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '71ec304f-29bb-360e-df2a-3697574c996d'::uuid;

-- Query #16792 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16793 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'e965f6f55a6e681a9e6b9f4e5bf9f2b0'
ORDER BY b."SortName", b."Name";

-- Query #16794 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3f8cc7bf-d78c-4eca-4c73-ff4394ea94bf'::uuid;

-- Query #16795 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3f8cc7bf-d78c-4eca-4c73-ff4394ea94bf'::uuid]);

-- Query #16796 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid;

-- Query #16797 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3f8cc7bf-d78c-4eca-4c73-ff4394ea94bf'::uuid;

-- Query #16798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f8cc7bf-d78c-4eca-4c73-ff4394ea94bf'::uuid, 'Imdb', 'tt12100292')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16799 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f8cc7bf-d78c-4eca-4c73-ff4394ea94bf'::uuid, 'Tmdb', 2933507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16800 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid]);

-- Query #16801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f8cc7bf-d78c-4eca-4c73-ff4394ea94bf'::uuid, 'trakt', 5151361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f8cc7bf-d78c-4eca-4c73-ff4394ea94bf'::uuid, 'TvMaze', 2150935)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16803 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid;

-- Query #16804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f8cc7bf-d78c-4eca-4c73-ff4394ea94bf'::uuid, 'Tvdb', 8385645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid, 'Tvdb', 1907177)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f8cc7bf-d78c-4eca-4c73-ff4394ea94bf'::uuid, 'TmdbCollection', 2933507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid, 'TvMaze', 102492)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3f8cc7bf-d78c-4eca-4c73-ff4394ea94bf'::uuid;

-- Query #16809 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid;

-- Query #16810 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3f8cc7bf-d78c-4eca-4c73-ff4394ea94bf'::uuid;

-- Query #16811 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid;

-- Query #16812 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3f8cc7bf-d78c-4eca-4c73-ff4394ea94bf'::uuid]);

-- Query #16813 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid]);

-- Query #16814 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid;

-- Query #16815 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3f8cc7bf-d78c-4eca-4c73-ff4394ea94bf'::uuid;

-- Query #16816 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16817 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16818 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e965f6f5-5a6e-681a-9e6b-9f4e5bf9f2b0'::uuid
ORDER BY b."SortName";

-- Query #16819 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16820 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16821 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16822 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16823 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16824 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '71ec304f-29bb-360e-df2a-3697574c996d'::uuid
ORDER BY b."SortName";

-- Query #16825 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid
ORDER BY b."SortName";

-- Query #16826 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'e965f6f55a6e681a9e6b9f4e5bf9f2b0'
ORDER BY b."SortName", b."Name";

-- Query #16827 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16828 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16829 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16830 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16831 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['71ec304f-29bb-360e-df2a-3697574c996d'::uuid, 'da63ef78-65d2-fb9f-fa0f-8fe72c471a86'::uuid])
ORDER BY b."Id";

-- Query #16832 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid
ORDER BY b."SortName";

-- Query #16833 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, '9f696836-d749-64e6-bae7-8e452ba21192'::uuid])
ORDER BY b."Id";

-- Query #16834 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, '9f696836-d749-64e6-bae7-8e452ba21192'::uuid])
ORDER BY b."Id";

-- Query #16835 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, '9f696836-d749-64e6-bae7-8e452ba21192'::uuid])
ORDER BY b."Id";

-- Query #16836 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, '9f696836-d749-64e6-bae7-8e452ba21192'::uuid])
ORDER BY b."Id";

-- Query #16837 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, '9f696836-d749-64e6-bae7-8e452ba21192'::uuid])
ORDER BY b."Id";

-- Query #16838 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd27a5500-7e9f-8609-01b9-820e2b014152'::uuid;

-- Query #16839 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bdabe5de-e160-dec2-5307-27983c3926c2'::uuid
ORDER BY b."SortName";

-- Query #16840 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d27a5500-7e9f-8609-01b9-820e2b014152'::uuid]);

-- Query #16841 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd27a5500-7e9f-8609-01b9-820e2b014152'::uuid;

-- Query #16842 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d27a5500-7e9f-8609-01b9-820e2b014152'::uuid, 'Imdb', 'tt16118304')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d27a5500-7e9f-8609-01b9-820e2b014152'::uuid, 'Tmdb', 3302737)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d27a5500-7e9f-8609-01b9-820e2b014152'::uuid, 'trakt', 5647543)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16845 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d27a5500-7e9f-8609-01b9-820e2b014152'::uuid, 'TvMaze', 2219483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d27a5500-7e9f-8609-01b9-820e2b014152'::uuid, 'Tvdb', 8787773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16847 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d27a5500-7e9f-8609-01b9-820e2b014152'::uuid, 'TmdbCollection', 3302737)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16848 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd27a5500-7e9f-8609-01b9-820e2b014152'::uuid;

-- Query #16849 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd27a5500-7e9f-8609-01b9-820e2b014152'::uuid;

-- Query #16850 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid
ORDER BY b."SortName";

-- Query #16851 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d27a5500-7e9f-8609-01b9-820e2b014152'::uuid]);

-- Query #16852 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd27a5500-7e9f-8609-01b9-820e2b014152'::uuid;

-- Query #16853 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16854 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid
ORDER BY b."SortName";

-- Query #16855 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9f696836-d749-64e6-bae7-8e452ba21192'::uuid
ORDER BY b."SortName";

-- Query #16856 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8dc5109a-f864-1fb5-37fb-dbdd384c68a7'::uuid;

-- Query #16857 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8dc5109a-f864-1fb5-37fb-dbdd384c68a7'::uuid]);

-- Query #16858 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8dc5109a-f864-1fb5-37fb-dbdd384c68a7'::uuid;

-- Query #16859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8dc5109a-f864-1fb5-37fb-dbdd384c68a7'::uuid, 'Imdb', 'tt14569776')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8dc5109a-f864-1fb5-37fb-dbdd384c68a7'::uuid, 'Tmdb', 3302739)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8dc5109a-f864-1fb5-37fb-dbdd384c68a7'::uuid, 'trakt', 5647544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16862 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8dc5109a-f864-1fb5-37fb-dbdd384c68a7'::uuid, 'TvMaze', 2229008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8dc5109a-f864-1fb5-37fb-dbdd384c68a7'::uuid, 'Tvdb', 8787774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16864 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8dc5109a-f864-1fb5-37fb-dbdd384c68a7'::uuid, 'TmdbCollection', 3302739)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16865 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8dc5109a-f864-1fb5-37fb-dbdd384c68a7'::uuid;

-- Query #16866 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8dc5109a-f864-1fb5-37fb-dbdd384c68a7'::uuid;

-- Query #16867 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8dc5109a-f864-1fb5-37fb-dbdd384c68a7'::uuid]);

-- Query #16868 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8dc5109a-f864-1fb5-37fb-dbdd384c68a7'::uuid;

-- Query #16869 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16870 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '86415353-13ca-3b00-8e68-a65081e763cd'::uuid;

-- Query #16871 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['86415353-13ca-3b00-8e68-a65081e763cd'::uuid]);

-- Query #16872 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '86415353-13ca-3b00-8e68-a65081e763cd'::uuid;

-- Query #16873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86415353-13ca-3b00-8e68-a65081e763cd'::uuid, 'TmdbCollection', 3302743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16874 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86415353-13ca-3b00-8e68-a65081e763cd'::uuid, 'Imdb', 'tt15977872')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16875 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86415353-13ca-3b00-8e68-a65081e763cd'::uuid, 'Tmdb', 3302743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16876 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86415353-13ca-3b00-8e68-a65081e763cd'::uuid, 'trakt', 5647545)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16877 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86415353-13ca-3b00-8e68-a65081e763cd'::uuid, 'TvMaze', 2232306)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86415353-13ca-3b00-8e68-a65081e763cd'::uuid, 'Tvdb', 8787775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16879 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '86415353-13ca-3b00-8e68-a65081e763cd'::uuid;

-- Query #16880 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '86415353-13ca-3b00-8e68-a65081e763cd'::uuid;

-- Query #16881 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['86415353-13ca-3b00-8e68-a65081e763cd'::uuid]);

-- Query #16882 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '86415353-13ca-3b00-8e68-a65081e763cd'::uuid;

-- Query #16883 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16884 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '63567b5e-5358-2441-4d30-df71f0d83880'::uuid;

-- Query #16885 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['63567b5e-5358-2441-4d30-df71f0d83880'::uuid]);

-- Query #16886 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '63567b5e-5358-2441-4d30-df71f0d83880'::uuid;

-- Query #16887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63567b5e-5358-2441-4d30-df71f0d83880'::uuid, 'Imdb', 'tt16433298')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63567b5e-5358-2441-4d30-df71f0d83880'::uuid, 'Tmdb', 3302746)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63567b5e-5358-2441-4d30-df71f0d83880'::uuid, 'trakt', 5647546)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63567b5e-5358-2441-4d30-df71f0d83880'::uuid, 'TvMaze', 2237042)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63567b5e-5358-2441-4d30-df71f0d83880'::uuid, 'Tvdb', 8787776)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63567b5e-5358-2441-4d30-df71f0d83880'::uuid, 'TmdbCollection', 3302746)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16893 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '63567b5e-5358-2441-4d30-df71f0d83880'::uuid;

-- Query #16894 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '63567b5e-5358-2441-4d30-df71f0d83880'::uuid;

-- Query #16895 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['63567b5e-5358-2441-4d30-df71f0d83880'::uuid]);

-- Query #16896 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '63567b5e-5358-2441-4d30-df71f0d83880'::uuid;

-- Query #16897 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16898 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid;

-- Query #16899 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid]);

-- Query #16900 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid;

-- Query #16901 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, 'eidr', '10.5240/9A65-C055-BAAE-3A32-DFA2-O')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, 'facebook', 'NBCManifest')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, 'fan site', 'https://manifest.fandom.com/wiki/Manifest')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16904 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, 'Imdb', 'tt8421350')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16905 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, 'instagram', 'nbcmanifest')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, 'official website', 'https://www.netflix.com/title/80241318')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, 'reddit', 'ManifestNBC')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, 'Tmdb', 79696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, 'TmdbCollection', 79696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, 'Tvdb', 349271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, 'TvMaze', 31365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, 'wikidata', 'Q53406553')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, 'x (twitter)', 'NBCManifest')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, 'youtube', 'UC5ERTsrnLJQp9xDmxuC1cNA')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16915 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, 'Zap2It', 'SH02969438')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16916 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid;

-- Query #16917 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid;

-- Query #16918 | logged_duration_ms=2 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dc072171-3cfa-b056-7e61-e221dc2ce6df'::uuid;

-- Query #16919 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid]);

-- Query #16920 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid;

-- Query #16921 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16922 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dc072171-3cfa-b056-7e61-e221dc2ce6df'::uuid]);

-- Query #16923 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dc072171-3cfa-b056-7e61-e221dc2ce6df'::uuid;

-- Query #16924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc072171-3cfa-b056-7e61-e221dc2ce6df'::uuid, 'Imdb', 'tt13144958')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc072171-3cfa-b056-7e61-e221dc2ce6df'::uuid, 'Tmdb', 3141517)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc072171-3cfa-b056-7e61-e221dc2ce6df'::uuid, 'trakt', 5389023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc072171-3cfa-b056-7e61-e221dc2ce6df'::uuid, 'TvMaze', 2150943)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16928 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc072171-3cfa-b056-7e61-e221dc2ce6df'::uuid, 'Tvdb', 8621810)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16929 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc072171-3cfa-b056-7e61-e221dc2ce6df'::uuid, 'TmdbCollection', 3141517)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16930 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dc072171-3cfa-b056-7e61-e221dc2ce6df'::uuid;

-- Query #16931 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dc072171-3cfa-b056-7e61-e221dc2ce6df'::uuid;

-- Query #16932 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'f34e6cb1513ac7e5a061eacd9fefe658'
ORDER BY b."SortName", b."Name";

-- Query #16933 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dc072171-3cfa-b056-7e61-e221dc2ce6df'::uuid]);

-- Query #16934 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dc072171-3cfa-b056-7e61-e221dc2ce6df'::uuid;

-- Query #16935 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16936 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid
ORDER BY b."SortName";

-- Query #16937 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, '9f696836-d749-64e6-bae7-8e452ba21192'::uuid])
ORDER BY b."Id";

-- Query #16938 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, '9f696836-d749-64e6-bae7-8e452ba21192'::uuid])
ORDER BY b."Id";

-- Query #16939 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, '9f696836-d749-64e6-bae7-8e452ba21192'::uuid])
ORDER BY b."Id";

-- Query #16940 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, '9f696836-d749-64e6-bae7-8e452ba21192'::uuid])
ORDER BY b."Id";

-- Query #16941 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, '9f696836-d749-64e6-bae7-8e452ba21192'::uuid])
ORDER BY b."Id";

-- Query #16942 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2a254650-ccd6-5c1e-3165-b6714b398971'::uuid;

-- Query #16943 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bdabe5de-e160-dec2-5307-27983c3926c2'::uuid
ORDER BY b."SortName";

-- Query #16944 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2a254650-ccd6-5c1e-3165-b6714b398971'::uuid]);

-- Query #16945 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2a254650-ccd6-5c1e-3165-b6714b398971'::uuid;

-- Query #16946 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a254650-ccd6-5c1e-3165-b6714b398971'::uuid, 'Imdb', 'tt16102172')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a254650-ccd6-5c1e-3165-b6714b398971'::uuid, 'Tmdb', 3302734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a254650-ccd6-5c1e-3165-b6714b398971'::uuid, 'trakt', 5647542)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a254650-ccd6-5c1e-3165-b6714b398971'::uuid, 'TvMaze', 2217402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a254650-ccd6-5c1e-3165-b6714b398971'::uuid, 'Tvdb', 8787772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a254650-ccd6-5c1e-3165-b6714b398971'::uuid, 'TmdbCollection', 3302734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16952 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2a254650-ccd6-5c1e-3165-b6714b398971'::uuid;

-- Query #16953 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2a254650-ccd6-5c1e-3165-b6714b398971'::uuid;

-- Query #16954 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid
ORDER BY b."SortName";

-- Query #16955 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2a254650-ccd6-5c1e-3165-b6714b398971'::uuid]);

-- Query #16956 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2a254650-ccd6-5c1e-3165-b6714b398971'::uuid;

-- Query #16957 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16958 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid
ORDER BY b."SortName";

-- Query #16959 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9f696836-d749-64e6-bae7-8e452ba21192'::uuid
ORDER BY b."SortName";

-- Query #16960 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'f34e6cb1513ac7e5a061eacd9fefe658'
ORDER BY b."SortName", b."Name";

-- Query #16961 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e04e53a-796d-3f42-7e57-b6cd09ff4394'::uuid;

-- Query #16962 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bdabe5de-e160-dec2-5307-27983c3926c2'::uuid;

-- Query #16963 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e04e53a-796d-3f42-7e57-b6cd09ff4394'::uuid]);

-- Query #16964 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8e04e53a-796d-3f42-7e57-b6cd09ff4394'::uuid;

-- Query #16965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e04e53a-796d-3f42-7e57-b6cd09ff4394'::uuid, 'Imdb', 'tt15977870')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e04e53a-796d-3f42-7e57-b6cd09ff4394'::uuid, 'Tmdb', 3302732)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e04e53a-796d-3f42-7e57-b6cd09ff4394'::uuid, 'trakt', 5647541)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e04e53a-796d-3f42-7e57-b6cd09ff4394'::uuid, 'TvMaze', 2214224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16969 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e04e53a-796d-3f42-7e57-b6cd09ff4394'::uuid, 'Tvdb', 8787771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16970 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e04e53a-796d-3f42-7e57-b6cd09ff4394'::uuid, 'TmdbCollection', 3302732)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16971 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e04e53a-796d-3f42-7e57-b6cd09ff4394'::uuid;

-- Query #16972 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8e04e53a-796d-3f42-7e57-b6cd09ff4394'::uuid;

-- Query #16973 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8e04e53a-796d-3f42-7e57-b6cd09ff4394'::uuid]);

-- Query #16974 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8e04e53a-796d-3f42-7e57-b6cd09ff4394'::uuid;

-- Query #16975 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16976 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid]);

-- Query #16977 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bdabe5de-e160-dec2-5307-27983c3926c2'::uuid;

-- Query #16978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'TmdbCollection', 79696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'wikidata', 'Q53406553')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'Tvdb', 349271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'Tmdb', 79696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'Imdb', 'tt8421350')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'TvMaze', 31365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16984 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'eidr', '10.5240/9A65-C055-BAAE-3A32-DFA2-O')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16985 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'Zap2It', 'SH02969438')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16986 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bdabe5de-e160-dec2-5307-27983c3926c2'::uuid;

-- Query #16987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bdabe5de-e160-dec2-5307-27983c3926c2'::uuid;

-- Query #16988 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid]);

-- Query #16989 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bdabe5de-e160-dec2-5307-27983c3926c2'::uuid;

-- Query #16990 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #16991 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'f34e6cb1513ac7e5a061eacd9fefe658'
ORDER BY b."SortName", b."Name";

-- Query #16992 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd4d85e8-b957-e278-e041-f9c69048429c'::uuid;

-- Query #16993 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd4d85e8-b957-e278-e041-f9c69048429c'::uuid]);

-- Query #16994 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bd4d85e8-b957-e278-e041-f9c69048429c'::uuid;

-- Query #16995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd4d85e8-b957-e278-e041-f9c69048429c'::uuid, 'Imdb', 'tt23642510')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd4d85e8-b957-e278-e041-f9c69048429c'::uuid, 'Tmdb', 5605559)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd4d85e8-b957-e278-e041-f9c69048429c'::uuid, 'trakt', 12142880)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16998 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd4d85e8-b957-e278-e041-f9c69048429c'::uuid, 'TvMaze', 3043780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #16999 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd4d85e8-b957-e278-e041-f9c69048429c'::uuid, 'Tvdb', 10718299)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17000 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd4d85e8-b957-e278-e041-f9c69048429c'::uuid, 'TmdbCollection', 5605559)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17001 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd4d85e8-b957-e278-e041-f9c69048429c'::uuid;

-- Query #17002 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bd4d85e8-b957-e278-e041-f9c69048429c'::uuid;

-- Query #17003 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bd4d85e8-b957-e278-e041-f9c69048429c'::uuid]);

-- Query #17004 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bd4d85e8-b957-e278-e041-f9c69048429c'::uuid;

-- Query #17005 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17006 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid;

-- Query #17007 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d4e13a1-aea8-fdfc-e22d-02b25d29e6c4'::uuid;

-- Query #17008 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid]);

-- Query #17009 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid;

-- Query #17010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'wikidata', 'Q53406553')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'TmdbCollection', 79696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'Tvdb', 349271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'Tmdb', 79696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'Imdb', 'tt8421350')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'TvMaze', 31365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'eidr', '10.5240/9A65-C055-BAAE-3A32-DFA2-O')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'Zap2It', 'SH02969438')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17018 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid;

-- Query #17019 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid;

-- Query #17020 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid]);

-- Query #17021 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid;

-- Query #17022 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17023 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d4e13a1-aea8-fdfc-e22d-02b25d29e6c4'::uuid]);

-- Query #17024 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1d4e13a1-aea8-fdfc-e22d-02b25d29e6c4'::uuid;

-- Query #17025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d4e13a1-aea8-fdfc-e22d-02b25d29e6c4'::uuid, 'Imdb', 'tt23642498')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d4e13a1-aea8-fdfc-e22d-02b25d29e6c4'::uuid, 'Tmdb', 4049002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d4e13a1-aea8-fdfc-e22d-02b25d29e6c4'::uuid, 'TvMaze', 2330462)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d4e13a1-aea8-fdfc-e22d-02b25d29e6c4'::uuid, 'Tvdb', 9171971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d4e13a1-aea8-fdfc-e22d-02b25d29e6c4'::uuid, 'tv maze', 2330462)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d4e13a1-aea8-fdfc-e22d-02b25d29e6c4'::uuid, 'trakt', 6864683)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17031 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d4e13a1-aea8-fdfc-e22d-02b25d29e6c4'::uuid, 'TmdbCollection', 4049002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17032 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d4e13a1-aea8-fdfc-e22d-02b25d29e6c4'::uuid;

-- Query #17033 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'f34e6cb1513ac7e5a061eacd9fefe658'
ORDER BY b."SortName", b."Name";

-- Query #17034 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1d4e13a1-aea8-fdfc-e22d-02b25d29e6c4'::uuid;

-- Query #17035 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1d4e13a1-aea8-fdfc-e22d-02b25d29e6c4'::uuid]);

-- Query #17036 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1d4e13a1-aea8-fdfc-e22d-02b25d29e6c4'::uuid;

-- Query #17037 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17038 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7cd0eb88-83a1-088e-acc2-a5e22d92f60b'::uuid;

-- Query #17039 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7cd0eb88-83a1-088e-acc2-a5e22d92f60b'::uuid]);

-- Query #17040 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7cd0eb88-83a1-088e-acc2-a5e22d92f60b'::uuid;

-- Query #17041 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7cd0eb88-83a1-088e-acc2-a5e22d92f60b'::uuid, 'Imdb', 'tt23642520')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17042 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7cd0eb88-83a1-088e-acc2-a5e22d92f60b'::uuid, 'Tmdb', 5605561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17043 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7cd0eb88-83a1-088e-acc2-a5e22d92f60b'::uuid, 'trakt', 12288013)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17044 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7cd0eb88-83a1-088e-acc2-a5e22d92f60b'::uuid, 'TvMaze', 3058667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17045 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid;

-- Query #17046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7cd0eb88-83a1-088e-acc2-a5e22d92f60b'::uuid, 'Tvdb', 10771757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7cd0eb88-83a1-088e-acc2-a5e22d92f60b'::uuid, 'TmdbCollection', 5605561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17048 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7cd0eb88-83a1-088e-acc2-a5e22d92f60b'::uuid;

-- Query #17049 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7cd0eb88-83a1-088e-acc2-a5e22d92f60b'::uuid;

-- Query #17050 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7cd0eb88-83a1-088e-acc2-a5e22d92f60b'::uuid]);

-- Query #17051 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7cd0eb88-83a1-088e-acc2-a5e22d92f60b'::uuid;

-- Query #17052 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17053 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid]);

-- Query #17054 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid;

-- Query #17055 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'TmdbCollection', 79696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17056 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'Tvdb', 349271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17057 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'Tmdb', 79696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'Imdb', 'tt8421350')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'TvMaze', 31365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'eidr', '10.5240/9A65-C055-BAAE-3A32-DFA2-O')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'Zap2It', 'SH02969438')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'wikidata', 'Q53406553')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17063 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid;

-- Query #17064 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid;

-- Query #17065 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid]);

-- Query #17066 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid;

-- Query #17067 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17068 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'f34e6cb1513ac7e5a061eacd9fefe658'
ORDER BY b."SortName", b."Name";

-- Query #17069 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '020eda83-469c-ace4-05b0-78dad1f760fa'::uuid;

-- Query #17070 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['020eda83-469c-ace4-05b0-78dad1f760fa'::uuid]);

-- Query #17071 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '020eda83-469c-ace4-05b0-78dad1f760fa'::uuid;

-- Query #17072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('020eda83-469c-ace4-05b0-78dad1f760fa'::uuid, 'Imdb', 'tt23642508')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('020eda83-469c-ace4-05b0-78dad1f760fa'::uuid, 'Tmdb', 5427573)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('020eda83-469c-ace4-05b0-78dad1f760fa'::uuid, 'trakt', 12025311)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('020eda83-469c-ace4-05b0-78dad1f760fa'::uuid, 'TvMaze', 2921815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('020eda83-469c-ace4-05b0-78dad1f760fa'::uuid, 'Tvdb', 10220932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17077 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('020eda83-469c-ace4-05b0-78dad1f760fa'::uuid, 'TmdbCollection', 5427573)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17078 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '020eda83-469c-ace4-05b0-78dad1f760fa'::uuid;

-- Query #17079 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '020eda83-469c-ace4-05b0-78dad1f760fa'::uuid;

-- Query #17080 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['020eda83-469c-ace4-05b0-78dad1f760fa'::uuid]);

-- Query #17081 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '020eda83-469c-ace4-05b0-78dad1f760fa'::uuid;

-- Query #17082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f696836-d749-64e6-bae7-8e452ba21192'::uuid;

-- Query #17084 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid]);

-- Query #17085 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9f696836-d749-64e6-bae7-8e452ba21192'::uuid;

-- Query #17086 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'Tvdb', 349271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'Tmdb', 79696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'Imdb', 'tt8421350')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'TvMaze', 31365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'eidr', '10.5240/9A65-C055-BAAE-3A32-DFA2-O')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'Zap2It', 'SH02969438')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'wikidata', 'Q53406553')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'TmdbCollection', 79696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17094 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f696836-d749-64e6-bae7-8e452ba21192'::uuid;

-- Query #17095 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9f696836-d749-64e6-bae7-8e452ba21192'::uuid;

-- Query #17096 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid]);

-- Query #17097 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9f696836-d749-64e6-bae7-8e452ba21192'::uuid;

-- Query #17098 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17099 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd9d750e8-7012-e1aa-3d60-892f82c2c5cc'::uuid;

-- Query #17100 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d9d750e8-7012-e1aa-3d60-892f82c2c5cc'::uuid]);

-- Query #17101 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd9d750e8-7012-e1aa-3d60-892f82c2c5cc'::uuid;

-- Query #17102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9d750e8-7012-e1aa-3d60-892f82c2c5cc'::uuid, 'Imdb', 'tt23642524')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9d750e8-7012-e1aa-3d60-892f82c2c5cc'::uuid, 'Tmdb', 5605562)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9d750e8-7012-e1aa-3d60-892f82c2c5cc'::uuid, 'trakt', 12288014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9d750e8-7012-e1aa-3d60-892f82c2c5cc'::uuid, 'TvMaze', 3058668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9d750e8-7012-e1aa-3d60-892f82c2c5cc'::uuid, 'Tvdb', 10771758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9d750e8-7012-e1aa-3d60-892f82c2c5cc'::uuid, 'TmdbCollection', 5605562)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17108 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd9d750e8-7012-e1aa-3d60-892f82c2c5cc'::uuid;

-- Query #17109 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd9d750e8-7012-e1aa-3d60-892f82c2c5cc'::uuid;

-- Query #17110 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d9d750e8-7012-e1aa-3d60-892f82c2c5cc'::uuid]);

-- Query #17111 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd9d750e8-7012-e1aa-3d60-892f82c2c5cc'::uuid;

-- Query #17112 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17113 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '46a07691-61b9-5be7-e362-1ffdf3b28568'::uuid;

-- Query #17114 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46a07691-61b9-5be7-e362-1ffdf3b28568'::uuid]);

-- Query #17115 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '46a07691-61b9-5be7-e362-1ffdf3b28568'::uuid;

-- Query #17116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46a07691-61b9-5be7-e362-1ffdf3b28568'::uuid, 'Imdb', 'tt8473916')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46a07691-61b9-5be7-e362-1ffdf3b28568'::uuid, 'Tmdb', 1673171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46a07691-61b9-5be7-e362-1ffdf3b28568'::uuid, 'TvMaze', 1580458)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46a07691-61b9-5be7-e362-1ffdf3b28568'::uuid, 'Tvdb', 6991653)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46a07691-61b9-5be7-e362-1ffdf3b28568'::uuid, 'tv maze', 1580458)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46a07691-61b9-5be7-e362-1ffdf3b28568'::uuid, 'trakt', 3181472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46a07691-61b9-5be7-e362-1ffdf3b28568'::uuid, 'eidr', '10.5240/C950-C2E1-B6F8-E6FC-8E4E-O')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46a07691-61b9-5be7-e362-1ffdf3b28568'::uuid, 'TmdbCollection', 1673171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17124 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '46a07691-61b9-5be7-e362-1ffdf3b28568'::uuid;

-- Query #17125 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '46a07691-61b9-5be7-e362-1ffdf3b28568'::uuid;

-- Query #17126 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['46a07691-61b9-5be7-e362-1ffdf3b28568'::uuid]);

-- Query #17127 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '46a07691-61b9-5be7-e362-1ffdf3b28568'::uuid;

-- Query #17128 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17129 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fcb4c8b-8b73-71c5-5089-5defb4785596'::uuid;

-- Query #17130 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7fcb4c8b-8b73-71c5-5089-5defb4785596'::uuid]);

-- Query #17131 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7fcb4c8b-8b73-71c5-5089-5defb4785596'::uuid;

-- Query #17132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fcb4c8b-8b73-71c5-5089-5defb4785596'::uuid, 'Imdb', 'tt23642488')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fcb4c8b-8b73-71c5-5089-5defb4785596'::uuid, 'Tmdb', 4049000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fcb4c8b-8b73-71c5-5089-5defb4785596'::uuid, 'TvMaze', 2330460)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fcb4c8b-8b73-71c5-5089-5defb4785596'::uuid, 'Tvdb', 9171968)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fcb4c8b-8b73-71c5-5089-5defb4785596'::uuid, 'tv maze', 2330460)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fcb4c8b-8b73-71c5-5089-5defb4785596'::uuid, 'trakt', 6864681)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fcb4c8b-8b73-71c5-5089-5defb4785596'::uuid, 'TmdbCollection', 4049000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17139 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fcb4c8b-8b73-71c5-5089-5defb4785596'::uuid;

-- Query #17140 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7fcb4c8b-8b73-71c5-5089-5defb4785596'::uuid;

-- Query #17141 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7fcb4c8b-8b73-71c5-5089-5defb4785596'::uuid]);

-- Query #17142 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7fcb4c8b-8b73-71c5-5089-5defb4785596'::uuid;

-- Query #17143 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17144 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a9ad4ec-3a74-f4d3-da7a-daa347a5fd24'::uuid;

-- Query #17145 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a9ad4ec-3a74-f4d3-da7a-daa347a5fd24'::uuid]);

-- Query #17146 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9a9ad4ec-3a74-f4d3-da7a-daa347a5fd24'::uuid;

-- Query #17147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a9ad4ec-3a74-f4d3-da7a-daa347a5fd24'::uuid, 'trakt', 3143062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17148 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a9ad4ec-3a74-f4d3-da7a-daa347a5fd24'::uuid, 'eidr', '10.5240/45A3-E156-817B-C93D-D7B6-Y')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a9ad4ec-3a74-f4d3-da7a-daa347a5fd24'::uuid, 'TmdbCollection', 1594746)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a9ad4ec-3a74-f4d3-da7a-daa347a5fd24'::uuid, 'Imdb', 'tt8473910')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a9ad4ec-3a74-f4d3-da7a-daa347a5fd24'::uuid, 'Tmdb', 1594746)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a9ad4ec-3a74-f4d3-da7a-daa347a5fd24'::uuid, 'TvMaze', 1536081)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a9ad4ec-3a74-f4d3-da7a-daa347a5fd24'::uuid, 'Tvdb', 6814843)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17154 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a9ad4ec-3a74-f4d3-da7a-daa347a5fd24'::uuid, 'tv maze', 1536081)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17155 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a9ad4ec-3a74-f4d3-da7a-daa347a5fd24'::uuid;

-- Query #17156 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9a9ad4ec-3a74-f4d3-da7a-daa347a5fd24'::uuid;

-- Query #17157 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9a9ad4ec-3a74-f4d3-da7a-daa347a5fd24'::uuid]);

-- Query #17158 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9a9ad4ec-3a74-f4d3-da7a-daa347a5fd24'::uuid;

-- Query #17159 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17160 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e8c045f-76e2-4df9-f8f0-604cb1e8bcf3'::uuid;

-- Query #17161 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e8c045f-76e2-4df9-f8f0-604cb1e8bcf3'::uuid]);

-- Query #17162 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3e8c045f-76e2-4df9-f8f0-604cb1e8bcf3'::uuid;

-- Query #17163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e8c045f-76e2-4df9-f8f0-604cb1e8bcf3'::uuid, 'Imdb', 'tt17663758')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e8c045f-76e2-4df9-f8f0-604cb1e8bcf3'::uuid, 'Tmdb', 3728887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e8c045f-76e2-4df9-f8f0-604cb1e8bcf3'::uuid, 'TvMaze', 2330215)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e8c045f-76e2-4df9-f8f0-604cb1e8bcf3'::uuid, 'Tvdb', 9171965)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e8c045f-76e2-4df9-f8f0-604cb1e8bcf3'::uuid, 'tv maze', 2330215)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e8c045f-76e2-4df9-f8f0-604cb1e8bcf3'::uuid, 'trakt', 6384457)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17169 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e8c045f-76e2-4df9-f8f0-604cb1e8bcf3'::uuid, 'TmdbCollection', 3728887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17170 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e8c045f-76e2-4df9-f8f0-604cb1e8bcf3'::uuid;

-- Query #17171 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3e8c045f-76e2-4df9-f8f0-604cb1e8bcf3'::uuid;

-- Query #17172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7eed6c07-37d3-234a-4417-dff82a6ea5a5'::uuid;

-- Query #17173 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3e8c045f-76e2-4df9-f8f0-604cb1e8bcf3'::uuid]);

-- Query #17174 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3e8c045f-76e2-4df9-f8f0-604cb1e8bcf3'::uuid;

-- Query #17175 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17176 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7eed6c07-37d3-234a-4417-dff82a6ea5a5'::uuid]);

-- Query #17177 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7eed6c07-37d3-234a-4417-dff82a6ea5a5'::uuid;

-- Query #17178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7eed6c07-37d3-234a-4417-dff82a6ea5a5'::uuid, 'eidr', '10.5240/8EB4-1E79-3F09-5043-9377-U')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7eed6c07-37d3-234a-4417-dff82a6ea5a5'::uuid, 'TmdbCollection', 1663157)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7eed6c07-37d3-234a-4417-dff82a6ea5a5'::uuid, 'Imdb', 'tt8941518')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7eed6c07-37d3-234a-4417-dff82a6ea5a5'::uuid, 'Tmdb', 1663157)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7eed6c07-37d3-234a-4417-dff82a6ea5a5'::uuid, 'TvMaze', 1580456)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17183 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7eed6c07-37d3-234a-4417-dff82a6ea5a5'::uuid, 'Tvdb', 6972625)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17184 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7eed6c07-37d3-234a-4417-dff82a6ea5a5'::uuid, 'tv maze', 1580456)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17185 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7eed6c07-37d3-234a-4417-dff82a6ea5a5'::uuid, 'trakt', 3181464)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17186 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7eed6c07-37d3-234a-4417-dff82a6ea5a5'::uuid;

-- Query #17187 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7eed6c07-37d3-234a-4417-dff82a6ea5a5'::uuid;

-- Query #17188 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7eed6c07-37d3-234a-4417-dff82a6ea5a5'::uuid]);

-- Query #17189 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7eed6c07-37d3-234a-4417-dff82a6ea5a5'::uuid;

-- Query #17190 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17191 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db56dfb0-7bb6-3987-abde-fabbc261dfa7'::uuid;

-- Query #17192 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db56dfb0-7bb6-3987-abde-fabbc261dfa7'::uuid]);

-- Query #17193 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'db56dfb0-7bb6-3987-abde-fabbc261dfa7'::uuid;

-- Query #17194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db56dfb0-7bb6-3987-abde-fabbc261dfa7'::uuid, 'TmdbCollection', 3728945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db56dfb0-7bb6-3987-abde-fabbc261dfa7'::uuid, 'Imdb', 'tt20872064')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db56dfb0-7bb6-3987-abde-fabbc261dfa7'::uuid, 'Tmdb', 3728945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db56dfb0-7bb6-3987-abde-fabbc261dfa7'::uuid, 'TvMaze', 2330458)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db56dfb0-7bb6-3987-abde-fabbc261dfa7'::uuid, 'Tvdb', 9171966)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17199 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db56dfb0-7bb6-3987-abde-fabbc261dfa7'::uuid, 'tv maze', 2330458)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17200 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db56dfb0-7bb6-3987-abde-fabbc261dfa7'::uuid, 'trakt', 6384458)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17201 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db56dfb0-7bb6-3987-abde-fabbc261dfa7'::uuid;

-- Query #17202 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'db56dfb0-7bb6-3987-abde-fabbc261dfa7'::uuid;

-- Query #17203 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3505f547-e260-5699-54d3-a692167eb722'::uuid;

-- Query #17204 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3505f547-e260-5699-54d3-a692167eb722'::uuid]);

-- Query #17205 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3505f547-e260-5699-54d3-a692167eb722'::uuid;

-- Query #17206 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['db56dfb0-7bb6-3987-abde-fabbc261dfa7'::uuid]);

-- Query #17207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3505f547-e260-5699-54d3-a692167eb722'::uuid, 'trakt', 3178163)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3505f547-e260-5699-54d3-a692167eb722'::uuid, 'eidr', '10.5240/64E6-4DA0-05A5-32B6-4586-C')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17209 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'db56dfb0-7bb6-3987-abde-fabbc261dfa7'::uuid;

-- Query #17210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3505f547-e260-5699-54d3-a692167eb722'::uuid, 'TmdbCollection', 1601693)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3505f547-e260-5699-54d3-a692167eb722'::uuid, 'Imdb', 'tt8953726')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17212 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3505f547-e260-5699-54d3-a692167eb722'::uuid, 'Tmdb', 1601693)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3505f547-e260-5699-54d3-a692167eb722'::uuid, 'TvMaze', 1538467)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3505f547-e260-5699-54d3-a692167eb722'::uuid, 'Tvdb', 6846302)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17216 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3505f547-e260-5699-54d3-a692167eb722'::uuid, 'tv maze', 1538467)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17217 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3505f547-e260-5699-54d3-a692167eb722'::uuid;

-- Query #17218 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3505f547-e260-5699-54d3-a692167eb722'::uuid;

-- Query #17219 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3505f547-e260-5699-54d3-a692167eb722'::uuid]);

-- Query #17220 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3505f547-e260-5699-54d3-a692167eb722'::uuid;

-- Query #17221 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17222 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #17223 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a37fcc95-d22a-1c59-6928-5a97abddb075'::uuid;

-- Query #17224 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89f28497-5fed-94f7-5d05-0712083ba45e'::uuid;

-- Query #17225 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a37fcc95-d22a-1c59-6928-5a97abddb075'::uuid]);

-- Query #17226 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a37fcc95-d22a-1c59-6928-5a97abddb075'::uuid;

-- Query #17227 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a37fcc95-d22a-1c59-6928-5a97abddb075'::uuid, 'Imdb', 'tt23642486')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a37fcc95-d22a-1c59-6928-5a97abddb075'::uuid, 'Tmdb', 4033451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a37fcc95-d22a-1c59-6928-5a97abddb075'::uuid, 'TvMaze', 2330459)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17230 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a37fcc95-d22a-1c59-6928-5a97abddb075'::uuid, 'Tvdb', 9171967)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17231 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a37fcc95-d22a-1c59-6928-5a97abddb075'::uuid, 'tv maze', 2330459)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a37fcc95-d22a-1c59-6928-5a97abddb075'::uuid, 'trakt', 6842633)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a37fcc95-d22a-1c59-6928-5a97abddb075'::uuid, 'TmdbCollection', 4033451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17234 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['89f28497-5fed-94f7-5d05-0712083ba45e'::uuid]);

-- Query #17235 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a37fcc95-d22a-1c59-6928-5a97abddb075'::uuid;

-- Query #17236 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '89f28497-5fed-94f7-5d05-0712083ba45e'::uuid;

-- Query #17237 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a37fcc95-d22a-1c59-6928-5a97abddb075'::uuid;

-- Query #17238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89f28497-5fed-94f7-5d05-0712083ba45e'::uuid, 'Imdb', 'tt8941510')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17239 | logged_duration_ms=7 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89f28497-5fed-94f7-5d05-0712083ba45e'::uuid, 'Tmdb', 1601692)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17240 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89f28497-5fed-94f7-5d05-0712083ba45e'::uuid, 'TvMaze', 1538466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17241 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89f28497-5fed-94f7-5d05-0712083ba45e'::uuid, 'Tvdb', 6846300)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17242 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89f28497-5fed-94f7-5d05-0712083ba45e'::uuid, 'tv maze', 1538466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17243 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89f28497-5fed-94f7-5d05-0712083ba45e'::uuid, 'trakt', 3178162)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17244 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89f28497-5fed-94f7-5d05-0712083ba45e'::uuid, 'eidr', '10.5240/8736-3435-F83B-36C0-3F07-O')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17245 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89f28497-5fed-94f7-5d05-0712083ba45e'::uuid, 'TmdbCollection', 1601692)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17246 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89f28497-5fed-94f7-5d05-0712083ba45e'::uuid;

-- Query #17247 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '89f28497-5fed-94f7-5d05-0712083ba45e'::uuid;

-- Query #17248 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a37fcc95-d22a-1c59-6928-5a97abddb075'::uuid]);

-- Query #17249 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a37fcc95-d22a-1c59-6928-5a97abddb075'::uuid;

-- Query #17250 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17251 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['89f28497-5fed-94f7-5d05-0712083ba45e'::uuid]);

-- Query #17252 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '89f28497-5fed-94f7-5d05-0712083ba45e'::uuid;

-- Query #17253 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17254 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f6d5738a-e644-c965-9a0a-d7f6cc37a94f'::uuid;

-- Query #17255 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eba01907-bccb-f2ee-1ce3-ec03881059bb'::uuid;

-- Query #17256 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6d5738a-e644-c965-9a0a-d7f6cc37a94f'::uuid]);

-- Query #17257 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f6d5738a-e644-c965-9a0a-d7f6cc37a94f'::uuid;

-- Query #17258 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6d5738a-e644-c965-9a0a-d7f6cc37a94f'::uuid, 'Imdb', 'tt23642516')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17259 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6d5738a-e644-c965-9a0a-d7f6cc37a94f'::uuid, 'Tmdb', 5605560)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17260 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6d5738a-e644-c965-9a0a-d7f6cc37a94f'::uuid, 'trakt', 12288012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6d5738a-e644-c965-9a0a-d7f6cc37a94f'::uuid, 'TvMaze', 3058666)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6d5738a-e644-c965-9a0a-d7f6cc37a94f'::uuid, 'Tvdb', 10771756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6d5738a-e644-c965-9a0a-d7f6cc37a94f'::uuid, 'TmdbCollection', 5605560)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17264 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f6d5738a-e644-c965-9a0a-d7f6cc37a94f'::uuid;

-- Query #17265 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f6d5738a-e644-c965-9a0a-d7f6cc37a94f'::uuid;

-- Query #17266 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eba01907-bccb-f2ee-1ce3-ec03881059bb'::uuid]);

-- Query #17267 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eba01907-bccb-f2ee-1ce3-ec03881059bb'::uuid;

-- Query #17268 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f6d5738a-e644-c965-9a0a-d7f6cc37a94f'::uuid]);

-- Query #17269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eba01907-bccb-f2ee-1ce3-ec03881059bb'::uuid, 'Imdb', 'tt9148628')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eba01907-bccb-f2ee-1ce3-ec03881059bb'::uuid, 'Tmdb', 1697166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17271 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f6d5738a-e644-c965-9a0a-d7f6cc37a94f'::uuid;

-- Query #17272 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eba01907-bccb-f2ee-1ce3-ec03881059bb'::uuid, 'TvMaze', 1580461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17273 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eba01907-bccb-f2ee-1ce3-ec03881059bb'::uuid, 'Tvdb', 7019057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17274 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eba01907-bccb-f2ee-1ce3-ec03881059bb'::uuid, 'tv maze', 1580461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eba01907-bccb-f2ee-1ce3-ec03881059bb'::uuid, 'trakt', 3357408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eba01907-bccb-f2ee-1ce3-ec03881059bb'::uuid, 'eidr', '10.5240/1FD1-D037-6F0B-0402-AD15-X')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eba01907-bccb-f2ee-1ce3-ec03881059bb'::uuid, 'TmdbCollection', 1697166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17279 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eba01907-bccb-f2ee-1ce3-ec03881059bb'::uuid;

-- Query #17280 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eba01907-bccb-f2ee-1ce3-ec03881059bb'::uuid;

-- Query #17281 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eba01907-bccb-f2ee-1ce3-ec03881059bb'::uuid]);

-- Query #17282 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eba01907-bccb-f2ee-1ce3-ec03881059bb'::uuid;

-- Query #17283 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17284 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '699d37d7-a862-5d6c-e171-86a85efeef4c'::uuid;

-- Query #17285 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['699d37d7-a862-5d6c-e171-86a85efeef4c'::uuid]);

-- Query #17286 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df23225d-7aea-20bc-da7e-7a2efe095981'::uuid;

-- Query #17287 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '699d37d7-a862-5d6c-e171-86a85efeef4c'::uuid;

-- Query #17288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('699d37d7-a862-5d6c-e171-86a85efeef4c'::uuid, 'trakt', 3348254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('699d37d7-a862-5d6c-e171-86a85efeef4c'::uuid, 'eidr', '10.5240/4B27-42F3-439B-F145-7A88-Y')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('699d37d7-a862-5d6c-e171-86a85efeef4c'::uuid, 'TmdbCollection', 1686918)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('699d37d7-a862-5d6c-e171-86a85efeef4c'::uuid, 'Imdb', 'tt9148622')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('699d37d7-a862-5d6c-e171-86a85efeef4c'::uuid, 'Tmdb', 1686918)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('699d37d7-a862-5d6c-e171-86a85efeef4c'::uuid, 'TvMaze', 1580460)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('699d37d7-a862-5d6c-e171-86a85efeef4c'::uuid, 'Tvdb', 7011354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('699d37d7-a862-5d6c-e171-86a85efeef4c'::uuid, 'tv maze', 1580460)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '699d37d7-a862-5d6c-e171-86a85efeef4c'::uuid;

-- Query #17297 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '699d37d7-a862-5d6c-e171-86a85efeef4c'::uuid;

-- Query #17298 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['699d37d7-a862-5d6c-e171-86a85efeef4c'::uuid]);

-- Query #17299 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '699d37d7-a862-5d6c-e171-86a85efeef4c'::uuid;

-- Query #17300 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17301 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df23225d-7aea-20bc-da7e-7a2efe095981'::uuid]);

-- Query #17302 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'df23225d-7aea-20bc-da7e-7a2efe095981'::uuid;

-- Query #17303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df23225d-7aea-20bc-da7e-7a2efe095981'::uuid, 'Imdb', 'tt23642490')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df23225d-7aea-20bc-da7e-7a2efe095981'::uuid, 'Tmdb', 4049001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df23225d-7aea-20bc-da7e-7a2efe095981'::uuid, 'TvMaze', 2330461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df23225d-7aea-20bc-da7e-7a2efe095981'::uuid, 'Tvdb', 9171970)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df23225d-7aea-20bc-da7e-7a2efe095981'::uuid, 'tv maze', 2330461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df23225d-7aea-20bc-da7e-7a2efe095981'::uuid, 'trakt', 6864682)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df23225d-7aea-20bc-da7e-7a2efe095981'::uuid, 'TmdbCollection', 4049001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17310 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df23225d-7aea-20bc-da7e-7a2efe095981'::uuid;

-- Query #17311 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'df23225d-7aea-20bc-da7e-7a2efe095981'::uuid;

-- Query #17312 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['df23225d-7aea-20bc-da7e-7a2efe095981'::uuid]);

-- Query #17313 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'df23225d-7aea-20bc-da7e-7a2efe095981'::uuid;

-- Query #17314 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid, '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17315 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '313482c3-34ff-be77-abdd-2488e0b43cea'::uuid;

-- Query #17316 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0d4b21fc-9745-be30-86e2-16f35899e159'::uuid
ORDER BY b."SortName";

-- Query #17317 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid])
ORDER BY b."Id";

-- Query #17318 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid])
ORDER BY b."Id";

-- Query #17319 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid])
ORDER BY b."Id";

-- Query #17320 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid])
ORDER BY b."Id";

-- Query #17321 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3b551c-6636-d758-2801-178c434b68d2'::uuid, 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid, '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid, '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid, 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid])
ORDER BY b."Id";

-- Query #17322 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cf3b551c-6636-d758-2801-178c434b68d2'::uuid
ORDER BY b."SortName";

-- Query #17323 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['313482c3-34ff-be77-abdd-2488e0b43cea'::uuid]);

-- Query #17324 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '313482c3-34ff-be77-abdd-2488e0b43cea'::uuid;

-- Query #17325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('313482c3-34ff-be77-abdd-2488e0b43cea'::uuid, 'Imdb', 'tt8473914')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('313482c3-34ff-be77-abdd-2488e0b43cea'::uuid, 'Tmdb', 1600151)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('313482c3-34ff-be77-abdd-2488e0b43cea'::uuid, 'TvMaze', 1538463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17328 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('313482c3-34ff-be77-abdd-2488e0b43cea'::uuid, 'Tvdb', 6846298)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17329 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('313482c3-34ff-be77-abdd-2488e0b43cea'::uuid, 'tv maze', 1538463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17330 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('313482c3-34ff-be77-abdd-2488e0b43cea'::uuid, 'trakt', 3178159)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('313482c3-34ff-be77-abdd-2488e0b43cea'::uuid, 'eidr', '10.5240/7E82-9AEB-C2E5-EC53-EA6F-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('313482c3-34ff-be77-abdd-2488e0b43cea'::uuid, 'TmdbCollection', 1600151)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17333 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fba619fc-fc9b-1325-362b-649ec8fb33a6'::uuid
ORDER BY b."SortName";

-- Query #17334 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '313482c3-34ff-be77-abdd-2488e0b43cea'::uuid;

-- Query #17335 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '313482c3-34ff-be77-abdd-2488e0b43cea'::uuid;

-- Query #17336 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['313482c3-34ff-be77-abdd-2488e0b43cea'::uuid]);

-- Query #17337 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '313482c3-34ff-be77-abdd-2488e0b43cea'::uuid;

-- Query #17338 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '71bf61ad-a4d8-4dad-ae8e-ca4857d69a1c'::uuid
ORDER BY b."SortName";

-- Query #17339 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17340 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1b8e0ada-24c5-ab69-ab40-60535e426fde'::uuid
ORDER BY b."SortName";

-- Query #17341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fb00815f-c243-b400-b0c7-1efb67ab378f'::uuid
ORDER BY b."SortName";

-- Query #17342 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '0d4b21fc9745be3086e216f35899e159'
ORDER BY b."SortName", b."Name";

-- Query #17343 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid
ORDER BY b."SortName";

-- Query #17344 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '571bb9aa-4540-1884-0ba2-52a05724a682'::uuid;

-- Query #17345 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid])
ORDER BY b."Id";

-- Query #17346 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid])
ORDER BY b."Id";

-- Query #17347 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid])
ORDER BY b."Id";

-- Query #17348 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid])
ORDER BY b."Id";

-- Query #17349 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid])
ORDER BY b."Id";

-- Query #17350 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid
ORDER BY b."SortName";

-- Query #17351 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['571bb9aa-4540-1884-0ba2-52a05724a682'::uuid]);

-- Query #17352 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '571bb9aa-4540-1884-0ba2-52a05724a682'::uuid;

-- Query #17353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('571bb9aa-4540-1884-0ba2-52a05724a682'::uuid, 'Imdb', 'tt7914554')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('571bb9aa-4540-1884-0ba2-52a05724a682'::uuid, 'Tmdb', 1509569)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('571bb9aa-4540-1884-0ba2-52a05724a682'::uuid, 'TvMaze', 1473828)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('571bb9aa-4540-1884-0ba2-52a05724a682'::uuid, 'Tvdb', 6732029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('571bb9aa-4540-1884-0ba2-52a05724a682'::uuid, 'tv maze', 1473828)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17358 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid
ORDER BY b."SortName";

-- Query #17359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('571bb9aa-4540-1884-0ba2-52a05724a682'::uuid, 'trakt', 3051399)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17360 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('571bb9aa-4540-1884-0ba2-52a05724a682'::uuid, 'eidr', '10.5240/ACE5-9BA5-3D30-E5C4-865B-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17361 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('571bb9aa-4540-1884-0ba2-52a05724a682'::uuid, 'TmdbCollection', 1509569)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17362 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '571bb9aa-4540-1884-0ba2-52a05724a682'::uuid;

-- Query #17363 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '571bb9aa-4540-1884-0ba2-52a05724a682'::uuid;

-- Query #17364 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['571bb9aa-4540-1884-0ba2-52a05724a682'::uuid]);

-- Query #17365 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '571bb9aa-4540-1884-0ba2-52a05724a682'::uuid;

-- Query #17366 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17367 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cfae6036-104b-bc16-b84e-6e8dd8ea45b0'::uuid;

-- Query #17368 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfae6036-104b-bc16-b84e-6e8dd8ea45b0'::uuid]);

-- Query #17369 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cfae6036-104b-bc16-b84e-6e8dd8ea45b0'::uuid;

-- Query #17370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfae6036-104b-bc16-b84e-6e8dd8ea45b0'::uuid, 'Imdb', 'tt8941504')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfae6036-104b-bc16-b84e-6e8dd8ea45b0'::uuid, 'Tmdb', 1601691)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfae6036-104b-bc16-b84e-6e8dd8ea45b0'::uuid, 'TvMaze', 1538465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfae6036-104b-bc16-b84e-6e8dd8ea45b0'::uuid, 'Tvdb', 6846301)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfae6036-104b-bc16-b84e-6e8dd8ea45b0'::uuid, 'tv maze', 1538465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17375 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfae6036-104b-bc16-b84e-6e8dd8ea45b0'::uuid, 'trakt', 3178161)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17376 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfae6036-104b-bc16-b84e-6e8dd8ea45b0'::uuid, 'eidr', '10.5240/474D-9E64-9C90-2C85-CCFB-J')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17377 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfae6036-104b-bc16-b84e-6e8dd8ea45b0'::uuid, 'TmdbCollection', 1601691)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17378 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cfae6036-104b-bc16-b84e-6e8dd8ea45b0'::uuid;

-- Query #17379 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cfae6036-104b-bc16-b84e-6e8dd8ea45b0'::uuid;

-- Query #17380 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cfae6036-104b-bc16-b84e-6e8dd8ea45b0'::uuid]);

-- Query #17381 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cfae6036-104b-bc16-b84e-6e8dd8ea45b0'::uuid;

-- Query #17382 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17383 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '01d8441d-d7a0-107a-2c1c-3d5ca6d8acd5'::uuid;

-- Query #17384 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['01d8441d-d7a0-107a-2c1c-3d5ca6d8acd5'::uuid]);

-- Query #17385 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '01d8441d-d7a0-107a-2c1c-3d5ca6d8acd5'::uuid;

-- Query #17386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01d8441d-d7a0-107a-2c1c-3d5ca6d8acd5'::uuid, 'TmdbCollection', 1569806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01d8441d-d7a0-107a-2c1c-3d5ca6d8acd5'::uuid, 'Imdb', 'tt8473898')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01d8441d-d7a0-107a-2c1c-3d5ca6d8acd5'::uuid, 'Tmdb', 1569806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17389 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01d8441d-d7a0-107a-2c1c-3d5ca6d8acd5'::uuid, 'TvMaze', 1498166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01d8441d-d7a0-107a-2c1c-3d5ca6d8acd5'::uuid, 'Tvdb', 6752185)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01d8441d-d7a0-107a-2c1c-3d5ca6d8acd5'::uuid, 'tv maze', 1498166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01d8441d-d7a0-107a-2c1c-3d5ca6d8acd5'::uuid, 'trakt', 3056726)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17393 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01d8441d-d7a0-107a-2c1c-3d5ca6d8acd5'::uuid, 'eidr', '10.5240/A14E-A060-86AB-AAAB-CF25-V')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17394 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '01d8441d-d7a0-107a-2c1c-3d5ca6d8acd5'::uuid;

-- Query #17395 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '01d8441d-d7a0-107a-2c1c-3d5ca6d8acd5'::uuid;

-- Query #17396 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['01d8441d-d7a0-107a-2c1c-3d5ca6d8acd5'::uuid]);

-- Query #17397 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '01d8441d-d7a0-107a-2c1c-3d5ca6d8acd5'::uuid;

-- Query #17398 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17399 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b134521-fc1b-349f-b66e-992aef9ec808'::uuid;

-- Query #17400 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b134521-fc1b-349f-b66e-992aef9ec808'::uuid]);

-- Query #17401 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2b134521-fc1b-349f-b66e-992aef9ec808'::uuid;

-- Query #17402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b134521-fc1b-349f-b66e-992aef9ec808'::uuid, 'TmdbCollection', 1601690)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b134521-fc1b-349f-b66e-992aef9ec808'::uuid, 'Imdb', 'tt8488160')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b134521-fc1b-349f-b66e-992aef9ec808'::uuid, 'Tmdb', 1601690)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b134521-fc1b-349f-b66e-992aef9ec808'::uuid, 'TvMaze', 1538464)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b134521-fc1b-349f-b66e-992aef9ec808'::uuid, 'Tvdb', 6846299)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17407 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b134521-fc1b-349f-b66e-992aef9ec808'::uuid, 'tv maze', 1538464)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17408 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b134521-fc1b-349f-b66e-992aef9ec808'::uuid, 'trakt', 3178160)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17409 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b134521-fc1b-349f-b66e-992aef9ec808'::uuid, 'eidr', '10.5240/1162-133D-F066-6A8D-2862-0')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17410 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b134521-fc1b-349f-b66e-992aef9ec808'::uuid;

-- Query #17411 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2b134521-fc1b-349f-b66e-992aef9ec808'::uuid;

-- Query #17412 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid;

-- Query #17413 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2b134521-fc1b-349f-b66e-992aef9ec808'::uuid]);

-- Query #17414 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2b134521-fc1b-349f-b66e-992aef9ec808'::uuid;

-- Query #17415 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17416 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid]);

-- Query #17417 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid;

-- Query #17418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'eidr', '10.5240/2AB8-A9FE-DD81-AF6D-128B-T')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17419 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'Imdb', 'tt7440726')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'official website', 'https://www.sho.com/your-honor')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17421 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'Tmdb', 86430)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17422 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'TmdbCollection', 86430)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17423 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'Tvdb', 359579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'tv maze', 32791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'TvMaze', 32791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'wikidata', 'Q65118624')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'wikipedia', 'Your_Honor_(American_TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17428 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid;

-- Query #17429 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid;

-- Query #17430 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid]);

-- Query #17431 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid;

-- Query #17432 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17433 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'e5a6f2baba3de26402016ed897b3b8c9'
ORDER BY b."SortName", b."Name";

-- Query #17434 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f75a6f7b-3194-7146-b0bc-98787317b4be'::uuid;

-- Query #17435 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid
ORDER BY b."SortName";

-- Query #17436 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid])
ORDER BY b."Id";

-- Query #17437 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid])
ORDER BY b."Id";

-- Query #17438 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f75a6f7b-3194-7146-b0bc-98787317b4be'::uuid]);

-- Query #17439 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid])
ORDER BY b."Id";

-- Query #17440 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f75a6f7b-3194-7146-b0bc-98787317b4be'::uuid;

-- Query #17441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f75a6f7b-3194-7146-b0bc-98787317b4be'::uuid, 'Imdb', 'tt8473904')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17442 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid])
ORDER BY b."Id";

-- Query #17443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f75a6f7b-3194-7146-b0bc-98787317b4be'::uuid, 'Tmdb', 1574772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17444 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid])
ORDER BY b."Id";

-- Query #17445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f75a6f7b-3194-7146-b0bc-98787317b4be'::uuid, 'TvMaze', 1533369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f75a6f7b-3194-7146-b0bc-98787317b4be'::uuid, 'Tvdb', 6794868)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17447 | logged_duration_ms=12 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid
ORDER BY b."SortName";

-- Query #17448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f75a6f7b-3194-7146-b0bc-98787317b4be'::uuid, 'tv maze', 1533369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17449 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f75a6f7b-3194-7146-b0bc-98787317b4be'::uuid, 'trakt', 3121180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f75a6f7b-3194-7146-b0bc-98787317b4be'::uuid, 'eidr', '10.5240/9D76-8EDA-ABC7-59EA-1B58-Z')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f75a6f7b-3194-7146-b0bc-98787317b4be'::uuid, 'TmdbCollection', 1574772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17452 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f75a6f7b-3194-7146-b0bc-98787317b4be'::uuid;

-- Query #17453 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f75a6f7b-3194-7146-b0bc-98787317b4be'::uuid;

-- Query #17454 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid
ORDER BY b."SortName";

-- Query #17455 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f75a6f7b-3194-7146-b0bc-98787317b4be'::uuid]);

-- Query #17456 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f75a6f7b-3194-7146-b0bc-98787317b4be'::uuid;

-- Query #17457 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17458 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'e5a6f2baba3de26402016ed897b3b8c9'
ORDER BY b."SortName", b."Name";

-- Query #17459 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07c8b779-67f6-124d-8bc0-46a4ee551201'::uuid;

-- Query #17460 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07c8b779-67f6-124d-8bc0-46a4ee551201'::uuid]);

-- Query #17461 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '07c8b779-67f6-124d-8bc0-46a4ee551201'::uuid;

-- Query #17462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c8b779-67f6-124d-8bc0-46a4ee551201'::uuid, 'Imdb', 'tt8473906')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c8b779-67f6-124d-8bc0-46a4ee551201'::uuid, 'Tmdb', 1594745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c8b779-67f6-124d-8bc0-46a4ee551201'::uuid, 'TvMaze', 1536080)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c8b779-67f6-124d-8bc0-46a4ee551201'::uuid, 'Tvdb', 6794869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17466 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c8b779-67f6-124d-8bc0-46a4ee551201'::uuid, 'tv maze', 1536080)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c8b779-67f6-124d-8bc0-46a4ee551201'::uuid, 'trakt', 3121192)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17468 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c8b779-67f6-124d-8bc0-46a4ee551201'::uuid, 'eidr', '10.5240/AAF9-BFAA-C195-B96E-699B-1')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c8b779-67f6-124d-8bc0-46a4ee551201'::uuid, 'TmdbCollection', 1594745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17470 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07c8b779-67f6-124d-8bc0-46a4ee551201'::uuid;

-- Query #17471 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '07c8b779-67f6-124d-8bc0-46a4ee551201'::uuid;

-- Query #17472 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['07c8b779-67f6-124d-8bc0-46a4ee551201'::uuid]);

-- Query #17473 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '07c8b779-67f6-124d-8bc0-46a4ee551201'::uuid;

-- Query #17474 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17475 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid;

-- Query #17476 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid]);

-- Query #17477 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid;

-- Query #17478 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'eidr', '10.5240/2AB8-A9FE-DD81-AF6D-128B-T')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'Tvdb', 1874886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'Tmdb', 86430)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'Imdb', 'tt7440726')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'TvMaze', 32791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'tv maze', 32791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17484 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'wikipedia', 'Your_Honor_(American_TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'wikidata', 'Q65118624')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'official website', 'https://www.sho.com/your-honor')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17487 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d778838-3446-454c-b4be-d421bfd7a0a8'::uuid;

-- Query #17488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'TmdbCollection', 86430)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17489 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid;

-- Query #17490 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid;

-- Query #17491 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid]);

-- Query #17492 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid;

-- Query #17493 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17494 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d778838-3446-454c-b4be-d421bfd7a0a8'::uuid]);

-- Query #17495 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0d778838-3446-454c-b4be-d421bfd7a0a8'::uuid;

-- Query #17496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d778838-3446-454c-b4be-d421bfd7a0a8'::uuid, 'TmdbCollection', 1686917)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d778838-3446-454c-b4be-d421bfd7a0a8'::uuid, 'Imdb', 'tt9148616')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d778838-3446-454c-b4be-d421bfd7a0a8'::uuid, 'Tmdb', 1686917)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17499 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'e5a6f2baba3de26402016ed897b3b8c9'
ORDER BY b."SortName", b."Name";

-- Query #17500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d778838-3446-454c-b4be-d421bfd7a0a8'::uuid, 'TvMaze', 1580459)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d778838-3446-454c-b4be-d421bfd7a0a8'::uuid, 'Tvdb', 7003991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d778838-3446-454c-b4be-d421bfd7a0a8'::uuid, 'tv maze', 1580459)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d778838-3446-454c-b4be-d421bfd7a0a8'::uuid, 'trakt', 3338267)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17504 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d778838-3446-454c-b4be-d421bfd7a0a8'::uuid, 'eidr', '10.5240/2F7E-6A52-3A60-F5AA-04B4-V')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17505 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d778838-3446-454c-b4be-d421bfd7a0a8'::uuid;

-- Query #17506 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0d778838-3446-454c-b4be-d421bfd7a0a8'::uuid;

-- Query #17507 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0d778838-3446-454c-b4be-d421bfd7a0a8'::uuid]);

-- Query #17508 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0d778838-3446-454c-b4be-d421bfd7a0a8'::uuid;

-- Query #17509 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17510 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce400cff-5a84-1b78-c64d-ad13bc5cbf9f'::uuid;

-- Query #17511 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce400cff-5a84-1b78-c64d-ad13bc5cbf9f'::uuid]);

-- Query #17512 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ce400cff-5a84-1b78-c64d-ad13bc5cbf9f'::uuid;

-- Query #17513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce400cff-5a84-1b78-c64d-ad13bc5cbf9f'::uuid, 'TmdbCollection', 1663158)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce400cff-5a84-1b78-c64d-ad13bc5cbf9f'::uuid, 'Imdb', 'tt8941526')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce400cff-5a84-1b78-c64d-ad13bc5cbf9f'::uuid, 'Tmdb', 1663158)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce400cff-5a84-1b78-c64d-ad13bc5cbf9f'::uuid, 'TvMaze', 1580457)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17517 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid;

-- Query #17518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce400cff-5a84-1b78-c64d-ad13bc5cbf9f'::uuid, 'Tvdb', 6978800)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce400cff-5a84-1b78-c64d-ad13bc5cbf9f'::uuid, 'tv maze', 1580457)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce400cff-5a84-1b78-c64d-ad13bc5cbf9f'::uuid, 'trakt', 3181467)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce400cff-5a84-1b78-c64d-ad13bc5cbf9f'::uuid, 'eidr', '10.5240/4C5B-4738-A696-E253-C660-X')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17522 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce400cff-5a84-1b78-c64d-ad13bc5cbf9f'::uuid;

-- Query #17523 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ce400cff-5a84-1b78-c64d-ad13bc5cbf9f'::uuid;

-- Query #17524 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ce400cff-5a84-1b78-c64d-ad13bc5cbf9f'::uuid]);

-- Query #17525 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ce400cff-5a84-1b78-c64d-ad13bc5cbf9f'::uuid;

-- Query #17526 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['41a0f847-6a6f-dd53-d502-1747394089a4'::uuid]);

-- Query #17527 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17528 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid;

-- Query #17529 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'wikidata', 'Q65118624')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17530 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'official website', 'https://www.sho.com/your-honor')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'TmdbCollection', 86430)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'Tvdb', 2014476)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'Tmdb', 86430)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'Imdb', 'tt7440726')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'TvMaze', 32791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'tv maze', 32791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'wikipedia', 'Your_Honor_(American_TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'eidr', '10.5240/2AB8-A9FE-DD81-AF6D-128B-T')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17539 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid;

-- Query #17540 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid;

-- Query #17541 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['41a0f847-6a6f-dd53-d502-1747394089a4'::uuid]);

-- Query #17542 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid;

-- Query #17543 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17544 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '12ed4117-101c-e873-3c97-82f0e5a5ab6f'::uuid;

-- Query #17545 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8f815279-b863-b917-f998-3c532152e892'::uuid;

-- Query #17546 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['12ed4117-101c-e873-3c97-82f0e5a5ab6f'::uuid]);

-- Query #17547 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '12ed4117-101c-e873-3c97-82f0e5a5ab6f'::uuid;

-- Query #17548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12ed4117-101c-e873-3c97-82f0e5a5ab6f'::uuid, 'eidr', '10.5240/7E61-5ED4-E349-63EC-6B37-M')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12ed4117-101c-e873-3c97-82f0e5a5ab6f'::uuid, 'Imdb', 'tt10847196')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12ed4117-101c-e873-3c97-82f0e5a5ab6f'::uuid, 'Tmdb', 2176686)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12ed4117-101c-e873-3c97-82f0e5a5ab6f'::uuid, 'TvMaze', 1802453)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17552 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12ed4117-101c-e873-3c97-82f0e5a5ab6f'::uuid, 'Tvdb', 7574996)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17553 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12ed4117-101c-e873-3c97-82f0e5a5ab6f'::uuid, 'tv maze', 1802453)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17554 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12ed4117-101c-e873-3c97-82f0e5a5ab6f'::uuid, 'trakt', 3978722)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12ed4117-101c-e873-3c97-82f0e5a5ab6f'::uuid, 'TmdbCollection', 2176686)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17556 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '12ed4117-101c-e873-3c97-82f0e5a5ab6f'::uuid;

-- Query #17557 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '12ed4117-101c-e873-3c97-82f0e5a5ab6f'::uuid;

-- Query #17558 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f815279-b863-b917-f998-3c532152e892'::uuid]);

-- Query #17559 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8f815279-b863-b917-f998-3c532152e892'::uuid;

-- Query #17560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f815279-b863-b917-f998-3c532152e892'::uuid, 'Imdb', 'tt10169742')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f815279-b863-b917-f998-3c532152e892'::uuid, 'Tvdb', 8058393)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f815279-b863-b917-f998-3c532152e892'::uuid, 'Tmdb', 2546480)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17563 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f815279-b863-b917-f998-3c532152e892'::uuid, 'trakt', 4605096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f815279-b863-b917-f998-3c532152e892'::uuid, 'TvMaze', 1979313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17565 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['12ed4117-101c-e873-3c97-82f0e5a5ab6f'::uuid]);

-- Query #17566 | logged_duration_ms=8 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f815279-b863-b917-f998-3c532152e892'::uuid, 'TmdbCollection', 2546480)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8f815279-b863-b917-f998-3c532152e892'::uuid;

-- Query #17568 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '12ed4117-101c-e873-3c97-82f0e5a5ab6f'::uuid;

-- Query #17569 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8f815279-b863-b917-f998-3c532152e892'::uuid;

-- Query #17570 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17571 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8f815279-b863-b917-f998-3c532152e892'::uuid]);

-- Query #17572 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8f815279-b863-b917-f998-3c532152e892'::uuid;

-- Query #17573 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17574 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e1eedd0-f002-5b9d-67a8-38666ea292c4'::uuid;

-- Query #17575 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '613d5e97-1db1-0f87-d4c6-c5a790e2bf7f'::uuid;

-- Query #17576 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['613d5e97-1db1-0f87-d4c6-c5a790e2bf7f'::uuid]);

-- Query #17577 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '613d5e97-1db1-0f87-d4c6-c5a790e2bf7f'::uuid;

-- Query #17578 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613d5e97-1db1-0f87-d4c6-c5a790e2bf7f'::uuid, 'Imdb', 'tt10847142')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613d5e97-1db1-0f87-d4c6-c5a790e2bf7f'::uuid, 'Tmdb', 2037324)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17580 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613d5e97-1db1-0f87-d4c6-c5a790e2bf7f'::uuid, 'TvMaze', 1786090)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613d5e97-1db1-0f87-d4c6-c5a790e2bf7f'::uuid, 'Tvdb', 7576039)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613d5e97-1db1-0f87-d4c6-c5a790e2bf7f'::uuid, 'tv maze', 1786090)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613d5e97-1db1-0f87-d4c6-c5a790e2bf7f'::uuid, 'trakt', 3885813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613d5e97-1db1-0f87-d4c6-c5a790e2bf7f'::uuid, 'eidr', '10.5240/984F-6B41-FB11-D886-6A66-1')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613d5e97-1db1-0f87-d4c6-c5a790e2bf7f'::uuid, 'TmdbCollection', 2037324)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '613d5e97-1db1-0f87-d4c6-c5a790e2bf7f'::uuid;

-- Query #17587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '613d5e97-1db1-0f87-d4c6-c5a790e2bf7f'::uuid;

-- Query #17588 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e1eedd0-f002-5b9d-67a8-38666ea292c4'::uuid]);

-- Query #17589 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3e1eedd0-f002-5b9d-67a8-38666ea292c4'::uuid;

-- Query #17590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e1eedd0-f002-5b9d-67a8-38666ea292c4'::uuid, 'Imdb', 'tt10169724')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e1eedd0-f002-5b9d-67a8-38666ea292c4'::uuid, 'Tvdb', 8000646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17592 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['613d5e97-1db1-0f87-d4c6-c5a790e2bf7f'::uuid]);

-- Query #17593 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e1eedd0-f002-5b9d-67a8-38666ea292c4'::uuid, 'Tmdb', 2546477)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e1eedd0-f002-5b9d-67a8-38666ea292c4'::uuid, 'trakt', 4540226)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17595 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '613d5e97-1db1-0f87-d4c6-c5a790e2bf7f'::uuid;

-- Query #17596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e1eedd0-f002-5b9d-67a8-38666ea292c4'::uuid, 'TvMaze', 1956988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17597 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e1eedd0-f002-5b9d-67a8-38666ea292c4'::uuid, 'TmdbCollection', 2546477)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17599 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e1eedd0-f002-5b9d-67a8-38666ea292c4'::uuid;

-- Query #17600 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3e1eedd0-f002-5b9d-67a8-38666ea292c4'::uuid;

-- Query #17601 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3e1eedd0-f002-5b9d-67a8-38666ea292c4'::uuid]);

-- Query #17602 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3e1eedd0-f002-5b9d-67a8-38666ea292c4'::uuid;

-- Query #17603 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17604 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9dc3ba05-4d92-f40d-4e6d-8c7451ccf216'::uuid;

-- Query #17605 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dc3ba05-4d92-f40d-4e6d-8c7451ccf216'::uuid]);

-- Query #17606 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9dc3ba05-4d92-f40d-4e6d-8c7451ccf216'::uuid;

-- Query #17607 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dc3ba05-4d92-f40d-4e6d-8c7451ccf216'::uuid, 'eidr', '10.5240/CC3E-EA4B-5029-5D7B-6257-R')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17608 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dc3ba05-4d92-f40d-4e6d-8c7451ccf216'::uuid, 'TmdbCollection', 2180319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17609 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dc3ba05-4d92-f40d-4e6d-8c7451ccf216'::uuid, 'Imdb', 'tt10847220')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dc3ba05-4d92-f40d-4e6d-8c7451ccf216'::uuid, 'Tmdb', 2180319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17611 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f6651ee4-7776-160b-a828-3f879662296e'::uuid;

-- Query #17612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dc3ba05-4d92-f40d-4e6d-8c7451ccf216'::uuid, 'TvMaze', 1817827)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dc3ba05-4d92-f40d-4e6d-8c7451ccf216'::uuid, 'Tvdb', 7596576)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17614 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dc3ba05-4d92-f40d-4e6d-8c7451ccf216'::uuid, 'tv maze', 1817827)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dc3ba05-4d92-f40d-4e6d-8c7451ccf216'::uuid, 'trakt', 4008049)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17616 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9dc3ba05-4d92-f40d-4e6d-8c7451ccf216'::uuid;

-- Query #17617 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9dc3ba05-4d92-f40d-4e6d-8c7451ccf216'::uuid;

-- Query #17618 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9dc3ba05-4d92-f40d-4e6d-8c7451ccf216'::uuid]);

-- Query #17619 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9dc3ba05-4d92-f40d-4e6d-8c7451ccf216'::uuid;

-- Query #17620 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17621 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6651ee4-7776-160b-a828-3f879662296e'::uuid]);

-- Query #17622 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f6651ee4-7776-160b-a828-3f879662296e'::uuid;

-- Query #17623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6651ee4-7776-160b-a828-3f879662296e'::uuid, 'Imdb', 'tt10169708')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6651ee4-7776-160b-a828-3f879662296e'::uuid, 'Tvdb', 8000645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17625 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6651ee4-7776-160b-a828-3f879662296e'::uuid, 'Tmdb', 2533147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6651ee4-7776-160b-a828-3f879662296e'::uuid, 'trakt', 4540225)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6651ee4-7776-160b-a828-3f879662296e'::uuid, 'TvMaze', 1956987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6651ee4-7776-160b-a828-3f879662296e'::uuid, 'TmdbCollection', 2533147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17629 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f6651ee4-7776-160b-a828-3f879662296e'::uuid;

-- Query #17630 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f6651ee4-7776-160b-a828-3f879662296e'::uuid;

-- Query #17631 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f6651ee4-7776-160b-a828-3f879662296e'::uuid]);

-- Query #17632 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f6651ee4-7776-160b-a828-3f879662296e'::uuid;

-- Query #17633 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17634 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '75d492ef-c650-c229-b6af-f84ffa599bdb'::uuid;

-- Query #17635 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['75d492ef-c650-c229-b6af-f84ffa599bdb'::uuid]);

-- Query #17636 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '75d492ef-c650-c229-b6af-f84ffa599bdb'::uuid;

-- Query #17637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75d492ef-c650-c229-b6af-f84ffa599bdb'::uuid, 'Imdb', 'tt10847210')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75d492ef-c650-c229-b6af-f84ffa599bdb'::uuid, 'Tmdb', 2037328)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75d492ef-c650-c229-b6af-f84ffa599bdb'::uuid, 'TvMaze', 1786100)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75d492ef-c650-c229-b6af-f84ffa599bdb'::uuid, 'Tvdb', 7499668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75d492ef-c650-c229-b6af-f84ffa599bdb'::uuid, 'tv maze', 1786100)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75d492ef-c650-c229-b6af-f84ffa599bdb'::uuid, 'trakt', 3885818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17643 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '05a8cb7b-907a-138f-e25f-1efd8566d699'::uuid;

-- Query #17644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75d492ef-c650-c229-b6af-f84ffa599bdb'::uuid, 'eidr', '10.5240/37AF-0D4B-83CC-3CB0-4530-U')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75d492ef-c650-c229-b6af-f84ffa599bdb'::uuid, 'TmdbCollection', 2037328)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17646 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '75d492ef-c650-c229-b6af-f84ffa599bdb'::uuid;

-- Query #17647 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '75d492ef-c650-c229-b6af-f84ffa599bdb'::uuid;

-- Query #17648 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['75d492ef-c650-c229-b6af-f84ffa599bdb'::uuid]);

-- Query #17649 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '75d492ef-c650-c229-b6af-f84ffa599bdb'::uuid;

-- Query #17650 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17651 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05a8cb7b-907a-138f-e25f-1efd8566d699'::uuid]);

-- Query #17652 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '05a8cb7b-907a-138f-e25f-1efd8566d699'::uuid;

-- Query #17653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05a8cb7b-907a-138f-e25f-1efd8566d699'::uuid, 'Imdb', 'tt10169744')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05a8cb7b-907a-138f-e25f-1efd8566d699'::uuid, 'Tvdb', 8058394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05a8cb7b-907a-138f-e25f-1efd8566d699'::uuid, 'Tmdb', 2546481)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05a8cb7b-907a-138f-e25f-1efd8566d699'::uuid, 'trakt', 4605098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05a8cb7b-907a-138f-e25f-1efd8566d699'::uuid, 'TvMaze', 1979314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05a8cb7b-907a-138f-e25f-1efd8566d699'::uuid, 'TmdbCollection', 2546481)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '05a8cb7b-907a-138f-e25f-1efd8566d699'::uuid;

-- Query #17660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '05a8cb7b-907a-138f-e25f-1efd8566d699'::uuid;

-- Query #17661 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['05a8cb7b-907a-138f-e25f-1efd8566d699'::uuid]);

-- Query #17662 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '05a8cb7b-907a-138f-e25f-1efd8566d699'::uuid;

-- Query #17663 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17664 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eaef81ff-cf77-b133-00c0-4fceea27f91f'::uuid;

-- Query #17665 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eaef81ff-cf77-b133-00c0-4fceea27f91f'::uuid]);

-- Query #17666 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eaef81ff-cf77-b133-00c0-4fceea27f91f'::uuid;

-- Query #17667 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd03fbd17-2691-37ba-9219-e7f7a21789a5'::uuid;

-- Query #17668 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eaef81ff-cf77-b133-00c0-4fceea27f91f'::uuid, 'Imdb', 'tt10847192')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eaef81ff-cf77-b133-00c0-4fceea27f91f'::uuid, 'Tmdb', 2037325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eaef81ff-cf77-b133-00c0-4fceea27f91f'::uuid, 'TvMaze', 1786092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eaef81ff-cf77-b133-00c0-4fceea27f91f'::uuid, 'Tvdb', 7499654)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eaef81ff-cf77-b133-00c0-4fceea27f91f'::uuid, 'tv maze', 1786092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eaef81ff-cf77-b133-00c0-4fceea27f91f'::uuid, 'trakt', 3885815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eaef81ff-cf77-b133-00c0-4fceea27f91f'::uuid, 'eidr', '10.5240/D6AD-C99F-D395-F20A-CFE3-D')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eaef81ff-cf77-b133-00c0-4fceea27f91f'::uuid, 'TmdbCollection', 2037325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17676 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eaef81ff-cf77-b133-00c0-4fceea27f91f'::uuid;

-- Query #17677 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eaef81ff-cf77-b133-00c0-4fceea27f91f'::uuid;

-- Query #17678 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eaef81ff-cf77-b133-00c0-4fceea27f91f'::uuid]);

-- Query #17679 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d03fbd17-2691-37ba-9219-e7f7a21789a5'::uuid]);

-- Query #17680 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eaef81ff-cf77-b133-00c0-4fceea27f91f'::uuid;

-- Query #17681 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd03fbd17-2691-37ba-9219-e7f7a21789a5'::uuid;

-- Query #17682 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17683 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d03fbd17-2691-37ba-9219-e7f7a21789a5'::uuid, 'Imdb', 'tt10169690')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17684 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d03fbd17-2691-37ba-9219-e7f7a21789a5'::uuid, 'Tvdb', 8000641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17685 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d03fbd17-2691-37ba-9219-e7f7a21789a5'::uuid, 'Tmdb', 1692436)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d03fbd17-2691-37ba-9219-e7f7a21789a5'::uuid, 'trakt', 4540222)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d03fbd17-2691-37ba-9219-e7f7a21789a5'::uuid, 'TvMaze', 1955524)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d03fbd17-2691-37ba-9219-e7f7a21789a5'::uuid, 'TmdbCollection', 1692436)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17689 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd03fbd17-2691-37ba-9219-e7f7a21789a5'::uuid;

-- Query #17690 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd03fbd17-2691-37ba-9219-e7f7a21789a5'::uuid;

-- Query #17691 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d03fbd17-2691-37ba-9219-e7f7a21789a5'::uuid]);

-- Query #17692 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd03fbd17-2691-37ba-9219-e7f7a21789a5'::uuid;

-- Query #17693 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17694 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f131aea7-8dcd-f921-6f0d-04f413390cca'::uuid;

-- Query #17695 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f131aea7-8dcd-f921-6f0d-04f413390cca'::uuid]);

-- Query #17696 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f131aea7-8dcd-f921-6f0d-04f413390cca'::uuid;

-- Query #17697 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1f6527d2-30fb-7829-65ea-35947c10350f'::uuid;

-- Query #17698 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f131aea7-8dcd-f921-6f0d-04f413390cca'::uuid, 'Imdb', 'tt10169736')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17699 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f131aea7-8dcd-f921-6f0d-04f413390cca'::uuid, 'Tvdb', 8058392)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f131aea7-8dcd-f921-6f0d-04f413390cca'::uuid, 'Tmdb', 2546479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f131aea7-8dcd-f921-6f0d-04f413390cca'::uuid, 'trakt', 4605094)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f131aea7-8dcd-f921-6f0d-04f413390cca'::uuid, 'TvMaze', 1979312)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f131aea7-8dcd-f921-6f0d-04f413390cca'::uuid, 'TmdbCollection', 2546479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17704 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f131aea7-8dcd-f921-6f0d-04f413390cca'::uuid;

-- Query #17705 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1f6527d2-30fb-7829-65ea-35947c10350f'::uuid]);

-- Query #17706 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f131aea7-8dcd-f921-6f0d-04f413390cca'::uuid;

-- Query #17707 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1f6527d2-30fb-7829-65ea-35947c10350f'::uuid;

-- Query #17708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f6527d2-30fb-7829-65ea-35947c10350f'::uuid, 'eidr', '10.5240/0D15-0072-9E67-22BF-E42E-E')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f6527d2-30fb-7829-65ea-35947c10350f'::uuid, 'TmdbCollection', 2180317)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f6527d2-30fb-7829-65ea-35947c10350f'::uuid, 'Imdb', 'tt10847206')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f6527d2-30fb-7829-65ea-35947c10350f'::uuid, 'Tmdb', 2180317)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17712 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f6527d2-30fb-7829-65ea-35947c10350f'::uuid, 'TvMaze', 1802454)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f6527d2-30fb-7829-65ea-35947c10350f'::uuid, 'Tvdb', 7574998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f6527d2-30fb-7829-65ea-35947c10350f'::uuid, 'tv maze', 1802454)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f6527d2-30fb-7829-65ea-35947c10350f'::uuid, 'trakt', 3978723)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17716 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1f6527d2-30fb-7829-65ea-35947c10350f'::uuid;

-- Query #17717 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f131aea7-8dcd-f921-6f0d-04f413390cca'::uuid]);

-- Query #17718 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1f6527d2-30fb-7829-65ea-35947c10350f'::uuid;

-- Query #17719 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f131aea7-8dcd-f921-6f0d-04f413390cca'::uuid;

-- Query #17720 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17721 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1f6527d2-30fb-7829-65ea-35947c10350f'::uuid]);

-- Query #17722 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1f6527d2-30fb-7829-65ea-35947c10350f'::uuid;

-- Query #17723 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17724 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48a3abe1-0739-217f-abc9-c0f357dd8a6c'::uuid;

-- Query #17725 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '268ef73b-83fb-f4a9-7d44-d6e1516bbd0f'::uuid;

-- Query #17726 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48a3abe1-0739-217f-abc9-c0f357dd8a6c'::uuid]);

-- Query #17727 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '48a3abe1-0739-217f-abc9-c0f357dd8a6c'::uuid;

-- Query #17728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48a3abe1-0739-217f-abc9-c0f357dd8a6c'::uuid, 'Imdb', 'tt10169728')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17729 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48a3abe1-0739-217f-abc9-c0f357dd8a6c'::uuid, 'Tvdb', 8000647)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17730 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48a3abe1-0739-217f-abc9-c0f357dd8a6c'::uuid, 'Tmdb', 2546478)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17731 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['268ef73b-83fb-f4a9-7d44-d6e1516bbd0f'::uuid]);

-- Query #17732 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48a3abe1-0739-217f-abc9-c0f357dd8a6c'::uuid, 'trakt', 4540227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17733 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48a3abe1-0739-217f-abc9-c0f357dd8a6c'::uuid, 'TvMaze', 1956989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17734 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '268ef73b-83fb-f4a9-7d44-d6e1516bbd0f'::uuid;

-- Query #17735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48a3abe1-0739-217f-abc9-c0f357dd8a6c'::uuid, 'TmdbCollection', 2546478)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('268ef73b-83fb-f4a9-7d44-d6e1516bbd0f'::uuid, 'TmdbCollection', 2037327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('268ef73b-83fb-f4a9-7d44-d6e1516bbd0f'::uuid, 'Imdb', 'tt10847158')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17738 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48a3abe1-0739-217f-abc9-c0f357dd8a6c'::uuid;

-- Query #17739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('268ef73b-83fb-f4a9-7d44-d6e1516bbd0f'::uuid, 'Tmdb', 2037327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17740 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '48a3abe1-0739-217f-abc9-c0f357dd8a6c'::uuid;

-- Query #17741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('268ef73b-83fb-f4a9-7d44-d6e1516bbd0f'::uuid, 'TvMaze', 1786099)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17742 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('268ef73b-83fb-f4a9-7d44-d6e1516bbd0f'::uuid, 'Tvdb', 7499666)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17743 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('268ef73b-83fb-f4a9-7d44-d6e1516bbd0f'::uuid, 'tv maze', 1786099)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17744 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('268ef73b-83fb-f4a9-7d44-d6e1516bbd0f'::uuid, 'trakt', 3885817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('268ef73b-83fb-f4a9-7d44-d6e1516bbd0f'::uuid, 'eidr', '10.5240/456A-57F1-B0B0-3EFB-D5D4-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17746 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '268ef73b-83fb-f4a9-7d44-d6e1516bbd0f'::uuid;

-- Query #17747 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '268ef73b-83fb-f4a9-7d44-d6e1516bbd0f'::uuid;

-- Query #17748 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['48a3abe1-0739-217f-abc9-c0f357dd8a6c'::uuid]);

-- Query #17749 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '48a3abe1-0739-217f-abc9-c0f357dd8a6c'::uuid;

-- Query #17750 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17751 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['268ef73b-83fb-f4a9-7d44-d6e1516bbd0f'::uuid]);

-- Query #17752 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #17753 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '268ef73b-83fb-f4a9-7d44-d6e1516bbd0f'::uuid;

-- Query #17754 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17755 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '942c236d-a195-d4ea-2ab3-e83ae31de422'::uuid;

-- Query #17756 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['942c236d-a195-d4ea-2ab3-e83ae31de422'::uuid]);

-- Query #17757 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '942c236d-a195-d4ea-2ab3-e83ae31de422'::uuid;

-- Query #17758 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('942c236d-a195-d4ea-2ab3-e83ae31de422'::uuid, 'Imdb', 'tt10169748')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17759 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('942c236d-a195-d4ea-2ab3-e83ae31de422'::uuid, 'Tvdb', 8058395)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17760 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('942c236d-a195-d4ea-2ab3-e83ae31de422'::uuid, 'Tmdb', 2619568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17761 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('942c236d-a195-d4ea-2ab3-e83ae31de422'::uuid, 'trakt', 4699542)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17762 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('942c236d-a195-d4ea-2ab3-e83ae31de422'::uuid, 'TvMaze', 2000314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17763 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('942c236d-a195-d4ea-2ab3-e83ae31de422'::uuid, 'TmdbCollection', 2619568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17764 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b5a58e0-0f4b-0dc8-8613-063447863fac'::uuid;

-- Query #17765 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '942c236d-a195-d4ea-2ab3-e83ae31de422'::uuid;

-- Query #17766 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '942c236d-a195-d4ea-2ab3-e83ae31de422'::uuid;

-- Query #17767 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7b5a58e0-0f4b-0dc8-8613-063447863fac'::uuid]);

-- Query #17768 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7b5a58e0-0f4b-0dc8-8613-063447863fac'::uuid;

-- Query #17769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b5a58e0-0f4b-0dc8-8613-063447863fac'::uuid, 'Imdb', 'tt10188516')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b5a58e0-0f4b-0dc8-8613-063447863fac'::uuid, 'Tmdb', 2008892)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17771 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b5a58e0-0f4b-0dc8-8613-063447863fac'::uuid, 'TvMaze', 1753636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17772 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b5a58e0-0f4b-0dc8-8613-063447863fac'::uuid, 'Tvdb', 7442242)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17773 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b5a58e0-0f4b-0dc8-8613-063447863fac'::uuid, 'tv maze', 1753636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17774 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['942c236d-a195-d4ea-2ab3-e83ae31de422'::uuid]);

-- Query #17775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b5a58e0-0f4b-0dc8-8613-063447863fac'::uuid, 'trakt', 3522008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b5a58e0-0f4b-0dc8-8613-063447863fac'::uuid, 'eidr', '10.5240/FE80-F1D7-03BA-BF4B-7F4C-G')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17777 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '942c236d-a195-d4ea-2ab3-e83ae31de422'::uuid;

-- Query #17778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b5a58e0-0f4b-0dc8-8613-063447863fac'::uuid, 'TmdbCollection', 2008892)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17779 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17780 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b5a58e0-0f4b-0dc8-8613-063447863fac'::uuid;

-- Query #17781 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7b5a58e0-0f4b-0dc8-8613-063447863fac'::uuid;

-- Query #17782 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7b5a58e0-0f4b-0dc8-8613-063447863fac'::uuid]);

-- Query #17783 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7b5a58e0-0f4b-0dc8-8613-063447863fac'::uuid;

-- Query #17784 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17785 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2dad3f9f-d402-1bc2-acc2-c910fa6256ba'::uuid;

-- Query #17786 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '694515b9-9cda-f7bc-a96c-8559f9b8a78a'::uuid;

-- Query #17787 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2dad3f9f-d402-1bc2-acc2-c910fa6256ba'::uuid]);

-- Query #17788 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2dad3f9f-d402-1bc2-acc2-c910fa6256ba'::uuid;

-- Query #17789 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2dad3f9f-d402-1bc2-acc2-c910fa6256ba'::uuid, 'Imdb', 'tt10169704')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17790 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2dad3f9f-d402-1bc2-acc2-c910fa6256ba'::uuid, 'Tvdb', 8000644)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17791 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2dad3f9f-d402-1bc2-acc2-c910fa6256ba'::uuid, 'Tmdb', 1791003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2dad3f9f-d402-1bc2-acc2-c910fa6256ba'::uuid, 'trakt', 4540224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17793 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['694515b9-9cda-f7bc-a96c-8559f9b8a78a'::uuid]);

-- Query #17794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2dad3f9f-d402-1bc2-acc2-c910fa6256ba'::uuid, 'TvMaze', 1956986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17795 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '694515b9-9cda-f7bc-a96c-8559f9b8a78a'::uuid;

-- Query #17796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2dad3f9f-d402-1bc2-acc2-c910fa6256ba'::uuid, 'TmdbCollection', 1791003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('694515b9-9cda-f7bc-a96c-8559f9b8a78a'::uuid, 'TmdbCollection', 2037322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17798 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2dad3f9f-d402-1bc2-acc2-c910fa6256ba'::uuid;

-- Query #17799 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('694515b9-9cda-f7bc-a96c-8559f9b8a78a'::uuid, 'TvMaze', 1784095)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17800 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('694515b9-9cda-f7bc-a96c-8559f9b8a78a'::uuid, 'Tvdb', 7499649)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17801 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2dad3f9f-d402-1bc2-acc2-c910fa6256ba'::uuid;

-- Query #17802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('694515b9-9cda-f7bc-a96c-8559f9b8a78a'::uuid, 'tv maze', 1784095)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('694515b9-9cda-f7bc-a96c-8559f9b8a78a'::uuid, 'trakt', 3885811)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('694515b9-9cda-f7bc-a96c-8559f9b8a78a'::uuid, 'eidr', '10.5240/B5F7-F48C-247C-E35A-8B33-8')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('694515b9-9cda-f7bc-a96c-8559f9b8a78a'::uuid, 'Imdb', 'tt10847170')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('694515b9-9cda-f7bc-a96c-8559f9b8a78a'::uuid, 'Tmdb', 2037322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17807 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '694515b9-9cda-f7bc-a96c-8559f9b8a78a'::uuid;

-- Query #17808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '694515b9-9cda-f7bc-a96c-8559f9b8a78a'::uuid;

-- Query #17809 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2dad3f9f-d402-1bc2-acc2-c910fa6256ba'::uuid]);

-- Query #17810 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2dad3f9f-d402-1bc2-acc2-c910fa6256ba'::uuid;

-- Query #17811 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17812 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['694515b9-9cda-f7bc-a96c-8559f9b8a78a'::uuid]);

-- Query #17813 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '694515b9-9cda-f7bc-a96c-8559f9b8a78a'::uuid;

-- Query #17814 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17815 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f7f625b-dc5c-d0da-ac3b-698ccd515eb6'::uuid;

-- Query #17816 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '04b100d4-b73c-b2aa-7844-8b8be4b1ba3d'::uuid;

-- Query #17817 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f7f625b-dc5c-d0da-ac3b-698ccd515eb6'::uuid]);

-- Query #17818 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7f7f625b-dc5c-d0da-ac3b-698ccd515eb6'::uuid;

-- Query #17819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f7f625b-dc5c-d0da-ac3b-698ccd515eb6'::uuid, 'Imdb', 'tt10169700')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f7f625b-dc5c-d0da-ac3b-698ccd515eb6'::uuid, 'Tvdb', 8000643)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f7f625b-dc5c-d0da-ac3b-698ccd515eb6'::uuid, 'Tmdb', 1791002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f7f625b-dc5c-d0da-ac3b-698ccd515eb6'::uuid, 'trakt', 4540223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17823 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f7f625b-dc5c-d0da-ac3b-698ccd515eb6'::uuid, 'TvMaze', 1956985)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f7f625b-dc5c-d0da-ac3b-698ccd515eb6'::uuid, 'TmdbCollection', 1791002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17825 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f7f625b-dc5c-d0da-ac3b-698ccd515eb6'::uuid;

-- Query #17826 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7f7f625b-dc5c-d0da-ac3b-698ccd515eb6'::uuid;

-- Query #17827 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['04b100d4-b73c-b2aa-7844-8b8be4b1ba3d'::uuid]);

-- Query #17828 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '04b100d4-b73c-b2aa-7844-8b8be4b1ba3d'::uuid;

-- Query #17829 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7f7f625b-dc5c-d0da-ac3b-698ccd515eb6'::uuid]);

-- Query #17830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04b100d4-b73c-b2aa-7844-8b8be4b1ba3d'::uuid, 'Imdb', 'tt10847238')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04b100d4-b73c-b2aa-7844-8b8be4b1ba3d'::uuid, 'Tmdb', 2180320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17832 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7f7f625b-dc5c-d0da-ac3b-698ccd515eb6'::uuid;

-- Query #17833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04b100d4-b73c-b2aa-7844-8b8be4b1ba3d'::uuid, 'TvMaze', 1822313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17834 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04b100d4-b73c-b2aa-7844-8b8be4b1ba3d'::uuid, 'Tvdb', 7596577)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17836 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04b100d4-b73c-b2aa-7844-8b8be4b1ba3d'::uuid, 'tv maze', 1822313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04b100d4-b73c-b2aa-7844-8b8be4b1ba3d'::uuid, 'trakt', 4008050)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04b100d4-b73c-b2aa-7844-8b8be4b1ba3d'::uuid, 'eidr', '10.5240/0308-3BB3-CE26-9D37-0D07-L')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04b100d4-b73c-b2aa-7844-8b8be4b1ba3d'::uuid, 'TmdbCollection', 2180320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17840 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '04b100d4-b73c-b2aa-7844-8b8be4b1ba3d'::uuid;

-- Query #17841 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '04b100d4-b73c-b2aa-7844-8b8be4b1ba3d'::uuid;

-- Query #17842 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['04b100d4-b73c-b2aa-7844-8b8be4b1ba3d'::uuid]);

-- Query #17843 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '04b100d4-b73c-b2aa-7844-8b8be4b1ba3d'::uuid;

-- Query #17844 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17845 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3f8d285f-6b0f-8c94-7264-ed8cb8b8ae76'::uuid;

-- Query #17846 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '816a23df-8074-11f1-5003-6edc0f21606e'::uuid;

-- Query #17847 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3f8d285f-6b0f-8c94-7264-ed8cb8b8ae76'::uuid]);

-- Query #17848 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3f8d285f-6b0f-8c94-7264-ed8cb8b8ae76'::uuid;

-- Query #17849 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f8d285f-6b0f-8c94-7264-ed8cb8b8ae76'::uuid, 'eidr', '10.5240/B718-5233-96A2-1D4B-F1FB-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f8d285f-6b0f-8c94-7264-ed8cb8b8ae76'::uuid, 'TmdbCollection', 2037326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f8d285f-6b0f-8c94-7264-ed8cb8b8ae76'::uuid, 'Imdb', 'tt10847188')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17852 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['816a23df-8074-11f1-5003-6edc0f21606e'::uuid]);

-- Query #17853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f8d285f-6b0f-8c94-7264-ed8cb8b8ae76'::uuid, 'Tmdb', 2037326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17854 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '816a23df-8074-11f1-5003-6edc0f21606e'::uuid;

-- Query #17855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f8d285f-6b0f-8c94-7264-ed8cb8b8ae76'::uuid, 'TvMaze', 1786098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('816a23df-8074-11f1-5003-6edc0f21606e'::uuid, 'Imdb', 'tt22167150')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f8d285f-6b0f-8c94-7264-ed8cb8b8ae76'::uuid, 'Tvdb', 7499663)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f8d285f-6b0f-8c94-7264-ed8cb8b8ae76'::uuid, 'tv maze', 1786098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('816a23df-8074-11f1-5003-6edc0f21606e'::uuid, 'Tvdb', 9325401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f8d285f-6b0f-8c94-7264-ed8cb8b8ae76'::uuid, 'trakt', 3885816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('816a23df-8074-11f1-5003-6edc0f21606e'::uuid, 'Tmdb', 4118925)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17862 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3f8d285f-6b0f-8c94-7264-ed8cb8b8ae76'::uuid;

-- Query #17863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('816a23df-8074-11f1-5003-6edc0f21606e'::uuid, 'trakt', 7030317)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17864 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('816a23df-8074-11f1-5003-6edc0f21606e'::uuid, 'TvMaze', 2463465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17865 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3f8d285f-6b0f-8c94-7264-ed8cb8b8ae76'::uuid;

-- Query #17866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('816a23df-8074-11f1-5003-6edc0f21606e'::uuid, 'TmdbCollection', 4118925)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17867 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '816a23df-8074-11f1-5003-6edc0f21606e'::uuid;

-- Query #17868 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '816a23df-8074-11f1-5003-6edc0f21606e'::uuid;

-- Query #17869 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3f8d285f-6b0f-8c94-7264-ed8cb8b8ae76'::uuid]);

-- Query #17870 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3f8d285f-6b0f-8c94-7264-ed8cb8b8ae76'::uuid;

-- Query #17871 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['816a23df-8074-11f1-5003-6edc0f21606e'::uuid]);

-- Query #17872 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17873 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '816a23df-8074-11f1-5003-6edc0f21606e'::uuid;

-- Query #17874 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17875 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '216b0467-c4ab-83f1-c5ba-30f8624c5f17'::uuid;

-- Query #17876 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9b1d806e-f67d-7ad2-6151-cd656f01c448'::uuid;

-- Query #17877 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['216b0467-c4ab-83f1-c5ba-30f8624c5f17'::uuid]);

-- Query #17878 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '216b0467-c4ab-83f1-c5ba-30f8624c5f17'::uuid;

-- Query #17879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('216b0467-c4ab-83f1-c5ba-30f8624c5f17'::uuid, 'Imdb', 'tt10847232')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('216b0467-c4ab-83f1-c5ba-30f8624c5f17'::uuid, 'Tmdb', 2180318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('216b0467-c4ab-83f1-c5ba-30f8624c5f17'::uuid, 'TvMaze', 1814318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17882 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9b1d806e-f67d-7ad2-6151-cd656f01c448'::uuid]);

-- Query #17883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('216b0467-c4ab-83f1-c5ba-30f8624c5f17'::uuid, 'Tvdb', 7596575)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17884 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9b1d806e-f67d-7ad2-6151-cd656f01c448'::uuid;

-- Query #17885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('216b0467-c4ab-83f1-c5ba-30f8624c5f17'::uuid, 'tv maze', 1814318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('216b0467-c4ab-83f1-c5ba-30f8624c5f17'::uuid, 'trakt', 4008048)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b1d806e-f67d-7ad2-6151-cd656f01c448'::uuid, 'Imdb', 'tt22167148')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('216b0467-c4ab-83f1-c5ba-30f8624c5f17'::uuid, 'eidr', '10.5240/676B-C0E4-8842-4BE3-4F22-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b1d806e-f67d-7ad2-6151-cd656f01c448'::uuid, 'Tvdb', 9325400)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('216b0467-c4ab-83f1-c5ba-30f8624c5f17'::uuid, 'TmdbCollection', 2180318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b1d806e-f67d-7ad2-6151-cd656f01c448'::uuid, 'Tmdb', 4109076)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b1d806e-f67d-7ad2-6151-cd656f01c448'::uuid, 'trakt', 6987390)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17893 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '216b0467-c4ab-83f1-c5ba-30f8624c5f17'::uuid;

-- Query #17894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b1d806e-f67d-7ad2-6151-cd656f01c448'::uuid, 'TvMaze', 2463460)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17895 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '216b0467-c4ab-83f1-c5ba-30f8624c5f17'::uuid;

-- Query #17896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b1d806e-f67d-7ad2-6151-cd656f01c448'::uuid, 'TmdbCollection', 4109076)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17897 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9b1d806e-f67d-7ad2-6151-cd656f01c448'::uuid;

-- Query #17898 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9b1d806e-f67d-7ad2-6151-cd656f01c448'::uuid;

-- Query #17899 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['216b0467-c4ab-83f1-c5ba-30f8624c5f17'::uuid]);

-- Query #17900 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '216b0467-c4ab-83f1-c5ba-30f8624c5f17'::uuid;

-- Query #17901 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9b1d806e-f67d-7ad2-6151-cd656f01c448'::uuid]);

-- Query #17902 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17903 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9b1d806e-f67d-7ad2-6151-cd656f01c448'::uuid;

-- Query #17904 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17905 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf25ea60-e122-67ed-be12-f8c583ac0175'::uuid;

-- Query #17906 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c44bbba-2396-0063-9e5a-4a93b2693f3f'::uuid;

-- Query #17907 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf25ea60-e122-67ed-be12-f8c583ac0175'::uuid]);

-- Query #17908 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bf25ea60-e122-67ed-be12-f8c583ac0175'::uuid;

-- Query #17909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf25ea60-e122-67ed-be12-f8c583ac0175'::uuid, 'Imdb', 'tt14113526')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf25ea60-e122-67ed-be12-f8c583ac0175'::uuid, 'Tmdb', 2890204)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf25ea60-e122-67ed-be12-f8c583ac0175'::uuid, 'TvMaze', 2072262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17912 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6c44bbba-2396-0063-9e5a-4a93b2693f3f'::uuid]);

-- Query #17913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf25ea60-e122-67ed-be12-f8c583ac0175'::uuid, 'Tvdb', 8358746)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf25ea60-e122-67ed-be12-f8c583ac0175'::uuid, 'tv maze', 2072262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17915 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6c44bbba-2396-0063-9e5a-4a93b2693f3f'::uuid;

-- Query #17916 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf25ea60-e122-67ed-be12-f8c583ac0175'::uuid, 'trakt', 5128398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17917 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c44bbba-2396-0063-9e5a-4a93b2693f3f'::uuid, 'Imdb', 'tt22167160')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf25ea60-e122-67ed-be12-f8c583ac0175'::uuid, 'eidr', '10.5240/E35E-C780-639B-4E78-E53F-9')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17919 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c44bbba-2396-0063-9e5a-4a93b2693f3f'::uuid, 'Tvdb', 9325407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf25ea60-e122-67ed-be12-f8c583ac0175'::uuid, 'TmdbCollection', 2890204)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c44bbba-2396-0063-9e5a-4a93b2693f3f'::uuid, 'Tmdb', 4206201)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c44bbba-2396-0063-9e5a-4a93b2693f3f'::uuid, 'trakt', 7303278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17923 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf25ea60-e122-67ed-be12-f8c583ac0175'::uuid;

-- Query #17924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c44bbba-2396-0063-9e5a-4a93b2693f3f'::uuid, 'TvMaze', 2468888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17925 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bf25ea60-e122-67ed-be12-f8c583ac0175'::uuid;

-- Query #17926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c44bbba-2396-0063-9e5a-4a93b2693f3f'::uuid, 'TmdbCollection', 4206201)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17927 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c44bbba-2396-0063-9e5a-4a93b2693f3f'::uuid;

-- Query #17928 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6c44bbba-2396-0063-9e5a-4a93b2693f3f'::uuid;

-- Query #17929 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bf25ea60-e122-67ed-be12-f8c583ac0175'::uuid]);

-- Query #17930 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bf25ea60-e122-67ed-be12-f8c583ac0175'::uuid;

-- Query #17931 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6c44bbba-2396-0063-9e5a-4a93b2693f3f'::uuid]);

-- Query #17932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17933 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6c44bbba-2396-0063-9e5a-4a93b2693f3f'::uuid;

-- Query #17934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17935 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ff33b96-9d57-c3d7-fcee-4c191c1b0ccf'::uuid;

-- Query #17936 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0a1b21cf-5936-f130-f72f-40c1837463ff'::uuid;

-- Query #17937 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ff33b96-9d57-c3d7-fcee-4c191c1b0ccf'::uuid]);

-- Query #17938 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5ff33b96-9d57-c3d7-fcee-4c191c1b0ccf'::uuid;

-- Query #17939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ff33b96-9d57-c3d7-fcee-4c191c1b0ccf'::uuid, 'Imdb', 'tt22167156')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ff33b96-9d57-c3d7-fcee-4c191c1b0ccf'::uuid, 'Tvdb', 9325405)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17941 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a1b21cf-5936-f130-f72f-40c1837463ff'::uuid]);

-- Query #17942 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ff33b96-9d57-c3d7-fcee-4c191c1b0ccf'::uuid, 'Tmdb', 4129034)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17943 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ff33b96-9d57-c3d7-fcee-4c191c1b0ccf'::uuid, 'trakt', 7039922)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17944 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0a1b21cf-5936-f130-f72f-40c1837463ff'::uuid;

-- Query #17945 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ff33b96-9d57-c3d7-fcee-4c191c1b0ccf'::uuid, 'TvMaze', 2463467)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17946 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a1b21cf-5936-f130-f72f-40c1837463ff'::uuid, 'Imdb', 'tt14124538')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ff33b96-9d57-c3d7-fcee-4c191c1b0ccf'::uuid, 'TmdbCollection', 4129034)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a1b21cf-5936-f130-f72f-40c1837463ff'::uuid, 'Tmdb', 2890205)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17949 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ff33b96-9d57-c3d7-fcee-4c191c1b0ccf'::uuid;

-- Query #17950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a1b21cf-5936-f130-f72f-40c1837463ff'::uuid, 'TvMaze', 2072263)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17951 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5ff33b96-9d57-c3d7-fcee-4c191c1b0ccf'::uuid;

-- Query #17952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a1b21cf-5936-f130-f72f-40c1837463ff'::uuid, 'Tvdb', 8358755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a1b21cf-5936-f130-f72f-40c1837463ff'::uuid, 'tv maze', 2072263)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17954 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a1b21cf-5936-f130-f72f-40c1837463ff'::uuid, 'trakt', 5128399)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17955 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a1b21cf-5936-f130-f72f-40c1837463ff'::uuid, 'eidr', '10.5240/45DB-BEF7-4FF9-ABA1-658C-8')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17956 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a1b21cf-5936-f130-f72f-40c1837463ff'::uuid, 'TmdbCollection', 2890205)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17957 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0a1b21cf-5936-f130-f72f-40c1837463ff'::uuid;

-- Query #17958 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0a1b21cf-5936-f130-f72f-40c1837463ff'::uuid;

-- Query #17959 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5ff33b96-9d57-c3d7-fcee-4c191c1b0ccf'::uuid]);

-- Query #17960 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5ff33b96-9d57-c3d7-fcee-4c191c1b0ccf'::uuid;

-- Query #17961 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17962 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0a1b21cf-5936-f130-f72f-40c1837463ff'::uuid]);

-- Query #17963 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0a1b21cf-5936-f130-f72f-40c1837463ff'::uuid;

-- Query #17964 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17965 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ce82cff-c952-8df3-e7b4-803b0d8fe39b'::uuid;

-- Query #17966 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9eb3e00f-3823-36fd-e101-4bcf946f4451'::uuid;

-- Query #17967 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ce82cff-c952-8df3-e7b4-803b0d8fe39b'::uuid]);

-- Query #17968 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4ce82cff-c952-8df3-e7b4-803b0d8fe39b'::uuid;

-- Query #17969 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ce82cff-c952-8df3-e7b4-803b0d8fe39b'::uuid, 'trakt', 4620551)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17970 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ce82cff-c952-8df3-e7b4-803b0d8fe39b'::uuid, 'eidr', '10.5240/2ED7-CAB5-7E39-20C3-4FEE-E')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ce82cff-c952-8df3-e7b4-803b0d8fe39b'::uuid, 'TmdbCollection', 2635280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ce82cff-c952-8df3-e7b4-803b0d8fe39b'::uuid, 'Imdb', 'tt13636690')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17973 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ce82cff-c952-8df3-e7b4-803b0d8fe39b'::uuid, 'Tmdb', 2635280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17974 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ce82cff-c952-8df3-e7b4-803b0d8fe39b'::uuid, 'TvMaze', 1978278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ce82cff-c952-8df3-e7b4-803b0d8fe39b'::uuid, 'Tvdb', 8071155)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ce82cff-c952-8df3-e7b4-803b0d8fe39b'::uuid, 'tv maze', 1978278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17977 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ce82cff-c952-8df3-e7b4-803b0d8fe39b'::uuid;

-- Query #17978 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4ce82cff-c952-8df3-e7b4-803b0d8fe39b'::uuid;

-- Query #17979 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9eb3e00f-3823-36fd-e101-4bcf946f4451'::uuid]);

-- Query #17980 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9eb3e00f-3823-36fd-e101-4bcf946f4451'::uuid;

-- Query #17981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9eb3e00f-3823-36fd-e101-4bcf946f4451'::uuid, 'Imdb', 'tt22167154')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9eb3e00f-3823-36fd-e101-4bcf946f4451'::uuid, 'Tvdb', 9325402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9eb3e00f-3823-36fd-e101-4bcf946f4451'::uuid, 'Tmdb', 4129035)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17984 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9eb3e00f-3823-36fd-e101-4bcf946f4451'::uuid, 'trakt', 7039921)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17985 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9eb3e00f-3823-36fd-e101-4bcf946f4451'::uuid, 'TvMaze', 2463466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17986 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9eb3e00f-3823-36fd-e101-4bcf946f4451'::uuid, 'TmdbCollection', 4129035)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #17987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9eb3e00f-3823-36fd-e101-4bcf946f4451'::uuid;

-- Query #17988 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9eb3e00f-3823-36fd-e101-4bcf946f4451'::uuid;

-- Query #17989 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4ce82cff-c952-8df3-e7b4-803b0d8fe39b'::uuid]);

-- Query #17990 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4ce82cff-c952-8df3-e7b4-803b0d8fe39b'::uuid;

-- Query #17991 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17992 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9eb3e00f-3823-36fd-e101-4bcf946f4451'::uuid]);

-- Query #17993 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9eb3e00f-3823-36fd-e101-4bcf946f4451'::uuid;

-- Query #17994 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #17995 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d97dcba-1ca9-836d-9f68-a7c8fcc47421'::uuid;

-- Query #17996 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3cf30e2a-1b3d-971d-72b7-1f9d5d107599'::uuid;

-- Query #17997 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d97dcba-1ca9-836d-9f68-a7c8fcc47421'::uuid]);

-- Query #17998 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5d97dcba-1ca9-836d-9f68-a7c8fcc47421'::uuid;

-- Query #17999 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d97dcba-1ca9-836d-9f68-a7c8fcc47421'::uuid, 'Imdb', 'tt22167142')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18000 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d97dcba-1ca9-836d-9f68-a7c8fcc47421'::uuid, 'Tvdb', 9325399)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d97dcba-1ca9-836d-9f68-a7c8fcc47421'::uuid, 'Tmdb', 4074018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d97dcba-1ca9-836d-9f68-a7c8fcc47421'::uuid, 'trakt', 6926558)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d97dcba-1ca9-836d-9f68-a7c8fcc47421'::uuid, 'TvMaze', 2442073)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d97dcba-1ca9-836d-9f68-a7c8fcc47421'::uuid, 'TmdbCollection', 4074018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18005 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d97dcba-1ca9-836d-9f68-a7c8fcc47421'::uuid;

-- Query #18006 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5d97dcba-1ca9-836d-9f68-a7c8fcc47421'::uuid;

-- Query #18007 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3cf30e2a-1b3d-971d-72b7-1f9d5d107599'::uuid]);

-- Query #18008 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3cf30e2a-1b3d-971d-72b7-1f9d5d107599'::uuid;

-- Query #18009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cf30e2a-1b3d-971d-72b7-1f9d5d107599'::uuid, 'TmdbCollection', 2890206)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cf30e2a-1b3d-971d-72b7-1f9d5d107599'::uuid, 'Imdb', 'tt14124534')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cf30e2a-1b3d-971d-72b7-1f9d5d107599'::uuid, 'Tmdb', 2890206)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18012 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5d97dcba-1ca9-836d-9f68-a7c8fcc47421'::uuid]);

-- Query #18013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cf30e2a-1b3d-971d-72b7-1f9d5d107599'::uuid, 'TvMaze', 2072264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18014 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5d97dcba-1ca9-836d-9f68-a7c8fcc47421'::uuid;

-- Query #18015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cf30e2a-1b3d-971d-72b7-1f9d5d107599'::uuid, 'Tvdb', 8358756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cf30e2a-1b3d-971d-72b7-1f9d5d107599'::uuid, 'tv maze', 2072264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18017 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18018 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cf30e2a-1b3d-971d-72b7-1f9d5d107599'::uuid, 'trakt', 5128400)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cf30e2a-1b3d-971d-72b7-1f9d5d107599'::uuid, 'eidr', '10.5240/10B1-0609-662C-489F-EE0D-K')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18020 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3cf30e2a-1b3d-971d-72b7-1f9d5d107599'::uuid;

-- Query #18021 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3cf30e2a-1b3d-971d-72b7-1f9d5d107599'::uuid;

-- Query #18022 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3cf30e2a-1b3d-971d-72b7-1f9d5d107599'::uuid]);

-- Query #18023 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3cf30e2a-1b3d-971d-72b7-1f9d5d107599'::uuid;

-- Query #18024 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18025 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb0918a6-9a26-d502-8acb-76921a2f70d7'::uuid;

-- Query #18026 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3efeb48e-894c-4aad-22ac-f82ffb9a8c06'::uuid;

-- Query #18027 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb0918a6-9a26-d502-8acb-76921a2f70d7'::uuid]);

-- Query #18028 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eb0918a6-9a26-d502-8acb-76921a2f70d7'::uuid;

-- Query #18029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb0918a6-9a26-d502-8acb-76921a2f70d7'::uuid, 'Imdb', 'tt22167138')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb0918a6-9a26-d502-8acb-76921a2f70d7'::uuid, 'Tvdb', 9325398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18031 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb0918a6-9a26-d502-8acb-76921a2f70d7'::uuid, 'Tmdb', 4074015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb0918a6-9a26-d502-8acb-76921a2f70d7'::uuid, 'trakt', 6926550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18033 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb0918a6-9a26-d502-8acb-76921a2f70d7'::uuid, 'TvMaze', 2442072)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18034 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb0918a6-9a26-d502-8acb-76921a2f70d7'::uuid, 'TmdbCollection', 4074015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18035 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb0918a6-9a26-d502-8acb-76921a2f70d7'::uuid;

-- Query #18036 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eb0918a6-9a26-d502-8acb-76921a2f70d7'::uuid;

-- Query #18037 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3efeb48e-894c-4aad-22ac-f82ffb9a8c06'::uuid]);

-- Query #18038 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3efeb48e-894c-4aad-22ac-f82ffb9a8c06'::uuid;

-- Query #18039 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3efeb48e-894c-4aad-22ac-f82ffb9a8c06'::uuid, 'TmdbCollection', 2845191)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18040 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3efeb48e-894c-4aad-22ac-f82ffb9a8c06'::uuid, 'Imdb', 'tt14076692')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18041 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3efeb48e-894c-4aad-22ac-f82ffb9a8c06'::uuid, 'Tmdb', 2845191)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18042 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3efeb48e-894c-4aad-22ac-f82ffb9a8c06'::uuid, 'TvMaze', 2034138)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18043 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eb0918a6-9a26-d502-8acb-76921a2f70d7'::uuid]);

-- Query #18044 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3efeb48e-894c-4aad-22ac-f82ffb9a8c06'::uuid, 'Tvdb', 8216861)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3efeb48e-894c-4aad-22ac-f82ffb9a8c06'::uuid, 'tv maze', 2034138)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18046 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eb0918a6-9a26-d502-8acb-76921a2f70d7'::uuid;

-- Query #18047 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3efeb48e-894c-4aad-22ac-f82ffb9a8c06'::uuid, 'trakt', 5030274)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3efeb48e-894c-4aad-22ac-f82ffb9a8c06'::uuid, 'eidr', '10.5240/97B3-084D-F178-F6A0-7380-E')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18050 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3efeb48e-894c-4aad-22ac-f82ffb9a8c06'::uuid;

-- Query #18051 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3efeb48e-894c-4aad-22ac-f82ffb9a8c06'::uuid;

-- Query #18052 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3efeb48e-894c-4aad-22ac-f82ffb9a8c06'::uuid]);

-- Query #18053 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3efeb48e-894c-4aad-22ac-f82ffb9a8c06'::uuid;

-- Query #18054 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18055 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e93c2002-e160-665f-a7fb-9976631ff694'::uuid;

-- Query #18056 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid;

-- Query #18057 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e93c2002-e160-665f-a7fb-9976631ff694'::uuid]);

-- Query #18058 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e93c2002-e160-665f-a7fb-9976631ff694'::uuid;

-- Query #18059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e93c2002-e160-665f-a7fb-9976631ff694'::uuid, 'Imdb', 'tt14124532')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e93c2002-e160-665f-a7fb-9976631ff694'::uuid, 'Tmdb', 2890207)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e93c2002-e160-665f-a7fb-9976631ff694'::uuid, 'TvMaze', 2072265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18062 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid]);

-- Query #18063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e93c2002-e160-665f-a7fb-9976631ff694'::uuid, 'Tvdb', 8358758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18064 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid;

-- Query #18065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e93c2002-e160-665f-a7fb-9976631ff694'::uuid, 'tv maze', 2072265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e93c2002-e160-665f-a7fb-9976631ff694'::uuid, 'trakt', 5128401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18067 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid, 'Imdb', 'tt22167162')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e93c2002-e160-665f-a7fb-9976631ff694'::uuid, 'eidr', '10.5240/5B14-FF8E-5AF4-A4CD-03B0-Q')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid, 'Tvdb', 9325408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e93c2002-e160-665f-a7fb-9976631ff694'::uuid, 'TmdbCollection', 2890207)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid, 'Tmdb', 4206202)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid, 'trakt', 7303286)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18073 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e93c2002-e160-665f-a7fb-9976631ff694'::uuid;

-- Query #18074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid, 'TvMaze', 2468889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e93c2002-e160-665f-a7fb-9976631ff694'::uuid;

-- Query #18076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid, 'TmdbCollection', 4206202)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18077 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid;

-- Query #18078 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid;

-- Query #18079 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e93c2002-e160-665f-a7fb-9976631ff694'::uuid]);

-- Query #18080 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e93c2002-e160-665f-a7fb-9976631ff694'::uuid;

-- Query #18081 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid]);

-- Query #18082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18083 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid;

-- Query #18084 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['41a0f847-6a6f-dd53-d502-1747394089a4'::uuid, 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18085 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5a6f2ba-ba3d-e264-0201-6ed897b3b8c9'::uuid
ORDER BY b."SortName";

-- Query #18086 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid])
ORDER BY b."Id";

-- Query #18087 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid])
ORDER BY b."Id";

-- Query #18088 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid])
ORDER BY b."Id";

-- Query #18089 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid])
ORDER BY b."Id";

-- Query #18090 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid, '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid])
ORDER BY b."Id";

-- Query #18091 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '62323e6b-4117-bf7a-14a5-50fb7c73b95d'::uuid
ORDER BY b."SortName";

-- Query #18092 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '41a0f847-6a6f-dd53-d502-1747394089a4'::uuid
ORDER BY b."SortName";

-- Query #18093 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ac3cbc8-1823-a5e7-8ae8-e6d2a01c496b'::uuid;

-- Query #18094 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'e5a6f2baba3de26402016ed897b3b8c9'
ORDER BY b."SortName", b."Name";

-- Query #18095 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ac3cbc8-1823-a5e7-8ae8-e6d2a01c496b'::uuid]);

-- Query #18096 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8ac3cbc8-1823-a5e7-8ae8-e6d2a01c496b'::uuid;

-- Query #18097 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ac3cbc8-1823-a5e7-8ae8-e6d2a01c496b'::uuid, 'Tvdb', 8358760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18098 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ac3cbc8-1823-a5e7-8ae8-e6d2a01c496b'::uuid, 'tv maze', 2072266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18099 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ac3cbc8-1823-a5e7-8ae8-e6d2a01c496b'::uuid, 'trakt', 5128402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ac3cbc8-1823-a5e7-8ae8-e6d2a01c496b'::uuid, 'eidr', '10.5240/2257-6E50-1A50-94DB-8249-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ac3cbc8-1823-a5e7-8ae8-e6d2a01c496b'::uuid, 'TmdbCollection', 2890209)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ac3cbc8-1823-a5e7-8ae8-e6d2a01c496b'::uuid, 'Imdb', 'tt14124530')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ac3cbc8-1823-a5e7-8ae8-e6d2a01c496b'::uuid, 'Tmdb', 2890209)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ac3cbc8-1823-a5e7-8ae8-e6d2a01c496b'::uuid, 'TvMaze', 2072266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18105 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ac3cbc8-1823-a5e7-8ae8-e6d2a01c496b'::uuid;

-- Query #18106 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8ac3cbc8-1823-a5e7-8ae8-e6d2a01c496b'::uuid;

-- Query #18107 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8ac3cbc8-1823-a5e7-8ae8-e6d2a01c496b'::uuid]);

-- Query #18108 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8ac3cbc8-1823-a5e7-8ae8-e6d2a01c496b'::uuid;

-- Query #18109 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18110 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a4ae5929-9e51-e89a-f1fe-ccf22cf60eb4'::uuid;

-- Query #18111 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a4ae5929-9e51-e89a-f1fe-ccf22cf60eb4'::uuid]);

-- Query #18112 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a4ae5929-9e51-e89a-f1fe-ccf22cf60eb4'::uuid;

-- Query #18113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4ae5929-9e51-e89a-f1fe-ccf22cf60eb4'::uuid, 'TmdbCollection', 2890201)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18114 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4ae5929-9e51-e89a-f1fe-ccf22cf60eb4'::uuid, 'Imdb', 'tt14085168')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18115 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4ae5929-9e51-e89a-f1fe-ccf22cf60eb4'::uuid, 'Tmdb', 2890201)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4ae5929-9e51-e89a-f1fe-ccf22cf60eb4'::uuid, 'TvMaze', 2072259)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4ae5929-9e51-e89a-f1fe-ccf22cf60eb4'::uuid, 'Tvdb', 8288911)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4ae5929-9e51-e89a-f1fe-ccf22cf60eb4'::uuid, 'tv maze', 2072259)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4ae5929-9e51-e89a-f1fe-ccf22cf60eb4'::uuid, 'trakt', 5128396)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4ae5929-9e51-e89a-f1fe-ccf22cf60eb4'::uuid, 'eidr', '10.5240/9364-7408-DCAF-6777-60E7-6')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18121 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a4ae5929-9e51-e89a-f1fe-ccf22cf60eb4'::uuid;

-- Query #18122 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a4ae5929-9e51-e89a-f1fe-ccf22cf60eb4'::uuid;

-- Query #18123 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a4ae5929-9e51-e89a-f1fe-ccf22cf60eb4'::uuid]);

-- Query #18124 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a4ae5929-9e51-e89a-f1fe-ccf22cf60eb4'::uuid;

-- Query #18125 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18126 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a9970f89-44c8-c765-aeac-01a5a843b748'::uuid;

-- Query #18127 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9970f89-44c8-c765-aeac-01a5a843b748'::uuid]);

-- Query #18128 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a9970f89-44c8-c765-aeac-01a5a843b748'::uuid;

-- Query #18129 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9970f89-44c8-c765-aeac-01a5a843b748'::uuid, 'TmdbCollection', 2539903)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18130 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9970f89-44c8-c765-aeac-01a5a843b748'::uuid, 'Imdb', 'tt12645040')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18131 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9970f89-44c8-c765-aeac-01a5a843b748'::uuid, 'Tmdb', 2539903)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9970f89-44c8-c765-aeac-01a5a843b748'::uuid, 'TvMaze', 1978277)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9970f89-44c8-c765-aeac-01a5a843b748'::uuid, 'Tvdb', 7896392)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9970f89-44c8-c765-aeac-01a5a843b748'::uuid, 'tv maze', 1978277)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9970f89-44c8-c765-aeac-01a5a843b748'::uuid, 'trakt', 4620550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9970f89-44c8-c765-aeac-01a5a843b748'::uuid, 'eidr', '10.5240/625A-A3B4-D268-AAAD-1519-H')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18137 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a9970f89-44c8-c765-aeac-01a5a843b748'::uuid;

-- Query #18138 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a9970f89-44c8-c765-aeac-01a5a843b748'::uuid;

-- Query #18139 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a9970f89-44c8-c765-aeac-01a5a843b748'::uuid]);

-- Query #18140 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a9970f89-44c8-c765-aeac-01a5a843b748'::uuid;

-- Query #18141 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18142 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd87fcb0-b11e-0db3-6ddb-2a51f8641007'::uuid;

-- Query #18143 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd87fcb0-b11e-0db3-6ddb-2a51f8641007'::uuid]);

-- Query #18144 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bd87fcb0-b11e-0db3-6ddb-2a51f8641007'::uuid;

-- Query #18145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd87fcb0-b11e-0db3-6ddb-2a51f8641007'::uuid, 'Imdb', 'tt13806988')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd87fcb0-b11e-0db3-6ddb-2a51f8641007'::uuid, 'Tmdb', 2845188)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd87fcb0-b11e-0db3-6ddb-2a51f8641007'::uuid, 'TvMaze', 2016858)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd87fcb0-b11e-0db3-6ddb-2a51f8641007'::uuid, 'Tvdb', 8161570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd87fcb0-b11e-0db3-6ddb-2a51f8641007'::uuid, 'tv maze', 2016858)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd87fcb0-b11e-0db3-6ddb-2a51f8641007'::uuid, 'trakt', 5030272)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd87fcb0-b11e-0db3-6ddb-2a51f8641007'::uuid, 'eidr', '10.5240/33E8-9C26-F91B-E71C-0D92-P')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd87fcb0-b11e-0db3-6ddb-2a51f8641007'::uuid, 'TmdbCollection', 2845188)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18153 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd87fcb0-b11e-0db3-6ddb-2a51f8641007'::uuid;

-- Query #18154 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bd87fcb0-b11e-0db3-6ddb-2a51f8641007'::uuid;

-- Query #18155 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bd87fcb0-b11e-0db3-6ddb-2a51f8641007'::uuid]);

-- Query #18156 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bd87fcb0-b11e-0db3-6ddb-2a51f8641007'::uuid;

-- Query #18157 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18158 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0c39341b-428b-c3fa-9960-0202d751ff5f'::uuid;

-- Query #18159 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0c39341b-428b-c3fa-9960-0202d751ff5f'::uuid]);

-- Query #18160 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0c39341b-428b-c3fa-9960-0202d751ff5f'::uuid;

-- Query #18161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c39341b-428b-c3fa-9960-0202d751ff5f'::uuid, 'TmdbCollection', 2845187)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c39341b-428b-c3fa-9960-0202d751ff5f'::uuid, 'Imdb', 'tt13774010')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c39341b-428b-c3fa-9960-0202d751ff5f'::uuid, 'Tmdb', 2845187)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c39341b-428b-c3fa-9960-0202d751ff5f'::uuid, 'TvMaze', 2014576)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c39341b-428b-c3fa-9960-0202d751ff5f'::uuid, 'Tvdb', 8153787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c39341b-428b-c3fa-9960-0202d751ff5f'::uuid, 'tv maze', 2014576)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c39341b-428b-c3fa-9960-0202d751ff5f'::uuid, 'trakt', 5030271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c39341b-428b-c3fa-9960-0202d751ff5f'::uuid, 'eidr', '10.5240/A258-58C6-B5C6-3317-34DA-R')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18169 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0c39341b-428b-c3fa-9960-0202d751ff5f'::uuid;

-- Query #18170 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0c39341b-428b-c3fa-9960-0202d751ff5f'::uuid;

-- Query #18171 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0c39341b-428b-c3fa-9960-0202d751ff5f'::uuid]);

-- Query #18172 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0c39341b-428b-c3fa-9960-0202d751ff5f'::uuid;

-- Query #18173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18174 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18ba785c-b1cf-37a9-c9f7-4bf12c6f2ebd'::uuid;

-- Query #18175 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['18ba785c-b1cf-37a9-c9f7-4bf12c6f2ebd'::uuid]);

-- Query #18176 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '18ba785c-b1cf-37a9-c9f7-4bf12c6f2ebd'::uuid;

-- Query #18177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18ba785c-b1cf-37a9-c9f7-4bf12c6f2ebd'::uuid, 'Imdb', 'tt15317894')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18ba785c-b1cf-37a9-c9f7-4bf12c6f2ebd'::uuid, 'Tmdb', 3917635)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18ba785c-b1cf-37a9-c9f7-4bf12c6f2ebd'::uuid, 'TvMaze', 2382882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18ba785c-b1cf-37a9-c9f7-4bf12c6f2ebd'::uuid, 'eidr', '10.5240/6814-069D-3780-91A5-6EF0-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18ba785c-b1cf-37a9-c9f7-4bf12c6f2ebd'::uuid, 'Tvdb', 9325084)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18ba785c-b1cf-37a9-c9f7-4bf12c6f2ebd'::uuid, 'tv maze', 2382882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18183 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18ba785c-b1cf-37a9-c9f7-4bf12c6f2ebd'::uuid, 'trakt', 6650102)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18184 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18ba785c-b1cf-37a9-c9f7-4bf12c6f2ebd'::uuid, 'TmdbCollection', 3917635)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18185 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18ba785c-b1cf-37a9-c9f7-4bf12c6f2ebd'::uuid;

-- Query #18186 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '18ba785c-b1cf-37a9-c9f7-4bf12c6f2ebd'::uuid;

-- Query #18187 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['18ba785c-b1cf-37a9-c9f7-4bf12c6f2ebd'::uuid]);

-- Query #18188 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '18ba785c-b1cf-37a9-c9f7-4bf12c6f2ebd'::uuid;

-- Query #18189 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18190 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '69effeec-11b6-0089-180b-aac5edaef401'::uuid;

-- Query #18191 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['69effeec-11b6-0089-180b-aac5edaef401'::uuid]);

-- Query #18192 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '69effeec-11b6-0089-180b-aac5edaef401'::uuid;

-- Query #18193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69effeec-11b6-0089-180b-aac5edaef401'::uuid, 'Imdb', 'tt15317944')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69effeec-11b6-0089-180b-aac5edaef401'::uuid, 'Tmdb', 4350224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69effeec-11b6-0089-180b-aac5edaef401'::uuid, 'TvMaze', 2521353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69effeec-11b6-0089-180b-aac5edaef401'::uuid, 'Tvdb', 9715778)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69effeec-11b6-0089-180b-aac5edaef401'::uuid, 'tv maze', 2521353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69effeec-11b6-0089-180b-aac5edaef401'::uuid, 'trakt', 7312046)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18199 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69effeec-11b6-0089-180b-aac5edaef401'::uuid, 'eidr', '10.5240/DA26-4E76-8E8E-E9FF-D52B-5')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18200 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69effeec-11b6-0089-180b-aac5edaef401'::uuid, 'TmdbCollection', 4350224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18201 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '69effeec-11b6-0089-180b-aac5edaef401'::uuid;

-- Query #18202 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '69effeec-11b6-0089-180b-aac5edaef401'::uuid;

-- Query #18203 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['69effeec-11b6-0089-180b-aac5edaef401'::uuid]);

-- Query #18204 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '69effeec-11b6-0089-180b-aac5edaef401'::uuid;

-- Query #18205 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18206 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bb222e3-062a-d068-4515-cb523b1dc63c'::uuid;

-- Query #18207 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4bb222e3-062a-d068-4515-cb523b1dc63c'::uuid]);

-- Query #18208 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4bb222e3-062a-d068-4515-cb523b1dc63c'::uuid;

-- Query #18209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bb222e3-062a-d068-4515-cb523b1dc63c'::uuid, 'trakt', 7268527)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bb222e3-062a-d068-4515-cb523b1dc63c'::uuid, 'eidr', '10.5240/A837-AA5F-ECDD-DB4B-D45C-F')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bb222e3-062a-d068-4515-cb523b1dc63c'::uuid, 'TmdbCollection', 4350226)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bb222e3-062a-d068-4515-cb523b1dc63c'::uuid, 'Imdb', 'tt15317942')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bb222e3-062a-d068-4515-cb523b1dc63c'::uuid, 'Tmdb', 4350226)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bb222e3-062a-d068-4515-cb523b1dc63c'::uuid, 'TvMaze', 2521355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bb222e3-062a-d068-4515-cb523b1dc63c'::uuid, 'Tvdb', 9715780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18216 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bb222e3-062a-d068-4515-cb523b1dc63c'::uuid, 'tv maze', 2521355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18217 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bb222e3-062a-d068-4515-cb523b1dc63c'::uuid;

-- Query #18218 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4bb222e3-062a-d068-4515-cb523b1dc63c'::uuid;

-- Query #18219 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4bb222e3-062a-d068-4515-cb523b1dc63c'::uuid]);

-- Query #18220 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4bb222e3-062a-d068-4515-cb523b1dc63c'::uuid;

-- Query #18221 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18222 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #18223 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb7444ad-80c1-9ba3-6f59-75f01d415b9e'::uuid;

-- Query #18224 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb7444ad-80c1-9ba3-6f59-75f01d415b9e'::uuid]);

-- Query #18225 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fb7444ad-80c1-9ba3-6f59-75f01d415b9e'::uuid;

-- Query #18226 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb7444ad-80c1-9ba3-6f59-75f01d415b9e'::uuid, 'Tmdb', 4350239)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18227 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb7444ad-80c1-9ba3-6f59-75f01d415b9e'::uuid, 'TvMaze', 2521361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb7444ad-80c1-9ba3-6f59-75f01d415b9e'::uuid, 'Tvdb', 9715786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb7444ad-80c1-9ba3-6f59-75f01d415b9e'::uuid, 'tv maze', 2521361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18230 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb7444ad-80c1-9ba3-6f59-75f01d415b9e'::uuid, 'trakt', 7312105)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18231 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb7444ad-80c1-9ba3-6f59-75f01d415b9e'::uuid, 'eidr', '10.5240/F117-E5F2-96DF-4017-C1DA-Z')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb7444ad-80c1-9ba3-6f59-75f01d415b9e'::uuid, 'TmdbCollection', 4350239)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb7444ad-80c1-9ba3-6f59-75f01d415b9e'::uuid, 'Imdb', 'tt15317968')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18234 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb7444ad-80c1-9ba3-6f59-75f01d415b9e'::uuid;

-- Query #18235 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fb7444ad-80c1-9ba3-6f59-75f01d415b9e'::uuid;

-- Query #18236 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fb7444ad-80c1-9ba3-6f59-75f01d415b9e'::uuid]);

-- Query #18237 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fb7444ad-80c1-9ba3-6f59-75f01d415b9e'::uuid;

-- Query #18238 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '880f4bb6-16f1-4924-dfd6-ca5e5483fcc5'::uuid;

-- Query #18240 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['880f4bb6-16f1-4924-dfd6-ca5e5483fcc5'::uuid]);

-- Query #18241 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '880f4bb6-16f1-4924-dfd6-ca5e5483fcc5'::uuid;

-- Query #18242 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('880f4bb6-16f1-4924-dfd6-ca5e5483fcc5'::uuid, 'eidr', '10.5240/DA06-E1D8-7B82-0DDB-CA3C-V')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18243 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('880f4bb6-16f1-4924-dfd6-ca5e5483fcc5'::uuid, 'TmdbCollection', 4350223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18244 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('880f4bb6-16f1-4924-dfd6-ca5e5483fcc5'::uuid, 'Imdb', 'tt15317932')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18245 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('880f4bb6-16f1-4924-dfd6-ca5e5483fcc5'::uuid, 'Tmdb', 4350223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('880f4bb6-16f1-4924-dfd6-ca5e5483fcc5'::uuid, 'TvMaze', 2521352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('880f4bb6-16f1-4924-dfd6-ca5e5483fcc5'::uuid, 'Tvdb', 9715777)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('880f4bb6-16f1-4924-dfd6-ca5e5483fcc5'::uuid, 'tv maze', 2521352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('880f4bb6-16f1-4924-dfd6-ca5e5483fcc5'::uuid, 'trakt', 7312041)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18250 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '880f4bb6-16f1-4924-dfd6-ca5e5483fcc5'::uuid;

-- Query #18251 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '880f4bb6-16f1-4924-dfd6-ca5e5483fcc5'::uuid;

-- Query #18252 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['880f4bb6-16f1-4924-dfd6-ca5e5483fcc5'::uuid]);

-- Query #18253 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '880f4bb6-16f1-4924-dfd6-ca5e5483fcc5'::uuid;

-- Query #18254 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18255 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '961684ae-f443-4b60-3ab2-12dbb9165fdc'::uuid;

-- Query #18256 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['961684ae-f443-4b60-3ab2-12dbb9165fdc'::uuid]);

-- Query #18257 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '961684ae-f443-4b60-3ab2-12dbb9165fdc'::uuid;

-- Query #18258 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('961684ae-f443-4b60-3ab2-12dbb9165fdc'::uuid, 'TmdbCollection', 4350238)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18259 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('961684ae-f443-4b60-3ab2-12dbb9165fdc'::uuid, 'Imdb', 'tt15317972')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18260 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('961684ae-f443-4b60-3ab2-12dbb9165fdc'::uuid, 'Tmdb', 4350238)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('961684ae-f443-4b60-3ab2-12dbb9165fdc'::uuid, 'TvMaze', 2521360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('961684ae-f443-4b60-3ab2-12dbb9165fdc'::uuid, 'Tvdb', 9715785)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('961684ae-f443-4b60-3ab2-12dbb9165fdc'::uuid, 'tv maze', 2521360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('961684ae-f443-4b60-3ab2-12dbb9165fdc'::uuid, 'trakt', 7312101)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('961684ae-f443-4b60-3ab2-12dbb9165fdc'::uuid, 'eidr', '10.5240/BF61-28AE-4CD7-1B21-6B51-F')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18266 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '961684ae-f443-4b60-3ab2-12dbb9165fdc'::uuid;

-- Query #18267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '961684ae-f443-4b60-3ab2-12dbb9165fdc'::uuid;

-- Query #18268 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['961684ae-f443-4b60-3ab2-12dbb9165fdc'::uuid]);

-- Query #18269 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '961684ae-f443-4b60-3ab2-12dbb9165fdc'::uuid;

-- Query #18270 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18271 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07be1444-3927-d968-0602-ce8519841a09'::uuid;

-- Query #18272 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07be1444-3927-d968-0602-ce8519841a09'::uuid]);

-- Query #18273 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '07be1444-3927-d968-0602-ce8519841a09'::uuid;

-- Query #18274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07be1444-3927-d968-0602-ce8519841a09'::uuid, 'TmdbCollection', 4350229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07be1444-3927-d968-0602-ce8519841a09'::uuid, 'Imdb', 'tt15317962')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07be1444-3927-d968-0602-ce8519841a09'::uuid, 'Tmdb', 4350229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07be1444-3927-d968-0602-ce8519841a09'::uuid, 'TvMaze', 2521357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07be1444-3927-d968-0602-ce8519841a09'::uuid, 'Tvdb', 9715782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07be1444-3927-d968-0602-ce8519841a09'::uuid, 'tv maze', 2521357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07be1444-3927-d968-0602-ce8519841a09'::uuid, 'trakt', 7312092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07be1444-3927-d968-0602-ce8519841a09'::uuid, 'eidr', '10.5240/F725-4458-0D2B-CAA5-9E95-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07be1444-3927-d968-0602-ce8519841a09'::uuid;

-- Query #18283 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '07be1444-3927-d968-0602-ce8519841a09'::uuid;

-- Query #18284 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['07be1444-3927-d968-0602-ce8519841a09'::uuid]);

-- Query #18285 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '07be1444-3927-d968-0602-ce8519841a09'::uuid;

-- Query #18286 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18287 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5369d623-b01f-6fc1-7a35-975b96daa660'::uuid;

-- Query #18288 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5369d623-b01f-6fc1-7a35-975b96daa660'::uuid]);

-- Query #18289 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5369d623-b01f-6fc1-7a35-975b96daa660'::uuid;

-- Query #18290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5369d623-b01f-6fc1-7a35-975b96daa660'::uuid, 'Imdb', 'tt15317934')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5369d623-b01f-6fc1-7a35-975b96daa660'::uuid, 'Tmdb', 4350225)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5369d623-b01f-6fc1-7a35-975b96daa660'::uuid, 'TvMaze', 2521354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5369d623-b01f-6fc1-7a35-975b96daa660'::uuid, 'Tvdb', 9715779)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5369d623-b01f-6fc1-7a35-975b96daa660'::uuid, 'tv maze', 2521354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5369d623-b01f-6fc1-7a35-975b96daa660'::uuid, 'trakt', 7312052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18296 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5369d623-b01f-6fc1-7a35-975b96daa660'::uuid, 'eidr', '10.5240/065C-D72A-A3FD-BC3F-9577-M')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18297 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5369d623-b01f-6fc1-7a35-975b96daa660'::uuid, 'TmdbCollection', 4350225)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18298 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5369d623-b01f-6fc1-7a35-975b96daa660'::uuid;

-- Query #18299 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5369d623-b01f-6fc1-7a35-975b96daa660'::uuid;

-- Query #18300 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5369d623-b01f-6fc1-7a35-975b96daa660'::uuid]);

-- Query #18301 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5369d623-b01f-6fc1-7a35-975b96daa660'::uuid;

-- Query #18302 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18303 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a52eff36-98f6-a7d8-3930-f55acd5c0232'::uuid;

-- Query #18304 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a52eff36-98f6-a7d8-3930-f55acd5c0232'::uuid]);

-- Query #18305 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a52eff36-98f6-a7d8-3930-f55acd5c0232'::uuid;

-- Query #18306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a52eff36-98f6-a7d8-3930-f55acd5c0232'::uuid, 'TmdbCollection', 3917639)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a52eff36-98f6-a7d8-3930-f55acd5c0232'::uuid, 'Imdb', 'tt15317900')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a52eff36-98f6-a7d8-3930-f55acd5c0232'::uuid, 'Tmdb', 3917639)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a52eff36-98f6-a7d8-3930-f55acd5c0232'::uuid, 'TvMaze', 2382885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a52eff36-98f6-a7d8-3930-f55acd5c0232'::uuid, 'Tvdb', 9325086)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a52eff36-98f6-a7d8-3930-f55acd5c0232'::uuid, 'tv maze', 2382885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18312 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a52eff36-98f6-a7d8-3930-f55acd5c0232'::uuid, 'trakt', 6650104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18313 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a52eff36-98f6-a7d8-3930-f55acd5c0232'::uuid, 'eidr', '10.5240/C601-432D-4F60-B123-6D75-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18314 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a52eff36-98f6-a7d8-3930-f55acd5c0232'::uuid;

-- Query #18315 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a52eff36-98f6-a7d8-3930-f55acd5c0232'::uuid;

-- Query #18316 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a52eff36-98f6-a7d8-3930-f55acd5c0232'::uuid]);

-- Query #18317 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a52eff36-98f6-a7d8-3930-f55acd5c0232'::uuid;

-- Query #18318 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18319 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7ed3461-2447-cad4-baec-5078b4422707'::uuid;

-- Query #18320 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7ed3461-2447-cad4-baec-5078b4422707'::uuid]);

-- Query #18321 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c7ed3461-2447-cad4-baec-5078b4422707'::uuid;

-- Query #18322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7ed3461-2447-cad4-baec-5078b4422707'::uuid, 'Imdb', 'tt15317904')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7ed3461-2447-cad4-baec-5078b4422707'::uuid, 'Tmdb', 3917638)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7ed3461-2447-cad4-baec-5078b4422707'::uuid, 'TvMaze', 2382884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7ed3461-2447-cad4-baec-5078b4422707'::uuid, 'Tvdb', 9325085)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7ed3461-2447-cad4-baec-5078b4422707'::uuid, 'tv maze', 2382884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7ed3461-2447-cad4-baec-5078b4422707'::uuid, 'trakt', 6650103)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18328 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7ed3461-2447-cad4-baec-5078b4422707'::uuid, 'eidr', '10.5240/08A6-D6B1-DD00-1F02-3818-9')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18329 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7ed3461-2447-cad4-baec-5078b4422707'::uuid, 'TmdbCollection', 3917638)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18330 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7ed3461-2447-cad4-baec-5078b4422707'::uuid;

-- Query #18331 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c7ed3461-2447-cad4-baec-5078b4422707'::uuid;

-- Query #18332 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c7ed3461-2447-cad4-baec-5078b4422707'::uuid]);

-- Query #18333 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c7ed3461-2447-cad4-baec-5078b4422707'::uuid;

-- Query #18334 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18335 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '509f7b17-83ec-387e-b5a6-5541ec3aa915'::uuid;

-- Query #18336 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['509f7b17-83ec-387e-b5a6-5541ec3aa915'::uuid]);

-- Query #18337 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '509f7b17-83ec-387e-b5a6-5541ec3aa915'::uuid;

-- Query #18338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('509f7b17-83ec-387e-b5a6-5541ec3aa915'::uuid, 'Tmdb', 3917651)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('509f7b17-83ec-387e-b5a6-5541ec3aa915'::uuid, 'TvMaze', 2382899)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('509f7b17-83ec-387e-b5a6-5541ec3aa915'::uuid, 'tv maze', 2382899)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('509f7b17-83ec-387e-b5a6-5541ec3aa915'::uuid, 'trakt', 6650110)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('509f7b17-83ec-387e-b5a6-5541ec3aa915'::uuid, 'eidr', '10.5240/F2CA-02DA-F84D-55C4-D6C4-A')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('509f7b17-83ec-387e-b5a6-5541ec3aa915'::uuid, 'Tvdb', 9325092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('509f7b17-83ec-387e-b5a6-5541ec3aa915'::uuid, 'TmdbCollection', 3917651)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('509f7b17-83ec-387e-b5a6-5541ec3aa915'::uuid, 'Imdb', 'tt15317936')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18346 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '509f7b17-83ec-387e-b5a6-5541ec3aa915'::uuid;

-- Query #18347 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '509f7b17-83ec-387e-b5a6-5541ec3aa915'::uuid;

-- Query #18348 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['509f7b17-83ec-387e-b5a6-5541ec3aa915'::uuid]);

-- Query #18349 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '509f7b17-83ec-387e-b5a6-5541ec3aa915'::uuid;

-- Query #18350 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18351 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9b996ac5-4aec-d57e-7af3-c09776041755'::uuid;

-- Query #18352 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9b996ac5-4aec-d57e-7af3-c09776041755'::uuid]);

-- Query #18353 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9b996ac5-4aec-d57e-7af3-c09776041755'::uuid;

-- Query #18354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b996ac5-4aec-d57e-7af3-c09776041755'::uuid, 'Imdb', 'tt15317960')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b996ac5-4aec-d57e-7af3-c09776041755'::uuid, 'Tmdb', 4350235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b996ac5-4aec-d57e-7af3-c09776041755'::uuid, 'TvMaze', 2521359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b996ac5-4aec-d57e-7af3-c09776041755'::uuid, 'Tvdb', 9715784)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b996ac5-4aec-d57e-7af3-c09776041755'::uuid, 'tv maze', 2521359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b996ac5-4aec-d57e-7af3-c09776041755'::uuid, 'trakt', 7268528)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18360 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b996ac5-4aec-d57e-7af3-c09776041755'::uuid, 'eidr', '10.5240/EBEC-79E9-39B1-B0B5-42D4-5')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18361 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b996ac5-4aec-d57e-7af3-c09776041755'::uuid, 'TmdbCollection', 4350235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18362 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9b996ac5-4aec-d57e-7af3-c09776041755'::uuid;

-- Query #18363 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9b996ac5-4aec-d57e-7af3-c09776041755'::uuid;

-- Query #18364 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9b996ac5-4aec-d57e-7af3-c09776041755'::uuid]);

-- Query #18365 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9b996ac5-4aec-d57e-7af3-c09776041755'::uuid;

-- Query #18366 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18367 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc76ae07-75c5-69a8-0851-e9b2a95669c4'::uuid;

-- Query #18368 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fc76ae07-75c5-69a8-0851-e9b2a95669c4'::uuid]);

-- Query #18369 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fc76ae07-75c5-69a8-0851-e9b2a95669c4'::uuid;

-- Query #18370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc76ae07-75c5-69a8-0851-e9b2a95669c4'::uuid, 'TmdbCollection', 3917643)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc76ae07-75c5-69a8-0851-e9b2a95669c4'::uuid, 'Imdb', 'tt15317896')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc76ae07-75c5-69a8-0851-e9b2a95669c4'::uuid, 'Tmdb', 3917643)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc76ae07-75c5-69a8-0851-e9b2a95669c4'::uuid, 'TvMaze', 2382887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc76ae07-75c5-69a8-0851-e9b2a95669c4'::uuid, 'Tvdb', 9325088)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18375 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc76ae07-75c5-69a8-0851-e9b2a95669c4'::uuid, 'tv maze', 2382887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18376 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc76ae07-75c5-69a8-0851-e9b2a95669c4'::uuid, 'trakt', 6650106)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18377 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc76ae07-75c5-69a8-0851-e9b2a95669c4'::uuid, 'eidr', '10.5240/969D-CF3D-7DD7-D66B-5AA6-9')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18378 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc76ae07-75c5-69a8-0851-e9b2a95669c4'::uuid;

-- Query #18379 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fc76ae07-75c5-69a8-0851-e9b2a95669c4'::uuid;

-- Query #18380 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fc76ae07-75c5-69a8-0851-e9b2a95669c4'::uuid]);

-- Query #18381 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fc76ae07-75c5-69a8-0851-e9b2a95669c4'::uuid;

-- Query #18382 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18383 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '347d46a5-7210-46b8-d03f-345d36262ae2'::uuid;

-- Query #18384 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['347d46a5-7210-46b8-d03f-345d36262ae2'::uuid]);

-- Query #18385 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '347d46a5-7210-46b8-d03f-345d36262ae2'::uuid;

-- Query #18386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('347d46a5-7210-46b8-d03f-345d36262ae2'::uuid, 'TmdbCollection', 3917644)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('347d46a5-7210-46b8-d03f-345d36262ae2'::uuid, 'Imdb', 'tt15317928')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('347d46a5-7210-46b8-d03f-345d36262ae2'::uuid, 'Tmdb', 3917644)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18389 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('347d46a5-7210-46b8-d03f-345d36262ae2'::uuid, 'TvMaze', 2382889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('347d46a5-7210-46b8-d03f-345d36262ae2'::uuid, 'Tvdb', 9325089)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('347d46a5-7210-46b8-d03f-345d36262ae2'::uuid, 'tv maze', 2382889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('347d46a5-7210-46b8-d03f-345d36262ae2'::uuid, 'trakt', 6650107)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18393 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('347d46a5-7210-46b8-d03f-345d36262ae2'::uuid, 'eidr', '10.5240/EC52-26B5-8C5C-5DE8-2636-P')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18394 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '347d46a5-7210-46b8-d03f-345d36262ae2'::uuid;

-- Query #18395 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '347d46a5-7210-46b8-d03f-345d36262ae2'::uuid;

-- Query #18396 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['347d46a5-7210-46b8-d03f-345d36262ae2'::uuid]);

-- Query #18397 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '347d46a5-7210-46b8-d03f-345d36262ae2'::uuid;

-- Query #18398 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18399 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '395e0226-aba1-da90-7596-e2fbd724975d'::uuid;

-- Query #18400 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['395e0226-aba1-da90-7596-e2fbd724975d'::uuid]);

-- Query #18401 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '395e0226-aba1-da90-7596-e2fbd724975d'::uuid;

-- Query #18402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('395e0226-aba1-da90-7596-e2fbd724975d'::uuid, 'Imdb', 'tt15317898')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('395e0226-aba1-da90-7596-e2fbd724975d'::uuid, 'Tmdb', 3917641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('395e0226-aba1-da90-7596-e2fbd724975d'::uuid, 'TvMaze', 2382886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('395e0226-aba1-da90-7596-e2fbd724975d'::uuid, 'Tvdb', 9325087)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('395e0226-aba1-da90-7596-e2fbd724975d'::uuid, 'tv maze', 2382886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18407 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('395e0226-aba1-da90-7596-e2fbd724975d'::uuid, 'trakt', 6650105)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18408 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('395e0226-aba1-da90-7596-e2fbd724975d'::uuid, 'eidr', '10.5240/0F98-9F38-B481-11F0-71E6-6')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18409 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('395e0226-aba1-da90-7596-e2fbd724975d'::uuid, 'TmdbCollection', 3917641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18410 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '395e0226-aba1-da90-7596-e2fbd724975d'::uuid;

-- Query #18411 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '395e0226-aba1-da90-7596-e2fbd724975d'::uuid;

-- Query #18412 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['395e0226-aba1-da90-7596-e2fbd724975d'::uuid]);

-- Query #18413 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '395e0226-aba1-da90-7596-e2fbd724975d'::uuid;

-- Query #18414 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18415 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24857f73-2632-57cc-fbae-496000630875'::uuid;

-- Query #18416 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24857f73-2632-57cc-fbae-496000630875'::uuid]);

-- Query #18417 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '24857f73-2632-57cc-fbae-496000630875'::uuid;

-- Query #18418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24857f73-2632-57cc-fbae-496000630875'::uuid, 'TmdbCollection', 4350232)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18419 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24857f73-2632-57cc-fbae-496000630875'::uuid, 'Imdb', 'tt15317964')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24857f73-2632-57cc-fbae-496000630875'::uuid, 'Tmdb', 4350232)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18421 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24857f73-2632-57cc-fbae-496000630875'::uuid, 'TvMaze', 2521358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18422 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24857f73-2632-57cc-fbae-496000630875'::uuid, 'Tvdb', 9715783)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18423 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24857f73-2632-57cc-fbae-496000630875'::uuid, 'tv maze', 2521358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24857f73-2632-57cc-fbae-496000630875'::uuid, 'trakt', 7312096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24857f73-2632-57cc-fbae-496000630875'::uuid, 'eidr', '10.5240/8D9A-D925-94AE-420F-FCF2-M')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18426 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24857f73-2632-57cc-fbae-496000630875'::uuid;

-- Query #18427 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '24857f73-2632-57cc-fbae-496000630875'::uuid;

-- Query #18428 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['24857f73-2632-57cc-fbae-496000630875'::uuid]);

-- Query #18429 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '24857f73-2632-57cc-fbae-496000630875'::uuid;

-- Query #18430 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18431 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f96030e4-4907-0a0c-b132-3d74bd14c452'::uuid;

-- Query #18432 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f96030e4-4907-0a0c-b132-3d74bd14c452'::uuid]);

-- Query #18433 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f96030e4-4907-0a0c-b132-3d74bd14c452'::uuid;

-- Query #18434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f96030e4-4907-0a0c-b132-3d74bd14c452'::uuid, 'eidr', '10.5240/9EDB-A6BA-28BF-D2D7-3D7B-S')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f96030e4-4907-0a0c-b132-3d74bd14c452'::uuid, 'TmdbCollection', 4350227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f96030e4-4907-0a0c-b132-3d74bd14c452'::uuid, 'Imdb', 'tt15317946')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18437 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f96030e4-4907-0a0c-b132-3d74bd14c452'::uuid, 'Tmdb', 4350227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18438 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f96030e4-4907-0a0c-b132-3d74bd14c452'::uuid, 'TvMaze', 2521356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18439 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f96030e4-4907-0a0c-b132-3d74bd14c452'::uuid, 'Tvdb', 9715781)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18440 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f96030e4-4907-0a0c-b132-3d74bd14c452'::uuid, 'tv maze', 2521356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f96030e4-4907-0a0c-b132-3d74bd14c452'::uuid, 'trakt', 7312084)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18442 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f96030e4-4907-0a0c-b132-3d74bd14c452'::uuid;

-- Query #18443 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f96030e4-4907-0a0c-b132-3d74bd14c452'::uuid;

-- Query #18444 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f96030e4-4907-0a0c-b132-3d74bd14c452'::uuid]);

-- Query #18445 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f96030e4-4907-0a0c-b132-3d74bd14c452'::uuid;

-- Query #18446 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f696836-d749-64e6-bae7-8e452ba21192'::uuid, 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18447 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f34e6cb1-513a-c7e5-a061-eacd9fefe658'::uuid
ORDER BY b."SortName";

-- Query #18448 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, '9f696836-d749-64e6-bae7-8e452ba21192'::uuid])
ORDER BY b."Id";

-- Query #18449 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, '9f696836-d749-64e6-bae7-8e452ba21192'::uuid])
ORDER BY b."Id";

-- Query #18450 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, '9f696836-d749-64e6-bae7-8e452ba21192'::uuid])
ORDER BY b."Id";

-- Query #18451 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, '9f696836-d749-64e6-bae7-8e452ba21192'::uuid])
ORDER BY b."Id";

-- Query #18452 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['bdabe5de-e160-dec2-5307-27983c3926c2'::uuid, 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid, '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid, '9f696836-d749-64e6-bae7-8e452ba21192'::uuid])
ORDER BY b."Id";

-- Query #18453 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bdabe5de-e160-dec2-5307-27983c3926c2'::uuid
ORDER BY b."SortName";

-- Query #18454 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd1771249-0fc8-bda7-a49c-bac2e3ac4658'::uuid
ORDER BY b."SortName";

-- Query #18455 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '909eb7da-1f01-e8c8-58ba-81ea8bf1549b'::uuid
ORDER BY b."SortName";

-- Query #18456 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9f696836-d749-64e6-bae7-8e452ba21192'::uuid
ORDER BY b."SortName";

-- Query #18457 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'f34e6cb1513ac7e5a061eacd9fefe658'
ORDER BY b."SortName", b."Name";

-- Query #18458 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid
ORDER BY b."SortName";

-- Query #18459 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid
ORDER BY b."SortName";

-- Query #18460 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8040aba6-5f70-b826-85e6-48e053908d6e'::uuid
ORDER BY b."SortName";

-- Query #18461 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid
ORDER BY b."SortName";

-- Query #18462 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '240da686-faf3-339a-b199-6dac7d07fc4a'::uuid
ORDER BY b."SortName";

-- Query #18463 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid
ORDER BY b."SortName";

-- Query #18464 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid
ORDER BY b."SortName";

-- Query #18465 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '20354507-2c78-fa79-b502-baa1e16ca102'::uuid
ORDER BY b."SortName";

-- Query #18466 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid
ORDER BY b."SortName";

-- Query #18467 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '436b4870-c888-1557-ec20-d57f066dd49b'::uuid
ORDER BY b."SortName";

-- Query #18468 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid
ORDER BY b."SortName";

-- Query #18469 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95abbf88-4449-16e6-e047-402269b0c0e8'::uuid
ORDER BY b."SortName";

-- Query #18470 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid
ORDER BY b."SortName";

-- Query #18471 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '88e28957-e6ee-c47e-9a96-e414672407eb'::uuid
ORDER BY b."SortName";

-- Query #18472 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid
ORDER BY b."SortName";

-- Query #18473 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid
ORDER BY b."SortName";

-- Query #18474 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid
ORDER BY b."SortName";

-- Query #18475 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid
ORDER BY b."SortName";

-- Query #18476 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'db498def-2dbe-5007-c2ef-09b2182e7781'::uuid
ORDER BY b."SortName";

-- Query #18477 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #18478 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid;

-- Query #18479 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid]);

-- Query #18480 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid;

-- Query #18481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0561de0-eb14-c045-e305-07c002ec595d'::uuid, 'facebook', 'MarriedAtFirstSight')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0561de0-eb14-c045-e305-07c002ec595d'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0561de0-eb14-c045-e305-07c002ec595d'::uuid, 'instagram', 'mafslifetime/')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18484 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0561de0-eb14-c045-e305-07c002ec595d'::uuid, 'official website', 'https://www.mylifetime.com/shows/married-at-first-sight')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0561de0-eb14-c045-e305-07c002ec595d'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0561de0-eb14-c045-e305-07c002ec595d'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0561de0-eb14-c045-e305-07c002ec595d'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0561de0-eb14-c045-e305-07c002ec595d'::uuid, 'tv maze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0561de0-eb14-c045-e305-07c002ec595d'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0561de0-eb14-c045-e305-07c002ec595d'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0561de0-eb14-c045-e305-07c002ec595d'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0561de0-eb14-c045-e305-07c002ec595d'::uuid, 'wikipedia', 'Married_at_First_Sight_(American_TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0561de0-eb14-c045-e305-07c002ec595d'::uuid, 'youtube', 'MarriedatFirstSight/')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0561de0-eb14-c045-e305-07c002ec595d'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18495 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid;

-- Query #18496 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid;

-- Query #18497 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid]);

-- Query #18498 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid;

-- Query #18499 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18500 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18501 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid
ORDER BY b."SortName";

-- Query #18502 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid
ORDER BY b."SortName";

-- Query #18503 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8040aba6-5f70-b826-85e6-48e053908d6e'::uuid
ORDER BY b."SortName";

-- Query #18504 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid
ORDER BY b."SortName";

-- Query #18505 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '240da686-faf3-339a-b199-6dac7d07fc4a'::uuid
ORDER BY b."SortName";

-- Query #18506 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid
ORDER BY b."SortName";

-- Query #18507 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid
ORDER BY b."SortName";

-- Query #18508 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '20354507-2c78-fa79-b502-baa1e16ca102'::uuid
ORDER BY b."SortName";

-- Query #18509 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid
ORDER BY b."SortName";

-- Query #18510 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '436b4870-c888-1557-ec20-d57f066dd49b'::uuid
ORDER BY b."SortName";

-- Query #18511 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid
ORDER BY b."SortName";

-- Query #18512 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95abbf88-4449-16e6-e047-402269b0c0e8'::uuid
ORDER BY b."SortName";

-- Query #18513 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid
ORDER BY b."SortName";

-- Query #18514 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '88e28957-e6ee-c47e-9a96-e414672407eb'::uuid
ORDER BY b."SortName";

-- Query #18515 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid
ORDER BY b."SortName";

-- Query #18516 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid
ORDER BY b."SortName";

-- Query #18517 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid
ORDER BY b."SortName";

-- Query #18518 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid
ORDER BY b."SortName";

-- Query #18519 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'db498def-2dbe-5007-c2ef-09b2182e7781'::uuid
ORDER BY b."SortName";

-- Query #18520 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18521 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid;

-- Query #18522 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid]);

-- Query #18523 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid;

-- Query #18524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18525 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18527 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18528 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18529 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18530 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18532 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid;

-- Query #18533 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid;

-- Query #18534 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+experiment', '6+marriage']);

-- Query #18535 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid]);

-- Query #18536 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid;

-- Query #18537 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18538 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18539 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8040aba6-5f70-b826-85e6-48e053908d6e'::uuid;

-- Query #18540 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8040aba6-5f70-b826-85e6-48e053908d6e'::uuid]);

-- Query #18541 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8040aba6-5f70-b826-85e6-48e053908d6e'::uuid;

-- Query #18542 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18543 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18550 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8040aba6-5f70-b826-85e6-48e053908d6e'::uuid;

-- Query #18551 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8040aba6-5f70-b826-85e6-48e053908d6e'::uuid;

-- Query #18552 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+experiment', '6+marriage']);

-- Query #18553 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8040aba6-5f70-b826-85e6-48e053908d6e'::uuid]);

-- Query #18554 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8040aba6-5f70-b826-85e6-48e053908d6e'::uuid;

-- Query #18555 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18556 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18557 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '240da686-faf3-339a-b199-6dac7d07fc4a'::uuid;

-- Query #18558 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid]);

-- Query #18559 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '240da686-faf3-339a-b199-6dac7d07fc4a'::uuid;

-- Query #18560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18563 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18567 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18568 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '240da686-faf3-339a-b199-6dac7d07fc4a'::uuid;

-- Query #18569 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '240da686-faf3-339a-b199-6dac7d07fc4a'::uuid;

-- Query #18570 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+experiment', '6+marriage']);

-- Query #18571 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid]);

-- Query #18572 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '240da686-faf3-339a-b199-6dac7d07fc4a'::uuid;

-- Query #18573 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18574 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18575 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid;

-- Query #18576 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid]);

-- Query #18577 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid;

-- Query #18578 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18580 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid;

-- Query #18587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid;

-- Query #18588 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+experiment', '6+marriage']);

-- Query #18589 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid]);

-- Query #18590 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid;

-- Query #18591 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18592 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18593 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #18594 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '20354507-2c78-fa79-b502-baa1e16ca102'::uuid;

-- Query #18595 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid]);

-- Query #18596 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '20354507-2c78-fa79-b502-baa1e16ca102'::uuid;

-- Query #18597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18603 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18605 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '20354507-2c78-fa79-b502-baa1e16ca102'::uuid;

-- Query #18606 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '20354507-2c78-fa79-b502-baa1e16ca102'::uuid;

-- Query #18607 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+experiment', '6+marriage']);

-- Query #18608 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid]);

-- Query #18609 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '20354507-2c78-fa79-b502-baa1e16ca102'::uuid;

-- Query #18610 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18611 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18612 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid;

-- Query #18613 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid]);

-- Query #18614 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid;

-- Query #18615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18620 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18621 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18623 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid;

-- Query #18624 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid;

-- Query #18625 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+experiment', '6+marriage']);

-- Query #18626 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid]);

-- Query #18627 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid;

-- Query #18628 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18629 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18630 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid;

-- Query #18631 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid]);

-- Query #18632 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid;

-- Query #18633 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18635 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18636 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18641 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid;

-- Query #18642 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid;

-- Query #18643 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+experiment', '6+marriage']);

-- Query #18644 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid]);

-- Query #18645 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid;

-- Query #18646 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18647 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18648 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95abbf88-4449-16e6-e047-402269b0c0e8'::uuid;

-- Query #18649 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid]);

-- Query #18650 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '95abbf88-4449-16e6-e047-402269b0c0e8'::uuid;

-- Query #18651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18652 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95abbf88-4449-16e6-e047-402269b0c0e8'::uuid;

-- Query #18660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '95abbf88-4449-16e6-e047-402269b0c0e8'::uuid;

-- Query #18661 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+experiment', '6+marriage']);

-- Query #18662 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid]);

-- Query #18663 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '95abbf88-4449-16e6-e047-402269b0c0e8'::uuid;

-- Query #18664 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18665 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18666 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid;

-- Query #18667 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid]);

-- Query #18668 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid;

-- Query #18669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18677 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid;

-- Query #18678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid;

-- Query #18679 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+experiment', '6+marriage']);

-- Query #18680 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid]);

-- Query #18681 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid;

-- Query #18682 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18683 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18684 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88e28957-e6ee-c47e-9a96-e414672407eb'::uuid;

-- Query #18685 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid]);

-- Query #18686 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '88e28957-e6ee-c47e-9a96-e414672407eb'::uuid;

-- Query #18687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18694 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18695 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88e28957-e6ee-c47e-9a96-e414672407eb'::uuid;

-- Query #18696 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '88e28957-e6ee-c47e-9a96-e414672407eb'::uuid;

-- Query #18697 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+experiment', '6+marriage']);

-- Query #18698 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid]);

-- Query #18699 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '88e28957-e6ee-c47e-9a96-e414672407eb'::uuid;

-- Query #18700 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18701 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18702 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid;

-- Query #18703 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid]);

-- Query #18704 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid;

-- Query #18705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18712 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18713 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid;

-- Query #18714 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid;

-- Query #18715 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+experiment', '6+marriage']);

-- Query #18716 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid]);

-- Query #18717 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid;

-- Query #18718 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18719 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18720 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid;

-- Query #18721 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid]);

-- Query #18722 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid;

-- Query #18723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18726 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18727 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18729 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18730 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18731 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid;

-- Query #18732 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid;

-- Query #18733 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+experiment', '6+marriage']);

-- Query #18734 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid]);

-- Query #18735 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid;

-- Query #18736 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18737 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18738 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #18739 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid;

-- Query #18740 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid]);

-- Query #18741 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid;

-- Query #18742 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18743 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18744 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18750 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid;

-- Query #18751 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid;

-- Query #18752 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+experiment', '6+marriage']);

-- Query #18753 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid]);

-- Query #18754 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid;

-- Query #18755 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18756 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid;

-- Query #18758 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid]);

-- Query #18759 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid;

-- Query #18760 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18761 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18762 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18763 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18764 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18768 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid;

-- Query #18769 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid;

-- Query #18770 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+experiment', '6+marriage']);

-- Query #18771 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid]);

-- Query #18772 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid;

-- Query #18773 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18774 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #18775 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db498def-2dbe-5007-c2ef-09b2182e7781'::uuid;

-- Query #18776 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db498def-2dbe-5007-c2ef-09b2182e7781'::uuid]);

-- Query #18777 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'db498def-2dbe-5007-c2ef-09b2182e7781'::uuid;

-- Query #18778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db498def-2dbe-5007-c2ef-09b2182e7781'::uuid, 'wikidata', 'Q19880903')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db498def-2dbe-5007-c2ef-09b2182e7781'::uuid, 'TmdbCollection', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db498def-2dbe-5007-c2ef-09b2182e7781'::uuid, 'Tvdb', 283196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db498def-2dbe-5007-c2ef-09b2182e7781'::uuid, 'Tmdb', 60989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db498def-2dbe-5007-c2ef-09b2182e7781'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db498def-2dbe-5007-c2ef-09b2182e7781'::uuid, 'TvMaze', 2709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db498def-2dbe-5007-c2ef-09b2182e7781'::uuid, 'TvRage', 41817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db498def-2dbe-5007-c2ef-09b2182e7781'::uuid, 'Zap2It', 'EP01936678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18786 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db498def-2dbe-5007-c2ef-09b2182e7781'::uuid;

-- Query #18787 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'db498def-2dbe-5007-c2ef-09b2182e7781'::uuid;

-- Query #18788 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+experiment', '6+marriage']);

-- Query #18789 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['db498def-2dbe-5007-c2ef-09b2182e7781'::uuid]);

-- Query #18790 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'db498def-2dbe-5007-c2ef-09b2182e7781'::uuid;

-- Query #18791 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18792 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c76bce1f-a0d4-1af2-ba2d-b9b84725eb3b'::uuid;

-- Query #18793 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c76bce1f-a0d4-1af2-ba2d-b9b84725eb3b'::uuid]);

-- Query #18794 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c76bce1f-a0d4-1af2-ba2d-b9b84725eb3b'::uuid;

-- Query #18795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c76bce1f-a0d4-1af2-ba2d-b9b84725eb3b'::uuid, 'Imdb', 'tt3878472')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c76bce1f-a0d4-1af2-ba2d-b9b84725eb3b'::uuid, 'TvMaze', 203526)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c76bce1f-a0d4-1af2-ba2d-b9b84725eb3b'::uuid, 'Tvdb', 4985135)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c76bce1f-a0d4-1af2-ba2d-b9b84725eb3b'::uuid, 'TvRage', 1065638036)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18799 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c76bce1f-a0d4-1af2-ba2d-b9b84725eb3b'::uuid;

-- Query #18800 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c76bce1f-a0d4-1af2-ba2d-b9b84725eb3b'::uuid;

-- Query #18801 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c76bce1f-a0d4-1af2-ba2d-b9b84725eb3b'::uuid]);

-- Query #18802 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c76bce1f-a0d4-1af2-ba2d-b9b84725eb3b'::uuid;

-- Query #18803 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18804 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '17854cde-7afa-475c-07c9-acd180da2f63'::uuid;

-- Query #18805 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['17854cde-7afa-475c-07c9-acd180da2f63'::uuid]);

-- Query #18806 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '17854cde-7afa-475c-07c9-acd180da2f63'::uuid;

-- Query #18807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17854cde-7afa-475c-07c9-acd180da2f63'::uuid, 'Imdb', 'tt3973394')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18808 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17854cde-7afa-475c-07c9-acd180da2f63'::uuid, 'TvMaze', 203525)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17854cde-7afa-475c-07c9-acd180da2f63'::uuid, 'Tvdb', 4976754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17854cde-7afa-475c-07c9-acd180da2f63'::uuid, 'TvRage', 1065638035)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18811 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '17854cde-7afa-475c-07c9-acd180da2f63'::uuid;

-- Query #18812 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '17854cde-7afa-475c-07c9-acd180da2f63'::uuid;

-- Query #18813 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['17854cde-7afa-475c-07c9-acd180da2f63'::uuid]);

-- Query #18814 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '17854cde-7afa-475c-07c9-acd180da2f63'::uuid;

-- Query #18815 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18816 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6de6dce5-0da3-91c7-bd3a-445fe25f86d3'::uuid;

-- Query #18817 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6de6dce5-0da3-91c7-bd3a-445fe25f86d3'::uuid]);

-- Query #18818 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6de6dce5-0da3-91c7-bd3a-445fe25f86d3'::uuid;

-- Query #18819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6de6dce5-0da3-91c7-bd3a-445fe25f86d3'::uuid, 'Imdb', 'tt3923984')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6de6dce5-0da3-91c7-bd3a-445fe25f86d3'::uuid, 'TvMaze', 203523)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6de6dce5-0da3-91c7-bd3a-445fe25f86d3'::uuid, 'Tvdb', 4957899)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6de6dce5-0da3-91c7-bd3a-445fe25f86d3'::uuid, 'TvRage', 1065620312)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18823 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6de6dce5-0da3-91c7-bd3a-445fe25f86d3'::uuid;

-- Query #18824 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6de6dce5-0da3-91c7-bd3a-445fe25f86d3'::uuid;

-- Query #18825 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6de6dce5-0da3-91c7-bd3a-445fe25f86d3'::uuid]);

-- Query #18826 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6de6dce5-0da3-91c7-bd3a-445fe25f86d3'::uuid;

-- Query #18827 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18828 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eadc6ea1-69d6-e01a-2180-a5b2d392aabe'::uuid;

-- Query #18829 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eadc6ea1-69d6-e01a-2180-a5b2d392aabe'::uuid]);

-- Query #18830 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eadc6ea1-69d6-e01a-2180-a5b2d392aabe'::uuid;

-- Query #18831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eadc6ea1-69d6-e01a-2180-a5b2d392aabe'::uuid, 'Imdb', 'tt3881490')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eadc6ea1-69d6-e01a-2180-a5b2d392aabe'::uuid, 'TvMaze', 203518)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eadc6ea1-69d6-e01a-2180-a5b2d392aabe'::uuid, 'Tvdb', 4931103)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eadc6ea1-69d6-e01a-2180-a5b2d392aabe'::uuid, 'TvRage', 1065601993)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18835 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eadc6ea1-69d6-e01a-2180-a5b2d392aabe'::uuid;

-- Query #18836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eadc6ea1-69d6-e01a-2180-a5b2d392aabe'::uuid;

-- Query #18837 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eadc6ea1-69d6-e01a-2180-a5b2d392aabe'::uuid]);

-- Query #18838 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eadc6ea1-69d6-e01a-2180-a5b2d392aabe'::uuid;

-- Query #18839 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18840 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e347af94-8ab8-5d9b-4ad8-f43abca5071a'::uuid;

-- Query #18841 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e347af94-8ab8-5d9b-4ad8-f43abca5071a'::uuid]);

-- Query #18842 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e347af94-8ab8-5d9b-4ad8-f43abca5071a'::uuid;

-- Query #18843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e347af94-8ab8-5d9b-4ad8-f43abca5071a'::uuid, 'Imdb', 'tt3916066')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e347af94-8ab8-5d9b-4ad8-f43abca5071a'::uuid, 'TvMaze', 203521)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18845 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e347af94-8ab8-5d9b-4ad8-f43abca5071a'::uuid, 'Tvdb', 4944629)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e347af94-8ab8-5d9b-4ad8-f43abca5071a'::uuid, 'TvRage', 1065620310)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18847 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e347af94-8ab8-5d9b-4ad8-f43abca5071a'::uuid;

-- Query #18848 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e347af94-8ab8-5d9b-4ad8-f43abca5071a'::uuid;

-- Query #18849 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e347af94-8ab8-5d9b-4ad8-f43abca5071a'::uuid]);

-- Query #18850 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e347af94-8ab8-5d9b-4ad8-f43abca5071a'::uuid;

-- Query #18851 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18852 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a485a97-25ce-e9bf-54eb-5808dde1968e'::uuid;

-- Query #18853 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a485a97-25ce-e9bf-54eb-5808dde1968e'::uuid]);

-- Query #18854 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8a485a97-25ce-e9bf-54eb-5808dde1968e'::uuid;

-- Query #18855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a485a97-25ce-e9bf-54eb-5808dde1968e'::uuid, 'Imdb', 'tt3973392')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a485a97-25ce-e9bf-54eb-5808dde1968e'::uuid, 'TvMaze', 203524)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a485a97-25ce-e9bf-54eb-5808dde1968e'::uuid, 'Tvdb', 4969933)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a485a97-25ce-e9bf-54eb-5808dde1968e'::uuid, 'TvRage', 1065638034)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18859 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a485a97-25ce-e9bf-54eb-5808dde1968e'::uuid;

-- Query #18860 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8a485a97-25ce-e9bf-54eb-5808dde1968e'::uuid;

-- Query #18861 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8a485a97-25ce-e9bf-54eb-5808dde1968e'::uuid]);

-- Query #18862 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8a485a97-25ce-e9bf-54eb-5808dde1968e'::uuid;

-- Query #18863 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18864 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc56dd81-529f-9308-c17f-5b51147e1f10'::uuid;

-- Query #18865 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fc56dd81-529f-9308-c17f-5b51147e1f10'::uuid]);

-- Query #18866 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fc56dd81-529f-9308-c17f-5b51147e1f10'::uuid;

-- Query #18867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc56dd81-529f-9308-c17f-5b51147e1f10'::uuid, 'Imdb', 'tt3878474')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18868 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc56dd81-529f-9308-c17f-5b51147e1f10'::uuid, 'TvMaze', 203516)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18869 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc56dd81-529f-9308-c17f-5b51147e1f10'::uuid, 'Tvdb', 4918289)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc56dd81-529f-9308-c17f-5b51147e1f10'::uuid, 'TvRage', 1065601991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18871 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc56dd81-529f-9308-c17f-5b51147e1f10'::uuid;

-- Query #18872 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fc56dd81-529f-9308-c17f-5b51147e1f10'::uuid;

-- Query #18873 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fc56dd81-529f-9308-c17f-5b51147e1f10'::uuid]);

-- Query #18874 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fc56dd81-529f-9308-c17f-5b51147e1f10'::uuid;

-- Query #18875 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18876 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '387be43d-e50c-d6b6-36f7-67f543b3a6fc'::uuid;

-- Query #18877 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['387be43d-e50c-d6b6-36f7-67f543b3a6fc'::uuid]);

-- Query #18878 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '387be43d-e50c-d6b6-36f7-67f543b3a6fc'::uuid;

-- Query #18879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('387be43d-e50c-d6b6-36f7-67f543b3a6fc'::uuid, 'Imdb', 'tt3892368')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('387be43d-e50c-d6b6-36f7-67f543b3a6fc'::uuid, 'TvMaze', 203519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('387be43d-e50c-d6b6-36f7-67f543b3a6fc'::uuid, 'Tvdb', 4938881)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('387be43d-e50c-d6b6-36f7-67f543b3a6fc'::uuid, 'TvRage', 1065601994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18883 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '387be43d-e50c-d6b6-36f7-67f543b3a6fc'::uuid;

-- Query #18884 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '387be43d-e50c-d6b6-36f7-67f543b3a6fc'::uuid;

-- Query #18885 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['387be43d-e50c-d6b6-36f7-67f543b3a6fc'::uuid]);

-- Query #18886 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '387be43d-e50c-d6b6-36f7-67f543b3a6fc'::uuid;

-- Query #18887 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18888 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f1540d3-01f4-f125-db71-b76d16dde264'::uuid;

-- Query #18889 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f1540d3-01f4-f125-db71-b76d16dde264'::uuid]);

-- Query #18890 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9f1540d3-01f4-f125-db71-b76d16dde264'::uuid;

-- Query #18891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f1540d3-01f4-f125-db71-b76d16dde264'::uuid, 'Tvdb', 4950282)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f1540d3-01f4-f125-db71-b76d16dde264'::uuid, 'TvRage', 1065620311)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f1540d3-01f4-f125-db71-b76d16dde264'::uuid, 'Imdb', 'tt3923982')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f1540d3-01f4-f125-db71-b76d16dde264'::uuid, 'TvMaze', 203522)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18895 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f1540d3-01f4-f125-db71-b76d16dde264'::uuid;

-- Query #18896 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9f1540d3-01f4-f125-db71-b76d16dde264'::uuid;

-- Query #18897 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9f1540d3-01f4-f125-db71-b76d16dde264'::uuid]);

-- Query #18898 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9f1540d3-01f4-f125-db71-b76d16dde264'::uuid;

-- Query #18899 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18900 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '02b6ad4a-c8a5-82a1-8f90-749b5e9b751b'::uuid;

-- Query #18901 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02b6ad4a-c8a5-82a1-8f90-749b5e9b751b'::uuid]);

-- Query #18902 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '02b6ad4a-c8a5-82a1-8f90-749b5e9b751b'::uuid;

-- Query #18903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('02b6ad4a-c8a5-82a1-8f90-749b5e9b751b'::uuid, 'Imdb', 'tt3878480')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18904 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('02b6ad4a-c8a5-82a1-8f90-749b5e9b751b'::uuid, 'TvMaze', 203517)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18905 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('02b6ad4a-c8a5-82a1-8f90-749b5e9b751b'::uuid, 'Tvdb', 4931102)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('02b6ad4a-c8a5-82a1-8f90-749b5e9b751b'::uuid, 'TvRage', 1065601992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18907 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '02b6ad4a-c8a5-82a1-8f90-749b5e9b751b'::uuid;

-- Query #18908 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '02b6ad4a-c8a5-82a1-8f90-749b5e9b751b'::uuid;

-- Query #18909 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['02b6ad4a-c8a5-82a1-8f90-749b5e9b751b'::uuid]);

-- Query #18910 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '02b6ad4a-c8a5-82a1-8f90-749b5e9b751b'::uuid;

-- Query #18911 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18912 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fbdd2503-0048-d091-f2f4-9a6b241fd6f7'::uuid;

-- Query #18913 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fbdd2503-0048-d091-f2f4-9a6b241fd6f7'::uuid]);

-- Query #18914 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fbdd2503-0048-d091-f2f4-9a6b241fd6f7'::uuid;

-- Query #18915 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fbdd2503-0048-d091-f2f4-9a6b241fd6f7'::uuid, 'TvMaze', 203543)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18916 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fbdd2503-0048-d091-f2f4-9a6b241fd6f7'::uuid, 'Tvdb', 5248816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18917 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fbdd2503-0048-d091-f2f4-9a6b241fd6f7'::uuid;

-- Query #18918 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fbdd2503-0048-d091-f2f4-9a6b241fd6f7'::uuid;

-- Query #18919 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #18920 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fbdd2503-0048-d091-f2f4-9a6b241fd6f7'::uuid]);

-- Query #18921 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fbdd2503-0048-d091-f2f4-9a6b241fd6f7'::uuid;

-- Query #18922 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18923 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5c9acbd-cd08-5825-d2cc-c3bbf2b2008b'::uuid;

-- Query #18924 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5c9acbd-cd08-5825-d2cc-c3bbf2b2008b'::uuid]);

-- Query #18925 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e5c9acbd-cd08-5825-d2cc-c3bbf2b2008b'::uuid;

-- Query #18926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5c9acbd-cd08-5825-d2cc-c3bbf2b2008b'::uuid, 'TvMaze', 203536)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5c9acbd-cd08-5825-d2cc-c3bbf2b2008b'::uuid, 'Tvdb', 5204938)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18928 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5c9acbd-cd08-5825-d2cc-c3bbf2b2008b'::uuid;

-- Query #18929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e5c9acbd-cd08-5825-d2cc-c3bbf2b2008b'::uuid;

-- Query #18930 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #18931 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e5c9acbd-cd08-5825-d2cc-c3bbf2b2008b'::uuid]);

-- Query #18932 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e5c9acbd-cd08-5825-d2cc-c3bbf2b2008b'::uuid;

-- Query #18933 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18934 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #18935 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e61894d7-1801-2c0c-f0c2-6edebe287729'::uuid;

-- Query #18936 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e61894d7-1801-2c0c-f0c2-6edebe287729'::uuid]);

-- Query #18937 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e61894d7-1801-2c0c-f0c2-6edebe287729'::uuid;

-- Query #18938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e61894d7-1801-2c0c-f0c2-6edebe287729'::uuid, 'TvMaze', 203541)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e61894d7-1801-2c0c-f0c2-6edebe287729'::uuid, 'Tvdb', 5238430)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18940 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e61894d7-1801-2c0c-f0c2-6edebe287729'::uuid;

-- Query #18941 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e61894d7-1801-2c0c-f0c2-6edebe287729'::uuid;

-- Query #18942 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #18943 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e61894d7-1801-2c0c-f0c2-6edebe287729'::uuid]);

-- Query #18944 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e61894d7-1801-2c0c-f0c2-6edebe287729'::uuid;

-- Query #18945 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18946 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f6fbfc0f-ad23-80a6-d087-7ad3ab12ec1f'::uuid;

-- Query #18947 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6fbfc0f-ad23-80a6-d087-7ad3ab12ec1f'::uuid]);

-- Query #18948 | logged_duration_ms=2 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f6fbfc0f-ad23-80a6-d087-7ad3ab12ec1f'::uuid;

-- Query #18949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6fbfc0f-ad23-80a6-d087-7ad3ab12ec1f'::uuid, 'TvMaze', 203537)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f6fbfc0f-ad23-80a6-d087-7ad3ab12ec1f'::uuid, 'Tvdb', 5204939)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18951 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f6fbfc0f-ad23-80a6-d087-7ad3ab12ec1f'::uuid;

-- Query #18952 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f6fbfc0f-ad23-80a6-d087-7ad3ab12ec1f'::uuid;

-- Query #18953 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #18954 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f6fbfc0f-ad23-80a6-d087-7ad3ab12ec1f'::uuid]);

-- Query #18955 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f6fbfc0f-ad23-80a6-d087-7ad3ab12ec1f'::uuid;

-- Query #18956 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18957 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b9f1f90b-1bae-f4db-8897-19208c79f6d1'::uuid;

-- Query #18958 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b9f1f90b-1bae-f4db-8897-19208c79f6d1'::uuid]);

-- Query #18959 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b9f1f90b-1bae-f4db-8897-19208c79f6d1'::uuid;

-- Query #18960 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9f1f90b-1bae-f4db-8897-19208c79f6d1'::uuid, 'TvMaze', 203535)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18961 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9f1f90b-1bae-f4db-8897-19208c79f6d1'::uuid, 'Tvdb', 5159997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18962 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b9f1f90b-1bae-f4db-8897-19208c79f6d1'::uuid;

-- Query #18963 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b9f1f90b-1bae-f4db-8897-19208c79f6d1'::uuid;

-- Query #18964 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #18965 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b9f1f90b-1bae-f4db-8897-19208c79f6d1'::uuid]);

-- Query #18966 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b9f1f90b-1bae-f4db-8897-19208c79f6d1'::uuid;

-- Query #18967 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18968 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af98190a-8267-1e9f-50ac-3ed810452e93'::uuid;

-- Query #18969 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af98190a-8267-1e9f-50ac-3ed810452e93'::uuid]);

-- Query #18970 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'af98190a-8267-1e9f-50ac-3ed810452e93'::uuid;

-- Query #18971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af98190a-8267-1e9f-50ac-3ed810452e93'::uuid, 'TvMaze', 203532)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af98190a-8267-1e9f-50ac-3ed810452e93'::uuid, 'Tvdb', 5159992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18973 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af98190a-8267-1e9f-50ac-3ed810452e93'::uuid;

-- Query #18974 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'af98190a-8267-1e9f-50ac-3ed810452e93'::uuid;

-- Query #18975 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['af98190a-8267-1e9f-50ac-3ed810452e93'::uuid]);

-- Query #18976 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'af98190a-8267-1e9f-50ac-3ed810452e93'::uuid;

-- Query #18977 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18978 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '63c3ab83-f02c-d12f-9e40-a0dd303f8374'::uuid;

-- Query #18979 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['63c3ab83-f02c-d12f-9e40-a0dd303f8374'::uuid]);

-- Query #18980 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '63c3ab83-f02c-d12f-9e40-a0dd303f8374'::uuid;

-- Query #18981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63c3ab83-f02c-d12f-9e40-a0dd303f8374'::uuid, 'Imdb', 'tt4684632')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63c3ab83-f02c-d12f-9e40-a0dd303f8374'::uuid, 'TvMaze', 203538)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63c3ab83-f02c-d12f-9e40-a0dd303f8374'::uuid, 'Tvdb', 5204940)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18984 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '63c3ab83-f02c-d12f-9e40-a0dd303f8374'::uuid;

-- Query #18985 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '63c3ab83-f02c-d12f-9e40-a0dd303f8374'::uuid;

-- Query #18986 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['63c3ab83-f02c-d12f-9e40-a0dd303f8374'::uuid]);

-- Query #18987 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '63c3ab83-f02c-d12f-9e40-a0dd303f8374'::uuid;

-- Query #18988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #18989 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70b69509-215a-2d0b-8c72-64a0a8481207'::uuid;

-- Query #18990 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70b69509-215a-2d0b-8c72-64a0a8481207'::uuid]);

-- Query #18991 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '70b69509-215a-2d0b-8c72-64a0a8481207'::uuid;

-- Query #18992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70b69509-215a-2d0b-8c72-64a0a8481207'::uuid, 'TvMaze', 203540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70b69509-215a-2d0b-8c72-64a0a8481207'::uuid, 'Tvdb', 5231957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #18994 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70b69509-215a-2d0b-8c72-64a0a8481207'::uuid;

-- Query #18995 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '70b69509-215a-2d0b-8c72-64a0a8481207'::uuid;

-- Query #18996 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #18997 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['70b69509-215a-2d0b-8c72-64a0a8481207'::uuid]);

-- Query #18998 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '70b69509-215a-2d0b-8c72-64a0a8481207'::uuid;

-- Query #18999 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19000 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed9299f6-d4cf-5081-ad3c-19a0648d77e6'::uuid;

-- Query #19001 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed9299f6-d4cf-5081-ad3c-19a0648d77e6'::uuid]);

-- Query #19002 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ed9299f6-d4cf-5081-ad3c-19a0648d77e6'::uuid;

-- Query #19003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed9299f6-d4cf-5081-ad3c-19a0648d77e6'::uuid, 'Imdb', 'tt3868860')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed9299f6-d4cf-5081-ad3c-19a0648d77e6'::uuid, 'TvMaze', 203534)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19005 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed9299f6-d4cf-5081-ad3c-19a0648d77e6'::uuid, 'Tvdb', 5159995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19006 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed9299f6-d4cf-5081-ad3c-19a0648d77e6'::uuid;

-- Query #19007 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ed9299f6-d4cf-5081-ad3c-19a0648d77e6'::uuid;

-- Query #19008 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ed9299f6-d4cf-5081-ad3c-19a0648d77e6'::uuid]);

-- Query #19009 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ed9299f6-d4cf-5081-ad3c-19a0648d77e6'::uuid;

-- Query #19010 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19011 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '111b5f57-7667-89e3-43d6-9b732da0b722'::uuid;

-- Query #19012 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['111b5f57-7667-89e3-43d6-9b732da0b722'::uuid]);

-- Query #19013 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '111b5f57-7667-89e3-43d6-9b732da0b722'::uuid;

-- Query #19014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('111b5f57-7667-89e3-43d6-9b732da0b722'::uuid, 'TvMaze', 203531)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('111b5f57-7667-89e3-43d6-9b732da0b722'::uuid, 'Tvdb', 5159990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19016 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '111b5f57-7667-89e3-43d6-9b732da0b722'::uuid;

-- Query #19017 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '111b5f57-7667-89e3-43d6-9b732da0b722'::uuid;

-- Query #19018 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['111b5f57-7667-89e3-43d6-9b732da0b722'::uuid]);

-- Query #19019 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '111b5f57-7667-89e3-43d6-9b732da0b722'::uuid;

-- Query #19020 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19021 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bc41007e-59f6-0d57-b1dd-6de837697d92'::uuid;

-- Query #19022 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bc41007e-59f6-0d57-b1dd-6de837697d92'::uuid]);

-- Query #19023 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bc41007e-59f6-0d57-b1dd-6de837697d92'::uuid;

-- Query #19024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc41007e-59f6-0d57-b1dd-6de837697d92'::uuid, 'TvMaze', 203529)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc41007e-59f6-0d57-b1dd-6de837697d92'::uuid, 'Tvdb', 5090282)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19026 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bc41007e-59f6-0d57-b1dd-6de837697d92'::uuid;

-- Query #19027 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bc41007e-59f6-0d57-b1dd-6de837697d92'::uuid;

-- Query #19028 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bc41007e-59f6-0d57-b1dd-6de837697d92'::uuid]);

-- Query #19029 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bc41007e-59f6-0d57-b1dd-6de837697d92'::uuid;

-- Query #19030 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19031 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e3caa92-4f4a-4110-9f27-9c36c6520501'::uuid;

-- Query #19032 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e3caa92-4f4a-4110-9f27-9c36c6520501'::uuid]);

-- Query #19033 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9e3caa92-4f4a-4110-9f27-9c36c6520501'::uuid;

-- Query #19034 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e3caa92-4f4a-4110-9f27-9c36c6520501'::uuid, 'Imdb', 'tt4568444')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e3caa92-4f4a-4110-9f27-9c36c6520501'::uuid, 'TvMaze', 203530)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e3caa92-4f4a-4110-9f27-9c36c6520501'::uuid, 'Tvdb', 5155798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19037 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e3caa92-4f4a-4110-9f27-9c36c6520501'::uuid;

-- Query #19038 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9e3caa92-4f4a-4110-9f27-9c36c6520501'::uuid;

-- Query #19039 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9e3caa92-4f4a-4110-9f27-9c36c6520501'::uuid]);

-- Query #19040 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9e3caa92-4f4a-4110-9f27-9c36c6520501'::uuid;

-- Query #19041 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8040aba6-5f70-b826-85e6-48e053908d6e'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19042 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '161d773c-1e89-e015-7bb6-65fde8824d8a'::uuid;

-- Query #19043 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['161d773c-1e89-e015-7bb6-65fde8824d8a'::uuid]);

-- Query #19044 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '161d773c-1e89-e015-7bb6-65fde8824d8a'::uuid;

-- Query #19045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('161d773c-1e89-e015-7bb6-65fde8824d8a'::uuid, 'Imdb', 'tt5372692')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('161d773c-1e89-e015-7bb6-65fde8824d8a'::uuid, 'TvMaze', 533179)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('161d773c-1e89-e015-7bb6-65fde8824d8a'::uuid, 'Tvdb', 5476962)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19048 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '161d773c-1e89-e015-7bb6-65fde8824d8a'::uuid;

-- Query #19049 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '161d773c-1e89-e015-7bb6-65fde8824d8a'::uuid;

-- Query #19050 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['161d773c-1e89-e015-7bb6-65fde8824d8a'::uuid]);

-- Query #19051 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '161d773c-1e89-e015-7bb6-65fde8824d8a'::uuid;

-- Query #19052 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19053 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d473501-4adb-e258-1719-9cc4d26a71d7'::uuid;

-- Query #19054 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d473501-4adb-e258-1719-9cc4d26a71d7'::uuid]);

-- Query #19055 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5d473501-4adb-e258-1719-9cc4d26a71d7'::uuid;

-- Query #19056 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d473501-4adb-e258-1719-9cc4d26a71d7'::uuid, 'Imdb', 'tt5475436')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19057 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d473501-4adb-e258-1719-9cc4d26a71d7'::uuid, 'TvMaze', 561451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d473501-4adb-e258-1719-9cc4d26a71d7'::uuid, 'Tvdb', 5489491)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19059 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d473501-4adb-e258-1719-9cc4d26a71d7'::uuid;

-- Query #19060 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5d473501-4adb-e258-1719-9cc4d26a71d7'::uuid;

-- Query #19061 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5d473501-4adb-e258-1719-9cc4d26a71d7'::uuid]);

-- Query #19062 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5d473501-4adb-e258-1719-9cc4d26a71d7'::uuid;

-- Query #19063 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19064 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f4736904-8b49-e0c2-5acf-5f5ea6539d9f'::uuid;

-- Query #19065 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4736904-8b49-e0c2-5acf-5f5ea6539d9f'::uuid]);

-- Query #19066 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f4736904-8b49-e0c2-5acf-5f5ea6539d9f'::uuid;

-- Query #19067 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4736904-8b49-e0c2-5acf-5f5ea6539d9f'::uuid, 'Imdb', 'tt5584044')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4736904-8b49-e0c2-5acf-5f5ea6539d9f'::uuid, 'TvMaze', 614042)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4736904-8b49-e0c2-5acf-5f5ea6539d9f'::uuid, 'Tvdb', 5525077)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19070 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f4736904-8b49-e0c2-5acf-5f5ea6539d9f'::uuid;

-- Query #19071 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f4736904-8b49-e0c2-5acf-5f5ea6539d9f'::uuid;

-- Query #19072 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f4736904-8b49-e0c2-5acf-5f5ea6539d9f'::uuid]);

-- Query #19073 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f4736904-8b49-e0c2-5acf-5f5ea6539d9f'::uuid;

-- Query #19074 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a05fd05c-50d2-72ad-b08e-7f63254e1d22'::uuid;

-- Query #19076 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a05fd05c-50d2-72ad-b08e-7f63254e1d22'::uuid]);

-- Query #19077 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a05fd05c-50d2-72ad-b08e-7f63254e1d22'::uuid;

-- Query #19078 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a05fd05c-50d2-72ad-b08e-7f63254e1d22'::uuid, 'Imdb', 'tt5288674')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19079 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a05fd05c-50d2-72ad-b08e-7f63254e1d22'::uuid, 'TvMaze', 504693)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a05fd05c-50d2-72ad-b08e-7f63254e1d22'::uuid, 'Tvdb', 5437322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19081 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a05fd05c-50d2-72ad-b08e-7f63254e1d22'::uuid;

-- Query #19082 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a05fd05c-50d2-72ad-b08e-7f63254e1d22'::uuid;

-- Query #19083 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a05fd05c-50d2-72ad-b08e-7f63254e1d22'::uuid]);

-- Query #19084 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a05fd05c-50d2-72ad-b08e-7f63254e1d22'::uuid;

-- Query #19085 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19086 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8acfa72-a27f-b172-85f1-46c91a188baf'::uuid;

-- Query #19087 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d8acfa72-a27f-b172-85f1-46c91a188baf'::uuid]);

-- Query #19088 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd8acfa72-a27f-b172-85f1-46c91a188baf'::uuid;

-- Query #19089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8acfa72-a27f-b172-85f1-46c91a188baf'::uuid, 'Imdb', 'tt5336488')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8acfa72-a27f-b172-85f1-46c91a188baf'::uuid, 'TvMaze', 533178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8acfa72-a27f-b172-85f1-46c91a188baf'::uuid, 'Tvdb', 5457729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19092 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8acfa72-a27f-b172-85f1-46c91a188baf'::uuid;

-- Query #19093 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd8acfa72-a27f-b172-85f1-46c91a188baf'::uuid;

-- Query #19094 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d8acfa72-a27f-b172-85f1-46c91a188baf'::uuid]);

-- Query #19095 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd8acfa72-a27f-b172-85f1-46c91a188baf'::uuid;

-- Query #19096 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19097 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1fb313cf-caab-a5c5-4296-9ad27d5232ba'::uuid;

-- Query #19098 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1fb313cf-caab-a5c5-4296-9ad27d5232ba'::uuid]);

-- Query #19099 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1fb313cf-caab-a5c5-4296-9ad27d5232ba'::uuid;

-- Query #19100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1fb313cf-caab-a5c5-4296-9ad27d5232ba'::uuid, 'Imdb', 'tt5475438')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1fb313cf-caab-a5c5-4296-9ad27d5232ba'::uuid, 'TvMaze', 570364)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1fb313cf-caab-a5c5-4296-9ad27d5232ba'::uuid, 'Tvdb', 5497752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19103 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1fb313cf-caab-a5c5-4296-9ad27d5232ba'::uuid;

-- Query #19104 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1fb313cf-caab-a5c5-4296-9ad27d5232ba'::uuid;

-- Query #19105 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1fb313cf-caab-a5c5-4296-9ad27d5232ba'::uuid]);

-- Query #19106 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1fb313cf-caab-a5c5-4296-9ad27d5232ba'::uuid;

-- Query #19107 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19108 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55793275-74ed-c62c-bd6d-3de8624bbc54'::uuid;

-- Query #19109 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['55793275-74ed-c62c-bd6d-3de8624bbc54'::uuid]);

-- Query #19110 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '55793275-74ed-c62c-bd6d-3de8624bbc54'::uuid;

-- Query #19111 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55793275-74ed-c62c-bd6d-3de8624bbc54'::uuid, 'Imdb', 'tt5475444')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19112 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55793275-74ed-c62c-bd6d-3de8624bbc54'::uuid, 'TvMaze', 570365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55793275-74ed-c62c-bd6d-3de8624bbc54'::uuid, 'Tvdb', 5505902)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19114 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55793275-74ed-c62c-bd6d-3de8624bbc54'::uuid;

-- Query #19115 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '55793275-74ed-c62c-bd6d-3de8624bbc54'::uuid;

-- Query #19116 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['55793275-74ed-c62c-bd6d-3de8624bbc54'::uuid]);

-- Query #19117 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '55793275-74ed-c62c-bd6d-3de8624bbc54'::uuid;

-- Query #19118 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19119 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c02ab2b2-a67b-f513-d0d0-88aa0256fecf'::uuid;

-- Query #19120 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c02ab2b2-a67b-f513-d0d0-88aa0256fecf'::uuid]);

-- Query #19121 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c02ab2b2-a67b-f513-d0d0-88aa0256fecf'::uuid;

-- Query #19122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c02ab2b2-a67b-f513-d0d0-88aa0256fecf'::uuid, 'Imdb', 'tt5372694')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c02ab2b2-a67b-f513-d0d0-88aa0256fecf'::uuid, 'TvMaze', 533180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c02ab2b2-a67b-f513-d0d0-88aa0256fecf'::uuid, 'Tvdb', 5485107)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19125 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c02ab2b2-a67b-f513-d0d0-88aa0256fecf'::uuid;

-- Query #19126 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c02ab2b2-a67b-f513-d0d0-88aa0256fecf'::uuid;

-- Query #19127 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c02ab2b2-a67b-f513-d0d0-88aa0256fecf'::uuid]);

-- Query #19128 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c02ab2b2-a67b-f513-d0d0-88aa0256fecf'::uuid;

-- Query #19129 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19130 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b83119a7-7c21-2d60-93be-5f62b517bcdb'::uuid;

-- Query #19131 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b83119a7-7c21-2d60-93be-5f62b517bcdb'::uuid]);

-- Query #19132 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b83119a7-7c21-2d60-93be-5f62b517bcdb'::uuid;

-- Query #19133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b83119a7-7c21-2d60-93be-5f62b517bcdb'::uuid, 'Imdb', 'tt5336472')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b83119a7-7c21-2d60-93be-5f62b517bcdb'::uuid, 'TvMaze', 533177)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b83119a7-7c21-2d60-93be-5f62b517bcdb'::uuid, 'Tvdb', 5452195)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19136 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b83119a7-7c21-2d60-93be-5f62b517bcdb'::uuid;

-- Query #19137 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b83119a7-7c21-2d60-93be-5f62b517bcdb'::uuid;

-- Query #19138 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b83119a7-7c21-2d60-93be-5f62b517bcdb'::uuid]);

-- Query #19139 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b83119a7-7c21-2d60-93be-5f62b517bcdb'::uuid;

-- Query #19140 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19141 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ec366bc0-ac79-114a-adf7-8d799f565798'::uuid;

-- Query #19142 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ec366bc0-ac79-114a-adf7-8d799f565798'::uuid]);

-- Query #19143 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ec366bc0-ac79-114a-adf7-8d799f565798'::uuid;

-- Query #19144 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec366bc0-ac79-114a-adf7-8d799f565798'::uuid, 'Imdb', 'tt5288676')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec366bc0-ac79-114a-adf7-8d799f565798'::uuid, 'TvMaze', 504694)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec366bc0-ac79-114a-adf7-8d799f565798'::uuid, 'Tvdb', 5446811)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19147 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ec366bc0-ac79-114a-adf7-8d799f565798'::uuid;

-- Query #19148 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ec366bc0-ac79-114a-adf7-8d799f565798'::uuid;

-- Query #19149 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ec366bc0-ac79-114a-adf7-8d799f565798'::uuid]);

-- Query #19150 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ec366bc0-ac79-114a-adf7-8d799f565798'::uuid;

-- Query #19151 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19152 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e63ad043-5eb5-c3fd-fef0-cd1159bf24db'::uuid;

-- Query #19153 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e63ad043-5eb5-c3fd-fef0-cd1159bf24db'::uuid]);

-- Query #19154 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e63ad043-5eb5-c3fd-fef0-cd1159bf24db'::uuid;

-- Query #19155 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e63ad043-5eb5-c3fd-fef0-cd1159bf24db'::uuid, 'Imdb', 'tt5584050')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19156 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e63ad043-5eb5-c3fd-fef0-cd1159bf24db'::uuid, 'TvMaze', 617832)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19157 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e63ad043-5eb5-c3fd-fef0-cd1159bf24db'::uuid, 'Tvdb', 5533675)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19158 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e63ad043-5eb5-c3fd-fef0-cd1159bf24db'::uuid;

-- Query #19159 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e63ad043-5eb5-c3fd-fef0-cd1159bf24db'::uuid;

-- Query #19160 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e63ad043-5eb5-c3fd-fef0-cd1159bf24db'::uuid]);

-- Query #19161 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e63ad043-5eb5-c3fd-fef0-cd1159bf24db'::uuid;

-- Query #19162 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19163 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bfb27550-34b7-c80b-c4b0-82cd05066ded'::uuid;

-- Query #19164 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bfb27550-34b7-c80b-c4b0-82cd05066ded'::uuid]);

-- Query #19165 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bfb27550-34b7-c80b-c4b0-82cd05066ded'::uuid;

-- Query #19166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfb27550-34b7-c80b-c4b0-82cd05066ded'::uuid, 'TvMaze', 453321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfb27550-34b7-c80b-c4b0-82cd05066ded'::uuid, 'Tvdb', 5416957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19168 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bfb27550-34b7-c80b-c4b0-82cd05066ded'::uuid;

-- Query #19169 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bfb27550-34b7-c80b-c4b0-82cd05066ded'::uuid;

-- Query #19170 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19171 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bfb27550-34b7-c80b-c4b0-82cd05066ded'::uuid]);

-- Query #19172 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bfb27550-34b7-c80b-c4b0-82cd05066ded'::uuid;

-- Query #19173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19174 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #19175 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d84d749-56b8-7074-f0ea-d4aa737d929b'::uuid;

-- Query #19176 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d84d749-56b8-7074-f0ea-d4aa737d929b'::uuid]);

-- Query #19177 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2d84d749-56b8-7074-f0ea-d4aa737d929b'::uuid;

-- Query #19178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d84d749-56b8-7074-f0ea-d4aa737d929b'::uuid, 'TvMaze', 400170)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d84d749-56b8-7074-f0ea-d4aa737d929b'::uuid, 'Tvdb', 5392921)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19180 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d84d749-56b8-7074-f0ea-d4aa737d929b'::uuid;

-- Query #19181 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2d84d749-56b8-7074-f0ea-d4aa737d929b'::uuid;

-- Query #19182 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19183 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2d84d749-56b8-7074-f0ea-d4aa737d929b'::uuid]);

-- Query #19184 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2d84d749-56b8-7074-f0ea-d4aa737d929b'::uuid;

-- Query #19185 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19186 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef6df471-7358-0599-a9da-8f8e158e92af'::uuid;

-- Query #19187 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef6df471-7358-0599-a9da-8f8e158e92af'::uuid]);

-- Query #19188 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ef6df471-7358-0599-a9da-8f8e158e92af'::uuid;

-- Query #19189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef6df471-7358-0599-a9da-8f8e158e92af'::uuid, 'Imdb', 'tt5275854')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef6df471-7358-0599-a9da-8f8e158e92af'::uuid, 'TvMaze', 497715)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef6df471-7358-0599-a9da-8f8e158e92af'::uuid, 'Tvdb', 5401993)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19192 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef6df471-7358-0599-a9da-8f8e158e92af'::uuid;

-- Query #19193 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ef6df471-7358-0599-a9da-8f8e158e92af'::uuid;

-- Query #19194 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ef6df471-7358-0599-a9da-8f8e158e92af'::uuid]);

-- Query #19195 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ef6df471-7358-0599-a9da-8f8e158e92af'::uuid;

-- Query #19196 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19197 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4867f7e4-c211-df92-6848-071ae29df3c6'::uuid;

-- Query #19198 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4867f7e4-c211-df92-6848-071ae29df3c6'::uuid]);

-- Query #19199 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4867f7e4-c211-df92-6848-071ae29df3c6'::uuid;

-- Query #19200 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4867f7e4-c211-df92-6848-071ae29df3c6'::uuid, 'Imdb', 'tt6918024')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19201 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4867f7e4-c211-df92-6848-071ae29df3c6'::uuid, 'TvMaze', 894555)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19202 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4867f7e4-c211-df92-6848-071ae29df3c6'::uuid, 'Tvdb', 5741324)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19203 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4867f7e4-c211-df92-6848-071ae29df3c6'::uuid;

-- Query #19204 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4867f7e4-c211-df92-6848-071ae29df3c6'::uuid;

-- Query #19205 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4867f7e4-c211-df92-6848-071ae29df3c6'::uuid]);

-- Query #19206 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4867f7e4-c211-df92-6848-071ae29df3c6'::uuid;

-- Query #19207 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19208 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2dddc513-fc4b-1171-a87f-c0a5d0d51834'::uuid;

-- Query #19209 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2dddc513-fc4b-1171-a87f-c0a5d0d51834'::uuid]);

-- Query #19210 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2dddc513-fc4b-1171-a87f-c0a5d0d51834'::uuid;

-- Query #19211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2dddc513-fc4b-1171-a87f-c0a5d0d51834'::uuid, 'TvMaze', 868510)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2dddc513-fc4b-1171-a87f-c0a5d0d51834'::uuid, 'Tvdb', 5718756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19213 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2dddc513-fc4b-1171-a87f-c0a5d0d51834'::uuid;

-- Query #19214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2dddc513-fc4b-1171-a87f-c0a5d0d51834'::uuid;

-- Query #19215 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19216 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2dddc513-fc4b-1171-a87f-c0a5d0d51834'::uuid]);

-- Query #19217 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2dddc513-fc4b-1171-a87f-c0a5d0d51834'::uuid;

-- Query #19218 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19219 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3188df6-834c-834c-975c-a651ef7b64d5'::uuid;

-- Query #19220 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b3188df6-834c-834c-975c-a651ef7b64d5'::uuid]);

-- Query #19221 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b3188df6-834c-834c-975c-a651ef7b64d5'::uuid;

-- Query #19222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3188df6-834c-834c-975c-a651ef7b64d5'::uuid, 'TvMaze', 918382)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3188df6-834c-834c-975c-a651ef7b64d5'::uuid, 'Tvdb', 5741337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19224 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3188df6-834c-834c-975c-a651ef7b64d5'::uuid;

-- Query #19225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b3188df6-834c-834c-975c-a651ef7b64d5'::uuid;

-- Query #19226 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19227 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b3188df6-834c-834c-975c-a651ef7b64d5'::uuid]);

-- Query #19228 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b3188df6-834c-834c-975c-a651ef7b64d5'::uuid;

-- Query #19229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19230 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f12b447f-d229-66cb-e7c5-4283e935b00d'::uuid;

-- Query #19231 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12b447f-d229-66cb-e7c5-4283e935b00d'::uuid]);

-- Query #19232 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f12b447f-d229-66cb-e7c5-4283e935b00d'::uuid;

-- Query #19233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f12b447f-d229-66cb-e7c5-4283e935b00d'::uuid, 'Imdb', 'tt5973614')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f12b447f-d229-66cb-e7c5-4283e935b00d'::uuid, 'TvMaze', 868508)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f12b447f-d229-66cb-e7c5-4283e935b00d'::uuid, 'Tvdb', 5709928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19236 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f12b447f-d229-66cb-e7c5-4283e935b00d'::uuid;

-- Query #19237 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f12b447f-d229-66cb-e7c5-4283e935b00d'::uuid;

-- Query #19238 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f12b447f-d229-66cb-e7c5-4283e935b00d'::uuid]);

-- Query #19239 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f12b447f-d229-66cb-e7c5-4283e935b00d'::uuid;

-- Query #19240 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19241 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1217e42c-fe62-4059-eaad-b2a5d1625c4e'::uuid;

-- Query #19242 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1217e42c-fe62-4059-eaad-b2a5d1625c4e'::uuid]);

-- Query #19243 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1217e42c-fe62-4059-eaad-b2a5d1625c4e'::uuid;

-- Query #19244 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1217e42c-fe62-4059-eaad-b2a5d1625c4e'::uuid, 'TvMaze', 868509)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19245 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1217e42c-fe62-4059-eaad-b2a5d1625c4e'::uuid, 'Tvdb', 5709929)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19246 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1217e42c-fe62-4059-eaad-b2a5d1625c4e'::uuid;

-- Query #19247 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1217e42c-fe62-4059-eaad-b2a5d1625c4e'::uuid;

-- Query #19248 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19249 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1217e42c-fe62-4059-eaad-b2a5d1625c4e'::uuid]);

-- Query #19250 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1217e42c-fe62-4059-eaad-b2a5d1625c4e'::uuid;

-- Query #19251 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19252 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '94326849-2bf0-22f0-3770-0d10193d980c'::uuid;

-- Query #19253 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['94326849-2bf0-22f0-3770-0d10193d980c'::uuid]);

-- Query #19254 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '94326849-2bf0-22f0-3770-0d10193d980c'::uuid;

-- Query #19255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94326849-2bf0-22f0-3770-0d10193d980c'::uuid, 'TvMaze', 918381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94326849-2bf0-22f0-3770-0d10193d980c'::uuid, 'Tvdb', 5741336)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19257 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '94326849-2bf0-22f0-3770-0d10193d980c'::uuid;

-- Query #19258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '94326849-2bf0-22f0-3770-0d10193d980c'::uuid;

-- Query #19259 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19260 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['94326849-2bf0-22f0-3770-0d10193d980c'::uuid]);

-- Query #19261 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '94326849-2bf0-22f0-3770-0d10193d980c'::uuid;

-- Query #19262 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19263 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db0c0730-9346-ef89-6213-8828fa7c83b6'::uuid;

-- Query #19264 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db0c0730-9346-ef89-6213-8828fa7c83b6'::uuid]);

-- Query #19265 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'db0c0730-9346-ef89-6213-8828fa7c83b6'::uuid;

-- Query #19266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db0c0730-9346-ef89-6213-8828fa7c83b6'::uuid, 'Imdb', 'tt6918092')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19267 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db0c0730-9346-ef89-6213-8828fa7c83b6'::uuid, 'TvMaze', 894558)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db0c0730-9346-ef89-6213-8828fa7c83b6'::uuid, 'Tvdb', 5741333)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19269 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db0c0730-9346-ef89-6213-8828fa7c83b6'::uuid;

-- Query #19270 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'db0c0730-9346-ef89-6213-8828fa7c83b6'::uuid;

-- Query #19271 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['db0c0730-9346-ef89-6213-8828fa7c83b6'::uuid]);

-- Query #19272 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'db0c0730-9346-ef89-6213-8828fa7c83b6'::uuid;

-- Query #19273 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19274 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8db8fd95-6bb9-1306-db55-3c7d6743c9e3'::uuid;

-- Query #19275 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8db8fd95-6bb9-1306-db55-3c7d6743c9e3'::uuid]);

-- Query #19276 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8db8fd95-6bb9-1306-db55-3c7d6743c9e3'::uuid;

-- Query #19277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8db8fd95-6bb9-1306-db55-3c7d6743c9e3'::uuid, 'Imdb', 'tt5973610')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8db8fd95-6bb9-1306-db55-3c7d6743c9e3'::uuid, 'TvMaze', 868507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8db8fd95-6bb9-1306-db55-3c7d6743c9e3'::uuid, 'Tvdb', 5696041)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19280 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8db8fd95-6bb9-1306-db55-3c7d6743c9e3'::uuid;

-- Query #19281 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8db8fd95-6bb9-1306-db55-3c7d6743c9e3'::uuid;

-- Query #19282 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8db8fd95-6bb9-1306-db55-3c7d6743c9e3'::uuid]);

-- Query #19283 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8db8fd95-6bb9-1306-db55-3c7d6743c9e3'::uuid;

-- Query #19284 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19285 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd40ce941-dc17-e2b3-e565-7e1da4b61e52'::uuid;

-- Query #19286 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d40ce941-dc17-e2b3-e565-7e1da4b61e52'::uuid]);

-- Query #19287 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd40ce941-dc17-e2b3-e565-7e1da4b61e52'::uuid;

-- Query #19288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d40ce941-dc17-e2b3-e565-7e1da4b61e52'::uuid, 'TvMaze', 894559)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d40ce941-dc17-e2b3-e565-7e1da4b61e52'::uuid, 'Tvdb', 5741334)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19290 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd40ce941-dc17-e2b3-e565-7e1da4b61e52'::uuid;

-- Query #19291 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd40ce941-dc17-e2b3-e565-7e1da4b61e52'::uuid;

-- Query #19292 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19293 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d40ce941-dc17-e2b3-e565-7e1da4b61e52'::uuid]);

-- Query #19294 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd40ce941-dc17-e2b3-e565-7e1da4b61e52'::uuid;

-- Query #19295 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5c77f13a-6a7f-712f-7e4f-a9a624177ce2'::uuid;

-- Query #19297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c77f13a-6a7f-712f-7e4f-a9a624177ce2'::uuid]);

-- Query #19298 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5c77f13a-6a7f-712f-7e4f-a9a624177ce2'::uuid;

-- Query #19299 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c77f13a-6a7f-712f-7e4f-a9a624177ce2'::uuid, 'TvMaze', 919597)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c77f13a-6a7f-712f-7e4f-a9a624177ce2'::uuid, 'Tvdb', 5741338)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19301 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5c77f13a-6a7f-712f-7e4f-a9a624177ce2'::uuid;

-- Query #19302 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5c77f13a-6a7f-712f-7e4f-a9a624177ce2'::uuid;

-- Query #19303 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19304 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5c77f13a-6a7f-712f-7e4f-a9a624177ce2'::uuid]);

-- Query #19305 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5c77f13a-6a7f-712f-7e4f-a9a624177ce2'::uuid;

-- Query #19306 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19307 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd587ee15-b0eb-caae-7a7a-e311ff941026'::uuid;

-- Query #19308 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d587ee15-b0eb-caae-7a7a-e311ff941026'::uuid]);

-- Query #19309 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd587ee15-b0eb-caae-7a7a-e311ff941026'::uuid;

-- Query #19310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d587ee15-b0eb-caae-7a7a-e311ff941026'::uuid, 'TvMaze', 894556)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d587ee15-b0eb-caae-7a7a-e311ff941026'::uuid, 'Tvdb', 5741329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19312 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd587ee15-b0eb-caae-7a7a-e311ff941026'::uuid;

-- Query #19313 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd587ee15-b0eb-caae-7a7a-e311ff941026'::uuid;

-- Query #19314 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19315 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d587ee15-b0eb-caae-7a7a-e311ff941026'::uuid]);

-- Query #19316 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd587ee15-b0eb-caae-7a7a-e311ff941026'::uuid;

-- Query #19317 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19318 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24f4afe2-59ac-c72b-e58f-37a817bfd120'::uuid;

-- Query #19319 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24f4afe2-59ac-c72b-e58f-37a817bfd120'::uuid]);

-- Query #19320 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '24f4afe2-59ac-c72b-e58f-37a817bfd120'::uuid;

-- Query #19321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24f4afe2-59ac-c72b-e58f-37a817bfd120'::uuid, 'TvMaze', 918380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24f4afe2-59ac-c72b-e58f-37a817bfd120'::uuid, 'Tvdb', 5741335)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19323 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24f4afe2-59ac-c72b-e58f-37a817bfd120'::uuid;

-- Query #19324 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '24f4afe2-59ac-c72b-e58f-37a817bfd120'::uuid;

-- Query #19325 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19326 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['24f4afe2-59ac-c72b-e58f-37a817bfd120'::uuid]);

-- Query #19327 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '24f4afe2-59ac-c72b-e58f-37a817bfd120'::uuid;

-- Query #19328 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19329 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c21c9612-aa0c-103d-9de2-21709c31dfab'::uuid;

-- Query #19330 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c21c9612-aa0c-103d-9de2-21709c31dfab'::uuid]);

-- Query #19331 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c21c9612-aa0c-103d-9de2-21709c31dfab'::uuid;

-- Query #19332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c21c9612-aa0c-103d-9de2-21709c31dfab'::uuid, 'Imdb', 'tt5859450')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19333 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c21c9612-aa0c-103d-9de2-21709c31dfab'::uuid, 'TvMaze', 203529)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c21c9612-aa0c-103d-9de2-21709c31dfab'::uuid, 'Tvdb', 5687165)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19335 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c21c9612-aa0c-103d-9de2-21709c31dfab'::uuid;

-- Query #19336 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c21c9612-aa0c-103d-9de2-21709c31dfab'::uuid;

-- Query #19337 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c21c9612-aa0c-103d-9de2-21709c31dfab'::uuid]);

-- Query #19338 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c21c9612-aa0c-103d-9de2-21709c31dfab'::uuid;

-- Query #19339 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19340 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1012b9a9-1d0c-a315-b1aa-b0a51cd92bc1'::uuid;

-- Query #19341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1012b9a9-1d0c-a315-b1aa-b0a51cd92bc1'::uuid]);

-- Query #19342 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1012b9a9-1d0c-a315-b1aa-b0a51cd92bc1'::uuid;

-- Query #19343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1012b9a9-1d0c-a315-b1aa-b0a51cd92bc1'::uuid, 'Imdb', 'tt5973608')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1012b9a9-1d0c-a315-b1aa-b0a51cd92bc1'::uuid, 'TvMaze', 871316)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1012b9a9-1d0c-a315-b1aa-b0a51cd92bc1'::uuid, 'Tvdb', 5687166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19346 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1012b9a9-1d0c-a315-b1aa-b0a51cd92bc1'::uuid;

-- Query #19347 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1012b9a9-1d0c-a315-b1aa-b0a51cd92bc1'::uuid;

-- Query #19348 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1012b9a9-1d0c-a315-b1aa-b0a51cd92bc1'::uuid]);

-- Query #19349 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1012b9a9-1d0c-a315-b1aa-b0a51cd92bc1'::uuid;

-- Query #19350 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['240da686-faf3-339a-b199-6dac7d07fc4a'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19351 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ee6963c2-8a5e-077b-36f6-07ae76fb736b'::uuid;

-- Query #19352 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ee6963c2-8a5e-077b-36f6-07ae76fb736b'::uuid]);

-- Query #19353 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ee6963c2-8a5e-077b-36f6-07ae76fb736b'::uuid;

-- Query #19354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee6963c2-8a5e-077b-36f6-07ae76fb736b'::uuid, 'Imdb', 'tt24174716')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee6963c2-8a5e-077b-36f6-07ae76fb736b'::uuid, 'TvMaze', 1177546)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee6963c2-8a5e-077b-36f6-07ae76fb736b'::uuid, 'Tvdb', 6126372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19357 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ee6963c2-8a5e-077b-36f6-07ae76fb736b'::uuid;

-- Query #19358 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ee6963c2-8a5e-077b-36f6-07ae76fb736b'::uuid;

-- Query #19359 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ee6963c2-8a5e-077b-36f6-07ae76fb736b'::uuid]);

-- Query #19360 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ee6963c2-8a5e-077b-36f6-07ae76fb736b'::uuid;

-- Query #19361 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19362 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '264679f5-8a48-50d3-0623-2db646cbf6d6'::uuid;

-- Query #19363 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['264679f5-8a48-50d3-0623-2db646cbf6d6'::uuid]);

-- Query #19364 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '264679f5-8a48-50d3-0623-2db646cbf6d6'::uuid;

-- Query #19365 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('264679f5-8a48-50d3-0623-2db646cbf6d6'::uuid, 'TvMaze', 1192547)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('264679f5-8a48-50d3-0623-2db646cbf6d6'::uuid, 'Tvdb', 6126373)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19367 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '264679f5-8a48-50d3-0623-2db646cbf6d6'::uuid;

-- Query #19368 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '264679f5-8a48-50d3-0623-2db646cbf6d6'::uuid;

-- Query #19369 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19370 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['264679f5-8a48-50d3-0623-2db646cbf6d6'::uuid]);

-- Query #19371 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '264679f5-8a48-50d3-0623-2db646cbf6d6'::uuid;

-- Query #19372 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19373 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b99745e-3265-ca26-c4d9-f2e950afe3a0'::uuid;

-- Query #19374 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b99745e-3265-ca26-c4d9-f2e950afe3a0'::uuid]);

-- Query #19375 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0b99745e-3265-ca26-c4d9-f2e950afe3a0'::uuid;

-- Query #19376 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b99745e-3265-ca26-c4d9-f2e950afe3a0'::uuid, 'Tvdb', 6161946)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19377 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b99745e-3265-ca26-c4d9-f2e950afe3a0'::uuid, 'TvMaze', 1221297)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19378 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b99745e-3265-ca26-c4d9-f2e950afe3a0'::uuid;

-- Query #19379 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0b99745e-3265-ca26-c4d9-f2e950afe3a0'::uuid;

-- Query #19380 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19381 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0b99745e-3265-ca26-c4d9-f2e950afe3a0'::uuid]);

-- Query #19382 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0b99745e-3265-ca26-c4d9-f2e950afe3a0'::uuid;

-- Query #19383 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19384 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd7ed02c9-5800-568d-2608-4bc3fbb18a5c'::uuid;

-- Query #19385 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d7ed02c9-5800-568d-2608-4bc3fbb18a5c'::uuid]);

-- Query #19386 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd7ed02c9-5800-568d-2608-4bc3fbb18a5c'::uuid;

-- Query #19387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d7ed02c9-5800-568d-2608-4bc3fbb18a5c'::uuid, 'TvMaze', 1146747)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d7ed02c9-5800-568d-2608-4bc3fbb18a5c'::uuid, 'Tvdb', 6055266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19389 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd7ed02c9-5800-568d-2608-4bc3fbb18a5c'::uuid;

-- Query #19390 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd7ed02c9-5800-568d-2608-4bc3fbb18a5c'::uuid;

-- Query #19391 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19392 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d7ed02c9-5800-568d-2608-4bc3fbb18a5c'::uuid]);

-- Query #19393 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd7ed02c9-5800-568d-2608-4bc3fbb18a5c'::uuid;

-- Query #19394 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19395 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a3c85b12-09d9-88ac-60f0-d4587252c22c'::uuid;

-- Query #19396 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a3c85b12-09d9-88ac-60f0-d4587252c22c'::uuid]);

-- Query #19397 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a3c85b12-09d9-88ac-60f0-d4587252c22c'::uuid;

-- Query #19398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a3c85b12-09d9-88ac-60f0-d4587252c22c'::uuid, 'Imdb', 'tt6918122')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a3c85b12-09d9-88ac-60f0-d4587252c22c'::uuid, 'TvMaze', 1146748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a3c85b12-09d9-88ac-60f0-d4587252c22c'::uuid, 'Tvdb', 6066511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19401 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a3c85b12-09d9-88ac-60f0-d4587252c22c'::uuid;

-- Query #19402 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a3c85b12-09d9-88ac-60f0-d4587252c22c'::uuid;

-- Query #19403 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a3c85b12-09d9-88ac-60f0-d4587252c22c'::uuid]);

-- Query #19404 | logged_duration_ms=2 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a3c85b12-09d9-88ac-60f0-d4587252c22c'::uuid;

-- Query #19405 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19406 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db531271-9791-d29e-3df3-9bd48c1a820d'::uuid;

-- Query #19407 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db531271-9791-d29e-3df3-9bd48c1a820d'::uuid]);

-- Query #19408 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'db531271-9791-d29e-3df3-9bd48c1a820d'::uuid;

-- Query #19409 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db531271-9791-d29e-3df3-9bd48c1a820d'::uuid, 'Imdb', 'tt6918098')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19410 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db531271-9791-d29e-3df3-9bd48c1a820d'::uuid, 'TvMaze', 1146750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19411 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db531271-9791-d29e-3df3-9bd48c1a820d'::uuid, 'Tvdb', 6086408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19412 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db531271-9791-d29e-3df3-9bd48c1a820d'::uuid;

-- Query #19413 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'db531271-9791-d29e-3df3-9bd48c1a820d'::uuid;

-- Query #19414 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['db531271-9791-d29e-3df3-9bd48c1a820d'::uuid]);

-- Query #19415 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'db531271-9791-d29e-3df3-9bd48c1a820d'::uuid;

-- Query #19416 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19417 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8ce9866-3083-ded1-fc85-b8f2f9f6de7f'::uuid;

-- Query #19418 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce9866-3083-ded1-fc85-b8f2f9f6de7f'::uuid]);

-- Query #19419 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b8ce9866-3083-ded1-fc85-b8f2f9f6de7f'::uuid;

-- Query #19420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8ce9866-3083-ded1-fc85-b8f2f9f6de7f'::uuid, 'Imdb', 'tt24170862')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19421 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8ce9866-3083-ded1-fc85-b8f2f9f6de7f'::uuid, 'TvMaze', 1177547)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19422 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8ce9866-3083-ded1-fc85-b8f2f9f6de7f'::uuid, 'Tvdb', 6106855)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19423 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8ce9866-3083-ded1-fc85-b8f2f9f6de7f'::uuid;

-- Query #19424 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b8ce9866-3083-ded1-fc85-b8f2f9f6de7f'::uuid;

-- Query #19425 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b8ce9866-3083-ded1-fc85-b8f2f9f6de7f'::uuid]);

-- Query #19426 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b8ce9866-3083-ded1-fc85-b8f2f9f6de7f'::uuid;

-- Query #19427 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19428 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #19429 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef384a79-3c09-686d-f3b4-e6577b367829'::uuid;

-- Query #19430 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef384a79-3c09-686d-f3b4-e6577b367829'::uuid]);

-- Query #19431 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ef384a79-3c09-686d-f3b4-e6577b367829'::uuid;

-- Query #19432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef384a79-3c09-686d-f3b4-e6577b367829'::uuid, 'TvMaze', 1146749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef384a79-3c09-686d-f3b4-e6577b367829'::uuid, 'Tvdb', 6086407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19434 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef384a79-3c09-686d-f3b4-e6577b367829'::uuid;

-- Query #19435 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ef384a79-3c09-686d-f3b4-e6577b367829'::uuid;

-- Query #19436 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19437 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ef384a79-3c09-686d-f3b4-e6577b367829'::uuid]);

-- Query #19438 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ef384a79-3c09-686d-f3b4-e6577b367829'::uuid;

-- Query #19439 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19440 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '83662b4d-5e71-e87d-4057-acff0a424a20'::uuid;

-- Query #19441 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['83662b4d-5e71-e87d-4057-acff0a424a20'::uuid]);

-- Query #19442 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '83662b4d-5e71-e87d-4057-acff0a424a20'::uuid;

-- Query #19443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83662b4d-5e71-e87d-4057-acff0a424a20'::uuid, 'TvMaze', 1192548)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83662b4d-5e71-e87d-4057-acff0a424a20'::uuid, 'Tvdb', 6161924)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19445 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '83662b4d-5e71-e87d-4057-acff0a424a20'::uuid;

-- Query #19446 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '83662b4d-5e71-e87d-4057-acff0a424a20'::uuid;

-- Query #19447 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19448 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['83662b4d-5e71-e87d-4057-acff0a424a20'::uuid]);

-- Query #19449 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '83662b4d-5e71-e87d-4057-acff0a424a20'::uuid;

-- Query #19450 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19451 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '687ead0e-cff0-384f-c8d5-2e61d5ad2d9d'::uuid;

-- Query #19452 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['687ead0e-cff0-384f-c8d5-2e61d5ad2d9d'::uuid]);

-- Query #19453 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '687ead0e-cff0-384f-c8d5-2e61d5ad2d9d'::uuid;

-- Query #19454 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('687ead0e-cff0-384f-c8d5-2e61d5ad2d9d'::uuid, 'TvMaze', 1255531)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19455 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('687ead0e-cff0-384f-c8d5-2e61d5ad2d9d'::uuid, 'Tvdb', 6237025)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19456 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '687ead0e-cff0-384f-c8d5-2e61d5ad2d9d'::uuid;

-- Query #19457 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '687ead0e-cff0-384f-c8d5-2e61d5ad2d9d'::uuid;

-- Query #19458 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19459 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['687ead0e-cff0-384f-c8d5-2e61d5ad2d9d'::uuid]);

-- Query #19460 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '687ead0e-cff0-384f-c8d5-2e61d5ad2d9d'::uuid;

-- Query #19461 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19462 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff926a21-9cea-4ba7-f091-d21325bc1105'::uuid;

-- Query #19463 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff926a21-9cea-4ba7-f091-d21325bc1105'::uuid]);

-- Query #19464 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ff926a21-9cea-4ba7-f091-d21325bc1105'::uuid;

-- Query #19465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff926a21-9cea-4ba7-f091-d21325bc1105'::uuid, 'TvMaze', 1221296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19466 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff926a21-9cea-4ba7-f091-d21325bc1105'::uuid, 'Tvdb', 6161945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19467 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff926a21-9cea-4ba7-f091-d21325bc1105'::uuid;

-- Query #19468 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ff926a21-9cea-4ba7-f091-d21325bc1105'::uuid;

-- Query #19469 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19470 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ff926a21-9cea-4ba7-f091-d21325bc1105'::uuid]);

-- Query #19471 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ff926a21-9cea-4ba7-f091-d21325bc1105'::uuid;

-- Query #19472 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19473 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c703180a-fab9-28fd-2b0c-21595cd6e6f6'::uuid;

-- Query #19474 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c703180a-fab9-28fd-2b0c-21595cd6e6f6'::uuid]);

-- Query #19475 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c703180a-fab9-28fd-2b0c-21595cd6e6f6'::uuid;

-- Query #19476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c703180a-fab9-28fd-2b0c-21595cd6e6f6'::uuid, 'TvMaze', 1221294)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19477 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c703180a-fab9-28fd-2b0c-21595cd6e6f6'::uuid, 'Tvdb', 6161943)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19478 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c703180a-fab9-28fd-2b0c-21595cd6e6f6'::uuid;

-- Query #19479 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c703180a-fab9-28fd-2b0c-21595cd6e6f6'::uuid;

-- Query #19480 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19481 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c703180a-fab9-28fd-2b0c-21595cd6e6f6'::uuid]);

-- Query #19482 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c703180a-fab9-28fd-2b0c-21595cd6e6f6'::uuid;

-- Query #19483 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19484 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b4853a3-4aaf-69cb-cbf2-7f5f60f66ff5'::uuid;

-- Query #19485 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b4853a3-4aaf-69cb-cbf2-7f5f60f66ff5'::uuid]);

-- Query #19486 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4b4853a3-4aaf-69cb-cbf2-7f5f60f66ff5'::uuid;

-- Query #19487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b4853a3-4aaf-69cb-cbf2-7f5f60f66ff5'::uuid, 'TvMaze', 1177548)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b4853a3-4aaf-69cb-cbf2-7f5f60f66ff5'::uuid, 'Tvdb', 6106856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19489 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b4853a3-4aaf-69cb-cbf2-7f5f60f66ff5'::uuid;

-- Query #19490 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4b4853a3-4aaf-69cb-cbf2-7f5f60f66ff5'::uuid;

-- Query #19491 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19492 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4b4853a3-4aaf-69cb-cbf2-7f5f60f66ff5'::uuid]);

-- Query #19493 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4b4853a3-4aaf-69cb-cbf2-7f5f60f66ff5'::uuid;

-- Query #19494 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19495 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f93885b-76d4-abd9-c7d0-f0135997db7d'::uuid;

-- Query #19496 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f93885b-76d4-abd9-c7d0-f0135997db7d'::uuid]);

-- Query #19497 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7f93885b-76d4-abd9-c7d0-f0135997db7d'::uuid;

-- Query #19498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f93885b-76d4-abd9-c7d0-f0135997db7d'::uuid, 'TvMaze', 1104790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f93885b-76d4-abd9-c7d0-f0135997db7d'::uuid, 'Tvdb', 6055265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19500 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f93885b-76d4-abd9-c7d0-f0135997db7d'::uuid;

-- Query #19501 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7f93885b-76d4-abd9-c7d0-f0135997db7d'::uuid;

-- Query #19502 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19503 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7f93885b-76d4-abd9-c7d0-f0135997db7d'::uuid]);

-- Query #19504 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7f93885b-76d4-abd9-c7d0-f0135997db7d'::uuid;

-- Query #19505 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19506 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f815bf76-c046-02f0-2259-852aca56287d'::uuid;

-- Query #19507 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f815bf76-c046-02f0-2259-852aca56287d'::uuid]);

-- Query #19508 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f815bf76-c046-02f0-2259-852aca56287d'::uuid;

-- Query #19509 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f815bf76-c046-02f0-2259-852aca56287d'::uuid, 'TvMaze', 1104788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19510 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f815bf76-c046-02f0-2259-852aca56287d'::uuid, 'Tvdb', 6037805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19511 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f815bf76-c046-02f0-2259-852aca56287d'::uuid;

-- Query #19512 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f815bf76-c046-02f0-2259-852aca56287d'::uuid;

-- Query #19513 | logged_duration_ms=6 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19514 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f815bf76-c046-02f0-2259-852aca56287d'::uuid]);

-- Query #19515 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f815bf76-c046-02f0-2259-852aca56287d'::uuid;

-- Query #19516 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19517 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c78a5247-e746-c0b1-b42e-50bd0319c45f'::uuid;

-- Query #19518 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c78a5247-e746-c0b1-b42e-50bd0319c45f'::uuid]);

-- Query #19519 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c78a5247-e746-c0b1-b42e-50bd0319c45f'::uuid;

-- Query #19520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c78a5247-e746-c0b1-b42e-50bd0319c45f'::uuid, 'Imdb', 'tt6876624')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c78a5247-e746-c0b1-b42e-50bd0319c45f'::uuid, 'TvMaze', 1104789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c78a5247-e746-c0b1-b42e-50bd0319c45f'::uuid, 'Tvdb', 6037806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19523 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c78a5247-e746-c0b1-b42e-50bd0319c45f'::uuid;

-- Query #19524 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c78a5247-e746-c0b1-b42e-50bd0319c45f'::uuid;

-- Query #19525 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c78a5247-e746-c0b1-b42e-50bd0319c45f'::uuid]);

-- Query #19526 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c78a5247-e746-c0b1-b42e-50bd0319c45f'::uuid;

-- Query #19527 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19528 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '181ac544-a904-850c-a8ca-a9c441f6418d'::uuid;

-- Query #19529 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['181ac544-a904-850c-a8ca-a9c441f6418d'::uuid]);

-- Query #19530 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '181ac544-a904-850c-a8ca-a9c441f6418d'::uuid;

-- Query #19531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('181ac544-a904-850c-a8ca-a9c441f6418d'::uuid, 'TvMaze', 1411851)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('181ac544-a904-850c-a8ca-a9c441f6418d'::uuid, 'Tvdb', 6580146)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19533 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '181ac544-a904-850c-a8ca-a9c441f6418d'::uuid;

-- Query #19534 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '181ac544-a904-850c-a8ca-a9c441f6418d'::uuid;

-- Query #19535 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19536 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['181ac544-a904-850c-a8ca-a9c441f6418d'::uuid]);

-- Query #19537 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '181ac544-a904-850c-a8ca-a9c441f6418d'::uuid;

-- Query #19538 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19539 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '281abfc9-2489-573c-741f-03f6f65d9a7c'::uuid;

-- Query #19540 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['281abfc9-2489-573c-741f-03f6f65d9a7c'::uuid]);

-- Query #19541 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '281abfc9-2489-573c-741f-03f6f65d9a7c'::uuid;

-- Query #19542 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('281abfc9-2489-573c-741f-03f6f65d9a7c'::uuid, 'TvMaze', 1427141)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19543 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('281abfc9-2489-573c-741f-03f6f65d9a7c'::uuid, 'Tvdb', 6622765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19544 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '281abfc9-2489-573c-741f-03f6f65d9a7c'::uuid;

-- Query #19545 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '281abfc9-2489-573c-741f-03f6f65d9a7c'::uuid;

-- Query #19546 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19547 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['281abfc9-2489-573c-741f-03f6f65d9a7c'::uuid]);

-- Query #19548 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '281abfc9-2489-573c-741f-03f6f65d9a7c'::uuid;

-- Query #19549 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19550 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cfb44b54-3438-36ab-62b1-991a4f522e2b'::uuid;

-- Query #19551 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cfb44b54-3438-36ab-62b1-991a4f522e2b'::uuid]);

-- Query #19552 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cfb44b54-3438-36ab-62b1-991a4f522e2b'::uuid;

-- Query #19553 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfb44b54-3438-36ab-62b1-991a4f522e2b'::uuid, 'Tvdb', 6622766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19554 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cfb44b54-3438-36ab-62b1-991a4f522e2b'::uuid, 'TvMaze', 1427142)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19555 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cfb44b54-3438-36ab-62b1-991a4f522e2b'::uuid;

-- Query #19556 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cfb44b54-3438-36ab-62b1-991a4f522e2b'::uuid;

-- Query #19557 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19558 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cfb44b54-3438-36ab-62b1-991a4f522e2b'::uuid]);

-- Query #19559 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cfb44b54-3438-36ab-62b1-991a4f522e2b'::uuid;

-- Query #19560 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19561 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba8c0028-5919-dd10-b1dc-346fef64a230'::uuid;

-- Query #19562 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba8c0028-5919-dd10-b1dc-346fef64a230'::uuid]);

-- Query #19563 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ba8c0028-5919-dd10-b1dc-346fef64a230'::uuid;

-- Query #19564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba8c0028-5919-dd10-b1dc-346fef64a230'::uuid, 'TvMaze', 1427142)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba8c0028-5919-dd10-b1dc-346fef64a230'::uuid, 'Tvdb', 6622766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19566 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba8c0028-5919-dd10-b1dc-346fef64a230'::uuid;

-- Query #19567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ba8c0028-5919-dd10-b1dc-346fef64a230'::uuid;

-- Query #19568 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19569 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ba8c0028-5919-dd10-b1dc-346fef64a230'::uuid]);

-- Query #19570 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ba8c0028-5919-dd10-b1dc-346fef64a230'::uuid;

-- Query #19571 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19572 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2da824ae-f1ea-d1ca-b3b2-46dbd56563e8'::uuid;

-- Query #19573 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2da824ae-f1ea-d1ca-b3b2-46dbd56563e8'::uuid]);

-- Query #19574 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2da824ae-f1ea-d1ca-b3b2-46dbd56563e8'::uuid;

-- Query #19575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2da824ae-f1ea-d1ca-b3b2-46dbd56563e8'::uuid, 'TvMaze', 1414711)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2da824ae-f1ea-d1ca-b3b2-46dbd56563e8'::uuid, 'Tvdb', 6602875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19577 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2da824ae-f1ea-d1ca-b3b2-46dbd56563e8'::uuid;

-- Query #19578 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2da824ae-f1ea-d1ca-b3b2-46dbd56563e8'::uuid;

-- Query #19579 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19580 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2da824ae-f1ea-d1ca-b3b2-46dbd56563e8'::uuid]);

-- Query #19581 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2da824ae-f1ea-d1ca-b3b2-46dbd56563e8'::uuid;

-- Query #19582 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19583 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '244ac791-d571-a31e-49bb-8a79433dec82'::uuid;

-- Query #19584 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['244ac791-d571-a31e-49bb-8a79433dec82'::uuid]);

-- Query #19585 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '244ac791-d571-a31e-49bb-8a79433dec82'::uuid;

-- Query #19586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('244ac791-d571-a31e-49bb-8a79433dec82'::uuid, 'Imdb', 'tt7881770')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19587 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('244ac791-d571-a31e-49bb-8a79433dec82'::uuid, 'TvMaze', 1375180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('244ac791-d571-a31e-49bb-8a79433dec82'::uuid, 'Tvdb', 6481196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19589 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '244ac791-d571-a31e-49bb-8a79433dec82'::uuid;

-- Query #19590 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '244ac791-d571-a31e-49bb-8a79433dec82'::uuid;

-- Query #19591 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['244ac791-d571-a31e-49bb-8a79433dec82'::uuid]);

-- Query #19592 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '244ac791-d571-a31e-49bb-8a79433dec82'::uuid;

-- Query #19593 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19594 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f7f09ab0-0e83-2889-884f-f16b361faedb'::uuid;

-- Query #19595 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f7f09ab0-0e83-2889-884f-f16b361faedb'::uuid]);

-- Query #19596 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f7f09ab0-0e83-2889-884f-f16b361faedb'::uuid;

-- Query #19597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f09ab0-0e83-2889-884f-f16b361faedb'::uuid, 'Tvdb', 6481197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f09ab0-0e83-2889-884f-f16b361faedb'::uuid, 'Imdb', 'tt7881772')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f09ab0-0e83-2889-884f-f16b361faedb'::uuid, 'TvMaze', 1375181)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19600 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f7f09ab0-0e83-2889-884f-f16b361faedb'::uuid;

-- Query #19601 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f7f09ab0-0e83-2889-884f-f16b361faedb'::uuid;

-- Query #19602 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f7f09ab0-0e83-2889-884f-f16b361faedb'::uuid]);

-- Query #19603 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f7f09ab0-0e83-2889-884f-f16b361faedb'::uuid;

-- Query #19604 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19605 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d2cb670-2a3e-1cdc-fe4e-4a8e6f73825e'::uuid;

-- Query #19606 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d2cb670-2a3e-1cdc-fe4e-4a8e6f73825e'::uuid]);

-- Query #19607 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0d2cb670-2a3e-1cdc-fe4e-4a8e6f73825e'::uuid;

-- Query #19608 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d2cb670-2a3e-1cdc-fe4e-4a8e6f73825e'::uuid, 'TvMaze', 1407157)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19609 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d2cb670-2a3e-1cdc-fe4e-4a8e6f73825e'::uuid, 'Tvdb', 6542371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19610 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d2cb670-2a3e-1cdc-fe4e-4a8e6f73825e'::uuid;

-- Query #19611 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0d2cb670-2a3e-1cdc-fe4e-4a8e6f73825e'::uuid;

-- Query #19612 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19613 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0d2cb670-2a3e-1cdc-fe4e-4a8e6f73825e'::uuid]);

-- Query #19614 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0d2cb670-2a3e-1cdc-fe4e-4a8e6f73825e'::uuid;

-- Query #19615 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19616 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '834e359b-fb58-ff14-a9f8-7ef6284811aa'::uuid;

-- Query #19617 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['834e359b-fb58-ff14-a9f8-7ef6284811aa'::uuid]);

-- Query #19618 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '834e359b-fb58-ff14-a9f8-7ef6284811aa'::uuid;

-- Query #19619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('834e359b-fb58-ff14-a9f8-7ef6284811aa'::uuid, 'TvMaze', 1407158)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19620 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('834e359b-fb58-ff14-a9f8-7ef6284811aa'::uuid, 'Tvdb', 6542372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19621 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '834e359b-fb58-ff14-a9f8-7ef6284811aa'::uuid;

-- Query #19622 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '834e359b-fb58-ff14-a9f8-7ef6284811aa'::uuid;

-- Query #19623 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19624 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['834e359b-fb58-ff14-a9f8-7ef6284811aa'::uuid]);

-- Query #19625 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '834e359b-fb58-ff14-a9f8-7ef6284811aa'::uuid;

-- Query #19626 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19627 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c15dd6aa-b771-2641-1e0b-7150afbfb8b5'::uuid;

-- Query #19628 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c15dd6aa-b771-2641-1e0b-7150afbfb8b5'::uuid]);

-- Query #19629 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c15dd6aa-b771-2641-1e0b-7150afbfb8b5'::uuid;

-- Query #19630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c15dd6aa-b771-2641-1e0b-7150afbfb8b5'::uuid, 'Imdb', 'tt9578756')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19631 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c15dd6aa-b771-2641-1e0b-7150afbfb8b5'::uuid, 'TvMaze', 1399122)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19632 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c15dd6aa-b771-2641-1e0b-7150afbfb8b5'::uuid, 'Tvdb', 6526172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19633 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c15dd6aa-b771-2641-1e0b-7150afbfb8b5'::uuid;

-- Query #19634 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c15dd6aa-b771-2641-1e0b-7150afbfb8b5'::uuid;

-- Query #19635 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c15dd6aa-b771-2641-1e0b-7150afbfb8b5'::uuid]);

-- Query #19636 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c15dd6aa-b771-2641-1e0b-7150afbfb8b5'::uuid;

-- Query #19637 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19638 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8522b08-da96-ca40-f613-90f04b2f1488'::uuid;

-- Query #19639 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8522b08-da96-ca40-f613-90f04b2f1488'::uuid]);

-- Query #19640 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b8522b08-da96-ca40-f613-90f04b2f1488'::uuid;

-- Query #19641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8522b08-da96-ca40-f613-90f04b2f1488'::uuid, 'TvMaze', 1375179)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8522b08-da96-ca40-f613-90f04b2f1488'::uuid, 'Tvdb', 6481195)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19643 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8522b08-da96-ca40-f613-90f04b2f1488'::uuid;

-- Query #19644 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b8522b08-da96-ca40-f613-90f04b2f1488'::uuid;

-- Query #19645 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19646 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b8522b08-da96-ca40-f613-90f04b2f1488'::uuid]);

-- Query #19647 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b8522b08-da96-ca40-f613-90f04b2f1488'::uuid;

-- Query #19648 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19649 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd270c1fb-ac37-e233-b077-a765e30cc08d'::uuid;

-- Query #19650 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d270c1fb-ac37-e233-b077-a765e30cc08d'::uuid]);

-- Query #19651 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd270c1fb-ac37-e233-b077-a765e30cc08d'::uuid;

-- Query #19652 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d270c1fb-ac37-e233-b077-a765e30cc08d'::uuid, 'TvMaze', 1411850)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d270c1fb-ac37-e233-b077-a765e30cc08d'::uuid, 'Tvdb', 6580145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19654 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd270c1fb-ac37-e233-b077-a765e30cc08d'::uuid;

-- Query #19655 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd270c1fb-ac37-e233-b077-a765e30cc08d'::uuid;

-- Query #19656 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19657 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d270c1fb-ac37-e233-b077-a765e30cc08d'::uuid]);

-- Query #19658 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd270c1fb-ac37-e233-b077-a765e30cc08d'::uuid;

-- Query #19659 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '951d1e05-e617-de0b-436c-433616c4988c'::uuid;

-- Query #19661 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['951d1e05-e617-de0b-436c-433616c4988c'::uuid]);

-- Query #19662 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '951d1e05-e617-de0b-436c-433616c4988c'::uuid;

-- Query #19663 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('951d1e05-e617-de0b-436c-433616c4988c'::uuid, 'TvMaze', 1414709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19664 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('951d1e05-e617-de0b-436c-433616c4988c'::uuid, 'Tvdb', 6602874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19665 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '951d1e05-e617-de0b-436c-433616c4988c'::uuid;

-- Query #19666 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '951d1e05-e617-de0b-436c-433616c4988c'::uuid;

-- Query #19667 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19668 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['951d1e05-e617-de0b-436c-433616c4988c'::uuid]);

-- Query #19669 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '951d1e05-e617-de0b-436c-433616c4988c'::uuid;

-- Query #19670 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19671 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e3693a5d-d080-86c9-c836-71cb2a87e263'::uuid;

-- Query #19672 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e3693a5d-d080-86c9-c836-71cb2a87e263'::uuid]);

-- Query #19673 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e3693a5d-d080-86c9-c836-71cb2a87e263'::uuid;

-- Query #19674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3693a5d-d080-86c9-c836-71cb2a87e263'::uuid, 'Imdb', 'tt8277058')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3693a5d-d080-86c9-c836-71cb2a87e263'::uuid, 'TvMaze', 1436269)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e3693a5d-d080-86c9-c836-71cb2a87e263'::uuid, 'Tvdb', 6622763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19677 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e3693a5d-d080-86c9-c836-71cb2a87e263'::uuid;

-- Query #19678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e3693a5d-d080-86c9-c836-71cb2a87e263'::uuid;

-- Query #19679 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e3693a5d-d080-86c9-c836-71cb2a87e263'::uuid]);

-- Query #19680 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e3693a5d-d080-86c9-c836-71cb2a87e263'::uuid;

-- Query #19681 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19682 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0086ebfa-7a4f-6a68-369a-b6e366b27c17'::uuid;

-- Query #19683 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0086ebfa-7a4f-6a68-369a-b6e366b27c17'::uuid]);

-- Query #19684 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0086ebfa-7a4f-6a68-369a-b6e366b27c17'::uuid;

-- Query #19685 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0086ebfa-7a4f-6a68-369a-b6e366b27c17'::uuid, 'Imdb', 'tt8277068')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0086ebfa-7a4f-6a68-369a-b6e366b27c17'::uuid, 'TvMaze', 1427140)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0086ebfa-7a4f-6a68-369a-b6e366b27c17'::uuid, 'Tvdb', 6622764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19688 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0086ebfa-7a4f-6a68-369a-b6e366b27c17'::uuid;

-- Query #19689 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0086ebfa-7a4f-6a68-369a-b6e366b27c17'::uuid;

-- Query #19690 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0086ebfa-7a4f-6a68-369a-b6e366b27c17'::uuid]);

-- Query #19691 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0086ebfa-7a4f-6a68-369a-b6e366b27c17'::uuid;

-- Query #19692 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19693 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #19694 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cae93706-7231-0670-3903-da230853b035'::uuid;

-- Query #19695 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cae93706-7231-0670-3903-da230853b035'::uuid]);

-- Query #19696 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cae93706-7231-0670-3903-da230853b035'::uuid;

-- Query #19697 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cae93706-7231-0670-3903-da230853b035'::uuid, 'TvMaze', 1359560)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19698 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cae93706-7231-0670-3903-da230853b035'::uuid, 'Tvdb', 6419915)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19699 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cae93706-7231-0670-3903-da230853b035'::uuid;

-- Query #19700 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cae93706-7231-0670-3903-da230853b035'::uuid;

-- Query #19701 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19702 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cae93706-7231-0670-3903-da230853b035'::uuid]);

-- Query #19703 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cae93706-7231-0670-3903-da230853b035'::uuid;

-- Query #19704 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19705 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96f3c3ce-61de-fce2-80e1-b95b23f33c5e'::uuid;

-- Query #19706 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['96f3c3ce-61de-fce2-80e1-b95b23f33c5e'::uuid]);

-- Query #19707 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '96f3c3ce-61de-fce2-80e1-b95b23f33c5e'::uuid;

-- Query #19708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96f3c3ce-61de-fce2-80e1-b95b23f33c5e'::uuid, 'Imdb', 'tt7881668')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96f3c3ce-61de-fce2-80e1-b95b23f33c5e'::uuid, 'TvMaze', 1375178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96f3c3ce-61de-fce2-80e1-b95b23f33c5e'::uuid, 'Tvdb', 6473369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19711 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96f3c3ce-61de-fce2-80e1-b95b23f33c5e'::uuid;

-- Query #19712 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '96f3c3ce-61de-fce2-80e1-b95b23f33c5e'::uuid;

-- Query #19713 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['96f3c3ce-61de-fce2-80e1-b95b23f33c5e'::uuid]);

-- Query #19714 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '96f3c3ce-61de-fce2-80e1-b95b23f33c5e'::uuid;

-- Query #19715 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19716 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'be226b27-8715-6004-7275-738dcd86c188'::uuid;

-- Query #19717 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be226b27-8715-6004-7275-738dcd86c188'::uuid]);

-- Query #19718 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'be226b27-8715-6004-7275-738dcd86c188'::uuid;

-- Query #19719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be226b27-8715-6004-7275-738dcd86c188'::uuid, 'Tvdb', 6840286)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be226b27-8715-6004-7275-738dcd86c188'::uuid, 'Imdb', 'tt10970204')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be226b27-8715-6004-7275-738dcd86c188'::uuid, 'TvMaze', 1532603)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19722 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'be226b27-8715-6004-7275-738dcd86c188'::uuid;

-- Query #19723 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'be226b27-8715-6004-7275-738dcd86c188'::uuid;

-- Query #19724 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['be226b27-8715-6004-7275-738dcd86c188'::uuid]);

-- Query #19725 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'be226b27-8715-6004-7275-738dcd86c188'::uuid;

-- Query #19726 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19727 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0c939f88-a13b-1c34-0d02-886272a64b3e'::uuid;

-- Query #19728 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0c939f88-a13b-1c34-0d02-886272a64b3e'::uuid]);

-- Query #19729 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0c939f88-a13b-1c34-0d02-886272a64b3e'::uuid;

-- Query #19730 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c939f88-a13b-1c34-0d02-886272a64b3e'::uuid, 'TvMaze', 1521736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19731 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c939f88-a13b-1c34-0d02-886272a64b3e'::uuid, 'Tvdb', 6816874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19732 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0c939f88-a13b-1c34-0d02-886272a64b3e'::uuid;

-- Query #19733 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0c939f88-a13b-1c34-0d02-886272a64b3e'::uuid;

-- Query #19734 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0c939f88-a13b-1c34-0d02-886272a64b3e'::uuid]);

-- Query #19735 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0c939f88-a13b-1c34-0d02-886272a64b3e'::uuid;

-- Query #19736 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19737 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e29bce5c-802c-faf1-7bc8-9606dc889d60'::uuid;

-- Query #19738 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e29bce5c-802c-faf1-7bc8-9606dc889d60'::uuid]);

-- Query #19739 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e29bce5c-802c-faf1-7bc8-9606dc889d60'::uuid;

-- Query #19740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e29bce5c-802c-faf1-7bc8-9606dc889d60'::uuid, 'TvMaze', 1513883)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e29bce5c-802c-faf1-7bc8-9606dc889d60'::uuid, 'Tvdb', 6792256)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19742 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e29bce5c-802c-faf1-7bc8-9606dc889d60'::uuid;

-- Query #19743 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e29bce5c-802c-faf1-7bc8-9606dc889d60'::uuid;

-- Query #19744 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19745 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e29bce5c-802c-faf1-7bc8-9606dc889d60'::uuid]);

-- Query #19746 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e29bce5c-802c-faf1-7bc8-9606dc889d60'::uuid;

-- Query #19747 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19748 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab2c2c31-4bdd-e59b-6067-a42043d692e5'::uuid;

-- Query #19749 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab2c2c31-4bdd-e59b-6067-a42043d692e5'::uuid]);

-- Query #19750 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ab2c2c31-4bdd-e59b-6067-a42043d692e5'::uuid;

-- Query #19751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab2c2c31-4bdd-e59b-6067-a42043d692e5'::uuid, 'TvMaze', 1532602)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab2c2c31-4bdd-e59b-6067-a42043d692e5'::uuid, 'Tvdb', 6840284)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19753 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab2c2c31-4bdd-e59b-6067-a42043d692e5'::uuid;

-- Query #19754 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ab2c2c31-4bdd-e59b-6067-a42043d692e5'::uuid;

-- Query #19755 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ab2c2c31-4bdd-e59b-6067-a42043d692e5'::uuid]);

-- Query #19756 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ab2c2c31-4bdd-e59b-6067-a42043d692e5'::uuid;

-- Query #19757 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19758 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4f094344-5719-042e-962f-237848361aad'::uuid;

-- Query #19759 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f094344-5719-042e-962f-237848361aad'::uuid]);

-- Query #19760 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4f094344-5719-042e-962f-237848361aad'::uuid;

-- Query #19761 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f094344-5719-042e-962f-237848361aad'::uuid, 'Imdb', 'tt10970068')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19762 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f094344-5719-042e-962f-237848361aad'::uuid, 'TvMaze', 1513886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19763 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f094344-5719-042e-962f-237848361aad'::uuid, 'Tvdb', 6792257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19764 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4f094344-5719-042e-962f-237848361aad'::uuid;

-- Query #19765 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4f094344-5719-042e-962f-237848361aad'::uuid;

-- Query #19766 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19767 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4f094344-5719-042e-962f-237848361aad'::uuid]);

-- Query #19768 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4f094344-5719-042e-962f-237848361aad'::uuid;

-- Query #19769 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19770 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b46c7795-bc36-6743-5996-3b5f12bdb91f'::uuid;

-- Query #19771 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b46c7795-bc36-6743-5996-3b5f12bdb91f'::uuid]);

-- Query #19772 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b46c7795-bc36-6743-5996-3b5f12bdb91f'::uuid;

-- Query #19773 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b46c7795-bc36-6743-5996-3b5f12bdb91f'::uuid, 'Imdb', 'tt10970116')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19774 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b46c7795-bc36-6743-5996-3b5f12bdb91f'::uuid, 'TvMaze', 1516260)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b46c7795-bc36-6743-5996-3b5f12bdb91f'::uuid, 'Tvdb', 6809426)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19776 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b46c7795-bc36-6743-5996-3b5f12bdb91f'::uuid;

-- Query #19777 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b46c7795-bc36-6743-5996-3b5f12bdb91f'::uuid;

-- Query #19778 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b46c7795-bc36-6743-5996-3b5f12bdb91f'::uuid]);

-- Query #19779 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b46c7795-bc36-6743-5996-3b5f12bdb91f'::uuid;

-- Query #19780 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19781 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14f00798-88b9-d813-343b-81f12680f588'::uuid;

-- Query #19782 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14f00798-88b9-d813-343b-81f12680f588'::uuid]);

-- Query #19783 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '14f00798-88b9-d813-343b-81f12680f588'::uuid;

-- Query #19784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14f00798-88b9-d813-343b-81f12680f588'::uuid, 'TvMaze', 1494247)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14f00798-88b9-d813-343b-81f12680f588'::uuid, 'Tvdb', 6756180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19786 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14f00798-88b9-d813-343b-81f12680f588'::uuid;

-- Query #19787 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '14f00798-88b9-d813-343b-81f12680f588'::uuid;

-- Query #19788 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19789 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['14f00798-88b9-d813-343b-81f12680f588'::uuid]);

-- Query #19790 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '14f00798-88b9-d813-343b-81f12680f588'::uuid;

-- Query #19791 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19792 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ee5f5a3c-733f-2d7f-8f9d-84b7241d4ee5'::uuid;

-- Query #19793 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ee5f5a3c-733f-2d7f-8f9d-84b7241d4ee5'::uuid]);

-- Query #19794 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ee5f5a3c-733f-2d7f-8f9d-84b7241d4ee5'::uuid;

-- Query #19795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee5f5a3c-733f-2d7f-8f9d-84b7241d4ee5'::uuid, 'TvMaze', 1494247)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee5f5a3c-733f-2d7f-8f9d-84b7241d4ee5'::uuid, 'Tvdb', 6756180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19797 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ee5f5a3c-733f-2d7f-8f9d-84b7241d4ee5'::uuid;

-- Query #19798 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ee5f5a3c-733f-2d7f-8f9d-84b7241d4ee5'::uuid;

-- Query #19799 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19800 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ee5f5a3c-733f-2d7f-8f9d-84b7241d4ee5'::uuid]);

-- Query #19801 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ee5f5a3c-733f-2d7f-8f9d-84b7241d4ee5'::uuid;

-- Query #19802 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19803 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ee54fe2-e448-1c90-c3ed-b054868d7dc7'::uuid;

-- Query #19804 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ee54fe2-e448-1c90-c3ed-b054868d7dc7'::uuid]);

-- Query #19805 | logged_duration_ms=6 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8ee54fe2-e448-1c90-c3ed-b054868d7dc7'::uuid;

-- Query #19806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ee54fe2-e448-1c90-c3ed-b054868d7dc7'::uuid, 'TvMaze', 1507468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ee54fe2-e448-1c90-c3ed-b054868d7dc7'::uuid, 'Tvdb', 6771492)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ee54fe2-e448-1c90-c3ed-b054868d7dc7'::uuid;

-- Query #19809 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8ee54fe2-e448-1c90-c3ed-b054868d7dc7'::uuid;

-- Query #19810 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19811 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8ee54fe2-e448-1c90-c3ed-b054868d7dc7'::uuid]);

-- Query #19812 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8ee54fe2-e448-1c90-c3ed-b054868d7dc7'::uuid;

-- Query #19813 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19814 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44175d59-9d93-1ae6-a5f3-7741987ea2e2'::uuid;

-- Query #19815 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44175d59-9d93-1ae6-a5f3-7741987ea2e2'::uuid]);

-- Query #19816 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '44175d59-9d93-1ae6-a5f3-7741987ea2e2'::uuid;

-- Query #19817 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44175d59-9d93-1ae6-a5f3-7741987ea2e2'::uuid, 'Imdb', 'tt10970200')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19818 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44175d59-9d93-1ae6-a5f3-7741987ea2e2'::uuid, 'TvMaze', 1544391)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44175d59-9d93-1ae6-a5f3-7741987ea2e2'::uuid, 'Tvdb', 6840285)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19820 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44175d59-9d93-1ae6-a5f3-7741987ea2e2'::uuid;

-- Query #19821 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '44175d59-9d93-1ae6-a5f3-7741987ea2e2'::uuid;

-- Query #19822 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['44175d59-9d93-1ae6-a5f3-7741987ea2e2'::uuid]);

-- Query #19823 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '44175d59-9d93-1ae6-a5f3-7741987ea2e2'::uuid;

-- Query #19824 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19825 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c3a3e5dc-cda1-ac3e-a659-9cddeaa92d82'::uuid;

-- Query #19826 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3a3e5dc-cda1-ac3e-a659-9cddeaa92d82'::uuid]);

-- Query #19827 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c3a3e5dc-cda1-ac3e-a659-9cddeaa92d82'::uuid;

-- Query #19828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3a3e5dc-cda1-ac3e-a659-9cddeaa92d82'::uuid, 'Tvdb', 6756186)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19829 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3a3e5dc-cda1-ac3e-a659-9cddeaa92d82'::uuid, 'Imdb', 'tt8962786')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3a3e5dc-cda1-ac3e-a659-9cddeaa92d82'::uuid, 'TvMaze', 1494252)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19831 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c3a3e5dc-cda1-ac3e-a659-9cddeaa92d82'::uuid;

-- Query #19832 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c3a3e5dc-cda1-ac3e-a659-9cddeaa92d82'::uuid;

-- Query #19833 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c3a3e5dc-cda1-ac3e-a659-9cddeaa92d82'::uuid]);

-- Query #19834 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c3a3e5dc-cda1-ac3e-a659-9cddeaa92d82'::uuid;

-- Query #19835 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1370ee2-67c6-49b1-8fd5-8d36db429c1e'::uuid;

-- Query #19837 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1370ee2-67c6-49b1-8fd5-8d36db429c1e'::uuid]);

-- Query #19838 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c1370ee2-67c6-49b1-8fd5-8d36db429c1e'::uuid;

-- Query #19839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1370ee2-67c6-49b1-8fd5-8d36db429c1e'::uuid, 'TvMaze', 1521735)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1370ee2-67c6-49b1-8fd5-8d36db429c1e'::uuid, 'Tvdb', 6816873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19841 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1370ee2-67c6-49b1-8fd5-8d36db429c1e'::uuid;

-- Query #19842 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c1370ee2-67c6-49b1-8fd5-8d36db429c1e'::uuid;

-- Query #19843 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19844 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c1370ee2-67c6-49b1-8fd5-8d36db429c1e'::uuid]);

-- Query #19845 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c1370ee2-67c6-49b1-8fd5-8d36db429c1e'::uuid;

-- Query #19846 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19847 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '100ef3a8-915f-52dc-5c7e-b82fcccafcd0'::uuid;

-- Query #19848 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['100ef3a8-915f-52dc-5c7e-b82fcccafcd0'::uuid]);

-- Query #19849 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '100ef3a8-915f-52dc-5c7e-b82fcccafcd0'::uuid;

-- Query #19850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('100ef3a8-915f-52dc-5c7e-b82fcccafcd0'::uuid, 'Tvdb', 6771491)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('100ef3a8-915f-52dc-5c7e-b82fcccafcd0'::uuid, 'TvMaze', 1502466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19852 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '100ef3a8-915f-52dc-5c7e-b82fcccafcd0'::uuid;

-- Query #19853 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '100ef3a8-915f-52dc-5c7e-b82fcccafcd0'::uuid;

-- Query #19854 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19855 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['100ef3a8-915f-52dc-5c7e-b82fcccafcd0'::uuid]);

-- Query #19856 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '100ef3a8-915f-52dc-5c7e-b82fcccafcd0'::uuid;

-- Query #19857 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19858 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fea6241a-d948-a3e5-8725-866b364b4373'::uuid;

-- Query #19859 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fea6241a-d948-a3e5-8725-866b364b4373'::uuid]);

-- Query #19860 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fea6241a-d948-a3e5-8725-866b364b4373'::uuid;

-- Query #19861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fea6241a-d948-a3e5-8725-866b364b4373'::uuid, 'Imdb', 'tt8962790')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19862 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fea6241a-d948-a3e5-8725-866b364b4373'::uuid, 'TvMaze', 1502465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fea6241a-d948-a3e5-8725-866b364b4373'::uuid, 'Tvdb', 6771490)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19864 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fea6241a-d948-a3e5-8725-866b364b4373'::uuid;

-- Query #19865 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fea6241a-d948-a3e5-8725-866b364b4373'::uuid;

-- Query #19866 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fea6241a-d948-a3e5-8725-866b364b4373'::uuid]);

-- Query #19867 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fea6241a-d948-a3e5-8725-866b364b4373'::uuid;

-- Query #19868 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19869 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '10c34190-7bea-b4a1-f34c-56221cdd9da0'::uuid;

-- Query #19870 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10c34190-7bea-b4a1-f34c-56221cdd9da0'::uuid]);

-- Query #19871 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '10c34190-7bea-b4a1-f34c-56221cdd9da0'::uuid;

-- Query #19872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10c34190-7bea-b4a1-f34c-56221cdd9da0'::uuid, 'Tvdb', 6753332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10c34190-7bea-b4a1-f34c-56221cdd9da0'::uuid, 'Imdb', 'tt8962782')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19874 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10c34190-7bea-b4a1-f34c-56221cdd9da0'::uuid, 'TvMaze', 1494250)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19875 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '10c34190-7bea-b4a1-f34c-56221cdd9da0'::uuid;

-- Query #19876 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '10c34190-7bea-b4a1-f34c-56221cdd9da0'::uuid;

-- Query #19877 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['10c34190-7bea-b4a1-f34c-56221cdd9da0'::uuid]);

-- Query #19878 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '10c34190-7bea-b4a1-f34c-56221cdd9da0'::uuid;

-- Query #19879 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20354507-2c78-fa79-b502-baa1e16ca102'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19880 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b4c196f-444d-3744-d871-6c9aef1eaadd'::uuid;

-- Query #19881 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b4c196f-444d-3744-d871-6c9aef1eaadd'::uuid]);

-- Query #19882 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4b4c196f-444d-3744-d871-6c9aef1eaadd'::uuid;

-- Query #19883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b4c196f-444d-3744-d871-6c9aef1eaadd'::uuid, 'Tvdb', 6902452)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b4c196f-444d-3744-d871-6c9aef1eaadd'::uuid, 'Imdb', 'tt9697522')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b4c196f-444d-3744-d871-6c9aef1eaadd'::uuid, 'TvMaze', 1596189)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19886 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b4c196f-444d-3744-d871-6c9aef1eaadd'::uuid;

-- Query #19887 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4b4c196f-444d-3744-d871-6c9aef1eaadd'::uuid;

-- Query #19888 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4b4c196f-444d-3744-d871-6c9aef1eaadd'::uuid]);

-- Query #19889 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4b4c196f-444d-3744-d871-6c9aef1eaadd'::uuid;

-- Query #19890 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19891 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '57ca11df-395c-e537-0a66-73d8b4a49e78'::uuid;

-- Query #19892 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['57ca11df-395c-e537-0a66-73d8b4a49e78'::uuid]);

-- Query #19893 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '57ca11df-395c-e537-0a66-73d8b4a49e78'::uuid;

-- Query #19894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('57ca11df-395c-e537-0a66-73d8b4a49e78'::uuid, 'TvMaze', 1608758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19895 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('57ca11df-395c-e537-0a66-73d8b4a49e78'::uuid, 'Tvdb', 7041010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19896 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '57ca11df-395c-e537-0a66-73d8b4a49e78'::uuid;

-- Query #19897 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '57ca11df-395c-e537-0a66-73d8b4a49e78'::uuid;

-- Query #19898 | logged_duration_ms=6 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19899 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['57ca11df-395c-e537-0a66-73d8b4a49e78'::uuid]);

-- Query #19900 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '57ca11df-395c-e537-0a66-73d8b4a49e78'::uuid;

-- Query #19901 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19902 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fd9c06d4-077d-0020-852d-0e008ec9e28c'::uuid;

-- Query #19903 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fd9c06d4-077d-0020-852d-0e008ec9e28c'::uuid]);

-- Query #19904 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fd9c06d4-077d-0020-852d-0e008ec9e28c'::uuid;

-- Query #19905 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd9c06d4-077d-0020-852d-0e008ec9e28c'::uuid, 'Imdb', 'tt10970264')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd9c06d4-077d-0020-852d-0e008ec9e28c'::uuid, 'TvMaze', 1620322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd9c06d4-077d-0020-852d-0e008ec9e28c'::uuid, 'Tvdb', 7084992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19908 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fd9c06d4-077d-0020-852d-0e008ec9e28c'::uuid;

-- Query #19909 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fd9c06d4-077d-0020-852d-0e008ec9e28c'::uuid;

-- Query #19910 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fd9c06d4-077d-0020-852d-0e008ec9e28c'::uuid]);

-- Query #19911 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fd9c06d4-077d-0020-852d-0e008ec9e28c'::uuid;

-- Query #19912 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19913 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '30861a81-d121-6712-a909-a2db9b84f291'::uuid;

-- Query #19914 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30861a81-d121-6712-a909-a2db9b84f291'::uuid]);

-- Query #19915 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '30861a81-d121-6712-a909-a2db9b84f291'::uuid;

-- Query #19916 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30861a81-d121-6712-a909-a2db9b84f291'::uuid, 'Imdb', 'tt10970314')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19917 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30861a81-d121-6712-a909-a2db9b84f291'::uuid, 'TvMaze', 1623439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30861a81-d121-6712-a909-a2db9b84f291'::uuid, 'Tvdb', 7106115)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19919 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '30861a81-d121-6712-a909-a2db9b84f291'::uuid;

-- Query #19920 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '30861a81-d121-6712-a909-a2db9b84f291'::uuid;

-- Query #19921 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['30861a81-d121-6712-a909-a2db9b84f291'::uuid]);

-- Query #19922 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '30861a81-d121-6712-a909-a2db9b84f291'::uuid;

-- Query #19923 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19924 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '025cf909-3039-c64d-cae7-86e248da2c39'::uuid;

-- Query #19925 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['025cf909-3039-c64d-cae7-86e248da2c39'::uuid]);

-- Query #19926 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '025cf909-3039-c64d-cae7-86e248da2c39'::uuid;

-- Query #19927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('025cf909-3039-c64d-cae7-86e248da2c39'::uuid, 'Tvdb', 7106117)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19928 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('025cf909-3039-c64d-cae7-86e248da2c39'::uuid, 'Imdb', 'tt10970316')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19929 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('025cf909-3039-c64d-cae7-86e248da2c39'::uuid, 'TvMaze', 1623440)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19930 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '025cf909-3039-c64d-cae7-86e248da2c39'::uuid;

-- Query #19931 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '025cf909-3039-c64d-cae7-86e248da2c39'::uuid;

-- Query #19932 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['025cf909-3039-c64d-cae7-86e248da2c39'::uuid]);

-- Query #19933 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '025cf909-3039-c64d-cae7-86e248da2c39'::uuid;

-- Query #19934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19935 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '85160536-ec6e-afa4-be8d-3156c7dbb8fd'::uuid;

-- Query #19936 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85160536-ec6e-afa4-be8d-3156c7dbb8fd'::uuid]);

-- Query #19937 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '85160536-ec6e-afa4-be8d-3156c7dbb8fd'::uuid;

-- Query #19938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85160536-ec6e-afa4-be8d-3156c7dbb8fd'::uuid, 'Tvdb', 6972797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85160536-ec6e-afa4-be8d-3156c7dbb8fd'::uuid, 'Imdb', 'tt9292328')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85160536-ec6e-afa4-be8d-3156c7dbb8fd'::uuid, 'TvMaze', 1720642)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19941 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '85160536-ec6e-afa4-be8d-3156c7dbb8fd'::uuid;

-- Query #19942 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '85160536-ec6e-afa4-be8d-3156c7dbb8fd'::uuid;

-- Query #19943 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['85160536-ec6e-afa4-be8d-3156c7dbb8fd'::uuid]);

-- Query #19944 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '85160536-ec6e-afa4-be8d-3156c7dbb8fd'::uuid;

-- Query #19945 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19946 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '19c8672d-61e0-9e7c-5cf3-4bfc386db9a8'::uuid;

-- Query #19947 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['19c8672d-61e0-9e7c-5cf3-4bfc386db9a8'::uuid]);

-- Query #19948 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '19c8672d-61e0-9e7c-5cf3-4bfc386db9a8'::uuid;

-- Query #19949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19c8672d-61e0-9e7c-5cf3-4bfc386db9a8'::uuid, 'Imdb', 'tt9614666')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19c8672d-61e0-9e7c-5cf3-4bfc386db9a8'::uuid, 'TvMaze', 1587537)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19c8672d-61e0-9e7c-5cf3-4bfc386db9a8'::uuid, 'Tvdb', 6993863)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19952 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '19c8672d-61e0-9e7c-5cf3-4bfc386db9a8'::uuid;

-- Query #19953 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '19c8672d-61e0-9e7c-5cf3-4bfc386db9a8'::uuid;

-- Query #19954 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['19c8672d-61e0-9e7c-5cf3-4bfc386db9a8'::uuid]);

-- Query #19955 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '19c8672d-61e0-9e7c-5cf3-4bfc386db9a8'::uuid;

-- Query #19956 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19957 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #19958 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '12ca614b-05cf-347c-7cef-cfc8a14145a5'::uuid;

-- Query #19959 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['12ca614b-05cf-347c-7cef-cfc8a14145a5'::uuid]);

-- Query #19960 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '12ca614b-05cf-347c-7cef-cfc8a14145a5'::uuid;

-- Query #19961 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12ca614b-05cf-347c-7cef-cfc8a14145a5'::uuid, 'Tvdb', 7004786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12ca614b-05cf-347c-7cef-cfc8a14145a5'::uuid, 'Imdb', 'tt9614668')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12ca614b-05cf-347c-7cef-cfc8a14145a5'::uuid, 'TvMaze', 1596188)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19964 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '12ca614b-05cf-347c-7cef-cfc8a14145a5'::uuid;

-- Query #19965 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '12ca614b-05cf-347c-7cef-cfc8a14145a5'::uuid;

-- Query #19966 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['12ca614b-05cf-347c-7cef-cfc8a14145a5'::uuid]);

-- Query #19967 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '12ca614b-05cf-347c-7cef-cfc8a14145a5'::uuid;

-- Query #19968 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19969 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f69520b3-e525-6ae6-3241-80ac33880807'::uuid;

-- Query #19970 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f69520b3-e525-6ae6-3241-80ac33880807'::uuid]);

-- Query #19971 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f69520b3-e525-6ae6-3241-80ac33880807'::uuid;

-- Query #19972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69520b3-e525-6ae6-3241-80ac33880807'::uuid, 'Tvdb', 6972798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19973 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69520b3-e525-6ae6-3241-80ac33880807'::uuid, 'Imdb', 'tt9559884')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19974 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69520b3-e525-6ae6-3241-80ac33880807'::uuid, 'TvMaze', 1577976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19975 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f69520b3-e525-6ae6-3241-80ac33880807'::uuid;

-- Query #19976 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f69520b3-e525-6ae6-3241-80ac33880807'::uuid;

-- Query #19977 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #19978 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f69520b3-e525-6ae6-3241-80ac33880807'::uuid]);

-- Query #19979 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f69520b3-e525-6ae6-3241-80ac33880807'::uuid;

-- Query #19980 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19981 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e01492a-6055-c9c3-de68-f6c620ed3ff2'::uuid;

-- Query #19982 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e01492a-6055-c9c3-de68-f6c620ed3ff2'::uuid]);

-- Query #19983 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8e01492a-6055-c9c3-de68-f6c620ed3ff2'::uuid;

-- Query #19984 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e01492a-6055-c9c3-de68-f6c620ed3ff2'::uuid, 'Imdb', 'tt10970258')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19985 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e01492a-6055-c9c3-de68-f6c620ed3ff2'::uuid, 'TvMaze', 1608759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19986 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e01492a-6055-c9c3-de68-f6c620ed3ff2'::uuid, 'Tvdb', 7041011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e01492a-6055-c9c3-de68-f6c620ed3ff2'::uuid;

-- Query #19988 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8e01492a-6055-c9c3-de68-f6c620ed3ff2'::uuid;

-- Query #19989 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8e01492a-6055-c9c3-de68-f6c620ed3ff2'::uuid]);

-- Query #19990 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8e01492a-6055-c9c3-de68-f6c620ed3ff2'::uuid;

-- Query #19991 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #19992 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '366a8b65-2ca5-6e97-f898-ea349406b66c'::uuid;

-- Query #19993 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['366a8b65-2ca5-6e97-f898-ea349406b66c'::uuid]);

-- Query #19994 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '366a8b65-2ca5-6e97-f898-ea349406b66c'::uuid;

-- Query #19995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('366a8b65-2ca5-6e97-f898-ea349406b66c'::uuid, 'TvMaze', 1606263)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('366a8b65-2ca5-6e97-f898-ea349406b66c'::uuid, 'Tvdb', 7041009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #19997 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '366a8b65-2ca5-6e97-f898-ea349406b66c'::uuid;

-- Query #19998 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '366a8b65-2ca5-6e97-f898-ea349406b66c'::uuid;

-- Query #19999 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20000 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['366a8b65-2ca5-6e97-f898-ea349406b66c'::uuid]);

-- Query #20001 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '366a8b65-2ca5-6e97-f898-ea349406b66c'::uuid;

-- Query #20002 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20003 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '45c779d3-a424-8c53-3ce7-9e60c975c3d5'::uuid;

-- Query #20004 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['45c779d3-a424-8c53-3ce7-9e60c975c3d5'::uuid]);

-- Query #20005 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '45c779d3-a424-8c53-3ce7-9e60c975c3d5'::uuid;

-- Query #20006 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45c779d3-a424-8c53-3ce7-9e60c975c3d5'::uuid, 'Tvdb', 7041008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45c779d3-a424-8c53-3ce7-9e60c975c3d5'::uuid, 'Imdb', 'tt9697526')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45c779d3-a424-8c53-3ce7-9e60c975c3d5'::uuid, 'TvMaze', 1606262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20009 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '45c779d3-a424-8c53-3ce7-9e60c975c3d5'::uuid;

-- Query #20010 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '45c779d3-a424-8c53-3ce7-9e60c975c3d5'::uuid;

-- Query #20011 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['45c779d3-a424-8c53-3ce7-9e60c975c3d5'::uuid]);

-- Query #20012 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '45c779d3-a424-8c53-3ce7-9e60c975c3d5'::uuid;

-- Query #20013 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20014 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d576e56-34e5-c348-4ccf-83da85c31ed3'::uuid;

-- Query #20015 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9d576e56-34e5-c348-4ccf-83da85c31ed3'::uuid]);

-- Query #20016 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9d576e56-34e5-c348-4ccf-83da85c31ed3'::uuid;

-- Query #20017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d576e56-34e5-c348-4ccf-83da85c31ed3'::uuid, 'Imdb', 'tt9614642')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20018 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d576e56-34e5-c348-4ccf-83da85c31ed3'::uuid, 'TvMaze', 1584239)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d576e56-34e5-c348-4ccf-83da85c31ed3'::uuid, 'Tvdb', 6972799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20020 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d576e56-34e5-c348-4ccf-83da85c31ed3'::uuid;

-- Query #20021 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9d576e56-34e5-c348-4ccf-83da85c31ed3'::uuid;

-- Query #20022 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9d576e56-34e5-c348-4ccf-83da85c31ed3'::uuid]);

-- Query #20023 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9d576e56-34e5-c348-4ccf-83da85c31ed3'::uuid;

-- Query #20024 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20025 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cc17708f-723b-a124-501d-56e4ece56fcf'::uuid;

-- Query #20026 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc17708f-723b-a124-501d-56e4ece56fcf'::uuid]);

-- Query #20027 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cc17708f-723b-a124-501d-56e4ece56fcf'::uuid;

-- Query #20028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc17708f-723b-a124-501d-56e4ece56fcf'::uuid, 'Imdb', 'tt9614652')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc17708f-723b-a124-501d-56e4ece56fcf'::uuid, 'TvMaze', 1587182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc17708f-723b-a124-501d-56e4ece56fcf'::uuid, 'Tvdb', 6993862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20031 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cc17708f-723b-a124-501d-56e4ece56fcf'::uuid;

-- Query #20032 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cc17708f-723b-a124-501d-56e4ece56fcf'::uuid;

-- Query #20033 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cc17708f-723b-a124-501d-56e4ece56fcf'::uuid]);

-- Query #20034 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cc17708f-723b-a124-501d-56e4ece56fcf'::uuid;

-- Query #20035 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20036 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '837f589c-f46a-237f-b5ce-a5e3343b1b7e'::uuid;

-- Query #20037 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837f589c-f46a-237f-b5ce-a5e3343b1b7e'::uuid]);

-- Query #20038 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '837f589c-f46a-237f-b5ce-a5e3343b1b7e'::uuid;

-- Query #20039 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('837f589c-f46a-237f-b5ce-a5e3343b1b7e'::uuid, 'TvMaze', 1620321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20040 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('837f589c-f46a-237f-b5ce-a5e3343b1b7e'::uuid, 'Tvdb', 7084990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20041 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('837f589c-f46a-237f-b5ce-a5e3343b1b7e'::uuid, 'Imdb', 'tt10970260')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20042 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '837f589c-f46a-237f-b5ce-a5e3343b1b7e'::uuid;

-- Query #20043 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '837f589c-f46a-237f-b5ce-a5e3343b1b7e'::uuid;

-- Query #20044 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['837f589c-f46a-237f-b5ce-a5e3343b1b7e'::uuid]);

-- Query #20045 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '837f589c-f46a-237f-b5ce-a5e3343b1b7e'::uuid;

-- Query #20046 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20047 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '902f7f49-ac4f-ec42-7a9c-c5fdba1171a2'::uuid;

-- Query #20048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['902f7f49-ac4f-ec42-7a9c-c5fdba1171a2'::uuid]);

-- Query #20049 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '902f7f49-ac4f-ec42-7a9c-c5fdba1171a2'::uuid;

-- Query #20050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('902f7f49-ac4f-ec42-7a9c-c5fdba1171a2'::uuid, 'Tvdb', 7309750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('902f7f49-ac4f-ec42-7a9c-c5fdba1171a2'::uuid, 'TvMaze', 1692306)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20052 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '902f7f49-ac4f-ec42-7a9c-c5fdba1171a2'::uuid;

-- Query #20053 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '902f7f49-ac4f-ec42-7a9c-c5fdba1171a2'::uuid;

-- Query #20054 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20055 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['902f7f49-ac4f-ec42-7a9c-c5fdba1171a2'::uuid]);

-- Query #20056 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '902f7f49-ac4f-ec42-7a9c-c5fdba1171a2'::uuid;

-- Query #20057 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['436b4870-c888-1557-ec20-d57f066dd49b'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20058 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '49d5451f-f6b0-38aa-7d50-ae093788f7dd'::uuid;

-- Query #20059 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49d5451f-f6b0-38aa-7d50-ae093788f7dd'::uuid]);

-- Query #20060 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '49d5451f-f6b0-38aa-7d50-ae093788f7dd'::uuid;

-- Query #20061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49d5451f-f6b0-38aa-7d50-ae093788f7dd'::uuid, 'Imdb', 'tt11033814')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49d5451f-f6b0-38aa-7d50-ae093788f7dd'::uuid, 'TvMaze', 1697793)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49d5451f-f6b0-38aa-7d50-ae093788f7dd'::uuid, 'Tvdb', 7331461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20064 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '49d5451f-f6b0-38aa-7d50-ae093788f7dd'::uuid;

-- Query #20065 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '49d5451f-f6b0-38aa-7d50-ae093788f7dd'::uuid;

-- Query #20066 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['49d5451f-f6b0-38aa-7d50-ae093788f7dd'::uuid]);

-- Query #20067 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '49d5451f-f6b0-38aa-7d50-ae093788f7dd'::uuid;

-- Query #20068 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['436b4870-c888-1557-ec20-d57f066dd49b'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20069 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '306d7f1f-1c29-5bfe-9a2b-3138d8d5d068'::uuid;

-- Query #20070 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['306d7f1f-1c29-5bfe-9a2b-3138d8d5d068'::uuid]);

-- Query #20071 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '306d7f1f-1c29-5bfe-9a2b-3138d8d5d068'::uuid;

-- Query #20072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('306d7f1f-1c29-5bfe-9a2b-3138d8d5d068'::uuid, 'Imdb', 'tt11033790')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('306d7f1f-1c29-5bfe-9a2b-3138d8d5d068'::uuid, 'TvMaze', 1669295)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('306d7f1f-1c29-5bfe-9a2b-3138d8d5d068'::uuid, 'Tvdb', 7231525)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '306d7f1f-1c29-5bfe-9a2b-3138d8d5d068'::uuid;

-- Query #20076 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '306d7f1f-1c29-5bfe-9a2b-3138d8d5d068'::uuid;

-- Query #20077 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['306d7f1f-1c29-5bfe-9a2b-3138d8d5d068'::uuid]);

-- Query #20078 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '306d7f1f-1c29-5bfe-9a2b-3138d8d5d068'::uuid;

-- Query #20079 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['436b4870-c888-1557-ec20-d57f066dd49b'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20080 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d75e336-f5b0-6b2d-d91e-a6b0030a85de'::uuid;

-- Query #20081 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d75e336-f5b0-6b2d-d91e-a6b0030a85de'::uuid]);

-- Query #20082 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0d75e336-f5b0-6b2d-d91e-a6b0030a85de'::uuid;

-- Query #20083 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d75e336-f5b0-6b2d-d91e-a6b0030a85de'::uuid, 'Imdb', 'tt11033828')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20084 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d75e336-f5b0-6b2d-d91e-a6b0030a85de'::uuid, 'TvMaze', 1715349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20085 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d75e336-f5b0-6b2d-d91e-a6b0030a85de'::uuid, 'Tvdb', 7341449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20086 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d75e336-f5b0-6b2d-d91e-a6b0030a85de'::uuid;

-- Query #20087 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0d75e336-f5b0-6b2d-d91e-a6b0030a85de'::uuid;

-- Query #20088 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20089 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0d75e336-f5b0-6b2d-d91e-a6b0030a85de'::uuid]);

-- Query #20090 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0d75e336-f5b0-6b2d-d91e-a6b0030a85de'::uuid;

-- Query #20091 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['436b4870-c888-1557-ec20-d57f066dd49b'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20092 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8fcae1e0-ba15-63c2-7d95-0997c0d9e7df'::uuid;

-- Query #20093 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8fcae1e0-ba15-63c2-7d95-0997c0d9e7df'::uuid]);

-- Query #20094 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8fcae1e0-ba15-63c2-7d95-0997c0d9e7df'::uuid;

-- Query #20095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8fcae1e0-ba15-63c2-7d95-0997c0d9e7df'::uuid, 'TvMaze', 1697034)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8fcae1e0-ba15-63c2-7d95-0997c0d9e7df'::uuid, 'Tvdb', 7341448)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20097 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8fcae1e0-ba15-63c2-7d95-0997c0d9e7df'::uuid;

-- Query #20098 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8fcae1e0-ba15-63c2-7d95-0997c0d9e7df'::uuid;

-- Query #20099 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20100 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8fcae1e0-ba15-63c2-7d95-0997c0d9e7df'::uuid]);

-- Query #20101 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8fcae1e0-ba15-63c2-7d95-0997c0d9e7df'::uuid;

-- Query #20102 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['436b4870-c888-1557-ec20-d57f066dd49b'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20103 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '555332d8-55d2-adf9-7603-46c1143f7a48'::uuid;

-- Query #20104 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['555332d8-55d2-adf9-7603-46c1143f7a48'::uuid]);

-- Query #20105 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '555332d8-55d2-adf9-7603-46c1143f7a48'::uuid;

-- Query #20106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('555332d8-55d2-adf9-7603-46c1143f7a48'::uuid, 'Imdb', 'tt11033800')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('555332d8-55d2-adf9-7603-46c1143f7a48'::uuid, 'TvMaze', 1676929)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('555332d8-55d2-adf9-7603-46c1143f7a48'::uuid, 'Tvdb', 7258576)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20109 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '555332d8-55d2-adf9-7603-46c1143f7a48'::uuid;

-- Query #20110 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '555332d8-55d2-adf9-7603-46c1143f7a48'::uuid;

-- Query #20111 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['555332d8-55d2-adf9-7603-46c1143f7a48'::uuid]);

-- Query #20112 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '555332d8-55d2-adf9-7603-46c1143f7a48'::uuid;

-- Query #20113 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['436b4870-c888-1557-ec20-d57f066dd49b'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20114 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bbc1d76-e29b-aaf0-ba20-fb5d849cb81b'::uuid;

-- Query #20115 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4bbc1d76-e29b-aaf0-ba20-fb5d849cb81b'::uuid]);

-- Query #20116 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4bbc1d76-e29b-aaf0-ba20-fb5d849cb81b'::uuid;

-- Query #20117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bbc1d76-e29b-aaf0-ba20-fb5d849cb81b'::uuid, 'Imdb', 'tt11033802')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bbc1d76-e29b-aaf0-ba20-fb5d849cb81b'::uuid, 'TvMaze', 1689509)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bbc1d76-e29b-aaf0-ba20-fb5d849cb81b'::uuid, 'Tvdb', 7309749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20120 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bbc1d76-e29b-aaf0-ba20-fb5d849cb81b'::uuid;

-- Query #20121 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4bbc1d76-e29b-aaf0-ba20-fb5d849cb81b'::uuid;

-- Query #20122 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4bbc1d76-e29b-aaf0-ba20-fb5d849cb81b'::uuid]);

-- Query #20123 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4bbc1d76-e29b-aaf0-ba20-fb5d849cb81b'::uuid;

-- Query #20124 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['436b4870-c888-1557-ec20-d57f066dd49b'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20125 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36d08926-93c9-3af7-7654-cf66e57fd1c3'::uuid;

-- Query #20126 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['36d08926-93c9-3af7-7654-cf66e57fd1c3'::uuid]);

-- Query #20127 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '36d08926-93c9-3af7-7654-cf66e57fd1c3'::uuid;

-- Query #20128 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36d08926-93c9-3af7-7654-cf66e57fd1c3'::uuid, 'Tvdb', 7331462)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20129 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36d08926-93c9-3af7-7654-cf66e57fd1c3'::uuid, 'Imdb', 'tt11033816')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20130 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36d08926-93c9-3af7-7654-cf66e57fd1c3'::uuid, 'TvMaze', 1697033)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20131 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36d08926-93c9-3af7-7654-cf66e57fd1c3'::uuid;

-- Query #20132 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '36d08926-93c9-3af7-7654-cf66e57fd1c3'::uuid;

-- Query #20133 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['36d08926-93c9-3af7-7654-cf66e57fd1c3'::uuid]);

-- Query #20134 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '36d08926-93c9-3af7-7654-cf66e57fd1c3'::uuid;

-- Query #20135 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['436b4870-c888-1557-ec20-d57f066dd49b'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20136 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '555398f8-010b-1bfe-5e7b-3bd7102ec799'::uuid;

-- Query #20137 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['555398f8-010b-1bfe-5e7b-3bd7102ec799'::uuid]);

-- Query #20138 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '555398f8-010b-1bfe-5e7b-3bd7102ec799'::uuid;

-- Query #20139 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('555398f8-010b-1bfe-5e7b-3bd7102ec799'::uuid, 'TvMaze', 1665533)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20140 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('555398f8-010b-1bfe-5e7b-3bd7102ec799'::uuid, 'Tvdb', 7231524)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20141 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '555398f8-010b-1bfe-5e7b-3bd7102ec799'::uuid;

-- Query #20142 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '555398f8-010b-1bfe-5e7b-3bd7102ec799'::uuid;

-- Query #20143 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20144 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['555398f8-010b-1bfe-5e7b-3bd7102ec799'::uuid]);

-- Query #20145 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '555398f8-010b-1bfe-5e7b-3bd7102ec799'::uuid;

-- Query #20146 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['436b4870-c888-1557-ec20-d57f066dd49b'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20147 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1a9927f-09a6-b77b-43ff-a71fc2880cc7'::uuid;

-- Query #20148 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1a9927f-09a6-b77b-43ff-a71fc2880cc7'::uuid]);

-- Query #20149 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c1a9927f-09a6-b77b-43ff-a71fc2880cc7'::uuid;

-- Query #20150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1a9927f-09a6-b77b-43ff-a71fc2880cc7'::uuid, 'Imdb', 'tt11033792')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1a9927f-09a6-b77b-43ff-a71fc2880cc7'::uuid, 'TvMaze', 1673129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1a9927f-09a6-b77b-43ff-a71fc2880cc7'::uuid, 'Tvdb', 7243745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20153 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1a9927f-09a6-b77b-43ff-a71fc2880cc7'::uuid;

-- Query #20154 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c1a9927f-09a6-b77b-43ff-a71fc2880cc7'::uuid;

-- Query #20155 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c1a9927f-09a6-b77b-43ff-a71fc2880cc7'::uuid]);

-- Query #20156 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c1a9927f-09a6-b77b-43ff-a71fc2880cc7'::uuid;

-- Query #20157 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['436b4870-c888-1557-ec20-d57f066dd49b'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20158 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffc422cb-4a44-3831-1539-ecccf57937aa'::uuid;

-- Query #20159 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffc422cb-4a44-3831-1539-ecccf57937aa'::uuid]);

-- Query #20160 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ffc422cb-4a44-3831-1539-ecccf57937aa'::uuid;

-- Query #20161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffc422cb-4a44-3831-1539-ecccf57937aa'::uuid, 'TvMaze', 1676928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffc422cb-4a44-3831-1539-ecccf57937aa'::uuid, 'Tvdb', 7258575)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20163 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffc422cb-4a44-3831-1539-ecccf57937aa'::uuid;

-- Query #20164 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ffc422cb-4a44-3831-1539-ecccf57937aa'::uuid;

-- Query #20165 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20166 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ffc422cb-4a44-3831-1539-ecccf57937aa'::uuid]);

-- Query #20167 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ffc422cb-4a44-3831-1539-ecccf57937aa'::uuid;

-- Query #20168 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['436b4870-c888-1557-ec20-d57f066dd49b'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20169 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '69123184-f21b-8582-6525-1873ed37cc3b'::uuid;

-- Query #20170 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['69123184-f21b-8582-6525-1873ed37cc3b'::uuid]);

-- Query #20171 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '69123184-f21b-8582-6525-1873ed37cc3b'::uuid;

-- Query #20172 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69123184-f21b-8582-6525-1873ed37cc3b'::uuid, 'TvMaze', 1805133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20173 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69123184-f21b-8582-6525-1873ed37cc3b'::uuid, 'Tvdb', 7598416)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20174 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '69123184-f21b-8582-6525-1873ed37cc3b'::uuid;

-- Query #20175 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '69123184-f21b-8582-6525-1873ed37cc3b'::uuid;

-- Query #20176 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20177 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['69123184-f21b-8582-6525-1873ed37cc3b'::uuid]);

-- Query #20178 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '69123184-f21b-8582-6525-1873ed37cc3b'::uuid;

-- Query #20179 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20180 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #20181 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb547994-66b3-274f-3081-337fe4b358f5'::uuid;

-- Query #20182 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb547994-66b3-274f-3081-337fe4b358f5'::uuid]);

-- Query #20183 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cb547994-66b3-274f-3081-337fe4b358f5'::uuid;

-- Query #20184 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb547994-66b3-274f-3081-337fe4b358f5'::uuid, 'TvMaze', 1819523)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20185 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb547994-66b3-274f-3081-337fe4b358f5'::uuid, 'Tvdb', 7649272)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20186 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb547994-66b3-274f-3081-337fe4b358f5'::uuid;

-- Query #20187 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cb547994-66b3-274f-3081-337fe4b358f5'::uuid;

-- Query #20188 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20189 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cb547994-66b3-274f-3081-337fe4b358f5'::uuid]);

-- Query #20190 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cb547994-66b3-274f-3081-337fe4b358f5'::uuid;

-- Query #20191 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20192 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d3b926f-55e0-46a6-b561-29d212f47b47'::uuid;

-- Query #20193 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d3b926f-55e0-46a6-b561-29d212f47b47'::uuid]);

-- Query #20194 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0d3b926f-55e0-46a6-b561-29d212f47b47'::uuid;

-- Query #20195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d3b926f-55e0-46a6-b561-29d212f47b47'::uuid, 'Tvdb', 7368568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d3b926f-55e0-46a6-b561-29d212f47b47'::uuid, 'TvMaze', 1720642)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20197 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d3b926f-55e0-46a6-b561-29d212f47b47'::uuid;

-- Query #20198 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0d3b926f-55e0-46a6-b561-29d212f47b47'::uuid;

-- Query #20199 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20200 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0d3b926f-55e0-46a6-b561-29d212f47b47'::uuid]);

-- Query #20201 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0d3b926f-55e0-46a6-b561-29d212f47b47'::uuid;

-- Query #20202 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20203 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ffb1a8c-1f21-2f36-18c9-33e233879b4e'::uuid;

-- Query #20204 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ffb1a8c-1f21-2f36-18c9-33e233879b4e'::uuid]);

-- Query #20205 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4ffb1a8c-1f21-2f36-18c9-33e233879b4e'::uuid;

-- Query #20206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ffb1a8c-1f21-2f36-18c9-33e233879b4e'::uuid, 'TvMaze', 1819524)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ffb1a8c-1f21-2f36-18c9-33e233879b4e'::uuid, 'Tvdb', 7649274)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20208 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ffb1a8c-1f21-2f36-18c9-33e233879b4e'::uuid;

-- Query #20209 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4ffb1a8c-1f21-2f36-18c9-33e233879b4e'::uuid;

-- Query #20210 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20211 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4ffb1a8c-1f21-2f36-18c9-33e233879b4e'::uuid]);

-- Query #20212 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4ffb1a8c-1f21-2f36-18c9-33e233879b4e'::uuid;

-- Query #20213 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b2608132-f46f-64c9-28b0-a583e3fdea86'::uuid;

-- Query #20215 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b2608132-f46f-64c9-28b0-a583e3fdea86'::uuid]);

-- Query #20216 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b2608132-f46f-64c9-28b0-a583e3fdea86'::uuid;

-- Query #20217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2608132-f46f-64c9-28b0-a583e3fdea86'::uuid, 'TvMaze', 1773705)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2608132-f46f-64c9-28b0-a583e3fdea86'::uuid, 'Tvdb', 7519858)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20219 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b2608132-f46f-64c9-28b0-a583e3fdea86'::uuid;

-- Query #20220 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b2608132-f46f-64c9-28b0-a583e3fdea86'::uuid;

-- Query #20221 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20222 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b2608132-f46f-64c9-28b0-a583e3fdea86'::uuid]);

-- Query #20223 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b2608132-f46f-64c9-28b0-a583e3fdea86'::uuid;

-- Query #20224 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f10db55-2953-6def-47d6-b143caa13c92'::uuid;

-- Query #20226 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f10db55-2953-6def-47d6-b143caa13c92'::uuid]);

-- Query #20227 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5f10db55-2953-6def-47d6-b143caa13c92'::uuid;

-- Query #20228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f10db55-2953-6def-47d6-b143caa13c92'::uuid, 'TvMaze', 1797744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f10db55-2953-6def-47d6-b143caa13c92'::uuid, 'Tvdb', 7579270)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20230 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f10db55-2953-6def-47d6-b143caa13c92'::uuid;

-- Query #20231 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5f10db55-2953-6def-47d6-b143caa13c92'::uuid;

-- Query #20232 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20233 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5f10db55-2953-6def-47d6-b143caa13c92'::uuid]);

-- Query #20234 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5f10db55-2953-6def-47d6-b143caa13c92'::uuid;

-- Query #20235 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20236 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3496f2c-6d56-6852-5aaa-e11a9941b50a'::uuid;

-- Query #20237 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3496f2c-6d56-6852-5aaa-e11a9941b50a'::uuid]);

-- Query #20238 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f3496f2c-6d56-6852-5aaa-e11a9941b50a'::uuid;

-- Query #20239 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3496f2c-6d56-6852-5aaa-e11a9941b50a'::uuid, 'Imdb', 'tt11702318')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20240 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3496f2c-6d56-6852-5aaa-e11a9941b50a'::uuid, 'TvMaze', 1773706)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20241 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3496f2c-6d56-6852-5aaa-e11a9941b50a'::uuid, 'Tvdb', 7519859)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20242 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3496f2c-6d56-6852-5aaa-e11a9941b50a'::uuid;

-- Query #20243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f3496f2c-6d56-6852-5aaa-e11a9941b50a'::uuid;

-- Query #20244 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f3496f2c-6d56-6852-5aaa-e11a9941b50a'::uuid]);

-- Query #20245 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f3496f2c-6d56-6852-5aaa-e11a9941b50a'::uuid;

-- Query #20246 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20247 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96f3ef9e-e202-03ac-1d98-f7cd1d62364e'::uuid;

-- Query #20248 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['96f3ef9e-e202-03ac-1d98-f7cd1d62364e'::uuid]);

-- Query #20249 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '96f3ef9e-e202-03ac-1d98-f7cd1d62364e'::uuid;

-- Query #20250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96f3ef9e-e202-03ac-1d98-f7cd1d62364e'::uuid, 'Tvdb', 7553540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96f3ef9e-e202-03ac-1d98-f7cd1d62364e'::uuid, 'TvMaze', 1791841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20252 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96f3ef9e-e202-03ac-1d98-f7cd1d62364e'::uuid;

-- Query #20253 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '96f3ef9e-e202-03ac-1d98-f7cd1d62364e'::uuid;

-- Query #20254 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20255 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['96f3ef9e-e202-03ac-1d98-f7cd1d62364e'::uuid]);

-- Query #20256 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '96f3ef9e-e202-03ac-1d98-f7cd1d62364e'::uuid;

-- Query #20257 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6176d82e-c6a6-1820-bbb7-3a20b51d9d8b'::uuid;

-- Query #20259 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6176d82e-c6a6-1820-bbb7-3a20b51d9d8b'::uuid]);

-- Query #20260 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6176d82e-c6a6-1820-bbb7-3a20b51d9d8b'::uuid;

-- Query #20261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6176d82e-c6a6-1820-bbb7-3a20b51d9d8b'::uuid, 'Tvdb', 7598414)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6176d82e-c6a6-1820-bbb7-3a20b51d9d8b'::uuid, 'Imdb', 'tt12980950')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6176d82e-c6a6-1820-bbb7-3a20b51d9d8b'::uuid, 'TvMaze', 1805132)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20264 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6176d82e-c6a6-1820-bbb7-3a20b51d9d8b'::uuid;

-- Query #20265 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6176d82e-c6a6-1820-bbb7-3a20b51d9d8b'::uuid;

-- Query #20266 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6176d82e-c6a6-1820-bbb7-3a20b51d9d8b'::uuid]);

-- Query #20267 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6176d82e-c6a6-1820-bbb7-3a20b51d9d8b'::uuid;

-- Query #20268 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20269 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59d4c2ca-7b07-e9a2-098e-73663693d6c1'::uuid;

-- Query #20270 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59d4c2ca-7b07-e9a2-098e-73663693d6c1'::uuid]);

-- Query #20271 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '59d4c2ca-7b07-e9a2-098e-73663693d6c1'::uuid;

-- Query #20272 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59d4c2ca-7b07-e9a2-098e-73663693d6c1'::uuid, 'TvMaze', 1805131)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20273 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59d4c2ca-7b07-e9a2-098e-73663693d6c1'::uuid, 'Tvdb', 7598412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20274 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59d4c2ca-7b07-e9a2-098e-73663693d6c1'::uuid;

-- Query #20275 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '59d4c2ca-7b07-e9a2-098e-73663693d6c1'::uuid;

-- Query #20276 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20277 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['59d4c2ca-7b07-e9a2-098e-73663693d6c1'::uuid]);

-- Query #20278 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '59d4c2ca-7b07-e9a2-098e-73663693d6c1'::uuid;

-- Query #20279 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20280 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f8e2c66-51b0-d5ff-d81f-12d5c1d68177'::uuid;

-- Query #20281 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f8e2c66-51b0-d5ff-d81f-12d5c1d68177'::uuid]);

-- Query #20282 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9f8e2c66-51b0-d5ff-d81f-12d5c1d68177'::uuid;

-- Query #20283 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f8e2c66-51b0-d5ff-d81f-12d5c1d68177'::uuid, 'TvMaze', 1812145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20284 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f8e2c66-51b0-d5ff-d81f-12d5c1d68177'::uuid, 'Tvdb', 7630568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20285 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f8e2c66-51b0-d5ff-d81f-12d5c1d68177'::uuid;

-- Query #20286 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9f8e2c66-51b0-d5ff-d81f-12d5c1d68177'::uuid;

-- Query #20287 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20288 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9f8e2c66-51b0-d5ff-d81f-12d5c1d68177'::uuid]);

-- Query #20289 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9f8e2c66-51b0-d5ff-d81f-12d5c1d68177'::uuid;

-- Query #20290 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20291 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f7a1933-fe48-724d-93ea-926d932c058d'::uuid;

-- Query #20292 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0f7a1933-fe48-724d-93ea-926d932c058d'::uuid]);

-- Query #20293 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0f7a1933-fe48-724d-93ea-926d932c058d'::uuid;

-- Query #20294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f7a1933-fe48-724d-93ea-926d932c058d'::uuid, 'TvMaze', 1793593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f7a1933-fe48-724d-93ea-926d932c058d'::uuid, 'Tvdb', 7579269)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f7a1933-fe48-724d-93ea-926d932c058d'::uuid;

-- Query #20297 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0f7a1933-fe48-724d-93ea-926d932c058d'::uuid;

-- Query #20298 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20299 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0f7a1933-fe48-724d-93ea-926d932c058d'::uuid]);

-- Query #20300 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0f7a1933-fe48-724d-93ea-926d932c058d'::uuid;

-- Query #20301 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20302 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '43467714-4e87-44de-e871-a54b1a0b9e99'::uuid;

-- Query #20303 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['43467714-4e87-44de-e871-a54b1a0b9e99'::uuid]);

-- Query #20304 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '43467714-4e87-44de-e871-a54b1a0b9e99'::uuid;

-- Query #20305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43467714-4e87-44de-e871-a54b1a0b9e99'::uuid, 'Tvdb', 7529696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43467714-4e87-44de-e871-a54b1a0b9e99'::uuid, 'TvMaze', 1773707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20307 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '43467714-4e87-44de-e871-a54b1a0b9e99'::uuid;

-- Query #20308 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '43467714-4e87-44de-e871-a54b1a0b9e99'::uuid;

-- Query #20309 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20310 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['43467714-4e87-44de-e871-a54b1a0b9e99'::uuid]);

-- Query #20311 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '43467714-4e87-44de-e871-a54b1a0b9e99'::uuid;

-- Query #20312 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20313 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a2ac354-3c5b-3cad-bb22-e6aae4e73d6d'::uuid;

-- Query #20314 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a2ac354-3c5b-3cad-bb22-e6aae4e73d6d'::uuid]);

-- Query #20315 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9a2ac354-3c5b-3cad-bb22-e6aae4e73d6d'::uuid;

-- Query #20316 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a2ac354-3c5b-3cad-bb22-e6aae4e73d6d'::uuid, 'TvMaze', 1819526)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a2ac354-3c5b-3cad-bb22-e6aae4e73d6d'::uuid, 'Tvdb', 7649278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20318 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a2ac354-3c5b-3cad-bb22-e6aae4e73d6d'::uuid;

-- Query #20319 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9a2ac354-3c5b-3cad-bb22-e6aae4e73d6d'::uuid;

-- Query #20320 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20321 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9a2ac354-3c5b-3cad-bb22-e6aae4e73d6d'::uuid]);

-- Query #20322 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9a2ac354-3c5b-3cad-bb22-e6aae4e73d6d'::uuid;

-- Query #20323 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20324 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e04ea6c4-4ab7-e48b-34e3-33716f5b3aa7'::uuid;

-- Query #20325 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e04ea6c4-4ab7-e48b-34e3-33716f5b3aa7'::uuid]);

-- Query #20326 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e04ea6c4-4ab7-e48b-34e3-33716f5b3aa7'::uuid;

-- Query #20327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e04ea6c4-4ab7-e48b-34e3-33716f5b3aa7'::uuid, 'TvMaze', 1818176)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20328 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e04ea6c4-4ab7-e48b-34e3-33716f5b3aa7'::uuid, 'Tvdb', 7649271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20329 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e04ea6c4-4ab7-e48b-34e3-33716f5b3aa7'::uuid;

-- Query #20330 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e04ea6c4-4ab7-e48b-34e3-33716f5b3aa7'::uuid;

-- Query #20331 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20332 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e04ea6c4-4ab7-e48b-34e3-33716f5b3aa7'::uuid]);

-- Query #20333 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e04ea6c4-4ab7-e48b-34e3-33716f5b3aa7'::uuid;

-- Query #20334 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20335 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '220fd591-f9d5-45e6-7dde-a8a7c03c2fbc'::uuid;

-- Query #20336 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['220fd591-f9d5-45e6-7dde-a8a7c03c2fbc'::uuid]);

-- Query #20337 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '220fd591-f9d5-45e6-7dde-a8a7c03c2fbc'::uuid;

-- Query #20338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('220fd591-f9d5-45e6-7dde-a8a7c03c2fbc'::uuid, 'TvMaze', 1791840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('220fd591-f9d5-45e6-7dde-a8a7c03c2fbc'::uuid, 'Tvdb', 7553539)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20340 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '220fd591-f9d5-45e6-7dde-a8a7c03c2fbc'::uuid;

-- Query #20341 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '220fd591-f9d5-45e6-7dde-a8a7c03c2fbc'::uuid;

-- Query #20342 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20343 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['220fd591-f9d5-45e6-7dde-a8a7c03c2fbc'::uuid]);

-- Query #20344 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '220fd591-f9d5-45e6-7dde-a8a7c03c2fbc'::uuid;

-- Query #20345 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20346 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db8e2fe8-0e3b-b96a-da10-c1a001a4d2fe'::uuid;

-- Query #20347 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db8e2fe8-0e3b-b96a-da10-c1a001a4d2fe'::uuid]);

-- Query #20348 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'db8e2fe8-0e3b-b96a-da10-c1a001a4d2fe'::uuid;

-- Query #20349 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db8e2fe8-0e3b-b96a-da10-c1a001a4d2fe'::uuid, 'TvMaze', 1819525)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20350 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db8e2fe8-0e3b-b96a-da10-c1a001a4d2fe'::uuid, 'Tvdb', 7649275)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20351 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db8e2fe8-0e3b-b96a-da10-c1a001a4d2fe'::uuid;

-- Query #20352 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'db8e2fe8-0e3b-b96a-da10-c1a001a4d2fe'::uuid;

-- Query #20353 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20354 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['db8e2fe8-0e3b-b96a-da10-c1a001a4d2fe'::uuid]);

-- Query #20355 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'db8e2fe8-0e3b-b96a-da10-c1a001a4d2fe'::uuid;

-- Query #20356 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20357 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82a1774e-7a29-1cb1-8bf1-0ded19e2d939'::uuid;

-- Query #20358 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82a1774e-7a29-1cb1-8bf1-0ded19e2d939'::uuid]);

-- Query #20359 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82a1774e-7a29-1cb1-8bf1-0ded19e2d939'::uuid;

-- Query #20360 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82a1774e-7a29-1cb1-8bf1-0ded19e2d939'::uuid, 'TvMaze', 1931167)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20361 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82a1774e-7a29-1cb1-8bf1-0ded19e2d939'::uuid, 'Tvdb', 7966584)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20362 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82a1774e-7a29-1cb1-8bf1-0ded19e2d939'::uuid;

-- Query #20363 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82a1774e-7a29-1cb1-8bf1-0ded19e2d939'::uuid;

-- Query #20364 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20365 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82a1774e-7a29-1cb1-8bf1-0ded19e2d939'::uuid]);

-- Query #20366 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '82a1774e-7a29-1cb1-8bf1-0ded19e2d939'::uuid;

-- Query #20367 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20368 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1dfe98ad-ec17-d4c9-9ee9-0b3a149cc31e'::uuid;

-- Query #20369 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1dfe98ad-ec17-d4c9-9ee9-0b3a149cc31e'::uuid]);

-- Query #20370 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1dfe98ad-ec17-d4c9-9ee9-0b3a149cc31e'::uuid;

-- Query #20371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dfe98ad-ec17-d4c9-9ee9-0b3a149cc31e'::uuid, 'TvMaze', 1931162)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dfe98ad-ec17-d4c9-9ee9-0b3a149cc31e'::uuid, 'Tvdb', 7966575)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20373 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1dfe98ad-ec17-d4c9-9ee9-0b3a149cc31e'::uuid;

-- Query #20374 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1dfe98ad-ec17-d4c9-9ee9-0b3a149cc31e'::uuid;

-- Query #20375 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20376 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1dfe98ad-ec17-d4c9-9ee9-0b3a149cc31e'::uuid]);

-- Query #20377 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1dfe98ad-ec17-d4c9-9ee9-0b3a149cc31e'::uuid;

-- Query #20378 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20379 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '08f7de2d-7da2-0836-9774-884acb71fc4b'::uuid;

-- Query #20380 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['08f7de2d-7da2-0836-9774-884acb71fc4b'::uuid]);

-- Query #20381 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '08f7de2d-7da2-0836-9774-884acb71fc4b'::uuid;

-- Query #20382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('08f7de2d-7da2-0836-9774-884acb71fc4b'::uuid, 'TvMaze', 1902816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('08f7de2d-7da2-0836-9774-884acb71fc4b'::uuid, 'Tvdb', 7853931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20384 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '08f7de2d-7da2-0836-9774-884acb71fc4b'::uuid;

-- Query #20385 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '08f7de2d-7da2-0836-9774-884acb71fc4b'::uuid;

-- Query #20386 | logged_duration_ms=7 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #20387 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20388 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['08f7de2d-7da2-0836-9774-884acb71fc4b'::uuid]);

-- Query #20389 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '08f7de2d-7da2-0836-9774-884acb71fc4b'::uuid;

-- Query #20390 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20391 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fad74f32-0051-0584-020c-39c60f3d5215'::uuid;

-- Query #20392 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fad74f32-0051-0584-020c-39c60f3d5215'::uuid]);

-- Query #20393 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fad74f32-0051-0584-020c-39c60f3d5215'::uuid;

-- Query #20394 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fad74f32-0051-0584-020c-39c60f3d5215'::uuid, 'TvMaze', 1912406)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20395 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fad74f32-0051-0584-020c-39c60f3d5215'::uuid, 'Tvdb', 7901568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20396 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fad74f32-0051-0584-020c-39c60f3d5215'::uuid;

-- Query #20397 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fad74f32-0051-0584-020c-39c60f3d5215'::uuid;

-- Query #20398 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20399 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fad74f32-0051-0584-020c-39c60f3d5215'::uuid]);

-- Query #20400 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fad74f32-0051-0584-020c-39c60f3d5215'::uuid;

-- Query #20401 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20402 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a722efb9-ede8-7709-bd63-96000f13cc85'::uuid;

-- Query #20403 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a722efb9-ede8-7709-bd63-96000f13cc85'::uuid]);

-- Query #20404 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a722efb9-ede8-7709-bd63-96000f13cc85'::uuid;

-- Query #20405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a722efb9-ede8-7709-bd63-96000f13cc85'::uuid, 'TvMaze', 1902817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a722efb9-ede8-7709-bd63-96000f13cc85'::uuid, 'Tvdb', 7853932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20407 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a722efb9-ede8-7709-bd63-96000f13cc85'::uuid;

-- Query #20408 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a722efb9-ede8-7709-bd63-96000f13cc85'::uuid;

-- Query #20409 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20410 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a722efb9-ede8-7709-bd63-96000f13cc85'::uuid]);

-- Query #20411 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a722efb9-ede8-7709-bd63-96000f13cc85'::uuid;

-- Query #20412 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20413 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8da6e1ba-01b6-9576-5701-b9e3dc216c6a'::uuid;

-- Query #20414 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8da6e1ba-01b6-9576-5701-b9e3dc216c6a'::uuid]);

-- Query #20415 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8da6e1ba-01b6-9576-5701-b9e3dc216c6a'::uuid;

-- Query #20416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8da6e1ba-01b6-9576-5701-b9e3dc216c6a'::uuid, 'TvMaze', 1883741)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8da6e1ba-01b6-9576-5701-b9e3dc216c6a'::uuid, 'Tvdb', 7805637)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20418 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8da6e1ba-01b6-9576-5701-b9e3dc216c6a'::uuid;

-- Query #20419 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8da6e1ba-01b6-9576-5701-b9e3dc216c6a'::uuid;

-- Query #20420 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20421 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8da6e1ba-01b6-9576-5701-b9e3dc216c6a'::uuid]);

-- Query #20422 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8da6e1ba-01b6-9576-5701-b9e3dc216c6a'::uuid;

-- Query #20423 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20424 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d667d60-cc36-ab15-8ba6-6fd3a90c7366'::uuid;

-- Query #20425 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d667d60-cc36-ab15-8ba6-6fd3a90c7366'::uuid]);

-- Query #20426 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1d667d60-cc36-ab15-8ba6-6fd3a90c7366'::uuid;

-- Query #20427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d667d60-cc36-ab15-8ba6-6fd3a90c7366'::uuid, 'TvMaze', 1883740)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d667d60-cc36-ab15-8ba6-6fd3a90c7366'::uuid, 'Tvdb', 7805636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20429 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d667d60-cc36-ab15-8ba6-6fd3a90c7366'::uuid;

-- Query #20430 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1d667d60-cc36-ab15-8ba6-6fd3a90c7366'::uuid;

-- Query #20431 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20432 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1d667d60-cc36-ab15-8ba6-6fd3a90c7366'::uuid]);

-- Query #20433 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1d667d60-cc36-ab15-8ba6-6fd3a90c7366'::uuid;

-- Query #20434 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20435 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '566543e1-274d-2030-07a6-b811ca326031'::uuid;

-- Query #20436 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['566543e1-274d-2030-07a6-b811ca326031'::uuid]);

-- Query #20437 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '566543e1-274d-2030-07a6-b811ca326031'::uuid;

-- Query #20438 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('566543e1-274d-2030-07a6-b811ca326031'::uuid, 'TvMaze', 1928425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20439 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('566543e1-274d-2030-07a6-b811ca326031'::uuid, 'Tvdb', 7925944)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20440 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '566543e1-274d-2030-07a6-b811ca326031'::uuid;

-- Query #20441 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '566543e1-274d-2030-07a6-b811ca326031'::uuid;

-- Query #20442 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20443 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['566543e1-274d-2030-07a6-b811ca326031'::uuid]);

-- Query #20444 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '566543e1-274d-2030-07a6-b811ca326031'::uuid;

-- Query #20445 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20446 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a555ac65-7cf5-56a1-31ce-ee1beac3b379'::uuid;

-- Query #20447 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a555ac65-7cf5-56a1-31ce-ee1beac3b379'::uuid]);

-- Query #20448 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a555ac65-7cf5-56a1-31ce-ee1beac3b379'::uuid;

-- Query #20449 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a555ac65-7cf5-56a1-31ce-ee1beac3b379'::uuid, 'TvMaze', 1924638)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a555ac65-7cf5-56a1-31ce-ee1beac3b379'::uuid, 'Tvdb', 7925945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20451 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a555ac65-7cf5-56a1-31ce-ee1beac3b379'::uuid;

-- Query #20452 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a555ac65-7cf5-56a1-31ce-ee1beac3b379'::uuid;

-- Query #20453 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20454 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a555ac65-7cf5-56a1-31ce-ee1beac3b379'::uuid]);

-- Query #20455 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a555ac65-7cf5-56a1-31ce-ee1beac3b379'::uuid;

-- Query #20456 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20457 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4635e0a0-1fdd-b86f-af1b-041101f92752'::uuid;

-- Query #20458 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4635e0a0-1fdd-b86f-af1b-041101f92752'::uuid]);

-- Query #20459 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4635e0a0-1fdd-b86f-af1b-041101f92752'::uuid;

-- Query #20460 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4635e0a0-1fdd-b86f-af1b-041101f92752'::uuid, 'TvMaze', 1914236)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4635e0a0-1fdd-b86f-af1b-041101f92752'::uuid, 'Tvdb', 7901570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20462 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4635e0a0-1fdd-b86f-af1b-041101f92752'::uuid;

-- Query #20463 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4635e0a0-1fdd-b86f-af1b-041101f92752'::uuid;

-- Query #20464 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20465 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4635e0a0-1fdd-b86f-af1b-041101f92752'::uuid]);

-- Query #20466 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4635e0a0-1fdd-b86f-af1b-041101f92752'::uuid;

-- Query #20467 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20468 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed7ac2de-2f69-3c6f-27fb-0790a0025136'::uuid;

-- Query #20469 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed7ac2de-2f69-3c6f-27fb-0790a0025136'::uuid]);

-- Query #20470 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ed7ac2de-2f69-3c6f-27fb-0790a0025136'::uuid;

-- Query #20471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed7ac2de-2f69-3c6f-27fb-0790a0025136'::uuid, 'Imdb', 'tt13780010')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed7ac2de-2f69-3c6f-27fb-0790a0025136'::uuid, 'TvMaze', 1931164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20473 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed7ac2de-2f69-3c6f-27fb-0790a0025136'::uuid, 'Tvdb', 7966579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20474 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed7ac2de-2f69-3c6f-27fb-0790a0025136'::uuid;

-- Query #20475 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ed7ac2de-2f69-3c6f-27fb-0790a0025136'::uuid;

-- Query #20476 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ed7ac2de-2f69-3c6f-27fb-0790a0025136'::uuid]);

-- Query #20477 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ed7ac2de-2f69-3c6f-27fb-0790a0025136'::uuid;

-- Query #20478 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20479 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c5d5d73-20f9-5597-8274-1dca97aebb2c'::uuid;

-- Query #20480 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6c5d5d73-20f9-5597-8274-1dca97aebb2c'::uuid]);

-- Query #20481 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6c5d5d73-20f9-5597-8274-1dca97aebb2c'::uuid;

-- Query #20482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c5d5d73-20f9-5597-8274-1dca97aebb2c'::uuid, 'TvMaze', 1883739)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c5d5d73-20f9-5597-8274-1dca97aebb2c'::uuid, 'Tvdb', 7805634)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20484 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c5d5d73-20f9-5597-8274-1dca97aebb2c'::uuid;

-- Query #20485 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6c5d5d73-20f9-5597-8274-1dca97aebb2c'::uuid;

-- Query #20486 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20487 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6c5d5d73-20f9-5597-8274-1dca97aebb2c'::uuid]);

-- Query #20488 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6c5d5d73-20f9-5597-8274-1dca97aebb2c'::uuid;

-- Query #20489 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20490 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5311830b-ce27-378e-769d-118a5aa421d7'::uuid;

-- Query #20491 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5311830b-ce27-378e-769d-118a5aa421d7'::uuid]);

-- Query #20492 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5311830b-ce27-378e-769d-118a5aa421d7'::uuid;

-- Query #20493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5311830b-ce27-378e-769d-118a5aa421d7'::uuid, 'TvMaze', 1931163)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5311830b-ce27-378e-769d-118a5aa421d7'::uuid, 'Tvdb', 7966576)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20495 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5311830b-ce27-378e-769d-118a5aa421d7'::uuid;

-- Query #20496 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5311830b-ce27-378e-769d-118a5aa421d7'::uuid;

-- Query #20497 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20498 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5311830b-ce27-378e-769d-118a5aa421d7'::uuid]);

-- Query #20499 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5311830b-ce27-378e-769d-118a5aa421d7'::uuid;

-- Query #20500 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20501 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fde3dc0c-5211-7e11-191b-f43f5c9d2c9b'::uuid;

-- Query #20502 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fde3dc0c-5211-7e11-191b-f43f5c9d2c9b'::uuid]);

-- Query #20503 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fde3dc0c-5211-7e11-191b-f43f5c9d2c9b'::uuid;

-- Query #20504 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fde3dc0c-5211-7e11-191b-f43f5c9d2c9b'::uuid, 'TvMaze', 1931166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fde3dc0c-5211-7e11-191b-f43f5c9d2c9b'::uuid, 'Tvdb', 7966583)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20506 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fde3dc0c-5211-7e11-191b-f43f5c9d2c9b'::uuid;

-- Query #20507 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fde3dc0c-5211-7e11-191b-f43f5c9d2c9b'::uuid;

-- Query #20508 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20509 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fde3dc0c-5211-7e11-191b-f43f5c9d2c9b'::uuid]);

-- Query #20510 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fde3dc0c-5211-7e11-191b-f43f5c9d2c9b'::uuid;

-- Query #20511 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20512 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a5f5694-f0bd-e66b-d958-351b79a9a44e'::uuid;

-- Query #20513 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a5f5694-f0bd-e66b-d958-351b79a9a44e'::uuid]);

-- Query #20514 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4a5f5694-f0bd-e66b-d958-351b79a9a44e'::uuid;

-- Query #20515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a5f5694-f0bd-e66b-d958-351b79a9a44e'::uuid, 'TvMaze', 1902815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a5f5694-f0bd-e66b-d958-351b79a9a44e'::uuid, 'Tvdb', 7853930)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20517 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a5f5694-f0bd-e66b-d958-351b79a9a44e'::uuid;

-- Query #20518 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4a5f5694-f0bd-e66b-d958-351b79a9a44e'::uuid;

-- Query #20519 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20520 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4a5f5694-f0bd-e66b-d958-351b79a9a44e'::uuid]);

-- Query #20521 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4a5f5694-f0bd-e66b-d958-351b79a9a44e'::uuid;

-- Query #20522 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20523 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '270fc89c-6a5e-d516-1b8c-25b67de91df0'::uuid;

-- Query #20524 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['270fc89c-6a5e-d516-1b8c-25b67de91df0'::uuid]);

-- Query #20525 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '270fc89c-6a5e-d516-1b8c-25b67de91df0'::uuid;

-- Query #20526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('270fc89c-6a5e-d516-1b8c-25b67de91df0'::uuid, 'TvMaze', 1914235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20527 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('270fc89c-6a5e-d516-1b8c-25b67de91df0'::uuid, 'Tvdb', 7901569)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20528 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '270fc89c-6a5e-d516-1b8c-25b67de91df0'::uuid;

-- Query #20529 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '270fc89c-6a5e-d516-1b8c-25b67de91df0'::uuid;

-- Query #20530 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20531 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['270fc89c-6a5e-d516-1b8c-25b67de91df0'::uuid]);

-- Query #20532 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '270fc89c-6a5e-d516-1b8c-25b67de91df0'::uuid;

-- Query #20533 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95abbf88-4449-16e6-e047-402269b0c0e8'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20534 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2925fce4-d658-6e0b-ccd2-7659ac1decdd'::uuid;

-- Query #20535 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2925fce4-d658-6e0b-ccd2-7659ac1decdd'::uuid]);

-- Query #20536 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2925fce4-d658-6e0b-ccd2-7659ac1decdd'::uuid;

-- Query #20537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2925fce4-d658-6e0b-ccd2-7659ac1decdd'::uuid, 'TvMaze', 2077920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2925fce4-d658-6e0b-ccd2-7659ac1decdd'::uuid, 'Tvdb', 8380569)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20539 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2925fce4-d658-6e0b-ccd2-7659ac1decdd'::uuid;

-- Query #20540 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2925fce4-d658-6e0b-ccd2-7659ac1decdd'::uuid;

-- Query #20541 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20542 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2925fce4-d658-6e0b-ccd2-7659ac1decdd'::uuid]);

-- Query #20543 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2925fce4-d658-6e0b-ccd2-7659ac1decdd'::uuid;

-- Query #20544 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20545 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b69fd15-f89c-6c6f-49df-4bda8d8655a9'::uuid;

-- Query #20546 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b69fd15-f89c-6c6f-49df-4bda8d8655a9'::uuid]);

-- Query #20547 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2b69fd15-f89c-6c6f-49df-4bda8d8655a9'::uuid;

-- Query #20548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b69fd15-f89c-6c6f-49df-4bda8d8655a9'::uuid, 'TvMaze', 2077921)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b69fd15-f89c-6c6f-49df-4bda8d8655a9'::uuid, 'Tvdb', 8380570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20550 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b69fd15-f89c-6c6f-49df-4bda8d8655a9'::uuid;

-- Query #20551 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2b69fd15-f89c-6c6f-49df-4bda8d8655a9'::uuid;

-- Query #20552 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20553 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2b69fd15-f89c-6c6f-49df-4bda8d8655a9'::uuid]);

-- Query #20554 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2b69fd15-f89c-6c6f-49df-4bda8d8655a9'::uuid;

-- Query #20555 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20556 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '76e37916-76fc-7606-08bb-625c909f67cd'::uuid;

-- Query #20557 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['76e37916-76fc-7606-08bb-625c909f67cd'::uuid]);

-- Query #20558 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '76e37916-76fc-7606-08bb-625c909f67cd'::uuid;

-- Query #20559 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76e37916-76fc-7606-08bb-625c909f67cd'::uuid, 'TvMaze', 1996346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76e37916-76fc-7606-08bb-625c909f67cd'::uuid, 'Tvdb', 8069603)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20561 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '76e37916-76fc-7606-08bb-625c909f67cd'::uuid;

-- Query #20562 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '76e37916-76fc-7606-08bb-625c909f67cd'::uuid;

-- Query #20563 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20564 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['76e37916-76fc-7606-08bb-625c909f67cd'::uuid]);

-- Query #20565 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '76e37916-76fc-7606-08bb-625c909f67cd'::uuid;

-- Query #20566 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf9c4765-20ca-dcee-4809-9bc2d49e6231'::uuid;

-- Query #20568 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf9c4765-20ca-dcee-4809-9bc2d49e6231'::uuid]);

-- Query #20569 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cf9c4765-20ca-dcee-4809-9bc2d49e6231'::uuid;

-- Query #20570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf9c4765-20ca-dcee-4809-9bc2d49e6231'::uuid, 'TvMaze', 2018321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf9c4765-20ca-dcee-4809-9bc2d49e6231'::uuid, 'Tvdb', 8164841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20572 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf9c4765-20ca-dcee-4809-9bc2d49e6231'::uuid;

-- Query #20573 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cf9c4765-20ca-dcee-4809-9bc2d49e6231'::uuid;

-- Query #20574 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20575 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cf9c4765-20ca-dcee-4809-9bc2d49e6231'::uuid]);

-- Query #20576 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cf9c4765-20ca-dcee-4809-9bc2d49e6231'::uuid;

-- Query #20577 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20578 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '764fe7c1-d630-f497-dfaf-f67466ca20dc'::uuid;

-- Query #20579 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['764fe7c1-d630-f497-dfaf-f67466ca20dc'::uuid]);

-- Query #20580 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '764fe7c1-d630-f497-dfaf-f67466ca20dc'::uuid;

-- Query #20581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('764fe7c1-d630-f497-dfaf-f67466ca20dc'::uuid, 'TvMaze', 2036367)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('764fe7c1-d630-f497-dfaf-f67466ca20dc'::uuid, 'Tvdb', 8220376)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20583 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '764fe7c1-d630-f497-dfaf-f67466ca20dc'::uuid;

-- Query #20584 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '764fe7c1-d630-f497-dfaf-f67466ca20dc'::uuid;

-- Query #20585 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20586 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['764fe7c1-d630-f497-dfaf-f67466ca20dc'::uuid]);

-- Query #20587 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '764fe7c1-d630-f497-dfaf-f67466ca20dc'::uuid;

-- Query #20588 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20589 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a452a193-c853-4571-e7ba-07911a462a23'::uuid;

-- Query #20590 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a452a193-c853-4571-e7ba-07911a462a23'::uuid]);

-- Query #20591 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a452a193-c853-4571-e7ba-07911a462a23'::uuid;

-- Query #20592 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a452a193-c853-4571-e7ba-07911a462a23'::uuid, 'TvMaze', 2009074)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20593 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a452a193-c853-4571-e7ba-07911a462a23'::uuid, 'Tvdb', 8136982)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20594 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a452a193-c853-4571-e7ba-07911a462a23'::uuid;

-- Query #20595 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a452a193-c853-4571-e7ba-07911a462a23'::uuid;

-- Query #20596 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20597 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a452a193-c853-4571-e7ba-07911a462a23'::uuid]);

-- Query #20598 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a452a193-c853-4571-e7ba-07911a462a23'::uuid;

-- Query #20599 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20600 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e9816b2-a9b2-ec41-e2c9-ba0d371033bb'::uuid;

-- Query #20601 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e9816b2-a9b2-ec41-e2c9-ba0d371033bb'::uuid]);

-- Query #20602 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3e9816b2-a9b2-ec41-e2c9-ba0d371033bb'::uuid;

-- Query #20603 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e9816b2-a9b2-ec41-e2c9-ba0d371033bb'::uuid, 'TvMaze', 2018322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e9816b2-a9b2-ec41-e2c9-ba0d371033bb'::uuid, 'Tvdb', 8164842)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20605 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e9816b2-a9b2-ec41-e2c9-ba0d371033bb'::uuid;

-- Query #20606 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3e9816b2-a9b2-ec41-e2c9-ba0d371033bb'::uuid;

-- Query #20607 | logged_duration_ms=7 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20608 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3e9816b2-a9b2-ec41-e2c9-ba0d371033bb'::uuid]);

-- Query #20609 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3e9816b2-a9b2-ec41-e2c9-ba0d371033bb'::uuid;

-- Query #20610 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20611 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #20612 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a79a578-9cd0-09f3-5b13-fe905128e6bb'::uuid;

-- Query #20613 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a79a578-9cd0-09f3-5b13-fe905128e6bb'::uuid]);

-- Query #20614 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9a79a578-9cd0-09f3-5b13-fe905128e6bb'::uuid;

-- Query #20615 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a79a578-9cd0-09f3-5b13-fe905128e6bb'::uuid, 'Tvdb', 8320146)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a79a578-9cd0-09f3-5b13-fe905128e6bb'::uuid, 'TvMaze', 2051385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20617 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a79a578-9cd0-09f3-5b13-fe905128e6bb'::uuid;

-- Query #20618 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9a79a578-9cd0-09f3-5b13-fe905128e6bb'::uuid;

-- Query #20619 | logged_duration_ms=7 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20620 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9a79a578-9cd0-09f3-5b13-fe905128e6bb'::uuid]);

-- Query #20621 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9a79a578-9cd0-09f3-5b13-fe905128e6bb'::uuid;

-- Query #20622 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20623 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4818bcbd-7666-a26f-782c-6f48e3dcd1af'::uuid;

-- Query #20624 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4818bcbd-7666-a26f-782c-6f48e3dcd1af'::uuid]);

-- Query #20625 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4818bcbd-7666-a26f-782c-6f48e3dcd1af'::uuid;

-- Query #20626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4818bcbd-7666-a26f-782c-6f48e3dcd1af'::uuid, 'TvMaze', 2018320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4818bcbd-7666-a26f-782c-6f48e3dcd1af'::uuid, 'Tvdb', 8164840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20628 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4818bcbd-7666-a26f-782c-6f48e3dcd1af'::uuid;

-- Query #20629 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4818bcbd-7666-a26f-782c-6f48e3dcd1af'::uuid;

-- Query #20630 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20631 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4818bcbd-7666-a26f-782c-6f48e3dcd1af'::uuid]);

-- Query #20632 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4818bcbd-7666-a26f-782c-6f48e3dcd1af'::uuid;

-- Query #20633 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20634 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e43cac3b-d43b-f2f4-9553-01b2ce5bdebf'::uuid;

-- Query #20635 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e43cac3b-d43b-f2f4-9553-01b2ce5bdebf'::uuid]);

-- Query #20636 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e43cac3b-d43b-f2f4-9553-01b2ce5bdebf'::uuid;

-- Query #20637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e43cac3b-d43b-f2f4-9553-01b2ce5bdebf'::uuid, 'TvMaze', 2044513)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e43cac3b-d43b-f2f4-9553-01b2ce5bdebf'::uuid, 'Tvdb', 8290117)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20639 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e43cac3b-d43b-f2f4-9553-01b2ce5bdebf'::uuid;

-- Query #20640 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e43cac3b-d43b-f2f4-9553-01b2ce5bdebf'::uuid;

-- Query #20641 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20642 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e43cac3b-d43b-f2f4-9553-01b2ce5bdebf'::uuid]);

-- Query #20643 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e43cac3b-d43b-f2f4-9553-01b2ce5bdebf'::uuid;

-- Query #20644 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20645 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c06a6e44-7d0f-6964-a322-5135163bb967'::uuid;

-- Query #20646 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c06a6e44-7d0f-6964-a322-5135163bb967'::uuid]);

-- Query #20647 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c06a6e44-7d0f-6964-a322-5135163bb967'::uuid;

-- Query #20648 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c06a6e44-7d0f-6964-a322-5135163bb967'::uuid, 'TvMaze', 2051383)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20649 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c06a6e44-7d0f-6964-a322-5135163bb967'::uuid, 'Tvdb', 8310454)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20650 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c06a6e44-7d0f-6964-a322-5135163bb967'::uuid, 'Imdb', 'tt14171964')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20651 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c06a6e44-7d0f-6964-a322-5135163bb967'::uuid;

-- Query #20652 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c06a6e44-7d0f-6964-a322-5135163bb967'::uuid;

-- Query #20653 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c06a6e44-7d0f-6964-a322-5135163bb967'::uuid]);

-- Query #20654 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c06a6e44-7d0f-6964-a322-5135163bb967'::uuid;

-- Query #20655 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20656 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5a3fa3da-ec55-aa64-4095-a9f49b264050'::uuid;

-- Query #20657 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5a3fa3da-ec55-aa64-4095-a9f49b264050'::uuid]);

-- Query #20658 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5a3fa3da-ec55-aa64-4095-a9f49b264050'::uuid;

-- Query #20659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a3fa3da-ec55-aa64-4095-a9f49b264050'::uuid, 'TvMaze', 2051386)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a3fa3da-ec55-aa64-4095-a9f49b264050'::uuid, 'Tvdb', 8320147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20661 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5a3fa3da-ec55-aa64-4095-a9f49b264050'::uuid;

-- Query #20662 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5a3fa3da-ec55-aa64-4095-a9f49b264050'::uuid;

-- Query #20663 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20664 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5a3fa3da-ec55-aa64-4095-a9f49b264050'::uuid]);

-- Query #20665 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5a3fa3da-ec55-aa64-4095-a9f49b264050'::uuid;

-- Query #20666 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20667 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c816b77-22d2-0be5-1356-be91ed2b2c95'::uuid;

-- Query #20668 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9c816b77-22d2-0be5-1356-be91ed2b2c95'::uuid]);

-- Query #20669 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9c816b77-22d2-0be5-1356-be91ed2b2c95'::uuid;

-- Query #20670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c816b77-22d2-0be5-1356-be91ed2b2c95'::uuid, 'Imdb', 'tt14035704')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c816b77-22d2-0be5-1356-be91ed2b2c95'::uuid, 'TvMaze', 2018319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c816b77-22d2-0be5-1356-be91ed2b2c95'::uuid, 'Tvdb', 8164839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20673 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c816b77-22d2-0be5-1356-be91ed2b2c95'::uuid;

-- Query #20674 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9c816b77-22d2-0be5-1356-be91ed2b2c95'::uuid;

-- Query #20675 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9c816b77-22d2-0be5-1356-be91ed2b2c95'::uuid]);

-- Query #20676 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9c816b77-22d2-0be5-1356-be91ed2b2c95'::uuid;

-- Query #20677 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60d7340c-2492-fc64-52e0-5b3cab63d542'::uuid;

-- Query #20679 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['60d7340c-2492-fc64-52e0-5b3cab63d542'::uuid]);

-- Query #20680 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '60d7340c-2492-fc64-52e0-5b3cab63d542'::uuid;

-- Query #20681 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60d7340c-2492-fc64-52e0-5b3cab63d542'::uuid, 'Tvdb', 8380566)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20682 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60d7340c-2492-fc64-52e0-5b3cab63d542'::uuid, 'Imdb', 'tt14462214')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20683 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60d7340c-2492-fc64-52e0-5b3cab63d542'::uuid, 'TvMaze', 2051387)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20684 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60d7340c-2492-fc64-52e0-5b3cab63d542'::uuid;

-- Query #20685 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '60d7340c-2492-fc64-52e0-5b3cab63d542'::uuid;

-- Query #20686 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['60d7340c-2492-fc64-52e0-5b3cab63d542'::uuid]);

-- Query #20687 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '60d7340c-2492-fc64-52e0-5b3cab63d542'::uuid;

-- Query #20688 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20689 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6428c7dc-efbe-2983-3bc7-c4bc11d4914f'::uuid;

-- Query #20690 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6428c7dc-efbe-2983-3bc7-c4bc11d4914f'::uuid]);

-- Query #20691 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6428c7dc-efbe-2983-3bc7-c4bc11d4914f'::uuid;

-- Query #20692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6428c7dc-efbe-2983-3bc7-c4bc11d4914f'::uuid, 'TvMaze', 2044512)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6428c7dc-efbe-2983-3bc7-c4bc11d4914f'::uuid, 'Tvdb', 8289321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20694 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6428c7dc-efbe-2983-3bc7-c4bc11d4914f'::uuid;

-- Query #20695 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6428c7dc-efbe-2983-3bc7-c4bc11d4914f'::uuid;

-- Query #20696 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20697 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6428c7dc-efbe-2983-3bc7-c4bc11d4914f'::uuid]);

-- Query #20698 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6428c7dc-efbe-2983-3bc7-c4bc11d4914f'::uuid;

-- Query #20699 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20700 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e549e6e-aa86-ae10-da3d-6f6df26c6a6a'::uuid;

-- Query #20701 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4e549e6e-aa86-ae10-da3d-6f6df26c6a6a'::uuid]);

-- Query #20702 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4e549e6e-aa86-ae10-da3d-6f6df26c6a6a'::uuid;

-- Query #20703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e549e6e-aa86-ae10-da3d-6f6df26c6a6a'::uuid, 'Imdb', 'tt14171950')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e549e6e-aa86-ae10-da3d-6f6df26c6a6a'::uuid, 'TvMaze', 2039385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e549e6e-aa86-ae10-da3d-6f6df26c6a6a'::uuid, 'Tvdb', 8238953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20706 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e549e6e-aa86-ae10-da3d-6f6df26c6a6a'::uuid;

-- Query #20707 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4e549e6e-aa86-ae10-da3d-6f6df26c6a6a'::uuid;

-- Query #20708 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4e549e6e-aa86-ae10-da3d-6f6df26c6a6a'::uuid]);

-- Query #20709 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4e549e6e-aa86-ae10-da3d-6f6df26c6a6a'::uuid;

-- Query #20710 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20711 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7c3d00e3-9285-85fb-461e-cfd6a09651d3'::uuid;

-- Query #20712 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7c3d00e3-9285-85fb-461e-cfd6a09651d3'::uuid]);

-- Query #20713 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7c3d00e3-9285-85fb-461e-cfd6a09651d3'::uuid;

-- Query #20714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c3d00e3-9285-85fb-461e-cfd6a09651d3'::uuid, 'Imdb', 'tt14035682')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c3d00e3-9285-85fb-461e-cfd6a09651d3'::uuid, 'TvMaze', 2009075)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c3d00e3-9285-85fb-461e-cfd6a09651d3'::uuid, 'Tvdb', 8136983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20717 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7c3d00e3-9285-85fb-461e-cfd6a09651d3'::uuid;

-- Query #20718 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7c3d00e3-9285-85fb-461e-cfd6a09651d3'::uuid;

-- Query #20719 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7c3d00e3-9285-85fb-461e-cfd6a09651d3'::uuid]);

-- Query #20720 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7c3d00e3-9285-85fb-461e-cfd6a09651d3'::uuid;

-- Query #20721 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20722 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14055787-45d6-0347-01a7-6a72b6502706'::uuid;

-- Query #20723 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14055787-45d6-0347-01a7-6a72b6502706'::uuid]);

-- Query #20724 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '14055787-45d6-0347-01a7-6a72b6502706'::uuid;

-- Query #20725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14055787-45d6-0347-01a7-6a72b6502706'::uuid, 'TvMaze', 2051384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20726 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14055787-45d6-0347-01a7-6a72b6502706'::uuid, 'Tvdb', 8320145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20727 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14055787-45d6-0347-01a7-6a72b6502706'::uuid;

-- Query #20728 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '14055787-45d6-0347-01a7-6a72b6502706'::uuid;

-- Query #20729 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20730 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['14055787-45d6-0347-01a7-6a72b6502706'::uuid]);

-- Query #20731 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '14055787-45d6-0347-01a7-6a72b6502706'::uuid;

-- Query #20732 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20733 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8f456940-79da-520d-68ab-b15596de63d7'::uuid;

-- Query #20734 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f456940-79da-520d-68ab-b15596de63d7'::uuid]);

-- Query #20735 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8f456940-79da-520d-68ab-b15596de63d7'::uuid;

-- Query #20736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f456940-79da-520d-68ab-b15596de63d7'::uuid, 'Imdb', 'tt15439248')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f456940-79da-520d-68ab-b15596de63d7'::uuid, 'TvMaze', 2183114)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f456940-79da-520d-68ab-b15596de63d7'::uuid, 'Tvdb', 8678074)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20739 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8f456940-79da-520d-68ab-b15596de63d7'::uuid;

-- Query #20740 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8f456940-79da-520d-68ab-b15596de63d7'::uuid;

-- Query #20741 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8f456940-79da-520d-68ab-b15596de63d7'::uuid]);

-- Query #20742 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8f456940-79da-520d-68ab-b15596de63d7'::uuid;

-- Query #20743 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20744 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '222773a5-6ec6-af7d-bce9-adf24d4aa0df'::uuid;

-- Query #20745 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['222773a5-6ec6-af7d-bce9-adf24d4aa0df'::uuid]);

-- Query #20746 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '222773a5-6ec6-af7d-bce9-adf24d4aa0df'::uuid;

-- Query #20747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('222773a5-6ec6-af7d-bce9-adf24d4aa0df'::uuid, 'TvMaze', 2156053)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('222773a5-6ec6-af7d-bce9-adf24d4aa0df'::uuid, 'Tvdb', 8632192)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20749 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '222773a5-6ec6-af7d-bce9-adf24d4aa0df'::uuid;

-- Query #20750 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '222773a5-6ec6-af7d-bce9-adf24d4aa0df'::uuid;

-- Query #20751 | logged_duration_ms=7 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20752 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['222773a5-6ec6-af7d-bce9-adf24d4aa0df'::uuid]);

-- Query #20753 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '222773a5-6ec6-af7d-bce9-adf24d4aa0df'::uuid;

-- Query #20754 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20755 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b33148bb-d017-f8d6-8800-a10fd75aedc7'::uuid;

-- Query #20756 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b33148bb-d017-f8d6-8800-a10fd75aedc7'::uuid]);

-- Query #20757 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b33148bb-d017-f8d6-8800-a10fd75aedc7'::uuid;

-- Query #20758 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b33148bb-d017-f8d6-8800-a10fd75aedc7'::uuid, 'TvMaze', 2187745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20759 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b33148bb-d017-f8d6-8800-a10fd75aedc7'::uuid, 'Tvdb', 8740538)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20760 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b33148bb-d017-f8d6-8800-a10fd75aedc7'::uuid;

-- Query #20761 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b33148bb-d017-f8d6-8800-a10fd75aedc7'::uuid;

-- Query #20762 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20763 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b33148bb-d017-f8d6-8800-a10fd75aedc7'::uuid]);

-- Query #20764 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b33148bb-d017-f8d6-8800-a10fd75aedc7'::uuid;

-- Query #20765 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20766 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11d39158-3a57-ae25-984a-85a209d9b4d9'::uuid;

-- Query #20767 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11d39158-3a57-ae25-984a-85a209d9b4d9'::uuid]);

-- Query #20768 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '11d39158-3a57-ae25-984a-85a209d9b4d9'::uuid;

-- Query #20769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11d39158-3a57-ae25-984a-85a209d9b4d9'::uuid, 'TvMaze', 2205544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11d39158-3a57-ae25-984a-85a209d9b4d9'::uuid, 'Tvdb', 8805610)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20771 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11d39158-3a57-ae25-984a-85a209d9b4d9'::uuid;

-- Query #20772 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '11d39158-3a57-ae25-984a-85a209d9b4d9'::uuid;

-- Query #20773 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20774 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['11d39158-3a57-ae25-984a-85a209d9b4d9'::uuid]);

-- Query #20775 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '11d39158-3a57-ae25-984a-85a209d9b4d9'::uuid;

-- Query #20776 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20777 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21524f98-b3d4-97bb-d368-3c442b63a1df'::uuid;

-- Query #20778 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['21524f98-b3d4-97bb-d368-3c442b63a1df'::uuid]);

-- Query #20779 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '21524f98-b3d4-97bb-d368-3c442b63a1df'::uuid;

-- Query #20780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21524f98-b3d4-97bb-d368-3c442b63a1df'::uuid, 'TvMaze', 2156052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21524f98-b3d4-97bb-d368-3c442b63a1df'::uuid, 'Tvdb', 8632191)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20782 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21524f98-b3d4-97bb-d368-3c442b63a1df'::uuid;

-- Query #20783 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '21524f98-b3d4-97bb-d368-3c442b63a1df'::uuid;

-- Query #20784 | logged_duration_ms=7 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20785 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['21524f98-b3d4-97bb-d368-3c442b63a1df'::uuid]);

-- Query #20786 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '21524f98-b3d4-97bb-d368-3c442b63a1df'::uuid;

-- Query #20787 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20788 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1158449d-20f3-3269-7c6c-5b2001c52ac5'::uuid;

-- Query #20789 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1158449d-20f3-3269-7c6c-5b2001c52ac5'::uuid]);

-- Query #20790 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1158449d-20f3-3269-7c6c-5b2001c52ac5'::uuid;

-- Query #20791 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1158449d-20f3-3269-7c6c-5b2001c52ac5'::uuid, 'TvMaze', 2156051)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1158449d-20f3-3269-7c6c-5b2001c52ac5'::uuid, 'Tvdb', 8632190)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20793 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1158449d-20f3-3269-7c6c-5b2001c52ac5'::uuid;

-- Query #20794 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1158449d-20f3-3269-7c6c-5b2001c52ac5'::uuid;

-- Query #20795 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20796 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1158449d-20f3-3269-7c6c-5b2001c52ac5'::uuid]);

-- Query #20797 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1158449d-20f3-3269-7c6c-5b2001c52ac5'::uuid;

-- Query #20798 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20799 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '876ead7b-d0a7-5c99-6948-782d0fda4bd7'::uuid;

-- Query #20800 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['876ead7b-d0a7-5c99-6948-782d0fda4bd7'::uuid]);

-- Query #20801 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '876ead7b-d0a7-5c99-6948-782d0fda4bd7'::uuid;

-- Query #20802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('876ead7b-d0a7-5c99-6948-782d0fda4bd7'::uuid, 'TvMaze', 2134727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('876ead7b-d0a7-5c99-6948-782d0fda4bd7'::uuid, 'Tvdb', 8507056)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20804 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '876ead7b-d0a7-5c99-6948-782d0fda4bd7'::uuid;

-- Query #20805 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '876ead7b-d0a7-5c99-6948-782d0fda4bd7'::uuid;

-- Query #20806 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20807 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['876ead7b-d0a7-5c99-6948-782d0fda4bd7'::uuid]);

-- Query #20808 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '876ead7b-d0a7-5c99-6948-782d0fda4bd7'::uuid;

-- Query #20809 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20810 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c2570987-b4ca-80a3-4442-9645d75729bd'::uuid;

-- Query #20811 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c2570987-b4ca-80a3-4442-9645d75729bd'::uuid]);

-- Query #20812 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c2570987-b4ca-80a3-4442-9645d75729bd'::uuid;

-- Query #20813 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2570987-b4ca-80a3-4442-9645d75729bd'::uuid, 'TvMaze', 2183391)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20814 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2570987-b4ca-80a3-4442-9645d75729bd'::uuid, 'Tvdb', 8740536)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20815 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c2570987-b4ca-80a3-4442-9645d75729bd'::uuid;

-- Query #20816 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c2570987-b4ca-80a3-4442-9645d75729bd'::uuid;

-- Query #20817 | logged_duration_ms=7 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20818 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c2570987-b4ca-80a3-4442-9645d75729bd'::uuid]);

-- Query #20819 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c2570987-b4ca-80a3-4442-9645d75729bd'::uuid;

-- Query #20820 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20821 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #20822 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1517750e-6736-fed9-1f44-a14b1a97e4ad'::uuid;

-- Query #20823 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1517750e-6736-fed9-1f44-a14b1a97e4ad'::uuid]);

-- Query #20824 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1517750e-6736-fed9-1f44-a14b1a97e4ad'::uuid;

-- Query #20825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1517750e-6736-fed9-1f44-a14b1a97e4ad'::uuid, 'TvMaze', 2138271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1517750e-6736-fed9-1f44-a14b1a97e4ad'::uuid, 'Tvdb', 8610573)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20827 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1517750e-6736-fed9-1f44-a14b1a97e4ad'::uuid;

-- Query #20828 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1517750e-6736-fed9-1f44-a14b1a97e4ad'::uuid;

-- Query #20829 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20830 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1517750e-6736-fed9-1f44-a14b1a97e4ad'::uuid]);

-- Query #20831 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1517750e-6736-fed9-1f44-a14b1a97e4ad'::uuid;

-- Query #20832 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20833 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9b658cb7-2434-79d0-946b-c3f9770226eb'::uuid;

-- Query #20834 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9b658cb7-2434-79d0-946b-c3f9770226eb'::uuid]);

-- Query #20835 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9b658cb7-2434-79d0-946b-c3f9770226eb'::uuid;

-- Query #20836 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b658cb7-2434-79d0-946b-c3f9770226eb'::uuid, 'TvMaze', 2156054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b658cb7-2434-79d0-946b-c3f9770226eb'::uuid, 'Tvdb', 8678073)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20838 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9b658cb7-2434-79d0-946b-c3f9770226eb'::uuid;

-- Query #20839 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9b658cb7-2434-79d0-946b-c3f9770226eb'::uuid;

-- Query #20840 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20841 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9b658cb7-2434-79d0-946b-c3f9770226eb'::uuid]);

-- Query #20842 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9b658cb7-2434-79d0-946b-c3f9770226eb'::uuid;

-- Query #20843 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20844 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ee1842c-e3f9-f758-4376-2a469a24bbef'::uuid;

-- Query #20845 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ee1842c-e3f9-f758-4376-2a469a24bbef'::uuid]);

-- Query #20846 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1ee1842c-e3f9-f758-4376-2a469a24bbef'::uuid;

-- Query #20847 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ee1842c-e3f9-f758-4376-2a469a24bbef'::uuid, 'TvMaze', 2126805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20848 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ee1842c-e3f9-f758-4376-2a469a24bbef'::uuid, 'Tvdb', 8507055)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20849 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ee1842c-e3f9-f758-4376-2a469a24bbef'::uuid;

-- Query #20850 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1ee1842c-e3f9-f758-4376-2a469a24bbef'::uuid;

-- Query #20851 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20852 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1ee1842c-e3f9-f758-4376-2a469a24bbef'::uuid]);

-- Query #20853 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1ee1842c-e3f9-f758-4376-2a469a24bbef'::uuid;

-- Query #20854 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20855 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0206ab8f-bb38-365b-015b-43f8b1ecdc42'::uuid;

-- Query #20856 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0206ab8f-bb38-365b-015b-43f8b1ecdc42'::uuid]);

-- Query #20857 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0206ab8f-bb38-365b-015b-43f8b1ecdc42'::uuid;

-- Query #20858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0206ab8f-bb38-365b-015b-43f8b1ecdc42'::uuid, 'Imdb', 'tt15737422')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0206ab8f-bb38-365b-015b-43f8b1ecdc42'::uuid, 'TvMaze', 2187746)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0206ab8f-bb38-365b-015b-43f8b1ecdc42'::uuid, 'Tvdb', 8740539)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20861 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0206ab8f-bb38-365b-015b-43f8b1ecdc42'::uuid;

-- Query #20862 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0206ab8f-bb38-365b-015b-43f8b1ecdc42'::uuid;

-- Query #20863 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0206ab8f-bb38-365b-015b-43f8b1ecdc42'::uuid]);

-- Query #20864 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0206ab8f-bb38-365b-015b-43f8b1ecdc42'::uuid;

-- Query #20865 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20866 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a7de4403-ca32-0a2f-32e4-e5b21be190a2'::uuid;

-- Query #20867 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a7de4403-ca32-0a2f-32e4-e5b21be190a2'::uuid]);

-- Query #20868 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a7de4403-ca32-0a2f-32e4-e5b21be190a2'::uuid;

-- Query #20869 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7de4403-ca32-0a2f-32e4-e5b21be190a2'::uuid, 'TvMaze', 2138270)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7de4403-ca32-0a2f-32e4-e5b21be190a2'::uuid, 'Tvdb', 8608145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20871 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a7de4403-ca32-0a2f-32e4-e5b21be190a2'::uuid;

-- Query #20872 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a7de4403-ca32-0a2f-32e4-e5b21be190a2'::uuid;

-- Query #20873 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20874 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a7de4403-ca32-0a2f-32e4-e5b21be190a2'::uuid]);

-- Query #20875 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a7de4403-ca32-0a2f-32e4-e5b21be190a2'::uuid;

-- Query #20876 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20877 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ee3f2b4-8597-bead-2f37-603b7206a639'::uuid;

-- Query #20878 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ee3f2b4-8597-bead-2f37-603b7206a639'::uuid]);

-- Query #20879 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0ee3f2b4-8597-bead-2f37-603b7206a639'::uuid;

-- Query #20880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ee3f2b4-8597-bead-2f37-603b7206a639'::uuid, 'Tvdb', 8610574)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ee3f2b4-8597-bead-2f37-603b7206a639'::uuid, 'Imdb', 'tt15135840')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ee3f2b4-8597-bead-2f37-603b7206a639'::uuid, 'TvMaze', 2138272)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20883 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ee3f2b4-8597-bead-2f37-603b7206a639'::uuid;

-- Query #20884 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0ee3f2b4-8597-bead-2f37-603b7206a639'::uuid;

-- Query #20885 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0ee3f2b4-8597-bead-2f37-603b7206a639'::uuid]);

-- Query #20886 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0ee3f2b4-8597-bead-2f37-603b7206a639'::uuid;

-- Query #20887 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20888 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a60a2ec-d8a8-696b-064f-ef3be91a0a1c'::uuid;

-- Query #20889 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a60a2ec-d8a8-696b-064f-ef3be91a0a1c'::uuid]);

-- Query #20890 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6a60a2ec-d8a8-696b-064f-ef3be91a0a1c'::uuid;

-- Query #20891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a60a2ec-d8a8-696b-064f-ef3be91a0a1c'::uuid, 'Imdb', 'tt16021118')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a60a2ec-d8a8-696b-064f-ef3be91a0a1c'::uuid, 'TvMaze', 2205545)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a60a2ec-d8a8-696b-064f-ef3be91a0a1c'::uuid, 'Tvdb', 8805611)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20894 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a60a2ec-d8a8-696b-064f-ef3be91a0a1c'::uuid;

-- Query #20895 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6a60a2ec-d8a8-696b-064f-ef3be91a0a1c'::uuid;

-- Query #20896 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6a60a2ec-d8a8-696b-064f-ef3be91a0a1c'::uuid]);

-- Query #20897 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6a60a2ec-d8a8-696b-064f-ef3be91a0a1c'::uuid;

-- Query #20898 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20899 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '47fb8344-77c9-9092-5f08-0bf18a36c52d'::uuid;

-- Query #20900 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['47fb8344-77c9-9092-5f08-0bf18a36c52d'::uuid]);

-- Query #20901 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '47fb8344-77c9-9092-5f08-0bf18a36c52d'::uuid;

-- Query #20902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47fb8344-77c9-9092-5f08-0bf18a36c52d'::uuid, 'TvMaze', 2205546)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47fb8344-77c9-9092-5f08-0bf18a36c52d'::uuid, 'Tvdb', 8805612)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20904 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '47fb8344-77c9-9092-5f08-0bf18a36c52d'::uuid;

-- Query #20905 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '47fb8344-77c9-9092-5f08-0bf18a36c52d'::uuid;

-- Query #20906 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20907 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['47fb8344-77c9-9092-5f08-0bf18a36c52d'::uuid]);

-- Query #20908 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '47fb8344-77c9-9092-5f08-0bf18a36c52d'::uuid;

-- Query #20909 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20910 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba324b1a-302d-3c08-fd7c-19868a36c056'::uuid;

-- Query #20911 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba324b1a-302d-3c08-fd7c-19868a36c056'::uuid]);

-- Query #20912 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ba324b1a-302d-3c08-fd7c-19868a36c056'::uuid;

-- Query #20913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba324b1a-302d-3c08-fd7c-19868a36c056'::uuid, 'TvMaze', 2187744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba324b1a-302d-3c08-fd7c-19868a36c056'::uuid, 'Tvdb', 8740537)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba324b1a-302d-3c08-fd7c-19868a36c056'::uuid;

-- Query #20916 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ba324b1a-302d-3c08-fd7c-19868a36c056'::uuid;

-- Query #20917 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20918 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ba324b1a-302d-3c08-fd7c-19868a36c056'::uuid]);

-- Query #20919 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ba324b1a-302d-3c08-fd7c-19868a36c056'::uuid;

-- Query #20920 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20921 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0e7b8b1-1fd2-3cfa-01fa-c6771dc5c6b2'::uuid;

-- Query #20922 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0e7b8b1-1fd2-3cfa-01fa-c6771dc5c6b2'::uuid]);

-- Query #20923 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c0e7b8b1-1fd2-3cfa-01fa-c6771dc5c6b2'::uuid;

-- Query #20924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0e7b8b1-1fd2-3cfa-01fa-c6771dc5c6b2'::uuid, 'Tvdb', 8598644)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0e7b8b1-1fd2-3cfa-01fa-c6771dc5c6b2'::uuid, 'Imdb', 'tt15135794')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0e7b8b1-1fd2-3cfa-01fa-c6771dc5c6b2'::uuid, 'TvMaze', 2138269)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20927 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0e7b8b1-1fd2-3cfa-01fa-c6771dc5c6b2'::uuid;

-- Query #20928 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c0e7b8b1-1fd2-3cfa-01fa-c6771dc5c6b2'::uuid;

-- Query #20929 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c0e7b8b1-1fd2-3cfa-01fa-c6771dc5c6b2'::uuid]);

-- Query #20930 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c0e7b8b1-1fd2-3cfa-01fa-c6771dc5c6b2'::uuid;

-- Query #20931 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88e28957-e6ee-c47e-9a96-e414672407eb'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20932 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5af2f30-ec76-f87c-5bf0-b3b2a6254ccf'::uuid;

-- Query #20933 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5af2f30-ec76-f87c-5bf0-b3b2a6254ccf'::uuid]);

-- Query #20934 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e5af2f30-ec76-f87c-5bf0-b3b2a6254ccf'::uuid;

-- Query #20935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5af2f30-ec76-f87c-5bf0-b3b2a6254ccf'::uuid, 'TvMaze', 2297771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5af2f30-ec76-f87c-5bf0-b3b2a6254ccf'::uuid, 'Tvdb', 9083642)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20937 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5af2f30-ec76-f87c-5bf0-b3b2a6254ccf'::uuid;

-- Query #20938 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e5af2f30-ec76-f87c-5bf0-b3b2a6254ccf'::uuid;

-- Query #20939 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20940 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e5af2f30-ec76-f87c-5bf0-b3b2a6254ccf'::uuid]);

-- Query #20941 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e5af2f30-ec76-f87c-5bf0-b3b2a6254ccf'::uuid;

-- Query #20942 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20943 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '22552e8f-2b16-c200-8b09-e0872e85872d'::uuid;

-- Query #20944 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['22552e8f-2b16-c200-8b09-e0872e85872d'::uuid]);

-- Query #20945 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '22552e8f-2b16-c200-8b09-e0872e85872d'::uuid;

-- Query #20946 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22552e8f-2b16-c200-8b09-e0872e85872d'::uuid, 'Imdb', 'tt16739452')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22552e8f-2b16-c200-8b09-e0872e85872d'::uuid, 'TvMaze', 2248352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22552e8f-2b16-c200-8b09-e0872e85872d'::uuid, 'Tvdb', 8926910)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20949 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '22552e8f-2b16-c200-8b09-e0872e85872d'::uuid;

-- Query #20950 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '22552e8f-2b16-c200-8b09-e0872e85872d'::uuid;

-- Query #20951 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['22552e8f-2b16-c200-8b09-e0872e85872d'::uuid]);

-- Query #20952 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '22552e8f-2b16-c200-8b09-e0872e85872d'::uuid;

-- Query #20953 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95b39658-22f3-78a7-24f1-03635e526156'::uuid;

-- Query #20955 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b39658-22f3-78a7-24f1-03635e526156'::uuid]);

-- Query #20956 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '95b39658-22f3-78a7-24f1-03635e526156'::uuid;

-- Query #20957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95b39658-22f3-78a7-24f1-03635e526156'::uuid, 'Imdb', 'tt17219418')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20958 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95b39658-22f3-78a7-24f1-03635e526156'::uuid, 'Tvdb', 8926911)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20959 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95b39658-22f3-78a7-24f1-03635e526156'::uuid, 'TvMaze', 2248353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20960 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95b39658-22f3-78a7-24f1-03635e526156'::uuid;

-- Query #20961 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '95b39658-22f3-78a7-24f1-03635e526156'::uuid;

-- Query #20962 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['95b39658-22f3-78a7-24f1-03635e526156'::uuid]);

-- Query #20963 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '95b39658-22f3-78a7-24f1-03635e526156'::uuid;

-- Query #20964 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20965 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '98279a04-85d8-2190-c937-ae81077debb7'::uuid;

-- Query #20966 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['98279a04-85d8-2190-c937-ae81077debb7'::uuid]);

-- Query #20967 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '98279a04-85d8-2190-c937-ae81077debb7'::uuid;

-- Query #20968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98279a04-85d8-2190-c937-ae81077debb7'::uuid, 'TvMaze', 2322285)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20969 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98279a04-85d8-2190-c937-ae81077debb7'::uuid, 'Tvdb', 9136210)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20970 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '98279a04-85d8-2190-c937-ae81077debb7'::uuid;

-- Query #20971 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '98279a04-85d8-2190-c937-ae81077debb7'::uuid;

-- Query #20972 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20973 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['98279a04-85d8-2190-c937-ae81077debb7'::uuid]);

-- Query #20974 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '98279a04-85d8-2190-c937-ae81077debb7'::uuid;

-- Query #20975 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20976 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36b449d6-d8f9-fa78-c662-eef7b2ea3317'::uuid;

-- Query #20977 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['36b449d6-d8f9-fa78-c662-eef7b2ea3317'::uuid]);

-- Query #20978 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '36b449d6-d8f9-fa78-c662-eef7b2ea3317'::uuid;

-- Query #20979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36b449d6-d8f9-fa78-c662-eef7b2ea3317'::uuid, 'TvMaze', 2322286)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36b449d6-d8f9-fa78-c662-eef7b2ea3317'::uuid, 'Tvdb', 9136211)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20981 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36b449d6-d8f9-fa78-c662-eef7b2ea3317'::uuid;

-- Query #20982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '36b449d6-d8f9-fa78-c662-eef7b2ea3317'::uuid;

-- Query #20983 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #20984 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['36b449d6-d8f9-fa78-c662-eef7b2ea3317'::uuid]);

-- Query #20985 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '36b449d6-d8f9-fa78-c662-eef7b2ea3317'::uuid;

-- Query #20986 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7586199-abac-8822-f49f-eb56bcf00590'::uuid;

-- Query #20988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7586199-abac-8822-f49f-eb56bcf00590'::uuid]);

-- Query #20989 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c7586199-abac-8822-f49f-eb56bcf00590'::uuid;

-- Query #20990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7586199-abac-8822-f49f-eb56bcf00590'::uuid, 'Imdb', 'tt17219450')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7586199-abac-8822-f49f-eb56bcf00590'::uuid, 'TvMaze', 2266850)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7586199-abac-8822-f49f-eb56bcf00590'::uuid, 'Tvdb', 8968232)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #20993 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7586199-abac-8822-f49f-eb56bcf00590'::uuid;

-- Query #20994 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c7586199-abac-8822-f49f-eb56bcf00590'::uuid;

-- Query #20995 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c7586199-abac-8822-f49f-eb56bcf00590'::uuid]);

-- Query #20996 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c7586199-abac-8822-f49f-eb56bcf00590'::uuid;

-- Query #20997 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #20998 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58287e83-c7ed-f123-323a-1386b821a91a'::uuid;

-- Query #20999 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58287e83-c7ed-f123-323a-1386b821a91a'::uuid]);

-- Query #21000 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '58287e83-c7ed-f123-323a-1386b821a91a'::uuid;

-- Query #21001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58287e83-c7ed-f123-323a-1386b821a91a'::uuid, 'Imdb', 'tt18317536')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58287e83-c7ed-f123-323a-1386b821a91a'::uuid, 'TvMaze', 2284437)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58287e83-c7ed-f123-323a-1386b821a91a'::uuid, 'Tvdb', 9032288)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21004 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58287e83-c7ed-f123-323a-1386b821a91a'::uuid;

-- Query #21005 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '58287e83-c7ed-f123-323a-1386b821a91a'::uuid;

-- Query #21006 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['58287e83-c7ed-f123-323a-1386b821a91a'::uuid]);

-- Query #21007 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '58287e83-c7ed-f123-323a-1386b821a91a'::uuid;

-- Query #21008 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21009 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4015826b-eeba-1ea7-76ad-9397d2294fc2'::uuid;

-- Query #21010 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4015826b-eeba-1ea7-76ad-9397d2294fc2'::uuid]);

-- Query #21011 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4015826b-eeba-1ea7-76ad-9397d2294fc2'::uuid;

-- Query #21012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4015826b-eeba-1ea7-76ad-9397d2294fc2'::uuid, 'Imdb', 'tt19299736')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4015826b-eeba-1ea7-76ad-9397d2294fc2'::uuid, 'TvMaze', 2297761)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4015826b-eeba-1ea7-76ad-9397d2294fc2'::uuid, 'Tvdb', 9083640)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21015 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4015826b-eeba-1ea7-76ad-9397d2294fc2'::uuid;

-- Query #21016 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4015826b-eeba-1ea7-76ad-9397d2294fc2'::uuid;

-- Query #21017 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4015826b-eeba-1ea7-76ad-9397d2294fc2'::uuid]);

-- Query #21018 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4015826b-eeba-1ea7-76ad-9397d2294fc2'::uuid;

-- Query #21019 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21020 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '218b3cdc-0314-6f4b-890c-6b3e48d80fcc'::uuid;

-- Query #21021 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['218b3cdc-0314-6f4b-890c-6b3e48d80fcc'::uuid]);

-- Query #21022 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '218b3cdc-0314-6f4b-890c-6b3e48d80fcc'::uuid;

-- Query #21023 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('218b3cdc-0314-6f4b-890c-6b3e48d80fcc'::uuid, 'TvMaze', 2266849)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('218b3cdc-0314-6f4b-890c-6b3e48d80fcc'::uuid, 'Tvdb', 8968231)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('218b3cdc-0314-6f4b-890c-6b3e48d80fcc'::uuid, 'Imdb', 'tt17219436')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21026 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '218b3cdc-0314-6f4b-890c-6b3e48d80fcc'::uuid;

-- Query #21027 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '218b3cdc-0314-6f4b-890c-6b3e48d80fcc'::uuid;

-- Query #21028 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['218b3cdc-0314-6f4b-890c-6b3e48d80fcc'::uuid]);

-- Query #21029 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '218b3cdc-0314-6f4b-890c-6b3e48d80fcc'::uuid;

-- Query #21030 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21031 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0cfbe885-3d42-d032-6b5a-038b5980db0f'::uuid;

-- Query #21032 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0cfbe885-3d42-d032-6b5a-038b5980db0f'::uuid]);

-- Query #21033 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0cfbe885-3d42-d032-6b5a-038b5980db0f'::uuid;

-- Query #21034 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0cfbe885-3d42-d032-6b5a-038b5980db0f'::uuid, 'TvMaze', 2284438)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0cfbe885-3d42-d032-6b5a-038b5980db0f'::uuid, 'Tvdb', 9032289)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21036 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0cfbe885-3d42-d032-6b5a-038b5980db0f'::uuid;

-- Query #21037 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0cfbe885-3d42-d032-6b5a-038b5980db0f'::uuid;

-- Query #21038 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21039 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0cfbe885-3d42-d032-6b5a-038b5980db0f'::uuid]);

-- Query #21040 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0cfbe885-3d42-d032-6b5a-038b5980db0f'::uuid;

-- Query #21041 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21042 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #21043 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '243b6fc9-2e88-7828-ed8c-022a3a3d99ea'::uuid;

-- Query #21044 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['243b6fc9-2e88-7828-ed8c-022a3a3d99ea'::uuid]);

-- Query #21045 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '243b6fc9-2e88-7828-ed8c-022a3a3d99ea'::uuid;

-- Query #21046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('243b6fc9-2e88-7828-ed8c-022a3a3d99ea'::uuid, 'Imdb', 'tt16739424')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('243b6fc9-2e88-7828-ed8c-022a3a3d99ea'::uuid, 'TvMaze', 2248351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('243b6fc9-2e88-7828-ed8c-022a3a3d99ea'::uuid, 'Tvdb', 8926909)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21049 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '243b6fc9-2e88-7828-ed8c-022a3a3d99ea'::uuid;

-- Query #21050 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '243b6fc9-2e88-7828-ed8c-022a3a3d99ea'::uuid;

-- Query #21051 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['243b6fc9-2e88-7828-ed8c-022a3a3d99ea'::uuid]);

-- Query #21052 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '243b6fc9-2e88-7828-ed8c-022a3a3d99ea'::uuid;

-- Query #21053 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21054 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d1f855c-d098-17d5-5063-4ebb7f644814'::uuid;

-- Query #21055 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d1f855c-d098-17d5-5063-4ebb7f644814'::uuid]);

-- Query #21056 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2d1f855c-d098-17d5-5063-4ebb7f644814'::uuid;

-- Query #21057 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d1f855c-d098-17d5-5063-4ebb7f644814'::uuid, 'TvMaze', 2297765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d1f855c-d098-17d5-5063-4ebb7f644814'::uuid, 'Tvdb', 9083641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21059 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d1f855c-d098-17d5-5063-4ebb7f644814'::uuid;

-- Query #21060 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2d1f855c-d098-17d5-5063-4ebb7f644814'::uuid;

-- Query #21061 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21062 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2d1f855c-d098-17d5-5063-4ebb7f644814'::uuid]);

-- Query #21063 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2d1f855c-d098-17d5-5063-4ebb7f644814'::uuid;

-- Query #21064 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21065 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8bbcdd0f-8b4f-1c0d-c9a1-6963a0156bb7'::uuid;

-- Query #21066 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8bbcdd0f-8b4f-1c0d-c9a1-6963a0156bb7'::uuid]);

-- Query #21067 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8bbcdd0f-8b4f-1c0d-c9a1-6963a0156bb7'::uuid;

-- Query #21068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bbcdd0f-8b4f-1c0d-c9a1-6963a0156bb7'::uuid, 'TvMaze', 2297754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bbcdd0f-8b4f-1c0d-c9a1-6963a0156bb7'::uuid, 'Tvdb', 9083639)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21070 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8bbcdd0f-8b4f-1c0d-c9a1-6963a0156bb7'::uuid;

-- Query #21071 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8bbcdd0f-8b4f-1c0d-c9a1-6963a0156bb7'::uuid;

-- Query #21072 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21073 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8bbcdd0f-8b4f-1c0d-c9a1-6963a0156bb7'::uuid]);

-- Query #21074 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8bbcdd0f-8b4f-1c0d-c9a1-6963a0156bb7'::uuid;

-- Query #21075 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21076 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1a83916b-d7e7-8582-1223-44ee8a38dd00'::uuid;

-- Query #21077 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1a83916b-d7e7-8582-1223-44ee8a38dd00'::uuid]);

-- Query #21078 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1a83916b-d7e7-8582-1223-44ee8a38dd00'::uuid;

-- Query #21079 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a83916b-d7e7-8582-1223-44ee8a38dd00'::uuid, 'Imdb', 'tt18830938')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a83916b-d7e7-8582-1223-44ee8a38dd00'::uuid, 'TvMaze', 2297749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21081 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1a83916b-d7e7-8582-1223-44ee8a38dd00'::uuid, 'Tvdb', 9032291)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21082 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1a83916b-d7e7-8582-1223-44ee8a38dd00'::uuid;

-- Query #21083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1a83916b-d7e7-8582-1223-44ee8a38dd00'::uuid;

-- Query #21084 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1a83916b-d7e7-8582-1223-44ee8a38dd00'::uuid]);

-- Query #21085 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1a83916b-d7e7-8582-1223-44ee8a38dd00'::uuid;

-- Query #21086 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21087 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89edff9b-eb26-9222-63ce-5c2329eebaa1'::uuid;

-- Query #21088 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['89edff9b-eb26-9222-63ce-5c2329eebaa1'::uuid]);

-- Query #21089 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '89edff9b-eb26-9222-63ce-5c2329eebaa1'::uuid;

-- Query #21090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89edff9b-eb26-9222-63ce-5c2329eebaa1'::uuid, 'Imdb', 'tt17219316')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89edff9b-eb26-9222-63ce-5c2329eebaa1'::uuid, 'TvMaze', 2266851)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89edff9b-eb26-9222-63ce-5c2329eebaa1'::uuid, 'Tvdb', 8968233)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21093 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89edff9b-eb26-9222-63ce-5c2329eebaa1'::uuid;

-- Query #21094 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '89edff9b-eb26-9222-63ce-5c2329eebaa1'::uuid;

-- Query #21095 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['89edff9b-eb26-9222-63ce-5c2329eebaa1'::uuid]);

-- Query #21096 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '89edff9b-eb26-9222-63ce-5c2329eebaa1'::uuid;

-- Query #21097 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21098 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd4481247-b64c-c139-1324-371e3eabebeb'::uuid;

-- Query #21099 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d4481247-b64c-c139-1324-371e3eabebeb'::uuid]);

-- Query #21100 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd4481247-b64c-c139-1324-371e3eabebeb'::uuid;

-- Query #21101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4481247-b64c-c139-1324-371e3eabebeb'::uuid, 'Imdb', 'tt16425358')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4481247-b64c-c139-1324-371e3eabebeb'::uuid, 'TvMaze', 2220323)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4481247-b64c-c139-1324-371e3eabebeb'::uuid, 'Tvdb', 8852215)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21104 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd4481247-b64c-c139-1324-371e3eabebeb'::uuid;

-- Query #21105 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd4481247-b64c-c139-1324-371e3eabebeb'::uuid;

-- Query #21106 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d4481247-b64c-c139-1324-371e3eabebeb'::uuid]);

-- Query #21107 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd4481247-b64c-c139-1324-371e3eabebeb'::uuid;

-- Query #21108 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21109 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '34882ad3-51b2-2ac2-e41e-45a3d96e1830'::uuid;

-- Query #21110 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['34882ad3-51b2-2ac2-e41e-45a3d96e1830'::uuid]);

-- Query #21111 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '34882ad3-51b2-2ac2-e41e-45a3d96e1830'::uuid;

-- Query #21112 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34882ad3-51b2-2ac2-e41e-45a3d96e1830'::uuid, 'Imdb', 'tt18317544')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34882ad3-51b2-2ac2-e41e-45a3d96e1830'::uuid, 'TvMaze', 2284439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21114 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34882ad3-51b2-2ac2-e41e-45a3d96e1830'::uuid, 'Tvdb', 9032290)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21115 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '34882ad3-51b2-2ac2-e41e-45a3d96e1830'::uuid;

-- Query #21116 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '34882ad3-51b2-2ac2-e41e-45a3d96e1830'::uuid;

-- Query #21117 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['34882ad3-51b2-2ac2-e41e-45a3d96e1830'::uuid]);

-- Query #21118 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '34882ad3-51b2-2ac2-e41e-45a3d96e1830'::uuid;

-- Query #21119 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21120 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '26dd4724-53bc-1e3e-ed3a-5dd9d8eee16f'::uuid;

-- Query #21121 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['26dd4724-53bc-1e3e-ed3a-5dd9d8eee16f'::uuid]);

-- Query #21122 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '26dd4724-53bc-1e3e-ed3a-5dd9d8eee16f'::uuid;

-- Query #21123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('26dd4724-53bc-1e3e-ed3a-5dd9d8eee16f'::uuid, 'TvMaze', 2365170)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('26dd4724-53bc-1e3e-ed3a-5dd9d8eee16f'::uuid, 'Tvdb', 9243859)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21125 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '26dd4724-53bc-1e3e-ed3a-5dd9d8eee16f'::uuid;

-- Query #21126 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '26dd4724-53bc-1e3e-ed3a-5dd9d8eee16f'::uuid;

-- Query #21127 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21128 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['26dd4724-53bc-1e3e-ed3a-5dd9d8eee16f'::uuid]);

-- Query #21129 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '26dd4724-53bc-1e3e-ed3a-5dd9d8eee16f'::uuid;

-- Query #21130 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21131 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e67fa42f-cc64-f982-c655-6bac959bdb0d'::uuid;

-- Query #21132 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e67fa42f-cc64-f982-c655-6bac959bdb0d'::uuid]);

-- Query #21133 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e67fa42f-cc64-f982-c655-6bac959bdb0d'::uuid;

-- Query #21134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e67fa42f-cc64-f982-c655-6bac959bdb0d'::uuid, 'Imdb', 'tt21857354')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e67fa42f-cc64-f982-c655-6bac959bdb0d'::uuid, 'TvMaze', 2365947)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e67fa42f-cc64-f982-c655-6bac959bdb0d'::uuid, 'Tvdb', 9321065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21137 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e67fa42f-cc64-f982-c655-6bac959bdb0d'::uuid;

-- Query #21138 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e67fa42f-cc64-f982-c655-6bac959bdb0d'::uuid;

-- Query #21139 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e67fa42f-cc64-f982-c655-6bac959bdb0d'::uuid]);

-- Query #21140 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e67fa42f-cc64-f982-c655-6bac959bdb0d'::uuid;

-- Query #21141 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21142 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92fa96c0-b75e-ab37-5265-df2e1f21abd7'::uuid;

-- Query #21143 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92fa96c0-b75e-ab37-5265-df2e1f21abd7'::uuid]);

-- Query #21144 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '92fa96c0-b75e-ab37-5265-df2e1f21abd7'::uuid;

-- Query #21145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92fa96c0-b75e-ab37-5265-df2e1f21abd7'::uuid, 'Imdb', 'tt21857896')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92fa96c0-b75e-ab37-5265-df2e1f21abd7'::uuid, 'TvMaze', 2398542)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92fa96c0-b75e-ab37-5265-df2e1f21abd7'::uuid, 'Tvdb', 9384066)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21148 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92fa96c0-b75e-ab37-5265-df2e1f21abd7'::uuid;

-- Query #21149 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '92fa96c0-b75e-ab37-5265-df2e1f21abd7'::uuid;

-- Query #21150 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['92fa96c0-b75e-ab37-5265-df2e1f21abd7'::uuid]);

-- Query #21151 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '92fa96c0-b75e-ab37-5265-df2e1f21abd7'::uuid;

-- Query #21152 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21153 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7238c56b-170a-ccf5-9486-3b3af499d654'::uuid;

-- Query #21154 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7238c56b-170a-ccf5-9486-3b3af499d654'::uuid]);

-- Query #21155 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7238c56b-170a-ccf5-9486-3b3af499d654'::uuid;

-- Query #21156 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7238c56b-170a-ccf5-9486-3b3af499d654'::uuid, 'Imdb', 'tt21857598')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21157 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7238c56b-170a-ccf5-9486-3b3af499d654'::uuid, 'TvMaze', 2375977)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7238c56b-170a-ccf5-9486-3b3af499d654'::uuid, 'Tvdb', 9338845)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21159 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7238c56b-170a-ccf5-9486-3b3af499d654'::uuid;

-- Query #21160 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7238c56b-170a-ccf5-9486-3b3af499d654'::uuid;

-- Query #21161 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7238c56b-170a-ccf5-9486-3b3af499d654'::uuid]);

-- Query #21162 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7238c56b-170a-ccf5-9486-3b3af499d654'::uuid;

-- Query #21163 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21164 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c20b429-749c-2b40-de43-3a57d4a8a847'::uuid;

-- Query #21165 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c20b429-749c-2b40-de43-3a57d4a8a847'::uuid]);

-- Query #21166 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2c20b429-749c-2b40-de43-3a57d4a8a847'::uuid;

-- Query #21167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c20b429-749c-2b40-de43-3a57d4a8a847'::uuid, 'Imdb', 'tt21390308')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c20b429-749c-2b40-de43-3a57d4a8a847'::uuid, 'TvMaze', 2365943)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21169 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c20b429-749c-2b40-de43-3a57d4a8a847'::uuid, 'Tvdb', 9243861)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21170 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c20b429-749c-2b40-de43-3a57d4a8a847'::uuid;

-- Query #21171 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2c20b429-749c-2b40-de43-3a57d4a8a847'::uuid;

-- Query #21172 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2c20b429-749c-2b40-de43-3a57d4a8a847'::uuid]);

-- Query #21173 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2c20b429-749c-2b40-de43-3a57d4a8a847'::uuid;

-- Query #21174 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21175 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd92b3aa1-a124-225e-cede-3d4358774a2a'::uuid;

-- Query #21176 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d92b3aa1-a124-225e-cede-3d4358774a2a'::uuid]);

-- Query #21177 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd92b3aa1-a124-225e-cede-3d4358774a2a'::uuid;

-- Query #21178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d92b3aa1-a124-225e-cede-3d4358774a2a'::uuid, 'TvMaze', 2375976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d92b3aa1-a124-225e-cede-3d4358774a2a'::uuid, 'Tvdb', 9338844)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21180 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd92b3aa1-a124-225e-cede-3d4358774a2a'::uuid;

-- Query #21181 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd92b3aa1-a124-225e-cede-3d4358774a2a'::uuid;

-- Query #21182 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21183 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d92b3aa1-a124-225e-cede-3d4358774a2a'::uuid]);

-- Query #21184 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd92b3aa1-a124-225e-cede-3d4358774a2a'::uuid;

-- Query #21185 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21186 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e246419d-c79d-89a7-a7b8-e1ec9cc027f5'::uuid;

-- Query #21187 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e246419d-c79d-89a7-a7b8-e1ec9cc027f5'::uuid]);

-- Query #21188 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e246419d-c79d-89a7-a7b8-e1ec9cc027f5'::uuid;

-- Query #21189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e246419d-c79d-89a7-a7b8-e1ec9cc027f5'::uuid, 'TvMaze', 2398541)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e246419d-c79d-89a7-a7b8-e1ec9cc027f5'::uuid, 'Tvdb', 9372942)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e246419d-c79d-89a7-a7b8-e1ec9cc027f5'::uuid, 'Imdb', 'tt21912188')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21192 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e246419d-c79d-89a7-a7b8-e1ec9cc027f5'::uuid;

-- Query #21193 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e246419d-c79d-89a7-a7b8-e1ec9cc027f5'::uuid;

-- Query #21194 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e246419d-c79d-89a7-a7b8-e1ec9cc027f5'::uuid]);

-- Query #21195 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e246419d-c79d-89a7-a7b8-e1ec9cc027f5'::uuid;

-- Query #21196 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21197 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ba72f01-5569-0da2-7918-f1b5cdf0699e'::uuid;

-- Query #21198 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ba72f01-5569-0da2-7918-f1b5cdf0699e'::uuid]);

-- Query #21199 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0ba72f01-5569-0da2-7918-f1b5cdf0699e'::uuid;

-- Query #21200 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ba72f01-5569-0da2-7918-f1b5cdf0699e'::uuid, 'Imdb', 'tt21390326')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21201 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ba72f01-5569-0da2-7918-f1b5cdf0699e'::uuid, 'TvMaze', 2365946)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21202 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ba72f01-5569-0da2-7918-f1b5cdf0699e'::uuid, 'Tvdb', 9311457)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21203 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ba72f01-5569-0da2-7918-f1b5cdf0699e'::uuid;

-- Query #21204 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0ba72f01-5569-0da2-7918-f1b5cdf0699e'::uuid;

-- Query #21205 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0ba72f01-5569-0da2-7918-f1b5cdf0699e'::uuid]);

-- Query #21206 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0ba72f01-5569-0da2-7918-f1b5cdf0699e'::uuid;

-- Query #21207 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21208 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '06187b4e-5c95-6c51-d998-0b46ff432c32'::uuid;

-- Query #21209 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06187b4e-5c95-6c51-d998-0b46ff432c32'::uuid]);

-- Query #21210 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '06187b4e-5c95-6c51-d998-0b46ff432c32'::uuid;

-- Query #21211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06187b4e-5c95-6c51-d998-0b46ff432c32'::uuid, 'TvMaze', 2365945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06187b4e-5c95-6c51-d998-0b46ff432c32'::uuid, 'Tvdb', 9311276)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21213 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '06187b4e-5c95-6c51-d998-0b46ff432c32'::uuid;

-- Query #21214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '06187b4e-5c95-6c51-d998-0b46ff432c32'::uuid;

-- Query #21215 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21216 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['06187b4e-5c95-6c51-d998-0b46ff432c32'::uuid]);

-- Query #21217 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '06187b4e-5c95-6c51-d998-0b46ff432c32'::uuid;

-- Query #21218 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21219 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fd36acac-e361-0e9b-f894-c655b8121a6f'::uuid;

-- Query #21220 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fd36acac-e361-0e9b-f894-c655b8121a6f'::uuid]);

-- Query #21221 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fd36acac-e361-0e9b-f894-c655b8121a6f'::uuid;

-- Query #21222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd36acac-e361-0e9b-f894-c655b8121a6f'::uuid, 'TvMaze', 2421372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd36acac-e361-0e9b-f894-c655b8121a6f'::uuid, 'Tvdb', 9435462)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21224 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fd36acac-e361-0e9b-f894-c655b8121a6f'::uuid;

-- Query #21225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fd36acac-e361-0e9b-f894-c655b8121a6f'::uuid;

-- Query #21226 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21227 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fd36acac-e361-0e9b-f894-c655b8121a6f'::uuid]);

-- Query #21228 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fd36acac-e361-0e9b-f894-c655b8121a6f'::uuid;

-- Query #21229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21230 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '220a3dcb-1db5-1c59-8c72-9fa487e2ae81'::uuid;

-- Query #21231 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['220a3dcb-1db5-1c59-8c72-9fa487e2ae81'::uuid]);

-- Query #21232 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '220a3dcb-1db5-1c59-8c72-9fa487e2ae81'::uuid;

-- Query #21233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('220a3dcb-1db5-1c59-8c72-9fa487e2ae81'::uuid, 'Imdb', 'tt23055580')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('220a3dcb-1db5-1c59-8c72-9fa487e2ae81'::uuid, 'TvMaze', 2421373)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('220a3dcb-1db5-1c59-8c72-9fa487e2ae81'::uuid, 'Tvdb', 9435463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21236 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '220a3dcb-1db5-1c59-8c72-9fa487e2ae81'::uuid;

-- Query #21237 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '220a3dcb-1db5-1c59-8c72-9fa487e2ae81'::uuid;

-- Query #21238 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['220a3dcb-1db5-1c59-8c72-9fa487e2ae81'::uuid]);

-- Query #21239 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '220a3dcb-1db5-1c59-8c72-9fa487e2ae81'::uuid;

-- Query #21240 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21241 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b1089bb2-4193-f8bc-4e5e-6e7dccbf4139'::uuid;

-- Query #21242 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1089bb2-4193-f8bc-4e5e-6e7dccbf4139'::uuid]);

-- Query #21243 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b1089bb2-4193-f8bc-4e5e-6e7dccbf4139'::uuid;

-- Query #21244 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1089bb2-4193-f8bc-4e5e-6e7dccbf4139'::uuid, 'TvMaze', 2365942)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21245 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1089bb2-4193-f8bc-4e5e-6e7dccbf4139'::uuid, 'Tvdb', 9243860)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21246 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b1089bb2-4193-f8bc-4e5e-6e7dccbf4139'::uuid;

-- Query #21247 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b1089bb2-4193-f8bc-4e5e-6e7dccbf4139'::uuid;

-- Query #21248 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #21249 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21250 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b1089bb2-4193-f8bc-4e5e-6e7dccbf4139'::uuid]);

-- Query #21251 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b1089bb2-4193-f8bc-4e5e-6e7dccbf4139'::uuid;

-- Query #21252 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21253 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d977801-b110-38f0-a3f2-5894fdb24e06'::uuid;

-- Query #21254 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d977801-b110-38f0-a3f2-5894fdb24e06'::uuid]);

-- Query #21255 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1d977801-b110-38f0-a3f2-5894fdb24e06'::uuid;

-- Query #21256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d977801-b110-38f0-a3f2-5894fdb24e06'::uuid, 'Imdb', 'tt21390316')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21257 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d977801-b110-38f0-a3f2-5894fdb24e06'::uuid, 'TvMaze', 2365944)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21258 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d977801-b110-38f0-a3f2-5894fdb24e06'::uuid, 'Tvdb', 9243862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21259 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d977801-b110-38f0-a3f2-5894fdb24e06'::uuid;

-- Query #21260 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1d977801-b110-38f0-a3f2-5894fdb24e06'::uuid;

-- Query #21261 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1d977801-b110-38f0-a3f2-5894fdb24e06'::uuid]);

-- Query #21262 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1d977801-b110-38f0-a3f2-5894fdb24e06'::uuid;

-- Query #21263 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21264 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9bd2a3d5-7ef1-1038-aa1d-b3af9e7b904d'::uuid;

-- Query #21265 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9bd2a3d5-7ef1-1038-aa1d-b3af9e7b904d'::uuid]);

-- Query #21266 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9bd2a3d5-7ef1-1038-aa1d-b3af9e7b904d'::uuid;

-- Query #21267 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9bd2a3d5-7ef1-1038-aa1d-b3af9e7b904d'::uuid, 'Imdb', 'tt20852958')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9bd2a3d5-7ef1-1038-aa1d-b3af9e7b904d'::uuid, 'TvMaze', 2355703)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9bd2a3d5-7ef1-1038-aa1d-b3af9e7b904d'::uuid, 'Tvdb', 9192759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21270 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9bd2a3d5-7ef1-1038-aa1d-b3af9e7b904d'::uuid;

-- Query #21271 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9bd2a3d5-7ef1-1038-aa1d-b3af9e7b904d'::uuid;

-- Query #21272 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21273 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9bd2a3d5-7ef1-1038-aa1d-b3af9e7b904d'::uuid]);

-- Query #21274 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9bd2a3d5-7ef1-1038-aa1d-b3af9e7b904d'::uuid;

-- Query #21275 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21276 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ec5cb2e6-116f-c783-da8c-eaa8da260e19'::uuid;

-- Query #21277 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ec5cb2e6-116f-c783-da8c-eaa8da260e19'::uuid]);

-- Query #21278 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ec5cb2e6-116f-c783-da8c-eaa8da260e19'::uuid;

-- Query #21279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec5cb2e6-116f-c783-da8c-eaa8da260e19'::uuid, 'Tvdb', 9384067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec5cb2e6-116f-c783-da8c-eaa8da260e19'::uuid, 'Imdb', 'tt21857946')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec5cb2e6-116f-c783-da8c-eaa8da260e19'::uuid, 'TvMaze', 2398543)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ec5cb2e6-116f-c783-da8c-eaa8da260e19'::uuid;

-- Query #21283 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ec5cb2e6-116f-c783-da8c-eaa8da260e19'::uuid;

-- Query #21284 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ec5cb2e6-116f-c783-da8c-eaa8da260e19'::uuid]);

-- Query #21285 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ec5cb2e6-116f-c783-da8c-eaa8da260e19'::uuid;

-- Query #21286 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21287 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ced715a-1ce1-b614-c4b2-e3545b640a12'::uuid;

-- Query #21288 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ced715a-1ce1-b614-c4b2-e3545b640a12'::uuid]);

-- Query #21289 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4ced715a-1ce1-b614-c4b2-e3545b640a12'::uuid;

-- Query #21290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ced715a-1ce1-b614-c4b2-e3545b640a12'::uuid, 'TvMaze', 2375979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ced715a-1ce1-b614-c4b2-e3545b640a12'::uuid, 'Tvdb', 9349422)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21292 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ced715a-1ce1-b614-c4b2-e3545b640a12'::uuid;

-- Query #21293 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4ced715a-1ce1-b614-c4b2-e3545b640a12'::uuid;

-- Query #21294 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21295 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4ced715a-1ce1-b614-c4b2-e3545b640a12'::uuid]);

-- Query #21296 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4ced715a-1ce1-b614-c4b2-e3545b640a12'::uuid;

-- Query #21297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21298 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9de620a8-8ca5-7166-f5ac-e31b29badce0'::uuid;

-- Query #21299 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9de620a8-8ca5-7166-f5ac-e31b29badce0'::uuid]);

-- Query #21300 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9de620a8-8ca5-7166-f5ac-e31b29badce0'::uuid;

-- Query #21301 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9de620a8-8ca5-7166-f5ac-e31b29badce0'::uuid, 'TvMaze', 2361275)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9de620a8-8ca5-7166-f5ac-e31b29badce0'::uuid, 'Tvdb', 9243858)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21303 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9de620a8-8ca5-7166-f5ac-e31b29badce0'::uuid;

-- Query #21304 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9de620a8-8ca5-7166-f5ac-e31b29badce0'::uuid;

-- Query #21305 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21306 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9de620a8-8ca5-7166-f5ac-e31b29badce0'::uuid]);

-- Query #21307 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9de620a8-8ca5-7166-f5ac-e31b29badce0'::uuid;

-- Query #21308 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21309 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fa7ff7f7-ac42-5a5b-e9ee-13cc9d3b71e6'::uuid;

-- Query #21310 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa7ff7f7-ac42-5a5b-e9ee-13cc9d3b71e6'::uuid]);

-- Query #21311 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fa7ff7f7-ac42-5a5b-e9ee-13cc9d3b71e6'::uuid;

-- Query #21312 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa7ff7f7-ac42-5a5b-e9ee-13cc9d3b71e6'::uuid, 'Imdb', 'tt27799230')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21313 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa7ff7f7-ac42-5a5b-e9ee-13cc9d3b71e6'::uuid, 'Tvdb', 9794196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa7ff7f7-ac42-5a5b-e9ee-13cc9d3b71e6'::uuid, 'TvMaze', 2545603)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21315 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fa7ff7f7-ac42-5a5b-e9ee-13cc9d3b71e6'::uuid;

-- Query #21316 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fa7ff7f7-ac42-5a5b-e9ee-13cc9d3b71e6'::uuid;

-- Query #21317 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fa7ff7f7-ac42-5a5b-e9ee-13cc9d3b71e6'::uuid]);

-- Query #21318 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fa7ff7f7-ac42-5a5b-e9ee-13cc9d3b71e6'::uuid;

-- Query #21319 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21320 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55c0cc72-b762-094e-155a-0c5237478468'::uuid;

-- Query #21321 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['55c0cc72-b762-094e-155a-0c5237478468'::uuid]);

-- Query #21322 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '55c0cc72-b762-094e-155a-0c5237478468'::uuid;

-- Query #21323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55c0cc72-b762-094e-155a-0c5237478468'::uuid, 'Imdb', 'tt27799232')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55c0cc72-b762-094e-155a-0c5237478468'::uuid, 'Tvdb', 9794197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55c0cc72-b762-094e-155a-0c5237478468'::uuid, 'TvMaze', 2545604)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21326 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55c0cc72-b762-094e-155a-0c5237478468'::uuid;

-- Query #21327 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '55c0cc72-b762-094e-155a-0c5237478468'::uuid;

-- Query #21328 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['55c0cc72-b762-094e-155a-0c5237478468'::uuid]);

-- Query #21329 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '55c0cc72-b762-094e-155a-0c5237478468'::uuid;

-- Query #21330 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21331 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a10cae3-9222-2cc0-f425-ed88570f5c0d'::uuid;

-- Query #21332 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a10cae3-9222-2cc0-f425-ed88570f5c0d'::uuid]);

-- Query #21333 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9a10cae3-9222-2cc0-f425-ed88570f5c0d'::uuid;

-- Query #21334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a10cae3-9222-2cc0-f425-ed88570f5c0d'::uuid, 'Imdb', 'tt27381456')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a10cae3-9222-2cc0-f425-ed88570f5c0d'::uuid, 'Tvdb', 9698511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a10cae3-9222-2cc0-f425-ed88570f5c0d'::uuid, 'TvMaze', 2527547)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21337 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a10cae3-9222-2cc0-f425-ed88570f5c0d'::uuid;

-- Query #21338 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9a10cae3-9222-2cc0-f425-ed88570f5c0d'::uuid;

-- Query #21339 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9a10cae3-9222-2cc0-f425-ed88570f5c0d'::uuid]);

-- Query #21340 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9a10cae3-9222-2cc0-f425-ed88570f5c0d'::uuid;

-- Query #21341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21342 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c8c7f5fd-4519-e8dd-f985-bacc104b67eb'::uuid;

-- Query #21343 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c8c7f5fd-4519-e8dd-f985-bacc104b67eb'::uuid]);

-- Query #21344 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c8c7f5fd-4519-e8dd-f985-bacc104b67eb'::uuid;

-- Query #21345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c8c7f5fd-4519-e8dd-f985-bacc104b67eb'::uuid, 'Imdb', 'tt27078242')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c8c7f5fd-4519-e8dd-f985-bacc104b67eb'::uuid, 'Tvdb', 9631730)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21347 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c8c7f5fd-4519-e8dd-f985-bacc104b67eb'::uuid, 'TvMaze', 2494627)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21348 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c8c7f5fd-4519-e8dd-f985-bacc104b67eb'::uuid;

-- Query #21349 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c8c7f5fd-4519-e8dd-f985-bacc104b67eb'::uuid;

-- Query #21350 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c8c7f5fd-4519-e8dd-f985-bacc104b67eb'::uuid]);

-- Query #21351 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c8c7f5fd-4519-e8dd-f985-bacc104b67eb'::uuid;

-- Query #21352 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21353 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4066ba78-077d-cc57-87da-ef29169645f7'::uuid;

-- Query #21354 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4066ba78-077d-cc57-87da-ef29169645f7'::uuid]);

-- Query #21355 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4066ba78-077d-cc57-87da-ef29169645f7'::uuid;

-- Query #21356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4066ba78-077d-cc57-87da-ef29169645f7'::uuid, 'Imdb', 'tt25727596')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4066ba78-077d-cc57-87da-ef29169645f7'::uuid, 'Tvdb', 9512856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4066ba78-077d-cc57-87da-ef29169645f7'::uuid, 'TvMaze', 2464550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21359 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4066ba78-077d-cc57-87da-ef29169645f7'::uuid;

-- Query #21360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4066ba78-077d-cc57-87da-ef29169645f7'::uuid;

-- Query #21361 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4066ba78-077d-cc57-87da-ef29169645f7'::uuid]);

-- Query #21362 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4066ba78-077d-cc57-87da-ef29169645f7'::uuid;

-- Query #21363 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21364 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e8cc65a-a225-c4ce-51dd-7caaaa8bbb9f'::uuid;

-- Query #21365 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6e8cc65a-a225-c4ce-51dd-7caaaa8bbb9f'::uuid]);

-- Query #21366 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6e8cc65a-a225-c4ce-51dd-7caaaa8bbb9f'::uuid;

-- Query #21367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e8cc65a-a225-c4ce-51dd-7caaaa8bbb9f'::uuid, 'Imdb', 'tt27078244')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e8cc65a-a225-c4ce-51dd-7caaaa8bbb9f'::uuid, 'Tvdb', 9631731)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e8cc65a-a225-c4ce-51dd-7caaaa8bbb9f'::uuid, 'TvMaze', 2509065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e8cc65a-a225-c4ce-51dd-7caaaa8bbb9f'::uuid;

-- Query #21371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6e8cc65a-a225-c4ce-51dd-7caaaa8bbb9f'::uuid;

-- Query #21372 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6e8cc65a-a225-c4ce-51dd-7caaaa8bbb9f'::uuid]);

-- Query #21373 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6e8cc65a-a225-c4ce-51dd-7caaaa8bbb9f'::uuid;

-- Query #21374 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21375 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc4eb29f-5bc6-de1b-dc42-cff90fd4e4b1'::uuid;

-- Query #21376 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fc4eb29f-5bc6-de1b-dc42-cff90fd4e4b1'::uuid]);

-- Query #21377 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fc4eb29f-5bc6-de1b-dc42-cff90fd4e4b1'::uuid;

-- Query #21378 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc4eb29f-5bc6-de1b-dc42-cff90fd4e4b1'::uuid, 'Imdb', 'tt26458263')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21379 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc4eb29f-5bc6-de1b-dc42-cff90fd4e4b1'::uuid, 'Tvdb', 9579445)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc4eb29f-5bc6-de1b-dc42-cff90fd4e4b1'::uuid, 'TvMaze', 2479638)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21381 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc4eb29f-5bc6-de1b-dc42-cff90fd4e4b1'::uuid;

-- Query #21382 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fc4eb29f-5bc6-de1b-dc42-cff90fd4e4b1'::uuid;

-- Query #21383 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fc4eb29f-5bc6-de1b-dc42-cff90fd4e4b1'::uuid]);

-- Query #21384 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fc4eb29f-5bc6-de1b-dc42-cff90fd4e4b1'::uuid;

-- Query #21385 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21386 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '00a0ad88-3495-888f-28ce-b06ef8143a27'::uuid;

-- Query #21387 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00a0ad88-3495-888f-28ce-b06ef8143a27'::uuid]);

-- Query #21388 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '00a0ad88-3495-888f-28ce-b06ef8143a27'::uuid;

-- Query #21389 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00a0ad88-3495-888f-28ce-b06ef8143a27'::uuid, 'Imdb', 'tt27921857')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00a0ad88-3495-888f-28ce-b06ef8143a27'::uuid, 'Tvdb', 9794198)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00a0ad88-3495-888f-28ce-b06ef8143a27'::uuid, 'TvMaze', 2559177)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21392 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '00a0ad88-3495-888f-28ce-b06ef8143a27'::uuid;

-- Query #21393 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '00a0ad88-3495-888f-28ce-b06ef8143a27'::uuid;

-- Query #21394 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['00a0ad88-3495-888f-28ce-b06ef8143a27'::uuid]);

-- Query #21395 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '00a0ad88-3495-888f-28ce-b06ef8143a27'::uuid;

-- Query #21396 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21397 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f60558e8-d133-9cab-8868-c8ad3e5e8959'::uuid;

-- Query #21398 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f60558e8-d133-9cab-8868-c8ad3e5e8959'::uuid]);

-- Query #21399 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f60558e8-d133-9cab-8868-c8ad3e5e8959'::uuid;

-- Query #21400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f60558e8-d133-9cab-8868-c8ad3e5e8959'::uuid, 'Imdb', 'tt26862575')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f60558e8-d133-9cab-8868-c8ad3e5e8959'::uuid, 'Tvdb', 9631728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f60558e8-d133-9cab-8868-c8ad3e5e8959'::uuid, 'TvMaze', 2494625)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21403 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f60558e8-d133-9cab-8868-c8ad3e5e8959'::uuid;

-- Query #21404 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f60558e8-d133-9cab-8868-c8ad3e5e8959'::uuid;

-- Query #21405 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f60558e8-d133-9cab-8868-c8ad3e5e8959'::uuid]);

-- Query #21406 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f60558e8-d133-9cab-8868-c8ad3e5e8959'::uuid;

-- Query #21407 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21408 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '251d16a5-7a80-d8a0-73a6-baa5a0e57592'::uuid;

-- Query #21409 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['251d16a5-7a80-d8a0-73a6-baa5a0e57592'::uuid]);

-- Query #21410 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '251d16a5-7a80-d8a0-73a6-baa5a0e57592'::uuid;

-- Query #21411 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('251d16a5-7a80-d8a0-73a6-baa5a0e57592'::uuid, 'Imdb', 'tt24058698')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21412 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('251d16a5-7a80-d8a0-73a6-baa5a0e57592'::uuid, 'Tvdb', 9512852)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('251d16a5-7a80-d8a0-73a6-baa5a0e57592'::uuid, 'TvMaze', 2443709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21414 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '251d16a5-7a80-d8a0-73a6-baa5a0e57592'::uuid;

-- Query #21415 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '251d16a5-7a80-d8a0-73a6-baa5a0e57592'::uuid;

-- Query #21416 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['251d16a5-7a80-d8a0-73a6-baa5a0e57592'::uuid]);

-- Query #21417 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '251d16a5-7a80-d8a0-73a6-baa5a0e57592'::uuid;

-- Query #21418 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21419 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07d8b223-a4ae-55b7-4232-bda7d5f2d484'::uuid;

-- Query #21420 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07d8b223-a4ae-55b7-4232-bda7d5f2d484'::uuid]);

-- Query #21421 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '07d8b223-a4ae-55b7-4232-bda7d5f2d484'::uuid;

-- Query #21422 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07d8b223-a4ae-55b7-4232-bda7d5f2d484'::uuid, 'Imdb', 'tt27078235')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21423 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07d8b223-a4ae-55b7-4232-bda7d5f2d484'::uuid, 'Tvdb', 9631729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07d8b223-a4ae-55b7-4232-bda7d5f2d484'::uuid, 'TvMaze', 2494626)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21425 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07d8b223-a4ae-55b7-4232-bda7d5f2d484'::uuid;

-- Query #21426 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '07d8b223-a4ae-55b7-4232-bda7d5f2d484'::uuid;

-- Query #21427 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['07d8b223-a4ae-55b7-4232-bda7d5f2d484'::uuid]);

-- Query #21428 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '07d8b223-a4ae-55b7-4232-bda7d5f2d484'::uuid;

-- Query #21429 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21430 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'be5eb263-d457-bde7-e72e-6750f4ef55f1'::uuid;

-- Query #21431 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be5eb263-d457-bde7-e72e-6750f4ef55f1'::uuid]);

-- Query #21432 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'be5eb263-d457-bde7-e72e-6750f4ef55f1'::uuid;

-- Query #21433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be5eb263-d457-bde7-e72e-6750f4ef55f1'::uuid, 'Imdb', 'tt25727590')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be5eb263-d457-bde7-e72e-6750f4ef55f1'::uuid, 'Tvdb', 9512855)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be5eb263-d457-bde7-e72e-6750f4ef55f1'::uuid, 'TvMaze', 2464549)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21436 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'be5eb263-d457-bde7-e72e-6750f4ef55f1'::uuid;

-- Query #21437 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'be5eb263-d457-bde7-e72e-6750f4ef55f1'::uuid;

-- Query #21438 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['be5eb263-d457-bde7-e72e-6750f4ef55f1'::uuid]);

-- Query #21439 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'be5eb263-d457-bde7-e72e-6750f4ef55f1'::uuid;

-- Query #21440 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21441 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1f18c4a7-c2a5-4cd2-d5e4-06618f74303f'::uuid;

-- Query #21442 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1f18c4a7-c2a5-4cd2-d5e4-06618f74303f'::uuid]);

-- Query #21443 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1f18c4a7-c2a5-4cd2-d5e4-06618f74303f'::uuid;

-- Query #21444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f18c4a7-c2a5-4cd2-d5e4-06618f74303f'::uuid, 'Imdb', 'tt28089400')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f18c4a7-c2a5-4cd2-d5e4-06618f74303f'::uuid, 'Tvdb', 9794200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f18c4a7-c2a5-4cd2-d5e4-06618f74303f'::uuid, 'TvMaze', 2571829)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21447 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1f18c4a7-c2a5-4cd2-d5e4-06618f74303f'::uuid;

-- Query #21448 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1f18c4a7-c2a5-4cd2-d5e4-06618f74303f'::uuid;

-- Query #21449 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1f18c4a7-c2a5-4cd2-d5e4-06618f74303f'::uuid]);

-- Query #21450 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1f18c4a7-c2a5-4cd2-d5e4-06618f74303f'::uuid;

-- Query #21451 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21452 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2db00ba3-4b54-e019-1288-4ed3dd3a0a3b'::uuid;

-- Query #21453 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2db00ba3-4b54-e019-1288-4ed3dd3a0a3b'::uuid]);

-- Query #21454 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2db00ba3-4b54-e019-1288-4ed3dd3a0a3b'::uuid;

-- Query #21455 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2db00ba3-4b54-e019-1288-4ed3dd3a0a3b'::uuid, 'Imdb', 'tt28089406')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2db00ba3-4b54-e019-1288-4ed3dd3a0a3b'::uuid, 'Tvdb', 9794201)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2db00ba3-4b54-e019-1288-4ed3dd3a0a3b'::uuid, 'TvMaze', 2571830)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21458 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2db00ba3-4b54-e019-1288-4ed3dd3a0a3b'::uuid;

-- Query #21459 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2db00ba3-4b54-e019-1288-4ed3dd3a0a3b'::uuid;

-- Query #21460 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2db00ba3-4b54-e019-1288-4ed3dd3a0a3b'::uuid]);

-- Query #21461 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2db00ba3-4b54-e019-1288-4ed3dd3a0a3b'::uuid;

-- Query #21462 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21463 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aefcfac1-0d1e-60e2-3229-4b43e65f312f'::uuid;

-- Query #21464 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aefcfac1-0d1e-60e2-3229-4b43e65f312f'::uuid]);

-- Query #21465 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'aefcfac1-0d1e-60e2-3229-4b43e65f312f'::uuid;

-- Query #21466 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aefcfac1-0d1e-60e2-3229-4b43e65f312f'::uuid, 'Imdb', 'tt26862574')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aefcfac1-0d1e-60e2-3229-4b43e65f312f'::uuid, 'Tvdb', 9631727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21468 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aefcfac1-0d1e-60e2-3229-4b43e65f312f'::uuid, 'TvMaze', 2494624)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21469 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aefcfac1-0d1e-60e2-3229-4b43e65f312f'::uuid;

-- Query #21470 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'aefcfac1-0d1e-60e2-3229-4b43e65f312f'::uuid;

-- Query #21471 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['aefcfac1-0d1e-60e2-3229-4b43e65f312f'::uuid]);

-- Query #21472 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'aefcfac1-0d1e-60e2-3229-4b43e65f312f'::uuid;

-- Query #21473 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21474 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '84f3e447-75ab-83c5-3358-82b18b155477'::uuid;

-- Query #21475 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #21476 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['84f3e447-75ab-83c5-3358-82b18b155477'::uuid]);

-- Query #21477 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '84f3e447-75ab-83c5-3358-82b18b155477'::uuid;

-- Query #21478 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84f3e447-75ab-83c5-3358-82b18b155477'::uuid, 'Imdb', 'tt26458267')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84f3e447-75ab-83c5-3358-82b18b155477'::uuid, 'Tvdb', 9579446)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84f3e447-75ab-83c5-3358-82b18b155477'::uuid, 'TvMaze', 2479639)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21481 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '84f3e447-75ab-83c5-3358-82b18b155477'::uuid;

-- Query #21482 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '84f3e447-75ab-83c5-3358-82b18b155477'::uuid;

-- Query #21483 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['84f3e447-75ab-83c5-3358-82b18b155477'::uuid]);

-- Query #21484 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '84f3e447-75ab-83c5-3358-82b18b155477'::uuid;

-- Query #21485 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21486 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf71f869-a328-f334-f092-3ec199375f9b'::uuid;

-- Query #21487 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf71f869-a328-f334-f092-3ec199375f9b'::uuid]);

-- Query #21488 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bf71f869-a328-f334-f092-3ec199375f9b'::uuid;

-- Query #21489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf71f869-a328-f334-f092-3ec199375f9b'::uuid, 'Imdb', 'tt27381453')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf71f869-a328-f334-f092-3ec199375f9b'::uuid, 'Tvdb', 9698508)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf71f869-a328-f334-f092-3ec199375f9b'::uuid, 'TvMaze', 2509067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21492 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf71f869-a328-f334-f092-3ec199375f9b'::uuid;

-- Query #21493 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bf71f869-a328-f334-f092-3ec199375f9b'::uuid;

-- Query #21494 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bf71f869-a328-f334-f092-3ec199375f9b'::uuid]);

-- Query #21495 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bf71f869-a328-f334-f092-3ec199375f9b'::uuid;

-- Query #21496 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21497 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '32185edb-ea6b-efd1-be72-1061c1f54e31'::uuid;

-- Query #21498 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['32185edb-ea6b-efd1-be72-1061c1f54e31'::uuid]);

-- Query #21499 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '32185edb-ea6b-efd1-be72-1061c1f54e31'::uuid;

-- Query #21500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32185edb-ea6b-efd1-be72-1061c1f54e31'::uuid, 'Imdb', 'tt25727586')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32185edb-ea6b-efd1-be72-1061c1f54e31'::uuid, 'Tvdb', 9512854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32185edb-ea6b-efd1-be72-1061c1f54e31'::uuid, 'TvMaze', 2464548)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21503 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '32185edb-ea6b-efd1-be72-1061c1f54e31'::uuid;

-- Query #21504 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '32185edb-ea6b-efd1-be72-1061c1f54e31'::uuid;

-- Query #21505 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['32185edb-ea6b-efd1-be72-1061c1f54e31'::uuid]);

-- Query #21506 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '32185edb-ea6b-efd1-be72-1061c1f54e31'::uuid;

-- Query #21507 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21508 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8761b891-ece4-85a7-3a25-562e2ff192e2'::uuid;

-- Query #21509 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8761b891-ece4-85a7-3a25-562e2ff192e2'::uuid]);

-- Query #21510 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8761b891-ece4-85a7-3a25-562e2ff192e2'::uuid;

-- Query #21511 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8761b891-ece4-85a7-3a25-562e2ff192e2'::uuid, 'Imdb', 'tt27678022')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8761b891-ece4-85a7-3a25-562e2ff192e2'::uuid, 'Tvdb', 9755662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8761b891-ece4-85a7-3a25-562e2ff192e2'::uuid, 'TvMaze', 2540711)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21514 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8761b891-ece4-85a7-3a25-562e2ff192e2'::uuid;

-- Query #21515 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8761b891-ece4-85a7-3a25-562e2ff192e2'::uuid;

-- Query #21516 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8761b891-ece4-85a7-3a25-562e2ff192e2'::uuid]);

-- Query #21517 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8761b891-ece4-85a7-3a25-562e2ff192e2'::uuid;

-- Query #21518 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21519 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2ca80f00-2bde-19ac-3a0d-ad96f3006783'::uuid;

-- Query #21520 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ca80f00-2bde-19ac-3a0d-ad96f3006783'::uuid]);

-- Query #21521 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2ca80f00-2bde-19ac-3a0d-ad96f3006783'::uuid;

-- Query #21522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ca80f00-2bde-19ac-3a0d-ad96f3006783'::uuid, 'Imdb', 'tt27381455')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ca80f00-2bde-19ac-3a0d-ad96f3006783'::uuid, 'Tvdb', 9698510)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ca80f00-2bde-19ac-3a0d-ad96f3006783'::uuid, 'TvMaze', 2509070)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21525 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2ca80f00-2bde-19ac-3a0d-ad96f3006783'::uuid;

-- Query #21526 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2ca80f00-2bde-19ac-3a0d-ad96f3006783'::uuid;

-- Query #21527 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2ca80f00-2bde-19ac-3a0d-ad96f3006783'::uuid]);

-- Query #21528 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2ca80f00-2bde-19ac-3a0d-ad96f3006783'::uuid;

-- Query #21529 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21530 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7688e598-0be3-9cbd-40c2-69d0548562f1'::uuid;

-- Query #21531 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7688e598-0be3-9cbd-40c2-69d0548562f1'::uuid]);

-- Query #21532 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7688e598-0be3-9cbd-40c2-69d0548562f1'::uuid;

-- Query #21533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7688e598-0be3-9cbd-40c2-69d0548562f1'::uuid, 'Imdb', 'tt27622503')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7688e598-0be3-9cbd-40c2-69d0548562f1'::uuid, 'Tvdb', 9755661)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7688e598-0be3-9cbd-40c2-69d0548562f1'::uuid, 'TvMaze', 2537048)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21536 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7688e598-0be3-9cbd-40c2-69d0548562f1'::uuid;

-- Query #21537 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7688e598-0be3-9cbd-40c2-69d0548562f1'::uuid;

-- Query #21538 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7688e598-0be3-9cbd-40c2-69d0548562f1'::uuid]);

-- Query #21539 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7688e598-0be3-9cbd-40c2-69d0548562f1'::uuid;

-- Query #21540 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21541 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7374cd2b-e5bf-1687-0fd3-a4bf49257bfb'::uuid;

-- Query #21542 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7374cd2b-e5bf-1687-0fd3-a4bf49257bfb'::uuid]);

-- Query #21543 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7374cd2b-e5bf-1687-0fd3-a4bf49257bfb'::uuid;

-- Query #21544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7374cd2b-e5bf-1687-0fd3-a4bf49257bfb'::uuid, 'Imdb', 'tt27381454')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7374cd2b-e5bf-1687-0fd3-a4bf49257bfb'::uuid, 'Tvdb', 9698509)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7374cd2b-e5bf-1687-0fd3-a4bf49257bfb'::uuid, 'TvMaze', 2509068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21547 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7374cd2b-e5bf-1687-0fd3-a4bf49257bfb'::uuid;

-- Query #21548 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7374cd2b-e5bf-1687-0fd3-a4bf49257bfb'::uuid;

-- Query #21549 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7374cd2b-e5bf-1687-0fd3-a4bf49257bfb'::uuid]);

-- Query #21550 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7374cd2b-e5bf-1687-0fd3-a4bf49257bfb'::uuid;

-- Query #21551 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21552 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3ce9a827-907e-1a5d-e12a-f9d49cf3ca07'::uuid;

-- Query #21553 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ce9a827-907e-1a5d-e12a-f9d49cf3ca07'::uuid]);

-- Query #21554 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3ce9a827-907e-1a5d-e12a-f9d49cf3ca07'::uuid;

-- Query #21555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ce9a827-907e-1a5d-e12a-f9d49cf3ca07'::uuid, 'Imdb', 'tt26458261')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21556 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ce9a827-907e-1a5d-e12a-f9d49cf3ca07'::uuid, 'Tvdb', 9579444)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21557 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ce9a827-907e-1a5d-e12a-f9d49cf3ca07'::uuid, 'TvMaze', 2479637)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21558 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3ce9a827-907e-1a5d-e12a-f9d49cf3ca07'::uuid;

-- Query #21559 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3ce9a827-907e-1a5d-e12a-f9d49cf3ca07'::uuid;

-- Query #21560 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3ce9a827-907e-1a5d-e12a-f9d49cf3ca07'::uuid]);

-- Query #21561 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3ce9a827-907e-1a5d-e12a-f9d49cf3ca07'::uuid;

-- Query #21562 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21563 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c72ca430-f203-f9c1-e1c6-edb6c877f71e'::uuid;

-- Query #21564 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c72ca430-f203-f9c1-e1c6-edb6c877f71e'::uuid]);

-- Query #21565 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c72ca430-f203-f9c1-e1c6-edb6c877f71e'::uuid;

-- Query #21566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c72ca430-f203-f9c1-e1c6-edb6c877f71e'::uuid, 'Imdb', 'tt30253770')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21567 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c72ca430-f203-f9c1-e1c6-edb6c877f71e'::uuid, 'Tvdb', 10147581)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21568 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c72ca430-f203-f9c1-e1c6-edb6c877f71e'::uuid, 'TvMaze', 2699598)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21569 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c72ca430-f203-f9c1-e1c6-edb6c877f71e'::uuid;

-- Query #21570 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c72ca430-f203-f9c1-e1c6-edb6c877f71e'::uuid;

-- Query #21571 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c72ca430-f203-f9c1-e1c6-edb6c877f71e'::uuid]);

-- Query #21572 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c72ca430-f203-f9c1-e1c6-edb6c877f71e'::uuid;

-- Query #21573 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21574 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f7fb434-1d6a-953f-cf27-cda0670ba7f4'::uuid;

-- Query #21575 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f7fb434-1d6a-953f-cf27-cda0670ba7f4'::uuid]);

-- Query #21576 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5f7fb434-1d6a-953f-cf27-cda0670ba7f4'::uuid;

-- Query #21577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f7fb434-1d6a-953f-cf27-cda0670ba7f4'::uuid, 'Imdb', 'tt29552403')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21578 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f7fb434-1d6a-953f-cf27-cda0670ba7f4'::uuid, 'Tvdb', 10107905)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f7fb434-1d6a-953f-cf27-cda0670ba7f4'::uuid, 'TvMaze', 2668282)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21580 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f7fb434-1d6a-953f-cf27-cda0670ba7f4'::uuid;

-- Query #21581 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5f7fb434-1d6a-953f-cf27-cda0670ba7f4'::uuid;

-- Query #21582 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5f7fb434-1d6a-953f-cf27-cda0670ba7f4'::uuid]);

-- Query #21583 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5f7fb434-1d6a-953f-cf27-cda0670ba7f4'::uuid;

-- Query #21584 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21585 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '84457f34-73e4-7429-7ab2-09885c48eed4'::uuid;

-- Query #21586 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['84457f34-73e4-7429-7ab2-09885c48eed4'::uuid]);

-- Query #21587 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '84457f34-73e4-7429-7ab2-09885c48eed4'::uuid;

-- Query #21588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84457f34-73e4-7429-7ab2-09885c48eed4'::uuid, 'Imdb', 'tt31524223')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84457f34-73e4-7429-7ab2-09885c48eed4'::uuid, 'Tvdb', 10355184)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84457f34-73e4-7429-7ab2-09885c48eed4'::uuid, 'TvMaze', 2778011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '84457f34-73e4-7429-7ab2-09885c48eed4'::uuid;

-- Query #21592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '84457f34-73e4-7429-7ab2-09885c48eed4'::uuid;

-- Query #21593 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['84457f34-73e4-7429-7ab2-09885c48eed4'::uuid]);

-- Query #21594 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '84457f34-73e4-7429-7ab2-09885c48eed4'::uuid;

-- Query #21595 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21596 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7979044a-4f19-006e-17b8-25b69d05bdeb'::uuid;

-- Query #21597 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7979044a-4f19-006e-17b8-25b69d05bdeb'::uuid]);

-- Query #21598 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7979044a-4f19-006e-17b8-25b69d05bdeb'::uuid;

-- Query #21599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7979044a-4f19-006e-17b8-25b69d05bdeb'::uuid, 'Imdb', 'tt31123541')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7979044a-4f19-006e-17b8-25b69d05bdeb'::uuid, 'Tvdb', 10300852)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7979044a-4f19-006e-17b8-25b69d05bdeb'::uuid, 'TvMaze', 2761016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21602 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7979044a-4f19-006e-17b8-25b69d05bdeb'::uuid;

-- Query #21603 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7979044a-4f19-006e-17b8-25b69d05bdeb'::uuid;

-- Query #21604 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7979044a-4f19-006e-17b8-25b69d05bdeb'::uuid]);

-- Query #21605 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7979044a-4f19-006e-17b8-25b69d05bdeb'::uuid;

-- Query #21606 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21607 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '75b88712-0b2c-bda7-9538-a67dffbd6f7d'::uuid;

-- Query #21608 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['75b88712-0b2c-bda7-9538-a67dffbd6f7d'::uuid]);

-- Query #21609 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '75b88712-0b2c-bda7-9538-a67dffbd6f7d'::uuid;

-- Query #21610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75b88712-0b2c-bda7-9538-a67dffbd6f7d'::uuid, 'Imdb', 'tt31524216')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75b88712-0b2c-bda7-9538-a67dffbd6f7d'::uuid, 'Tvdb', 10355183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75b88712-0b2c-bda7-9538-a67dffbd6f7d'::uuid, 'TvMaze', 2778010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21613 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '75b88712-0b2c-bda7-9538-a67dffbd6f7d'::uuid;

-- Query #21614 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '75b88712-0b2c-bda7-9538-a67dffbd6f7d'::uuid;

-- Query #21615 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['75b88712-0b2c-bda7-9538-a67dffbd6f7d'::uuid]);

-- Query #21616 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '75b88712-0b2c-bda7-9538-a67dffbd6f7d'::uuid;

-- Query #21617 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21618 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '86dc8e16-53d9-d956-4781-954830657d8a'::uuid;

-- Query #21619 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['86dc8e16-53d9-d956-4781-954830657d8a'::uuid]);

-- Query #21620 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '86dc8e16-53d9-d956-4781-954830657d8a'::uuid;

-- Query #21621 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86dc8e16-53d9-d956-4781-954830657d8a'::uuid, 'Imdb', 'tt31947014')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86dc8e16-53d9-d956-4781-954830657d8a'::uuid, 'Tvdb', 10425028)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86dc8e16-53d9-d956-4781-954830657d8a'::uuid, 'TvMaze', 2826314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21624 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '86dc8e16-53d9-d956-4781-954830657d8a'::uuid;

-- Query #21625 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '86dc8e16-53d9-d956-4781-954830657d8a'::uuid;

-- Query #21626 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['86dc8e16-53d9-d956-4781-954830657d8a'::uuid]);

-- Query #21627 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '86dc8e16-53d9-d956-4781-954830657d8a'::uuid;

-- Query #21628 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21629 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '77acd357-13f8-4b77-93a6-c1e67587d84c'::uuid;

-- Query #21630 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77acd357-13f8-4b77-93a6-c1e67587d84c'::uuid]);

-- Query #21631 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '77acd357-13f8-4b77-93a6-c1e67587d84c'::uuid;

-- Query #21632 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77acd357-13f8-4b77-93a6-c1e67587d84c'::uuid, 'Imdb', 'tt30253767')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21633 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77acd357-13f8-4b77-93a6-c1e67587d84c'::uuid, 'Tvdb', 10147579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77acd357-13f8-4b77-93a6-c1e67587d84c'::uuid, 'TvMaze', 2699596)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21635 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '77acd357-13f8-4b77-93a6-c1e67587d84c'::uuid;

-- Query #21636 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '77acd357-13f8-4b77-93a6-c1e67587d84c'::uuid;

-- Query #21637 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['77acd357-13f8-4b77-93a6-c1e67587d84c'::uuid]);

-- Query #21638 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '77acd357-13f8-4b77-93a6-c1e67587d84c'::uuid;

-- Query #21639 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21640 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd74fc39-fd7e-5214-3b58-6b64ded5add6'::uuid;

-- Query #21641 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd74fc39-fd7e-5214-3b58-6b64ded5add6'::uuid]);

-- Query #21642 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dd74fc39-fd7e-5214-3b58-6b64ded5add6'::uuid;

-- Query #21643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd74fc39-fd7e-5214-3b58-6b64ded5add6'::uuid, 'Imdb', 'tt31524229')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd74fc39-fd7e-5214-3b58-6b64ded5add6'::uuid, 'Tvdb', 10355185)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd74fc39-fd7e-5214-3b58-6b64ded5add6'::uuid, 'TvMaze', 2778014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21646 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd74fc39-fd7e-5214-3b58-6b64ded5add6'::uuid;

-- Query #21647 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dd74fc39-fd7e-5214-3b58-6b64ded5add6'::uuid;

-- Query #21648 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dd74fc39-fd7e-5214-3b58-6b64ded5add6'::uuid]);

-- Query #21649 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dd74fc39-fd7e-5214-3b58-6b64ded5add6'::uuid;

-- Query #21650 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21651 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce8b2a77-5873-06ce-3f95-4f70cc6dff6e'::uuid;

-- Query #21652 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce8b2a77-5873-06ce-3f95-4f70cc6dff6e'::uuid]);

-- Query #21653 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ce8b2a77-5873-06ce-3f95-4f70cc6dff6e'::uuid;

-- Query #21654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce8b2a77-5873-06ce-3f95-4f70cc6dff6e'::uuid, 'Imdb', 'tt30576236')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce8b2a77-5873-06ce-3f95-4f70cc6dff6e'::uuid, 'Tvdb', 10226428)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce8b2a77-5873-06ce-3f95-4f70cc6dff6e'::uuid, 'TvMaze', 2719245)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21657 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce8b2a77-5873-06ce-3f95-4f70cc6dff6e'::uuid;

-- Query #21658 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ce8b2a77-5873-06ce-3f95-4f70cc6dff6e'::uuid;

-- Query #21659 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ce8b2a77-5873-06ce-3f95-4f70cc6dff6e'::uuid]);

-- Query #21660 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ce8b2a77-5873-06ce-3f95-4f70cc6dff6e'::uuid;

-- Query #21661 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21662 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '12aa0329-6c43-eca0-4e36-c65b1b473447'::uuid;

-- Query #21663 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['12aa0329-6c43-eca0-4e36-c65b1b473447'::uuid]);

-- Query #21664 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '12aa0329-6c43-eca0-4e36-c65b1b473447'::uuid;

-- Query #21665 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12aa0329-6c43-eca0-4e36-c65b1b473447'::uuid, 'Imdb', 'tt29552392')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21666 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12aa0329-6c43-eca0-4e36-c65b1b473447'::uuid, 'Tvdb', 10107902)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21667 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12aa0329-6c43-eca0-4e36-c65b1b473447'::uuid, 'TvMaze', 2668279)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21668 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '12aa0329-6c43-eca0-4e36-c65b1b473447'::uuid;

-- Query #21669 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '12aa0329-6c43-eca0-4e36-c65b1b473447'::uuid;

-- Query #21670 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['12aa0329-6c43-eca0-4e36-c65b1b473447'::uuid]);

-- Query #21671 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '12aa0329-6c43-eca0-4e36-c65b1b473447'::uuid;

-- Query #21672 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21673 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e3b5d67-53ec-48d3-64d9-20a6c4f93fa8'::uuid;

-- Query #21674 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5e3b5d67-53ec-48d3-64d9-20a6c4f93fa8'::uuid]);

-- Query #21675 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5e3b5d67-53ec-48d3-64d9-20a6c4f93fa8'::uuid;

-- Query #21676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e3b5d67-53ec-48d3-64d9-20a6c4f93fa8'::uuid, 'Imdb', 'tt29552409')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e3b5d67-53ec-48d3-64d9-20a6c4f93fa8'::uuid, 'Tvdb', 10107906)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21678 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e3b5d67-53ec-48d3-64d9-20a6c4f93fa8'::uuid, 'TvMaze', 2668289)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21679 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e3b5d67-53ec-48d3-64d9-20a6c4f93fa8'::uuid;

-- Query #21680 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5e3b5d67-53ec-48d3-64d9-20a6c4f93fa8'::uuid;

-- Query #21681 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5e3b5d67-53ec-48d3-64d9-20a6c4f93fa8'::uuid]);

-- Query #21682 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5e3b5d67-53ec-48d3-64d9-20a6c4f93fa8'::uuid;

-- Query #21683 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21684 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '300d1fe6-93c8-a68c-3080-38a2bfda3b67'::uuid;

-- Query #21685 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['300d1fe6-93c8-a68c-3080-38a2bfda3b67'::uuid]);

-- Query #21686 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '300d1fe6-93c8-a68c-3080-38a2bfda3b67'::uuid;

-- Query #21687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('300d1fe6-93c8-a68c-3080-38a2bfda3b67'::uuid, 'Imdb', 'tt30576242')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('300d1fe6-93c8-a68c-3080-38a2bfda3b67'::uuid, 'Tvdb', 10226430)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('300d1fe6-93c8-a68c-3080-38a2bfda3b67'::uuid, 'TvMaze', 2745962)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21690 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '300d1fe6-93c8-a68c-3080-38a2bfda3b67'::uuid;

-- Query #21691 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '300d1fe6-93c8-a68c-3080-38a2bfda3b67'::uuid;

-- Query #21692 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['300d1fe6-93c8-a68c-3080-38a2bfda3b67'::uuid]);

-- Query #21693 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '300d1fe6-93c8-a68c-3080-38a2bfda3b67'::uuid;

-- Query #21694 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21695 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '546bb686-c908-11cb-bb14-d9e52b39d6fd'::uuid;

-- Query #21696 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['546bb686-c908-11cb-bb14-d9e52b39d6fd'::uuid]);

-- Query #21697 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '546bb686-c908-11cb-bb14-d9e52b39d6fd'::uuid;

-- Query #21698 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('546bb686-c908-11cb-bb14-d9e52b39d6fd'::uuid, 'Imdb', 'tt29420061')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21699 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('546bb686-c908-11cb-bb14-d9e52b39d6fd'::uuid, 'Tvdb', 10078011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('546bb686-c908-11cb-bb14-d9e52b39d6fd'::uuid, 'TvMaze', 2659768)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21701 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '546bb686-c908-11cb-bb14-d9e52b39d6fd'::uuid;

-- Query #21702 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '546bb686-c908-11cb-bb14-d9e52b39d6fd'::uuid;

-- Query #21703 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['546bb686-c908-11cb-bb14-d9e52b39d6fd'::uuid]);

-- Query #21704 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '546bb686-c908-11cb-bb14-d9e52b39d6fd'::uuid;

-- Query #21705 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21706 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c30b313f-797f-de41-66ea-5bbe4be3ecb1'::uuid;

-- Query #21707 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c30b313f-797f-de41-66ea-5bbe4be3ecb1'::uuid]);

-- Query #21708 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c30b313f-797f-de41-66ea-5bbe4be3ecb1'::uuid;

-- Query #21709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c30b313f-797f-de41-66ea-5bbe4be3ecb1'::uuid, 'Imdb', 'tt30576239')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c30b313f-797f-de41-66ea-5bbe4be3ecb1'::uuid, 'Tvdb', 10226429)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c30b313f-797f-de41-66ea-5bbe4be3ecb1'::uuid, 'TvMaze', 2745956)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21712 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c30b313f-797f-de41-66ea-5bbe4be3ecb1'::uuid;

-- Query #21713 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c30b313f-797f-de41-66ea-5bbe4be3ecb1'::uuid;

-- Query #21714 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c30b313f-797f-de41-66ea-5bbe4be3ecb1'::uuid]);

-- Query #21715 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c30b313f-797f-de41-66ea-5bbe4be3ecb1'::uuid;

-- Query #21716 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21717 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #21718 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd188a970-7e3a-dd08-7efe-2c3f9e02b746'::uuid;

-- Query #21719 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d188a970-7e3a-dd08-7efe-2c3f9e02b746'::uuid]);

-- Query #21720 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd188a970-7e3a-dd08-7efe-2c3f9e02b746'::uuid;

-- Query #21721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d188a970-7e3a-dd08-7efe-2c3f9e02b746'::uuid, 'Imdb', 'tt29420065')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d188a970-7e3a-dd08-7efe-2c3f9e02b746'::uuid, 'Tvdb', 10107899)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d188a970-7e3a-dd08-7efe-2c3f9e02b746'::uuid, 'TvMaze', 2667965)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21724 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd188a970-7e3a-dd08-7efe-2c3f9e02b746'::uuid;

-- Query #21725 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd188a970-7e3a-dd08-7efe-2c3f9e02b746'::uuid;

-- Query #21726 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d188a970-7e3a-dd08-7efe-2c3f9e02b746'::uuid]);

-- Query #21727 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd188a970-7e3a-dd08-7efe-2c3f9e02b746'::uuid;

-- Query #21728 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21729 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48ce9bf5-4791-7246-e271-e1bb7429a71a'::uuid;

-- Query #21730 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48ce9bf5-4791-7246-e271-e1bb7429a71a'::uuid]);

-- Query #21731 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '48ce9bf5-4791-7246-e271-e1bb7429a71a'::uuid;

-- Query #21732 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48ce9bf5-4791-7246-e271-e1bb7429a71a'::uuid, 'Imdb', 'tt31123540')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21733 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48ce9bf5-4791-7246-e271-e1bb7429a71a'::uuid, 'Tvdb', 10281047)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48ce9bf5-4791-7246-e271-e1bb7429a71a'::uuid, 'TvMaze', 2761015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21735 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48ce9bf5-4791-7246-e271-e1bb7429a71a'::uuid;

-- Query #21736 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '48ce9bf5-4791-7246-e271-e1bb7429a71a'::uuid;

-- Query #21737 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['48ce9bf5-4791-7246-e271-e1bb7429a71a'::uuid]);

-- Query #21738 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '48ce9bf5-4791-7246-e271-e1bb7429a71a'::uuid;

-- Query #21739 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21740 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0397c3f4-6dcf-69ec-bc69-93cc846a5e81'::uuid;

-- Query #21741 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0397c3f4-6dcf-69ec-bc69-93cc846a5e81'::uuid]);

-- Query #21742 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0397c3f4-6dcf-69ec-bc69-93cc846a5e81'::uuid;

-- Query #21743 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0397c3f4-6dcf-69ec-bc69-93cc846a5e81'::uuid, 'Imdb', 'tt31524231')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21744 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0397c3f4-6dcf-69ec-bc69-93cc846a5e81'::uuid, 'Tvdb', 10355186)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0397c3f4-6dcf-69ec-bc69-93cc846a5e81'::uuid, 'TvMaze', 2778016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21746 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0397c3f4-6dcf-69ec-bc69-93cc846a5e81'::uuid;

-- Query #21747 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0397c3f4-6dcf-69ec-bc69-93cc846a5e81'::uuid;

-- Query #21748 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0397c3f4-6dcf-69ec-bc69-93cc846a5e81'::uuid]);

-- Query #21749 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0397c3f4-6dcf-69ec-bc69-93cc846a5e81'::uuid;

-- Query #21750 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21751 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1f96cc9-191e-dfe1-be84-8d64ff29ccd8'::uuid;

-- Query #21752 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a1f96cc9-191e-dfe1-be84-8d64ff29ccd8'::uuid]);

-- Query #21753 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a1f96cc9-191e-dfe1-be84-8d64ff29ccd8'::uuid;

-- Query #21754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1f96cc9-191e-dfe1-be84-8d64ff29ccd8'::uuid, 'Imdb', 'tt31123546')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1f96cc9-191e-dfe1-be84-8d64ff29ccd8'::uuid, 'Tvdb', 10312221)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1f96cc9-191e-dfe1-be84-8d64ff29ccd8'::uuid, 'TvMaze', 2761018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1f96cc9-191e-dfe1-be84-8d64ff29ccd8'::uuid;

-- Query #21758 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a1f96cc9-191e-dfe1-be84-8d64ff29ccd8'::uuid;

-- Query #21759 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a1f96cc9-191e-dfe1-be84-8d64ff29ccd8'::uuid]);

-- Query #21760 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a1f96cc9-191e-dfe1-be84-8d64ff29ccd8'::uuid;

-- Query #21761 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21762 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6be62da9-b7a6-2f92-cc2e-68be47a0e862'::uuid;

-- Query #21763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6be62da9-b7a6-2f92-cc2e-68be47a0e862'::uuid]);

-- Query #21764 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6be62da9-b7a6-2f92-cc2e-68be47a0e862'::uuid;

-- Query #21765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6be62da9-b7a6-2f92-cc2e-68be47a0e862'::uuid, 'Imdb', 'tt29552400')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6be62da9-b7a6-2f92-cc2e-68be47a0e862'::uuid, 'Tvdb', 10107904)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6be62da9-b7a6-2f92-cc2e-68be47a0e862'::uuid, 'TvMaze', 2668281)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21768 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6be62da9-b7a6-2f92-cc2e-68be47a0e862'::uuid;

-- Query #21769 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6be62da9-b7a6-2f92-cc2e-68be47a0e862'::uuid;

-- Query #21770 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6be62da9-b7a6-2f92-cc2e-68be47a0e862'::uuid]);

-- Query #21771 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6be62da9-b7a6-2f92-cc2e-68be47a0e862'::uuid;

-- Query #21772 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21773 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebfe98ec-62b6-421e-0b59-b2eef34e5629'::uuid;

-- Query #21774 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ebfe98ec-62b6-421e-0b59-b2eef34e5629'::uuid]);

-- Query #21775 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ebfe98ec-62b6-421e-0b59-b2eef34e5629'::uuid;

-- Query #21776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebfe98ec-62b6-421e-0b59-b2eef34e5629'::uuid, 'Imdb', 'tt30576229')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebfe98ec-62b6-421e-0b59-b2eef34e5629'::uuid, 'Tvdb', 10191359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebfe98ec-62b6-421e-0b59-b2eef34e5629'::uuid, 'TvMaze', 2719243)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21779 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebfe98ec-62b6-421e-0b59-b2eef34e5629'::uuid;

-- Query #21780 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ebfe98ec-62b6-421e-0b59-b2eef34e5629'::uuid;

-- Query #21781 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ebfe98ec-62b6-421e-0b59-b2eef34e5629'::uuid]);

-- Query #21782 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ebfe98ec-62b6-421e-0b59-b2eef34e5629'::uuid;

-- Query #21783 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21784 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3c32fdf7-f3b0-f5ba-8986-b8f955ac3341'::uuid;

-- Query #21785 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3c32fdf7-f3b0-f5ba-8986-b8f955ac3341'::uuid]);

-- Query #21786 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3c32fdf7-f3b0-f5ba-8986-b8f955ac3341'::uuid;

-- Query #21787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c32fdf7-f3b0-f5ba-8986-b8f955ac3341'::uuid, 'Imdb', 'tt30253768')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21788 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c32fdf7-f3b0-f5ba-8986-b8f955ac3341'::uuid, 'Tvdb', 10147580)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21789 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c32fdf7-f3b0-f5ba-8986-b8f955ac3341'::uuid, 'TvMaze', 2699597)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21790 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3c32fdf7-f3b0-f5ba-8986-b8f955ac3341'::uuid;

-- Query #21791 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3c32fdf7-f3b0-f5ba-8986-b8f955ac3341'::uuid;

-- Query #21792 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3c32fdf7-f3b0-f5ba-8986-b8f955ac3341'::uuid]);

-- Query #21793 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3c32fdf7-f3b0-f5ba-8986-b8f955ac3341'::uuid;

-- Query #21794 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21795 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f564a460-18c1-678f-07e2-25e5058138ea'::uuid;

-- Query #21796 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f564a460-18c1-678f-07e2-25e5058138ea'::uuid]);

-- Query #21797 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f564a460-18c1-678f-07e2-25e5058138ea'::uuid;

-- Query #21798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f564a460-18c1-678f-07e2-25e5058138ea'::uuid, 'TvMaze', 203527)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21799 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f564a460-18c1-678f-07e2-25e5058138ea'::uuid, 'Tvdb', 4918288)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21800 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f564a460-18c1-678f-07e2-25e5058138ea'::uuid;

-- Query #21801 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f564a460-18c1-678f-07e2-25e5058138ea'::uuid;

-- Query #21802 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21803 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f564a460-18c1-678f-07e2-25e5058138ea'::uuid]);

-- Query #21804 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f564a460-18c1-678f-07e2-25e5058138ea'::uuid;

-- Query #21805 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db498def-2dbe-5007-c2ef-09b2182e7781'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21806 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ed10d09-8940-4ed8-945e-3896c15c9fb7'::uuid;

-- Query #21807 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ed10d09-8940-4ed8-945e-3896c15c9fb7'::uuid]);

-- Query #21808 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4ed10d09-8940-4ed8-945e-3896c15c9fb7'::uuid;

-- Query #21809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ed10d09-8940-4ed8-945e-3896c15c9fb7'::uuid, 'TvMaze', 2245532)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ed10d09-8940-4ed8-945e-3896c15c9fb7'::uuid, 'Tvdb', 8852216)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21811 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ed10d09-8940-4ed8-945e-3896c15c9fb7'::uuid;

-- Query #21812 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4ed10d09-8940-4ed8-945e-3896c15c9fb7'::uuid;

-- Query #21813 | logged_duration_ms=6 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21814 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4ed10d09-8940-4ed8-945e-3896c15c9fb7'::uuid]);

-- Query #21815 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4ed10d09-8940-4ed8-945e-3896c15c9fb7'::uuid;

-- Query #21816 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db498def-2dbe-5007-c2ef-09b2182e7781'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21817 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cc51fac8-302d-58d6-7839-81a699f1c7ae'::uuid;

-- Query #21818 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc51fac8-302d-58d6-7839-81a699f1c7ae'::uuid]);

-- Query #21819 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cc51fac8-302d-58d6-7839-81a699f1c7ae'::uuid;

-- Query #21820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc51fac8-302d-58d6-7839-81a699f1c7ae'::uuid, 'TvMaze', 1669491)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc51fac8-302d-58d6-7839-81a699f1c7ae'::uuid, 'Tvdb', 1669491)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21822 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cc51fac8-302d-58d6-7839-81a699f1c7ae'::uuid;

-- Query #21823 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cc51fac8-302d-58d6-7839-81a699f1c7ae'::uuid;

-- Query #21824 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21825 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cc51fac8-302d-58d6-7839-81a699f1c7ae'::uuid]);

-- Query #21826 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cc51fac8-302d-58d6-7839-81a699f1c7ae'::uuid;

-- Query #21827 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db498def-2dbe-5007-c2ef-09b2182e7781'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21828 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '518b85c5-937e-0fd6-7356-13e936f35c41'::uuid;

-- Query #21829 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['518b85c5-937e-0fd6-7356-13e936f35c41'::uuid]);

-- Query #21830 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '518b85c5-937e-0fd6-7356-13e936f35c41'::uuid;

-- Query #21831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('518b85c5-937e-0fd6-7356-13e936f35c41'::uuid, 'TvMaze', 1996356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('518b85c5-937e-0fd6-7356-13e936f35c41'::uuid, 'Tvdb', 8126206)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21833 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '518b85c5-937e-0fd6-7356-13e936f35c41'::uuid;

-- Query #21834 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '518b85c5-937e-0fd6-7356-13e936f35c41'::uuid;

-- Query #21835 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21836 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['518b85c5-937e-0fd6-7356-13e936f35c41'::uuid]);

-- Query #21837 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '518b85c5-937e-0fd6-7356-13e936f35c41'::uuid;

-- Query #21838 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db498def-2dbe-5007-c2ef-09b2182e7781'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21839 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8129d17-0a75-8c44-fe82-40126225d1b7'::uuid;

-- Query #21840 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d8129d17-0a75-8c44-fe82-40126225d1b7'::uuid]);

-- Query #21841 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd8129d17-0a75-8c44-fe82-40126225d1b7'::uuid;

-- Query #21842 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8129d17-0a75-8c44-fe82-40126225d1b7'::uuid, 'TvMaze', 2156052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8129d17-0a75-8c44-fe82-40126225d1b7'::uuid, 'Tvdb', 8664926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21844 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8129d17-0a75-8c44-fe82-40126225d1b7'::uuid;

-- Query #21845 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd8129d17-0a75-8c44-fe82-40126225d1b7'::uuid;

-- Query #21846 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21847 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d8129d17-0a75-8c44-fe82-40126225d1b7'::uuid]);

-- Query #21848 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd8129d17-0a75-8c44-fe82-40126225d1b7'::uuid;

-- Query #21849 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db498def-2dbe-5007-c2ef-09b2182e7781'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21850 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62c52970-6a01-343f-7b14-b4c6bd9d81c9'::uuid;

-- Query #21851 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62c52970-6a01-343f-7b14-b4c6bd9d81c9'::uuid]);

-- Query #21852 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '62c52970-6a01-343f-7b14-b4c6bd9d81c9'::uuid;

-- Query #21853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62c52970-6a01-343f-7b14-b4c6bd9d81c9'::uuid, 'TvMaze', 204048)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62c52970-6a01-343f-7b14-b4c6bd9d81c9'::uuid, 'Tvdb', 5006272)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21855 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62c52970-6a01-343f-7b14-b4c6bd9d81c9'::uuid;

-- Query #21856 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '62c52970-6a01-343f-7b14-b4c6bd9d81c9'::uuid;

-- Query #21857 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Kinetic Content', '3+Lifetime', '3+Peacock', '6+experiment', '6+marriage']);

-- Query #21858 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['62c52970-6a01-343f-7b14-b4c6bd9d81c9'::uuid]);

-- Query #21859 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '62c52970-6a01-343f-7b14-b4c6bd9d81c9'::uuid;

-- Query #21860 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db498def-2dbe-5007-c2ef-09b2182e7781'::uuid, 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21861 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a0561de0-eb14-c045-e305-07c002ec595d'::uuid
ORDER BY b."SortName";

-- Query #21862 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ed625654-f3bf-8aad-0af4-edd572590ccb'::uuid
ORDER BY b."SortName";

-- Query #21863 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8040aba6-5f70-b826-85e6-48e053908d6e'::uuid
ORDER BY b."SortName";

-- Query #21864 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cfc78f4f-a7c7-fd69-ec27-7aaeb7e4a8fb'::uuid
ORDER BY b."SortName";

-- Query #21865 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '240da686-faf3-339a-b199-6dac7d07fc4a'::uuid
ORDER BY b."SortName";

-- Query #21866 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '50bc541a-4643-b7be-07ad-02c4e8d189ac'::uuid
ORDER BY b."SortName";

-- Query #21867 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fe8d2042-4aa5-9bca-253c-45759e64abf0'::uuid
ORDER BY b."SortName";

-- Query #21868 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '20354507-2c78-fa79-b502-baa1e16ca102'::uuid
ORDER BY b."SortName";

-- Query #21869 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f12c8c9e-3d19-acfc-174e-d115d34dde53'::uuid
ORDER BY b."SortName";

-- Query #21870 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '436b4870-c888-1557-ec20-d57f066dd49b'::uuid
ORDER BY b."SortName";

-- Query #21871 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9dacd775-42b6-ca92-625a-dbc08ef815fa'::uuid
ORDER BY b."SortName";

-- Query #21872 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95abbf88-4449-16e6-e047-402269b0c0e8'::uuid
ORDER BY b."SortName";

-- Query #21873 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ff0e6f44-1739-f6db-e07a-3fdc169fadf9'::uuid
ORDER BY b."SortName";

-- Query #21874 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '88e28957-e6ee-c47e-9a96-e414672407eb'::uuid
ORDER BY b."SortName";

-- Query #21875 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b08a8c3a-be24-1df4-eaf1-6bbf8bdf6cc7'::uuid
ORDER BY b."SortName";

-- Query #21876 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b8ce52d0-69d9-9a17-80a9-6ff67a0f398d'::uuid
ORDER BY b."SortName";

-- Query #21877 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '576c5fd8-ba17-8cfa-3691-ea2b5b683523'::uuid
ORDER BY b."SortName";

-- Query #21878 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bf4b3525-b0a1-3673-d5ff-1d86e3f39a82'::uuid
ORDER BY b."SortName";

-- Query #21879 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'db498def-2dbe-5007-c2ef-09b2182e7781'::uuid
ORDER BY b."SortName";

-- Query #21880 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'a0561de0eb14c045e30507c002ec595d'
ORDER BY b."SortName", b."Name";

-- Query #21881 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '32c560be-afe6-70ed-570f-63649b176588'::uuid
ORDER BY b."SortName";

-- Query #21882 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21883 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21884 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21885 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21886 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21887 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid
ORDER BY b."SortName";

-- Query #21888 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid
ORDER BY b."SortName";

-- Query #21889 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '32c560be-afe6-70ed-570f-63649b176588'::uuid;

-- Query #21890 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['32c560be-afe6-70ed-570f-63649b176588'::uuid]);

-- Query #21891 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '32c560be-afe6-70ed-570f-63649b176588'::uuid;

-- Query #21892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32c560be-afe6-70ed-570f-63649b176588'::uuid, 'Imdb', 'tt5434216')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32c560be-afe6-70ed-570f-63649b176588'::uuid, 'Tmdb', 68479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32c560be-afe6-70ed-570f-63649b176588'::uuid, 'TmdbCollection', 68479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21895 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32c560be-afe6-70ed-570f-63649b176588'::uuid, 'Tvdb', 298130)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32c560be-afe6-70ed-570f-63649b176588'::uuid, 'TvMaze', 7973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21897 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '32c560be-afe6-70ed-570f-63649b176588'::uuid;

-- Query #21898 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '32c560be-afe6-70ed-570f-63649b176588'::uuid;

-- Query #21899 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['32c560be-afe6-70ed-570f-63649b176588'::uuid]);

-- Query #21900 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '32c560be-afe6-70ed-570f-63649b176588'::uuid;

-- Query #21901 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21902 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '32c560beafe670ed570f63649b176588'
ORDER BY b."SortName", b."Name";

-- Query #21903 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21904 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21905 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21906 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21907 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21908 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '32c560be-afe6-70ed-570f-63649b176588'::uuid
ORDER BY b."SortName";

-- Query #21909 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21910 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21911 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21912 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21913 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21914 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid
ORDER BY b."SortName";

-- Query #21915 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid
ORDER BY b."SortName";

-- Query #21916 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '32c560beafe670ed570f63649b176588'
ORDER BY b."SortName", b."Name";

-- Query #21917 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid;

-- Query #21918 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid]);

-- Query #21919 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid;

-- Query #21920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, 'TvMaze', 122103)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, 'Tvdb', 1952860)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21922 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid;

-- Query #21923 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid;

-- Query #21924 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+dating', '6+relationship']);

-- Query #21925 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid]);

-- Query #21926 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid;

-- Query #21927 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['32c560be-afe6-70ed-570f-63649b176588'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21928 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '32c560beafe670ed570f63649b176588'
ORDER BY b."SortName", b."Name";

-- Query #21929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid;

-- Query #21930 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid]);

-- Query #21931 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid;

-- Query #21932 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid, 'TvMaze', 155754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21933 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid, 'Tvdb', 2083985)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21934 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid;

-- Query #21935 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid;

-- Query #21936 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+dating', '6+relationship']);

-- Query #21937 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid]);

-- Query #21938 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid;

-- Query #21939 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['32c560be-afe6-70ed-570f-63649b176588'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21940 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '32c560be-afe6-70ed-570f-63649b176588'::uuid
ORDER BY b."SortName";

-- Query #21941 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21942 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21943 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21944 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21945 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21946 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid
ORDER BY b."SortName";

-- Query #21947 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid
ORDER BY b."SortName";

-- Query #21948 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '32c560beafe670ed570f63649b176588'
ORDER BY b."SortName", b."Name";

-- Query #21949 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21950 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21951 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21952 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21953 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['620640b6-0b5b-4d15-93b2-9e2432b0239d'::uuid, '7418c09e-14ee-0d97-ee5c-f07fa601f36e'::uuid])
ORDER BY b."Id";

-- Query #21954 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid
ORDER BY b."SortName";

-- Query #21955 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid])
ORDER BY b."Id";

-- Query #21956 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid])
ORDER BY b."Id";

-- Query #21957 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid])
ORDER BY b."Id";

-- Query #21958 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid])
ORDER BY b."Id";

-- Query #21959 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid])
ORDER BY b."Id";

-- Query #21960 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid
ORDER BY b."SortName";

-- Query #21961 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid
ORDER BY b."SortName";

-- Query #21962 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid
ORDER BY b."SortName";

-- Query #21963 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid
ORDER BY b."SortName";

-- Query #21964 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid
ORDER BY b."SortName";

-- Query #21965 | logged_duration_ms=32 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T22:22:18.2584469Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #21966 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #21967 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid;

-- Query #21968 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid]);

-- Query #21969 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid;

-- Query #21970 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, 'Imdb', 'tt0103488')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, 'Tmdb', 171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, 'TmdbCollection', 171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21973 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, 'Tvdb', 75725)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21974 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, 'TvMaze', 7903)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, 'wikidata', 'Q3295320')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, 'Zap2It', 'EP00036955')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21977 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid;

-- Query #21978 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid;

-- Query #21979 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid]);

-- Query #21980 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid;

-- Query #21981 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #21982 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '2e9d70143f16d55ef684a44bc2c9ad2c'
ORDER BY b."SortName", b."Name";

-- Query #21983 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid
ORDER BY b."SortName";

-- Query #21984 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid])
ORDER BY b."Id";

-- Query #21985 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid])
ORDER BY b."Id";

-- Query #21986 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid])
ORDER BY b."Id";

-- Query #21987 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid])
ORDER BY b."Id";

-- Query #21988 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid])
ORDER BY b."Id";

-- Query #21989 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid
ORDER BY b."SortName";

-- Query #21990 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid
ORDER BY b."SortName";

-- Query #21991 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid
ORDER BY b."SortName";

-- Query #21992 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid
ORDER BY b."SortName";

-- Query #21993 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid
ORDER BY b."SortName";

-- Query #21994 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '2e9d70143f16d55ef684a44bc2c9ad2c'
ORDER BY b."SortName", b."Name";

-- Query #21995 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid;

-- Query #21996 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid]);

-- Query #21997 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid;

-- Query #21998 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, 'TmdbCollection', 171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #21999 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, 'Tvdb', 75725)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22000 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, 'Tmdb', 171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, 'Imdb', 'tt0103488')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, 'TvMaze', 7903)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, 'wikidata', 'Q3295320')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, 'Zap2It', 'EP00036955')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22005 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid;

-- Query #22006 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid;

-- Query #22007 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid]);

-- Query #22008 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid;

-- Query #22009 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22010 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '2e9d70143f16d55ef684a44bc2c9ad2c'
ORDER BY b."SortName", b."Name";

-- Query #22011 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid;

-- Query #22012 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid]);

-- Query #22013 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid;

-- Query #22014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, 'Tvdb', 75725)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, 'Tmdb', 171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, 'Imdb', 'tt0103488')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, 'TvMaze', 7903)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22018 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, 'wikidata', 'Q3295320')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, 'Zap2It', 'EP00036955')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22020 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, 'TmdbCollection', 171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22021 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid;

-- Query #22022 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid;

-- Query #22023 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid]);

-- Query #22024 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid;

-- Query #22025 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22026 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '2e9d70143f16d55ef684a44bc2c9ad2c'
ORDER BY b."SortName", b."Name";

-- Query #22027 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid;

-- Query #22028 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid]);

-- Query #22029 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid;

-- Query #22030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, 'TmdbCollection', 171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22031 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, 'Tvdb', 75725)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, 'Tmdb', 171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22033 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, 'Imdb', 'tt0103488')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22034 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, 'TvMaze', 7903)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, 'wikidata', 'Q3295320')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, 'Zap2It', 'EP00036955')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22037 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid;

-- Query #22038 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid;

-- Query #22039 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid]);

-- Query #22040 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid;

-- Query #22041 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22042 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92b77e02-37f1-39b2-647e-344043a86423'::uuid;

-- Query #22043 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92b77e02-37f1-39b2-647e-344043a86423'::uuid]);

-- Query #22044 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '92b77e02-37f1-39b2-647e-344043a86423'::uuid;

-- Query #22045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92b77e02-37f1-39b2-647e-344043a86423'::uuid, 'Imdb', 'tt0642640')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92b77e02-37f1-39b2-647e-344043a86423'::uuid, 'Tmdb', 10734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92b77e02-37f1-39b2-647e-344043a86423'::uuid, 'TmdbCollection', 10734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92b77e02-37f1-39b2-647e-344043a86423'::uuid, 'trakt', 12594)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92b77e02-37f1-39b2-647e-344043a86423'::uuid, 'Tvdb', 177269)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92b77e02-37f1-39b2-647e-344043a86423'::uuid, 'TvMaze', 439248)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92b77e02-37f1-39b2-647e-344043a86423'::uuid, 'TvRage', 110211)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22052 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92b77e02-37f1-39b2-647e-344043a86423'::uuid;

-- Query #22053 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '92b77e02-37f1-39b2-647e-344043a86423'::uuid;

-- Query #22054 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['92b77e02-37f1-39b2-647e-344043a86423'::uuid]);

-- Query #22055 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '92b77e02-37f1-39b2-647e-344043a86423'::uuid;

-- Query #22056 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22057 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9fb855dd-55f0-c558-547b-5cd8f4593d33'::uuid;

-- Query #22058 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9fb855dd-55f0-c558-547b-5cd8f4593d33'::uuid]);

-- Query #22059 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9fb855dd-55f0-c558-547b-5cd8f4593d33'::uuid;

-- Query #22060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fb855dd-55f0-c558-547b-5cd8f4593d33'::uuid, 'Imdb', 'tt0642641')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fb855dd-55f0-c558-547b-5cd8f4593d33'::uuid, 'Tmdb', 10750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fb855dd-55f0-c558-547b-5cd8f4593d33'::uuid, 'TmdbCollection', 10750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fb855dd-55f0-c558-547b-5cd8f4593d33'::uuid, 'trakt', 12611)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fb855dd-55f0-c558-547b-5cd8f4593d33'::uuid, 'Tvdb', 177286)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fb855dd-55f0-c558-547b-5cd8f4593d33'::uuid, 'TvMaze', 439265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9fb855dd-55f0-c558-547b-5cd8f4593d33'::uuid, 'TvRage', 110228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22067 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9fb855dd-55f0-c558-547b-5cd8f4593d33'::uuid;

-- Query #22068 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9fb855dd-55f0-c558-547b-5cd8f4593d33'::uuid;

-- Query #22069 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9fb855dd-55f0-c558-547b-5cd8f4593d33'::uuid]);

-- Query #22070 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9fb855dd-55f0-c558-547b-5cd8f4593d33'::uuid;

-- Query #22071 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22072 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7251d41a-124d-0e2e-b367-707b984d8373'::uuid;

-- Query #22073 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7251d41a-124d-0e2e-b367-707b984d8373'::uuid]);

-- Query #22074 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7251d41a-124d-0e2e-b367-707b984d8373'::uuid;

-- Query #22075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7251d41a-124d-0e2e-b367-707b984d8373'::uuid, 'Imdb', 'tt0642652')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7251d41a-124d-0e2e-b367-707b984d8373'::uuid, 'Tmdb', 10729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22077 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7251d41a-124d-0e2e-b367-707b984d8373'::uuid, 'TmdbCollection', 10729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22078 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7251d41a-124d-0e2e-b367-707b984d8373'::uuid, 'trakt', 12589)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22079 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7251d41a-124d-0e2e-b367-707b984d8373'::uuid, 'Tvdb', 177264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7251d41a-124d-0e2e-b367-707b984d8373'::uuid, 'TvMaze', 439243)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22081 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7251d41a-124d-0e2e-b367-707b984d8373'::uuid, 'TvRage', 110206)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22082 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7251d41a-124d-0e2e-b367-707b984d8373'::uuid;

-- Query #22083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7251d41a-124d-0e2e-b367-707b984d8373'::uuid;

-- Query #22084 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7251d41a-124d-0e2e-b367-707b984d8373'::uuid]);

-- Query #22085 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7251d41a-124d-0e2e-b367-707b984d8373'::uuid;

-- Query #22086 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22087 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e9e711af-d5c1-708e-b81f-23003bf8592d'::uuid;

-- Query #22088 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9e711af-d5c1-708e-b81f-23003bf8592d'::uuid]);

-- Query #22089 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e9e711af-d5c1-708e-b81f-23003bf8592d'::uuid;

-- Query #22090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9e711af-d5c1-708e-b81f-23003bf8592d'::uuid, 'Imdb', 'tt0642728')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9e711af-d5c1-708e-b81f-23003bf8592d'::uuid, 'Tmdb', 10741)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9e711af-d5c1-708e-b81f-23003bf8592d'::uuid, 'TmdbCollection', 10741)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9e711af-d5c1-708e-b81f-23003bf8592d'::uuid, 'trakt', 12603)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9e711af-d5c1-708e-b81f-23003bf8592d'::uuid, 'Tvdb', 177278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9e711af-d5c1-708e-b81f-23003bf8592d'::uuid, 'TvMaze', 439257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9e711af-d5c1-708e-b81f-23003bf8592d'::uuid, 'TvRage', 110220)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22097 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e9e711af-d5c1-708e-b81f-23003bf8592d'::uuid;

-- Query #22098 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e9e711af-d5c1-708e-b81f-23003bf8592d'::uuid;

-- Query #22099 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e9e711af-d5c1-708e-b81f-23003bf8592d'::uuid]);

-- Query #22100 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e9e711af-d5c1-708e-b81f-23003bf8592d'::uuid;

-- Query #22101 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22102 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9108474c-f845-4373-9606-97d945494684'::uuid;

-- Query #22103 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9108474c-f845-4373-9606-97d945494684'::uuid]);

-- Query #22104 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9108474c-f845-4373-9606-97d945494684'::uuid;

-- Query #22105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9108474c-f845-4373-9606-97d945494684'::uuid, 'Imdb', 'tt0642729')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9108474c-f845-4373-9606-97d945494684'::uuid, 'Tmdb', 10743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9108474c-f845-4373-9606-97d945494684'::uuid, 'TmdbCollection', 10743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9108474c-f845-4373-9606-97d945494684'::uuid, 'trakt', 12604)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9108474c-f845-4373-9606-97d945494684'::uuid, 'Tvdb', 177279)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9108474c-f845-4373-9606-97d945494684'::uuid, 'TvMaze', 439258)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22111 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9108474c-f845-4373-9606-97d945494684'::uuid, 'TvRage', 110221)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22112 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9108474c-f845-4373-9606-97d945494684'::uuid;

-- Query #22113 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9108474c-f845-4373-9606-97d945494684'::uuid;

-- Query #22114 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9108474c-f845-4373-9606-97d945494684'::uuid]);

-- Query #22115 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9108474c-f845-4373-9606-97d945494684'::uuid;

-- Query #22116 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22117 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '83f31e06-cd9e-6cd9-0241-cf3d2248cc80'::uuid;

-- Query #22118 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['83f31e06-cd9e-6cd9-0241-cf3d2248cc80'::uuid]);

-- Query #22119 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '83f31e06-cd9e-6cd9-0241-cf3d2248cc80'::uuid;

-- Query #22120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83f31e06-cd9e-6cd9-0241-cf3d2248cc80'::uuid, 'Imdb', 'tt0642657')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83f31e06-cd9e-6cd9-0241-cf3d2248cc80'::uuid, 'Tmdb', 10751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83f31e06-cd9e-6cd9-0241-cf3d2248cc80'::uuid, 'TmdbCollection', 10751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83f31e06-cd9e-6cd9-0241-cf3d2248cc80'::uuid, 'trakt', 12612)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83f31e06-cd9e-6cd9-0241-cf3d2248cc80'::uuid, 'Tvdb', 177287)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22125 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83f31e06-cd9e-6cd9-0241-cf3d2248cc80'::uuid, 'TvMaze', 439266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83f31e06-cd9e-6cd9-0241-cf3d2248cc80'::uuid, 'TvRage', 110229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22127 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '83f31e06-cd9e-6cd9-0241-cf3d2248cc80'::uuid;

-- Query #22128 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '83f31e06-cd9e-6cd9-0241-cf3d2248cc80'::uuid;

-- Query #22129 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['83f31e06-cd9e-6cd9-0241-cf3d2248cc80'::uuid]);

-- Query #22130 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '83f31e06-cd9e-6cd9-0241-cf3d2248cc80'::uuid;

-- Query #22131 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22132 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f06c0095-35c4-3453-d84e-f9cb2f416a2a'::uuid;

-- Query #22133 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f06c0095-35c4-3453-d84e-f9cb2f416a2a'::uuid]);

-- Query #22134 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f06c0095-35c4-3453-d84e-f9cb2f416a2a'::uuid;

-- Query #22135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f06c0095-35c4-3453-d84e-f9cb2f416a2a'::uuid, 'Imdb', 'tt0642661')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f06c0095-35c4-3453-d84e-f9cb2f416a2a'::uuid, 'Tmdb', 10745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f06c0095-35c4-3453-d84e-f9cb2f416a2a'::uuid, 'TmdbCollection', 10745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f06c0095-35c4-3453-d84e-f9cb2f416a2a'::uuid, 'trakt', 12607)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22139 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f06c0095-35c4-3453-d84e-f9cb2f416a2a'::uuid, 'Tvdb', 177282)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22140 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f06c0095-35c4-3453-d84e-f9cb2f416a2a'::uuid, 'TvMaze', 439261)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22141 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f06c0095-35c4-3453-d84e-f9cb2f416a2a'::uuid, 'TvRage', 110224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22142 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f06c0095-35c4-3453-d84e-f9cb2f416a2a'::uuid;

-- Query #22143 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f06c0095-35c4-3453-d84e-f9cb2f416a2a'::uuid;

-- Query #22144 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f06c0095-35c4-3453-d84e-f9cb2f416a2a'::uuid]);

-- Query #22145 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f06c0095-35c4-3453-d84e-f9cb2f416a2a'::uuid;

-- Query #22146 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22147 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4081ba95-66ca-6ca9-0904-99db210f9ce9'::uuid;

-- Query #22148 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4081ba95-66ca-6ca9-0904-99db210f9ce9'::uuid]);

-- Query #22149 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4081ba95-66ca-6ca9-0904-99db210f9ce9'::uuid;

-- Query #22150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4081ba95-66ca-6ca9-0904-99db210f9ce9'::uuid, 'Imdb', 'tt0642665')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4081ba95-66ca-6ca9-0904-99db210f9ce9'::uuid, 'Tmdb', 10728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4081ba95-66ca-6ca9-0904-99db210f9ce9'::uuid, 'TmdbCollection', 10728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4081ba95-66ca-6ca9-0904-99db210f9ce9'::uuid, 'trakt', 12590)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22154 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4081ba95-66ca-6ca9-0904-99db210f9ce9'::uuid, 'Tvdb', 177265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22155 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4081ba95-66ca-6ca9-0904-99db210f9ce9'::uuid, 'TvMaze', 439244)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22156 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4081ba95-66ca-6ca9-0904-99db210f9ce9'::uuid, 'TvRage', 110207)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22157 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4081ba95-66ca-6ca9-0904-99db210f9ce9'::uuid;

-- Query #22158 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4081ba95-66ca-6ca9-0904-99db210f9ce9'::uuid;

-- Query #22159 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4081ba95-66ca-6ca9-0904-99db210f9ce9'::uuid]);

-- Query #22160 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4081ba95-66ca-6ca9-0904-99db210f9ce9'::uuid;

-- Query #22161 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22162 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a4733ba1-7a5a-8221-725e-ac054d735527'::uuid;

-- Query #22163 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a4733ba1-7a5a-8221-725e-ac054d735527'::uuid]);

-- Query #22164 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a4733ba1-7a5a-8221-725e-ac054d735527'::uuid;

-- Query #22165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4733ba1-7a5a-8221-725e-ac054d735527'::uuid, 'Imdb', 'tt0642671')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4733ba1-7a5a-8221-725e-ac054d735527'::uuid, 'Tmdb', 10732)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4733ba1-7a5a-8221-725e-ac054d735527'::uuid, 'TmdbCollection', 10732)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4733ba1-7a5a-8221-725e-ac054d735527'::uuid, 'trakt', 12591)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22169 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4733ba1-7a5a-8221-725e-ac054d735527'::uuid, 'Tvdb', 177266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22170 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4733ba1-7a5a-8221-725e-ac054d735527'::uuid, 'TvMaze', 439245)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22171 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4733ba1-7a5a-8221-725e-ac054d735527'::uuid, 'TvRage', 110208)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a4733ba1-7a5a-8221-725e-ac054d735527'::uuid;

-- Query #22173 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a4733ba1-7a5a-8221-725e-ac054d735527'::uuid;

-- Query #22174 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a4733ba1-7a5a-8221-725e-ac054d735527'::uuid]);

-- Query #22175 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a4733ba1-7a5a-8221-725e-ac054d735527'::uuid;

-- Query #22176 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22177 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bcf957ac-b817-d8d7-5201-4bc93d0c7ff4'::uuid;

-- Query #22178 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcf957ac-b817-d8d7-5201-4bc93d0c7ff4'::uuid]);

-- Query #22179 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bcf957ac-b817-d8d7-5201-4bc93d0c7ff4'::uuid;

-- Query #22180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf957ac-b817-d8d7-5201-4bc93d0c7ff4'::uuid, 'Imdb', 'tt0642734')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf957ac-b817-d8d7-5201-4bc93d0c7ff4'::uuid, 'Tmdb', 10727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf957ac-b817-d8d7-5201-4bc93d0c7ff4'::uuid, 'TmdbCollection', 10727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22183 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf957ac-b817-d8d7-5201-4bc93d0c7ff4'::uuid, 'trakt', 12587)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22184 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf957ac-b817-d8d7-5201-4bc93d0c7ff4'::uuid, 'Tvdb', 177262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22185 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf957ac-b817-d8d7-5201-4bc93d0c7ff4'::uuid, 'TvMaze', 439241)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22186 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf957ac-b817-d8d7-5201-4bc93d0c7ff4'::uuid, 'TvRage', 110204)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22187 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bcf957ac-b817-d8d7-5201-4bc93d0c7ff4'::uuid;

-- Query #22188 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bcf957ac-b817-d8d7-5201-4bc93d0c7ff4'::uuid;

-- Query #22189 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bcf957ac-b817-d8d7-5201-4bc93d0c7ff4'::uuid]);

-- Query #22190 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bcf957ac-b817-d8d7-5201-4bc93d0c7ff4'::uuid;

-- Query #22191 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22192 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5414ffcc-de7e-d3ab-350c-d1131166db7e'::uuid;

-- Query #22193 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5414ffcc-de7e-d3ab-350c-d1131166db7e'::uuid]);

-- Query #22194 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5414ffcc-de7e-d3ab-350c-d1131166db7e'::uuid;

-- Query #22195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5414ffcc-de7e-d3ab-350c-d1131166db7e'::uuid, 'Imdb', 'tt0642735')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5414ffcc-de7e-d3ab-350c-d1131166db7e'::uuid, 'Tmdb', 10735)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5414ffcc-de7e-d3ab-350c-d1131166db7e'::uuid, 'TmdbCollection', 10735)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5414ffcc-de7e-d3ab-350c-d1131166db7e'::uuid, 'trakt', 12596)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22199 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5414ffcc-de7e-d3ab-350c-d1131166db7e'::uuid, 'Tvdb', 177271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22200 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5414ffcc-de7e-d3ab-350c-d1131166db7e'::uuid, 'TvMaze', 439250)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22201 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5414ffcc-de7e-d3ab-350c-d1131166db7e'::uuid, 'TvRage', 110213)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22202 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5414ffcc-de7e-d3ab-350c-d1131166db7e'::uuid;

-- Query #22203 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5414ffcc-de7e-d3ab-350c-d1131166db7e'::uuid;

-- Query #22204 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5414ffcc-de7e-d3ab-350c-d1131166db7e'::uuid]);

-- Query #22205 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5414ffcc-de7e-d3ab-350c-d1131166db7e'::uuid;

-- Query #22206 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22207 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a9ecc29-7b31-7f74-b98b-9661f2626818'::uuid;

-- Query #22208 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a9ecc29-7b31-7f74-b98b-9661f2626818'::uuid]);

-- Query #22209 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6a9ecc29-7b31-7f74-b98b-9661f2626818'::uuid;

-- Query #22210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a9ecc29-7b31-7f74-b98b-9661f2626818'::uuid, 'Imdb', 'tt0642691')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a9ecc29-7b31-7f74-b98b-9661f2626818'::uuid, 'Tmdb', 10744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a9ecc29-7b31-7f74-b98b-9661f2626818'::uuid, 'TmdbCollection', 10744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a9ecc29-7b31-7f74-b98b-9661f2626818'::uuid, 'trakt', 12606)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a9ecc29-7b31-7f74-b98b-9661f2626818'::uuid, 'Tvdb', 177281)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a9ecc29-7b31-7f74-b98b-9661f2626818'::uuid, 'TvMaze', 439260)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22216 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a9ecc29-7b31-7f74-b98b-9661f2626818'::uuid, 'TvRage', 110223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22217 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a9ecc29-7b31-7f74-b98b-9661f2626818'::uuid;

-- Query #22218 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6a9ecc29-7b31-7f74-b98b-9661f2626818'::uuid;

-- Query #22219 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6a9ecc29-7b31-7f74-b98b-9661f2626818'::uuid]);

-- Query #22220 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6a9ecc29-7b31-7f74-b98b-9661f2626818'::uuid;

-- Query #22221 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22222 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3f5b1105-d8ac-241d-5ae1-f9c8f44301a5'::uuid;

-- Query #22223 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3f5b1105-d8ac-241d-5ae1-f9c8f44301a5'::uuid]);

-- Query #22224 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3f5b1105-d8ac-241d-5ae1-f9c8f44301a5'::uuid;

-- Query #22225 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f5b1105-d8ac-241d-5ae1-f9c8f44301a5'::uuid, 'Imdb', 'tt0642690')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22226 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f5b1105-d8ac-241d-5ae1-f9c8f44301a5'::uuid, 'Tmdb', 10739)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22227 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f5b1105-d8ac-241d-5ae1-f9c8f44301a5'::uuid, 'TmdbCollection', 10739)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f5b1105-d8ac-241d-5ae1-f9c8f44301a5'::uuid, 'trakt', 12600)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f5b1105-d8ac-241d-5ae1-f9c8f44301a5'::uuid, 'Tvdb', 177275)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22230 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f5b1105-d8ac-241d-5ae1-f9c8f44301a5'::uuid, 'TvMaze', 439254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22231 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f5b1105-d8ac-241d-5ae1-f9c8f44301a5'::uuid, 'TvRage', 110217)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22232 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3f5b1105-d8ac-241d-5ae1-f9c8f44301a5'::uuid;

-- Query #22233 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3f5b1105-d8ac-241d-5ae1-f9c8f44301a5'::uuid;

-- Query #22234 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3f5b1105-d8ac-241d-5ae1-f9c8f44301a5'::uuid]);

-- Query #22235 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3f5b1105-d8ac-241d-5ae1-f9c8f44301a5'::uuid;

-- Query #22236 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22237 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bafacf5-984a-3985-d32c-9cb9f1273bbc'::uuid;

-- Query #22238 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4bafacf5-984a-3985-d32c-9cb9f1273bbc'::uuid]);

-- Query #22239 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4bafacf5-984a-3985-d32c-9cb9f1273bbc'::uuid;

-- Query #22240 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bafacf5-984a-3985-d32c-9cb9f1273bbc'::uuid, 'Imdb', 'tt0642693')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22241 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bafacf5-984a-3985-d32c-9cb9f1273bbc'::uuid, 'Tmdb', 10738)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22242 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bafacf5-984a-3985-d32c-9cb9f1273bbc'::uuid, 'TmdbCollection', 10738)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22243 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bafacf5-984a-3985-d32c-9cb9f1273bbc'::uuid, 'trakt', 12599)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22244 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bafacf5-984a-3985-d32c-9cb9f1273bbc'::uuid, 'Tvdb', 177274)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22245 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bafacf5-984a-3985-d32c-9cb9f1273bbc'::uuid, 'TvMaze', 439253)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bafacf5-984a-3985-d32c-9cb9f1273bbc'::uuid, 'TvRage', 110216)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22247 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bafacf5-984a-3985-d32c-9cb9f1273bbc'::uuid;

-- Query #22248 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4bafacf5-984a-3985-d32c-9cb9f1273bbc'::uuid;

-- Query #22249 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4bafacf5-984a-3985-d32c-9cb9f1273bbc'::uuid]);

-- Query #22250 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4bafacf5-984a-3985-d32c-9cb9f1273bbc'::uuid;

-- Query #22251 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22252 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11294af8-508f-e926-c698-2d78046ecb8e'::uuid;

-- Query #22253 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11294af8-508f-e926-c698-2d78046ecb8e'::uuid]);

-- Query #22254 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '11294af8-508f-e926-c698-2d78046ecb8e'::uuid;

-- Query #22255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11294af8-508f-e926-c698-2d78046ecb8e'::uuid, 'Imdb', 'tt0642697')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11294af8-508f-e926-c698-2d78046ecb8e'::uuid, 'Tmdb', 10747)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22257 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11294af8-508f-e926-c698-2d78046ecb8e'::uuid, 'TmdbCollection', 10747)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22258 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11294af8-508f-e926-c698-2d78046ecb8e'::uuid, 'trakt', 12608)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22259 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11294af8-508f-e926-c698-2d78046ecb8e'::uuid, 'Tvdb', 177283)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22260 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11294af8-508f-e926-c698-2d78046ecb8e'::uuid, 'TvMaze', 439262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11294af8-508f-e926-c698-2d78046ecb8e'::uuid, 'TvRage', 110225)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22262 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11294af8-508f-e926-c698-2d78046ecb8e'::uuid;

-- Query #22263 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '11294af8-508f-e926-c698-2d78046ecb8e'::uuid;

-- Query #22264 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['11294af8-508f-e926-c698-2d78046ecb8e'::uuid]);

-- Query #22265 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '11294af8-508f-e926-c698-2d78046ecb8e'::uuid;

-- Query #22266 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb29e188-6d0b-a36c-45dd-faee1b2bdc7b'::uuid;

-- Query #22268 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb29e188-6d0b-a36c-45dd-faee1b2bdc7b'::uuid]);

-- Query #22269 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eb29e188-6d0b-a36c-45dd-faee1b2bdc7b'::uuid;

-- Query #22270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb29e188-6d0b-a36c-45dd-faee1b2bdc7b'::uuid, 'Imdb', 'tt1119388')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22271 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb29e188-6d0b-a36c-45dd-faee1b2bdc7b'::uuid, 'Tmdb', 10733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22272 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb29e188-6d0b-a36c-45dd-faee1b2bdc7b'::uuid, 'TmdbCollection', 10733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22273 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb29e188-6d0b-a36c-45dd-faee1b2bdc7b'::uuid, 'trakt', 12595)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb29e188-6d0b-a36c-45dd-faee1b2bdc7b'::uuid, 'Tvdb', 177270)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb29e188-6d0b-a36c-45dd-faee1b2bdc7b'::uuid, 'TvMaze', 439249)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb29e188-6d0b-a36c-45dd-faee1b2bdc7b'::uuid, 'TvRage', 110212)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22277 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb29e188-6d0b-a36c-45dd-faee1b2bdc7b'::uuid;

-- Query #22278 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eb29e188-6d0b-a36c-45dd-faee1b2bdc7b'::uuid;

-- Query #22279 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eb29e188-6d0b-a36c-45dd-faee1b2bdc7b'::uuid]);

-- Query #22280 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eb29e188-6d0b-a36c-45dd-faee1b2bdc7b'::uuid;

-- Query #22281 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22282 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #22283 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '247fc564-fc92-bb56-ee90-cf1992064a9d'::uuid;

-- Query #22284 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['247fc564-fc92-bb56-ee90-cf1992064a9d'::uuid]);

-- Query #22285 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '247fc564-fc92-bb56-ee90-cf1992064a9d'::uuid;

-- Query #22286 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('247fc564-fc92-bb56-ee90-cf1992064a9d'::uuid, 'Imdb', 'tt0642739')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22287 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('247fc564-fc92-bb56-ee90-cf1992064a9d'::uuid, 'Tmdb', 10731)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('247fc564-fc92-bb56-ee90-cf1992064a9d'::uuid, 'TmdbCollection', 10731)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('247fc564-fc92-bb56-ee90-cf1992064a9d'::uuid, 'trakt', 12592)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('247fc564-fc92-bb56-ee90-cf1992064a9d'::uuid, 'Tvdb', 177267)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('247fc564-fc92-bb56-ee90-cf1992064a9d'::uuid, 'TvMaze', 439246)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('247fc564-fc92-bb56-ee90-cf1992064a9d'::uuid, 'TvRage', 110209)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22293 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '247fc564-fc92-bb56-ee90-cf1992064a9d'::uuid;

-- Query #22294 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '247fc564-fc92-bb56-ee90-cf1992064a9d'::uuid;

-- Query #22295 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['247fc564-fc92-bb56-ee90-cf1992064a9d'::uuid]);

-- Query #22296 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '247fc564-fc92-bb56-ee90-cf1992064a9d'::uuid;

-- Query #22297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22298 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b0256244-6a61-15fc-94ca-4f7f6b0174e0'::uuid;

-- Query #22299 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b0256244-6a61-15fc-94ca-4f7f6b0174e0'::uuid]);

-- Query #22300 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b0256244-6a61-15fc-94ca-4f7f6b0174e0'::uuid;

-- Query #22301 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0256244-6a61-15fc-94ca-4f7f6b0174e0'::uuid, 'Imdb', 'tt0642742')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0256244-6a61-15fc-94ca-4f7f6b0174e0'::uuid, 'Tmdb', 10725)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0256244-6a61-15fc-94ca-4f7f6b0174e0'::uuid, 'TmdbCollection', 10725)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0256244-6a61-15fc-94ca-4f7f6b0174e0'::uuid, 'trakt', 12588)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0256244-6a61-15fc-94ca-4f7f6b0174e0'::uuid, 'Tvdb', 177263)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0256244-6a61-15fc-94ca-4f7f6b0174e0'::uuid, 'TvMaze', 439242)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0256244-6a61-15fc-94ca-4f7f6b0174e0'::uuid, 'TvRage', 110205)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22308 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b0256244-6a61-15fc-94ca-4f7f6b0174e0'::uuid;

-- Query #22309 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b0256244-6a61-15fc-94ca-4f7f6b0174e0'::uuid;

-- Query #22310 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b0256244-6a61-15fc-94ca-4f7f6b0174e0'::uuid]);

-- Query #22311 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b0256244-6a61-15fc-94ca-4f7f6b0174e0'::uuid;

-- Query #22312 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22313 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ae130c2e-8b2f-c060-5f22-6408fc334709'::uuid;

-- Query #22314 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ae130c2e-8b2f-c060-5f22-6408fc334709'::uuid]);

-- Query #22315 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ae130c2e-8b2f-c060-5f22-6408fc334709'::uuid;

-- Query #22316 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae130c2e-8b2f-c060-5f22-6408fc334709'::uuid, 'Imdb', 'tt0642744')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae130c2e-8b2f-c060-5f22-6408fc334709'::uuid, 'Tmdb', 10736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22318 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae130c2e-8b2f-c060-5f22-6408fc334709'::uuid, 'TmdbCollection', 10736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae130c2e-8b2f-c060-5f22-6408fc334709'::uuid, 'trakt', 12597)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae130c2e-8b2f-c060-5f22-6408fc334709'::uuid, 'Tvdb', 177272)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae130c2e-8b2f-c060-5f22-6408fc334709'::uuid, 'TvMaze', 439251)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae130c2e-8b2f-c060-5f22-6408fc334709'::uuid, 'TvRage', 110214)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22323 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ae130c2e-8b2f-c060-5f22-6408fc334709'::uuid;

-- Query #22324 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ae130c2e-8b2f-c060-5f22-6408fc334709'::uuid;

-- Query #22325 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ae130c2e-8b2f-c060-5f22-6408fc334709'::uuid]);

-- Query #22326 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ae130c2e-8b2f-c060-5f22-6408fc334709'::uuid;

-- Query #22327 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c1d04a7-840c-d281-8a8e-f1939b7ce7ed'::uuid;

-- Query #22329 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9c1d04a7-840c-d281-8a8e-f1939b7ce7ed'::uuid]);

-- Query #22330 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9c1d04a7-840c-d281-8a8e-f1939b7ce7ed'::uuid;

-- Query #22331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c1d04a7-840c-d281-8a8e-f1939b7ce7ed'::uuid, 'Imdb', 'tt0642747')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c1d04a7-840c-d281-8a8e-f1939b7ce7ed'::uuid, 'Tmdb', 10749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22333 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c1d04a7-840c-d281-8a8e-f1939b7ce7ed'::uuid, 'TmdbCollection', 10749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c1d04a7-840c-d281-8a8e-f1939b7ce7ed'::uuid, 'trakt', 12610)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c1d04a7-840c-d281-8a8e-f1939b7ce7ed'::uuid, 'Tvdb', 177285)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c1d04a7-840c-d281-8a8e-f1939b7ce7ed'::uuid, 'TvMaze', 439264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c1d04a7-840c-d281-8a8e-f1939b7ce7ed'::uuid, 'TvRage', 110227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22338 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c1d04a7-840c-d281-8a8e-f1939b7ce7ed'::uuid;

-- Query #22339 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9c1d04a7-840c-d281-8a8e-f1939b7ce7ed'::uuid;

-- Query #22340 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9c1d04a7-840c-d281-8a8e-f1939b7ce7ed'::uuid]);

-- Query #22341 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9c1d04a7-840c-d281-8a8e-f1939b7ce7ed'::uuid;

-- Query #22342 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22343 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e62da04-aa34-a10b-ae52-9255bc5d40de'::uuid;

-- Query #22344 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0e62da04-aa34-a10b-ae52-9255bc5d40de'::uuid]);

-- Query #22345 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0e62da04-aa34-a10b-ae52-9255bc5d40de'::uuid;

-- Query #22346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e62da04-aa34-a10b-ae52-9255bc5d40de'::uuid, 'Imdb', 'tt0642634')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22347 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e62da04-aa34-a10b-ae52-9255bc5d40de'::uuid, 'Tmdb', 10730)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22348 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e62da04-aa34-a10b-ae52-9255bc5d40de'::uuid, 'TmdbCollection', 10730)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22349 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e62da04-aa34-a10b-ae52-9255bc5d40de'::uuid, 'trakt', 12593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22350 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e62da04-aa34-a10b-ae52-9255bc5d40de'::uuid, 'Tvdb', 177268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22351 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e62da04-aa34-a10b-ae52-9255bc5d40de'::uuid, 'TvMaze', 439247)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e62da04-aa34-a10b-ae52-9255bc5d40de'::uuid, 'TvRage', 110210)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22353 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e62da04-aa34-a10b-ae52-9255bc5d40de'::uuid;

-- Query #22354 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0e62da04-aa34-a10b-ae52-9255bc5d40de'::uuid;

-- Query #22355 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0e62da04-aa34-a10b-ae52-9255bc5d40de'::uuid]);

-- Query #22356 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0e62da04-aa34-a10b-ae52-9255bc5d40de'::uuid;

-- Query #22357 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22358 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '17d3b368-069a-0e04-38c1-6865c3ae4ccb'::uuid;

-- Query #22359 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['17d3b368-069a-0e04-38c1-6865c3ae4ccb'::uuid]);

-- Query #22360 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '17d3b368-069a-0e04-38c1-6865c3ae4ccb'::uuid;

-- Query #22361 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17d3b368-069a-0e04-38c1-6865c3ae4ccb'::uuid, 'Imdb', 'tt0642760')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22362 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17d3b368-069a-0e04-38c1-6865c3ae4ccb'::uuid, 'Tmdb', 10748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22363 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17d3b368-069a-0e04-38c1-6865c3ae4ccb'::uuid, 'TmdbCollection', 10748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22364 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17d3b368-069a-0e04-38c1-6865c3ae4ccb'::uuid, 'trakt', 12609)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22365 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17d3b368-069a-0e04-38c1-6865c3ae4ccb'::uuid, 'Tvdb', 177284)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17d3b368-069a-0e04-38c1-6865c3ae4ccb'::uuid, 'TvMaze', 439263)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17d3b368-069a-0e04-38c1-6865c3ae4ccb'::uuid, 'TvRage', 110226)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22368 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '17d3b368-069a-0e04-38c1-6865c3ae4ccb'::uuid;

-- Query #22369 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '17d3b368-069a-0e04-38c1-6865c3ae4ccb'::uuid;

-- Query #22370 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['17d3b368-069a-0e04-38c1-6865c3ae4ccb'::uuid]);

-- Query #22371 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '17d3b368-069a-0e04-38c1-6865c3ae4ccb'::uuid;

-- Query #22372 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22373 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e9e608bf-a7af-0a84-74c2-2266a069d78f'::uuid;

-- Query #22374 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9e608bf-a7af-0a84-74c2-2266a069d78f'::uuid]);

-- Query #22375 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e9e608bf-a7af-0a84-74c2-2266a069d78f'::uuid;

-- Query #22376 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9e608bf-a7af-0a84-74c2-2266a069d78f'::uuid, 'trakt', 12617)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22377 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9e608bf-a7af-0a84-74c2-2266a069d78f'::uuid, 'Tvdb', 177292)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22378 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9e608bf-a7af-0a84-74c2-2266a069d78f'::uuid, 'TvMaze', 439271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22379 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9e608bf-a7af-0a84-74c2-2266a069d78f'::uuid, 'TvRage', 110234)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9e608bf-a7af-0a84-74c2-2266a069d78f'::uuid, 'Imdb', 'tt0642642')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9e608bf-a7af-0a84-74c2-2266a069d78f'::uuid, 'Tmdb', 10758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9e608bf-a7af-0a84-74c2-2266a069d78f'::uuid, 'TmdbCollection', 10758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22383 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e9e608bf-a7af-0a84-74c2-2266a069d78f'::uuid;

-- Query #22384 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e9e608bf-a7af-0a84-74c2-2266a069d78f'::uuid;

-- Query #22385 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e9e608bf-a7af-0a84-74c2-2266a069d78f'::uuid]);

-- Query #22386 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e9e608bf-a7af-0a84-74c2-2266a069d78f'::uuid;

-- Query #22387 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22388 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5af7cc9-1aa5-357f-e526-aa1475732e44'::uuid;

-- Query #22389 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5af7cc9-1aa5-357f-e526-aa1475732e44'::uuid]);

-- Query #22390 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e5af7cc9-1aa5-357f-e526-aa1475732e44'::uuid;

-- Query #22391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5af7cc9-1aa5-357f-e526-aa1475732e44'::uuid, 'Imdb', 'tt0642660')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5af7cc9-1aa5-357f-e526-aa1475732e44'::uuid, 'Tmdb', 10755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22393 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5af7cc9-1aa5-357f-e526-aa1475732e44'::uuid, 'TvMaze', 439273)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22394 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5af7cc9-1aa5-357f-e526-aa1475732e44'::uuid, 'Tvdb', 177294)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22395 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5af7cc9-1aa5-357f-e526-aa1475732e44'::uuid, 'TvRage', 110236)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5af7cc9-1aa5-357f-e526-aa1475732e44'::uuid, 'trakt', 12619)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5af7cc9-1aa5-357f-e526-aa1475732e44'::uuid, 'TmdbCollection', 10755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22398 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5af7cc9-1aa5-357f-e526-aa1475732e44'::uuid;

-- Query #22399 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e5af7cc9-1aa5-357f-e526-aa1475732e44'::uuid;

-- Query #22400 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e5af7cc9-1aa5-357f-e526-aa1475732e44'::uuid]);

-- Query #22401 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e5af7cc9-1aa5-357f-e526-aa1475732e44'::uuid;

-- Query #22402 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22403 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a64b3442-43ac-26c5-d9ff-c2de1ee67c74'::uuid;

-- Query #22404 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a64b3442-43ac-26c5-d9ff-c2de1ee67c74'::uuid]);

-- Query #22405 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a64b3442-43ac-26c5-d9ff-c2de1ee67c74'::uuid;

-- Query #22406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a64b3442-43ac-26c5-d9ff-c2de1ee67c74'::uuid, 'Imdb', 'tt0642662')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22407 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a64b3442-43ac-26c5-d9ff-c2de1ee67c74'::uuid, 'Tmdb', 10759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22408 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a64b3442-43ac-26c5-d9ff-c2de1ee67c74'::uuid, 'TvMaze', 439290)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22409 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a64b3442-43ac-26c5-d9ff-c2de1ee67c74'::uuid, 'Tvdb', 177311)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22410 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a64b3442-43ac-26c5-d9ff-c2de1ee67c74'::uuid, 'TvRage', 110253)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22411 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a64b3442-43ac-26c5-d9ff-c2de1ee67c74'::uuid, 'trakt', 12616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22412 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a64b3442-43ac-26c5-d9ff-c2de1ee67c74'::uuid, 'TmdbCollection', 10759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22413 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a64b3442-43ac-26c5-d9ff-c2de1ee67c74'::uuid;

-- Query #22414 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a64b3442-43ac-26c5-d9ff-c2de1ee67c74'::uuid;

-- Query #22415 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a64b3442-43ac-26c5-d9ff-c2de1ee67c74'::uuid]);

-- Query #22416 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a64b3442-43ac-26c5-d9ff-c2de1ee67c74'::uuid;

-- Query #22417 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22418 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bffbeef2-f7f7-aacb-22ee-cdf0735f6c87'::uuid;

-- Query #22419 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bffbeef2-f7f7-aacb-22ee-cdf0735f6c87'::uuid]);

-- Query #22420 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bffbeef2-f7f7-aacb-22ee-cdf0735f6c87'::uuid;

-- Query #22421 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bffbeef2-f7f7-aacb-22ee-cdf0735f6c87'::uuid, 'Imdb', 'tt0642666')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22422 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bffbeef2-f7f7-aacb-22ee-cdf0735f6c87'::uuid, 'Tmdb', 10754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22423 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bffbeef2-f7f7-aacb-22ee-cdf0735f6c87'::uuid, 'TvMaze', 439267)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bffbeef2-f7f7-aacb-22ee-cdf0735f6c87'::uuid, 'Tvdb', 177288)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bffbeef2-f7f7-aacb-22ee-cdf0735f6c87'::uuid, 'TvRage', 110230)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bffbeef2-f7f7-aacb-22ee-cdf0735f6c87'::uuid, 'trakt', 12613)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bffbeef2-f7f7-aacb-22ee-cdf0735f6c87'::uuid, 'TmdbCollection', 10754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22428 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bffbeef2-f7f7-aacb-22ee-cdf0735f6c87'::uuid;

-- Query #22429 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bffbeef2-f7f7-aacb-22ee-cdf0735f6c87'::uuid;

-- Query #22430 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bffbeef2-f7f7-aacb-22ee-cdf0735f6c87'::uuid]);

-- Query #22431 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bffbeef2-f7f7-aacb-22ee-cdf0735f6c87'::uuid;

-- Query #22432 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22433 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af7b2264-ee5f-a288-5ab3-127379284153'::uuid;

-- Query #22434 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af7b2264-ee5f-a288-5ab3-127379284153'::uuid]);

-- Query #22435 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'af7b2264-ee5f-a288-5ab3-127379284153'::uuid;

-- Query #22436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af7b2264-ee5f-a288-5ab3-127379284153'::uuid, 'Imdb', 'tt0642669')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22437 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af7b2264-ee5f-a288-5ab3-127379284153'::uuid, 'Tmdb', 10769)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22438 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af7b2264-ee5f-a288-5ab3-127379284153'::uuid, 'TvMaze', 439276)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22439 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af7b2264-ee5f-a288-5ab3-127379284153'::uuid, 'Tvdb', 177297)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22440 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af7b2264-ee5f-a288-5ab3-127379284153'::uuid, 'TvRage', 110239)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af7b2264-ee5f-a288-5ab3-127379284153'::uuid, 'trakt', 12622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af7b2264-ee5f-a288-5ab3-127379284153'::uuid, 'TmdbCollection', 10769)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22443 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af7b2264-ee5f-a288-5ab3-127379284153'::uuid;

-- Query #22444 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'af7b2264-ee5f-a288-5ab3-127379284153'::uuid;

-- Query #22445 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['af7b2264-ee5f-a288-5ab3-127379284153'::uuid]);

-- Query #22446 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'af7b2264-ee5f-a288-5ab3-127379284153'::uuid;

-- Query #22447 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22448 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4da25545-828d-a550-33a7-5b044d6637c1'::uuid;

-- Query #22449 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4da25545-828d-a550-33a7-5b044d6637c1'::uuid]);

-- Query #22450 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4da25545-828d-a550-33a7-5b044d6637c1'::uuid;

-- Query #22451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da25545-828d-a550-33a7-5b044d6637c1'::uuid, 'Imdb', 'tt0642678')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22452 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da25545-828d-a550-33a7-5b044d6637c1'::uuid, 'Tmdb', 10752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22453 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da25545-828d-a550-33a7-5b044d6637c1'::uuid, 'TvMaze', 439269)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22454 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da25545-828d-a550-33a7-5b044d6637c1'::uuid, 'Tvdb', 177290)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22455 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da25545-828d-a550-33a7-5b044d6637c1'::uuid, 'TvRage', 110232)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da25545-828d-a550-33a7-5b044d6637c1'::uuid, 'trakt', 12615)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da25545-828d-a550-33a7-5b044d6637c1'::uuid, 'TmdbCollection', 10752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22458 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4da25545-828d-a550-33a7-5b044d6637c1'::uuid;

-- Query #22459 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4da25545-828d-a550-33a7-5b044d6637c1'::uuid;

-- Query #22460 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4da25545-828d-a550-33a7-5b044d6637c1'::uuid]);

-- Query #22461 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4da25545-828d-a550-33a7-5b044d6637c1'::uuid;

-- Query #22462 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22463 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f606163-7170-36e9-720c-f77b615c73c9'::uuid;

-- Query #22464 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0f606163-7170-36e9-720c-f77b615c73c9'::uuid]);

-- Query #22465 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0f606163-7170-36e9-720c-f77b615c73c9'::uuid;

-- Query #22466 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f606163-7170-36e9-720c-f77b615c73c9'::uuid, 'Imdb', 'tt0642680')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f606163-7170-36e9-720c-f77b615c73c9'::uuid, 'Tmdb', 10754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22468 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f606163-7170-36e9-720c-f77b615c73c9'::uuid, 'TvMaze', 439287)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f606163-7170-36e9-720c-f77b615c73c9'::uuid, 'Tvdb', 177308)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f606163-7170-36e9-720c-f77b615c73c9'::uuid, 'TvRage', 110250)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f606163-7170-36e9-720c-f77b615c73c9'::uuid, 'trakt', 12613)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f606163-7170-36e9-720c-f77b615c73c9'::uuid, 'TmdbCollection', 10754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22473 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f606163-7170-36e9-720c-f77b615c73c9'::uuid;

-- Query #22474 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0f606163-7170-36e9-720c-f77b615c73c9'::uuid;

-- Query #22475 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0f606163-7170-36e9-720c-f77b615c73c9'::uuid]);

-- Query #22476 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0f606163-7170-36e9-720c-f77b615c73c9'::uuid;

-- Query #22477 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22478 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd328409a-9ac6-e03d-f5d9-25db56cad889'::uuid;

-- Query #22479 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d328409a-9ac6-e03d-f5d9-25db56cad889'::uuid]);

-- Query #22480 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd328409a-9ac6-e03d-f5d9-25db56cad889'::uuid;

-- Query #22481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d328409a-9ac6-e03d-f5d9-25db56cad889'::uuid, 'TmdbCollection', 10756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d328409a-9ac6-e03d-f5d9-25db56cad889'::uuid, 'Imdb', 'tt0642736')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d328409a-9ac6-e03d-f5d9-25db56cad889'::uuid, 'Tmdb', 10756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22484 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d328409a-9ac6-e03d-f5d9-25db56cad889'::uuid, 'TvMaze', 439292)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d328409a-9ac6-e03d-f5d9-25db56cad889'::uuid, 'Tvdb', 177313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d328409a-9ac6-e03d-f5d9-25db56cad889'::uuid, 'TvRage', 110255)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d328409a-9ac6-e03d-f5d9-25db56cad889'::uuid, 'trakt', 12618)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22488 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd328409a-9ac6-e03d-f5d9-25db56cad889'::uuid;

-- Query #22489 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd328409a-9ac6-e03d-f5d9-25db56cad889'::uuid;

-- Query #22490 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d328409a-9ac6-e03d-f5d9-25db56cad889'::uuid]);

-- Query #22491 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd328409a-9ac6-e03d-f5d9-25db56cad889'::uuid;

-- Query #22492 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22493 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f20f7043-cf01-5e55-0351-10eadefcae5c'::uuid;

-- Query #22494 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f20f7043-cf01-5e55-0351-10eadefcae5c'::uuid]);

-- Query #22495 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f20f7043-cf01-5e55-0351-10eadefcae5c'::uuid;

-- Query #22496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f20f7043-cf01-5e55-0351-10eadefcae5c'::uuid, 'Imdb', 'tt0642684')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f20f7043-cf01-5e55-0351-10eadefcae5c'::uuid, 'Tmdb', 10764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f20f7043-cf01-5e55-0351-10eadefcae5c'::uuid, 'TvMaze', 439281)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f20f7043-cf01-5e55-0351-10eadefcae5c'::uuid, 'Tvdb', 177302)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f20f7043-cf01-5e55-0351-10eadefcae5c'::uuid, 'TvRage', 110244)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f20f7043-cf01-5e55-0351-10eadefcae5c'::uuid, 'trakt', 12627)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f20f7043-cf01-5e55-0351-10eadefcae5c'::uuid, 'TmdbCollection', 10764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22503 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f20f7043-cf01-5e55-0351-10eadefcae5c'::uuid;

-- Query #22504 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f20f7043-cf01-5e55-0351-10eadefcae5c'::uuid;

-- Query #22505 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f20f7043-cf01-5e55-0351-10eadefcae5c'::uuid]);

-- Query #22506 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f20f7043-cf01-5e55-0351-10eadefcae5c'::uuid;

-- Query #22507 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22508 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '639a189d-e824-fa6a-7dc1-699497ae691c'::uuid;

-- Query #22509 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['639a189d-e824-fa6a-7dc1-699497ae691c'::uuid]);

-- Query #22510 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '639a189d-e824-fa6a-7dc1-699497ae691c'::uuid;

-- Query #22511 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('639a189d-e824-fa6a-7dc1-699497ae691c'::uuid, 'Imdb', 'tt0642686')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('639a189d-e824-fa6a-7dc1-699497ae691c'::uuid, 'Tmdb', 10767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('639a189d-e824-fa6a-7dc1-699497ae691c'::uuid, 'TvMaze', 439278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('639a189d-e824-fa6a-7dc1-699497ae691c'::uuid, 'Tvdb', 177299)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('639a189d-e824-fa6a-7dc1-699497ae691c'::uuid, 'TvRage', 110241)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('639a189d-e824-fa6a-7dc1-699497ae691c'::uuid, 'trakt', 12624)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('639a189d-e824-fa6a-7dc1-699497ae691c'::uuid, 'TmdbCollection', 10767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22518 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '639a189d-e824-fa6a-7dc1-699497ae691c'::uuid;

-- Query #22519 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '639a189d-e824-fa6a-7dc1-699497ae691c'::uuid;

-- Query #22520 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['639a189d-e824-fa6a-7dc1-699497ae691c'::uuid]);

-- Query #22521 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '639a189d-e824-fa6a-7dc1-699497ae691c'::uuid;

-- Query #22522 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22523 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36ba71bd-c813-02ae-0a31-ba94b2275acc'::uuid;

-- Query #22524 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['36ba71bd-c813-02ae-0a31-ba94b2275acc'::uuid]);

-- Query #22525 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '36ba71bd-c813-02ae-0a31-ba94b2275acc'::uuid;

-- Query #22526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36ba71bd-c813-02ae-0a31-ba94b2275acc'::uuid, 'TmdbCollection', 10752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22527 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36ba71bd-c813-02ae-0a31-ba94b2275acc'::uuid, 'Imdb', 'tt0642689')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22528 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36ba71bd-c813-02ae-0a31-ba94b2275acc'::uuid, 'Tmdb', 10752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22529 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36ba71bd-c813-02ae-0a31-ba94b2275acc'::uuid, 'TvMaze', 439289)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22530 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36ba71bd-c813-02ae-0a31-ba94b2275acc'::uuid, 'Tvdb', 177310)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36ba71bd-c813-02ae-0a31-ba94b2275acc'::uuid, 'TvRage', 110252)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36ba71bd-c813-02ae-0a31-ba94b2275acc'::uuid, 'trakt', 12615)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22533 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36ba71bd-c813-02ae-0a31-ba94b2275acc'::uuid;

-- Query #22534 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '36ba71bd-c813-02ae-0a31-ba94b2275acc'::uuid;

-- Query #22535 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['36ba71bd-c813-02ae-0a31-ba94b2275acc'::uuid]);

-- Query #22536 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '36ba71bd-c813-02ae-0a31-ba94b2275acc'::uuid;

-- Query #22537 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22538 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3680eff-5471-7187-ce42-60205e19a788'::uuid;

-- Query #22539 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b3680eff-5471-7187-ce42-60205e19a788'::uuid]);

-- Query #22540 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b3680eff-5471-7187-ce42-60205e19a788'::uuid;

-- Query #22541 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3680eff-5471-7187-ce42-60205e19a788'::uuid, 'Imdb', 'tt1119389')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22542 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3680eff-5471-7187-ce42-60205e19a788'::uuid, 'Tmdb', 10760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22543 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3680eff-5471-7187-ce42-60205e19a788'::uuid, 'TvMaze', 439284)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3680eff-5471-7187-ce42-60205e19a788'::uuid, 'Tvdb', 177305)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3680eff-5471-7187-ce42-60205e19a788'::uuid, 'TvRage', 110247)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3680eff-5471-7187-ce42-60205e19a788'::uuid, 'trakt', 12630)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3680eff-5471-7187-ce42-60205e19a788'::uuid, 'TmdbCollection', 10760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22548 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3680eff-5471-7187-ce42-60205e19a788'::uuid;

-- Query #22549 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b3680eff-5471-7187-ce42-60205e19a788'::uuid;

-- Query #22550 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b3680eff-5471-7187-ce42-60205e19a788'::uuid]);

-- Query #22551 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b3680eff-5471-7187-ce42-60205e19a788'::uuid;

-- Query #22552 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22553 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a3b427b-549c-490e-f8ff-99ca77d4f68b'::uuid;

-- Query #22554 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a3b427b-549c-490e-f8ff-99ca77d4f68b'::uuid]);

-- Query #22555 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7a3b427b-549c-490e-f8ff-99ca77d4f68b'::uuid;

-- Query #22556 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a3b427b-549c-490e-f8ff-99ca77d4f68b'::uuid, 'Imdb', 'tt0642702')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22557 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a3b427b-549c-490e-f8ff-99ca77d4f68b'::uuid, 'Tmdb', 10760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22558 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a3b427b-549c-490e-f8ff-99ca77d4f68b'::uuid, 'TvMaze', 439285)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22559 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a3b427b-549c-490e-f8ff-99ca77d4f68b'::uuid, 'Tvdb', 177306)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a3b427b-549c-490e-f8ff-99ca77d4f68b'::uuid, 'TvRage', 110248)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a3b427b-549c-490e-f8ff-99ca77d4f68b'::uuid, 'trakt', 12630)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a3b427b-549c-490e-f8ff-99ca77d4f68b'::uuid, 'TmdbCollection', 10760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22563 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a3b427b-549c-490e-f8ff-99ca77d4f68b'::uuid;

-- Query #22564 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7a3b427b-549c-490e-f8ff-99ca77d4f68b'::uuid;

-- Query #22565 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7a3b427b-549c-490e-f8ff-99ca77d4f68b'::uuid]);

-- Query #22566 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7a3b427b-549c-490e-f8ff-99ca77d4f68b'::uuid;

-- Query #22567 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22568 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29babb2c-7305-f05e-5cec-c6e5e623e1d2'::uuid;

-- Query #22569 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29babb2c-7305-f05e-5cec-c6e5e623e1d2'::uuid]);

-- Query #22570 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '29babb2c-7305-f05e-5cec-c6e5e623e1d2'::uuid;

-- Query #22571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29babb2c-7305-f05e-5cec-c6e5e623e1d2'::uuid, 'TmdbCollection', 10773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22572 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29babb2c-7305-f05e-5cec-c6e5e623e1d2'::uuid, 'Imdb', 'tt0642706')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22573 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29babb2c-7305-f05e-5cec-c6e5e623e1d2'::uuid, 'Tmdb', 10773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22574 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29babb2c-7305-f05e-5cec-c6e5e623e1d2'::uuid, 'TvMaze', 439293)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29babb2c-7305-f05e-5cec-c6e5e623e1d2'::uuid, 'Tvdb', 177314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29babb2c-7305-f05e-5cec-c6e5e623e1d2'::uuid, 'TvRage', 110256)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29babb2c-7305-f05e-5cec-c6e5e623e1d2'::uuid, 'trakt', 12639)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22578 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29babb2c-7305-f05e-5cec-c6e5e623e1d2'::uuid;

-- Query #22579 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '29babb2c-7305-f05e-5cec-c6e5e623e1d2'::uuid;

-- Query #22580 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['29babb2c-7305-f05e-5cec-c6e5e623e1d2'::uuid]);

-- Query #22581 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '29babb2c-7305-f05e-5cec-c6e5e623e1d2'::uuid;

-- Query #22582 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22583 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '33106954-7e3a-2675-be2c-6ecb10f1fd6e'::uuid;

-- Query #22584 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['33106954-7e3a-2675-be2c-6ecb10f1fd6e'::uuid]);

-- Query #22585 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '33106954-7e3a-2675-be2c-6ecb10f1fd6e'::uuid;

-- Query #22586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33106954-7e3a-2675-be2c-6ecb10f1fd6e'::uuid, 'Imdb', 'tt0642711')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22587 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33106954-7e3a-2675-be2c-6ecb10f1fd6e'::uuid, 'Tmdb', 10766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33106954-7e3a-2675-be2c-6ecb10f1fd6e'::uuid, 'TvMaze', 439282)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33106954-7e3a-2675-be2c-6ecb10f1fd6e'::uuid, 'Tvdb', 177303)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33106954-7e3a-2675-be2c-6ecb10f1fd6e'::uuid, 'TvRage', 110245)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33106954-7e3a-2675-be2c-6ecb10f1fd6e'::uuid, 'trakt', 12628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22592 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33106954-7e3a-2675-be2c-6ecb10f1fd6e'::uuid, 'TmdbCollection', 10766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22593 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '33106954-7e3a-2675-be2c-6ecb10f1fd6e'::uuid;

-- Query #22594 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '33106954-7e3a-2675-be2c-6ecb10f1fd6e'::uuid;

-- Query #22595 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['33106954-7e3a-2675-be2c-6ecb10f1fd6e'::uuid]);

-- Query #22596 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '33106954-7e3a-2675-be2c-6ecb10f1fd6e'::uuid;

-- Query #22597 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22598 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd07958e-a3c1-be80-ae6e-bf4ee8e039f2'::uuid;

-- Query #22599 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd07958e-a3c1-be80-ae6e-bf4ee8e039f2'::uuid]);

-- Query #22600 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dd07958e-a3c1-be80-ae6e-bf4ee8e039f2'::uuid;

-- Query #22601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd07958e-a3c1-be80-ae6e-bf4ee8e039f2'::uuid, 'Imdb', 'tt0642712')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd07958e-a3c1-be80-ae6e-bf4ee8e039f2'::uuid, 'Tmdb', 10758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22603 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd07958e-a3c1-be80-ae6e-bf4ee8e039f2'::uuid, 'TvMaze', 439291)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd07958e-a3c1-be80-ae6e-bf4ee8e039f2'::uuid, 'Tvdb', 177312)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22605 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd07958e-a3c1-be80-ae6e-bf4ee8e039f2'::uuid, 'TvRage', 110254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22606 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd07958e-a3c1-be80-ae6e-bf4ee8e039f2'::uuid, 'trakt', 12617)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22607 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd07958e-a3c1-be80-ae6e-bf4ee8e039f2'::uuid, 'TmdbCollection', 10758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22608 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd07958e-a3c1-be80-ae6e-bf4ee8e039f2'::uuid;

-- Query #22609 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dd07958e-a3c1-be80-ae6e-bf4ee8e039f2'::uuid;

-- Query #22610 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dd07958e-a3c1-be80-ae6e-bf4ee8e039f2'::uuid]);

-- Query #22611 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dd07958e-a3c1-be80-ae6e-bf4ee8e039f2'::uuid;

-- Query #22612 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22613 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd9af4d97-3cd3-f716-bbd2-4dff53eaa1c2'::uuid;

-- Query #22614 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d9af4d97-3cd3-f716-bbd2-4dff53eaa1c2'::uuid]);

-- Query #22615 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd9af4d97-3cd3-f716-bbd2-4dff53eaa1c2'::uuid;

-- Query #22616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9af4d97-3cd3-f716-bbd2-4dff53eaa1c2'::uuid, 'TmdbCollection', 10753)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9af4d97-3cd3-f716-bbd2-4dff53eaa1c2'::uuid, 'Imdb', 'tt0642717')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9af4d97-3cd3-f716-bbd2-4dff53eaa1c2'::uuid, 'Tmdb', 10753)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9af4d97-3cd3-f716-bbd2-4dff53eaa1c2'::uuid, 'TvMaze', 439268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22620 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9af4d97-3cd3-f716-bbd2-4dff53eaa1c2'::uuid, 'Tvdb', 177289)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22621 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9af4d97-3cd3-f716-bbd2-4dff53eaa1c2'::uuid, 'TvRage', 110231)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9af4d97-3cd3-f716-bbd2-4dff53eaa1c2'::uuid, 'trakt', 12614)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22623 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd9af4d97-3cd3-f716-bbd2-4dff53eaa1c2'::uuid;

-- Query #22624 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd9af4d97-3cd3-f716-bbd2-4dff53eaa1c2'::uuid;

-- Query #22625 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d9af4d97-3cd3-f716-bbd2-4dff53eaa1c2'::uuid]);

-- Query #22626 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd9af4d97-3cd3-f716-bbd2-4dff53eaa1c2'::uuid;

-- Query #22627 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22628 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1bb14b3-8c54-8929-f8d9-4fd0c4c070df'::uuid;

-- Query #22629 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1bb14b3-8c54-8929-f8d9-4fd0c4c070df'::uuid]);

-- Query #22630 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c1bb14b3-8c54-8929-f8d9-4fd0c4c070df'::uuid;

-- Query #22631 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1bb14b3-8c54-8929-f8d9-4fd0c4c070df'::uuid, 'Imdb', 'tt0642724')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22632 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1bb14b3-8c54-8929-f8d9-4fd0c4c070df'::uuid, 'Tmdb', 10768)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22633 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1bb14b3-8c54-8929-f8d9-4fd0c4c070df'::uuid, 'TvMaze', 439283)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1bb14b3-8c54-8929-f8d9-4fd0c4c070df'::uuid, 'Tvdb', 177304)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22635 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1bb14b3-8c54-8929-f8d9-4fd0c4c070df'::uuid, 'TvRage', 110246)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22636 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1bb14b3-8c54-8929-f8d9-4fd0c4c070df'::uuid, 'trakt', 12629)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1bb14b3-8c54-8929-f8d9-4fd0c4c070df'::uuid, 'TmdbCollection', 10768)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22638 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1bb14b3-8c54-8929-f8d9-4fd0c4c070df'::uuid;

-- Query #22639 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c1bb14b3-8c54-8929-f8d9-4fd0c4c070df'::uuid;

-- Query #22640 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c1bb14b3-8c54-8929-f8d9-4fd0c4c070df'::uuid]);

-- Query #22641 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c1bb14b3-8c54-8929-f8d9-4fd0c4c070df'::uuid;

-- Query #22642 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22643 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ac78f3da-7420-e854-d006-aa2b777cb79d'::uuid;

-- Query #22644 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac78f3da-7420-e854-d006-aa2b777cb79d'::uuid]);

-- Query #22645 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ac78f3da-7420-e854-d006-aa2b777cb79d'::uuid;

-- Query #22646 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac78f3da-7420-e854-d006-aa2b777cb79d'::uuid, 'Imdb', 'tt0642726')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac78f3da-7420-e854-d006-aa2b777cb79d'::uuid, 'Tmdb', 10765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22648 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac78f3da-7420-e854-d006-aa2b777cb79d'::uuid, 'TvMaze', 439279)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22649 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac78f3da-7420-e854-d006-aa2b777cb79d'::uuid, 'Tvdb', 177300)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22650 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac78f3da-7420-e854-d006-aa2b777cb79d'::uuid, 'TvRage', 110242)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac78f3da-7420-e854-d006-aa2b777cb79d'::uuid, 'trakt', 12625)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22652 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac78f3da-7420-e854-d006-aa2b777cb79d'::uuid, 'TmdbCollection', 10765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22653 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ac78f3da-7420-e854-d006-aa2b777cb79d'::uuid;

-- Query #22654 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ac78f3da-7420-e854-d006-aa2b777cb79d'::uuid;

-- Query #22655 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ac78f3da-7420-e854-d006-aa2b777cb79d'::uuid]);

-- Query #22656 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ac78f3da-7420-e854-d006-aa2b777cb79d'::uuid;

-- Query #22657 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22658 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #22659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d57624b-2d99-05f0-1c9d-75825f8ef239'::uuid;

-- Query #22660 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d57624b-2d99-05f0-1c9d-75825f8ef239'::uuid]);

-- Query #22661 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4d57624b-2d99-05f0-1c9d-75825f8ef239'::uuid;

-- Query #22662 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d57624b-2d99-05f0-1c9d-75825f8ef239'::uuid, 'Imdb', 'tt0642745')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22663 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d57624b-2d99-05f0-1c9d-75825f8ef239'::uuid, 'Tmdb', 10763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22664 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d57624b-2d99-05f0-1c9d-75825f8ef239'::uuid, 'TvMaze', 439275)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22665 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d57624b-2d99-05f0-1c9d-75825f8ef239'::uuid, 'Tvdb', 177296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22666 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d57624b-2d99-05f0-1c9d-75825f8ef239'::uuid, 'TvRage', 110238)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22667 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d57624b-2d99-05f0-1c9d-75825f8ef239'::uuid, 'trakt', 12621)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22668 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d57624b-2d99-05f0-1c9d-75825f8ef239'::uuid, 'TmdbCollection', 10763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22669 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d57624b-2d99-05f0-1c9d-75825f8ef239'::uuid;

-- Query #22670 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4d57624b-2d99-05f0-1c9d-75825f8ef239'::uuid;

-- Query #22671 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4d57624b-2d99-05f0-1c9d-75825f8ef239'::uuid]);

-- Query #22672 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4d57624b-2d99-05f0-1c9d-75825f8ef239'::uuid;

-- Query #22673 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22674 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b13c876-5e50-3a6b-c3cd-f90d47dd3677'::uuid;

-- Query #22675 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b13c876-5e50-3a6b-c3cd-f90d47dd3677'::uuid]);

-- Query #22676 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4b13c876-5e50-3a6b-c3cd-f90d47dd3677'::uuid;

-- Query #22677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b13c876-5e50-3a6b-c3cd-f90d47dd3677'::uuid, 'Imdb', 'tt0642752')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22678 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b13c876-5e50-3a6b-c3cd-f90d47dd3677'::uuid, 'Tmdb', 10762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22679 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b13c876-5e50-3a6b-c3cd-f90d47dd3677'::uuid, 'TvMaze', 439280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22680 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b13c876-5e50-3a6b-c3cd-f90d47dd3677'::uuid, 'Tvdb', 177301)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22681 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b13c876-5e50-3a6b-c3cd-f90d47dd3677'::uuid, 'TvRage', 110243)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22682 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b13c876-5e50-3a6b-c3cd-f90d47dd3677'::uuid, 'trakt', 12626)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22683 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b13c876-5e50-3a6b-c3cd-f90d47dd3677'::uuid, 'TmdbCollection', 10762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22684 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b13c876-5e50-3a6b-c3cd-f90d47dd3677'::uuid;

-- Query #22685 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4b13c876-5e50-3a6b-c3cd-f90d47dd3677'::uuid;

-- Query #22686 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4b13c876-5e50-3a6b-c3cd-f90d47dd3677'::uuid]);

-- Query #22687 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4b13c876-5e50-3a6b-c3cd-f90d47dd3677'::uuid;

-- Query #22688 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22689 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '22fd34a2-7650-b2d5-a06f-d874d8f177a4'::uuid;

-- Query #22690 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['22fd34a2-7650-b2d5-a06f-d874d8f177a4'::uuid]);

-- Query #22691 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '22fd34a2-7650-b2d5-a06f-d874d8f177a4'::uuid;

-- Query #22692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22fd34a2-7650-b2d5-a06f-d874d8f177a4'::uuid, 'Imdb', 'tt0642755')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22fd34a2-7650-b2d5-a06f-d874d8f177a4'::uuid, 'Tmdb', 10756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22694 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22fd34a2-7650-b2d5-a06f-d874d8f177a4'::uuid, 'TvMaze', 439272)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22695 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22fd34a2-7650-b2d5-a06f-d874d8f177a4'::uuid, 'Tvdb', 177293)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22696 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22fd34a2-7650-b2d5-a06f-d874d8f177a4'::uuid, 'TvRage', 110235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22697 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22fd34a2-7650-b2d5-a06f-d874d8f177a4'::uuid, 'trakt', 12618)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22698 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22fd34a2-7650-b2d5-a06f-d874d8f177a4'::uuid, 'TmdbCollection', 10756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22699 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '22fd34a2-7650-b2d5-a06f-d874d8f177a4'::uuid;

-- Query #22700 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '22fd34a2-7650-b2d5-a06f-d874d8f177a4'::uuid;

-- Query #22701 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['22fd34a2-7650-b2d5-a06f-d874d8f177a4'::uuid]);

-- Query #22702 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '22fd34a2-7650-b2d5-a06f-d874d8f177a4'::uuid;

-- Query #22703 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22704 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '85e29f5c-37cf-f3be-f004-98c9a90abd62'::uuid;

-- Query #22705 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85e29f5c-37cf-f3be-f004-98c9a90abd62'::uuid]);

-- Query #22706 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '85e29f5c-37cf-f3be-f004-98c9a90abd62'::uuid;

-- Query #22707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85e29f5c-37cf-f3be-f004-98c9a90abd62'::uuid, 'TmdbCollection', 10776)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85e29f5c-37cf-f3be-f004-98c9a90abd62'::uuid, 'Imdb', 'tt0642761')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85e29f5c-37cf-f3be-f004-98c9a90abd62'::uuid, 'Tmdb', 10776)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85e29f5c-37cf-f3be-f004-98c9a90abd62'::uuid, 'TvMaze', 439288)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85e29f5c-37cf-f3be-f004-98c9a90abd62'::uuid, 'Tvdb', 177309)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22712 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85e29f5c-37cf-f3be-f004-98c9a90abd62'::uuid, 'TvRage', 110251)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85e29f5c-37cf-f3be-f004-98c9a90abd62'::uuid, 'trakt', 12634)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22714 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '85e29f5c-37cf-f3be-f004-98c9a90abd62'::uuid;

-- Query #22715 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '85e29f5c-37cf-f3be-f004-98c9a90abd62'::uuid;

-- Query #22716 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['85e29f5c-37cf-f3be-f004-98c9a90abd62'::uuid]);

-- Query #22717 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '85e29f5c-37cf-f3be-f004-98c9a90abd62'::uuid;

-- Query #22718 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22719 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0dde0622-840e-0a66-6119-a9e2b2436678'::uuid;

-- Query #22720 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0dde0622-840e-0a66-6119-a9e2b2436678'::uuid]);

-- Query #22721 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0dde0622-840e-0a66-6119-a9e2b2436678'::uuid;

-- Query #22722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0dde0622-840e-0a66-6119-a9e2b2436678'::uuid, 'Imdb', 'tt0642759')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0dde0622-840e-0a66-6119-a9e2b2436678'::uuid, 'Tmdb', 10757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0dde0622-840e-0a66-6119-a9e2b2436678'::uuid, 'TvMaze', 439274)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0dde0622-840e-0a66-6119-a9e2b2436678'::uuid, 'Tvdb', 177295)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22726 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0dde0622-840e-0a66-6119-a9e2b2436678'::uuid, 'TvRage', 110237)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22727 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0dde0622-840e-0a66-6119-a9e2b2436678'::uuid, 'trakt', 12620)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0dde0622-840e-0a66-6119-a9e2b2436678'::uuid, 'TmdbCollection', 10757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22729 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0dde0622-840e-0a66-6119-a9e2b2436678'::uuid;

-- Query #22730 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0dde0622-840e-0a66-6119-a9e2b2436678'::uuid;

-- Query #22731 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0dde0622-840e-0a66-6119-a9e2b2436678'::uuid]);

-- Query #22732 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0dde0622-840e-0a66-6119-a9e2b2436678'::uuid;

-- Query #22733 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22734 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0325ee13-cf34-75bc-1226-eaffd4af0415'::uuid;

-- Query #22735 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0325ee13-cf34-75bc-1226-eaffd4af0415'::uuid]);

-- Query #22736 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0325ee13-cf34-75bc-1226-eaffd4af0415'::uuid;

-- Query #22737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0325ee13-cf34-75bc-1226-eaffd4af0415'::uuid, 'Tvdb', 177330)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0325ee13-cf34-75bc-1226-eaffd4af0415'::uuid, 'TvRage', 110272)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0325ee13-cf34-75bc-1226-eaffd4af0415'::uuid, 'trakt', 12655)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0325ee13-cf34-75bc-1226-eaffd4af0415'::uuid, 'TmdbCollection', 10793)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0325ee13-cf34-75bc-1226-eaffd4af0415'::uuid, 'Imdb', 'tt0642635')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22742 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0325ee13-cf34-75bc-1226-eaffd4af0415'::uuid, 'Tmdb', 10793)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22743 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0325ee13-cf34-75bc-1226-eaffd4af0415'::uuid, 'TvMaze', 439309)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22744 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0325ee13-cf34-75bc-1226-eaffd4af0415'::uuid;

-- Query #22745 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0325ee13-cf34-75bc-1226-eaffd4af0415'::uuid;

-- Query #22746 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0325ee13-cf34-75bc-1226-eaffd4af0415'::uuid]);

-- Query #22747 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0325ee13-cf34-75bc-1226-eaffd4af0415'::uuid;

-- Query #22748 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22749 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1188cb04-72d9-4379-8d19-c9cdf29d6027'::uuid;

-- Query #22750 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1188cb04-72d9-4379-8d19-c9cdf29d6027'::uuid]);

-- Query #22751 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1188cb04-72d9-4379-8d19-c9cdf29d6027'::uuid;

-- Query #22752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1188cb04-72d9-4379-8d19-c9cdf29d6027'::uuid, 'TvMaze', 439311)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22753 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1188cb04-72d9-4379-8d19-c9cdf29d6027'::uuid, 'Tvdb', 177332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1188cb04-72d9-4379-8d19-c9cdf29d6027'::uuid, 'TvRage', 110274)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1188cb04-72d9-4379-8d19-c9cdf29d6027'::uuid, 'trakt', 12657)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1188cb04-72d9-4379-8d19-c9cdf29d6027'::uuid, 'TmdbCollection', 10794)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22757 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1188cb04-72d9-4379-8d19-c9cdf29d6027'::uuid, 'Imdb', 'tt0642637')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22758 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1188cb04-72d9-4379-8d19-c9cdf29d6027'::uuid, 'Tmdb', 10794)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22759 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1188cb04-72d9-4379-8d19-c9cdf29d6027'::uuid;

-- Query #22760 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1188cb04-72d9-4379-8d19-c9cdf29d6027'::uuid;

-- Query #22761 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1188cb04-72d9-4379-8d19-c9cdf29d6027'::uuid]);

-- Query #22762 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1188cb04-72d9-4379-8d19-c9cdf29d6027'::uuid;

-- Query #22763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22764 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e364be2-eb61-2013-740f-4f9a9fbf6e38'::uuid;

-- Query #22765 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5e364be2-eb61-2013-740f-4f9a9fbf6e38'::uuid]);

-- Query #22766 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5e364be2-eb61-2013-740f-4f9a9fbf6e38'::uuid;

-- Query #22767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e364be2-eb61-2013-740f-4f9a9fbf6e38'::uuid, 'Imdb', 'tt0642643')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e364be2-eb61-2013-740f-4f9a9fbf6e38'::uuid, 'Tmdb', 10803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e364be2-eb61-2013-740f-4f9a9fbf6e38'::uuid, 'TvMaze', 439319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e364be2-eb61-2013-740f-4f9a9fbf6e38'::uuid, 'Tvdb', 177339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22771 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e364be2-eb61-2013-740f-4f9a9fbf6e38'::uuid, 'TvRage', 110281)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22772 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e364be2-eb61-2013-740f-4f9a9fbf6e38'::uuid, 'trakt', 12664)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22773 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e364be2-eb61-2013-740f-4f9a9fbf6e38'::uuid, 'TmdbCollection', 10803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22774 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e364be2-eb61-2013-740f-4f9a9fbf6e38'::uuid;

-- Query #22775 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5e364be2-eb61-2013-740f-4f9a9fbf6e38'::uuid;

-- Query #22776 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5e364be2-eb61-2013-740f-4f9a9fbf6e38'::uuid]);

-- Query #22777 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5e364be2-eb61-2013-740f-4f9a9fbf6e38'::uuid;

-- Query #22778 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22779 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6fca63ea-5ef5-55a4-02b0-4525dc5c884d'::uuid;

-- Query #22780 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fca63ea-5ef5-55a4-02b0-4525dc5c884d'::uuid]);

-- Query #22781 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6fca63ea-5ef5-55a4-02b0-4525dc5c884d'::uuid;

-- Query #22782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fca63ea-5ef5-55a4-02b0-4525dc5c884d'::uuid, 'TmdbCollection', 10798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fca63ea-5ef5-55a4-02b0-4525dc5c884d'::uuid, 'Imdb', 'tt0642648')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fca63ea-5ef5-55a4-02b0-4525dc5c884d'::uuid, 'Tmdb', 10798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fca63ea-5ef5-55a4-02b0-4525dc5c884d'::uuid, 'TvMaze', 439312)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fca63ea-5ef5-55a4-02b0-4525dc5c884d'::uuid, 'Tvdb', 177333)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fca63ea-5ef5-55a4-02b0-4525dc5c884d'::uuid, 'TvRage', 110275)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22788 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6fca63ea-5ef5-55a4-02b0-4525dc5c884d'::uuid, 'trakt', 12658)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6fca63ea-5ef5-55a4-02b0-4525dc5c884d'::uuid;

-- Query #22790 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6fca63ea-5ef5-55a4-02b0-4525dc5c884d'::uuid;

-- Query #22791 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6fca63ea-5ef5-55a4-02b0-4525dc5c884d'::uuid]);

-- Query #22792 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6fca63ea-5ef5-55a4-02b0-4525dc5c884d'::uuid;

-- Query #22793 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22794 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bfe5d4de-bd32-fc02-3d17-bfdd70f3f80c'::uuid;

-- Query #22795 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bfe5d4de-bd32-fc02-3d17-bfdd70f3f80c'::uuid]);

-- Query #22796 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bfe5d4de-bd32-fc02-3d17-bfdd70f3f80c'::uuid;

-- Query #22797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfe5d4de-bd32-fc02-3d17-bfdd70f3f80c'::uuid, 'TvMaze', 439298)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfe5d4de-bd32-fc02-3d17-bfdd70f3f80c'::uuid, 'TvRage', 110261)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22799 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfe5d4de-bd32-fc02-3d17-bfdd70f3f80c'::uuid, 'Imdb', 'tt0642653')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22800 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfe5d4de-bd32-fc02-3d17-bfdd70f3f80c'::uuid, 'Tmdb', 10789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfe5d4de-bd32-fc02-3d17-bfdd70f3f80c'::uuid, 'Tvdb', 177319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfe5d4de-bd32-fc02-3d17-bfdd70f3f80c'::uuid, 'trakt', 12644)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfe5d4de-bd32-fc02-3d17-bfdd70f3f80c'::uuid, 'TmdbCollection', 10789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22804 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bfe5d4de-bd32-fc02-3d17-bfdd70f3f80c'::uuid;

-- Query #22805 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bfe5d4de-bd32-fc02-3d17-bfdd70f3f80c'::uuid;

-- Query #22806 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bfe5d4de-bd32-fc02-3d17-bfdd70f3f80c'::uuid]);

-- Query #22807 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bfe5d4de-bd32-fc02-3d17-bfdd70f3f80c'::uuid;

-- Query #22808 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22809 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '98721888-87f9-12bd-c924-403036c94a34'::uuid;

-- Query #22810 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['98721888-87f9-12bd-c924-403036c94a34'::uuid]);

-- Query #22811 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '98721888-87f9-12bd-c924-403036c94a34'::uuid;

-- Query #22812 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98721888-87f9-12bd-c924-403036c94a34'::uuid, 'Imdb', 'tt0642732')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22813 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98721888-87f9-12bd-c924-403036c94a34'::uuid, 'Tmdb', 10790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22814 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98721888-87f9-12bd-c924-403036c94a34'::uuid, 'TvMaze', 439299)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22815 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98721888-87f9-12bd-c924-403036c94a34'::uuid, 'Tvdb', 177320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22816 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98721888-87f9-12bd-c924-403036c94a34'::uuid, 'TvRage', 110262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22817 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98721888-87f9-12bd-c924-403036c94a34'::uuid, 'trakt', 12645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22818 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98721888-87f9-12bd-c924-403036c94a34'::uuid, 'TmdbCollection', 10790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22819 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '98721888-87f9-12bd-c924-403036c94a34'::uuid;

-- Query #22820 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '98721888-87f9-12bd-c924-403036c94a34'::uuid;

-- Query #22821 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['98721888-87f9-12bd-c924-403036c94a34'::uuid]);

-- Query #22822 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '98721888-87f9-12bd-c924-403036c94a34'::uuid;

-- Query #22823 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22824 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '06981334-85e5-8976-9d9e-818c12f4b09b'::uuid;

-- Query #22825 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06981334-85e5-8976-9d9e-818c12f4b09b'::uuid]);

-- Query #22826 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '06981334-85e5-8976-9d9e-818c12f4b09b'::uuid;

-- Query #22827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06981334-85e5-8976-9d9e-818c12f4b09b'::uuid, 'Imdb', 'tt0642654')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06981334-85e5-8976-9d9e-818c12f4b09b'::uuid, 'Tmdb', 10797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22829 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06981334-85e5-8976-9d9e-818c12f4b09b'::uuid, 'TvMaze', 439315)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06981334-85e5-8976-9d9e-818c12f4b09b'::uuid, 'Tvdb', 177336)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06981334-85e5-8976-9d9e-818c12f4b09b'::uuid, 'TvRage', 110278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06981334-85e5-8976-9d9e-818c12f4b09b'::uuid, 'trakt', 12661)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06981334-85e5-8976-9d9e-818c12f4b09b'::uuid, 'TmdbCollection', 10797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22834 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '06981334-85e5-8976-9d9e-818c12f4b09b'::uuid;

-- Query #22835 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '06981334-85e5-8976-9d9e-818c12f4b09b'::uuid;

-- Query #22836 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['06981334-85e5-8976-9d9e-818c12f4b09b'::uuid]);

-- Query #22837 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '06981334-85e5-8976-9d9e-818c12f4b09b'::uuid;

-- Query #22838 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22839 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21ed9d46-d0ad-c847-ac9c-e44e28c60926'::uuid;

-- Query #22840 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['21ed9d46-d0ad-c847-ac9c-e44e28c60926'::uuid]);

-- Query #22841 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '21ed9d46-d0ad-c847-ac9c-e44e28c60926'::uuid;

-- Query #22842 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21ed9d46-d0ad-c847-ac9c-e44e28c60926'::uuid, 'Tvdb', 177331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21ed9d46-d0ad-c847-ac9c-e44e28c60926'::uuid, 'TvRage', 110273)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21ed9d46-d0ad-c847-ac9c-e44e28c60926'::uuid, 'trakt', 12656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22845 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21ed9d46-d0ad-c847-ac9c-e44e28c60926'::uuid, 'TmdbCollection', 10795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21ed9d46-d0ad-c847-ac9c-e44e28c60926'::uuid, 'Imdb', 'tt0642733')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22847 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21ed9d46-d0ad-c847-ac9c-e44e28c60926'::uuid, 'Tmdb', 10795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22848 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21ed9d46-d0ad-c847-ac9c-e44e28c60926'::uuid, 'TvMaze', 439310)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22849 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21ed9d46-d0ad-c847-ac9c-e44e28c60926'::uuid;

-- Query #22850 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '21ed9d46-d0ad-c847-ac9c-e44e28c60926'::uuid;

-- Query #22851 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['21ed9d46-d0ad-c847-ac9c-e44e28c60926'::uuid]);

-- Query #22852 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '21ed9d46-d0ad-c847-ac9c-e44e28c60926'::uuid;

-- Query #22853 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22854 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a78ef4f-bd30-0d6f-b06a-633a9f7ed102'::uuid;

-- Query #22855 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a78ef4f-bd30-0d6f-b06a-633a9f7ed102'::uuid]);

-- Query #22856 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4a78ef4f-bd30-0d6f-b06a-633a9f7ed102'::uuid;

-- Query #22857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a78ef4f-bd30-0d6f-b06a-633a9f7ed102'::uuid, 'Imdb', 'tt0642670')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a78ef4f-bd30-0d6f-b06a-633a9f7ed102'::uuid, 'Tmdb', 10787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a78ef4f-bd30-0d6f-b06a-633a9f7ed102'::uuid, 'TvMaze', 439304)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a78ef4f-bd30-0d6f-b06a-633a9f7ed102'::uuid, 'Tvdb', 177325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a78ef4f-bd30-0d6f-b06a-633a9f7ed102'::uuid, 'TvRage', 110267)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22862 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a78ef4f-bd30-0d6f-b06a-633a9f7ed102'::uuid, 'trakt', 12650)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a78ef4f-bd30-0d6f-b06a-633a9f7ed102'::uuid, 'TmdbCollection', 10787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22864 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a78ef4f-bd30-0d6f-b06a-633a9f7ed102'::uuid;

-- Query #22865 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4a78ef4f-bd30-0d6f-b06a-633a9f7ed102'::uuid;

-- Query #22866 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4a78ef4f-bd30-0d6f-b06a-633a9f7ed102'::uuid]);

-- Query #22867 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4a78ef4f-bd30-0d6f-b06a-633a9f7ed102'::uuid;

-- Query #22868 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22869 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e1abe15-2f83-24f3-9c2d-b077adcd4f66'::uuid;

-- Query #22870 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e1abe15-2f83-24f3-9c2d-b077adcd4f66'::uuid]);

-- Query #22871 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8e1abe15-2f83-24f3-9c2d-b077adcd4f66'::uuid;

-- Query #22872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e1abe15-2f83-24f3-9c2d-b077adcd4f66'::uuid, 'Imdb', 'tt0642672')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e1abe15-2f83-24f3-9c2d-b077adcd4f66'::uuid, 'Tmdb', 10782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22874 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e1abe15-2f83-24f3-9c2d-b077adcd4f66'::uuid, 'TvMaze', 439303)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22875 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e1abe15-2f83-24f3-9c2d-b077adcd4f66'::uuid, 'Tvdb', 177324)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22876 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e1abe15-2f83-24f3-9c2d-b077adcd4f66'::uuid, 'TvRage', 110266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22877 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e1abe15-2f83-24f3-9c2d-b077adcd4f66'::uuid, 'trakt', 12649)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e1abe15-2f83-24f3-9c2d-b077adcd4f66'::uuid, 'TmdbCollection', 10782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22879 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e1abe15-2f83-24f3-9c2d-b077adcd4f66'::uuid;

-- Query #22880 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8e1abe15-2f83-24f3-9c2d-b077adcd4f66'::uuid;

-- Query #22881 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8e1abe15-2f83-24f3-9c2d-b077adcd4f66'::uuid]);

-- Query #22882 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8e1abe15-2f83-24f3-9c2d-b077adcd4f66'::uuid;

-- Query #22883 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22884 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c2a80a3c-85b4-198e-5345-b34c2d61971d'::uuid;

-- Query #22885 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c2a80a3c-85b4-198e-5345-b34c2d61971d'::uuid]);

-- Query #22886 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c2a80a3c-85b4-198e-5345-b34c2d61971d'::uuid;

-- Query #22887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2a80a3c-85b4-198e-5345-b34c2d61971d'::uuid, 'TmdbCollection', 10802)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2a80a3c-85b4-198e-5345-b34c2d61971d'::uuid, 'trakt', 12662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2a80a3c-85b4-198e-5345-b34c2d61971d'::uuid, 'Tvdb', 177337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2a80a3c-85b4-198e-5345-b34c2d61971d'::uuid, 'TvMaze', 439317)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2a80a3c-85b4-198e-5345-b34c2d61971d'::uuid, 'TvRage', 110279)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2a80a3c-85b4-198e-5345-b34c2d61971d'::uuid, 'Imdb', 'tt0642673')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c2a80a3c-85b4-198e-5345-b34c2d61971d'::uuid, 'Tmdb', 10802)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22894 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c2a80a3c-85b4-198e-5345-b34c2d61971d'::uuid;

-- Query #22895 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c2a80a3c-85b4-198e-5345-b34c2d61971d'::uuid;

-- Query #22896 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c2a80a3c-85b4-198e-5345-b34c2d61971d'::uuid]);

-- Query #22897 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c2a80a3c-85b4-198e-5345-b34c2d61971d'::uuid;

-- Query #22898 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22899 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b5f3c39-cf98-dd3d-342b-4363c0412851'::uuid;

-- Query #22900 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7b5f3c39-cf98-dd3d-342b-4363c0412851'::uuid]);

-- Query #22901 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7b5f3c39-cf98-dd3d-342b-4363c0412851'::uuid;

-- Query #22902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b5f3c39-cf98-dd3d-342b-4363c0412851'::uuid, 'TmdbCollection', 10791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b5f3c39-cf98-dd3d-342b-4363c0412851'::uuid, 'Imdb', 'tt0642674')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22904 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b5f3c39-cf98-dd3d-342b-4363c0412851'::uuid, 'Tmdb', 10791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22905 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b5f3c39-cf98-dd3d-342b-4363c0412851'::uuid, 'TvMaze', 439306)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b5f3c39-cf98-dd3d-342b-4363c0412851'::uuid, 'Tvdb', 177327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b5f3c39-cf98-dd3d-342b-4363c0412851'::uuid, 'TvRage', 110269)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b5f3c39-cf98-dd3d-342b-4363c0412851'::uuid, 'trakt', 12652)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22909 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b5f3c39-cf98-dd3d-342b-4363c0412851'::uuid;

-- Query #22910 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7b5f3c39-cf98-dd3d-342b-4363c0412851'::uuid;

-- Query #22911 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7b5f3c39-cf98-dd3d-342b-4363c0412851'::uuid]);

-- Query #22912 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7b5f3c39-cf98-dd3d-342b-4363c0412851'::uuid;

-- Query #22913 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22914 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6372c5ae-8c9d-4265-8b4e-1e79fa0e97a7'::uuid;

-- Query #22915 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6372c5ae-8c9d-4265-8b4e-1e79fa0e97a7'::uuid]);

-- Query #22916 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6372c5ae-8c9d-4265-8b4e-1e79fa0e97a7'::uuid;

-- Query #22917 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6372c5ae-8c9d-4265-8b4e-1e79fa0e97a7'::uuid, 'Imdb', 'tt0642683')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6372c5ae-8c9d-4265-8b4e-1e79fa0e97a7'::uuid, 'Tmdb', 10801)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22919 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6372c5ae-8c9d-4265-8b4e-1e79fa0e97a7'::uuid, 'TvMaze', 439313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6372c5ae-8c9d-4265-8b4e-1e79fa0e97a7'::uuid, 'Tvdb', 177334)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6372c5ae-8c9d-4265-8b4e-1e79fa0e97a7'::uuid, 'TvRage', 110276)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6372c5ae-8c9d-4265-8b4e-1e79fa0e97a7'::uuid, 'trakt', 12659)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6372c5ae-8c9d-4265-8b4e-1e79fa0e97a7'::uuid, 'TmdbCollection', 10801)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22924 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6372c5ae-8c9d-4265-8b4e-1e79fa0e97a7'::uuid;

-- Query #22925 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6372c5ae-8c9d-4265-8b4e-1e79fa0e97a7'::uuid;

-- Query #22926 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6372c5ae-8c9d-4265-8b4e-1e79fa0e97a7'::uuid]);

-- Query #22927 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6372c5ae-8c9d-4265-8b4e-1e79fa0e97a7'::uuid;

-- Query #22928 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55aee979-81ea-1a8f-ef55-46d7bc1c1a75'::uuid;

-- Query #22930 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['55aee979-81ea-1a8f-ef55-46d7bc1c1a75'::uuid]);

-- Query #22931 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '55aee979-81ea-1a8f-ef55-46d7bc1c1a75'::uuid;

-- Query #22932 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55aee979-81ea-1a8f-ef55-46d7bc1c1a75'::uuid, 'Imdb', 'tt0642695')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22933 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55aee979-81ea-1a8f-ef55-46d7bc1c1a75'::uuid, 'Tmdb', 10779)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22934 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55aee979-81ea-1a8f-ef55-46d7bc1c1a75'::uuid, 'TvMaze', 439294)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55aee979-81ea-1a8f-ef55-46d7bc1c1a75'::uuid, 'Tvdb', 177315)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55aee979-81ea-1a8f-ef55-46d7bc1c1a75'::uuid, 'TvRage', 110257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55aee979-81ea-1a8f-ef55-46d7bc1c1a75'::uuid, 'trakt', 12640)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55aee979-81ea-1a8f-ef55-46d7bc1c1a75'::uuid, 'TmdbCollection', 10779)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22939 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55aee979-81ea-1a8f-ef55-46d7bc1c1a75'::uuid;

-- Query #22940 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '55aee979-81ea-1a8f-ef55-46d7bc1c1a75'::uuid;

-- Query #22941 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['55aee979-81ea-1a8f-ef55-46d7bc1c1a75'::uuid]);

-- Query #22942 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '55aee979-81ea-1a8f-ef55-46d7bc1c1a75'::uuid;

-- Query #22943 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22944 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '04a6ff08-7471-8d1d-23d3-2f416d981279'::uuid;

-- Query #22945 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['04a6ff08-7471-8d1d-23d3-2f416d981279'::uuid]);

-- Query #22946 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '04a6ff08-7471-8d1d-23d3-2f416d981279'::uuid;

-- Query #22947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04a6ff08-7471-8d1d-23d3-2f416d981279'::uuid, 'TmdbCollection', 10781)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04a6ff08-7471-8d1d-23d3-2f416d981279'::uuid, 'Imdb', 'tt0642692')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04a6ff08-7471-8d1d-23d3-2f416d981279'::uuid, 'Tmdb', 10781)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04a6ff08-7471-8d1d-23d3-2f416d981279'::uuid, 'TvMaze', 439296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04a6ff08-7471-8d1d-23d3-2f416d981279'::uuid, 'Tvdb', 177317)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04a6ff08-7471-8d1d-23d3-2f416d981279'::uuid, 'TvRage', 110259)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04a6ff08-7471-8d1d-23d3-2f416d981279'::uuid, 'trakt', 12642)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '04a6ff08-7471-8d1d-23d3-2f416d981279'::uuid;

-- Query #22955 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '04a6ff08-7471-8d1d-23d3-2f416d981279'::uuid;

-- Query #22956 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['04a6ff08-7471-8d1d-23d3-2f416d981279'::uuid]);

-- Query #22957 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '04a6ff08-7471-8d1d-23d3-2f416d981279'::uuid;

-- Query #22958 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22959 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c7c8a99-bd90-11ca-5ac1-6deb5dad3ce3'::uuid;

-- Query #22960 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c7c8a99-bd90-11ca-5ac1-6deb5dad3ce3'::uuid]);

-- Query #22961 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1c7c8a99-bd90-11ca-5ac1-6deb5dad3ce3'::uuid;

-- Query #22962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c7c8a99-bd90-11ca-5ac1-6deb5dad3ce3'::uuid, 'TmdbCollection', 10785)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c7c8a99-bd90-11ca-5ac1-6deb5dad3ce3'::uuid, 'Imdb', 'tt0642700')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22964 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c7c8a99-bd90-11ca-5ac1-6deb5dad3ce3'::uuid, 'Tmdb', 10785)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c7c8a99-bd90-11ca-5ac1-6deb5dad3ce3'::uuid, 'TvMaze', 439305)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c7c8a99-bd90-11ca-5ac1-6deb5dad3ce3'::uuid, 'Tvdb', 177326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c7c8a99-bd90-11ca-5ac1-6deb5dad3ce3'::uuid, 'TvRage', 110268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c7c8a99-bd90-11ca-5ac1-6deb5dad3ce3'::uuid, 'trakt', 12651)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22969 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c7c8a99-bd90-11ca-5ac1-6deb5dad3ce3'::uuid;

-- Query #22970 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1c7c8a99-bd90-11ca-5ac1-6deb5dad3ce3'::uuid;

-- Query #22971 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1c7c8a99-bd90-11ca-5ac1-6deb5dad3ce3'::uuid]);

-- Query #22972 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1c7c8a99-bd90-11ca-5ac1-6deb5dad3ce3'::uuid;

-- Query #22973 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22974 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e67aeb5-a7f8-988c-03a7-5730e8dc8551'::uuid;

-- Query #22975 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e67aeb5-a7f8-988c-03a7-5730e8dc8551'::uuid]);

-- Query #22976 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9e67aeb5-a7f8-988c-03a7-5730e8dc8551'::uuid;

-- Query #22977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e67aeb5-a7f8-988c-03a7-5730e8dc8551'::uuid, 'TmdbCollection', 10800)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e67aeb5-a7f8-988c-03a7-5730e8dc8551'::uuid, 'Imdb', 'tt0642701')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e67aeb5-a7f8-988c-03a7-5730e8dc8551'::uuid, 'Tmdb', 10800)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e67aeb5-a7f8-988c-03a7-5730e8dc8551'::uuid, 'TvMaze', 439321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e67aeb5-a7f8-988c-03a7-5730e8dc8551'::uuid, 'Tvdb', 177341)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e67aeb5-a7f8-988c-03a7-5730e8dc8551'::uuid, 'TvRage', 110283)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e67aeb5-a7f8-988c-03a7-5730e8dc8551'::uuid, 'trakt', 12666)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22984 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e67aeb5-a7f8-988c-03a7-5730e8dc8551'::uuid;

-- Query #22985 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9e67aeb5-a7f8-988c-03a7-5730e8dc8551'::uuid;

-- Query #22986 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9e67aeb5-a7f8-988c-03a7-5730e8dc8551'::uuid]);

-- Query #22987 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9e67aeb5-a7f8-988c-03a7-5730e8dc8551'::uuid;

-- Query #22988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #22989 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1288635e-feed-f41e-92c8-e72f75f1f6c7'::uuid;

-- Query #22990 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1288635e-feed-f41e-92c8-e72f75f1f6c7'::uuid]);

-- Query #22991 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1288635e-feed-f41e-92c8-e72f75f1f6c7'::uuid;

-- Query #22992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1288635e-feed-f41e-92c8-e72f75f1f6c7'::uuid, 'TmdbCollection', 10786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1288635e-feed-f41e-92c8-e72f75f1f6c7'::uuid, 'Imdb', 'tt0642704')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1288635e-feed-f41e-92c8-e72f75f1f6c7'::uuid, 'Tmdb', 10786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1288635e-feed-f41e-92c8-e72f75f1f6c7'::uuid, 'TvMaze', 439297)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1288635e-feed-f41e-92c8-e72f75f1f6c7'::uuid, 'Tvdb', 177318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1288635e-feed-f41e-92c8-e72f75f1f6c7'::uuid, 'TvRage', 110260)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22998 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1288635e-feed-f41e-92c8-e72f75f1f6c7'::uuid, 'trakt', 12643)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #22999 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1288635e-feed-f41e-92c8-e72f75f1f6c7'::uuid;

-- Query #23000 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1288635e-feed-f41e-92c8-e72f75f1f6c7'::uuid;

-- Query #23001 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1288635e-feed-f41e-92c8-e72f75f1f6c7'::uuid]);

-- Query #23002 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1288635e-feed-f41e-92c8-e72f75f1f6c7'::uuid;

-- Query #23003 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23004 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d4c567b-21e3-bebc-f853-592f6917d9ce'::uuid;

-- Query #23005 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d4c567b-21e3-bebc-f853-592f6917d9ce'::uuid]);

-- Query #23006 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2d4c567b-21e3-bebc-f853-592f6917d9ce'::uuid;

-- Query #23007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d4c567b-21e3-bebc-f853-592f6917d9ce'::uuid, 'Imdb', 'tt0642708')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d4c567b-21e3-bebc-f853-592f6917d9ce'::uuid, 'Tmdb', 10784)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d4c567b-21e3-bebc-f853-592f6917d9ce'::uuid, 'TvMaze', 439301)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d4c567b-21e3-bebc-f853-592f6917d9ce'::uuid, 'Tvdb', 177322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d4c567b-21e3-bebc-f853-592f6917d9ce'::uuid, 'TvRage', 110264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d4c567b-21e3-bebc-f853-592f6917d9ce'::uuid, 'trakt', 12647)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d4c567b-21e3-bebc-f853-592f6917d9ce'::uuid, 'TmdbCollection', 10784)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23014 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d4c567b-21e3-bebc-f853-592f6917d9ce'::uuid;

-- Query #23015 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2d4c567b-21e3-bebc-f853-592f6917d9ce'::uuid;

-- Query #23016 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2d4c567b-21e3-bebc-f853-592f6917d9ce'::uuid]);

-- Query #23017 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2d4c567b-21e3-bebc-f853-592f6917d9ce'::uuid;

-- Query #23018 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23019 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '90b2b6eb-f612-ad49-f3ea-ccbec68abc58'::uuid;

-- Query #23020 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90b2b6eb-f612-ad49-f3ea-ccbec68abc58'::uuid]);

-- Query #23021 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '90b2b6eb-f612-ad49-f3ea-ccbec68abc58'::uuid;

-- Query #23022 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90b2b6eb-f612-ad49-f3ea-ccbec68abc58'::uuid, 'Imdb', 'tt0642709')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23023 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90b2b6eb-f612-ad49-f3ea-ccbec68abc58'::uuid, 'Tmdb', 10804)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90b2b6eb-f612-ad49-f3ea-ccbec68abc58'::uuid, 'TvMaze', 439314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90b2b6eb-f612-ad49-f3ea-ccbec68abc58'::uuid, 'Tvdb', 177335)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90b2b6eb-f612-ad49-f3ea-ccbec68abc58'::uuid, 'TvRage', 110277)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90b2b6eb-f612-ad49-f3ea-ccbec68abc58'::uuid, 'trakt', 12660)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90b2b6eb-f612-ad49-f3ea-ccbec68abc58'::uuid, 'TmdbCollection', 10804)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23029 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '90b2b6eb-f612-ad49-f3ea-ccbec68abc58'::uuid;

-- Query #23030 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '90b2b6eb-f612-ad49-f3ea-ccbec68abc58'::uuid;

-- Query #23031 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['90b2b6eb-f612-ad49-f3ea-ccbec68abc58'::uuid]);

-- Query #23032 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '90b2b6eb-f612-ad49-f3ea-ccbec68abc58'::uuid;

-- Query #23033 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23034 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f93af0a-6bbf-e6c8-8bc2-f8aed8bab11d'::uuid;

-- Query #23035 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f93af0a-6bbf-e6c8-8bc2-f8aed8bab11d'::uuid]);

-- Query #23036 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5f93af0a-6bbf-e6c8-8bc2-f8aed8bab11d'::uuid;

-- Query #23037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f93af0a-6bbf-e6c8-8bc2-f8aed8bab11d'::uuid, 'Imdb', 'tt0642710')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f93af0a-6bbf-e6c8-8bc2-f8aed8bab11d'::uuid, 'Tmdb', 10783)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23039 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f93af0a-6bbf-e6c8-8bc2-f8aed8bab11d'::uuid, 'TvMaze', 439300)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23040 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f93af0a-6bbf-e6c8-8bc2-f8aed8bab11d'::uuid, 'Tvdb', 177321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23041 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f93af0a-6bbf-e6c8-8bc2-f8aed8bab11d'::uuid, 'TvRage', 110263)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23042 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f93af0a-6bbf-e6c8-8bc2-f8aed8bab11d'::uuid, 'trakt', 12646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23043 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f93af0a-6bbf-e6c8-8bc2-f8aed8bab11d'::uuid, 'TmdbCollection', 10783)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23044 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f93af0a-6bbf-e6c8-8bc2-f8aed8bab11d'::uuid;

-- Query #23045 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5f93af0a-6bbf-e6c8-8bc2-f8aed8bab11d'::uuid;

-- Query #23046 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5f93af0a-6bbf-e6c8-8bc2-f8aed8bab11d'::uuid]);

-- Query #23047 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5f93af0a-6bbf-e6c8-8bc2-f8aed8bab11d'::uuid;

-- Query #23048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23049 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92c9fa3f-35dc-a822-2a31-7e6439da1883'::uuid;

-- Query #23050 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92c9fa3f-35dc-a822-2a31-7e6439da1883'::uuid]);

-- Query #23051 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '92c9fa3f-35dc-a822-2a31-7e6439da1883'::uuid;

-- Query #23052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92c9fa3f-35dc-a822-2a31-7e6439da1883'::uuid, 'Tvdb', 177338)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23053 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #23054 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92c9fa3f-35dc-a822-2a31-7e6439da1883'::uuid, 'TvRage', 110280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23055 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92c9fa3f-35dc-a822-2a31-7e6439da1883'::uuid, 'trakt', 12663)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23056 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92c9fa3f-35dc-a822-2a31-7e6439da1883'::uuid, 'TmdbCollection', 10799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23057 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92c9fa3f-35dc-a822-2a31-7e6439da1883'::uuid, 'Imdb', 'tt0642740')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92c9fa3f-35dc-a822-2a31-7e6439da1883'::uuid, 'Tmdb', 10799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92c9fa3f-35dc-a822-2a31-7e6439da1883'::uuid, 'TvMaze', 439318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23060 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92c9fa3f-35dc-a822-2a31-7e6439da1883'::uuid;

-- Query #23061 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '92c9fa3f-35dc-a822-2a31-7e6439da1883'::uuid;

-- Query #23062 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['92c9fa3f-35dc-a822-2a31-7e6439da1883'::uuid]);

-- Query #23063 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '92c9fa3f-35dc-a822-2a31-7e6439da1883'::uuid;

-- Query #23064 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23065 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba90d290-0766-7330-fc63-543788f3a95e'::uuid;

-- Query #23066 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba90d290-0766-7330-fc63-543788f3a95e'::uuid]);

-- Query #23067 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ba90d290-0766-7330-fc63-543788f3a95e'::uuid;

-- Query #23068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba90d290-0766-7330-fc63-543788f3a95e'::uuid, 'Imdb', 'tt0642749')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba90d290-0766-7330-fc63-543788f3a95e'::uuid, 'Tmdb', 10805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba90d290-0766-7330-fc63-543788f3a95e'::uuid, 'TvMaze', 439320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba90d290-0766-7330-fc63-543788f3a95e'::uuid, 'Tvdb', 177340)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba90d290-0766-7330-fc63-543788f3a95e'::uuid, 'TvRage', 110282)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba90d290-0766-7330-fc63-543788f3a95e'::uuid, 'trakt', 12665)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba90d290-0766-7330-fc63-543788f3a95e'::uuid, 'TmdbCollection', 10805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba90d290-0766-7330-fc63-543788f3a95e'::uuid;

-- Query #23076 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ba90d290-0766-7330-fc63-543788f3a95e'::uuid;

-- Query #23077 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ba90d290-0766-7330-fc63-543788f3a95e'::uuid]);

-- Query #23078 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ba90d290-0766-7330-fc63-543788f3a95e'::uuid;

-- Query #23079 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23080 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e61e0b9-789b-01c7-2e8f-7ccde90f3fe7'::uuid;

-- Query #23081 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4e61e0b9-789b-01c7-2e8f-7ccde90f3fe7'::uuid]);

-- Query #23082 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4e61e0b9-789b-01c7-2e8f-7ccde90f3fe7'::uuid;

-- Query #23083 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e61e0b9-789b-01c7-2e8f-7ccde90f3fe7'::uuid, 'Imdb', 'tt0642751')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23084 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e61e0b9-789b-01c7-2e8f-7ccde90f3fe7'::uuid, 'Tmdb', 10788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23085 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e61e0b9-789b-01c7-2e8f-7ccde90f3fe7'::uuid, 'TvMaze', 439302)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23086 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e61e0b9-789b-01c7-2e8f-7ccde90f3fe7'::uuid, 'Tvdb', 177323)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e61e0b9-789b-01c7-2e8f-7ccde90f3fe7'::uuid, 'TvRage', 110265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e61e0b9-789b-01c7-2e8f-7ccde90f3fe7'::uuid, 'trakt', 12648)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e61e0b9-789b-01c7-2e8f-7ccde90f3fe7'::uuid, 'TmdbCollection', 10788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23090 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e61e0b9-789b-01c7-2e8f-7ccde90f3fe7'::uuid;

-- Query #23091 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4e61e0b9-789b-01c7-2e8f-7ccde90f3fe7'::uuid;

-- Query #23092 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4e61e0b9-789b-01c7-2e8f-7ccde90f3fe7'::uuid]);

-- Query #23093 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4e61e0b9-789b-01c7-2e8f-7ccde90f3fe7'::uuid;

-- Query #23094 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23095 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fa04937e-e721-a7d4-5443-fc035762f1db'::uuid;

-- Query #23096 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa04937e-e721-a7d4-5443-fc035762f1db'::uuid]);

-- Query #23097 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fa04937e-e721-a7d4-5443-fc035762f1db'::uuid;

-- Query #23098 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa04937e-e721-a7d4-5443-fc035762f1db'::uuid, 'TmdbCollection', 10796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23099 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa04937e-e721-a7d4-5443-fc035762f1db'::uuid, 'Imdb', 'tt0642668')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa04937e-e721-a7d4-5443-fc035762f1db'::uuid, 'Tmdb', 10796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa04937e-e721-a7d4-5443-fc035762f1db'::uuid, 'TvMaze', 439307)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa04937e-e721-a7d4-5443-fc035762f1db'::uuid, 'Tvdb', 177328)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa04937e-e721-a7d4-5443-fc035762f1db'::uuid, 'TvRage', 110270)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa04937e-e721-a7d4-5443-fc035762f1db'::uuid, 'trakt', 12653)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23105 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fa04937e-e721-a7d4-5443-fc035762f1db'::uuid;

-- Query #23106 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fa04937e-e721-a7d4-5443-fc035762f1db'::uuid;

-- Query #23107 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fa04937e-e721-a7d4-5443-fc035762f1db'::uuid]);

-- Query #23108 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fa04937e-e721-a7d4-5443-fc035762f1db'::uuid;

-- Query #23109 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23110 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3906f47c-554c-54a3-9592-dfc0beb706ad'::uuid;

-- Query #23111 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3906f47c-554c-54a3-9592-dfc0beb706ad'::uuid]);

-- Query #23112 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3906f47c-554c-54a3-9592-dfc0beb706ad'::uuid;

-- Query #23113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3906f47c-554c-54a3-9592-dfc0beb706ad'::uuid, 'TvMaze', 439339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23114 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3906f47c-554c-54a3-9592-dfc0beb706ad'::uuid, 'Tvdb', 177359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23115 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3906f47c-554c-54a3-9592-dfc0beb706ad'::uuid, 'TvRage', 110301)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3906f47c-554c-54a3-9592-dfc0beb706ad'::uuid, 'TmdbCollection', 10824)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3906f47c-554c-54a3-9592-dfc0beb706ad'::uuid, 'trakt', 12684)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3906f47c-554c-54a3-9592-dfc0beb706ad'::uuid, 'Imdb', 'tt1119392')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3906f47c-554c-54a3-9592-dfc0beb706ad'::uuid, 'Tmdb', 10824)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23120 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3906f47c-554c-54a3-9592-dfc0beb706ad'::uuid;

-- Query #23121 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3906f47c-554c-54a3-9592-dfc0beb706ad'::uuid;

-- Query #23122 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3906f47c-554c-54a3-9592-dfc0beb706ad'::uuid]);

-- Query #23123 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3906f47c-554c-54a3-9592-dfc0beb706ad'::uuid;

-- Query #23124 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23125 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a73600f8-06f5-a163-159a-d9873b848864'::uuid;

-- Query #23126 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a73600f8-06f5-a163-159a-d9873b848864'::uuid]);

-- Query #23127 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a73600f8-06f5-a163-159a-d9873b848864'::uuid;

-- Query #23128 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a73600f8-06f5-a163-159a-d9873b848864'::uuid, 'Imdb', 'tt0642650')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23129 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a73600f8-06f5-a163-159a-d9873b848864'::uuid, 'Tmdb', 10813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23130 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a73600f8-06f5-a163-159a-d9873b848864'::uuid, 'TvMaze', 439324)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a73600f8-06f5-a163-159a-d9873b848864'::uuid, 'Tvdb', 177344)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a73600f8-06f5-a163-159a-d9873b848864'::uuid, 'TvRage', 110286)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a73600f8-06f5-a163-159a-d9873b848864'::uuid, 'trakt', 12669)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a73600f8-06f5-a163-159a-d9873b848864'::uuid, 'TmdbCollection', 10813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23135 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a73600f8-06f5-a163-159a-d9873b848864'::uuid;

-- Query #23136 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a73600f8-06f5-a163-159a-d9873b848864'::uuid;

-- Query #23137 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a73600f8-06f5-a163-159a-d9873b848864'::uuid]);

-- Query #23138 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a73600f8-06f5-a163-159a-d9873b848864'::uuid;

-- Query #23139 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23140 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b4b70aaf-325c-b593-5acc-0d48260b277c'::uuid;

-- Query #23141 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4b70aaf-325c-b593-5acc-0d48260b277c'::uuid]);

-- Query #23142 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b4b70aaf-325c-b593-5acc-0d48260b277c'::uuid;

-- Query #23143 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4b70aaf-325c-b593-5acc-0d48260b277c'::uuid, 'Imdb', 'tt0642727')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23144 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4b70aaf-325c-b593-5acc-0d48260b277c'::uuid, 'Tmdb', 10823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4b70aaf-325c-b593-5acc-0d48260b277c'::uuid, 'TvMaze', 439335)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4b70aaf-325c-b593-5acc-0d48260b277c'::uuid, 'Tvdb', 177355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4b70aaf-325c-b593-5acc-0d48260b277c'::uuid, 'TvRage', 110297)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4b70aaf-325c-b593-5acc-0d48260b277c'::uuid, 'trakt', 12680)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4b70aaf-325c-b593-5acc-0d48260b277c'::uuid, 'TmdbCollection', 10823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23150 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b4b70aaf-325c-b593-5acc-0d48260b277c'::uuid;

-- Query #23151 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b4b70aaf-325c-b593-5acc-0d48260b277c'::uuid;

-- Query #23152 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b4b70aaf-325c-b593-5acc-0d48260b277c'::uuid]);

-- Query #23153 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b4b70aaf-325c-b593-5acc-0d48260b277c'::uuid;

-- Query #23154 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23155 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0af70f0-ced8-baa4-2c18-004d5b585e73'::uuid;

-- Query #23156 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d0af70f0-ced8-baa4-2c18-004d5b585e73'::uuid]);

-- Query #23157 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd0af70f0-ced8-baa4-2c18-004d5b585e73'::uuid;

-- Query #23158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0af70f0-ced8-baa4-2c18-004d5b585e73'::uuid, 'TvMaze', 439343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23159 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0af70f0-ced8-baa4-2c18-004d5b585e73'::uuid, 'Tvdb', 177363)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0af70f0-ced8-baa4-2c18-004d5b585e73'::uuid, 'TmdbCollection', 10831)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0af70f0-ced8-baa4-2c18-004d5b585e73'::uuid, 'TvRage', 110305)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0af70f0-ced8-baa4-2c18-004d5b585e73'::uuid, 'trakt', 12688)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0af70f0-ced8-baa4-2c18-004d5b585e73'::uuid, 'Imdb', 'tt0642731')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0af70f0-ced8-baa4-2c18-004d5b585e73'::uuid, 'Tmdb', 10831)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23165 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0af70f0-ced8-baa4-2c18-004d5b585e73'::uuid;

-- Query #23166 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd0af70f0-ced8-baa4-2c18-004d5b585e73'::uuid;

-- Query #23167 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d0af70f0-ced8-baa4-2c18-004d5b585e73'::uuid]);

-- Query #23168 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd0af70f0-ced8-baa4-2c18-004d5b585e73'::uuid;

-- Query #23169 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23170 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d6f193c-1e89-aa84-44ba-4b96126a811e'::uuid;

-- Query #23171 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d6f193c-1e89-aa84-44ba-4b96126a811e'::uuid]);

-- Query #23172 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2d6f193c-1e89-aa84-44ba-4b96126a811e'::uuid;

-- Query #23173 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d6f193c-1e89-aa84-44ba-4b96126a811e'::uuid, 'Tvdb', 177350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23174 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d6f193c-1e89-aa84-44ba-4b96126a811e'::uuid, 'trakt', 12675)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d6f193c-1e89-aa84-44ba-4b96126a811e'::uuid, 'TmdbCollection', 10807)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d6f193c-1e89-aa84-44ba-4b96126a811e'::uuid, 'TvRage', 110292)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d6f193c-1e89-aa84-44ba-4b96126a811e'::uuid, 'Imdb', 'tt0642658')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d6f193c-1e89-aa84-44ba-4b96126a811e'::uuid, 'Tmdb', 10807)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d6f193c-1e89-aa84-44ba-4b96126a811e'::uuid, 'TvMaze', 439330)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23180 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d6f193c-1e89-aa84-44ba-4b96126a811e'::uuid;

-- Query #23181 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2d6f193c-1e89-aa84-44ba-4b96126a811e'::uuid;

-- Query #23182 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2d6f193c-1e89-aa84-44ba-4b96126a811e'::uuid]);

-- Query #23183 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2d6f193c-1e89-aa84-44ba-4b96126a811e'::uuid;

-- Query #23184 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23185 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3b2b8de7-52c0-b14f-5167-dc142343bff5'::uuid;

-- Query #23186 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3b2b8de7-52c0-b14f-5167-dc142343bff5'::uuid]);

-- Query #23187 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3b2b8de7-52c0-b14f-5167-dc142343bff5'::uuid;

-- Query #23188 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2b8de7-52c0-b14f-5167-dc142343bff5'::uuid, 'TvMaze', 439346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2b8de7-52c0-b14f-5167-dc142343bff5'::uuid, 'Tvdb', 177366)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2b8de7-52c0-b14f-5167-dc142343bff5'::uuid, 'TvRage', 110308)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2b8de7-52c0-b14f-5167-dc142343bff5'::uuid, 'trakt', 12691)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2b8de7-52c0-b14f-5167-dc142343bff5'::uuid, 'TmdbCollection', 10825)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2b8de7-52c0-b14f-5167-dc142343bff5'::uuid, 'Imdb', 'tt0642663')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2b8de7-52c0-b14f-5167-dc142343bff5'::uuid, 'Tmdb', 10825)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23195 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3b2b8de7-52c0-b14f-5167-dc142343bff5'::uuid;

-- Query #23196 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3b2b8de7-52c0-b14f-5167-dc142343bff5'::uuid;

-- Query #23197 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3b2b8de7-52c0-b14f-5167-dc142343bff5'::uuid]);

-- Query #23198 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3b2b8de7-52c0-b14f-5167-dc142343bff5'::uuid;

-- Query #23199 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23200 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3daae2c1-dd56-6111-830d-ee91aaea0b7f'::uuid;

-- Query #23201 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3daae2c1-dd56-6111-830d-ee91aaea0b7f'::uuid]);

-- Query #23202 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3daae2c1-dd56-6111-830d-ee91aaea0b7f'::uuid;

-- Query #23203 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3daae2c1-dd56-6111-830d-ee91aaea0b7f'::uuid, 'Tmdb', 10815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23204 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3daae2c1-dd56-6111-830d-ee91aaea0b7f'::uuid, 'TmdbCollection', 10815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3daae2c1-dd56-6111-830d-ee91aaea0b7f'::uuid, 'trakt', 12681)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3daae2c1-dd56-6111-830d-ee91aaea0b7f'::uuid, 'Tvdb', 177356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3daae2c1-dd56-6111-830d-ee91aaea0b7f'::uuid, 'TvMaze', 439336)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3daae2c1-dd56-6111-830d-ee91aaea0b7f'::uuid, 'TvRage', 110298)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3daae2c1-dd56-6111-830d-ee91aaea0b7f'::uuid, 'Imdb', 'tt0642679')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23210 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3daae2c1-dd56-6111-830d-ee91aaea0b7f'::uuid;

-- Query #23211 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3daae2c1-dd56-6111-830d-ee91aaea0b7f'::uuid;

-- Query #23212 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3daae2c1-dd56-6111-830d-ee91aaea0b7f'::uuid]);

-- Query #23213 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3daae2c1-dd56-6111-830d-ee91aaea0b7f'::uuid;

-- Query #23214 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23215 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b229cc17-65c0-a8b8-8df6-c6f8a9971efd'::uuid;

-- Query #23216 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b229cc17-65c0-a8b8-8df6-c6f8a9971efd'::uuid]);

-- Query #23217 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b229cc17-65c0-a8b8-8df6-c6f8a9971efd'::uuid;

-- Query #23218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b229cc17-65c0-a8b8-8df6-c6f8a9971efd'::uuid, 'TvMaze', 439333)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b229cc17-65c0-a8b8-8df6-c6f8a9971efd'::uuid, 'TvRage', 110295)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b229cc17-65c0-a8b8-8df6-c6f8a9971efd'::uuid, 'trakt', 12678)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b229cc17-65c0-a8b8-8df6-c6f8a9971efd'::uuid, 'Tvdb', 177353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b229cc17-65c0-a8b8-8df6-c6f8a9971efd'::uuid, 'TmdbCollection', 10822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b229cc17-65c0-a8b8-8df6-c6f8a9971efd'::uuid, 'Imdb', 'tt0642682')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b229cc17-65c0-a8b8-8df6-c6f8a9971efd'::uuid, 'Tmdb', 10822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b229cc17-65c0-a8b8-8df6-c6f8a9971efd'::uuid;

-- Query #23226 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b229cc17-65c0-a8b8-8df6-c6f8a9971efd'::uuid;

-- Query #23227 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b229cc17-65c0-a8b8-8df6-c6f8a9971efd'::uuid]);

-- Query #23228 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b229cc17-65c0-a8b8-8df6-c6f8a9971efd'::uuid;

-- Query #23229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23230 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ec4e8f23-bbb1-e43d-8871-f21fc94c7e9c'::uuid;

-- Query #23231 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ec4e8f23-bbb1-e43d-8871-f21fc94c7e9c'::uuid]);

-- Query #23232 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ec4e8f23-bbb1-e43d-8871-f21fc94c7e9c'::uuid;

-- Query #23233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec4e8f23-bbb1-e43d-8871-f21fc94c7e9c'::uuid, 'Imdb', 'tt0642681')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec4e8f23-bbb1-e43d-8871-f21fc94c7e9c'::uuid, 'Tmdb', 10809)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec4e8f23-bbb1-e43d-8871-f21fc94c7e9c'::uuid, 'TvMaze', 439327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec4e8f23-bbb1-e43d-8871-f21fc94c7e9c'::uuid, 'Tvdb', 177347)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec4e8f23-bbb1-e43d-8871-f21fc94c7e9c'::uuid, 'TvRage', 110289)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec4e8f23-bbb1-e43d-8871-f21fc94c7e9c'::uuid, 'trakt', 12672)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23239 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec4e8f23-bbb1-e43d-8871-f21fc94c7e9c'::uuid, 'TmdbCollection', 10809)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23240 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ec4e8f23-bbb1-e43d-8871-f21fc94c7e9c'::uuid;

-- Query #23241 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ec4e8f23-bbb1-e43d-8871-f21fc94c7e9c'::uuid;

-- Query #23242 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ec4e8f23-bbb1-e43d-8871-f21fc94c7e9c'::uuid]);

-- Query #23243 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ec4e8f23-bbb1-e43d-8871-f21fc94c7e9c'::uuid;

-- Query #23244 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23245 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e0991ee9-f80e-abf8-7926-55a51b9f6c3f'::uuid;

-- Query #23246 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e0991ee9-f80e-abf8-7926-55a51b9f6c3f'::uuid]);

-- Query #23247 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e0991ee9-f80e-abf8-7926-55a51b9f6c3f'::uuid;

-- Query #23248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0991ee9-f80e-abf8-7926-55a51b9f6c3f'::uuid, 'Imdb', 'tt0642687')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0991ee9-f80e-abf8-7926-55a51b9f6c3f'::uuid, 'Tmdb', 10830)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0991ee9-f80e-abf8-7926-55a51b9f6c3f'::uuid, 'TvMaze', 439342)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0991ee9-f80e-abf8-7926-55a51b9f6c3f'::uuid, 'Tvdb', 177362)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0991ee9-f80e-abf8-7926-55a51b9f6c3f'::uuid, 'TvRage', 110304)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0991ee9-f80e-abf8-7926-55a51b9f6c3f'::uuid, 'trakt', 12687)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0991ee9-f80e-abf8-7926-55a51b9f6c3f'::uuid, 'TmdbCollection', 10830)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23255 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e0991ee9-f80e-abf8-7926-55a51b9f6c3f'::uuid;

-- Query #23256 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e0991ee9-f80e-abf8-7926-55a51b9f6c3f'::uuid;

-- Query #23257 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e0991ee9-f80e-abf8-7926-55a51b9f6c3f'::uuid]);

-- Query #23258 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e0991ee9-f80e-abf8-7926-55a51b9f6c3f'::uuid;

-- Query #23259 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23260 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b13f7c2-3fe4-63d3-ba02-0fcc6d0e8734'::uuid;

-- Query #23261 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b13f7c2-3fe4-63d3-ba02-0fcc6d0e8734'::uuid]);

-- Query #23262 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1b13f7c2-3fe4-63d3-ba02-0fcc6d0e8734'::uuid;

-- Query #23263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b13f7c2-3fe4-63d3-ba02-0fcc6d0e8734'::uuid, 'TmdbCollection', 10820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b13f7c2-3fe4-63d3-ba02-0fcc6d0e8734'::uuid, 'Imdb', 'tt0642688')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b13f7c2-3fe4-63d3-ba02-0fcc6d0e8734'::uuid, 'Tmdb', 10820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b13f7c2-3fe4-63d3-ba02-0fcc6d0e8734'::uuid, 'TvMaze', 439331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23267 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b13f7c2-3fe4-63d3-ba02-0fcc6d0e8734'::uuid, 'Tvdb', 177351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b13f7c2-3fe4-63d3-ba02-0fcc6d0e8734'::uuid, 'TvRage', 110293)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b13f7c2-3fe4-63d3-ba02-0fcc6d0e8734'::uuid, 'trakt', 12676)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23270 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b13f7c2-3fe4-63d3-ba02-0fcc6d0e8734'::uuid;

-- Query #23271 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1b13f7c2-3fe4-63d3-ba02-0fcc6d0e8734'::uuid;

-- Query #23272 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1b13f7c2-3fe4-63d3-ba02-0fcc6d0e8734'::uuid]);

-- Query #23273 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1b13f7c2-3fe4-63d3-ba02-0fcc6d0e8734'::uuid;

-- Query #23274 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23275 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f81e0485-f003-63e4-b213-51b9eed834fe'::uuid;

-- Query #23276 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f81e0485-f003-63e4-b213-51b9eed834fe'::uuid]);

-- Query #23277 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f81e0485-f003-63e4-b213-51b9eed834fe'::uuid;

-- Query #23278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f81e0485-f003-63e4-b213-51b9eed834fe'::uuid, 'TmdbCollection', 10817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f81e0485-f003-63e4-b213-51b9eed834fe'::uuid, 'Imdb', 'tt0642698')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f81e0485-f003-63e4-b213-51b9eed834fe'::uuid, 'Tmdb', 10817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f81e0485-f003-63e4-b213-51b9eed834fe'::uuid, 'TvMaze', 439338)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23282 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f81e0485-f003-63e4-b213-51b9eed834fe'::uuid, 'Tvdb', 177358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23283 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f81e0485-f003-63e4-b213-51b9eed834fe'::uuid, 'TvRage', 110300)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23284 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f81e0485-f003-63e4-b213-51b9eed834fe'::uuid, 'trakt', 12683)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23285 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f81e0485-f003-63e4-b213-51b9eed834fe'::uuid;

-- Query #23286 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f81e0485-f003-63e4-b213-51b9eed834fe'::uuid;

-- Query #23287 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f81e0485-f003-63e4-b213-51b9eed834fe'::uuid]);

-- Query #23288 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f81e0485-f003-63e4-b213-51b9eed834fe'::uuid;

-- Query #23289 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23290 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd470c053-d5f8-764d-4b39-f0936602571f'::uuid;

-- Query #23291 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d470c053-d5f8-764d-4b39-f0936602571f'::uuid]);

-- Query #23292 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd470c053-d5f8-764d-4b39-f0936602571f'::uuid;

-- Query #23293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d470c053-d5f8-764d-4b39-f0936602571f'::uuid, 'TmdbCollection', 10811)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d470c053-d5f8-764d-4b39-f0936602571f'::uuid, 'Imdb', 'tt0642699')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d470c053-d5f8-764d-4b39-f0936602571f'::uuid, 'Tmdb', 10811)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23296 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d470c053-d5f8-764d-4b39-f0936602571f'::uuid, 'TvMaze', 439323)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23297 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d470c053-d5f8-764d-4b39-f0936602571f'::uuid, 'Tvdb', 177343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23298 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d470c053-d5f8-764d-4b39-f0936602571f'::uuid, 'TvRage', 110285)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23299 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d470c053-d5f8-764d-4b39-f0936602571f'::uuid, 'trakt', 12668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23300 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd470c053-d5f8-764d-4b39-f0936602571f'::uuid;

-- Query #23301 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd470c053-d5f8-764d-4b39-f0936602571f'::uuid;

-- Query #23302 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d470c053-d5f8-764d-4b39-f0936602571f'::uuid]);

-- Query #23303 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd470c053-d5f8-764d-4b39-f0936602571f'::uuid;

-- Query #23304 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23305 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9690af1e-badf-d3bd-cb70-812496cf6040'::uuid;

-- Query #23306 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9690af1e-badf-d3bd-cb70-812496cf6040'::uuid]);

-- Query #23307 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9690af1e-badf-d3bd-cb70-812496cf6040'::uuid;

-- Query #23308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9690af1e-badf-d3bd-cb70-812496cf6040'::uuid, 'Imdb', 'tt0642738')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9690af1e-badf-d3bd-cb70-812496cf6040'::uuid, 'Tmdb', 10821)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9690af1e-badf-d3bd-cb70-812496cf6040'::uuid, 'TvMaze', 439340)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9690af1e-badf-d3bd-cb70-812496cf6040'::uuid, 'Tvdb', 177360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23312 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9690af1e-badf-d3bd-cb70-812496cf6040'::uuid, 'TvRage', 110302)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23313 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9690af1e-badf-d3bd-cb70-812496cf6040'::uuid, 'trakt', 12685)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9690af1e-badf-d3bd-cb70-812496cf6040'::uuid, 'TmdbCollection', 10821)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23315 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9690af1e-badf-d3bd-cb70-812496cf6040'::uuid;

-- Query #23316 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9690af1e-badf-d3bd-cb70-812496cf6040'::uuid;

-- Query #23317 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9690af1e-badf-d3bd-cb70-812496cf6040'::uuid]);

-- Query #23318 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9690af1e-badf-d3bd-cb70-812496cf6040'::uuid;

-- Query #23319 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23320 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5f1033f-a7f6-b446-bef7-8ec24870e4bd'::uuid;

-- Query #23321 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5f1033f-a7f6-b446-bef7-8ec24870e4bd'::uuid]);

-- Query #23322 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e5f1033f-a7f6-b446-bef7-8ec24870e4bd'::uuid;

-- Query #23323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5f1033f-a7f6-b446-bef7-8ec24870e4bd'::uuid, 'Imdb', 'tt0642703')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5f1033f-a7f6-b446-bef7-8ec24870e4bd'::uuid, 'Tmdb', 10806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5f1033f-a7f6-b446-bef7-8ec24870e4bd'::uuid, 'TvMaze', 439326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5f1033f-a7f6-b446-bef7-8ec24870e4bd'::uuid, 'Tvdb', 177346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5f1033f-a7f6-b446-bef7-8ec24870e4bd'::uuid, 'TvRage', 110288)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23328 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5f1033f-a7f6-b446-bef7-8ec24870e4bd'::uuid, 'trakt', 12671)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23329 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5f1033f-a7f6-b446-bef7-8ec24870e4bd'::uuid, 'TmdbCollection', 10806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23330 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5f1033f-a7f6-b446-bef7-8ec24870e4bd'::uuid;

-- Query #23331 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e5f1033f-a7f6-b446-bef7-8ec24870e4bd'::uuid;

-- Query #23332 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e5f1033f-a7f6-b446-bef7-8ec24870e4bd'::uuid]);

-- Query #23333 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e5f1033f-a7f6-b446-bef7-8ec24870e4bd'::uuid;

-- Query #23334 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23335 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a619447e-bd7d-9d7e-60f8-22c27f798e8f'::uuid;

-- Query #23336 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a619447e-bd7d-9d7e-60f8-22c27f798e8f'::uuid]);

-- Query #23337 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a619447e-bd7d-9d7e-60f8-22c27f798e8f'::uuid;

-- Query #23338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a619447e-bd7d-9d7e-60f8-22c27f798e8f'::uuid, 'TmdbCollection', 10814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a619447e-bd7d-9d7e-60f8-22c27f798e8f'::uuid, 'Imdb', 'tt0642705')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a619447e-bd7d-9d7e-60f8-22c27f798e8f'::uuid, 'Tmdb', 10814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a619447e-bd7d-9d7e-60f8-22c27f798e8f'::uuid, 'TvMaze', 439322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a619447e-bd7d-9d7e-60f8-22c27f798e8f'::uuid, 'Tvdb', 177342)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a619447e-bd7d-9d7e-60f8-22c27f798e8f'::uuid, 'TvRage', 110284)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a619447e-bd7d-9d7e-60f8-22c27f798e8f'::uuid, 'trakt', 12667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23345 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a619447e-bd7d-9d7e-60f8-22c27f798e8f'::uuid;

-- Query #23346 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a619447e-bd7d-9d7e-60f8-22c27f798e8f'::uuid;

-- Query #23347 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a619447e-bd7d-9d7e-60f8-22c27f798e8f'::uuid]);

-- Query #23348 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a619447e-bd7d-9d7e-60f8-22c27f798e8f'::uuid;

-- Query #23349 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23350 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7ba4aec8-a2d5-2e43-bb33-134320369291'::uuid;

-- Query #23351 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ba4aec8-a2d5-2e43-bb33-134320369291'::uuid]);

-- Query #23352 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7ba4aec8-a2d5-2e43-bb33-134320369291'::uuid;

-- Query #23353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ba4aec8-a2d5-2e43-bb33-134320369291'::uuid, 'TmdbCollection', 10832)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ba4aec8-a2d5-2e43-bb33-134320369291'::uuid, 'Imdb', 'tt0642707')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ba4aec8-a2d5-2e43-bb33-134320369291'::uuid, 'Tmdb', 10832)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ba4aec8-a2d5-2e43-bb33-134320369291'::uuid, 'TvMaze', 439345)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ba4aec8-a2d5-2e43-bb33-134320369291'::uuid, 'Tvdb', 177365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ba4aec8-a2d5-2e43-bb33-134320369291'::uuid, 'TvRage', 110307)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ba4aec8-a2d5-2e43-bb33-134320369291'::uuid, 'trakt', 12690)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7ba4aec8-a2d5-2e43-bb33-134320369291'::uuid;

-- Query #23361 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7ba4aec8-a2d5-2e43-bb33-134320369291'::uuid;

-- Query #23362 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7ba4aec8-a2d5-2e43-bb33-134320369291'::uuid]);

-- Query #23363 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7ba4aec8-a2d5-2e43-bb33-134320369291'::uuid;

-- Query #23364 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23365 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '664f6327-7906-d912-c705-caafa99d5686'::uuid;

-- Query #23366 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['664f6327-7906-d912-c705-caafa99d5686'::uuid]);

-- Query #23367 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '664f6327-7906-d912-c705-caafa99d5686'::uuid;

-- Query #23368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('664f6327-7906-d912-c705-caafa99d5686'::uuid, 'Imdb', 'tt0642713')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('664f6327-7906-d912-c705-caafa99d5686'::uuid, 'Tmdb', 10812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('664f6327-7906-d912-c705-caafa99d5686'::uuid, 'TvMaze', 439329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('664f6327-7906-d912-c705-caafa99d5686'::uuid, 'Tvdb', 177349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('664f6327-7906-d912-c705-caafa99d5686'::uuid, 'TvRage', 110291)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('664f6327-7906-d912-c705-caafa99d5686'::uuid, 'trakt', 12674)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('664f6327-7906-d912-c705-caafa99d5686'::uuid, 'TmdbCollection', 10812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23375 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '664f6327-7906-d912-c705-caafa99d5686'::uuid;

-- Query #23376 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '664f6327-7906-d912-c705-caafa99d5686'::uuid;

-- Query #23377 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['664f6327-7906-d912-c705-caafa99d5686'::uuid]);

-- Query #23378 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '664f6327-7906-d912-c705-caafa99d5686'::uuid;

-- Query #23379 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23380 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '28537c5d-684b-7450-69c7-8254412a1c0b'::uuid;

-- Query #23381 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['28537c5d-684b-7450-69c7-8254412a1c0b'::uuid]);

-- Query #23382 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '28537c5d-684b-7450-69c7-8254412a1c0b'::uuid;

-- Query #23383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28537c5d-684b-7450-69c7-8254412a1c0b'::uuid, 'TvMaze', 439334)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28537c5d-684b-7450-69c7-8254412a1c0b'::uuid, 'Tvdb', 177354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28537c5d-684b-7450-69c7-8254412a1c0b'::uuid, 'TvRage', 110296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28537c5d-684b-7450-69c7-8254412a1c0b'::uuid, 'trakt', 12679)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28537c5d-684b-7450-69c7-8254412a1c0b'::uuid, 'TmdbCollection', 10819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28537c5d-684b-7450-69c7-8254412a1c0b'::uuid, 'Imdb', 'tt0642725')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23389 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28537c5d-684b-7450-69c7-8254412a1c0b'::uuid, 'Tmdb', 10819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23390 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '28537c5d-684b-7450-69c7-8254412a1c0b'::uuid;

-- Query #23391 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '28537c5d-684b-7450-69c7-8254412a1c0b'::uuid;

-- Query #23392 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['28537c5d-684b-7450-69c7-8254412a1c0b'::uuid]);

-- Query #23393 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '28537c5d-684b-7450-69c7-8254412a1c0b'::uuid;

-- Query #23394 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23395 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #23396 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cc50ab77-181a-978e-35a0-e3ac4397c92f'::uuid;

-- Query #23397 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc50ab77-181a-978e-35a0-e3ac4397c92f'::uuid]);

-- Query #23398 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cc50ab77-181a-978e-35a0-e3ac4397c92f'::uuid;

-- Query #23399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc50ab77-181a-978e-35a0-e3ac4397c92f'::uuid, 'Imdb', 'tt0642743')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc50ab77-181a-978e-35a0-e3ac4397c92f'::uuid, 'Tmdb', 10818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc50ab77-181a-978e-35a0-e3ac4397c92f'::uuid, 'TvMaze', 439332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc50ab77-181a-978e-35a0-e3ac4397c92f'::uuid, 'Tvdb', 177352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc50ab77-181a-978e-35a0-e3ac4397c92f'::uuid, 'TvRage', 110294)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc50ab77-181a-978e-35a0-e3ac4397c92f'::uuid, 'trakt', 12677)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc50ab77-181a-978e-35a0-e3ac4397c92f'::uuid, 'TmdbCollection', 10818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23406 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cc50ab77-181a-978e-35a0-e3ac4397c92f'::uuid;

-- Query #23407 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cc50ab77-181a-978e-35a0-e3ac4397c92f'::uuid;

-- Query #23408 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cc50ab77-181a-978e-35a0-e3ac4397c92f'::uuid]);

-- Query #23409 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cc50ab77-181a-978e-35a0-e3ac4397c92f'::uuid;

-- Query #23410 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23411 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52477fe9-262f-16d0-35f2-9b86d060f56f'::uuid;

-- Query #23412 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['52477fe9-262f-16d0-35f2-9b86d060f56f'::uuid]);

-- Query #23413 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '52477fe9-262f-16d0-35f2-9b86d060f56f'::uuid;

-- Query #23414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52477fe9-262f-16d0-35f2-9b86d060f56f'::uuid, 'Imdb', 'tt0642741')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52477fe9-262f-16d0-35f2-9b86d060f56f'::uuid, 'Tmdb', 10827)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52477fe9-262f-16d0-35f2-9b86d060f56f'::uuid, 'TvMaze', 439344)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52477fe9-262f-16d0-35f2-9b86d060f56f'::uuid, 'Tvdb', 177364)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52477fe9-262f-16d0-35f2-9b86d060f56f'::uuid, 'TvRage', 110306)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23419 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52477fe9-262f-16d0-35f2-9b86d060f56f'::uuid, 'trakt', 12689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52477fe9-262f-16d0-35f2-9b86d060f56f'::uuid, 'TmdbCollection', 10827)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23421 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52477fe9-262f-16d0-35f2-9b86d060f56f'::uuid;

-- Query #23422 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '52477fe9-262f-16d0-35f2-9b86d060f56f'::uuid;

-- Query #23423 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['52477fe9-262f-16d0-35f2-9b86d060f56f'::uuid]);

-- Query #23424 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '52477fe9-262f-16d0-35f2-9b86d060f56f'::uuid;

-- Query #23425 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23426 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aac6490b-cad9-67e6-52f3-167abd6eb1be'::uuid;

-- Query #23427 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aac6490b-cad9-67e6-52f3-167abd6eb1be'::uuid]);

-- Query #23428 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'aac6490b-cad9-67e6-52f3-167abd6eb1be'::uuid;

-- Query #23429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aac6490b-cad9-67e6-52f3-167abd6eb1be'::uuid, 'TmdbCollection', 10808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aac6490b-cad9-67e6-52f3-167abd6eb1be'::uuid, 'Imdb', 'tt0642746')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aac6490b-cad9-67e6-52f3-167abd6eb1be'::uuid, 'Tmdb', 10808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aac6490b-cad9-67e6-52f3-167abd6eb1be'::uuid, 'TvMaze', 439328)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aac6490b-cad9-67e6-52f3-167abd6eb1be'::uuid, 'Tvdb', 177348)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aac6490b-cad9-67e6-52f3-167abd6eb1be'::uuid, 'TvRage', 110290)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aac6490b-cad9-67e6-52f3-167abd6eb1be'::uuid, 'trakt', 12673)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23436 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aac6490b-cad9-67e6-52f3-167abd6eb1be'::uuid;

-- Query #23437 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'aac6490b-cad9-67e6-52f3-167abd6eb1be'::uuid;

-- Query #23438 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['aac6490b-cad9-67e6-52f3-167abd6eb1be'::uuid]);

-- Query #23439 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'aac6490b-cad9-67e6-52f3-167abd6eb1be'::uuid;

-- Query #23440 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23441 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '93a17989-f1d2-2687-1e1f-40876a08bbb3'::uuid;

-- Query #23442 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['93a17989-f1d2-2687-1e1f-40876a08bbb3'::uuid]);

-- Query #23443 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '93a17989-f1d2-2687-1e1f-40876a08bbb3'::uuid;

-- Query #23444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93a17989-f1d2-2687-1e1f-40876a08bbb3'::uuid, 'TmdbCollection', 10826)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93a17989-f1d2-2687-1e1f-40876a08bbb3'::uuid, 'Imdb', 'tt0642750')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93a17989-f1d2-2687-1e1f-40876a08bbb3'::uuid, 'Tmdb', 10826)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93a17989-f1d2-2687-1e1f-40876a08bbb3'::uuid, 'TvMaze', 439341)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93a17989-f1d2-2687-1e1f-40876a08bbb3'::uuid, 'Tvdb', 177361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23449 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93a17989-f1d2-2687-1e1f-40876a08bbb3'::uuid, 'TvRage', 110303)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93a17989-f1d2-2687-1e1f-40876a08bbb3'::uuid, 'trakt', 12686)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23451 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '93a17989-f1d2-2687-1e1f-40876a08bbb3'::uuid;

-- Query #23452 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '93a17989-f1d2-2687-1e1f-40876a08bbb3'::uuid;

-- Query #23453 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['93a17989-f1d2-2687-1e1f-40876a08bbb3'::uuid]);

-- Query #23454 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '93a17989-f1d2-2687-1e1f-40876a08bbb3'::uuid;

-- Query #23455 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23456 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e2c241d-a550-fd3e-63b1-a691f0bd3df1'::uuid;

-- Query #23457 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5e2c241d-a550-fd3e-63b1-a691f0bd3df1'::uuid]);

-- Query #23458 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5e2c241d-a550-fd3e-63b1-a691f0bd3df1'::uuid;

-- Query #23459 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e2c241d-a550-fd3e-63b1-a691f0bd3df1'::uuid, 'Imdb', 'tt0642753')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23460 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e2c241d-a550-fd3e-63b1-a691f0bd3df1'::uuid, 'Tmdb', 10829)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e2c241d-a550-fd3e-63b1-a691f0bd3df1'::uuid, 'TvMaze', 439347)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e2c241d-a550-fd3e-63b1-a691f0bd3df1'::uuid, 'Tvdb', 177367)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e2c241d-a550-fd3e-63b1-a691f0bd3df1'::uuid, 'TvRage', 110309)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e2c241d-a550-fd3e-63b1-a691f0bd3df1'::uuid, 'trakt', 12692)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e2c241d-a550-fd3e-63b1-a691f0bd3df1'::uuid, 'TmdbCollection', 10829)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23466 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e2c241d-a550-fd3e-63b1-a691f0bd3df1'::uuid;

-- Query #23467 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5e2c241d-a550-fd3e-63b1-a691f0bd3df1'::uuid;

-- Query #23468 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5e2c241d-a550-fd3e-63b1-a691f0bd3df1'::uuid]);

-- Query #23469 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5e2c241d-a550-fd3e-63b1-a691f0bd3df1'::uuid;

-- Query #23470 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23471 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2858aed2-fb6d-daa8-4f44-070d9c78c11b'::uuid;

-- Query #23472 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2858aed2-fb6d-daa8-4f44-070d9c78c11b'::uuid]);

-- Query #23473 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2858aed2-fb6d-daa8-4f44-070d9c78c11b'::uuid;

-- Query #23474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2858aed2-fb6d-daa8-4f44-070d9c78c11b'::uuid, 'TmdbCollection', 10828)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2858aed2-fb6d-daa8-4f44-070d9c78c11b'::uuid, 'Imdb', 'tt0642754')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2858aed2-fb6d-daa8-4f44-070d9c78c11b'::uuid, 'Tmdb', 10828)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23477 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2858aed2-fb6d-daa8-4f44-070d9c78c11b'::uuid, 'TvMaze', 439348)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23478 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2858aed2-fb6d-daa8-4f44-070d9c78c11b'::uuid, 'Tvdb', 177368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2858aed2-fb6d-daa8-4f44-070d9c78c11b'::uuid, 'TvRage', 110310)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2858aed2-fb6d-daa8-4f44-070d9c78c11b'::uuid, 'trakt', 12693)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23481 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2858aed2-fb6d-daa8-4f44-070d9c78c11b'::uuid;

-- Query #23482 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2858aed2-fb6d-daa8-4f44-070d9c78c11b'::uuid;

-- Query #23483 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2858aed2-fb6d-daa8-4f44-070d9c78c11b'::uuid]);

-- Query #23484 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2858aed2-fb6d-daa8-4f44-070d9c78c11b'::uuid;

-- Query #23485 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23486 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '97df73e8-7fb9-f110-613d-81b3249c64d0'::uuid;

-- Query #23487 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['97df73e8-7fb9-f110-613d-81b3249c64d0'::uuid]);

-- Query #23488 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '97df73e8-7fb9-f110-613d-81b3249c64d0'::uuid;

-- Query #23489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97df73e8-7fb9-f110-613d-81b3249c64d0'::uuid, 'Imdb', 'tt0642758')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97df73e8-7fb9-f110-613d-81b3249c64d0'::uuid, 'Tmdb', 10816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97df73e8-7fb9-f110-613d-81b3249c64d0'::uuid, 'TvMaze', 439337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97df73e8-7fb9-f110-613d-81b3249c64d0'::uuid, 'Tvdb', 177357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97df73e8-7fb9-f110-613d-81b3249c64d0'::uuid, 'TvRage', 110299)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97df73e8-7fb9-f110-613d-81b3249c64d0'::uuid, 'trakt', 12682)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23495 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97df73e8-7fb9-f110-613d-81b3249c64d0'::uuid, 'TmdbCollection', 10816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23496 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '97df73e8-7fb9-f110-613d-81b3249c64d0'::uuid;

-- Query #23497 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '97df73e8-7fb9-f110-613d-81b3249c64d0'::uuid;

-- Query #23498 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['97df73e8-7fb9-f110-613d-81b3249c64d0'::uuid]);

-- Query #23499 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '97df73e8-7fb9-f110-613d-81b3249c64d0'::uuid;

-- Query #23500 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23501 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f9eca9f-7746-6134-2ff6-3a5f6f30fcda'::uuid;

-- Query #23502 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f9eca9f-7746-6134-2ff6-3a5f6f30fcda'::uuid]);

-- Query #23503 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9f9eca9f-7746-6134-2ff6-3a5f6f30fcda'::uuid;

-- Query #23504 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f9eca9f-7746-6134-2ff6-3a5f6f30fcda'::uuid, 'Imdb', 'tt0642636')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f9eca9f-7746-6134-2ff6-3a5f6f30fcda'::uuid, 'Tmdb', 10846)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f9eca9f-7746-6134-2ff6-3a5f6f30fcda'::uuid, 'TvMaze', 439361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23507 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f9eca9f-7746-6134-2ff6-3a5f6f30fcda'::uuid, 'Tvdb', 177381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23508 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f9eca9f-7746-6134-2ff6-3a5f6f30fcda'::uuid, 'TvRage', 110323)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23509 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f9eca9f-7746-6134-2ff6-3a5f6f30fcda'::uuid, 'trakt', 12706)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23510 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f9eca9f-7746-6134-2ff6-3a5f6f30fcda'::uuid, 'TmdbCollection', 10846)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23511 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f9eca9f-7746-6134-2ff6-3a5f6f30fcda'::uuid;

-- Query #23512 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9f9eca9f-7746-6134-2ff6-3a5f6f30fcda'::uuid;

-- Query #23513 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9f9eca9f-7746-6134-2ff6-3a5f6f30fcda'::uuid]);

-- Query #23514 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9f9eca9f-7746-6134-2ff6-3a5f6f30fcda'::uuid;

-- Query #23515 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23516 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '683d2ae1-3774-7935-80e2-03f810839010'::uuid;

-- Query #23517 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['683d2ae1-3774-7935-80e2-03f810839010'::uuid]);

-- Query #23518 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '683d2ae1-3774-7935-80e2-03f810839010'::uuid;

-- Query #23519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('683d2ae1-3774-7935-80e2-03f810839010'::uuid, 'Imdb', 'tt0642639')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('683d2ae1-3774-7935-80e2-03f810839010'::uuid, 'Tmdb', 10847)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('683d2ae1-3774-7935-80e2-03f810839010'::uuid, 'TvMaze', 439366)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('683d2ae1-3774-7935-80e2-03f810839010'::uuid, 'Tvdb', 177386)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('683d2ae1-3774-7935-80e2-03f810839010'::uuid, 'TvRage', 110328)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('683d2ae1-3774-7935-80e2-03f810839010'::uuid, 'trakt', 12711)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23525 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('683d2ae1-3774-7935-80e2-03f810839010'::uuid, 'TmdbCollection', 10847)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23526 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '683d2ae1-3774-7935-80e2-03f810839010'::uuid;

-- Query #23527 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '683d2ae1-3774-7935-80e2-03f810839010'::uuid;

-- Query #23528 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['683d2ae1-3774-7935-80e2-03f810839010'::uuid]);

-- Query #23529 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '683d2ae1-3774-7935-80e2-03f810839010'::uuid;

-- Query #23530 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23531 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e95403d-e7bf-6269-c3fc-0d62e2f0d53a'::uuid;

-- Query #23532 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e95403d-e7bf-6269-c3fc-0d62e2f0d53a'::uuid]);

-- Query #23533 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9e95403d-e7bf-6269-c3fc-0d62e2f0d53a'::uuid;

-- Query #23534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e95403d-e7bf-6269-c3fc-0d62e2f0d53a'::uuid, 'trakt', 12695)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e95403d-e7bf-6269-c3fc-0d62e2f0d53a'::uuid, 'TmdbCollection', 10839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e95403d-e7bf-6269-c3fc-0d62e2f0d53a'::uuid, 'Imdb', 'tt0642644')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e95403d-e7bf-6269-c3fc-0d62e2f0d53a'::uuid, 'Tmdb', 10839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e95403d-e7bf-6269-c3fc-0d62e2f0d53a'::uuid, 'TvMaze', 439350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23539 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e95403d-e7bf-6269-c3fc-0d62e2f0d53a'::uuid, 'Tvdb', 177370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23540 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e95403d-e7bf-6269-c3fc-0d62e2f0d53a'::uuid, 'TvRage', 110312)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23541 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e95403d-e7bf-6269-c3fc-0d62e2f0d53a'::uuid;

-- Query #23542 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9e95403d-e7bf-6269-c3fc-0d62e2f0d53a'::uuid;

-- Query #23543 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9e95403d-e7bf-6269-c3fc-0d62e2f0d53a'::uuid]);

-- Query #23544 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9e95403d-e7bf-6269-c3fc-0d62e2f0d53a'::uuid;

-- Query #23545 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23546 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3190701d-f9ad-b878-d82c-dc24628a5a04'::uuid;

-- Query #23547 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3190701d-f9ad-b878-d82c-dc24628a5a04'::uuid]);

-- Query #23548 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3190701d-f9ad-b878-d82c-dc24628a5a04'::uuid;

-- Query #23549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3190701d-f9ad-b878-d82c-dc24628a5a04'::uuid, 'Imdb', 'tt0642645')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3190701d-f9ad-b878-d82c-dc24628a5a04'::uuid, 'Tmdb', 10835)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3190701d-f9ad-b878-d82c-dc24628a5a04'::uuid, 'TvMaze', 439354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23552 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3190701d-f9ad-b878-d82c-dc24628a5a04'::uuid, 'Tvdb', 177374)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23553 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3190701d-f9ad-b878-d82c-dc24628a5a04'::uuid, 'TvRage', 110316)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23554 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3190701d-f9ad-b878-d82c-dc24628a5a04'::uuid, 'trakt', 12699)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3190701d-f9ad-b878-d82c-dc24628a5a04'::uuid, 'TmdbCollection', 10835)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23556 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3190701d-f9ad-b878-d82c-dc24628a5a04'::uuid;

-- Query #23557 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3190701d-f9ad-b878-d82c-dc24628a5a04'::uuid;

-- Query #23558 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3190701d-f9ad-b878-d82c-dc24628a5a04'::uuid]);

-- Query #23559 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3190701d-f9ad-b878-d82c-dc24628a5a04'::uuid;

-- Query #23560 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23561 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b2aef93-1d8a-cd7a-1a03-f45334b37ba5'::uuid;

-- Query #23562 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7b2aef93-1d8a-cd7a-1a03-f45334b37ba5'::uuid]);

-- Query #23563 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7b2aef93-1d8a-cd7a-1a03-f45334b37ba5'::uuid;

-- Query #23564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b2aef93-1d8a-cd7a-1a03-f45334b37ba5'::uuid, 'Imdb', 'tt0642651')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b2aef93-1d8a-cd7a-1a03-f45334b37ba5'::uuid, 'Tmdb', 10838)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b2aef93-1d8a-cd7a-1a03-f45334b37ba5'::uuid, 'TvMaze', 439353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23567 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b2aef93-1d8a-cd7a-1a03-f45334b37ba5'::uuid, 'Tvdb', 177373)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23568 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b2aef93-1d8a-cd7a-1a03-f45334b37ba5'::uuid, 'TvRage', 110315)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23569 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b2aef93-1d8a-cd7a-1a03-f45334b37ba5'::uuid, 'trakt', 12698)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b2aef93-1d8a-cd7a-1a03-f45334b37ba5'::uuid, 'TmdbCollection', 10838)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23571 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b2aef93-1d8a-cd7a-1a03-f45334b37ba5'::uuid;

-- Query #23572 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7b2aef93-1d8a-cd7a-1a03-f45334b37ba5'::uuid;

-- Query #23573 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7b2aef93-1d8a-cd7a-1a03-f45334b37ba5'::uuid]);

-- Query #23574 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7b2aef93-1d8a-cd7a-1a03-f45334b37ba5'::uuid;

-- Query #23575 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23576 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6f5545a-02cf-bd6a-bd9e-9bae68ae96a2'::uuid;

-- Query #23577 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6f5545a-02cf-bd6a-bd9e-9bae68ae96a2'::uuid]);

-- Query #23578 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e6f5545a-02cf-bd6a-bd9e-9bae68ae96a2'::uuid;

-- Query #23579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6f5545a-02cf-bd6a-bd9e-9bae68ae96a2'::uuid, 'Imdb', 'tt0642655')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23580 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6f5545a-02cf-bd6a-bd9e-9bae68ae96a2'::uuid, 'Tmdb', 10853)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6f5545a-02cf-bd6a-bd9e-9bae68ae96a2'::uuid, 'TvMaze', 439371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6f5545a-02cf-bd6a-bd9e-9bae68ae96a2'::uuid, 'Tvdb', 177391)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6f5545a-02cf-bd6a-bd9e-9bae68ae96a2'::uuid, 'TvRage', 110333)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6f5545a-02cf-bd6a-bd9e-9bae68ae96a2'::uuid, 'trakt', 12716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6f5545a-02cf-bd6a-bd9e-9bae68ae96a2'::uuid, 'TmdbCollection', 10853)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6f5545a-02cf-bd6a-bd9e-9bae68ae96a2'::uuid;

-- Query #23587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e6f5545a-02cf-bd6a-bd9e-9bae68ae96a2'::uuid;

-- Query #23588 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e6f5545a-02cf-bd6a-bd9e-9bae68ae96a2'::uuid]);

-- Query #23589 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e6f5545a-02cf-bd6a-bd9e-9bae68ae96a2'::uuid;

-- Query #23590 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5bf0cc23-8925-8b30-22f4-b2fd01e72505'::uuid;

-- Query #23592 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bf0cc23-8925-8b30-22f4-b2fd01e72505'::uuid]);

-- Query #23593 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5bf0cc23-8925-8b30-22f4-b2fd01e72505'::uuid;

-- Query #23594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bf0cc23-8925-8b30-22f4-b2fd01e72505'::uuid, 'Imdb', 'tt0642656')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bf0cc23-8925-8b30-22f4-b2fd01e72505'::uuid, 'Tmdb', 10855)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bf0cc23-8925-8b30-22f4-b2fd01e72505'::uuid, 'TvMaze', 439372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bf0cc23-8925-8b30-22f4-b2fd01e72505'::uuid, 'Tvdb', 177392)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bf0cc23-8925-8b30-22f4-b2fd01e72505'::uuid, 'TvRage', 110334)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bf0cc23-8925-8b30-22f4-b2fd01e72505'::uuid, 'trakt', 12717)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bf0cc23-8925-8b30-22f4-b2fd01e72505'::uuid, 'TmdbCollection', 10855)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23601 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5bf0cc23-8925-8b30-22f4-b2fd01e72505'::uuid;

-- Query #23602 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5bf0cc23-8925-8b30-22f4-b2fd01e72505'::uuid;

-- Query #23603 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5bf0cc23-8925-8b30-22f4-b2fd01e72505'::uuid]);

-- Query #23604 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5bf0cc23-8925-8b30-22f4-b2fd01e72505'::uuid;

-- Query #23605 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23606 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '305d39de-1a4b-5e9a-e183-5d6625cea771'::uuid;

-- Query #23607 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['305d39de-1a4b-5e9a-e183-5d6625cea771'::uuid]);

-- Query #23608 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '305d39de-1a4b-5e9a-e183-5d6625cea771'::uuid;

-- Query #23609 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('305d39de-1a4b-5e9a-e183-5d6625cea771'::uuid, 'Imdb', 'tt0642659')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('305d39de-1a4b-5e9a-e183-5d6625cea771'::uuid, 'Tmdb', 10844)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('305d39de-1a4b-5e9a-e183-5d6625cea771'::uuid, 'TvMaze', 439357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('305d39de-1a4b-5e9a-e183-5d6625cea771'::uuid, 'Tvdb', 177377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('305d39de-1a4b-5e9a-e183-5d6625cea771'::uuid, 'TvRage', 110319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23614 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('305d39de-1a4b-5e9a-e183-5d6625cea771'::uuid, 'trakt', 12702)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('305d39de-1a4b-5e9a-e183-5d6625cea771'::uuid, 'TmdbCollection', 10844)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23616 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '305d39de-1a4b-5e9a-e183-5d6625cea771'::uuid;

-- Query #23617 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '305d39de-1a4b-5e9a-e183-5d6625cea771'::uuid;

-- Query #23618 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['305d39de-1a4b-5e9a-e183-5d6625cea771'::uuid]);

-- Query #23619 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '305d39de-1a4b-5e9a-e183-5d6625cea771'::uuid;

-- Query #23620 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23621 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13af1205-9de0-e1f6-0101-145e77e4b6a8'::uuid;

-- Query #23622 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13af1205-9de0-e1f6-0101-145e77e4b6a8'::uuid]);

-- Query #23623 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '13af1205-9de0-e1f6-0101-145e77e4b6a8'::uuid;

-- Query #23624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13af1205-9de0-e1f6-0101-145e77e4b6a8'::uuid, 'Imdb', 'tt0642677')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23625 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13af1205-9de0-e1f6-0101-145e77e4b6a8'::uuid, 'Tmdb', 10848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13af1205-9de0-e1f6-0101-145e77e4b6a8'::uuid, 'TvMaze', 439369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13af1205-9de0-e1f6-0101-145e77e4b6a8'::uuid, 'Tvdb', 177389)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13af1205-9de0-e1f6-0101-145e77e4b6a8'::uuid, 'TvRage', 110331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13af1205-9de0-e1f6-0101-145e77e4b6a8'::uuid, 'trakt', 12714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13af1205-9de0-e1f6-0101-145e77e4b6a8'::uuid, 'TmdbCollection', 10848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23631 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13af1205-9de0-e1f6-0101-145e77e4b6a8'::uuid;

-- Query #23632 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '13af1205-9de0-e1f6-0101-145e77e4b6a8'::uuid;

-- Query #23633 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['13af1205-9de0-e1f6-0101-145e77e4b6a8'::uuid]);

-- Query #23634 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '13af1205-9de0-e1f6-0101-145e77e4b6a8'::uuid;

-- Query #23635 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23636 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '97f4362a-20d7-5db1-8ab1-23536bc750e8'::uuid;

-- Query #23637 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['97f4362a-20d7-5db1-8ab1-23536bc750e8'::uuid]);

-- Query #23638 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '97f4362a-20d7-5db1-8ab1-23536bc750e8'::uuid;

-- Query #23639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97f4362a-20d7-5db1-8ab1-23536bc750e8'::uuid, 'Imdb', 'tt0642694')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97f4362a-20d7-5db1-8ab1-23536bc750e8'::uuid, 'Tmdb', 10856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97f4362a-20d7-5db1-8ab1-23536bc750e8'::uuid, 'TvMaze', 439365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97f4362a-20d7-5db1-8ab1-23536bc750e8'::uuid, 'Tvdb', 177385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97f4362a-20d7-5db1-8ab1-23536bc750e8'::uuid, 'TvRage', 110327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97f4362a-20d7-5db1-8ab1-23536bc750e8'::uuid, 'trakt', 12710)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97f4362a-20d7-5db1-8ab1-23536bc750e8'::uuid, 'TmdbCollection', 10856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23646 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '97f4362a-20d7-5db1-8ab1-23536bc750e8'::uuid;

-- Query #23647 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '97f4362a-20d7-5db1-8ab1-23536bc750e8'::uuid;

-- Query #23648 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['97f4362a-20d7-5db1-8ab1-23536bc750e8'::uuid]);

-- Query #23649 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '97f4362a-20d7-5db1-8ab1-23536bc750e8'::uuid;

-- Query #23650 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23651 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e25c1d8-ce5d-4fa6-a33a-386f287a7467'::uuid;

-- Query #23652 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e25c1d8-ce5d-4fa6-a33a-386f287a7467'::uuid]);

-- Query #23653 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9e25c1d8-ce5d-4fa6-a33a-386f287a7467'::uuid;

-- Query #23654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e25c1d8-ce5d-4fa6-a33a-386f287a7467'::uuid, 'TvRage', 110311)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e25c1d8-ce5d-4fa6-a33a-386f287a7467'::uuid, 'trakt', 12694)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e25c1d8-ce5d-4fa6-a33a-386f287a7467'::uuid, 'TmdbCollection', 10834)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e25c1d8-ce5d-4fa6-a33a-386f287a7467'::uuid, 'Imdb', 'tt0642696')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e25c1d8-ce5d-4fa6-a33a-386f287a7467'::uuid, 'Tmdb', 10834)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e25c1d8-ce5d-4fa6-a33a-386f287a7467'::uuid, 'TvMaze', 439349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e25c1d8-ce5d-4fa6-a33a-386f287a7467'::uuid, 'Tvdb', 177369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23661 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e25c1d8-ce5d-4fa6-a33a-386f287a7467'::uuid;

-- Query #23662 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9e25c1d8-ce5d-4fa6-a33a-386f287a7467'::uuid;

-- Query #23663 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9e25c1d8-ce5d-4fa6-a33a-386f287a7467'::uuid]);

-- Query #23664 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9e25c1d8-ce5d-4fa6-a33a-386f287a7467'::uuid;

-- Query #23665 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23666 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1f1ed161-8627-6af4-94ca-aac0f5a973ce'::uuid;

-- Query #23667 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1f1ed161-8627-6af4-94ca-aac0f5a973ce'::uuid]);

-- Query #23668 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1f1ed161-8627-6af4-94ca-aac0f5a973ce'::uuid;

-- Query #23669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f1ed161-8627-6af4-94ca-aac0f5a973ce'::uuid, 'Imdb', 'tt0642737')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f1ed161-8627-6af4-94ca-aac0f5a973ce'::uuid, 'Tmdb', 10837)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f1ed161-8627-6af4-94ca-aac0f5a973ce'::uuid, 'TvMaze', 439355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f1ed161-8627-6af4-94ca-aac0f5a973ce'::uuid, 'Tvdb', 177375)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f1ed161-8627-6af4-94ca-aac0f5a973ce'::uuid, 'TvRage', 110317)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f1ed161-8627-6af4-94ca-aac0f5a973ce'::uuid, 'trakt', 12700)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1f1ed161-8627-6af4-94ca-aac0f5a973ce'::uuid, 'TmdbCollection', 10837)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23676 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1f1ed161-8627-6af4-94ca-aac0f5a973ce'::uuid;

-- Query #23677 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1f1ed161-8627-6af4-94ca-aac0f5a973ce'::uuid;

-- Query #23678 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1f1ed161-8627-6af4-94ca-aac0f5a973ce'::uuid]);

-- Query #23679 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1f1ed161-8627-6af4-94ca-aac0f5a973ce'::uuid;

-- Query #23680 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23681 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '699c4173-513b-4f9b-bb80-2646b26ed6d3'::uuid;

-- Query #23682 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['699c4173-513b-4f9b-bb80-2646b26ed6d3'::uuid]);

-- Query #23683 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '699c4173-513b-4f9b-bb80-2646b26ed6d3'::uuid;

-- Query #23684 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('699c4173-513b-4f9b-bb80-2646b26ed6d3'::uuid, 'Imdb', 'tt0642714')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23685 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('699c4173-513b-4f9b-bb80-2646b26ed6d3'::uuid, 'Tmdb', 10850)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('699c4173-513b-4f9b-bb80-2646b26ed6d3'::uuid, 'TvMaze', 439370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('699c4173-513b-4f9b-bb80-2646b26ed6d3'::uuid, 'Tvdb', 177390)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('699c4173-513b-4f9b-bb80-2646b26ed6d3'::uuid, 'TvRage', 110332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('699c4173-513b-4f9b-bb80-2646b26ed6d3'::uuid, 'trakt', 12715)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('699c4173-513b-4f9b-bb80-2646b26ed6d3'::uuid, 'TmdbCollection', 10850)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23691 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '699c4173-513b-4f9b-bb80-2646b26ed6d3'::uuid;

-- Query #23692 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '699c4173-513b-4f9b-bb80-2646b26ed6d3'::uuid;

-- Query #23693 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['699c4173-513b-4f9b-bb80-2646b26ed6d3'::uuid]);

-- Query #23694 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '699c4173-513b-4f9b-bb80-2646b26ed6d3'::uuid;

-- Query #23695 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23696 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f30334cc-7118-1790-2c12-452406662954'::uuid;

-- Query #23697 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f30334cc-7118-1790-2c12-452406662954'::uuid]);

-- Query #23698 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f30334cc-7118-1790-2c12-452406662954'::uuid;

-- Query #23699 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f30334cc-7118-1790-2c12-452406662954'::uuid, 'Imdb', 'tt0642715')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f30334cc-7118-1790-2c12-452406662954'::uuid, 'Tmdb', 10849)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f30334cc-7118-1790-2c12-452406662954'::uuid, 'TvMaze', 439364)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f30334cc-7118-1790-2c12-452406662954'::uuid, 'Tvdb', 177384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f30334cc-7118-1790-2c12-452406662954'::uuid, 'TvRage', 110326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f30334cc-7118-1790-2c12-452406662954'::uuid, 'trakt', 12709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f30334cc-7118-1790-2c12-452406662954'::uuid, 'TmdbCollection', 10849)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23706 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f30334cc-7118-1790-2c12-452406662954'::uuid;

-- Query #23707 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f30334cc-7118-1790-2c12-452406662954'::uuid;

-- Query #23708 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f30334cc-7118-1790-2c12-452406662954'::uuid]);

-- Query #23709 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f30334cc-7118-1790-2c12-452406662954'::uuid;

-- Query #23710 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23711 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '746deeec-20a4-e311-3152-eaf6648b5f49'::uuid;

-- Query #23712 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['746deeec-20a4-e311-3152-eaf6648b5f49'::uuid]);

-- Query #23713 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '746deeec-20a4-e311-3152-eaf6648b5f49'::uuid;

-- Query #23714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('746deeec-20a4-e311-3152-eaf6648b5f49'::uuid, 'trakt', 12703)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('746deeec-20a4-e311-3152-eaf6648b5f49'::uuid, 'TmdbCollection', 10840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('746deeec-20a4-e311-3152-eaf6648b5f49'::uuid, 'Imdb', 'tt0642719')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('746deeec-20a4-e311-3152-eaf6648b5f49'::uuid, 'Tmdb', 10840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('746deeec-20a4-e311-3152-eaf6648b5f49'::uuid, 'TvMaze', 439358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('746deeec-20a4-e311-3152-eaf6648b5f49'::uuid, 'Tvdb', 177378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('746deeec-20a4-e311-3152-eaf6648b5f49'::uuid, 'TvRage', 110320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23721 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '746deeec-20a4-e311-3152-eaf6648b5f49'::uuid;

-- Query #23722 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '746deeec-20a4-e311-3152-eaf6648b5f49'::uuid;

-- Query #23723 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['746deeec-20a4-e311-3152-eaf6648b5f49'::uuid]);

-- Query #23724 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '746deeec-20a4-e311-3152-eaf6648b5f49'::uuid;

-- Query #23725 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23726 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24cc8037-a38a-1117-f3a0-d4024936d349'::uuid;

-- Query #23727 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24cc8037-a38a-1117-f3a0-d4024936d349'::uuid]);

-- Query #23728 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '24cc8037-a38a-1117-f3a0-d4024936d349'::uuid;

-- Query #23729 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24cc8037-a38a-1117-f3a0-d4024936d349'::uuid, 'TmdbCollection', 10842)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23730 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24cc8037-a38a-1117-f3a0-d4024936d349'::uuid, 'Imdb', 'tt0642720')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23731 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24cc8037-a38a-1117-f3a0-d4024936d349'::uuid, 'Tmdb', 10842)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23732 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24cc8037-a38a-1117-f3a0-d4024936d349'::uuid, 'TvMaze', 439356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23733 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24cc8037-a38a-1117-f3a0-d4024936d349'::uuid, 'Tvdb', 177376)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24cc8037-a38a-1117-f3a0-d4024936d349'::uuid, 'TvRage', 110318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24cc8037-a38a-1117-f3a0-d4024936d349'::uuid, 'trakt', 12701)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23736 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24cc8037-a38a-1117-f3a0-d4024936d349'::uuid;

-- Query #23737 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '24cc8037-a38a-1117-f3a0-d4024936d349'::uuid;

-- Query #23738 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['24cc8037-a38a-1117-f3a0-d4024936d349'::uuid]);

-- Query #23739 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '24cc8037-a38a-1117-f3a0-d4024936d349'::uuid;

-- Query #23740 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23741 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '71d12b47-4945-1b84-578a-23ef1bddb195'::uuid;

-- Query #23742 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71d12b47-4945-1b84-578a-23ef1bddb195'::uuid]);

-- Query #23743 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '71d12b47-4945-1b84-578a-23ef1bddb195'::uuid;

-- Query #23744 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71d12b47-4945-1b84-578a-23ef1bddb195'::uuid, 'TmdbCollection', 10833)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71d12b47-4945-1b84-578a-23ef1bddb195'::uuid, 'Imdb', 'tt0642722')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71d12b47-4945-1b84-578a-23ef1bddb195'::uuid, 'Tmdb', 10833)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71d12b47-4945-1b84-578a-23ef1bddb195'::uuid, 'TvMaze', 439351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71d12b47-4945-1b84-578a-23ef1bddb195'::uuid, 'Tvdb', 177371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71d12b47-4945-1b84-578a-23ef1bddb195'::uuid, 'TvRage', 110313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71d12b47-4945-1b84-578a-23ef1bddb195'::uuid, 'trakt', 12696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23751 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '71d12b47-4945-1b84-578a-23ef1bddb195'::uuid;

-- Query #23752 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '71d12b47-4945-1b84-578a-23ef1bddb195'::uuid;

-- Query #23753 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['71d12b47-4945-1b84-578a-23ef1bddb195'::uuid]);

-- Query #23754 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '71d12b47-4945-1b84-578a-23ef1bddb195'::uuid;

-- Query #23755 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23756 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #23757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '305327b4-11b7-3630-b863-df235af3a789'::uuid;

-- Query #23758 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['305327b4-11b7-3630-b863-df235af3a789'::uuid]);

-- Query #23759 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '305327b4-11b7-3630-b863-df235af3a789'::uuid;

-- Query #23760 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('305327b4-11b7-3630-b863-df235af3a789'::uuid, 'Imdb', 'tt0642723')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23761 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('305327b4-11b7-3630-b863-df235af3a789'::uuid, 'Tmdb', 10854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23762 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('305327b4-11b7-3630-b863-df235af3a789'::uuid, 'TvMaze', 439368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23763 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('305327b4-11b7-3630-b863-df235af3a789'::uuid, 'Tvdb', 177388)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23764 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('305327b4-11b7-3630-b863-df235af3a789'::uuid, 'TvRage', 110330)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('305327b4-11b7-3630-b863-df235af3a789'::uuid, 'trakt', 12713)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('305327b4-11b7-3630-b863-df235af3a789'::uuid, 'TmdbCollection', 10854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23767 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '305327b4-11b7-3630-b863-df235af3a789'::uuid;

-- Query #23768 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '305327b4-11b7-3630-b863-df235af3a789'::uuid;

-- Query #23769 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['305327b4-11b7-3630-b863-df235af3a789'::uuid]);

-- Query #23770 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '305327b4-11b7-3630-b863-df235af3a789'::uuid;

-- Query #23771 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23772 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1aa0958f-a724-a6fb-2448-0c4f469c28fa'::uuid;

-- Query #23773 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1aa0958f-a724-a6fb-2448-0c4f469c28fa'::uuid]);

-- Query #23774 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1aa0958f-a724-a6fb-2448-0c4f469c28fa'::uuid;

-- Query #23775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1aa0958f-a724-a6fb-2448-0c4f469c28fa'::uuid, 'Imdb', 'tt0642756')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1aa0958f-a724-a6fb-2448-0c4f469c28fa'::uuid, 'Tmdb', 10836)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1aa0958f-a724-a6fb-2448-0c4f469c28fa'::uuid, 'TvMaze', 439352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1aa0958f-a724-a6fb-2448-0c4f469c28fa'::uuid, 'Tvdb', 177372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1aa0958f-a724-a6fb-2448-0c4f469c28fa'::uuid, 'TvRage', 110314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1aa0958f-a724-a6fb-2448-0c4f469c28fa'::uuid, 'trakt', 12697)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1aa0958f-a724-a6fb-2448-0c4f469c28fa'::uuid, 'TmdbCollection', 10836)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23782 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1aa0958f-a724-a6fb-2448-0c4f469c28fa'::uuid;

-- Query #23783 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1aa0958f-a724-a6fb-2448-0c4f469c28fa'::uuid;

-- Query #23784 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1aa0958f-a724-a6fb-2448-0c4f469c28fa'::uuid]);

-- Query #23785 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1aa0958f-a724-a6fb-2448-0c4f469c28fa'::uuid;

-- Query #23786 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23787 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2f3e5694-7284-f7c8-ce2f-6fa455b9678e'::uuid;

-- Query #23788 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2f3e5694-7284-f7c8-ce2f-6fa455b9678e'::uuid]);

-- Query #23789 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2f3e5694-7284-f7c8-ce2f-6fa455b9678e'::uuid;

-- Query #23790 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f3e5694-7284-f7c8-ce2f-6fa455b9678e'::uuid, 'Imdb', 'tt0642757')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23791 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f3e5694-7284-f7c8-ce2f-6fa455b9678e'::uuid, 'Tmdb', 10841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f3e5694-7284-f7c8-ce2f-6fa455b9678e'::uuid, 'TvMaze', 439360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23793 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f3e5694-7284-f7c8-ce2f-6fa455b9678e'::uuid, 'Tvdb', 177380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f3e5694-7284-f7c8-ce2f-6fa455b9678e'::uuid, 'TvRage', 110322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f3e5694-7284-f7c8-ce2f-6fa455b9678e'::uuid, 'trakt', 12705)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f3e5694-7284-f7c8-ce2f-6fa455b9678e'::uuid, 'TmdbCollection', 10841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23797 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2f3e5694-7284-f7c8-ce2f-6fa455b9678e'::uuid;

-- Query #23798 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2f3e5694-7284-f7c8-ce2f-6fa455b9678e'::uuid;

-- Query #23799 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2f3e5694-7284-f7c8-ce2f-6fa455b9678e'::uuid]);

-- Query #23800 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2f3e5694-7284-f7c8-ce2f-6fa455b9678e'::uuid;

-- Query #23801 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid, '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23802 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2e9d7014-3f16-d55e-f684-a44bc2c9ad2c'::uuid
ORDER BY b."SortName";

-- Query #23803 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid])
ORDER BY b."Id";

-- Query #23804 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid])
ORDER BY b."Id";

-- Query #23805 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid])
ORDER BY b."Id";

-- Query #23806 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid])
ORDER BY b."Id";

-- Query #23807 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid, '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid, '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid, '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid, '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid])
ORDER BY b."Id";

-- Query #23808 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c386d0a6-accc-efb8-5fa5-0e002d2974e8'::uuid
ORDER BY b."SortName";

-- Query #23809 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95b223f4-8562-bfb5-9e2e-2b1bb2edc156'::uuid
ORDER BY b."SortName";

-- Query #23810 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6fbfdca2-ff8a-cdd1-1811-7ad015cbf7f1'::uuid
ORDER BY b."SortName";

-- Query #23811 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7f67406b-7e5b-7886-5043-b0ca20e87e90'::uuid
ORDER BY b."SortName";

-- Query #23812 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '44086b47-28ee-82cf-e2c1-3e898fc33667'::uuid
ORDER BY b."SortName";

-- Query #23813 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '2e9d70143f16d55ef684a44bc2c9ad2c'
ORDER BY b."SortName", b."Name";

-- Query #23814 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid
ORDER BY b."SortName";

-- Query #23815 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid])
ORDER BY b."Id";

-- Query #23816 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid])
ORDER BY b."Id";

-- Query #23817 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid])
ORDER BY b."Id";

-- Query #23818 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid])
ORDER BY b."Id";

-- Query #23819 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid])
ORDER BY b."Id";

-- Query #23820 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid
ORDER BY b."SortName";

-- Query #23821 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid
ORDER BY b."SortName";

-- Query #23822 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid;

-- Query #23823 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid]);

-- Query #23824 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid;

-- Query #23825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, 'eidr', '10.5240/2205-02CF-CB85-8B3B-183D-E')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, 'Imdb', 'tt3475734')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, 'Tmdb', 61550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, 'TmdbCollection', 61550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23829 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, 'Tvdb', 281485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, 'TvMaze', 336)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, 'TvRage', 38412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, 'wikidata', 'Q16860023')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, 'Zap2It', 'EP01921812')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23834 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid;

-- Query #23835 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid;

-- Query #23836 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid]);

-- Query #23837 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid;

-- Query #23838 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23839 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'f87d37bec2d28df0aa70f57c45f2a070'
ORDER BY b."SortName", b."Name";

-- Query #23840 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid
ORDER BY b."SortName";

-- Query #23841 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid])
ORDER BY b."Id";

-- Query #23842 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid])
ORDER BY b."Id";

-- Query #23843 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid])
ORDER BY b."Id";

-- Query #23844 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid])
ORDER BY b."Id";

-- Query #23845 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid])
ORDER BY b."Id";

-- Query #23846 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid
ORDER BY b."SortName";

-- Query #23847 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid
ORDER BY b."SortName";

-- Query #23848 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'f87d37bec2d28df0aa70f57c45f2a070'
ORDER BY b."SortName", b."Name";

-- Query #23849 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid;

-- Query #23850 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid]);

-- Query #23851 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid;

-- Query #23852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'eidr', '10.5240/2205-02CF-CB85-8B3B-183D-E')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'wikidata', 'Q16860023')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'TmdbCollection', 61550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'Tvdb', 281485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'Tmdb', 61550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'Imdb', 'tt3475734')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'TvMaze', 336)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'TvRage', 38412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'Zap2It', 'EP01921812')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23861 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid;

-- Query #23862 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid;

-- Query #23863 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+1940s', '6+based on comic', '6+marvel cinematic universe (mcu)', '6+secret agent']);

-- Query #23864 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid]);

-- Query #23865 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid;

-- Query #23866 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23867 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'f87d37bec2d28df0aa70f57c45f2a070'
ORDER BY b."SortName", b."Name";

-- Query #23868 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid;

-- Query #23869 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid]);

-- Query #23870 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid;

-- Query #23871 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid, 'TmdbCollection', 61550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid, 'Tvdb', 281485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid, 'Tmdb', 61550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23874 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid, 'Imdb', 'tt3475734')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23875 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid, 'TvMaze', 336)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23876 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid, 'TvRage', 38412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23877 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid, 'Zap2It', 'EP01921812')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid, 'eidr', '10.5240/2205-02CF-CB85-8B3B-183D-E')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid, 'wikidata', 'Q16860023')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23880 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid;

-- Query #23881 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid;

-- Query #23882 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+1940s', '6+based on comic', '6+marvel cinematic universe (mcu)', '6+secret agent']);

-- Query #23883 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid]);

-- Query #23884 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid;

-- Query #23885 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23886 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b0508b7-ff99-2f9f-cf2a-b0fda8d0d43f'::uuid;

-- Query #23887 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b0508b7-ff99-2f9f-cf2a-b0fda8d0d43f'::uuid]);

-- Query #23888 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2b0508b7-ff99-2f9f-cf2a-b0fda8d0d43f'::uuid;

-- Query #23889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b0508b7-ff99-2f9f-cf2a-b0fda8d0d43f'::uuid, 'Imdb', 'tt4125400')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b0508b7-ff99-2f9f-cf2a-b0fda8d0d43f'::uuid, 'Tmdb', 1034250)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b0508b7-ff99-2f9f-cf2a-b0fda8d0d43f'::uuid, 'trakt', 1704781)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b0508b7-ff99-2f9f-cf2a-b0fda8d0d43f'::uuid, 'TvMaze', 103727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b0508b7-ff99-2f9f-cf2a-b0fda8d0d43f'::uuid, 'Tvdb', 5095779)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b0508b7-ff99-2f9f-cf2a-b0fda8d0d43f'::uuid, 'TmdbCollection', 1034250)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23895 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b0508b7-ff99-2f9f-cf2a-b0fda8d0d43f'::uuid;

-- Query #23896 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2b0508b7-ff99-2f9f-cf2a-b0fda8d0d43f'::uuid;

-- Query #23897 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2b0508b7-ff99-2f9f-cf2a-b0fda8d0d43f'::uuid]);

-- Query #23898 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2b0508b7-ff99-2f9f-cf2a-b0fda8d0d43f'::uuid;

-- Query #23899 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23900 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ee628d4-2c83-f83b-a473-115bfb3b8abf'::uuid;

-- Query #23901 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ee628d4-2c83-f83b-a473-115bfb3b8abf'::uuid]);

-- Query #23902 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4ee628d4-2c83-f83b-a473-115bfb3b8abf'::uuid;

-- Query #23903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ee628d4-2c83-f83b-a473-115bfb3b8abf'::uuid, 'TmdbCollection', 1026747)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23904 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ee628d4-2c83-f83b-a473-115bfb3b8abf'::uuid, 'Imdb', 'tt4125394')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23905 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ee628d4-2c83-f83b-a473-115bfb3b8abf'::uuid, 'Tmdb', 1026747)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ee628d4-2c83-f83b-a473-115bfb3b8abf'::uuid, 'TvMaze', 102478)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ee628d4-2c83-f83b-a473-115bfb3b8abf'::uuid, 'Tvdb', 5052420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ee628d4-2c83-f83b-a473-115bfb3b8abf'::uuid, 'TvRage', 1065706543)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ee628d4-2c83-f83b-a473-115bfb3b8abf'::uuid, 'trakt', 1704779)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23910 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ee628d4-2c83-f83b-a473-115bfb3b8abf'::uuid;

-- Query #23911 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4ee628d4-2c83-f83b-a473-115bfb3b8abf'::uuid;

-- Query #23912 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4ee628d4-2c83-f83b-a473-115bfb3b8abf'::uuid]);

-- Query #23913 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4ee628d4-2c83-f83b-a473-115bfb3b8abf'::uuid;

-- Query #23914 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '080ef5d6-1b50-ffdd-0c02-70dad6a35d74'::uuid;

-- Query #23916 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['080ef5d6-1b50-ffdd-0c02-70dad6a35d74'::uuid]);

-- Query #23917 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '080ef5d6-1b50-ffdd-0c02-70dad6a35d74'::uuid;

-- Query #23918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080ef5d6-1b50-ffdd-0c02-70dad6a35d74'::uuid, 'TmdbCollection', 1037986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23919 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080ef5d6-1b50-ffdd-0c02-70dad6a35d74'::uuid, 'Imdb', 'tt4125402')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080ef5d6-1b50-ffdd-0c02-70dad6a35d74'::uuid, 'Tmdb', 1037986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080ef5d6-1b50-ffdd-0c02-70dad6a35d74'::uuid, 'TvMaze', 103728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080ef5d6-1b50-ffdd-0c02-70dad6a35d74'::uuid, 'Tvdb', 5099279)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080ef5d6-1b50-ffdd-0c02-70dad6a35d74'::uuid, 'TvRage', 1065741989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('080ef5d6-1b50-ffdd-0c02-70dad6a35d74'::uuid, 'trakt', 1706743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23925 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '080ef5d6-1b50-ffdd-0c02-70dad6a35d74'::uuid;

-- Query #23926 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '080ef5d6-1b50-ffdd-0c02-70dad6a35d74'::uuid;

-- Query #23927 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['080ef5d6-1b50-ffdd-0c02-70dad6a35d74'::uuid]);

-- Query #23928 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '080ef5d6-1b50-ffdd-0c02-70dad6a35d74'::uuid;

-- Query #23929 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23930 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ec94d26e-0dab-9061-9bae-4cdbe77acaf7'::uuid;

-- Query #23931 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ec94d26e-0dab-9061-9bae-4cdbe77acaf7'::uuid]);

-- Query #23932 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ec94d26e-0dab-9061-9bae-4cdbe77acaf7'::uuid;

-- Query #23933 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec94d26e-0dab-9061-9bae-4cdbe77acaf7'::uuid, 'Imdb', 'tt3976236')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23934 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec94d26e-0dab-9061-9bae-4cdbe77acaf7'::uuid, 'Tmdb', 1013214)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec94d26e-0dab-9061-9bae-4cdbe77acaf7'::uuid, 'TvMaze', 40907)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec94d26e-0dab-9061-9bae-4cdbe77acaf7'::uuid, 'Tvdb', 4879753)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec94d26e-0dab-9061-9bae-4cdbe77acaf7'::uuid, 'TvRage', 1065579133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec94d26e-0dab-9061-9bae-4cdbe77acaf7'::uuid, 'trakt', 1704778)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ec94d26e-0dab-9061-9bae-4cdbe77acaf7'::uuid, 'TmdbCollection', 1013214)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23940 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ec94d26e-0dab-9061-9bae-4cdbe77acaf7'::uuid;

-- Query #23941 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ec94d26e-0dab-9061-9bae-4cdbe77acaf7'::uuid;

-- Query #23942 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ec94d26e-0dab-9061-9bae-4cdbe77acaf7'::uuid]);

-- Query #23943 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ec94d26e-0dab-9061-9bae-4cdbe77acaf7'::uuid;

-- Query #23944 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23945 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '19b61d78-cdcf-a9ee-78dd-17cf768b9dae'::uuid;

-- Query #23946 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['19b61d78-cdcf-a9ee-78dd-17cf768b9dae'::uuid]);

-- Query #23947 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '19b61d78-cdcf-a9ee-78dd-17cf768b9dae'::uuid;

-- Query #23948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19b61d78-cdcf-a9ee-78dd-17cf768b9dae'::uuid, 'Imdb', 'tt4125404')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19b61d78-cdcf-a9ee-78dd-17cf768b9dae'::uuid, 'Tmdb', 1037987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19b61d78-cdcf-a9ee-78dd-17cf768b9dae'::uuid, 'trakt', 1706744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19b61d78-cdcf-a9ee-78dd-17cf768b9dae'::uuid, 'TvMaze', 103729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19b61d78-cdcf-a9ee-78dd-17cf768b9dae'::uuid, 'Tvdb', 5110245)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19b61d78-cdcf-a9ee-78dd-17cf768b9dae'::uuid, 'TmdbCollection', 1037987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '19b61d78-cdcf-a9ee-78dd-17cf768b9dae'::uuid;

-- Query #23955 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '19b61d78-cdcf-a9ee-78dd-17cf768b9dae'::uuid;

-- Query #23956 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['19b61d78-cdcf-a9ee-78dd-17cf768b9dae'::uuid]);

-- Query #23957 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '19b61d78-cdcf-a9ee-78dd-17cf768b9dae'::uuid;

-- Query #23958 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23959 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'de0c991e-68e3-ce52-7c23-99d87a3cfd30'::uuid;

-- Query #23960 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['de0c991e-68e3-ce52-7c23-99d87a3cfd30'::uuid]);

-- Query #23961 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'de0c991e-68e3-ce52-7c23-99d87a3cfd30'::uuid;

-- Query #23962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de0c991e-68e3-ce52-7c23-99d87a3cfd30'::uuid, 'TmdbCollection', 1037988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de0c991e-68e3-ce52-7c23-99d87a3cfd30'::uuid, 'Imdb', 'tt4125406')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23964 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de0c991e-68e3-ce52-7c23-99d87a3cfd30'::uuid, 'Tmdb', 1037988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de0c991e-68e3-ce52-7c23-99d87a3cfd30'::uuid, 'TvMaze', 103730)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de0c991e-68e3-ce52-7c23-99d87a3cfd30'::uuid, 'Tvdb', 5111100)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de0c991e-68e3-ce52-7c23-99d87a3cfd30'::uuid, 'TvRage', 1065745265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de0c991e-68e3-ce52-7c23-99d87a3cfd30'::uuid, 'trakt', 1706745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23969 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'de0c991e-68e3-ce52-7c23-99d87a3cfd30'::uuid;

-- Query #23970 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'de0c991e-68e3-ce52-7c23-99d87a3cfd30'::uuid;

-- Query #23971 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['de0c991e-68e3-ce52-7c23-99d87a3cfd30'::uuid]);

-- Query #23972 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'de0c991e-68e3-ce52-7c23-99d87a3cfd30'::uuid;

-- Query #23973 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23974 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '982429c9-e12e-f52c-e6ab-8b944a4b31b1'::uuid;

-- Query #23975 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['982429c9-e12e-f52c-e6ab-8b944a4b31b1'::uuid]);

-- Query #23976 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '982429c9-e12e-f52c-e6ab-8b944a4b31b1'::uuid;

-- Query #23977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('982429c9-e12e-f52c-e6ab-8b944a4b31b1'::uuid, 'Imdb', 'tt4125398')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('982429c9-e12e-f52c-e6ab-8b944a4b31b1'::uuid, 'Tmdb', 1026748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('982429c9-e12e-f52c-e6ab-8b944a4b31b1'::uuid, 'TvMaze', 102479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('982429c9-e12e-f52c-e6ab-8b944a4b31b1'::uuid, 'Tvdb', 5077915)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('982429c9-e12e-f52c-e6ab-8b944a4b31b1'::uuid, 'TvRage', 1065706544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('982429c9-e12e-f52c-e6ab-8b944a4b31b1'::uuid, 'trakt', 1704780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('982429c9-e12e-f52c-e6ab-8b944a4b31b1'::uuid, 'TmdbCollection', 1026748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23984 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '982429c9-e12e-f52c-e6ab-8b944a4b31b1'::uuid;

-- Query #23985 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '982429c9-e12e-f52c-e6ab-8b944a4b31b1'::uuid;

-- Query #23986 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['982429c9-e12e-f52c-e6ab-8b944a4b31b1'::uuid]);

-- Query #23987 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '982429c9-e12e-f52c-e6ab-8b944a4b31b1'::uuid;

-- Query #23988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #23989 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '06f971ee-2604-9c15-ee7f-936a266dc527'::uuid;

-- Query #23990 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06f971ee-2604-9c15-ee7f-936a266dc527'::uuid]);

-- Query #23991 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '06f971ee-2604-9c15-ee7f-936a266dc527'::uuid;

-- Query #23992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06f971ee-2604-9c15-ee7f-936a266dc527'::uuid, 'Imdb', 'tt4706432')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06f971ee-2604-9c15-ee7f-936a266dc527'::uuid, 'Tmdb', 1160670)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06f971ee-2604-9c15-ee7f-936a266dc527'::uuid, 'trakt', 2064814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06f971ee-2604-9c15-ee7f-936a266dc527'::uuid, 'TvMaze', 581527)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06f971ee-2604-9c15-ee7f-936a266dc527'::uuid, 'Tvdb', 5490136)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06f971ee-2604-9c15-ee7f-936a266dc527'::uuid, 'TmdbCollection', 1160670)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #23998 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '06f971ee-2604-9c15-ee7f-936a266dc527'::uuid;

-- Query #23999 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '06f971ee-2604-9c15-ee7f-936a266dc527'::uuid;

-- Query #24000 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['06f971ee-2604-9c15-ee7f-936a266dc527'::uuid]);

-- Query #24001 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '06f971ee-2604-9c15-ee7f-936a266dc527'::uuid;

-- Query #24002 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid, 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24003 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6f212ad1-96aa-9bea-65b5-8e6dd5f6ac8f'::uuid;

-- Query #24004 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6f212ad1-96aa-9bea-65b5-8e6dd5f6ac8f'::uuid]);

-- Query #24005 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6f212ad1-96aa-9bea-65b5-8e6dd5f6ac8f'::uuid;

-- Query #24006 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6f212ad1-96aa-9bea-65b5-8e6dd5f6ac8f'::uuid, 'Imdb', 'tt4718626')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6f212ad1-96aa-9bea-65b5-8e6dd5f6ac8f'::uuid, 'Tmdb', 1165525)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6f212ad1-96aa-9bea-65b5-8e6dd5f6ac8f'::uuid, 'trakt', 2064826)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6f212ad1-96aa-9bea-65b5-8e6dd5f6ac8f'::uuid, 'TvMaze', 597704)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6f212ad1-96aa-9bea-65b5-8e6dd5f6ac8f'::uuid, 'Tvdb', 5500096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6f212ad1-96aa-9bea-65b5-8e6dd5f6ac8f'::uuid, 'TmdbCollection', 1165525)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24012 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6f212ad1-96aa-9bea-65b5-8e6dd5f6ac8f'::uuid;

-- Query #24013 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6f212ad1-96aa-9bea-65b5-8e6dd5f6ac8f'::uuid;

-- Query #24014 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6f212ad1-96aa-9bea-65b5-8e6dd5f6ac8f'::uuid]);

-- Query #24015 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6f212ad1-96aa-9bea-65b5-8e6dd5f6ac8f'::uuid;

-- Query #24016 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid, 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24017 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a9f4f3de-e3a2-0504-2e4a-7dc6728b7c14'::uuid;

-- Query #24018 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9f4f3de-e3a2-0504-2e4a-7dc6728b7c14'::uuid]);

-- Query #24019 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a9f4f3de-e3a2-0504-2e4a-7dc6728b7c14'::uuid;

-- Query #24020 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9f4f3de-e3a2-0504-2e4a-7dc6728b7c14'::uuid, 'Imdb', 'tt4667544')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24021 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9f4f3de-e3a2-0504-2e4a-7dc6728b7c14'::uuid, 'Tmdb', 1137077)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24022 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9f4f3de-e3a2-0504-2e4a-7dc6728b7c14'::uuid, 'trakt', 1861557)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24023 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9f4f3de-e3a2-0504-2e4a-7dc6728b7c14'::uuid, 'TvMaze', 470630)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9f4f3de-e3a2-0504-2e4a-7dc6728b7c14'::uuid, 'Tvdb', 5405463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9f4f3de-e3a2-0504-2e4a-7dc6728b7c14'::uuid, 'TmdbCollection', 1137077)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24026 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a9f4f3de-e3a2-0504-2e4a-7dc6728b7c14'::uuid;

-- Query #24027 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a9f4f3de-e3a2-0504-2e4a-7dc6728b7c14'::uuid;

-- Query #24028 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a9f4f3de-e3a2-0504-2e4a-7dc6728b7c14'::uuid]);

-- Query #24029 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a9f4f3de-e3a2-0504-2e4a-7dc6728b7c14'::uuid;

-- Query #24030 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid, 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24031 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f35c7d26-5b4a-393c-b117-091abda2baec'::uuid;

-- Query #24032 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f35c7d26-5b4a-393c-b117-091abda2baec'::uuid]);

-- Query #24033 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f35c7d26-5b4a-393c-b117-091abda2baec'::uuid;

-- Query #24034 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f35c7d26-5b4a-393c-b117-091abda2baec'::uuid, 'Imdb', 'tt4706434')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f35c7d26-5b4a-393c-b117-091abda2baec'::uuid, 'Tmdb', 1165223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f35c7d26-5b4a-393c-b117-091abda2baec'::uuid, 'trakt', 2064817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f35c7d26-5b4a-393c-b117-091abda2baec'::uuid, 'TvMaze', 591584)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f35c7d26-5b4a-393c-b117-091abda2baec'::uuid, 'Tvdb', 5497689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24039 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f35c7d26-5b4a-393c-b117-091abda2baec'::uuid, 'TmdbCollection', 1165223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24040 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f35c7d26-5b4a-393c-b117-091abda2baec'::uuid;

-- Query #24041 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f35c7d26-5b4a-393c-b117-091abda2baec'::uuid;

-- Query #24042 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f35c7d26-5b4a-393c-b117-091abda2baec'::uuid]);

-- Query #24043 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f35c7d26-5b4a-393c-b117-091abda2baec'::uuid;

-- Query #24044 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid, 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24045 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #24046 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd32685f0-1109-43d7-f3f5-9bc4b68b5ce7'::uuid;

-- Query #24047 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d32685f0-1109-43d7-f3f5-9bc4b68b5ce7'::uuid]);

-- Query #24048 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd32685f0-1109-43d7-f3f5-9bc4b68b5ce7'::uuid;

-- Query #24049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d32685f0-1109-43d7-f3f5-9bc4b68b5ce7'::uuid, 'Imdb', 'tt4712924')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d32685f0-1109-43d7-f3f5-9bc4b68b5ce7'::uuid, 'Tmdb', 1165524)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d32685f0-1109-43d7-f3f5-9bc4b68b5ce7'::uuid, 'trakt', 2064824)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d32685f0-1109-43d7-f3f5-9bc4b68b5ce7'::uuid, 'TvMaze', 597703)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d32685f0-1109-43d7-f3f5-9bc4b68b5ce7'::uuid, 'Tvdb', 5500094)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24054 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d32685f0-1109-43d7-f3f5-9bc4b68b5ce7'::uuid, 'TmdbCollection', 1165524)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24055 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd32685f0-1109-43d7-f3f5-9bc4b68b5ce7'::uuid;

-- Query #24056 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd32685f0-1109-43d7-f3f5-9bc4b68b5ce7'::uuid;

-- Query #24057 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d32685f0-1109-43d7-f3f5-9bc4b68b5ce7'::uuid]);

-- Query #24058 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd32685f0-1109-43d7-f3f5-9bc4b68b5ce7'::uuid;

-- Query #24059 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid, 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24060 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c9ec358a-f02e-446a-8f46-e2cd8371d635'::uuid;

-- Query #24061 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c9ec358a-f02e-446a-8f46-e2cd8371d635'::uuid]);

-- Query #24062 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c9ec358a-f02e-446a-8f46-e2cd8371d635'::uuid;

-- Query #24063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9ec358a-f02e-446a-8f46-e2cd8371d635'::uuid, 'Imdb', 'tt4706436')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9ec358a-f02e-446a-8f46-e2cd8371d635'::uuid, 'Tmdb', 1165224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9ec358a-f02e-446a-8f46-e2cd8371d635'::uuid, 'trakt', 2064820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9ec358a-f02e-446a-8f46-e2cd8371d635'::uuid, 'TvMaze', 597701)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24067 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9ec358a-f02e-446a-8f46-e2cd8371d635'::uuid, 'Tvdb', 5500095)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9ec358a-f02e-446a-8f46-e2cd8371d635'::uuid, 'TmdbCollection', 1165224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24069 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c9ec358a-f02e-446a-8f46-e2cd8371d635'::uuid;

-- Query #24070 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c9ec358a-f02e-446a-8f46-e2cd8371d635'::uuid;

-- Query #24071 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c9ec358a-f02e-446a-8f46-e2cd8371d635'::uuid]);

-- Query #24072 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c9ec358a-f02e-446a-8f46-e2cd8371d635'::uuid;

-- Query #24073 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid, 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24074 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f87d37be-c2d2-8df0-aa70-f57c45f2a070'::uuid
ORDER BY b."SortName";

-- Query #24075 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid])
ORDER BY b."Id";

-- Query #24076 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid])
ORDER BY b."Id";

-- Query #24077 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid])
ORDER BY b."Id";

-- Query #24078 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid])
ORDER BY b."Id";

-- Query #24079 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid, '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid])
ORDER BY b."Id";

-- Query #24080 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cbd53b8f-4e1d-1077-5fbc-c9f090b79e3b'::uuid
ORDER BY b."SortName";

-- Query #24081 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '09aab5ba-f623-6d3e-b729-48a7887d16b6'::uuid
ORDER BY b."SortName";

-- Query #24082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'f87d37bec2d28df0aa70f57c45f2a070'
ORDER BY b."SortName", b."Name";

-- Query #24083 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid
ORDER BY b."SortName";

-- Query #24084 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid
ORDER BY b."SortName";

-- Query #24085 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '30104448-da99-5e1b-3429-fdfcdac733f4'::uuid
ORDER BY b."SortName";

-- Query #24086 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd71d3a3a-c1a1-a589-844b-198022d436c8'::uuid
ORDER BY b."SortName";

-- Query #24087 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid
ORDER BY b."SortName";

-- Query #24088 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid
ORDER BY b."SortName";

-- Query #24089 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid
ORDER BY b."SortName";

-- Query #24090 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid
ORDER BY b."SortName";

-- Query #24091 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid;

-- Query #24092 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['421841b6-22db-07a4-8fd0-215ca41f1004'::uuid]);

-- Query #24093 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid;

-- Query #24094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, 'Imdb', 'tt2364582')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, 'official website', 'https://abc.com/shows/marvels-agents-of-shield')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, 'Tmdb', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24097 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, 'TmdbCollection', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24098 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, 'Tvdb', 263365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24099 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, 'TvMaze', 31)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, 'TvRage', 32656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, 'wikidata', 'Q537911')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, 'Zap2It', 'SH01739244')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24103 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid;

-- Query #24104 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid;

-- Query #24105 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['421841b6-22db-07a4-8fd0-215ca41f1004'::uuid]);

-- Query #24106 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid;

-- Query #24107 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24108 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '421841b622db07a48fd0215ca41f1004'
ORDER BY b."SortName", b."Name";

-- Query #24109 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid
ORDER BY b."SortName";

-- Query #24110 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid
ORDER BY b."SortName";

-- Query #24111 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '30104448-da99-5e1b-3429-fdfcdac733f4'::uuid
ORDER BY b."SortName";

-- Query #24112 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd71d3a3a-c1a1-a589-844b-198022d436c8'::uuid
ORDER BY b."SortName";

-- Query #24113 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid
ORDER BY b."SortName";

-- Query #24114 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid
ORDER BY b."SortName";

-- Query #24115 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid
ORDER BY b."SortName";

-- Query #24116 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid
ORDER BY b."SortName";

-- Query #24117 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '421841b622db07a48fd0215ca41f1004'
ORDER BY b."SortName", b."Name";

-- Query #24118 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid;

-- Query #24119 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid]);

-- Query #24120 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid;

-- Query #24121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, 'TmdbCollection', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, 'Tvdb', 263365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, 'Tmdb', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, 'Imdb', 'tt2364582')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24125 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, 'TvMaze', 31)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, 'TvRage', 32656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24127 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, 'Zap2It', 'SH01739244')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24128 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, 'wikidata', 'Q537911')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24129 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid;

-- Query #24130 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid;

-- Query #24131 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+marvel cinematic universe (mcu)', '6+secret government organization', '6+superhero']);

-- Query #24132 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid]);

-- Query #24133 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid;

-- Query #24134 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24135 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '421841b622db07a48fd0215ca41f1004'
ORDER BY b."SortName", b."Name";

-- Query #24136 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '30104448-da99-5e1b-3429-fdfcdac733f4'::uuid;

-- Query #24137 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid]);

-- Query #24138 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '30104448-da99-5e1b-3429-fdfcdac733f4'::uuid;

-- Query #24139 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, 'wikidata', 'Q537911')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24140 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, 'TmdbCollection', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24141 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, 'Tvdb', 263365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24142 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, 'Tmdb', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24143 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, 'Imdb', 'tt2364582')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24144 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, 'TvMaze', 31)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, 'TvRage', 32656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, 'Zap2It', 'SH01739244')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24147 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '30104448-da99-5e1b-3429-fdfcdac733f4'::uuid;

-- Query #24148 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '30104448-da99-5e1b-3429-fdfcdac733f4'::uuid;

-- Query #24149 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+marvel cinematic universe (mcu)', '6+secret government organization', '6+superhero']);

-- Query #24150 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid]);

-- Query #24151 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '30104448-da99-5e1b-3429-fdfcdac733f4'::uuid;

-- Query #24152 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24153 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '421841b622db07a48fd0215ca41f1004'
ORDER BY b."SortName", b."Name";

-- Query #24154 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd71d3a3a-c1a1-a589-844b-198022d436c8'::uuid;

-- Query #24155 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid]);

-- Query #24156 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd71d3a3a-c1a1-a589-844b-198022d436c8'::uuid;

-- Query #24157 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, 'wikidata', 'Q537911')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, 'TmdbCollection', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24159 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, 'Tvdb', 263365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, 'Tmdb', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, 'Imdb', 'tt2364582')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, 'TvMaze', 31)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, 'TvRage', 32656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, 'Zap2It', 'SH01739244')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24165 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd71d3a3a-c1a1-a589-844b-198022d436c8'::uuid;

-- Query #24166 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd71d3a3a-c1a1-a589-844b-198022d436c8'::uuid;

-- Query #24167 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+marvel cinematic universe (mcu)', '6+secret government organization', '6+superhero']);

-- Query #24168 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid]);

-- Query #24169 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd71d3a3a-c1a1-a589-844b-198022d436c8'::uuid;

-- Query #24170 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24171 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '421841b622db07a48fd0215ca41f1004'
ORDER BY b."SortName", b."Name";

-- Query #24172 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #24173 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid;

-- Query #24174 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid]);

-- Query #24175 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid;

-- Query #24176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, 'Tvdb', 263365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, 'Tmdb', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, 'Imdb', 'tt2364582')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, 'TvMaze', 31)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, 'TvRage', 32656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, 'Zap2It', 'SH01739244')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, 'wikidata', 'Q537911')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24183 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, 'TmdbCollection', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24184 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid;

-- Query #24185 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid;

-- Query #24186 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+marvel cinematic universe (mcu)', '6+secret government organization', '6+superhero']);

-- Query #24187 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid]);

-- Query #24188 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid;

-- Query #24189 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24190 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '421841b622db07a48fd0215ca41f1004'
ORDER BY b."SortName", b."Name";

-- Query #24191 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid;

-- Query #24192 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid]);

-- Query #24193 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid;

-- Query #24194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, 'Tvdb', 263365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, 'Tmdb', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, 'Imdb', 'tt2364582')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, 'TvMaze', 31)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, 'TvRage', 32656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24199 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, 'Zap2It', 'SH01739244')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24200 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, 'wikidata', 'Q537911')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24201 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, 'TmdbCollection', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24202 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid;

-- Query #24203 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid;

-- Query #24204 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+marvel cinematic universe (mcu)', '6+secret government organization', '6+superhero']);

-- Query #24205 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid]);

-- Query #24206 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid;

-- Query #24207 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24208 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '421841b622db07a48fd0215ca41f1004'
ORDER BY b."SortName", b."Name";

-- Query #24209 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid;

-- Query #24210 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid]);

-- Query #24211 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid;

-- Query #24212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, 'Tvdb', 263365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, 'Tmdb', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, 'Imdb', 'tt2364582')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, 'TvMaze', 31)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24216 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, 'TvRage', 32656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, 'Zap2It', 'SH01739244')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, 'wikidata', 'Q537911')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, 'TmdbCollection', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24220 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid;

-- Query #24221 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid;

-- Query #24222 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+marvel cinematic universe (mcu)', '6+secret government organization', '6+superhero']);

-- Query #24223 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid]);

-- Query #24224 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid;

-- Query #24225 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24226 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '421841b622db07a48fd0215ca41f1004'
ORDER BY b."SortName", b."Name";

-- Query #24227 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid;

-- Query #24228 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid]);

-- Query #24229 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid;

-- Query #24230 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, 'TmdbCollection', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24231 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, 'Tvdb', 263365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, 'Tmdb', 1403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, 'Imdb', 'tt2364582')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, 'TvMaze', 31)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, 'TvRage', 32656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, 'Zap2It', 'SH01739244')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, 'wikidata', 'Q537911')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24238 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid;

-- Query #24239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid;

-- Query #24240 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+marvel cinematic universe (mcu)', '6+secret government organization', '6+superhero']);

-- Query #24241 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid]);

-- Query #24242 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid;

-- Query #24243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '272e280d-eeb4-41a3-c924-5efbbf5ba1c3'::uuid;

-- Query #24245 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['272e280d-eeb4-41a3-c924-5efbbf5ba1c3'::uuid]);

-- Query #24246 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '272e280d-eeb4-41a3-c924-5efbbf5ba1c3'::uuid;

-- Query #24247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('272e280d-eeb4-41a3-c924-5efbbf5ba1c3'::uuid, 'Imdb', 'tt3130816')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('272e280d-eeb4-41a3-c924-5efbbf5ba1c3'::uuid, 'Tmdb', 63412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('272e280d-eeb4-41a3-c924-5efbbf5ba1c3'::uuid, 'trakt', 74006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('272e280d-eeb4-41a3-c924-5efbbf5ba1c3'::uuid, 'TvMaze', 1644)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('272e280d-eeb4-41a3-c924-5efbbf5ba1c3'::uuid, 'Tvdb', 4647887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('272e280d-eeb4-41a3-c924-5efbbf5ba1c3'::uuid, 'TmdbCollection', 63412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24253 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '272e280d-eeb4-41a3-c924-5efbbf5ba1c3'::uuid;

-- Query #24254 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '272e280d-eeb4-41a3-c924-5efbbf5ba1c3'::uuid;

-- Query #24255 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['272e280d-eeb4-41a3-c924-5efbbf5ba1c3'::uuid]);

-- Query #24256 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '272e280d-eeb4-41a3-c924-5efbbf5ba1c3'::uuid;

-- Query #24257 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a82c0f01-f03f-b50b-a60a-c0a380f98ab5'::uuid;

-- Query #24259 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a82c0f01-f03f-b50b-a60a-c0a380f98ab5'::uuid]);

-- Query #24260 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a82c0f01-f03f-b50b-a60a-c0a380f98ab5'::uuid;

-- Query #24261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a82c0f01-f03f-b50b-a60a-c0a380f98ab5'::uuid, 'Imdb', 'tt3609170')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a82c0f01-f03f-b50b-a60a-c0a380f98ab5'::uuid, 'Tmdb', 975473)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a82c0f01-f03f-b50b-a60a-c0a380f98ab5'::uuid, 'trakt', 74026)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a82c0f01-f03f-b50b-a60a-c0a380f98ab5'::uuid, 'TvMaze', 1664)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a82c0f01-f03f-b50b-a60a-c0a380f98ab5'::uuid, 'Tvdb', 4832169)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a82c0f01-f03f-b50b-a60a-c0a380f98ab5'::uuid, 'TmdbCollection', 975473)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a82c0f01-f03f-b50b-a60a-c0a380f98ab5'::uuid;

-- Query #24268 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a82c0f01-f03f-b50b-a60a-c0a380f98ab5'::uuid;

-- Query #24269 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a82c0f01-f03f-b50b-a60a-c0a380f98ab5'::uuid]);

-- Query #24270 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a82c0f01-f03f-b50b-a60a-c0a380f98ab5'::uuid;

-- Query #24271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2fadfcaf-801c-adb4-8fa5-e394c8846426'::uuid;

-- Query #24273 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2fadfcaf-801c-adb4-8fa5-e394c8846426'::uuid]);

-- Query #24274 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2fadfcaf-801c-adb4-8fa5-e394c8846426'::uuid;

-- Query #24275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2fadfcaf-801c-adb4-8fa5-e394c8846426'::uuid, 'Imdb', 'tt3252318')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2fadfcaf-801c-adb4-8fa5-e394c8846426'::uuid, 'Tmdb', 63420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2fadfcaf-801c-adb4-8fa5-e394c8846426'::uuid, 'trakt', 74014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2fadfcaf-801c-adb4-8fa5-e394c8846426'::uuid, 'TvMaze', 1652)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2fadfcaf-801c-adb4-8fa5-e394c8846426'::uuid, 'Tvdb', 4702196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2fadfcaf-801c-adb4-8fa5-e394c8846426'::uuid, 'TmdbCollection', 63420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24281 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2fadfcaf-801c-adb4-8fa5-e394c8846426'::uuid;

-- Query #24282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2fadfcaf-801c-adb4-8fa5-e394c8846426'::uuid;

-- Query #24283 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2fadfcaf-801c-adb4-8fa5-e394c8846426'::uuid]);

-- Query #24284 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2fadfcaf-801c-adb4-8fa5-e394c8846426'::uuid;

-- Query #24285 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24286 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4934e4d6-fe37-08c3-cb88-0b3764e4ba9e'::uuid;

-- Query #24287 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4934e4d6-fe37-08c3-cb88-0b3764e4ba9e'::uuid]);

-- Query #24288 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4934e4d6-fe37-08c3-cb88-0b3764e4ba9e'::uuid;

-- Query #24289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4934e4d6-fe37-08c3-cb88-0b3764e4ba9e'::uuid, 'Imdb', 'tt3539224')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4934e4d6-fe37-08c3-cb88-0b3764e4ba9e'::uuid, 'Tmdb', 973093)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4934e4d6-fe37-08c3-cb88-0b3764e4ba9e'::uuid, 'trakt', 74020)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4934e4d6-fe37-08c3-cb88-0b3764e4ba9e'::uuid, 'TvMaze', 1658)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4934e4d6-fe37-08c3-cb88-0b3764e4ba9e'::uuid, 'Tvdb', 4818122)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4934e4d6-fe37-08c3-cb88-0b3764e4ba9e'::uuid, 'TmdbCollection', 973093)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24295 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4934e4d6-fe37-08c3-cb88-0b3764e4ba9e'::uuid;

-- Query #24296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4934e4d6-fe37-08c3-cb88-0b3764e4ba9e'::uuid;

-- Query #24297 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4934e4d6-fe37-08c3-cb88-0b3764e4ba9e'::uuid]);

-- Query #24298 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4934e4d6-fe37-08c3-cb88-0b3764e4ba9e'::uuid;

-- Query #24299 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24300 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed5e9211-88b7-1b25-251e-24ab4bbd73fd'::uuid;

-- Query #24301 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed5e9211-88b7-1b25-251e-24ab4bbd73fd'::uuid]);

-- Query #24302 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ed5e9211-88b7-1b25-251e-24ab4bbd73fd'::uuid;

-- Query #24303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed5e9211-88b7-1b25-251e-24ab4bbd73fd'::uuid, 'Imdb', 'tt3218318')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed5e9211-88b7-1b25-251e-24ab4bbd73fd'::uuid, 'Tmdb', 63414)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed5e9211-88b7-1b25-251e-24ab4bbd73fd'::uuid, 'trakt', 74008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed5e9211-88b7-1b25-251e-24ab4bbd73fd'::uuid, 'TvMaze', 1646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed5e9211-88b7-1b25-251e-24ab4bbd73fd'::uuid, 'Tvdb', 4655697)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed5e9211-88b7-1b25-251e-24ab4bbd73fd'::uuid, 'TmdbCollection', 63414)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24309 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed5e9211-88b7-1b25-251e-24ab4bbd73fd'::uuid;

-- Query #24310 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ed5e9211-88b7-1b25-251e-24ab4bbd73fd'::uuid;

-- Query #24311 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ed5e9211-88b7-1b25-251e-24ab4bbd73fd'::uuid]);

-- Query #24312 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ed5e9211-88b7-1b25-251e-24ab4bbd73fd'::uuid;

-- Query #24313 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24314 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '952f2ff5-eeb4-5889-2dad-b4944cd31239'::uuid;

-- Query #24315 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['952f2ff5-eeb4-5889-2dad-b4944cd31239'::uuid]);

-- Query #24316 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '952f2ff5-eeb4-5889-2dad-b4944cd31239'::uuid;

-- Query #24317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('952f2ff5-eeb4-5889-2dad-b4944cd31239'::uuid, 'Imdb', 'tt3229400')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24318 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('952f2ff5-eeb4-5889-2dad-b4944cd31239'::uuid, 'Tmdb', 63415)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('952f2ff5-eeb4-5889-2dad-b4944cd31239'::uuid, 'trakt', 74009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('952f2ff5-eeb4-5889-2dad-b4944cd31239'::uuid, 'TvMaze', 1647)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('952f2ff5-eeb4-5889-2dad-b4944cd31239'::uuid, 'Tvdb', 4675265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('952f2ff5-eeb4-5889-2dad-b4944cd31239'::uuid, 'TmdbCollection', 63415)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24323 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '952f2ff5-eeb4-5889-2dad-b4944cd31239'::uuid;

-- Query #24324 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '952f2ff5-eeb4-5889-2dad-b4944cd31239'::uuid;

-- Query #24325 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['952f2ff5-eeb4-5889-2dad-b4944cd31239'::uuid]);

-- Query #24326 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '952f2ff5-eeb4-5889-2dad-b4944cd31239'::uuid;

-- Query #24327 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c73658fb-2836-1c80-ecdb-ce72b2ec0762'::uuid;

-- Query #24329 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c73658fb-2836-1c80-ecdb-ce72b2ec0762'::uuid]);

-- Query #24330 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c73658fb-2836-1c80-ecdb-ce72b2ec0762'::uuid;

-- Query #24331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c73658fb-2836-1c80-ecdb-ce72b2ec0762'::uuid, 'Imdb', 'tt3229406')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c73658fb-2836-1c80-ecdb-ce72b2ec0762'::uuid, 'Tmdb', 63417)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24333 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c73658fb-2836-1c80-ecdb-ce72b2ec0762'::uuid, 'trakt', 74011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c73658fb-2836-1c80-ecdb-ce72b2ec0762'::uuid, 'TvMaze', 1649)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c73658fb-2836-1c80-ecdb-ce72b2ec0762'::uuid, 'Tvdb', 4693749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c73658fb-2836-1c80-ecdb-ce72b2ec0762'::uuid, 'TmdbCollection', 63417)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24337 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c73658fb-2836-1c80-ecdb-ce72b2ec0762'::uuid;

-- Query #24338 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c73658fb-2836-1c80-ecdb-ce72b2ec0762'::uuid;

-- Query #24339 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c73658fb-2836-1c80-ecdb-ce72b2ec0762'::uuid]);

-- Query #24340 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c73658fb-2836-1c80-ecdb-ce72b2ec0762'::uuid;

-- Query #24341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24342 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4335f196-6b63-30e8-812b-5dbc4ebec5c0'::uuid;

-- Query #24343 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4335f196-6b63-30e8-812b-5dbc4ebec5c0'::uuid]);

-- Query #24344 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4335f196-6b63-30e8-812b-5dbc4ebec5c0'::uuid;

-- Query #24345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4335f196-6b63-30e8-812b-5dbc4ebec5c0'::uuid, 'Imdb', 'tt3609164')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4335f196-6b63-30e8-812b-5dbc4ebec5c0'::uuid, 'Tmdb', 974655)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24347 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4335f196-6b63-30e8-812b-5dbc4ebec5c0'::uuid, 'trakt', 74024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24348 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4335f196-6b63-30e8-812b-5dbc4ebec5c0'::uuid, 'TvMaze', 1662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24349 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4335f196-6b63-30e8-812b-5dbc4ebec5c0'::uuid, 'Tvdb', 4832167)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24350 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4335f196-6b63-30e8-812b-5dbc4ebec5c0'::uuid, 'TmdbCollection', 974655)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24351 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4335f196-6b63-30e8-812b-5dbc4ebec5c0'::uuid;

-- Query #24352 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4335f196-6b63-30e8-812b-5dbc4ebec5c0'::uuid;

-- Query #24353 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4335f196-6b63-30e8-812b-5dbc4ebec5c0'::uuid]);

-- Query #24354 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4335f196-6b63-30e8-812b-5dbc4ebec5c0'::uuid;

-- Query #24355 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24356 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e8db079d-e1aa-e041-1045-95933e7751fc'::uuid;

-- Query #24357 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e8db079d-e1aa-e041-1045-95933e7751fc'::uuid]);

-- Query #24358 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e8db079d-e1aa-e041-1045-95933e7751fc'::uuid;

-- Query #24359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8db079d-e1aa-e041-1045-95933e7751fc'::uuid, 'Imdb', 'tt3609154')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24360 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8db079d-e1aa-e041-1045-95933e7751fc'::uuid, 'Tmdb', 974709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24361 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8db079d-e1aa-e041-1045-95933e7751fc'::uuid, 'trakt', 74023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24362 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8db079d-e1aa-e041-1045-95933e7751fc'::uuid, 'TvMaze', 1661)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24363 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8db079d-e1aa-e041-1045-95933e7751fc'::uuid, 'Tvdb', 4832166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24364 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8db079d-e1aa-e041-1045-95933e7751fc'::uuid, 'TmdbCollection', 974709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24365 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e8db079d-e1aa-e041-1045-95933e7751fc'::uuid;

-- Query #24366 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e8db079d-e1aa-e041-1045-95933e7751fc'::uuid;

-- Query #24367 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e8db079d-e1aa-e041-1045-95933e7751fc'::uuid]);

-- Query #24368 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e8db079d-e1aa-e041-1045-95933e7751fc'::uuid;

-- Query #24369 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fd86223-d192-d4d8-3a0d-03f3cb5ee8a2'::uuid;

-- Query #24371 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7fd86223-d192-d4d8-3a0d-03f3cb5ee8a2'::uuid]);

-- Query #24372 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7fd86223-d192-d4d8-3a0d-03f3cb5ee8a2'::uuid;

-- Query #24373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fd86223-d192-d4d8-3a0d-03f3cb5ee8a2'::uuid, 'Imdb', 'tt2912308')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fd86223-d192-d4d8-3a0d-03f3cb5ee8a2'::uuid, 'Tmdb', 972992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24375 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fd86223-d192-d4d8-3a0d-03f3cb5ee8a2'::uuid, 'trakt', 74005)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24376 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fd86223-d192-d4d8-3a0d-03f3cb5ee8a2'::uuid, 'TvMaze', 1643)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24377 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fd86223-d192-d4d8-3a0d-03f3cb5ee8a2'::uuid, 'Tvdb', 4420028)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24378 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fd86223-d192-d4d8-3a0d-03f3cb5ee8a2'::uuid, 'TmdbCollection', 972992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24379 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fd86223-d192-d4d8-3a0d-03f3cb5ee8a2'::uuid;

-- Query #24380 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7fd86223-d192-d4d8-3a0d-03f3cb5ee8a2'::uuid;

-- Query #24381 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7fd86223-d192-d4d8-3a0d-03f3cb5ee8a2'::uuid]);

-- Query #24382 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7fd86223-d192-d4d8-3a0d-03f3cb5ee8a2'::uuid;

-- Query #24383 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24384 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7d2e6a06-25f8-58c8-1363-282abee65fea'::uuid;

-- Query #24385 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d2e6a06-25f8-58c8-1363-282abee65fea'::uuid]);

-- Query #24386 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7d2e6a06-25f8-58c8-1363-282abee65fea'::uuid;

-- Query #24387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d2e6a06-25f8-58c8-1363-282abee65fea'::uuid, 'Imdb', 'tt3609126')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d2e6a06-25f8-58c8-1363-282abee65fea'::uuid, 'Tmdb', 974019)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24389 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d2e6a06-25f8-58c8-1363-282abee65fea'::uuid, 'trakt', 74022)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d2e6a06-25f8-58c8-1363-282abee65fea'::uuid, 'TvMaze', 1660)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d2e6a06-25f8-58c8-1363-282abee65fea'::uuid, 'Tvdb', 4832165)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7d2e6a06-25f8-58c8-1363-282abee65fea'::uuid, 'TmdbCollection', 974019)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24393 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7d2e6a06-25f8-58c8-1363-282abee65fea'::uuid;

-- Query #24394 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7d2e6a06-25f8-58c8-1363-282abee65fea'::uuid;

-- Query #24395 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7d2e6a06-25f8-58c8-1363-282abee65fea'::uuid]);

-- Query #24396 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7d2e6a06-25f8-58c8-1363-282abee65fea'::uuid;

-- Query #24397 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24398 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09ebe008-a7ac-938d-479e-872d9098323e'::uuid;

-- Query #24399 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09ebe008-a7ac-938d-479e-872d9098323e'::uuid]);

-- Query #24400 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '09ebe008-a7ac-938d-479e-872d9098323e'::uuid;

-- Query #24401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09ebe008-a7ac-938d-479e-872d9098323e'::uuid, 'Imdb', 'tt3609168')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09ebe008-a7ac-938d-479e-872d9098323e'::uuid, 'Tmdb', 975266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09ebe008-a7ac-938d-479e-872d9098323e'::uuid, 'trakt', 74025)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09ebe008-a7ac-938d-479e-872d9098323e'::uuid, 'TvMaze', 1663)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09ebe008-a7ac-938d-479e-872d9098323e'::uuid, 'Tvdb', 4832168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09ebe008-a7ac-938d-479e-872d9098323e'::uuid, 'TmdbCollection', 975266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24407 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09ebe008-a7ac-938d-479e-872d9098323e'::uuid;

-- Query #24408 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '09ebe008-a7ac-938d-479e-872d9098323e'::uuid;

-- Query #24409 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['09ebe008-a7ac-938d-479e-872d9098323e'::uuid]);

-- Query #24410 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '09ebe008-a7ac-938d-479e-872d9098323e'::uuid;

-- Query #24411 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24412 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '91938659-d13b-da3a-0cb1-0b25b4f30e10'::uuid;

-- Query #24413 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['91938659-d13b-da3a-0cb1-0b25b4f30e10'::uuid]);

-- Query #24414 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '91938659-d13b-da3a-0cb1-0b25b4f30e10'::uuid;

-- Query #24415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91938659-d13b-da3a-0cb1-0b25b4f30e10'::uuid, 'Imdb', 'tt3307568')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91938659-d13b-da3a-0cb1-0b25b4f30e10'::uuid, 'Tmdb', 63422)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91938659-d13b-da3a-0cb1-0b25b4f30e10'::uuid, 'trakt', 74016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91938659-d13b-da3a-0cb1-0b25b4f30e10'::uuid, 'TvMaze', 1654)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24419 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91938659-d13b-da3a-0cb1-0b25b4f30e10'::uuid, 'Tvdb', 4735528)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91938659-d13b-da3a-0cb1-0b25b4f30e10'::uuid, 'TmdbCollection', 63422)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24421 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '91938659-d13b-da3a-0cb1-0b25b4f30e10'::uuid;

-- Query #24422 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '91938659-d13b-da3a-0cb1-0b25b4f30e10'::uuid;

-- Query #24423 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['91938659-d13b-da3a-0cb1-0b25b4f30e10'::uuid]);

-- Query #24424 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '91938659-d13b-da3a-0cb1-0b25b4f30e10'::uuid;

-- Query #24425 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24426 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #24427 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6b8a169d-93fa-61ab-ae46-8f64171e30cb'::uuid;

-- Query #24428 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6b8a169d-93fa-61ab-ae46-8f64171e30cb'::uuid]);

-- Query #24429 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6b8a169d-93fa-61ab-ae46-8f64171e30cb'::uuid;

-- Query #24430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6b8a169d-93fa-61ab-ae46-8f64171e30cb'::uuid, 'Imdb', 'tt3476430')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6b8a169d-93fa-61ab-ae46-8f64171e30cb'::uuid, 'Tmdb', 971804)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6b8a169d-93fa-61ab-ae46-8f64171e30cb'::uuid, 'trakt', 74018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6b8a169d-93fa-61ab-ae46-8f64171e30cb'::uuid, 'TvMaze', 1656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6b8a169d-93fa-61ab-ae46-8f64171e30cb'::uuid, 'Tvdb', 4789859)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6b8a169d-93fa-61ab-ae46-8f64171e30cb'::uuid, 'TmdbCollection', 971804)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24436 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6b8a169d-93fa-61ab-ae46-8f64171e30cb'::uuid;

-- Query #24437 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6b8a169d-93fa-61ab-ae46-8f64171e30cb'::uuid;

-- Query #24438 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6b8a169d-93fa-61ab-ae46-8f64171e30cb'::uuid]);

-- Query #24439 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6b8a169d-93fa-61ab-ae46-8f64171e30cb'::uuid;

-- Query #24440 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24441 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e90b7bff-7199-3077-ca95-eb3d9a87f456'::uuid;

-- Query #24442 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e90b7bff-7199-3077-ca95-eb3d9a87f456'::uuid]);

-- Query #24443 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e90b7bff-7199-3077-ca95-eb3d9a87f456'::uuid;

-- Query #24444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e90b7bff-7199-3077-ca95-eb3d9a87f456'::uuid, 'Imdb', 'tt3307566')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e90b7bff-7199-3077-ca95-eb3d9a87f456'::uuid, 'Tmdb', 63423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e90b7bff-7199-3077-ca95-eb3d9a87f456'::uuid, 'trakt', 74017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e90b7bff-7199-3077-ca95-eb3d9a87f456'::uuid, 'TvMaze', 1655)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e90b7bff-7199-3077-ca95-eb3d9a87f456'::uuid, 'Tvdb', 4770065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24449 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e90b7bff-7199-3077-ca95-eb3d9a87f456'::uuid, 'TmdbCollection', 63423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24450 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e90b7bff-7199-3077-ca95-eb3d9a87f456'::uuid;

-- Query #24451 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e90b7bff-7199-3077-ca95-eb3d9a87f456'::uuid;

-- Query #24452 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e90b7bff-7199-3077-ca95-eb3d9a87f456'::uuid]);

-- Query #24453 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e90b7bff-7199-3077-ca95-eb3d9a87f456'::uuid;

-- Query #24454 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24455 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8c7d2d0b-cc04-97f2-fb1b-3e5420c61bba'::uuid;

-- Query #24456 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8c7d2d0b-cc04-97f2-fb1b-3e5420c61bba'::uuid]);

-- Query #24457 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8c7d2d0b-cc04-97f2-fb1b-3e5420c61bba'::uuid;

-- Query #24458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c7d2d0b-cc04-97f2-fb1b-3e5420c61bba'::uuid, 'TmdbCollection', 973397)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24459 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c7d2d0b-cc04-97f2-fb1b-3e5420c61bba'::uuid, 'Imdb', 'tt3539406')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24460 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c7d2d0b-cc04-97f2-fb1b-3e5420c61bba'::uuid, 'Tmdb', 973397)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c7d2d0b-cc04-97f2-fb1b-3e5420c61bba'::uuid, 'trakt', 74021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c7d2d0b-cc04-97f2-fb1b-3e5420c61bba'::uuid, 'TvMaze', 1659)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8c7d2d0b-cc04-97f2-fb1b-3e5420c61bba'::uuid, 'Tvdb', 4823733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24464 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8c7d2d0b-cc04-97f2-fb1b-3e5420c61bba'::uuid;

-- Query #24465 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8c7d2d0b-cc04-97f2-fb1b-3e5420c61bba'::uuid;

-- Query #24466 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8c7d2d0b-cc04-97f2-fb1b-3e5420c61bba'::uuid]);

-- Query #24467 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8c7d2d0b-cc04-97f2-fb1b-3e5420c61bba'::uuid;

-- Query #24468 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24469 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4aa7b783-0221-a275-825e-dfe26b0a220f'::uuid;

-- Query #24470 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4aa7b783-0221-a275-825e-dfe26b0a220f'::uuid]);

-- Query #24471 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4aa7b783-0221-a275-825e-dfe26b0a220f'::uuid;

-- Query #24472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4aa7b783-0221-a275-825e-dfe26b0a220f'::uuid, 'Imdb', 'tt3473818')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24473 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4aa7b783-0221-a275-825e-dfe26b0a220f'::uuid, 'Tmdb', 971979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4aa7b783-0221-a275-825e-dfe26b0a220f'::uuid, 'trakt', 74019)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4aa7b783-0221-a275-825e-dfe26b0a220f'::uuid, 'TvMaze', 1657)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4aa7b783-0221-a275-825e-dfe26b0a220f'::uuid, 'Tvdb', 4795998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24477 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4aa7b783-0221-a275-825e-dfe26b0a220f'::uuid, 'TmdbCollection', 971979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24478 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4aa7b783-0221-a275-825e-dfe26b0a220f'::uuid;

-- Query #24479 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4aa7b783-0221-a275-825e-dfe26b0a220f'::uuid;

-- Query #24480 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4aa7b783-0221-a275-825e-dfe26b0a220f'::uuid]);

-- Query #24481 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4aa7b783-0221-a275-825e-dfe26b0a220f'::uuid;

-- Query #24482 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24483 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e769a6bf-a1e8-eb66-9980-f47d0693168a'::uuid;

-- Query #24484 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e769a6bf-a1e8-eb66-9980-f47d0693168a'::uuid]);

-- Query #24485 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e769a6bf-a1e8-eb66-9980-f47d0693168a'::uuid;

-- Query #24486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e769a6bf-a1e8-eb66-9980-f47d0693168a'::uuid, 'Imdb', 'tt4120726')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e769a6bf-a1e8-eb66-9980-f47d0693168a'::uuid, 'Tmdb', 1048738)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e769a6bf-a1e8-eb66-9980-f47d0693168a'::uuid, 'trakt', 1766933)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e769a6bf-a1e8-eb66-9980-f47d0693168a'::uuid, 'TvMaze', 151461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e769a6bf-a1e8-eb66-9980-f47d0693168a'::uuid, 'Tvdb', 5150039)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e769a6bf-a1e8-eb66-9980-f47d0693168a'::uuid, 'TmdbCollection', 1048738)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24492 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e769a6bf-a1e8-eb66-9980-f47d0693168a'::uuid;

-- Query #24493 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e769a6bf-a1e8-eb66-9980-f47d0693168a'::uuid;

-- Query #24494 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e769a6bf-a1e8-eb66-9980-f47d0693168a'::uuid]);

-- Query #24495 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e769a6bf-a1e8-eb66-9980-f47d0693168a'::uuid;

-- Query #24496 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24497 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '43fe36ad-f500-272b-d9dd-c28aa218e476'::uuid;

-- Query #24498 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['43fe36ad-f500-272b-d9dd-c28aa218e476'::uuid]);

-- Query #24499 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '43fe36ad-f500-272b-d9dd-c28aa218e476'::uuid;

-- Query #24500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43fe36ad-f500-272b-d9dd-c28aa218e476'::uuid, 'Imdb', 'tt4120704')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43fe36ad-f500-272b-d9dd-c28aa218e476'::uuid, 'Tmdb', 1019801)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43fe36ad-f500-272b-d9dd-c28aa218e476'::uuid, 'TvMaze', 46274)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43fe36ad-f500-272b-d9dd-c28aa218e476'::uuid, 'Tvdb', 5049066)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24504 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43fe36ad-f500-272b-d9dd-c28aa218e476'::uuid, 'TvRage', 1065714501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43fe36ad-f500-272b-d9dd-c28aa218e476'::uuid, 'trakt', 998476)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43fe36ad-f500-272b-d9dd-c28aa218e476'::uuid, 'TmdbCollection', 1019801)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24507 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '43fe36ad-f500-272b-d9dd-c28aa218e476'::uuid;

-- Query #24508 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '43fe36ad-f500-272b-d9dd-c28aa218e476'::uuid;

-- Query #24509 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['43fe36ad-f500-272b-d9dd-c28aa218e476'::uuid]);

-- Query #24510 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '43fe36ad-f500-272b-d9dd-c28aa218e476'::uuid;

-- Query #24511 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24512 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '955109c3-031e-1928-70ad-54d686d71004'::uuid;

-- Query #24513 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['955109c3-031e-1928-70ad-54d686d71004'::uuid]);

-- Query #24514 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '955109c3-031e-1928-70ad-54d686d71004'::uuid;

-- Query #24515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('955109c3-031e-1928-70ad-54d686d71004'::uuid, 'TmdbCollection', 1051254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('955109c3-031e-1928-70ad-54d686d71004'::uuid, 'Imdb', 'tt4120734')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('955109c3-031e-1928-70ad-54d686d71004'::uuid, 'Tmdb', 1051254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('955109c3-031e-1928-70ad-54d686d71004'::uuid, 'TvMaze', 153395)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('955109c3-031e-1928-70ad-54d686d71004'::uuid, 'Tvdb', 5179590)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('955109c3-031e-1928-70ad-54d686d71004'::uuid, 'TvRage', 1065782697)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('955109c3-031e-1928-70ad-54d686d71004'::uuid, 'trakt', 1766936)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24522 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '955109c3-031e-1928-70ad-54d686d71004'::uuid;

-- Query #24523 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '955109c3-031e-1928-70ad-54d686d71004'::uuid;

-- Query #24524 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['955109c3-031e-1928-70ad-54d686d71004'::uuid]);

-- Query #24525 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '955109c3-031e-1928-70ad-54d686d71004'::uuid;

-- Query #24526 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24527 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '28f10aa5-2298-c5a2-611a-88287f2862d0'::uuid;

-- Query #24528 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['28f10aa5-2298-c5a2-611a-88287f2862d0'::uuid]);

-- Query #24529 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '28f10aa5-2298-c5a2-611a-88287f2862d0'::uuid;

-- Query #24530 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f10aa5-2298-c5a2-611a-88287f2862d0'::uuid, 'Imdb', 'tt3997452')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f10aa5-2298-c5a2-611a-88287f2862d0'::uuid, 'Tmdb', 1010174)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f10aa5-2298-c5a2-611a-88287f2862d0'::uuid, 'TvMaze', 1668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f10aa5-2298-c5a2-611a-88287f2862d0'::uuid, 'Tvdb', 5001060)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f10aa5-2298-c5a2-611a-88287f2862d0'::uuid, 'TvRage', 1065660819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f10aa5-2298-c5a2-611a-88287f2862d0'::uuid, 'trakt', 998407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f10aa5-2298-c5a2-611a-88287f2862d0'::uuid, 'TmdbCollection', 1010174)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24537 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '28f10aa5-2298-c5a2-611a-88287f2862d0'::uuid;

-- Query #24538 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '28f10aa5-2298-c5a2-611a-88287f2862d0'::uuid;

-- Query #24539 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['28f10aa5-2298-c5a2-611a-88287f2862d0'::uuid]);

-- Query #24540 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '28f10aa5-2298-c5a2-611a-88287f2862d0'::uuid;

-- Query #24541 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24542 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8db2c366-1f15-97b1-ea05-79e3c8fa1f94'::uuid;

-- Query #24543 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8db2c366-1f15-97b1-ea05-79e3c8fa1f94'::uuid]);

-- Query #24544 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8db2c366-1f15-97b1-ea05-79e3c8fa1f94'::uuid;

-- Query #24545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8db2c366-1f15-97b1-ea05-79e3c8fa1f94'::uuid, 'TvMaze', 14416)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8db2c366-1f15-97b1-ea05-79e3c8fa1f94'::uuid, 'Tvdb', 5005962)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8db2c366-1f15-97b1-ea05-79e3c8fa1f94'::uuid, 'TvRage', 1065688269)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8db2c366-1f15-97b1-ea05-79e3c8fa1f94'::uuid, 'trakt', 998409)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8db2c366-1f15-97b1-ea05-79e3c8fa1f94'::uuid, 'TmdbCollection', 1010684)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8db2c366-1f15-97b1-ea05-79e3c8fa1f94'::uuid, 'Imdb', 'tt4078580')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8db2c366-1f15-97b1-ea05-79e3c8fa1f94'::uuid, 'Tmdb', 1010684)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24552 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8db2c366-1f15-97b1-ea05-79e3c8fa1f94'::uuid;

-- Query #24553 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8db2c366-1f15-97b1-ea05-79e3c8fa1f94'::uuid;

-- Query #24554 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8db2c366-1f15-97b1-ea05-79e3c8fa1f94'::uuid]);

-- Query #24555 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8db2c366-1f15-97b1-ea05-79e3c8fa1f94'::uuid;

-- Query #24556 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24557 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '330adccb-5f5f-ff89-2b81-d66a905e29fb'::uuid;

-- Query #24558 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['330adccb-5f5f-ff89-2b81-d66a905e29fb'::uuid]);

-- Query #24559 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '330adccb-5f5f-ff89-2b81-d66a905e29fb'::uuid;

-- Query #24560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('330adccb-5f5f-ff89-2b81-d66a905e29fb'::uuid, 'Imdb', 'tt4120738')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('330adccb-5f5f-ff89-2b81-d66a905e29fb'::uuid, 'Tmdb', 1051253)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('330adccb-5f5f-ff89-2b81-d66a905e29fb'::uuid, 'trakt', 1766935)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24563 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('330adccb-5f5f-ff89-2b81-d66a905e29fb'::uuid, 'TvMaze', 153323)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('330adccb-5f5f-ff89-2b81-d66a905e29fb'::uuid, 'Tvdb', 5179589)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('330adccb-5f5f-ff89-2b81-d66a905e29fb'::uuid, 'TmdbCollection', 1051253)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24566 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '330adccb-5f5f-ff89-2b81-d66a905e29fb'::uuid;

-- Query #24567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '330adccb-5f5f-ff89-2b81-d66a905e29fb'::uuid;

-- Query #24568 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['330adccb-5f5f-ff89-2b81-d66a905e29fb'::uuid]);

-- Query #24569 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '330adccb-5f5f-ff89-2b81-d66a905e29fb'::uuid;

-- Query #24570 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24571 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52d7ce2d-3201-c42c-986b-f75b8d93e0f2'::uuid;

-- Query #24572 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['52d7ce2d-3201-c42c-986b-f75b8d93e0f2'::uuid]);

-- Query #24573 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '52d7ce2d-3201-c42c-986b-f75b8d93e0f2'::uuid;

-- Query #24574 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52d7ce2d-3201-c42c-986b-f75b8d93e0f2'::uuid, 'Imdb', 'tt3997450')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52d7ce2d-3201-c42c-986b-f75b8d93e0f2'::uuid, 'Tmdb', 1007159)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52d7ce2d-3201-c42c-986b-f75b8d93e0f2'::uuid, 'TvMaze', 1666)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52d7ce2d-3201-c42c-986b-f75b8d93e0f2'::uuid, 'Tvdb', 4988659)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24578 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52d7ce2d-3201-c42c-986b-f75b8d93e0f2'::uuid, 'TvRage', 1065660816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52d7ce2d-3201-c42c-986b-f75b8d93e0f2'::uuid, 'trakt', 74028)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24580 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52d7ce2d-3201-c42c-986b-f75b8d93e0f2'::uuid, 'TmdbCollection', 1007159)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24581 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52d7ce2d-3201-c42c-986b-f75b8d93e0f2'::uuid;

-- Query #24582 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '52d7ce2d-3201-c42c-986b-f75b8d93e0f2'::uuid;

-- Query #24583 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['52d7ce2d-3201-c42c-986b-f75b8d93e0f2'::uuid]);

-- Query #24584 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '52d7ce2d-3201-c42c-986b-f75b8d93e0f2'::uuid;

-- Query #24585 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1d2f027-c731-8984-6ae3-f520e5207734'::uuid;

-- Query #24587 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e1d2f027-c731-8984-6ae3-f520e5207734'::uuid]);

-- Query #24588 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e1d2f027-c731-8984-6ae3-f520e5207734'::uuid;

-- Query #24589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1d2f027-c731-8984-6ae3-f520e5207734'::uuid, 'TmdbCollection', 1010683)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1d2f027-c731-8984-6ae3-f520e5207734'::uuid, 'Imdb', 'tt3970174')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1d2f027-c731-8984-6ae3-f520e5207734'::uuid, 'Tmdb', 1010683)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24592 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1d2f027-c731-8984-6ae3-f520e5207734'::uuid, 'TvMaze', 1669)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24593 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1d2f027-c731-8984-6ae3-f520e5207734'::uuid, 'Tvdb', 5001059)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1d2f027-c731-8984-6ae3-f520e5207734'::uuid, 'TvRage', 1065564911)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1d2f027-c731-8984-6ae3-f520e5207734'::uuid, 'trakt', 998408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24596 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1d2f027-c731-8984-6ae3-f520e5207734'::uuid;

-- Query #24597 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e1d2f027-c731-8984-6ae3-f520e5207734'::uuid;

-- Query #24598 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e1d2f027-c731-8984-6ae3-f520e5207734'::uuid]);

-- Query #24599 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e1d2f027-c731-8984-6ae3-f520e5207734'::uuid;

-- Query #24600 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24601 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af2c2393-76ae-7777-8362-3638d6027715'::uuid;

-- Query #24602 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af2c2393-76ae-7777-8362-3638d6027715'::uuid]);

-- Query #24603 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'af2c2393-76ae-7777-8362-3638d6027715'::uuid;

-- Query #24604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af2c2393-76ae-7777-8362-3638d6027715'::uuid, 'Imdb', 'tt4120720')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24605 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af2c2393-76ae-7777-8362-3638d6027715'::uuid, 'Tmdb', 1046566)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24606 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af2c2393-76ae-7777-8362-3638d6027715'::uuid, 'trakt', 1766931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24607 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af2c2393-76ae-7777-8362-3638d6027715'::uuid, 'TvMaze', 142346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24608 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af2c2393-76ae-7777-8362-3638d6027715'::uuid, 'Tvdb', 5144540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24609 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af2c2393-76ae-7777-8362-3638d6027715'::uuid, 'TmdbCollection', 1046566)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24610 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af2c2393-76ae-7777-8362-3638d6027715'::uuid;

-- Query #24611 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'af2c2393-76ae-7777-8362-3638d6027715'::uuid;

-- Query #24612 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['af2c2393-76ae-7777-8362-3638d6027715'::uuid]);

-- Query #24613 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'af2c2393-76ae-7777-8362-3638d6027715'::uuid;

-- Query #24614 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24615 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0adad2d9-a699-8ea7-92a8-80ad961a62f6'::uuid;

-- Query #24616 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0adad2d9-a699-8ea7-92a8-80ad961a62f6'::uuid]);

-- Query #24617 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0adad2d9-a699-8ea7-92a8-80ad961a62f6'::uuid;

-- Query #24618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0adad2d9-a699-8ea7-92a8-80ad961a62f6'::uuid, 'TmdbCollection', 1009280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0adad2d9-a699-8ea7-92a8-80ad961a62f6'::uuid, 'Imdb', 'tt3997456')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24620 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0adad2d9-a699-8ea7-92a8-80ad961a62f6'::uuid, 'Tmdb', 1009280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24621 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0adad2d9-a699-8ea7-92a8-80ad961a62f6'::uuid, 'TvMaze', 1667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0adad2d9-a699-8ea7-92a8-80ad961a62f6'::uuid, 'Tvdb', 4992090)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0adad2d9-a699-8ea7-92a8-80ad961a62f6'::uuid, 'TvRage', 1065660818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0adad2d9-a699-8ea7-92a8-80ad961a62f6'::uuid, 'trakt', 74029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24625 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0adad2d9-a699-8ea7-92a8-80ad961a62f6'::uuid;

-- Query #24626 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0adad2d9-a699-8ea7-92a8-80ad961a62f6'::uuid;

-- Query #24627 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0adad2d9-a699-8ea7-92a8-80ad961a62f6'::uuid]);

-- Query #24628 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0adad2d9-a699-8ea7-92a8-80ad961a62f6'::uuid;

-- Query #24629 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24630 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba9f8b01-fe8d-aed7-9882-edb349a1b38b'::uuid;

-- Query #24631 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba9f8b01-fe8d-aed7-9882-edb349a1b38b'::uuid]);

-- Query #24632 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ba9f8b01-fe8d-aed7-9882-edb349a1b38b'::uuid;

-- Query #24633 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba9f8b01-fe8d-aed7-9882-edb349a1b38b'::uuid, 'Imdb', 'tt4120730')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba9f8b01-fe8d-aed7-9882-edb349a1b38b'::uuid, 'Tmdb', 1049931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24635 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba9f8b01-fe8d-aed7-9882-edb349a1b38b'::uuid, 'trakt', 1766934)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24636 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba9f8b01-fe8d-aed7-9882-edb349a1b38b'::uuid, 'TvMaze', 151462)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba9f8b01-fe8d-aed7-9882-edb349a1b38b'::uuid, 'Tvdb', 5163334)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba9f8b01-fe8d-aed7-9882-edb349a1b38b'::uuid, 'TmdbCollection', 1049931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24639 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba9f8b01-fe8d-aed7-9882-edb349a1b38b'::uuid;

-- Query #24640 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ba9f8b01-fe8d-aed7-9882-edb349a1b38b'::uuid;

-- Query #24641 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ba9f8b01-fe8d-aed7-9882-edb349a1b38b'::uuid]);

-- Query #24642 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ba9f8b01-fe8d-aed7-9882-edb349a1b38b'::uuid;

-- Query #24643 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24644 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '06a6f30f-f7d6-6c14-1a96-b8ee6642f365'::uuid;

-- Query #24645 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06a6f30f-f7d6-6c14-1a96-b8ee6642f365'::uuid]);

-- Query #24646 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '06a6f30f-f7d6-6c14-1a96-b8ee6642f365'::uuid;

-- Query #24647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06a6f30f-f7d6-6c14-1a96-b8ee6642f365'::uuid, 'Imdb', 'tt4120718')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24648 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06a6f30f-f7d6-6c14-1a96-b8ee6642f365'::uuid, 'Tmdb', 1043556)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24649 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06a6f30f-f7d6-6c14-1a96-b8ee6642f365'::uuid, 'trakt', 1755803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24650 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06a6f30f-f7d6-6c14-1a96-b8ee6642f365'::uuid, 'TvMaze', 141796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06a6f30f-f7d6-6c14-1a96-b8ee6642f365'::uuid, 'Tvdb', 5127879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24652 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06a6f30f-f7d6-6c14-1a96-b8ee6642f365'::uuid, 'TmdbCollection', 1043556)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24653 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '06a6f30f-f7d6-6c14-1a96-b8ee6642f365'::uuid;

-- Query #24654 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '06a6f30f-f7d6-6c14-1a96-b8ee6642f365'::uuid;

-- Query #24655 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['06a6f30f-f7d6-6c14-1a96-b8ee6642f365'::uuid]);

-- Query #24656 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '06a6f30f-f7d6-6c14-1a96-b8ee6642f365'::uuid;

-- Query #24657 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24658 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c38379d2-e4f4-0d57-6c46-1ca4cb234db1'::uuid;

-- Query #24659 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c38379d2-e4f4-0d57-6c46-1ca4cb234db1'::uuid]);

-- Query #24660 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c38379d2-e4f4-0d57-6c46-1ca4cb234db1'::uuid;

-- Query #24661 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c38379d2-e4f4-0d57-6c46-1ca4cb234db1'::uuid, 'Imdb', 'tt3721000')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24662 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c38379d2-e4f4-0d57-6c46-1ca4cb234db1'::uuid, 'Tmdb', 1000647)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24663 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c38379d2-e4f4-0d57-6c46-1ca4cb234db1'::uuid, 'TvMaze', 1665)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24664 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c38379d2-e4f4-0d57-6c46-1ca4cb234db1'::uuid, 'Tvdb', 4933955)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24665 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c38379d2-e4f4-0d57-6c46-1ca4cb234db1'::uuid, 'TvRage', 1065627977)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24666 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c38379d2-e4f4-0d57-6c46-1ca4cb234db1'::uuid, 'trakt', 74027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24667 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c38379d2-e4f4-0d57-6c46-1ca4cb234db1'::uuid, 'TmdbCollection', 1000647)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24668 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c38379d2-e4f4-0d57-6c46-1ca4cb234db1'::uuid;

-- Query #24669 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c38379d2-e4f4-0d57-6c46-1ca4cb234db1'::uuid;

-- Query #24670 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c38379d2-e4f4-0d57-6c46-1ca4cb234db1'::uuid]);

-- Query #24671 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c38379d2-e4f4-0d57-6c46-1ca4cb234db1'::uuid;

-- Query #24672 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24673 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '997893d9-8ee3-199b-a9a1-c2b6913176a3'::uuid;

-- Query #24674 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['997893d9-8ee3-199b-a9a1-c2b6913176a3'::uuid]);

-- Query #24675 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '997893d9-8ee3-199b-a9a1-c2b6913176a3'::uuid;

-- Query #24676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('997893d9-8ee3-199b-a9a1-c2b6913176a3'::uuid, 'TmdbCollection', 1051256)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('997893d9-8ee3-199b-a9a1-c2b6913176a3'::uuid, 'Imdb', 'tt4122456')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24678 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('997893d9-8ee3-199b-a9a1-c2b6913176a3'::uuid, 'Tmdb', 1051256)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24679 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('997893d9-8ee3-199b-a9a1-c2b6913176a3'::uuid, 'TvMaze', 153397)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24680 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('997893d9-8ee3-199b-a9a1-c2b6913176a3'::uuid, 'Tvdb', 5179592)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24681 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('997893d9-8ee3-199b-a9a1-c2b6913176a3'::uuid, 'TvRage', 1065782699)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24682 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('997893d9-8ee3-199b-a9a1-c2b6913176a3'::uuid, 'trakt', 1766938)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24683 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '997893d9-8ee3-199b-a9a1-c2b6913176a3'::uuid;

-- Query #24684 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '997893d9-8ee3-199b-a9a1-c2b6913176a3'::uuid;

-- Query #24685 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['997893d9-8ee3-199b-a9a1-c2b6913176a3'::uuid]);

-- Query #24686 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '997893d9-8ee3-199b-a9a1-c2b6913176a3'::uuid;

-- Query #24687 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24688 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e7301a0-dea4-af68-7af5-78e5c8315cec'::uuid;

-- Query #24689 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0e7301a0-dea4-af68-7af5-78e5c8315cec'::uuid]);

-- Query #24690 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0e7301a0-dea4-af68-7af5-78e5c8315cec'::uuid;

-- Query #24691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e7301a0-dea4-af68-7af5-78e5c8315cec'::uuid, 'TvMaze', 153398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e7301a0-dea4-af68-7af5-78e5c8315cec'::uuid, 'Tvdb', 5179593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e7301a0-dea4-af68-7af5-78e5c8315cec'::uuid, 'TvRage', 1065782700)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24694 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e7301a0-dea4-af68-7af5-78e5c8315cec'::uuid, 'trakt', 1766939)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24695 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e7301a0-dea4-af68-7af5-78e5c8315cec'::uuid, 'TmdbCollection', 1051257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24696 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e7301a0-dea4-af68-7af5-78e5c8315cec'::uuid, 'Imdb', 'tt4110822')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24697 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e7301a0-dea4-af68-7af5-78e5c8315cec'::uuid, 'Tmdb', 1051257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24698 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e7301a0-dea4-af68-7af5-78e5c8315cec'::uuid;

-- Query #24699 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0e7301a0-dea4-af68-7af5-78e5c8315cec'::uuid;

-- Query #24700 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0e7301a0-dea4-af68-7af5-78e5c8315cec'::uuid]);

-- Query #24701 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0e7301a0-dea4-af68-7af5-78e5c8315cec'::uuid;

-- Query #24702 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24703 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab40776b-65f7-8a67-864d-2b4cb1e0f96a'::uuid;

-- Query #24704 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab40776b-65f7-8a67-864d-2b4cb1e0f96a'::uuid]);

-- Query #24705 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ab40776b-65f7-8a67-864d-2b4cb1e0f96a'::uuid;

-- Query #24706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab40776b-65f7-8a67-864d-2b4cb1e0f96a'::uuid, 'TmdbCollection', 1016544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab40776b-65f7-8a67-864d-2b4cb1e0f96a'::uuid, 'Imdb', 'tt4082656')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab40776b-65f7-8a67-864d-2b4cb1e0f96a'::uuid, 'Tmdb', 1016544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab40776b-65f7-8a67-864d-2b4cb1e0f96a'::uuid, 'TvMaze', 39407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab40776b-65f7-8a67-864d-2b4cb1e0f96a'::uuid, 'Tvdb', 5030061)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab40776b-65f7-8a67-864d-2b4cb1e0f96a'::uuid, 'TvRage', 1065700325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24712 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab40776b-65f7-8a67-864d-2b4cb1e0f96a'::uuid, 'trakt', 998472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24713 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab40776b-65f7-8a67-864d-2b4cb1e0f96a'::uuid;

-- Query #24714 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ab40776b-65f7-8a67-864d-2b4cb1e0f96a'::uuid;

-- Query #24715 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ab40776b-65f7-8a67-864d-2b4cb1e0f96a'::uuid]);

-- Query #24716 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ab40776b-65f7-8a67-864d-2b4cb1e0f96a'::uuid;

-- Query #24717 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24718 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0c85b59a-e9c1-6537-8904-98e457170607'::uuid;

-- Query #24719 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0c85b59a-e9c1-6537-8904-98e457170607'::uuid]);

-- Query #24720 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0c85b59a-e9c1-6537-8904-98e457170607'::uuid;

-- Query #24721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c85b59a-e9c1-6537-8904-98e457170607'::uuid, 'Imdb', 'tt4120702')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c85b59a-e9c1-6537-8904-98e457170607'::uuid, 'Tmdb', 1019800)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c85b59a-e9c1-6537-8904-98e457170607'::uuid, 'TvMaze', 45239)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c85b59a-e9c1-6537-8904-98e457170607'::uuid, 'Tvdb', 5049065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c85b59a-e9c1-6537-8904-98e457170607'::uuid, 'TvRage', 1065709263)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24726 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c85b59a-e9c1-6537-8904-98e457170607'::uuid, 'trakt', 998475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24727 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c85b59a-e9c1-6537-8904-98e457170607'::uuid, 'TmdbCollection', 1019800)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24728 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0c85b59a-e9c1-6537-8904-98e457170607'::uuid;

-- Query #24729 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0c85b59a-e9c1-6537-8904-98e457170607'::uuid;

-- Query #24730 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0c85b59a-e9c1-6537-8904-98e457170607'::uuid]);

-- Query #24731 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0c85b59a-e9c1-6537-8904-98e457170607'::uuid;

-- Query #24732 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24733 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f61cd3cb-0d8d-16b9-acee-c8181f03e516'::uuid;

-- Query #24734 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f61cd3cb-0d8d-16b9-acee-c8181f03e516'::uuid]);

-- Query #24735 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f61cd3cb-0d8d-16b9-acee-c8181f03e516'::uuid;

-- Query #24736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f61cd3cb-0d8d-16b9-acee-c8181f03e516'::uuid, 'Imdb', 'tt4120714')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f61cd3cb-0d8d-16b9-acee-c8181f03e516'::uuid, 'Tmdb', 1043555)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f61cd3cb-0d8d-16b9-acee-c8181f03e516'::uuid, 'trakt', 1718176)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f61cd3cb-0d8d-16b9-acee-c8181f03e516'::uuid, 'TvMaze', 141795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f61cd3cb-0d8d-16b9-acee-c8181f03e516'::uuid, 'Tvdb', 5069791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f61cd3cb-0d8d-16b9-acee-c8181f03e516'::uuid, 'TmdbCollection', 1043555)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24742 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f61cd3cb-0d8d-16b9-acee-c8181f03e516'::uuid;

-- Query #24743 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f61cd3cb-0d8d-16b9-acee-c8181f03e516'::uuid;

-- Query #24744 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f61cd3cb-0d8d-16b9-acee-c8181f03e516'::uuid]);

-- Query #24745 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f61cd3cb-0d8d-16b9-acee-c8181f03e516'::uuid;

-- Query #24746 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24747 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eeae0d74-b0e4-2e7c-6486-32b48009e3ff'::uuid;

-- Query #24748 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #24749 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eeae0d74-b0e4-2e7c-6486-32b48009e3ff'::uuid]);

-- Query #24750 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eeae0d74-b0e4-2e7c-6486-32b48009e3ff'::uuid;

-- Query #24751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eeae0d74-b0e4-2e7c-6486-32b48009e3ff'::uuid, 'Imdb', 'tt4082652')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eeae0d74-b0e4-2e7c-6486-32b48009e3ff'::uuid, 'Tmdb', 1013262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24753 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eeae0d74-b0e4-2e7c-6486-32b48009e3ff'::uuid, 'TvMaze', 38906)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eeae0d74-b0e4-2e7c-6486-32b48009e3ff'::uuid, 'Tvdb', 5026658)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eeae0d74-b0e4-2e7c-6486-32b48009e3ff'::uuid, 'TvRage', 1065700119)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eeae0d74-b0e4-2e7c-6486-32b48009e3ff'::uuid, 'trakt', 998412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24757 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eeae0d74-b0e4-2e7c-6486-32b48009e3ff'::uuid, 'TmdbCollection', 1013262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24758 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eeae0d74-b0e4-2e7c-6486-32b48009e3ff'::uuid;

-- Query #24759 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eeae0d74-b0e4-2e7c-6486-32b48009e3ff'::uuid;

-- Query #24760 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eeae0d74-b0e4-2e7c-6486-32b48009e3ff'::uuid]);

-- Query #24761 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eeae0d74-b0e4-2e7c-6486-32b48009e3ff'::uuid;

-- Query #24762 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24763 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2330e189-0bc8-acf5-0526-feea58b7f3fc'::uuid;

-- Query #24764 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2330e189-0bc8-acf5-0526-feea58b7f3fc'::uuid]);

-- Query #24765 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2330e189-0bc8-acf5-0526-feea58b7f3fc'::uuid;

-- Query #24766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2330e189-0bc8-acf5-0526-feea58b7f3fc'::uuid, 'TmdbCollection', 1018666)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2330e189-0bc8-acf5-0526-feea58b7f3fc'::uuid, 'Imdb', 'tt4120698')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2330e189-0bc8-acf5-0526-feea58b7f3fc'::uuid, 'Tmdb', 1018666)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2330e189-0bc8-acf5-0526-feea58b7f3fc'::uuid, 'TvMaze', 45238)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2330e189-0bc8-acf5-0526-feea58b7f3fc'::uuid, 'Tvdb', 5040794)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24771 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2330e189-0bc8-acf5-0526-feea58b7f3fc'::uuid, 'TvRage', 1065709262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24772 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2330e189-0bc8-acf5-0526-feea58b7f3fc'::uuid, 'trakt', 998474)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24773 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2330e189-0bc8-acf5-0526-feea58b7f3fc'::uuid;

-- Query #24774 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2330e189-0bc8-acf5-0526-feea58b7f3fc'::uuid;

-- Query #24775 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2330e189-0bc8-acf5-0526-feea58b7f3fc'::uuid]);

-- Query #24776 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2330e189-0bc8-acf5-0526-feea58b7f3fc'::uuid;

-- Query #24777 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30104448-da99-5e1b-3429-fdfcdac733f4'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24778 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b0970c5b-1a42-3083-4e15-fd271da001bb'::uuid;

-- Query #24779 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b0970c5b-1a42-3083-4e15-fd271da001bb'::uuid]);

-- Query #24780 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b0970c5b-1a42-3083-4e15-fd271da001bb'::uuid;

-- Query #24781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0970c5b-1a42-3083-4e15-fd271da001bb'::uuid, 'Imdb', 'tt4742110')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0970c5b-1a42-3083-4e15-fd271da001bb'::uuid, 'Tmdb', 1117287)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0970c5b-1a42-3083-4e15-fd271da001bb'::uuid, 'trakt', 2002211)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0970c5b-1a42-3083-4e15-fd271da001bb'::uuid, 'TvMaze', 363110)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0970c5b-1a42-3083-4e15-fd271da001bb'::uuid, 'Tvdb', 5344582)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0970c5b-1a42-3083-4e15-fd271da001bb'::uuid, 'TmdbCollection', 1117287)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24787 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b0970c5b-1a42-3083-4e15-fd271da001bb'::uuid;

-- Query #24788 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b0970c5b-1a42-3083-4e15-fd271da001bb'::uuid;

-- Query #24789 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b0970c5b-1a42-3083-4e15-fd271da001bb'::uuid]);

-- Query #24790 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b0970c5b-1a42-3083-4e15-fd271da001bb'::uuid;

-- Query #24791 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24792 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '42025bde-3325-a3ef-9ff5-da4c8ffbcb54'::uuid;

-- Query #24793 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42025bde-3325-a3ef-9ff5-da4c8ffbcb54'::uuid]);

-- Query #24794 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '42025bde-3325-a3ef-9ff5-da4c8ffbcb54'::uuid;

-- Query #24795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42025bde-3325-a3ef-9ff5-da4c8ffbcb54'::uuid, 'Imdb', 'tt4883818')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42025bde-3325-a3ef-9ff5-da4c8ffbcb54'::uuid, 'Tmdb', 1191832)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42025bde-3325-a3ef-9ff5-da4c8ffbcb54'::uuid, 'trakt', 2002227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42025bde-3325-a3ef-9ff5-da4c8ffbcb54'::uuid, 'TvMaze', 692370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24799 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42025bde-3325-a3ef-9ff5-da4c8ffbcb54'::uuid, 'Tvdb', 5580101)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24800 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42025bde-3325-a3ef-9ff5-da4c8ffbcb54'::uuid, 'TmdbCollection', 1191832)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24801 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '42025bde-3325-a3ef-9ff5-da4c8ffbcb54'::uuid;

-- Query #24802 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '42025bde-3325-a3ef-9ff5-da4c8ffbcb54'::uuid;

-- Query #24803 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['42025bde-3325-a3ef-9ff5-da4c8ffbcb54'::uuid]);

-- Query #24804 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '42025bde-3325-a3ef-9ff5-da4c8ffbcb54'::uuid;

-- Query #24805 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24806 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ee94e11d-c463-fd1d-133b-94e422b2a9fd'::uuid;

-- Query #24807 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ee94e11d-c463-fd1d-133b-94e422b2a9fd'::uuid]);

-- Query #24808 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ee94e11d-c463-fd1d-133b-94e422b2a9fd'::uuid;

-- Query #24809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee94e11d-c463-fd1d-133b-94e422b2a9fd'::uuid, 'Imdb', 'tt4760490')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee94e11d-c463-fd1d-133b-94e422b2a9fd'::uuid, 'Tmdb', 1133154)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24811 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee94e11d-c463-fd1d-133b-94e422b2a9fd'::uuid, 'trakt', 2002212)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24812 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee94e11d-c463-fd1d-133b-94e422b2a9fd'::uuid, 'TvMaze', 379111)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24813 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee94e11d-c463-fd1d-133b-94e422b2a9fd'::uuid, 'Tvdb', 5371684)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24814 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee94e11d-c463-fd1d-133b-94e422b2a9fd'::uuid, 'TmdbCollection', 1133154)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24815 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ee94e11d-c463-fd1d-133b-94e422b2a9fd'::uuid;

-- Query #24816 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ee94e11d-c463-fd1d-133b-94e422b2a9fd'::uuid;

-- Query #24817 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ee94e11d-c463-fd1d-133b-94e422b2a9fd'::uuid]);

-- Query #24818 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ee94e11d-c463-fd1d-133b-94e422b2a9fd'::uuid;

-- Query #24819 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24820 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0a3df69-57eb-2b21-8fec-e50a88656db4'::uuid;

-- Query #24821 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d0a3df69-57eb-2b21-8fec-e50a88656db4'::uuid]);

-- Query #24822 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd0a3df69-57eb-2b21-8fec-e50a88656db4'::uuid;

-- Query #24823 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0a3df69-57eb-2b21-8fec-e50a88656db4'::uuid, 'Imdb', 'tt4899794')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0a3df69-57eb-2b21-8fec-e50a88656db4'::uuid, 'Tmdb', 1191833)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0a3df69-57eb-2b21-8fec-e50a88656db4'::uuid, 'trakt', 2002229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0a3df69-57eb-2b21-8fec-e50a88656db4'::uuid, 'TvMaze', 692371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0a3df69-57eb-2b21-8fec-e50a88656db4'::uuid, 'Tvdb', 5602789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0a3df69-57eb-2b21-8fec-e50a88656db4'::uuid, 'TmdbCollection', 1191833)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24829 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0a3df69-57eb-2b21-8fec-e50a88656db4'::uuid;

-- Query #24830 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd0a3df69-57eb-2b21-8fec-e50a88656db4'::uuid;

-- Query #24831 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d0a3df69-57eb-2b21-8fec-e50a88656db4'::uuid]);

-- Query #24832 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd0a3df69-57eb-2b21-8fec-e50a88656db4'::uuid;

-- Query #24833 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24834 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b979ead-922a-4329-19d8-f0781efee3e6'::uuid;

-- Query #24835 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8b979ead-922a-4329-19d8-f0781efee3e6'::uuid]);

-- Query #24836 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8b979ead-922a-4329-19d8-f0781efee3e6'::uuid;

-- Query #24837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b979ead-922a-4329-19d8-f0781efee3e6'::uuid, 'Imdb', 'tt4794580')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b979ead-922a-4329-19d8-f0781efee3e6'::uuid, 'Tmdb', 1173978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b979ead-922a-4329-19d8-f0781efee3e6'::uuid, 'trakt', 2002217)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b979ead-922a-4329-19d8-f0781efee3e6'::uuid, 'TvMaze', 470641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24841 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b979ead-922a-4329-19d8-f0781efee3e6'::uuid, 'Tvdb', 5403872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24842 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b979ead-922a-4329-19d8-f0781efee3e6'::uuid, 'TmdbCollection', 1173978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24843 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b979ead-922a-4329-19d8-f0781efee3e6'::uuid;

-- Query #24844 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8b979ead-922a-4329-19d8-f0781efee3e6'::uuid;

-- Query #24845 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8b979ead-922a-4329-19d8-f0781efee3e6'::uuid]);

-- Query #24846 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8b979ead-922a-4329-19d8-f0781efee3e6'::uuid;

-- Query #24847 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24848 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d13cb91-c503-affd-e950-7b79729cdd3e'::uuid;

-- Query #24849 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d13cb91-c503-affd-e950-7b79729cdd3e'::uuid]);

-- Query #24850 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2d13cb91-c503-affd-e950-7b79729cdd3e'::uuid;

-- Query #24851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d13cb91-c503-affd-e950-7b79729cdd3e'::uuid, 'Imdb', 'tt4765060')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d13cb91-c503-affd-e950-7b79729cdd3e'::uuid, 'Tmdb', 1134492)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d13cb91-c503-affd-e950-7b79729cdd3e'::uuid, 'trakt', 2002213)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d13cb91-c503-affd-e950-7b79729cdd3e'::uuid, 'TvMaze', 400123)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d13cb91-c503-affd-e950-7b79729cdd3e'::uuid, 'Tvdb', 5381219)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d13cb91-c503-affd-e950-7b79729cdd3e'::uuid, 'TmdbCollection', 1134492)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24857 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d13cb91-c503-affd-e950-7b79729cdd3e'::uuid;

-- Query #24858 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2d13cb91-c503-affd-e950-7b79729cdd3e'::uuid;

-- Query #24859 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2d13cb91-c503-affd-e950-7b79729cdd3e'::uuid]);

-- Query #24860 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2d13cb91-c503-affd-e950-7b79729cdd3e'::uuid;

-- Query #24861 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24862 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b2dea6e-b56e-95f8-eaba-ecc9a2434825'::uuid;

-- Query #24863 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b2dea6e-b56e-95f8-eaba-ecc9a2434825'::uuid]);

-- Query #24864 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0b2dea6e-b56e-95f8-eaba-ecc9a2434825'::uuid;

-- Query #24865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b2dea6e-b56e-95f8-eaba-ecc9a2434825'::uuid, 'Imdb', 'tt4778366')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b2dea6e-b56e-95f8-eaba-ecc9a2434825'::uuid, 'Tmdb', 1137415)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b2dea6e-b56e-95f8-eaba-ecc9a2434825'::uuid, 'trakt', 2002215)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24868 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b2dea6e-b56e-95f8-eaba-ecc9a2434825'::uuid, 'TvMaze', 461933)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24869 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b2dea6e-b56e-95f8-eaba-ecc9a2434825'::uuid, 'Tvdb', 5401914)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b2dea6e-b56e-95f8-eaba-ecc9a2434825'::uuid, 'TmdbCollection', 1137415)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24871 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b2dea6e-b56e-95f8-eaba-ecc9a2434825'::uuid;

-- Query #24872 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0b2dea6e-b56e-95f8-eaba-ecc9a2434825'::uuid;

-- Query #24873 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0b2dea6e-b56e-95f8-eaba-ecc9a2434825'::uuid]);

-- Query #24874 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0b2dea6e-b56e-95f8-eaba-ecc9a2434825'::uuid;

-- Query #24875 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24876 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7127cd99-1463-ce51-0aba-fec4a61af3b5'::uuid;

-- Query #24877 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7127cd99-1463-ce51-0aba-fec4a61af3b5'::uuid]);

-- Query #24878 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7127cd99-1463-ce51-0aba-fec4a61af3b5'::uuid;

-- Query #24879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7127cd99-1463-ce51-0aba-fec4a61af3b5'::uuid, 'Tmdb', 1112975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7127cd99-1463-ce51-0aba-fec4a61af3b5'::uuid, 'trakt', 2002210)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7127cd99-1463-ce51-0aba-fec4a61af3b5'::uuid, 'TvMaze', 334512)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7127cd99-1463-ce51-0aba-fec4a61af3b5'::uuid, 'Tvdb', 5344581)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7127cd99-1463-ce51-0aba-fec4a61af3b5'::uuid, 'TmdbCollection', 1112975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7127cd99-1463-ce51-0aba-fec4a61af3b5'::uuid, 'Imdb', 'tt4732884')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24885 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7127cd99-1463-ce51-0aba-fec4a61af3b5'::uuid;

-- Query #24886 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7127cd99-1463-ce51-0aba-fec4a61af3b5'::uuid;

-- Query #24887 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7127cd99-1463-ce51-0aba-fec4a61af3b5'::uuid]);

-- Query #24888 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7127cd99-1463-ce51-0aba-fec4a61af3b5'::uuid;

-- Query #24889 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24890 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b7be01b-a2ed-d2d6-9fba-596711c56d32'::uuid;

-- Query #24891 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b7be01b-a2ed-d2d6-9fba-596711c56d32'::uuid]);

-- Query #24892 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5b7be01b-a2ed-d2d6-9fba-596711c56d32'::uuid;

-- Query #24893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b7be01b-a2ed-d2d6-9fba-596711c56d32'::uuid, 'Imdb', 'tt4877412')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b7be01b-a2ed-d2d6-9fba-596711c56d32'::uuid, 'Tmdb', 1191831)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24895 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b7be01b-a2ed-d2d6-9fba-596711c56d32'::uuid, 'trakt', 2002226)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b7be01b-a2ed-d2d6-9fba-596711c56d32'::uuid, 'TvMaze', 692369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b7be01b-a2ed-d2d6-9fba-596711c56d32'::uuid, 'Tvdb', 5574734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b7be01b-a2ed-d2d6-9fba-596711c56d32'::uuid, 'TmdbCollection', 1191831)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24899 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b7be01b-a2ed-d2d6-9fba-596711c56d32'::uuid;

-- Query #24900 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5b7be01b-a2ed-d2d6-9fba-596711c56d32'::uuid;

-- Query #24901 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5b7be01b-a2ed-d2d6-9fba-596711c56d32'::uuid]);

-- Query #24902 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5b7be01b-a2ed-d2d6-9fba-596711c56d32'::uuid;

-- Query #24903 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24904 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b7de11e8-1850-8f7d-49af-ef80bceecb0b'::uuid;

-- Query #24905 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7de11e8-1850-8f7d-49af-ef80bceecb0b'::uuid]);

-- Query #24906 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b7de11e8-1850-8f7d-49af-ef80bceecb0b'::uuid;

-- Query #24907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7de11e8-1850-8f7d-49af-ef80bceecb0b'::uuid, 'Imdb', 'tt4871764')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7de11e8-1850-8f7d-49af-ef80bceecb0b'::uuid, 'Tmdb', 1189229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7de11e8-1850-8f7d-49af-ef80bceecb0b'::uuid, 'trakt', 2002225)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7de11e8-1850-8f7d-49af-ef80bceecb0b'::uuid, 'TvMaze', 692368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7de11e8-1850-8f7d-49af-ef80bceecb0b'::uuid, 'Tvdb', 5574733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7de11e8-1850-8f7d-49af-ef80bceecb0b'::uuid, 'TmdbCollection', 1189229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24913 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b7de11e8-1850-8f7d-49af-ef80bceecb0b'::uuid;

-- Query #24914 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b7de11e8-1850-8f7d-49af-ef80bceecb0b'::uuid;

-- Query #24915 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b7de11e8-1850-8f7d-49af-ef80bceecb0b'::uuid]);

-- Query #24916 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b7de11e8-1850-8f7d-49af-ef80bceecb0b'::uuid;

-- Query #24917 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24918 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db7ccdb9-4c8e-7596-0337-54c0b8d2e7d5'::uuid;

-- Query #24919 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db7ccdb9-4c8e-7596-0337-54c0b8d2e7d5'::uuid]);

-- Query #24920 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'db7ccdb9-4c8e-7596-0337-54c0b8d2e7d5'::uuid;

-- Query #24921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db7ccdb9-4c8e-7596-0337-54c0b8d2e7d5'::uuid, 'Imdb', 'tt4800060')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db7ccdb9-4c8e-7596-0337-54c0b8d2e7d5'::uuid, 'Tmdb', 1175551)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db7ccdb9-4c8e-7596-0337-54c0b8d2e7d5'::uuid, 'trakt', 2002218)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db7ccdb9-4c8e-7596-0337-54c0b8d2e7d5'::uuid, 'TvMaze', 628886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db7ccdb9-4c8e-7596-0337-54c0b8d2e7d5'::uuid, 'Tvdb', 5434147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db7ccdb9-4c8e-7596-0337-54c0b8d2e7d5'::uuid, 'TmdbCollection', 1175551)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24927 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db7ccdb9-4c8e-7596-0337-54c0b8d2e7d5'::uuid;

-- Query #24928 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'db7ccdb9-4c8e-7596-0337-54c0b8d2e7d5'::uuid;

-- Query #24929 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['db7ccdb9-4c8e-7596-0337-54c0b8d2e7d5'::uuid]);

-- Query #24930 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'db7ccdb9-4c8e-7596-0337-54c0b8d2e7d5'::uuid;

-- Query #24931 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24932 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cec6c931-01d7-94d4-efeb-2e478c6ac70b'::uuid;

-- Query #24933 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cec6c931-01d7-94d4-efeb-2e478c6ac70b'::uuid]);

-- Query #24934 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cec6c931-01d7-94d4-efeb-2e478c6ac70b'::uuid;

-- Query #24935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cec6c931-01d7-94d4-efeb-2e478c6ac70b'::uuid, 'TmdbCollection', 1085277)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cec6c931-01d7-94d4-efeb-2e478c6ac70b'::uuid, 'Imdb', 'tt4667540')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cec6c931-01d7-94d4-efeb-2e478c6ac70b'::uuid, 'Tmdb', 1085277)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cec6c931-01d7-94d4-efeb-2e478c6ac70b'::uuid, 'TvMaze', 167570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cec6c931-01d7-94d4-efeb-2e478c6ac70b'::uuid, 'Tvdb', 5248989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cec6c931-01d7-94d4-efeb-2e478c6ac70b'::uuid, 'TvRage', 1065823627)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24941 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cec6c931-01d7-94d4-efeb-2e478c6ac70b'::uuid, 'trakt', 1896696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24942 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cec6c931-01d7-94d4-efeb-2e478c6ac70b'::uuid;

-- Query #24943 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cec6c931-01d7-94d4-efeb-2e478c6ac70b'::uuid;

-- Query #24944 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cec6c931-01d7-94d4-efeb-2e478c6ac70b'::uuid]);

-- Query #24945 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cec6c931-01d7-94d4-efeb-2e478c6ac70b'::uuid;

-- Query #24946 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24947 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b54b4a47-8317-35e0-3ff3-5ab346fcdf2d'::uuid;

-- Query #24948 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b54b4a47-8317-35e0-3ff3-5ab346fcdf2d'::uuid]);

-- Query #24949 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b54b4a47-8317-35e0-3ff3-5ab346fcdf2d'::uuid;

-- Query #24950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b54b4a47-8317-35e0-3ff3-5ab346fcdf2d'::uuid, 'Imdb', 'tt4769592')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b54b4a47-8317-35e0-3ff3-5ab346fcdf2d'::uuid, 'Tmdb', 1134703)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b54b4a47-8317-35e0-3ff3-5ab346fcdf2d'::uuid, 'trakt', 2002214)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b54b4a47-8317-35e0-3ff3-5ab346fcdf2d'::uuid, 'TvMaze', 406992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24954 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b54b4a47-8317-35e0-3ff3-5ab346fcdf2d'::uuid, 'Tvdb', 5385795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24955 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b54b4a47-8317-35e0-3ff3-5ab346fcdf2d'::uuid, 'TmdbCollection', 1134703)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24956 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b54b4a47-8317-35e0-3ff3-5ab346fcdf2d'::uuid;

-- Query #24957 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b54b4a47-8317-35e0-3ff3-5ab346fcdf2d'::uuid;

-- Query #24958 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b54b4a47-8317-35e0-3ff3-5ab346fcdf2d'::uuid]);

-- Query #24959 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b54b4a47-8317-35e0-3ff3-5ab346fcdf2d'::uuid;

-- Query #24960 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24961 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e038c476-8172-6452-2317-163bd2466434'::uuid;

-- Query #24962 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e038c476-8172-6452-2317-163bd2466434'::uuid]);

-- Query #24963 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e038c476-8172-6452-2317-163bd2466434'::uuid;

-- Query #24964 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e038c476-8172-6452-2317-163bd2466434'::uuid, 'Imdb', 'tt4786258')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e038c476-8172-6452-2317-163bd2466434'::uuid, 'Tmdb', 1142067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e038c476-8172-6452-2317-163bd2466434'::uuid, 'trakt', 2002216)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e038c476-8172-6452-2317-163bd2466434'::uuid, 'TvMaze', 461934)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e038c476-8172-6452-2317-163bd2466434'::uuid, 'Tvdb', 5401915)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24969 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e038c476-8172-6452-2317-163bd2466434'::uuid, 'TmdbCollection', 1142067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24970 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e038c476-8172-6452-2317-163bd2466434'::uuid;

-- Query #24971 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e038c476-8172-6452-2317-163bd2466434'::uuid;

-- Query #24972 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e038c476-8172-6452-2317-163bd2466434'::uuid]);

-- Query #24973 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e038c476-8172-6452-2317-163bd2466434'::uuid;

-- Query #24974 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24975 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '735feb9b-121c-7924-add3-2127ab5e0a9a'::uuid;

-- Query #24976 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['735feb9b-121c-7924-add3-2127ab5e0a9a'::uuid]);

-- Query #24977 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '735feb9b-121c-7924-add3-2127ab5e0a9a'::uuid;

-- Query #24978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('735feb9b-121c-7924-add3-2127ab5e0a9a'::uuid, 'Imdb', 'tt4838204')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('735feb9b-121c-7924-add3-2127ab5e0a9a'::uuid, 'Tmdb', 1182846)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('735feb9b-121c-7924-add3-2127ab5e0a9a'::uuid, 'trakt', 2002222)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('735feb9b-121c-7924-add3-2127ab5e0a9a'::uuid, 'TvMaze', 663305)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('735feb9b-121c-7924-add3-2127ab5e0a9a'::uuid, 'Tvdb', 5555052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('735feb9b-121c-7924-add3-2127ab5e0a9a'::uuid, 'TmdbCollection', 1182846)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24984 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '735feb9b-121c-7924-add3-2127ab5e0a9a'::uuid;

-- Query #24985 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '735feb9b-121c-7924-add3-2127ab5e0a9a'::uuid;

-- Query #24986 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['735feb9b-121c-7924-add3-2127ab5e0a9a'::uuid]);

-- Query #24987 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '735feb9b-121c-7924-add3-2127ab5e0a9a'::uuid;

-- Query #24988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #24989 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6ea9aa32-3816-ffdb-5474-b11316919bd2'::uuid;

-- Query #24990 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6ea9aa32-3816-ffdb-5474-b11316919bd2'::uuid]);

-- Query #24991 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6ea9aa32-3816-ffdb-5474-b11316919bd2'::uuid;

-- Query #24992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ea9aa32-3816-ffdb-5474-b11316919bd2'::uuid, 'Imdb', 'tt4809604')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ea9aa32-3816-ffdb-5474-b11316919bd2'::uuid, 'Tmdb', 1176885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ea9aa32-3816-ffdb-5474-b11316919bd2'::uuid, 'trakt', 2002219)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ea9aa32-3816-ffdb-5474-b11316919bd2'::uuid, 'TvMaze', 637838)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ea9aa32-3816-ffdb-5474-b11316919bd2'::uuid, 'Tvdb', 5510312)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ea9aa32-3816-ffdb-5474-b11316919bd2'::uuid, 'TmdbCollection', 1176885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #24998 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6ea9aa32-3816-ffdb-5474-b11316919bd2'::uuid;

-- Query #24999 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6ea9aa32-3816-ffdb-5474-b11316919bd2'::uuid;

-- Query #25000 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6ea9aa32-3816-ffdb-5474-b11316919bd2'::uuid]);

-- Query #25001 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6ea9aa32-3816-ffdb-5474-b11316919bd2'::uuid;

-- Query #25002 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25003 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c67a5931-259f-c442-5c9a-4b6de1da3b5f'::uuid;

-- Query #25004 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c67a5931-259f-c442-5c9a-4b6de1da3b5f'::uuid]);

-- Query #25005 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c67a5931-259f-c442-5c9a-4b6de1da3b5f'::uuid;

-- Query #25006 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c67a5931-259f-c442-5c9a-4b6de1da3b5f'::uuid, 'TmdbCollection', 1085278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c67a5931-259f-c442-5c9a-4b6de1da3b5f'::uuid, 'Imdb', 'tt4706470')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c67a5931-259f-c442-5c9a-4b6de1da3b5f'::uuid, 'Tmdb', 1085278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c67a5931-259f-c442-5c9a-4b6de1da3b5f'::uuid, 'trakt', 1994726)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c67a5931-259f-c442-5c9a-4b6de1da3b5f'::uuid, 'TvMaze', 250013)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c67a5931-259f-c442-5c9a-4b6de1da3b5f'::uuid, 'Tvdb', 5336630)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25012 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c67a5931-259f-c442-5c9a-4b6de1da3b5f'::uuid;

-- Query #25013 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c67a5931-259f-c442-5c9a-4b6de1da3b5f'::uuid;

-- Query #25014 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c67a5931-259f-c442-5c9a-4b6de1da3b5f'::uuid]);

-- Query #25015 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c67a5931-259f-c442-5c9a-4b6de1da3b5f'::uuid;

-- Query #25016 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25017 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8d6a929-57f2-676b-4e42-818ea1658cf6'::uuid;

-- Query #25018 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8d6a929-57f2-676b-4e42-818ea1658cf6'::uuid]);

-- Query #25019 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b8d6a929-57f2-676b-4e42-818ea1658cf6'::uuid;

-- Query #25020 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8d6a929-57f2-676b-4e42-818ea1658cf6'::uuid, 'Imdb', 'tt4857186')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25021 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8d6a929-57f2-676b-4e42-818ea1658cf6'::uuid, 'Tmdb', 1187281)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25022 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8d6a929-57f2-676b-4e42-818ea1658cf6'::uuid, 'trakt', 2002224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25023 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8d6a929-57f2-676b-4e42-818ea1658cf6'::uuid, 'TvMaze', 692367)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8d6a929-57f2-676b-4e42-818ea1658cf6'::uuid, 'Tvdb', 5574443)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8d6a929-57f2-676b-4e42-818ea1658cf6'::uuid, 'TmdbCollection', 1187281)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25026 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8d6a929-57f2-676b-4e42-818ea1658cf6'::uuid;

-- Query #25027 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b8d6a929-57f2-676b-4e42-818ea1658cf6'::uuid;

-- Query #25028 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b8d6a929-57f2-676b-4e42-818ea1658cf6'::uuid]);

-- Query #25029 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b8d6a929-57f2-676b-4e42-818ea1658cf6'::uuid;

-- Query #25030 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25031 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '490e09c2-7352-a271-636e-4f6740c2eea2'::uuid;

-- Query #25032 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['490e09c2-7352-a271-636e-4f6740c2eea2'::uuid]);

-- Query #25033 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '490e09c2-7352-a271-636e-4f6740c2eea2'::uuid;

-- Query #25034 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('490e09c2-7352-a271-636e-4f6740c2eea2'::uuid, 'TmdbCollection', 1180189)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('490e09c2-7352-a271-636e-4f6740c2eea2'::uuid, 'Imdb', 'tt4829172')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('490e09c2-7352-a271-636e-4f6740c2eea2'::uuid, 'Tmdb', 1180189)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('490e09c2-7352-a271-636e-4f6740c2eea2'::uuid, 'trakt', 2002221)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('490e09c2-7352-a271-636e-4f6740c2eea2'::uuid, 'TvMaze', 663303)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25039 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('490e09c2-7352-a271-636e-4f6740c2eea2'::uuid, 'Tvdb', 5555051)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25040 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '490e09c2-7352-a271-636e-4f6740c2eea2'::uuid;

-- Query #25041 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '490e09c2-7352-a271-636e-4f6740c2eea2'::uuid;

-- Query #25042 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['490e09c2-7352-a271-636e-4f6740c2eea2'::uuid]);

-- Query #25043 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '490e09c2-7352-a271-636e-4f6740c2eea2'::uuid;

-- Query #25044 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25045 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9907e3a4-9205-6191-97bc-cc38d2e9102e'::uuid;

-- Query #25046 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9907e3a4-9205-6191-97bc-cc38d2e9102e'::uuid]);

-- Query #25047 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9907e3a4-9205-6191-97bc-cc38d2e9102e'::uuid;

-- Query #25048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9907e3a4-9205-6191-97bc-cc38d2e9102e'::uuid, 'Imdb', 'tt4842854')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9907e3a4-9205-6191-97bc-cc38d2e9102e'::uuid, 'Tmdb', 1184330)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9907e3a4-9205-6191-97bc-cc38d2e9102e'::uuid, 'trakt', 2002223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9907e3a4-9205-6191-97bc-cc38d2e9102e'::uuid, 'TvMaze', 686681)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9907e3a4-9205-6191-97bc-cc38d2e9102e'::uuid, 'Tvdb', 5569202)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9907e3a4-9205-6191-97bc-cc38d2e9102e'::uuid, 'TmdbCollection', 1184330)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25054 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9907e3a4-9205-6191-97bc-cc38d2e9102e'::uuid;

-- Query #25055 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9907e3a4-9205-6191-97bc-cc38d2e9102e'::uuid;

-- Query #25056 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9907e3a4-9205-6191-97bc-cc38d2e9102e'::uuid]);

-- Query #25057 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9907e3a4-9205-6191-97bc-cc38d2e9102e'::uuid;

-- Query #25058 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25059 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1cf0c864-adc4-54e9-67cb-a7a5db495c0b'::uuid;

-- Query #25060 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1cf0c864-adc4-54e9-67cb-a7a5db495c0b'::uuid]);

-- Query #25061 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1cf0c864-adc4-54e9-67cb-a7a5db495c0b'::uuid;

-- Query #25062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cf0c864-adc4-54e9-67cb-a7a5db495c0b'::uuid, 'Imdb', 'tt4727950')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cf0c864-adc4-54e9-67cb-a7a5db495c0b'::uuid, 'Tmdb', 1109828)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cf0c864-adc4-54e9-67cb-a7a5db495c0b'::uuid, 'trakt', 2002209)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cf0c864-adc4-54e9-67cb-a7a5db495c0b'::uuid, 'TvMaze', 280706)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cf0c864-adc4-54e9-67cb-a7a5db495c0b'::uuid, 'Tvdb', 5344580)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25067 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cf0c864-adc4-54e9-67cb-a7a5db495c0b'::uuid, 'TmdbCollection', 1109828)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25068 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1cf0c864-adc4-54e9-67cb-a7a5db495c0b'::uuid;

-- Query #25069 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1cf0c864-adc4-54e9-67cb-a7a5db495c0b'::uuid;

-- Query #25070 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1cf0c864-adc4-54e9-67cb-a7a5db495c0b'::uuid]);

-- Query #25071 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1cf0c864-adc4-54e9-67cb-a7a5db495c0b'::uuid;

-- Query #25072 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25073 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '071ccf31-760a-d0f6-f831-6a5322c0e864'::uuid;

-- Query #25074 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['071ccf31-760a-d0f6-f831-6a5322c0e864'::uuid]);

-- Query #25075 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '071ccf31-760a-d0f6-f831-6a5322c0e864'::uuid;

-- Query #25076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('071ccf31-760a-d0f6-f831-6a5322c0e864'::uuid, 'Imdb', 'tt4819384')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25077 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('071ccf31-760a-d0f6-f831-6a5322c0e864'::uuid, 'Tmdb', 1180188)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25078 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('071ccf31-760a-d0f6-f831-6a5322c0e864'::uuid, 'trakt', 2002220)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25079 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('071ccf31-760a-d0f6-f831-6a5322c0e864'::uuid, 'TvMaze', 637839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('071ccf31-760a-d0f6-f831-6a5322c0e864'::uuid, 'Tvdb', 5510313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25081 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('071ccf31-760a-d0f6-f831-6a5322c0e864'::uuid, 'TmdbCollection', 1180188)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25082 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '071ccf31-760a-d0f6-f831-6a5322c0e864'::uuid;

-- Query #25083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '071ccf31-760a-d0f6-f831-6a5322c0e864'::uuid;

-- Query #25084 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['071ccf31-760a-d0f6-f831-6a5322c0e864'::uuid]);

-- Query #25085 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '071ccf31-760a-d0f6-f831-6a5322c0e864'::uuid;

-- Query #25086 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d71d3a3a-c1a1-a589-844b-198022d436c8'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25087 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '86870589-a2b3-67b6-8143-0dedd0851563'::uuid;

-- Query #25088 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['86870589-a2b3-67b6-8143-0dedd0851563'::uuid]);

-- Query #25089 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '86870589-a2b3-67b6-8143-0dedd0851563'::uuid;

-- Query #25090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86870589-a2b3-67b6-8143-0dedd0851563'::uuid, 'Imdb', 'tt5916846')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86870589-a2b3-67b6-8143-0dedd0851563'::uuid, 'Tmdb', 1302044)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86870589-a2b3-67b6-8143-0dedd0851563'::uuid, 'trakt', 2313366)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86870589-a2b3-67b6-8143-0dedd0851563'::uuid, 'TvMaze', 1117443)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86870589-a2b3-67b6-8143-0dedd0851563'::uuid, 'Tvdb', 6038493)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('86870589-a2b3-67b6-8143-0dedd0851563'::uuid, 'TmdbCollection', 1302044)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25096 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '86870589-a2b3-67b6-8143-0dedd0851563'::uuid;

-- Query #25097 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '86870589-a2b3-67b6-8143-0dedd0851563'::uuid;

-- Query #25098 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['86870589-a2b3-67b6-8143-0dedd0851563'::uuid]);

-- Query #25099 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '86870589-a2b3-67b6-8143-0dedd0851563'::uuid;

-- Query #25100 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25101 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e330c3d-c2e1-3cfd-5907-77f82416d164'::uuid;

-- Query #25102 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6e330c3d-c2e1-3cfd-5907-77f82416d164'::uuid]);

-- Query #25103 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6e330c3d-c2e1-3cfd-5907-77f82416d164'::uuid;

-- Query #25104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e330c3d-c2e1-3cfd-5907-77f82416d164'::uuid, 'Imdb', 'tt5916856')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e330c3d-c2e1-3cfd-5907-77f82416d164'::uuid, 'Tmdb', 1304542)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e330c3d-c2e1-3cfd-5907-77f82416d164'::uuid, 'trakt', 2313367)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e330c3d-c2e1-3cfd-5907-77f82416d164'::uuid, 'TvMaze', 1117444)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e330c3d-c2e1-3cfd-5907-77f82416d164'::uuid, 'Tvdb', 6047773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e330c3d-c2e1-3cfd-5907-77f82416d164'::uuid, 'TmdbCollection', 1304542)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25110 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e330c3d-c2e1-3cfd-5907-77f82416d164'::uuid;

-- Query #25111 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6e330c3d-c2e1-3cfd-5907-77f82416d164'::uuid;

-- Query #25112 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6e330c3d-c2e1-3cfd-5907-77f82416d164'::uuid]);

-- Query #25113 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6e330c3d-c2e1-3cfd-5907-77f82416d164'::uuid;

-- Query #25114 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25115 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #25116 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '244412ce-c90c-682b-e49b-dde2971e5e82'::uuid;

-- Query #25117 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['244412ce-c90c-682b-e49b-dde2971e5e82'::uuid]);

-- Query #25118 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '244412ce-c90c-682b-e49b-dde2971e5e82'::uuid;

-- Query #25119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('244412ce-c90c-682b-e49b-dde2971e5e82'::uuid, 'Imdb', 'tt5916836')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('244412ce-c90c-682b-e49b-dde2971e5e82'::uuid, 'Tmdb', 1298641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('244412ce-c90c-682b-e49b-dde2971e5e82'::uuid, 'trakt', 2313364)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('244412ce-c90c-682b-e49b-dde2971e5e82'::uuid, 'TvMaze', 1109704)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('244412ce-c90c-682b-e49b-dde2971e5e82'::uuid, 'Tvdb', 6022692)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('244412ce-c90c-682b-e49b-dde2971e5e82'::uuid, 'TmdbCollection', 1298641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25125 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '244412ce-c90c-682b-e49b-dde2971e5e82'::uuid;

-- Query #25126 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '244412ce-c90c-682b-e49b-dde2971e5e82'::uuid;

-- Query #25127 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['244412ce-c90c-682b-e49b-dde2971e5e82'::uuid]);

-- Query #25128 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '244412ce-c90c-682b-e49b-dde2971e5e82'::uuid;

-- Query #25129 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25130 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0a0bf800-d853-6e4c-5610-6abd8c3785c8'::uuid;

-- Query #25131 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a0bf800-d853-6e4c-5610-6abd8c3785c8'::uuid]);

-- Query #25132 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0a0bf800-d853-6e4c-5610-6abd8c3785c8'::uuid;

-- Query #25133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a0bf800-d853-6e4c-5610-6abd8c3785c8'::uuid, 'Imdb', 'tt5916840')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a0bf800-d853-6e4c-5610-6abd8c3785c8'::uuid, 'Tmdb', 1298642)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a0bf800-d853-6e4c-5610-6abd8c3785c8'::uuid, 'trakt', 2313365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a0bf800-d853-6e4c-5610-6abd8c3785c8'::uuid, 'TvMaze', 1117442)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a0bf800-d853-6e4c-5610-6abd8c3785c8'::uuid, 'Tvdb', 6029844)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a0bf800-d853-6e4c-5610-6abd8c3785c8'::uuid, 'TmdbCollection', 1298642)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25139 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0a0bf800-d853-6e4c-5610-6abd8c3785c8'::uuid;

-- Query #25140 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0a0bf800-d853-6e4c-5610-6abd8c3785c8'::uuid;

-- Query #25141 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0a0bf800-d853-6e4c-5610-6abd8c3785c8'::uuid]);

-- Query #25142 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0a0bf800-d853-6e4c-5610-6abd8c3785c8'::uuid;

-- Query #25143 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25144 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14e24527-3eb6-2869-a9b9-c73b758cba9e'::uuid;

-- Query #25145 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14e24527-3eb6-2869-a9b9-c73b758cba9e'::uuid]);

-- Query #25146 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '14e24527-3eb6-2869-a9b9-c73b758cba9e'::uuid;

-- Query #25147 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e24527-3eb6-2869-a9b9-c73b758cba9e'::uuid, 'TmdbCollection', 1310650)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e24527-3eb6-2869-a9b9-c73b758cba9e'::uuid, 'Imdb', 'tt5916876')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e24527-3eb6-2869-a9b9-c73b758cba9e'::uuid, 'Tmdb', 1310650)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e24527-3eb6-2869-a9b9-c73b758cba9e'::uuid, 'trakt', 2313368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e24527-3eb6-2869-a9b9-c73b758cba9e'::uuid, 'TvMaze', 1117445)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e24527-3eb6-2869-a9b9-c73b758cba9e'::uuid, 'Tvdb', 6052619)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25153 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14e24527-3eb6-2869-a9b9-c73b758cba9e'::uuid;

-- Query #25154 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '14e24527-3eb6-2869-a9b9-c73b758cba9e'::uuid;

-- Query #25155 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['14e24527-3eb6-2869-a9b9-c73b758cba9e'::uuid]);

-- Query #25156 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '14e24527-3eb6-2869-a9b9-c73b758cba9e'::uuid;

-- Query #25157 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25158 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df388863-941a-a52a-4ffd-8ea9d794d1e1'::uuid;

-- Query #25159 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df388863-941a-a52a-4ffd-8ea9d794d1e1'::uuid]);

-- Query #25160 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'df388863-941a-a52a-4ffd-8ea9d794d1e1'::uuid;

-- Query #25161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df388863-941a-a52a-4ffd-8ea9d794d1e1'::uuid, 'TmdbCollection', 1275764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df388863-941a-a52a-4ffd-8ea9d794d1e1'::uuid, 'Imdb', 'tt5916832')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df388863-941a-a52a-4ffd-8ea9d794d1e1'::uuid, 'Tmdb', 1275764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df388863-941a-a52a-4ffd-8ea9d794d1e1'::uuid, 'trakt', 2313363)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df388863-941a-a52a-4ffd-8ea9d794d1e1'::uuid, 'TvMaze', 1076018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df388863-941a-a52a-4ffd-8ea9d794d1e1'::uuid, 'Tvdb', 5972751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25167 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df388863-941a-a52a-4ffd-8ea9d794d1e1'::uuid;

-- Query #25168 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'df388863-941a-a52a-4ffd-8ea9d794d1e1'::uuid;

-- Query #25169 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['df388863-941a-a52a-4ffd-8ea9d794d1e1'::uuid]);

-- Query #25170 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'df388863-941a-a52a-4ffd-8ea9d794d1e1'::uuid;

-- Query #25171 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b03240b2-1ba9-deb8-4e7c-8ecd24633a35'::uuid;

-- Query #25173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b03240b2-1ba9-deb8-4e7c-8ecd24633a35'::uuid]);

-- Query #25174 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b03240b2-1ba9-deb8-4e7c-8ecd24633a35'::uuid;

-- Query #25175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03240b2-1ba9-deb8-4e7c-8ecd24633a35'::uuid, 'Imdb', 'tt5916746')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03240b2-1ba9-deb8-4e7c-8ecd24633a35'::uuid, 'Tmdb', 1236671)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03240b2-1ba9-deb8-4e7c-8ecd24633a35'::uuid, 'trakt', 2313354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03240b2-1ba9-deb8-4e7c-8ecd24633a35'::uuid, 'TvMaze', 978673)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03240b2-1ba9-deb8-4e7c-8ecd24633a35'::uuid, 'Tvdb', 5820976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b03240b2-1ba9-deb8-4e7c-8ecd24633a35'::uuid, 'TmdbCollection', 1236671)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25181 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b03240b2-1ba9-deb8-4e7c-8ecd24633a35'::uuid;

-- Query #25182 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b03240b2-1ba9-deb8-4e7c-8ecd24633a35'::uuid;

-- Query #25183 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b03240b2-1ba9-deb8-4e7c-8ecd24633a35'::uuid]);

-- Query #25184 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b03240b2-1ba9-deb8-4e7c-8ecd24633a35'::uuid;

-- Query #25185 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25186 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a153122d-fca6-d1d4-bf02-7808803733af'::uuid;

-- Query #25187 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a153122d-fca6-d1d4-bf02-7808803733af'::uuid]);

-- Query #25188 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a153122d-fca6-d1d4-bf02-7808803733af'::uuid;

-- Query #25189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a153122d-fca6-d1d4-bf02-7808803733af'::uuid, 'Imdb', 'tt5916482')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a153122d-fca6-d1d4-bf02-7808803733af'::uuid, 'Tmdb', 1228589)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a153122d-fca6-d1d4-bf02-7808803733af'::uuid, 'trakt', 2278100)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a153122d-fca6-d1d4-bf02-7808803733af'::uuid, 'TvMaze', 887969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a153122d-fca6-d1d4-bf02-7808803733af'::uuid, 'Tvdb', 5767751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a153122d-fca6-d1d4-bf02-7808803733af'::uuid, 'TmdbCollection', 1228589)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25195 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a153122d-fca6-d1d4-bf02-7808803733af'::uuid;

-- Query #25196 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a153122d-fca6-d1d4-bf02-7808803733af'::uuid;

-- Query #25197 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a153122d-fca6-d1d4-bf02-7808803733af'::uuid]);

-- Query #25198 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a153122d-fca6-d1d4-bf02-7808803733af'::uuid;

-- Query #25199 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25200 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b259847b-75d0-5d91-68c0-f1fe9e298d8f'::uuid;

-- Query #25201 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b259847b-75d0-5d91-68c0-f1fe9e298d8f'::uuid]);

-- Query #25202 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b259847b-75d0-5d91-68c0-f1fe9e298d8f'::uuid;

-- Query #25203 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b259847b-75d0-5d91-68c0-f1fe9e298d8f'::uuid, 'Imdb', 'tt5916512')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25204 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b259847b-75d0-5d91-68c0-f1fe9e298d8f'::uuid, 'Tmdb', 1229423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b259847b-75d0-5d91-68c0-f1fe9e298d8f'::uuid, 'trakt', 2313352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b259847b-75d0-5d91-68c0-f1fe9e298d8f'::uuid, 'TvMaze', 945961)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b259847b-75d0-5d91-68c0-f1fe9e298d8f'::uuid, 'Tvdb', 5773468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b259847b-75d0-5d91-68c0-f1fe9e298d8f'::uuid, 'TmdbCollection', 1229423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25209 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b259847b-75d0-5d91-68c0-f1fe9e298d8f'::uuid;

-- Query #25210 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b259847b-75d0-5d91-68c0-f1fe9e298d8f'::uuid;

-- Query #25211 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b259847b-75d0-5d91-68c0-f1fe9e298d8f'::uuid]);

-- Query #25212 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b259847b-75d0-5d91-68c0-f1fe9e298d8f'::uuid;

-- Query #25213 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4df43045-35cc-1554-df17-39275979e28e'::uuid;

-- Query #25215 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4df43045-35cc-1554-df17-39275979e28e'::uuid]);

-- Query #25216 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4df43045-35cc-1554-df17-39275979e28e'::uuid;

-- Query #25217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4df43045-35cc-1554-df17-39275979e28e'::uuid, 'Imdb', 'tt5916264')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4df43045-35cc-1554-df17-39275979e28e'::uuid, 'Tmdb', 1223126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4df43045-35cc-1554-df17-39275979e28e'::uuid, 'trakt', 2278096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4df43045-35cc-1554-df17-39275979e28e'::uuid, 'TvMaze', 887967)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4df43045-35cc-1554-df17-39275979e28e'::uuid, 'Tvdb', 5745145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4df43045-35cc-1554-df17-39275979e28e'::uuid, 'TmdbCollection', 1223126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25223 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4df43045-35cc-1554-df17-39275979e28e'::uuid;

-- Query #25224 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4df43045-35cc-1554-df17-39275979e28e'::uuid;

-- Query #25225 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4df43045-35cc-1554-df17-39275979e28e'::uuid]);

-- Query #25226 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4df43045-35cc-1554-df17-39275979e28e'::uuid;

-- Query #25227 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25228 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24e1e3c9-1b8d-bcb4-a17d-a888e0ba1413'::uuid;

-- Query #25229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24e1e3c9-1b8d-bcb4-a17d-a888e0ba1413'::uuid]);

-- Query #25230 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '24e1e3c9-1b8d-bcb4-a17d-a888e0ba1413'::uuid;

-- Query #25231 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24e1e3c9-1b8d-bcb4-a17d-a888e0ba1413'::uuid, 'Imdb', 'tt5518974')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24e1e3c9-1b8d-bcb4-a17d-a888e0ba1413'::uuid, 'Tmdb', 1206223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24e1e3c9-1b8d-bcb4-a17d-a888e0ba1413'::uuid, 'trakt', 2184469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24e1e3c9-1b8d-bcb4-a17d-a888e0ba1413'::uuid, 'TvMaze', 848217)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24e1e3c9-1b8d-bcb4-a17d-a888e0ba1413'::uuid, 'Tvdb', 5640869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24e1e3c9-1b8d-bcb4-a17d-a888e0ba1413'::uuid, 'TmdbCollection', 1206223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25237 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24e1e3c9-1b8d-bcb4-a17d-a888e0ba1413'::uuid;

-- Query #25238 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '24e1e3c9-1b8d-bcb4-a17d-a888e0ba1413'::uuid;

-- Query #25239 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['24e1e3c9-1b8d-bcb4-a17d-a888e0ba1413'::uuid]);

-- Query #25240 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '24e1e3c9-1b8d-bcb4-a17d-a888e0ba1413'::uuid;

-- Query #25241 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25242 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '01114978-6482-d5d0-bb6a-b2417dcfaed7'::uuid;

-- Query #25243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['01114978-6482-d5d0-bb6a-b2417dcfaed7'::uuid]);

-- Query #25244 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '01114978-6482-d5d0-bb6a-b2417dcfaed7'::uuid;

-- Query #25245 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01114978-6482-d5d0-bb6a-b2417dcfaed7'::uuid, 'Imdb', 'tt5916528')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01114978-6482-d5d0-bb6a-b2417dcfaed7'::uuid, 'Tmdb', 1232364)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01114978-6482-d5d0-bb6a-b2417dcfaed7'::uuid, 'trakt', 2313353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01114978-6482-d5d0-bb6a-b2417dcfaed7'::uuid, 'TvMaze', 961165)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01114978-6482-d5d0-bb6a-b2417dcfaed7'::uuid, 'Tvdb', 5793642)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('01114978-6482-d5d0-bb6a-b2417dcfaed7'::uuid, 'TmdbCollection', 1232364)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25251 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '01114978-6482-d5d0-bb6a-b2417dcfaed7'::uuid;

-- Query #25252 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '01114978-6482-d5d0-bb6a-b2417dcfaed7'::uuid;

-- Query #25253 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['01114978-6482-d5d0-bb6a-b2417dcfaed7'::uuid]);

-- Query #25254 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '01114978-6482-d5d0-bb6a-b2417dcfaed7'::uuid;

-- Query #25255 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25256 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af32fed2-4984-4285-1bcc-c32181206388'::uuid;

-- Query #25257 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af32fed2-4984-4285-1bcc-c32181206388'::uuid]);

-- Query #25258 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'af32fed2-4984-4285-1bcc-c32181206388'::uuid;

-- Query #25259 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af32fed2-4984-4285-1bcc-c32181206388'::uuid, 'Imdb', 'tt5916754')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25260 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af32fed2-4984-4285-1bcc-c32181206388'::uuid, 'Tmdb', 1236672)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af32fed2-4984-4285-1bcc-c32181206388'::uuid, 'trakt', 2313355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af32fed2-4984-4285-1bcc-c32181206388'::uuid, 'TvMaze', 995494)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af32fed2-4984-4285-1bcc-c32181206388'::uuid, 'Tvdb', 5821104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af32fed2-4984-4285-1bcc-c32181206388'::uuid, 'TmdbCollection', 1236672)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25265 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af32fed2-4984-4285-1bcc-c32181206388'::uuid;

-- Query #25266 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'af32fed2-4984-4285-1bcc-c32181206388'::uuid;

-- Query #25267 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['af32fed2-4984-4285-1bcc-c32181206388'::uuid]);

-- Query #25268 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'af32fed2-4984-4285-1bcc-c32181206388'::uuid;

-- Query #25269 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25270 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95becf47-8321-eaec-5731-b9c99155c3b3'::uuid;

-- Query #25271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95becf47-8321-eaec-5731-b9c99155c3b3'::uuid]);

-- Query #25272 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '95becf47-8321-eaec-5731-b9c99155c3b3'::uuid;

-- Query #25273 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95becf47-8321-eaec-5731-b9c99155c3b3'::uuid, 'Imdb', 'tt5916458')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95becf47-8321-eaec-5731-b9c99155c3b3'::uuid, 'Tmdb', 1226945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95becf47-8321-eaec-5731-b9c99155c3b3'::uuid, 'trakt', 2278097)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95becf47-8321-eaec-5731-b9c99155c3b3'::uuid, 'TvMaze', 887968)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95becf47-8321-eaec-5731-b9c99155c3b3'::uuid, 'Tvdb', 5757555)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95becf47-8321-eaec-5731-b9c99155c3b3'::uuid, 'TmdbCollection', 1226945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25279 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95becf47-8321-eaec-5731-b9c99155c3b3'::uuid;

-- Query #25280 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '95becf47-8321-eaec-5731-b9c99155c3b3'::uuid;

-- Query #25281 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['95becf47-8321-eaec-5731-b9c99155c3b3'::uuid]);

-- Query #25282 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '95becf47-8321-eaec-5731-b9c99155c3b3'::uuid;

-- Query #25283 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25284 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'caace0e1-2a5f-6db4-639e-2c27bcd34cc3'::uuid;

-- Query #25285 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['caace0e1-2a5f-6db4-639e-2c27bcd34cc3'::uuid]);

-- Query #25286 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'caace0e1-2a5f-6db4-639e-2c27bcd34cc3'::uuid;

-- Query #25287 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caace0e1-2a5f-6db4-639e-2c27bcd34cc3'::uuid, 'TmdbCollection', 1252729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caace0e1-2a5f-6db4-639e-2c27bcd34cc3'::uuid, 'Imdb', 'tt5916792')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caace0e1-2a5f-6db4-639e-2c27bcd34cc3'::uuid, 'Tmdb', 1252729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caace0e1-2a5f-6db4-639e-2c27bcd34cc3'::uuid, 'trakt', 2313360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caace0e1-2a5f-6db4-639e-2c27bcd34cc3'::uuid, 'TvMaze', 1029667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caace0e1-2a5f-6db4-639e-2c27bcd34cc3'::uuid, 'Tvdb', 5905301)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25293 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'caace0e1-2a5f-6db4-639e-2c27bcd34cc3'::uuid;

-- Query #25294 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'caace0e1-2a5f-6db4-639e-2c27bcd34cc3'::uuid;

-- Query #25295 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['caace0e1-2a5f-6db4-639e-2c27bcd34cc3'::uuid]);

-- Query #25296 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'caace0e1-2a5f-6db4-639e-2c27bcd34cc3'::uuid;

-- Query #25297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25298 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd7de20c9-5792-cbcc-6b93-1465b0d85b26'::uuid;

-- Query #25299 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d7de20c9-5792-cbcc-6b93-1465b0d85b26'::uuid]);

-- Query #25300 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd7de20c9-5792-cbcc-6b93-1465b0d85b26'::uuid;

-- Query #25301 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d7de20c9-5792-cbcc-6b93-1465b0d85b26'::uuid, 'Imdb', 'tt5916768')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d7de20c9-5792-cbcc-6b93-1465b0d85b26'::uuid, 'Tmdb', 1236673)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d7de20c9-5792-cbcc-6b93-1465b0d85b26'::uuid, 'trakt', 2313356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d7de20c9-5792-cbcc-6b93-1465b0d85b26'::uuid, 'TvMaze', 1008012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d7de20c9-5792-cbcc-6b93-1465b0d85b26'::uuid, 'Tvdb', 5821105)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d7de20c9-5792-cbcc-6b93-1465b0d85b26'::uuid, 'TmdbCollection', 1236673)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25307 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd7de20c9-5792-cbcc-6b93-1465b0d85b26'::uuid;

-- Query #25308 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd7de20c9-5792-cbcc-6b93-1465b0d85b26'::uuid;

-- Query #25309 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d7de20c9-5792-cbcc-6b93-1465b0d85b26'::uuid]);

-- Query #25310 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd7de20c9-5792-cbcc-6b93-1465b0d85b26'::uuid;

-- Query #25311 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25312 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b164680-578b-f5e0-0fa9-d84065cf799c'::uuid;

-- Query #25313 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b164680-578b-f5e0-0fa9-d84065cf799c'::uuid]);

-- Query #25314 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4b164680-578b-f5e0-0fa9-d84065cf799c'::uuid;

-- Query #25315 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b164680-578b-f5e0-0fa9-d84065cf799c'::uuid, 'Imdb', 'tt5916782')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25316 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b164680-578b-f5e0-0fa9-d84065cf799c'::uuid, 'Tmdb', 1252728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b164680-578b-f5e0-0fa9-d84065cf799c'::uuid, 'trakt', 2313359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25318 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b164680-578b-f5e0-0fa9-d84065cf799c'::uuid, 'TvMaze', 1039837)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b164680-578b-f5e0-0fa9-d84065cf799c'::uuid, 'Tvdb', 5905299)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b164680-578b-f5e0-0fa9-d84065cf799c'::uuid, 'TmdbCollection', 1252728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25321 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b164680-578b-f5e0-0fa9-d84065cf799c'::uuid;

-- Query #25322 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4b164680-578b-f5e0-0fa9-d84065cf799c'::uuid;

-- Query #25323 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4b164680-578b-f5e0-0fa9-d84065cf799c'::uuid]);

-- Query #25324 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4b164680-578b-f5e0-0fa9-d84065cf799c'::uuid;

-- Query #25325 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25326 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd5bc8e42-9949-b1fa-3d40-f641a43890a6'::uuid;

-- Query #25327 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d5bc8e42-9949-b1fa-3d40-f641a43890a6'::uuid]);

-- Query #25328 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd5bc8e42-9949-b1fa-3d40-f641a43890a6'::uuid;

-- Query #25329 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5bc8e42-9949-b1fa-3d40-f641a43890a6'::uuid, 'Imdb', 'tt5916824')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25330 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5bc8e42-9949-b1fa-3d40-f641a43890a6'::uuid, 'Tmdb', 1265156)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5bc8e42-9949-b1fa-3d40-f641a43890a6'::uuid, 'trakt', 2313362)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5bc8e42-9949-b1fa-3d40-f641a43890a6'::uuid, 'TvMaze', 1056672)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25333 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5bc8e42-9949-b1fa-3d40-f641a43890a6'::uuid, 'Tvdb', 5952670)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5bc8e42-9949-b1fa-3d40-f641a43890a6'::uuid, 'TmdbCollection', 1265156)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25335 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd5bc8e42-9949-b1fa-3d40-f641a43890a6'::uuid;

-- Query #25336 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd5bc8e42-9949-b1fa-3d40-f641a43890a6'::uuid;

-- Query #25337 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d5bc8e42-9949-b1fa-3d40-f641a43890a6'::uuid]);

-- Query #25338 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd5bc8e42-9949-b1fa-3d40-f641a43890a6'::uuid;

-- Query #25339 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25340 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '54f5fa80-d67b-b2e8-3cb6-0ffaff8a9102'::uuid;

-- Query #25341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['54f5fa80-d67b-b2e8-3cb6-0ffaff8a9102'::uuid]);

-- Query #25342 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '54f5fa80-d67b-b2e8-3cb6-0ffaff8a9102'::uuid;

-- Query #25343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54f5fa80-d67b-b2e8-3cb6-0ffaff8a9102'::uuid, 'Imdb', 'tt5916818')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54f5fa80-d67b-b2e8-3cb6-0ffaff8a9102'::uuid, 'Tmdb', 1252731)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54f5fa80-d67b-b2e8-3cb6-0ffaff8a9102'::uuid, 'trakt', 2313361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54f5fa80-d67b-b2e8-3cb6-0ffaff8a9102'::uuid, 'TvMaze', 1029668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25347 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54f5fa80-d67b-b2e8-3cb6-0ffaff8a9102'::uuid, 'Tvdb', 5905304)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25348 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54f5fa80-d67b-b2e8-3cb6-0ffaff8a9102'::uuid, 'TmdbCollection', 1252731)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25349 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '54f5fa80-d67b-b2e8-3cb6-0ffaff8a9102'::uuid;

-- Query #25350 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '54f5fa80-d67b-b2e8-3cb6-0ffaff8a9102'::uuid;

-- Query #25351 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['54f5fa80-d67b-b2e8-3cb6-0ffaff8a9102'::uuid]);

-- Query #25352 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '54f5fa80-d67b-b2e8-3cb6-0ffaff8a9102'::uuid;

-- Query #25353 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25354 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92a08fce-b9d7-c013-29b4-03a4913b72d4'::uuid;

-- Query #25355 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92a08fce-b9d7-c013-29b4-03a4913b72d4'::uuid]);

-- Query #25356 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '92a08fce-b9d7-c013-29b4-03a4913b72d4'::uuid;

-- Query #25357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92a08fce-b9d7-c013-29b4-03a4913b72d4'::uuid, 'Imdb', 'tt5916778')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92a08fce-b9d7-c013-29b4-03a4913b72d4'::uuid, 'Tmdb', 1252726)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92a08fce-b9d7-c013-29b4-03a4913b72d4'::uuid, 'trakt', 2313358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25360 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92a08fce-b9d7-c013-29b4-03a4913b72d4'::uuid, 'TvMaze', 1029665)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25361 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92a08fce-b9d7-c013-29b4-03a4913b72d4'::uuid, 'Tvdb', 5905297)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25362 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92a08fce-b9d7-c013-29b4-03a4913b72d4'::uuid, 'TmdbCollection', 1252726)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25363 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92a08fce-b9d7-c013-29b4-03a4913b72d4'::uuid;

-- Query #25364 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '92a08fce-b9d7-c013-29b4-03a4913b72d4'::uuid;

-- Query #25365 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['92a08fce-b9d7-c013-29b4-03a4913b72d4'::uuid]);

-- Query #25366 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '92a08fce-b9d7-c013-29b4-03a4913b72d4'::uuid;

-- Query #25367 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25368 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '116514a3-6bbf-63b4-3354-f38490976cee'::uuid;

-- Query #25369 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['116514a3-6bbf-63b4-3354-f38490976cee'::uuid]);

-- Query #25370 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '116514a3-6bbf-63b4-3354-f38490976cee'::uuid;

-- Query #25371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('116514a3-6bbf-63b4-3354-f38490976cee'::uuid, 'Imdb', 'tt7183130')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('116514a3-6bbf-63b4-3354-f38490976cee'::uuid, 'Tmdb', 1462484)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('116514a3-6bbf-63b4-3354-f38490976cee'::uuid, 'trakt', 2942722)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('116514a3-6bbf-63b4-3354-f38490976cee'::uuid, 'TvMaze', 1436806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25375 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('116514a3-6bbf-63b4-3354-f38490976cee'::uuid, 'Tvdb', 6623998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25376 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('116514a3-6bbf-63b4-3354-f38490976cee'::uuid, 'TmdbCollection', 1462484)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25377 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '116514a3-6bbf-63b4-3354-f38490976cee'::uuid;

-- Query #25378 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '116514a3-6bbf-63b4-3354-f38490976cee'::uuid;

-- Query #25379 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['116514a3-6bbf-63b4-3354-f38490976cee'::uuid]);

-- Query #25380 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '116514a3-6bbf-63b4-3354-f38490976cee'::uuid;

-- Query #25381 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25382 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24b0c4b0-cfb1-ed4d-4728-bc296f542bae'::uuid;

-- Query #25383 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24b0c4b0-cfb1-ed4d-4728-bc296f542bae'::uuid]);

-- Query #25384 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '24b0c4b0-cfb1-ed4d-4728-bc296f542bae'::uuid;

-- Query #25385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24b0c4b0-cfb1-ed4d-4728-bc296f542bae'::uuid, 'Imdb', 'tt7183100')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24b0c4b0-cfb1-ed4d-4728-bc296f542bae'::uuid, 'Tmdb', 1431231)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24b0c4b0-cfb1-ed4d-4728-bc296f542bae'::uuid, 'trakt', 2813297)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24b0c4b0-cfb1-ed4d-4728-bc296f542bae'::uuid, 'TvMaze', 1369081)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25389 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24b0c4b0-cfb1-ed4d-4728-bc296f542bae'::uuid, 'Tvdb', 6443464)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('24b0c4b0-cfb1-ed4d-4728-bc296f542bae'::uuid, 'TmdbCollection', 1431231)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25391 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24b0c4b0-cfb1-ed4d-4728-bc296f542bae'::uuid;

-- Query #25392 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '24b0c4b0-cfb1-ed4d-4728-bc296f542bae'::uuid;

-- Query #25393 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['24b0c4b0-cfb1-ed4d-4728-bc296f542bae'::uuid]);

-- Query #25394 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '24b0c4b0-cfb1-ed4d-4728-bc296f542bae'::uuid;

-- Query #25395 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25396 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '41aee6e3-6986-db96-873a-eb93d7f7c701'::uuid;

-- Query #25397 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['41aee6e3-6986-db96-873a-eb93d7f7c701'::uuid]);

-- Query #25398 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '41aee6e3-6986-db96-873a-eb93d7f7c701'::uuid;

-- Query #25399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41aee6e3-6986-db96-873a-eb93d7f7c701'::uuid, 'Imdb', 'tt7183090')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41aee6e3-6986-db96-873a-eb93d7f7c701'::uuid, 'Tmdb', 1416888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41aee6e3-6986-db96-873a-eb93d7f7c701'::uuid, 'trakt', 2813295)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41aee6e3-6986-db96-873a-eb93d7f7c701'::uuid, 'TvMaze', 1369079)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41aee6e3-6986-db96-873a-eb93d7f7c701'::uuid, 'Tvdb', 6443461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41aee6e3-6986-db96-873a-eb93d7f7c701'::uuid, 'TmdbCollection', 1416888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25405 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '41aee6e3-6986-db96-873a-eb93d7f7c701'::uuid;

-- Query #25406 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '41aee6e3-6986-db96-873a-eb93d7f7c701'::uuid;

-- Query #25407 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['41aee6e3-6986-db96-873a-eb93d7f7c701'::uuid]);

-- Query #25408 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '41aee6e3-6986-db96-873a-eb93d7f7c701'::uuid;

-- Query #25409 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25410 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e48c8d6-9e9f-21e1-636f-e9e40d331949'::uuid;

-- Query #25411 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4e48c8d6-9e9f-21e1-636f-e9e40d331949'::uuid]);

-- Query #25412 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4e48c8d6-9e9f-21e1-636f-e9e40d331949'::uuid;

-- Query #25413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e48c8d6-9e9f-21e1-636f-e9e40d331949'::uuid, 'Imdb', 'tt7183112')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e48c8d6-9e9f-21e1-636f-e9e40d331949'::uuid, 'Tmdb', 1445522)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e48c8d6-9e9f-21e1-636f-e9e40d331949'::uuid, 'trakt', 2912380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e48c8d6-9e9f-21e1-636f-e9e40d331949'::uuid, 'TvMaze', 1418891)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e48c8d6-9e9f-21e1-636f-e9e40d331949'::uuid, 'Tvdb', 6580856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e48c8d6-9e9f-21e1-636f-e9e40d331949'::uuid, 'TmdbCollection', 1445522)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25419 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e48c8d6-9e9f-21e1-636f-e9e40d331949'::uuid;

-- Query #25420 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4e48c8d6-9e9f-21e1-636f-e9e40d331949'::uuid;

-- Query #25421 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4e48c8d6-9e9f-21e1-636f-e9e40d331949'::uuid]);

-- Query #25422 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4e48c8d6-9e9f-21e1-636f-e9e40d331949'::uuid;

-- Query #25423 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25424 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffccb8e5-9741-82e9-03e4-f2840b0022c6'::uuid;

-- Query #25425 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffccb8e5-9741-82e9-03e4-f2840b0022c6'::uuid]);

-- Query #25426 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ffccb8e5-9741-82e9-03e4-f2840b0022c6'::uuid;

-- Query #25427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffccb8e5-9741-82e9-03e4-f2840b0022c6'::uuid, 'TvMaze', 1445220)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffccb8e5-9741-82e9-03e4-f2840b0022c6'::uuid, 'Tvdb', 6646051)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffccb8e5-9741-82e9-03e4-f2840b0022c6'::uuid, 'TmdbCollection', 1472849)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffccb8e5-9741-82e9-03e4-f2840b0022c6'::uuid, 'Imdb', 'tt7183160')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffccb8e5-9741-82e9-03e4-f2840b0022c6'::uuid, 'Tmdb', 1472849)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffccb8e5-9741-82e9-03e4-f2840b0022c6'::uuid, 'trakt', 2957781)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25433 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffccb8e5-9741-82e9-03e4-f2840b0022c6'::uuid;

-- Query #25434 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ffccb8e5-9741-82e9-03e4-f2840b0022c6'::uuid;

-- Query #25435 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ffccb8e5-9741-82e9-03e4-f2840b0022c6'::uuid]);

-- Query #25436 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ffccb8e5-9741-82e9-03e4-f2840b0022c6'::uuid;

-- Query #25437 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25438 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a8cd807a-10c8-8d84-74da-867efcb397ac'::uuid;

-- Query #25439 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8cd807a-10c8-8d84-74da-867efcb397ac'::uuid]);

-- Query #25440 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a8cd807a-10c8-8d84-74da-867efcb397ac'::uuid;

-- Query #25441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a8cd807a-10c8-8d84-74da-867efcb397ac'::uuid, 'TmdbCollection', 1472843)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a8cd807a-10c8-8d84-74da-867efcb397ac'::uuid, 'Imdb', 'tt7183156')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a8cd807a-10c8-8d84-74da-867efcb397ac'::uuid, 'Tmdb', 1472843)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a8cd807a-10c8-8d84-74da-867efcb397ac'::uuid, 'trakt', 2957780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a8cd807a-10c8-8d84-74da-867efcb397ac'::uuid, 'TvMaze', 1445219)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a8cd807a-10c8-8d84-74da-867efcb397ac'::uuid, 'Tvdb', 6646057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25447 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a8cd807a-10c8-8d84-74da-867efcb397ac'::uuid;

-- Query #25448 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a8cd807a-10c8-8d84-74da-867efcb397ac'::uuid;

-- Query #25449 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a8cd807a-10c8-8d84-74da-867efcb397ac'::uuid]);

-- Query #25450 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a8cd807a-10c8-8d84-74da-867efcb397ac'::uuid;

-- Query #25451 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25452 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1883eb7d-deeb-60e1-7798-be193ddcaa75'::uuid;

-- Query #25453 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1883eb7d-deeb-60e1-7798-be193ddcaa75'::uuid]);

-- Query #25454 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1883eb7d-deeb-60e1-7798-be193ddcaa75'::uuid;

-- Query #25455 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1883eb7d-deeb-60e1-7798-be193ddcaa75'::uuid, 'Imdb', 'tt7183078')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1883eb7d-deeb-60e1-7798-be193ddcaa75'::uuid, 'Tmdb', 1407271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1883eb7d-deeb-60e1-7798-be193ddcaa75'::uuid, 'trakt', 2813292)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1883eb7d-deeb-60e1-7798-be193ddcaa75'::uuid, 'TvMaze', 1369076)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25459 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1883eb7d-deeb-60e1-7798-be193ddcaa75'::uuid, 'Tvdb', 6443457)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25460 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1883eb7d-deeb-60e1-7798-be193ddcaa75'::uuid, 'TmdbCollection', 1407271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25461 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1883eb7d-deeb-60e1-7798-be193ddcaa75'::uuid;

-- Query #25462 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1883eb7d-deeb-60e1-7798-be193ddcaa75'::uuid;

-- Query #25463 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1883eb7d-deeb-60e1-7798-be193ddcaa75'::uuid]);

-- Query #25464 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1883eb7d-deeb-60e1-7798-be193ddcaa75'::uuid;

-- Query #25465 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25466 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cdca534d-d27d-4561-5a9d-352c1f548fb0'::uuid;

-- Query #25467 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdca534d-d27d-4561-5a9d-352c1f548fb0'::uuid]);

-- Query #25468 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cdca534d-d27d-4561-5a9d-352c1f548fb0'::uuid;

-- Query #25469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdca534d-d27d-4561-5a9d-352c1f548fb0'::uuid, 'Imdb', 'tt7183126')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdca534d-d27d-4561-5a9d-352c1f548fb0'::uuid, 'Tmdb', 1459965)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdca534d-d27d-4561-5a9d-352c1f548fb0'::uuid, 'trakt', 2929096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdca534d-d27d-4561-5a9d-352c1f548fb0'::uuid, 'TvMaze', 1431607)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25473 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdca534d-d27d-4561-5a9d-352c1f548fb0'::uuid, 'Tvdb', 6605049)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdca534d-d27d-4561-5a9d-352c1f548fb0'::uuid, 'TmdbCollection', 1459965)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25475 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cdca534d-d27d-4561-5a9d-352c1f548fb0'::uuid;

-- Query #25476 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cdca534d-d27d-4561-5a9d-352c1f548fb0'::uuid;

-- Query #25477 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cdca534d-d27d-4561-5a9d-352c1f548fb0'::uuid]);

-- Query #25478 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cdca534d-d27d-4561-5a9d-352c1f548fb0'::uuid;

-- Query #25479 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25480 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #25481 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3db6a640-b1d3-e6e6-7ba7-027f63eaadbd'::uuid;

-- Query #25482 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3db6a640-b1d3-e6e6-7ba7-027f63eaadbd'::uuid]);

-- Query #25483 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3db6a640-b1d3-e6e6-7ba7-027f63eaadbd'::uuid;

-- Query #25484 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3db6a640-b1d3-e6e6-7ba7-027f63eaadbd'::uuid, 'TvMaze', 1427045)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3db6a640-b1d3-e6e6-7ba7-027f63eaadbd'::uuid, 'Tvdb', 6602897)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3db6a640-b1d3-e6e6-7ba7-027f63eaadbd'::uuid, 'TmdbCollection', 1455051)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3db6a640-b1d3-e6e6-7ba7-027f63eaadbd'::uuid, 'Imdb', 'tt7183120')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3db6a640-b1d3-e6e6-7ba7-027f63eaadbd'::uuid, 'Tmdb', 1455051)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3db6a640-b1d3-e6e6-7ba7-027f63eaadbd'::uuid, 'trakt', 2928113)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25490 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3db6a640-b1d3-e6e6-7ba7-027f63eaadbd'::uuid;

-- Query #25491 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3db6a640-b1d3-e6e6-7ba7-027f63eaadbd'::uuid;

-- Query #25492 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3db6a640-b1d3-e6e6-7ba7-027f63eaadbd'::uuid]);

-- Query #25493 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3db6a640-b1d3-e6e6-7ba7-027f63eaadbd'::uuid;

-- Query #25494 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25495 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4859e372-d0dd-b221-4160-f06cc6051bf5'::uuid;

-- Query #25496 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4859e372-d0dd-b221-4160-f06cc6051bf5'::uuid]);

-- Query #25497 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4859e372-d0dd-b221-4160-f06cc6051bf5'::uuid;

-- Query #25498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4859e372-d0dd-b221-4160-f06cc6051bf5'::uuid, 'Imdb', 'tt7183086')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4859e372-d0dd-b221-4160-f06cc6051bf5'::uuid, 'Tmdb', 1411774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4859e372-d0dd-b221-4160-f06cc6051bf5'::uuid, 'trakt', 2813294)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4859e372-d0dd-b221-4160-f06cc6051bf5'::uuid, 'TvMaze', 1369078)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4859e372-d0dd-b221-4160-f06cc6051bf5'::uuid, 'Tvdb', 6443460)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4859e372-d0dd-b221-4160-f06cc6051bf5'::uuid, 'TmdbCollection', 1411774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25504 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4859e372-d0dd-b221-4160-f06cc6051bf5'::uuid;

-- Query #25505 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4859e372-d0dd-b221-4160-f06cc6051bf5'::uuid;

-- Query #25506 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4859e372-d0dd-b221-4160-f06cc6051bf5'::uuid]);

-- Query #25507 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4859e372-d0dd-b221-4160-f06cc6051bf5'::uuid;

-- Query #25508 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25509 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1cec7688-6824-f587-ae21-c65c7fd673aa'::uuid;

-- Query #25510 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1cec7688-6824-f587-ae21-c65c7fd673aa'::uuid]);

-- Query #25511 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1cec7688-6824-f587-ae21-c65c7fd673aa'::uuid;

-- Query #25512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cec7688-6824-f587-ae21-c65c7fd673aa'::uuid, 'Imdb', 'tt7183068')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cec7688-6824-f587-ae21-c65c7fd673aa'::uuid, 'Tmdb', 1397003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cec7688-6824-f587-ae21-c65c7fd673aa'::uuid, 'trakt', 2798799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cec7688-6824-f587-ae21-c65c7fd673aa'::uuid, 'TvMaze', 1359476)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cec7688-6824-f587-ae21-c65c7fd673aa'::uuid, 'Tvdb', 6418102)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1cec7688-6824-f587-ae21-c65c7fd673aa'::uuid, 'TmdbCollection', 1397003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25518 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1cec7688-6824-f587-ae21-c65c7fd673aa'::uuid;

-- Query #25519 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1cec7688-6824-f587-ae21-c65c7fd673aa'::uuid;

-- Query #25520 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1cec7688-6824-f587-ae21-c65c7fd673aa'::uuid]);

-- Query #25521 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1cec7688-6824-f587-ae21-c65c7fd673aa'::uuid;

-- Query #25522 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25523 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd07e6c4-5430-1e77-5402-b2a8160cc9db'::uuid;

-- Query #25524 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd07e6c4-5430-1e77-5402-b2a8160cc9db'::uuid]);

-- Query #25525 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dd07e6c4-5430-1e77-5402-b2a8160cc9db'::uuid;

-- Query #25526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd07e6c4-5430-1e77-5402-b2a8160cc9db'::uuid, 'Imdb', 'tt7183060')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25527 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd07e6c4-5430-1e77-5402-b2a8160cc9db'::uuid, 'Tmdb', 1397002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25528 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd07e6c4-5430-1e77-5402-b2a8160cc9db'::uuid, 'trakt', 2795862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25529 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd07e6c4-5430-1e77-5402-b2a8160cc9db'::uuid, 'TvMaze', 1357412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25530 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd07e6c4-5430-1e77-5402-b2a8160cc9db'::uuid, 'Tvdb', 6413693)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd07e6c4-5430-1e77-5402-b2a8160cc9db'::uuid, 'TmdbCollection', 1397002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25532 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd07e6c4-5430-1e77-5402-b2a8160cc9db'::uuid;

-- Query #25533 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dd07e6c4-5430-1e77-5402-b2a8160cc9db'::uuid;

-- Query #25534 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dd07e6c4-5430-1e77-5402-b2a8160cc9db'::uuid]);

-- Query #25535 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dd07e6c4-5430-1e77-5402-b2a8160cc9db'::uuid;

-- Query #25536 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25537 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6dcd112e-e184-7152-302f-6b908a4b3a38'::uuid;

-- Query #25538 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6dcd112e-e184-7152-302f-6b908a4b3a38'::uuid]);

-- Query #25539 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6dcd112e-e184-7152-302f-6b908a4b3a38'::uuid;

-- Query #25540 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6dcd112e-e184-7152-302f-6b908a4b3a38'::uuid, 'Imdb', 'tt7183150')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25541 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6dcd112e-e184-7152-302f-6b908a4b3a38'::uuid, 'Tmdb', 1472410)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25542 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6dcd112e-e184-7152-302f-6b908a4b3a38'::uuid, 'trakt', 2957775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25543 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6dcd112e-e184-7152-302f-6b908a4b3a38'::uuid, 'TvMaze', 1445218)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6dcd112e-e184-7152-302f-6b908a4b3a38'::uuid, 'Tvdb', 6646056)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6dcd112e-e184-7152-302f-6b908a4b3a38'::uuid, 'TmdbCollection', 1472410)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25546 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6dcd112e-e184-7152-302f-6b908a4b3a38'::uuid;

-- Query #25547 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6dcd112e-e184-7152-302f-6b908a4b3a38'::uuid;

-- Query #25548 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6dcd112e-e184-7152-302f-6b908a4b3a38'::uuid]);

-- Query #25549 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6dcd112e-e184-7152-302f-6b908a4b3a38'::uuid;

-- Query #25550 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25551 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff927f08-4ea7-bedc-dcae-295f0ad07e7d'::uuid;

-- Query #25552 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff927f08-4ea7-bedc-dcae-295f0ad07e7d'::uuid]);

-- Query #25553 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ff927f08-4ea7-bedc-dcae-295f0ad07e7d'::uuid;

-- Query #25554 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff927f08-4ea7-bedc-dcae-295f0ad07e7d'::uuid, 'TmdbCollection', 1467645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff927f08-4ea7-bedc-dcae-295f0ad07e7d'::uuid, 'Imdb', 'tt7183140')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25556 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff927f08-4ea7-bedc-dcae-295f0ad07e7d'::uuid, 'Tmdb', 1467645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25557 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff927f08-4ea7-bedc-dcae-295f0ad07e7d'::uuid, 'trakt', 2952809)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25558 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff927f08-4ea7-bedc-dcae-295f0ad07e7d'::uuid, 'TvMaze', 1440707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25559 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff927f08-4ea7-bedc-dcae-295f0ad07e7d'::uuid, 'Tvdb', 6635606)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25560 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff927f08-4ea7-bedc-dcae-295f0ad07e7d'::uuid;

-- Query #25561 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ff927f08-4ea7-bedc-dcae-295f0ad07e7d'::uuid;

-- Query #25562 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ff927f08-4ea7-bedc-dcae-295f0ad07e7d'::uuid]);

-- Query #25563 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ff927f08-4ea7-bedc-dcae-295f0ad07e7d'::uuid;

-- Query #25564 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25565 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d02850c-436e-99ee-44d6-13f9232dd3b6'::uuid;

-- Query #25566 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d02850c-436e-99ee-44d6-13f9232dd3b6'::uuid]);

-- Query #25567 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2d02850c-436e-99ee-44d6-13f9232dd3b6'::uuid;

-- Query #25568 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d02850c-436e-99ee-44d6-13f9232dd3b6'::uuid, 'Imdb', 'tt6878538')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25569 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d02850c-436e-99ee-44d6-13f9232dd3b6'::uuid, 'Tmdb', 1377164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d02850c-436e-99ee-44d6-13f9232dd3b6'::uuid, 'trakt', 2578669)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d02850c-436e-99ee-44d6-13f9232dd3b6'::uuid, 'TvMaze', 1327188)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25572 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d02850c-436e-99ee-44d6-13f9232dd3b6'::uuid, 'Tvdb', 6276702)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25573 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d02850c-436e-99ee-44d6-13f9232dd3b6'::uuid, 'TmdbCollection', 1377164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25574 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d02850c-436e-99ee-44d6-13f9232dd3b6'::uuid;

-- Query #25575 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2d02850c-436e-99ee-44d6-13f9232dd3b6'::uuid;

-- Query #25576 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2d02850c-436e-99ee-44d6-13f9232dd3b6'::uuid]);

-- Query #25577 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2d02850c-436e-99ee-44d6-13f9232dd3b6'::uuid;

-- Query #25578 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25579 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '69565545-88a2-c8a5-cff1-f129193ba2d1'::uuid;

-- Query #25580 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['69565545-88a2-c8a5-cff1-f129193ba2d1'::uuid]);

-- Query #25581 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '69565545-88a2-c8a5-cff1-f129193ba2d1'::uuid;

-- Query #25582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69565545-88a2-c8a5-cff1-f129193ba2d1'::uuid, 'TmdbCollection', 1378310)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69565545-88a2-c8a5-cff1-f129193ba2d1'::uuid, 'Imdb', 'tt7178426')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69565545-88a2-c8a5-cff1-f129193ba2d1'::uuid, 'Tmdb', 1378310)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69565545-88a2-c8a5-cff1-f129193ba2d1'::uuid, 'trakt', 2754541)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69565545-88a2-c8a5-cff1-f129193ba2d1'::uuid, 'TvMaze', 1354781)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25587 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69565545-88a2-c8a5-cff1-f129193ba2d1'::uuid, 'Tvdb', 6407853)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25588 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '69565545-88a2-c8a5-cff1-f129193ba2d1'::uuid;

-- Query #25589 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '69565545-88a2-c8a5-cff1-f129193ba2d1'::uuid;

-- Query #25590 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['69565545-88a2-c8a5-cff1-f129193ba2d1'::uuid]);

-- Query #25591 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '69565545-88a2-c8a5-cff1-f129193ba2d1'::uuid;

-- Query #25592 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25593 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '601717a8-b052-358e-ed7f-29237049a2f0'::uuid;

-- Query #25594 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['601717a8-b052-358e-ed7f-29237049a2f0'::uuid]);

-- Query #25595 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '601717a8-b052-358e-ed7f-29237049a2f0'::uuid;

-- Query #25596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('601717a8-b052-358e-ed7f-29237049a2f0'::uuid, 'Imdb', 'tt7183092')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('601717a8-b052-358e-ed7f-29237049a2f0'::uuid, 'Tmdb', 1418736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('601717a8-b052-358e-ed7f-29237049a2f0'::uuid, 'trakt', 2813296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('601717a8-b052-358e-ed7f-29237049a2f0'::uuid, 'TvMaze', 1388410)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('601717a8-b052-358e-ed7f-29237049a2f0'::uuid, 'Tvdb', 6443462)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('601717a8-b052-358e-ed7f-29237049a2f0'::uuid, 'TmdbCollection', 1418736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25602 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '601717a8-b052-358e-ed7f-29237049a2f0'::uuid;

-- Query #25603 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '601717a8-b052-358e-ed7f-29237049a2f0'::uuid;

-- Query #25604 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['601717a8-b052-358e-ed7f-29237049a2f0'::uuid]);

-- Query #25605 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '601717a8-b052-358e-ed7f-29237049a2f0'::uuid;

-- Query #25606 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25607 | logged_duration_ms=10 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T22:22:52.2645057Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #25608 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d0d67ae-ec3c-c1c4-34a7-3bab0dc119a0'::uuid;

-- Query #25609 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d0d67ae-ec3c-c1c4-34a7-3bab0dc119a0'::uuid]);

-- Query #25610 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0d0d67ae-ec3c-c1c4-34a7-3bab0dc119a0'::uuid;

-- Query #25611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d0d67ae-ec3c-c1c4-34a7-3bab0dc119a0'::uuid, 'Tvdb', 6567042)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d0d67ae-ec3c-c1c4-34a7-3bab0dc119a0'::uuid, 'TmdbCollection', 1437458)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d0d67ae-ec3c-c1c4-34a7-3bab0dc119a0'::uuid, 'Imdb', 'tt7183106')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25614 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d0d67ae-ec3c-c1c4-34a7-3bab0dc119a0'::uuid, 'Tmdb', 1437458)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d0d67ae-ec3c-c1c4-34a7-3bab0dc119a0'::uuid, 'trakt', 2903113)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0d0d67ae-ec3c-c1c4-34a7-3bab0dc119a0'::uuid, 'TvMaze', 1415224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25617 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0d0d67ae-ec3c-c1c4-34a7-3bab0dc119a0'::uuid;

-- Query #25618 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0d0d67ae-ec3c-c1c4-34a7-3bab0dc119a0'::uuid;

-- Query #25619 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0d0d67ae-ec3c-c1c4-34a7-3bab0dc119a0'::uuid]);

-- Query #25620 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0d0d67ae-ec3c-c1c4-34a7-3bab0dc119a0'::uuid;

-- Query #25621 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25622 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '73a6ae5a-8822-7e3c-fdcc-f2a6c3aa61bf'::uuid;

-- Query #25623 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['73a6ae5a-8822-7e3c-fdcc-f2a6c3aa61bf'::uuid]);

-- Query #25624 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '73a6ae5a-8822-7e3c-fdcc-f2a6c3aa61bf'::uuid;

-- Query #25625 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73a6ae5a-8822-7e3c-fdcc-f2a6c3aa61bf'::uuid, 'Imdb', 'tt7183104')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73a6ae5a-8822-7e3c-fdcc-f2a6c3aa61bf'::uuid, 'Tmdb', 1434147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73a6ae5a-8822-7e3c-fdcc-f2a6c3aa61bf'::uuid, 'trakt', 2813298)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73a6ae5a-8822-7e3c-fdcc-f2a6c3aa61bf'::uuid, 'TvMaze', 1369082)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73a6ae5a-8822-7e3c-fdcc-f2a6c3aa61bf'::uuid, 'Tvdb', 6443465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73a6ae5a-8822-7e3c-fdcc-f2a6c3aa61bf'::uuid, 'TmdbCollection', 1434147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25631 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '73a6ae5a-8822-7e3c-fdcc-f2a6c3aa61bf'::uuid;

-- Query #25632 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '73a6ae5a-8822-7e3c-fdcc-f2a6c3aa61bf'::uuid;

-- Query #25633 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['73a6ae5a-8822-7e3c-fdcc-f2a6c3aa61bf'::uuid]);

-- Query #25634 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '73a6ae5a-8822-7e3c-fdcc-f2a6c3aa61bf'::uuid;

-- Query #25635 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25636 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd37dd9bd-84f2-f8bd-8937-e132ffcd63a4'::uuid;

-- Query #25637 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d37dd9bd-84f2-f8bd-8937-e132ffcd63a4'::uuid]);

-- Query #25638 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd37dd9bd-84f2-f8bd-8937-e132ffcd63a4'::uuid;

-- Query #25639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37dd9bd-84f2-f8bd-8937-e132ffcd63a4'::uuid, 'Imdb', 'tt7183072')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37dd9bd-84f2-f8bd-8937-e132ffcd63a4'::uuid, 'Tmdb', 1397004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37dd9bd-84f2-f8bd-8937-e132ffcd63a4'::uuid, 'trakt', 2798804)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37dd9bd-84f2-f8bd-8937-e132ffcd63a4'::uuid, 'TvMaze', 1359477)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37dd9bd-84f2-f8bd-8937-e132ffcd63a4'::uuid, 'Tvdb', 6418103)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37dd9bd-84f2-f8bd-8937-e132ffcd63a4'::uuid, 'TmdbCollection', 1397004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25645 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd37dd9bd-84f2-f8bd-8937-e132ffcd63a4'::uuid;

-- Query #25646 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd37dd9bd-84f2-f8bd-8937-e132ffcd63a4'::uuid;

-- Query #25647 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d37dd9bd-84f2-f8bd-8937-e132ffcd63a4'::uuid]);

-- Query #25648 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd37dd9bd-84f2-f8bd-8937-e132ffcd63a4'::uuid;

-- Query #25649 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25650 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'caab0889-9b44-5d39-f3a7-0247622b47ad'::uuid;

-- Query #25651 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['caab0889-9b44-5d39-f3a7-0247622b47ad'::uuid]);

-- Query #25652 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'caab0889-9b44-5d39-f3a7-0247622b47ad'::uuid;

-- Query #25653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caab0889-9b44-5d39-f3a7-0247622b47ad'::uuid, 'Imdb', 'tt7183116')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caab0889-9b44-5d39-f3a7-0247622b47ad'::uuid, 'Tmdb', 1449541)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caab0889-9b44-5d39-f3a7-0247622b47ad'::uuid, 'trakt', 2920698)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caab0889-9b44-5d39-f3a7-0247622b47ad'::uuid, 'TvMaze', 1422615)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caab0889-9b44-5d39-f3a7-0247622b47ad'::uuid, 'Tvdb', 6591413)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caab0889-9b44-5d39-f3a7-0247622b47ad'::uuid, 'TmdbCollection', 1449541)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'caab0889-9b44-5d39-f3a7-0247622b47ad'::uuid;

-- Query #25660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'caab0889-9b44-5d39-f3a7-0247622b47ad'::uuid;

-- Query #25661 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['caab0889-9b44-5d39-f3a7-0247622b47ad'::uuid]);

-- Query #25662 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'caab0889-9b44-5d39-f3a7-0247622b47ad'::uuid;

-- Query #25663 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25664 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bae8ad4d-8923-6ac4-145f-cfa0757c2da4'::uuid;

-- Query #25665 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bae8ad4d-8923-6ac4-145f-cfa0757c2da4'::uuid]);

-- Query #25666 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bae8ad4d-8923-6ac4-145f-cfa0757c2da4'::uuid;

-- Query #25667 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bae8ad4d-8923-6ac4-145f-cfa0757c2da4'::uuid, 'Imdb', 'tt7183084')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25668 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bae8ad4d-8923-6ac4-145f-cfa0757c2da4'::uuid, 'Tmdb', 1408720)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bae8ad4d-8923-6ac4-145f-cfa0757c2da4'::uuid, 'trakt', 2813293)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bae8ad4d-8923-6ac4-145f-cfa0757c2da4'::uuid, 'TvMaze', 1369077)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bae8ad4d-8923-6ac4-145f-cfa0757c2da4'::uuid, 'Tvdb', 6443459)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bae8ad4d-8923-6ac4-145f-cfa0757c2da4'::uuid, 'TmdbCollection', 1408720)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25673 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bae8ad4d-8923-6ac4-145f-cfa0757c2da4'::uuid;

-- Query #25674 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bae8ad4d-8923-6ac4-145f-cfa0757c2da4'::uuid;

-- Query #25675 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bae8ad4d-8923-6ac4-145f-cfa0757c2da4'::uuid]);

-- Query #25676 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bae8ad4d-8923-6ac4-145f-cfa0757c2da4'::uuid;

-- Query #25677 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'abbddf41-96ba-fb2c-f3da-9d55df192a7a'::uuid;

-- Query #25679 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['abbddf41-96ba-fb2c-f3da-9d55df192a7a'::uuid]);

-- Query #25680 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'abbddf41-96ba-fb2c-f3da-9d55df192a7a'::uuid;

-- Query #25681 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('abbddf41-96ba-fb2c-f3da-9d55df192a7a'::uuid, 'TmdbCollection', 1788237)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25682 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('abbddf41-96ba-fb2c-f3da-9d55df192a7a'::uuid, 'Imdb', 'tt8416910')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25683 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('abbddf41-96ba-fb2c-f3da-9d55df192a7a'::uuid, 'Tmdb', 1788237)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25684 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('abbddf41-96ba-fb2c-f3da-9d55df192a7a'::uuid, 'trakt', 3271757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25685 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('abbddf41-96ba-fb2c-f3da-9d55df192a7a'::uuid, 'TvMaze', 1648578)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('abbddf41-96ba-fb2c-f3da-9d55df192a7a'::uuid, 'Tvdb', 6935406)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25687 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'abbddf41-96ba-fb2c-f3da-9d55df192a7a'::uuid;

-- Query #25688 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'abbddf41-96ba-fb2c-f3da-9d55df192a7a'::uuid;

-- Query #25689 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['abbddf41-96ba-fb2c-f3da-9d55df192a7a'::uuid]);

-- Query #25690 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'abbddf41-96ba-fb2c-f3da-9d55df192a7a'::uuid;

-- Query #25691 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25692 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '25a1bbde-bb35-518c-6154-bcf86426a8bf'::uuid;

-- Query #25693 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25a1bbde-bb35-518c-6154-bcf86426a8bf'::uuid]);

-- Query #25694 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '25a1bbde-bb35-518c-6154-bcf86426a8bf'::uuid;

-- Query #25695 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25a1bbde-bb35-518c-6154-bcf86426a8bf'::uuid, 'Imdb', 'tt8422650')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25696 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25a1bbde-bb35-518c-6154-bcf86426a8bf'::uuid, 'Tmdb', 1822980)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25697 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25a1bbde-bb35-518c-6154-bcf86426a8bf'::uuid, 'trakt', 3271794)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25698 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25a1bbde-bb35-518c-6154-bcf86426a8bf'::uuid, 'TvMaze', 1668279)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25699 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25a1bbde-bb35-518c-6154-bcf86426a8bf'::uuid, 'Tvdb', 6935417)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25a1bbde-bb35-518c-6154-bcf86426a8bf'::uuid, 'TmdbCollection', 1822980)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25701 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '25a1bbde-bb35-518c-6154-bcf86426a8bf'::uuid;

-- Query #25702 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '25a1bbde-bb35-518c-6154-bcf86426a8bf'::uuid;

-- Query #25703 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['25a1bbde-bb35-518c-6154-bcf86426a8bf'::uuid]);

-- Query #25704 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '25a1bbde-bb35-518c-6154-bcf86426a8bf'::uuid;

-- Query #25705 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25706 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '577f0660-3dde-568f-80a5-a396fdf8f840'::uuid;

-- Query #25707 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['577f0660-3dde-568f-80a5-a396fdf8f840'::uuid]);

-- Query #25708 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '577f0660-3dde-568f-80a5-a396fdf8f840'::uuid;

-- Query #25709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('577f0660-3dde-568f-80a5-a396fdf8f840'::uuid, 'Imdb', 'tt8422652')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('577f0660-3dde-568f-80a5-a396fdf8f840'::uuid, 'Tmdb', 1836869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('577f0660-3dde-568f-80a5-a396fdf8f840'::uuid, 'trakt', 3271805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25712 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('577f0660-3dde-568f-80a5-a396fdf8f840'::uuid, 'TvMaze', 1668280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('577f0660-3dde-568f-80a5-a396fdf8f840'::uuid, 'Tvdb', 6935420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('577f0660-3dde-568f-80a5-a396fdf8f840'::uuid, 'TmdbCollection', 1836869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25715 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '577f0660-3dde-568f-80a5-a396fdf8f840'::uuid;

-- Query #25716 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '577f0660-3dde-568f-80a5-a396fdf8f840'::uuid;

-- Query #25717 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['577f0660-3dde-568f-80a5-a396fdf8f840'::uuid]);

-- Query #25718 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '577f0660-3dde-568f-80a5-a396fdf8f840'::uuid;

-- Query #25719 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25720 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3ba743e4-b79c-958e-a762-ed9ec7c82ed4'::uuid;

-- Query #25721 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ba743e4-b79c-958e-a762-ed9ec7c82ed4'::uuid]);

-- Query #25722 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3ba743e4-b79c-958e-a762-ed9ec7c82ed4'::uuid;

-- Query #25723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ba743e4-b79c-958e-a762-ed9ec7c82ed4'::uuid, 'Imdb', 'tt8416904')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ba743e4-b79c-958e-a762-ed9ec7c82ed4'::uuid, 'Tmdb', 1788236)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ba743e4-b79c-958e-a762-ed9ec7c82ed4'::uuid, 'trakt', 3271749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25726 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ba743e4-b79c-958e-a762-ed9ec7c82ed4'::uuid, 'TvMaze', 1645660)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25727 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ba743e4-b79c-958e-a762-ed9ec7c82ed4'::uuid, 'Tvdb', 6935403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ba743e4-b79c-958e-a762-ed9ec7c82ed4'::uuid, 'TmdbCollection', 1788236)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25729 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3ba743e4-b79c-958e-a762-ed9ec7c82ed4'::uuid;

-- Query #25730 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3ba743e4-b79c-958e-a762-ed9ec7c82ed4'::uuid;

-- Query #25731 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3ba743e4-b79c-958e-a762-ed9ec7c82ed4'::uuid]);

-- Query #25732 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3ba743e4-b79c-958e-a762-ed9ec7c82ed4'::uuid;

-- Query #25733 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25734 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0a589212-036c-0263-b005-ef6def77f7fd'::uuid;

-- Query #25735 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a589212-036c-0263-b005-ef6def77f7fd'::uuid]);

-- Query #25736 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0a589212-036c-0263-b005-ef6def77f7fd'::uuid;

-- Query #25737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a589212-036c-0263-b005-ef6def77f7fd'::uuid, 'TmdbCollection', 1847343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a589212-036c-0263-b005-ef6def77f7fd'::uuid, 'Imdb', 'tt8422660')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a589212-036c-0263-b005-ef6def77f7fd'::uuid, 'Tmdb', 1847343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a589212-036c-0263-b005-ef6def77f7fd'::uuid, 'trakt', 3271807)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a589212-036c-0263-b005-ef6def77f7fd'::uuid, 'TvMaze', 1672839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25742 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a589212-036c-0263-b005-ef6def77f7fd'::uuid, 'Tvdb', 6935422)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25743 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0a589212-036c-0263-b005-ef6def77f7fd'::uuid;

-- Query #25744 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0a589212-036c-0263-b005-ef6def77f7fd'::uuid;

-- Query #25745 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0a589212-036c-0263-b005-ef6def77f7fd'::uuid]);

-- Query #25746 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0a589212-036c-0263-b005-ef6def77f7fd'::uuid;

-- Query #25747 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25748 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '98ad320c-85a8-bdbb-16d6-9110d7f5a4b4'::uuid;

-- Query #25749 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['98ad320c-85a8-bdbb-16d6-9110d7f5a4b4'::uuid]);

-- Query #25750 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '98ad320c-85a8-bdbb-16d6-9110d7f5a4b4'::uuid;

-- Query #25751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98ad320c-85a8-bdbb-16d6-9110d7f5a4b4'::uuid, 'Imdb', 'tt8416914')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98ad320c-85a8-bdbb-16d6-9110d7f5a4b4'::uuid, 'Tmdb', 1808381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25753 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98ad320c-85a8-bdbb-16d6-9110d7f5a4b4'::uuid, 'trakt', 3271774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98ad320c-85a8-bdbb-16d6-9110d7f5a4b4'::uuid, 'TvMaze', 1648344)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98ad320c-85a8-bdbb-16d6-9110d7f5a4b4'::uuid, 'Tvdb', 6935411)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98ad320c-85a8-bdbb-16d6-9110d7f5a4b4'::uuid, 'TmdbCollection', 1808381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '98ad320c-85a8-bdbb-16d6-9110d7f5a4b4'::uuid;

-- Query #25758 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '98ad320c-85a8-bdbb-16d6-9110d7f5a4b4'::uuid;

-- Query #25759 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['98ad320c-85a8-bdbb-16d6-9110d7f5a4b4'::uuid]);

-- Query #25760 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '98ad320c-85a8-bdbb-16d6-9110d7f5a4b4'::uuid;

-- Query #25761 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25762 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89725b62-251b-fb9a-e4e1-b6be7dc107a2'::uuid;

-- Query #25763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['89725b62-251b-fb9a-e4e1-b6be7dc107a2'::uuid]);

-- Query #25764 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '89725b62-251b-fb9a-e4e1-b6be7dc107a2'::uuid;

-- Query #25765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89725b62-251b-fb9a-e4e1-b6be7dc107a2'::uuid, 'Imdb', 'tt8422656')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89725b62-251b-fb9a-e4e1-b6be7dc107a2'::uuid, 'Tmdb', 1838465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89725b62-251b-fb9a-e4e1-b6be7dc107a2'::uuid, 'trakt', 3271806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89725b62-251b-fb9a-e4e1-b6be7dc107a2'::uuid, 'TvMaze', 1668558)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89725b62-251b-fb9a-e4e1-b6be7dc107a2'::uuid, 'Tvdb', 6935421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89725b62-251b-fb9a-e4e1-b6be7dc107a2'::uuid, 'TmdbCollection', 1838465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25771 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89725b62-251b-fb9a-e4e1-b6be7dc107a2'::uuid;

-- Query #25772 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '89725b62-251b-fb9a-e4e1-b6be7dc107a2'::uuid;

-- Query #25773 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['89725b62-251b-fb9a-e4e1-b6be7dc107a2'::uuid]);

-- Query #25774 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '89725b62-251b-fb9a-e4e1-b6be7dc107a2'::uuid;

-- Query #25775 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25776 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3506f8ae-b6b7-5de8-6743-119131e028af'::uuid;

-- Query #25777 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3506f8ae-b6b7-5de8-6743-119131e028af'::uuid]);

-- Query #25778 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3506f8ae-b6b7-5de8-6743-119131e028af'::uuid;

-- Query #25779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3506f8ae-b6b7-5de8-6743-119131e028af'::uuid, 'Imdb', 'tt8416608')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3506f8ae-b6b7-5de8-6743-119131e028af'::uuid, 'Tmdb', 1743280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3506f8ae-b6b7-5de8-6743-119131e028af'::uuid, 'trakt', 3090690)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3506f8ae-b6b7-5de8-6743-119131e028af'::uuid, 'TvMaze', 1499431)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3506f8ae-b6b7-5de8-6743-119131e028af'::uuid, 'Tvdb', 6767808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3506f8ae-b6b7-5de8-6743-119131e028af'::uuid, 'TmdbCollection', 1743280)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25785 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3506f8ae-b6b7-5de8-6743-119131e028af'::uuid;

-- Query #25786 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3506f8ae-b6b7-5de8-6743-119131e028af'::uuid;

-- Query #25787 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3506f8ae-b6b7-5de8-6743-119131e028af'::uuid]);

-- Query #25788 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3506f8ae-b6b7-5de8-6743-119131e028af'::uuid;

-- Query #25789 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25790 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3cb43b5-725a-a099-f6be-6b608a788030'::uuid;

-- Query #25791 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3cb43b5-725a-a099-f6be-6b608a788030'::uuid]);

-- Query #25792 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f3cb43b5-725a-a099-f6be-6b608a788030'::uuid;

-- Query #25793 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3cb43b5-725a-a099-f6be-6b608a788030'::uuid, 'TvMaze', 1648579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3cb43b5-725a-a099-f6be-6b608a788030'::uuid, 'Tvdb', 6935408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3cb43b5-725a-a099-f6be-6b608a788030'::uuid, 'TmdbCollection', 1801327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3cb43b5-725a-a099-f6be-6b608a788030'::uuid, 'Imdb', 'tt8416912')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3cb43b5-725a-a099-f6be-6b608a788030'::uuid, 'Tmdb', 1801327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3cb43b5-725a-a099-f6be-6b608a788030'::uuid, 'trakt', 3271766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25799 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3cb43b5-725a-a099-f6be-6b608a788030'::uuid;

-- Query #25800 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f3cb43b5-725a-a099-f6be-6b608a788030'::uuid;

-- Query #25801 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f3cb43b5-725a-a099-f6be-6b608a788030'::uuid]);

-- Query #25802 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f3cb43b5-725a-a099-f6be-6b608a788030'::uuid;

-- Query #25803 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25804 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f8193c4-8418-db8b-759d-1e6bb432d913'::uuid;

-- Query #25805 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f8193c4-8418-db8b-759d-1e6bb432d913'::uuid]);

-- Query #25806 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7f8193c4-8418-db8b-759d-1e6bb432d913'::uuid;

-- Query #25807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f8193c4-8418-db8b-759d-1e6bb432d913'::uuid, 'Imdb', 'tt8422664')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25808 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f8193c4-8418-db8b-759d-1e6bb432d913'::uuid, 'Tmdb', 1861570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f8193c4-8418-db8b-759d-1e6bb432d913'::uuid, 'trakt', 3271808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f8193c4-8418-db8b-759d-1e6bb432d913'::uuid, 'TvMaze', 1673318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25811 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f8193c4-8418-db8b-759d-1e6bb432d913'::uuid, 'Tvdb', 6935425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25812 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f8193c4-8418-db8b-759d-1e6bb432d913'::uuid, 'TmdbCollection', 1861570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25813 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f8193c4-8418-db8b-759d-1e6bb432d913'::uuid;

-- Query #25814 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7f8193c4-8418-db8b-759d-1e6bb432d913'::uuid;

-- Query #25815 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7f8193c4-8418-db8b-759d-1e6bb432d913'::uuid]);

-- Query #25816 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7f8193c4-8418-db8b-759d-1e6bb432d913'::uuid;

-- Query #25817 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25818 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '27e992c9-4bb0-f47f-34cd-e48f9841d5c5'::uuid;

-- Query #25819 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['27e992c9-4bb0-f47f-34cd-e48f9841d5c5'::uuid]);

-- Query #25820 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '27e992c9-4bb0-f47f-34cd-e48f9841d5c5'::uuid;

-- Query #25821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e992c9-4bb0-f47f-34cd-e48f9841d5c5'::uuid, 'Imdb', 'tt8416916')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e992c9-4bb0-f47f-34cd-e48f9841d5c5'::uuid, 'Tmdb', 1822979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25823 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e992c9-4bb0-f47f-34cd-e48f9841d5c5'::uuid, 'trakt', 3271784)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e992c9-4bb0-f47f-34cd-e48f9841d5c5'::uuid, 'TvMaze', 1664981)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e992c9-4bb0-f47f-34cd-e48f9841d5c5'::uuid, 'Tvdb', 6935414)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e992c9-4bb0-f47f-34cd-e48f9841d5c5'::uuid, 'TmdbCollection', 1822979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25827 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '27e992c9-4bb0-f47f-34cd-e48f9841d5c5'::uuid;

-- Query #25828 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '27e992c9-4bb0-f47f-34cd-e48f9841d5c5'::uuid;

-- Query #25829 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['27e992c9-4bb0-f47f-34cd-e48f9841d5c5'::uuid]);

-- Query #25830 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '27e992c9-4bb0-f47f-34cd-e48f9841d5c5'::uuid;

-- Query #25831 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25832 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f08deda-31e4-975b-da82-853b6fba177c'::uuid;

-- Query #25833 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f08deda-31e4-975b-da82-853b6fba177c'::uuid]);

-- Query #25834 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7f08deda-31e4-975b-da82-853b6fba177c'::uuid;

-- Query #25835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f08deda-31e4-975b-da82-853b6fba177c'::uuid, 'trakt', 3271743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25836 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f08deda-31e4-975b-da82-853b6fba177c'::uuid, 'TvMaze', 1645659)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f08deda-31e4-975b-da82-853b6fba177c'::uuid, 'Tvdb', 6935401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f08deda-31e4-975b-da82-853b6fba177c'::uuid, 'TmdbCollection', 1779346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f08deda-31e4-975b-da82-853b6fba177c'::uuid, 'Imdb', 'tt8416896')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f08deda-31e4-975b-da82-853b6fba177c'::uuid, 'Tmdb', 1779346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25841 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f08deda-31e4-975b-da82-853b6fba177c'::uuid;

-- Query #25842 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7f08deda-31e4-975b-da82-853b6fba177c'::uuid;

-- Query #25843 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7f08deda-31e4-975b-da82-853b6fba177c'::uuid]);

-- Query #25844 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7f08deda-31e4-975b-da82-853b6fba177c'::uuid;

-- Query #25845 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25846 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #25847 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d6d5064-cad4-ca5b-bc6a-b5e35a5a3351'::uuid;

-- Query #25848 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d6d5064-cad4-ca5b-bc6a-b5e35a5a3351'::uuid]);

-- Query #25849 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5d6d5064-cad4-ca5b-bc6a-b5e35a5a3351'::uuid;

-- Query #25850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d6d5064-cad4-ca5b-bc6a-b5e35a5a3351'::uuid, 'Imdb', 'tt9307256')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d6d5064-cad4-ca5b-bc6a-b5e35a5a3351'::uuid, 'Tmdb', 2310163)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d6d5064-cad4-ca5b-bc6a-b5e35a5a3351'::uuid, 'trakt', 4268681)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d6d5064-cad4-ca5b-bc6a-b5e35a5a3351'::uuid, 'TvMaze', 1839333)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d6d5064-cad4-ca5b-bc6a-b5e35a5a3351'::uuid, 'Tvdb', 7813741)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d6d5064-cad4-ca5b-bc6a-b5e35a5a3351'::uuid, 'TmdbCollection', 2310163)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25856 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d6d5064-cad4-ca5b-bc6a-b5e35a5a3351'::uuid;

-- Query #25857 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5d6d5064-cad4-ca5b-bc6a-b5e35a5a3351'::uuid;

-- Query #25858 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5d6d5064-cad4-ca5b-bc6a-b5e35a5a3351'::uuid]);

-- Query #25859 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5d6d5064-cad4-ca5b-bc6a-b5e35a5a3351'::uuid;

-- Query #25860 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25861 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44cb07cd-a302-1026-57b9-5b96a89eec08'::uuid;

-- Query #25862 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44cb07cd-a302-1026-57b9-5b96a89eec08'::uuid]);

-- Query #25863 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '44cb07cd-a302-1026-57b9-5b96a89eec08'::uuid;

-- Query #25864 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44cb07cd-a302-1026-57b9-5b96a89eec08'::uuid, 'Imdb', 'tt9307260')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44cb07cd-a302-1026-57b9-5b96a89eec08'::uuid, 'Tmdb', 2332782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44cb07cd-a302-1026-57b9-5b96a89eec08'::uuid, 'trakt', 4268683)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44cb07cd-a302-1026-57b9-5b96a89eec08'::uuid, 'TvMaze', 1839335)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25868 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44cb07cd-a302-1026-57b9-5b96a89eec08'::uuid, 'Tvdb', 7813743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25869 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44cb07cd-a302-1026-57b9-5b96a89eec08'::uuid, 'TmdbCollection', 2332782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25870 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44cb07cd-a302-1026-57b9-5b96a89eec08'::uuid;

-- Query #25871 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '44cb07cd-a302-1026-57b9-5b96a89eec08'::uuid;

-- Query #25872 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['44cb07cd-a302-1026-57b9-5b96a89eec08'::uuid]);

-- Query #25873 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '44cb07cd-a302-1026-57b9-5b96a89eec08'::uuid;

-- Query #25874 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25875 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b155aa2f-1c9d-dca2-3667-c420d69b0d7e'::uuid;

-- Query #25876 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b155aa2f-1c9d-dca2-3667-c420d69b0d7e'::uuid]);

-- Query #25877 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b155aa2f-1c9d-dca2-3667-c420d69b0d7e'::uuid;

-- Query #25878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b155aa2f-1c9d-dca2-3667-c420d69b0d7e'::uuid, 'Imdb', 'tt9307262')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b155aa2f-1c9d-dca2-3667-c420d69b0d7e'::uuid, 'Tmdb', 2332787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b155aa2f-1c9d-dca2-3667-c420d69b0d7e'::uuid, 'trakt', 4310255)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b155aa2f-1c9d-dca2-3667-c420d69b0d7e'::uuid, 'TvMaze', 1839336)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b155aa2f-1c9d-dca2-3667-c420d69b0d7e'::uuid, 'Tvdb', 7836367)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b155aa2f-1c9d-dca2-3667-c420d69b0d7e'::uuid, 'TmdbCollection', 2332787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25884 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b155aa2f-1c9d-dca2-3667-c420d69b0d7e'::uuid;

-- Query #25885 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b155aa2f-1c9d-dca2-3667-c420d69b0d7e'::uuid;

-- Query #25886 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b155aa2f-1c9d-dca2-3667-c420d69b0d7e'::uuid]);

-- Query #25887 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b155aa2f-1c9d-dca2-3667-c420d69b0d7e'::uuid;

-- Query #25888 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25889 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1e17e941-4e88-010a-1637-0006d7cd05fa'::uuid;

-- Query #25890 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1e17e941-4e88-010a-1637-0006d7cd05fa'::uuid]);

-- Query #25891 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1e17e941-4e88-010a-1637-0006d7cd05fa'::uuid;

-- Query #25892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1e17e941-4e88-010a-1637-0006d7cd05fa'::uuid, 'Imdb', 'tt9307266')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1e17e941-4e88-010a-1637-0006d7cd05fa'::uuid, 'Tmdb', 2332790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1e17e941-4e88-010a-1637-0006d7cd05fa'::uuid, 'trakt', 4310278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25895 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1e17e941-4e88-010a-1637-0006d7cd05fa'::uuid, 'TvMaze', 1839338)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1e17e941-4e88-010a-1637-0006d7cd05fa'::uuid, 'Tvdb', 7836370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1e17e941-4e88-010a-1637-0006d7cd05fa'::uuid, 'TmdbCollection', 2332790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25898 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1e17e941-4e88-010a-1637-0006d7cd05fa'::uuid;

-- Query #25899 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1e17e941-4e88-010a-1637-0006d7cd05fa'::uuid;

-- Query #25900 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1e17e941-4e88-010a-1637-0006d7cd05fa'::uuid]);

-- Query #25901 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1e17e941-4e88-010a-1637-0006d7cd05fa'::uuid;

-- Query #25902 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25903 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '15f69422-6f17-ad31-f59f-b5f861dd7062'::uuid;

-- Query #25904 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['15f69422-6f17-ad31-f59f-b5f861dd7062'::uuid]);

-- Query #25905 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '15f69422-6f17-ad31-f59f-b5f861dd7062'::uuid;

-- Query #25906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15f69422-6f17-ad31-f59f-b5f861dd7062'::uuid, 'Imdb', 'tt9307268')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15f69422-6f17-ad31-f59f-b5f861dd7062'::uuid, 'Tmdb', 2332792)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15f69422-6f17-ad31-f59f-b5f861dd7062'::uuid, 'trakt', 4310305)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15f69422-6f17-ad31-f59f-b5f861dd7062'::uuid, 'TvMaze', 1839339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15f69422-6f17-ad31-f59f-b5f861dd7062'::uuid, 'Tvdb', 7836371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15f69422-6f17-ad31-f59f-b5f861dd7062'::uuid, 'TmdbCollection', 2332792)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25912 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '15f69422-6f17-ad31-f59f-b5f861dd7062'::uuid;

-- Query #25913 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '15f69422-6f17-ad31-f59f-b5f861dd7062'::uuid;

-- Query #25914 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['15f69422-6f17-ad31-f59f-b5f861dd7062'::uuid]);

-- Query #25915 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '15f69422-6f17-ad31-f59f-b5f861dd7062'::uuid;

-- Query #25916 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25917 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '45f1a10a-c8d4-4b3a-2845-9cad62b6f582'::uuid;

-- Query #25918 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['45f1a10a-c8d4-4b3a-2845-9cad62b6f582'::uuid]);

-- Query #25919 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '45f1a10a-c8d4-4b3a-2845-9cad62b6f582'::uuid;

-- Query #25920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45f1a10a-c8d4-4b3a-2845-9cad62b6f582'::uuid, 'TmdbCollection', 2278844)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45f1a10a-c8d4-4b3a-2845-9cad62b6f582'::uuid, 'Imdb', 'tt9307248')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45f1a10a-c8d4-4b3a-2845-9cad62b6f582'::uuid, 'Tmdb', 2278844)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45f1a10a-c8d4-4b3a-2845-9cad62b6f582'::uuid, 'trakt', 4206481)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45f1a10a-c8d4-4b3a-2845-9cad62b6f582'::uuid, 'TvMaze', 1839329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45f1a10a-c8d4-4b3a-2845-9cad62b6f582'::uuid, 'Tvdb', 7764804)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25926 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '45f1a10a-c8d4-4b3a-2845-9cad62b6f582'::uuid;

-- Query #25927 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '45f1a10a-c8d4-4b3a-2845-9cad62b6f582'::uuid;

-- Query #25928 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['45f1a10a-c8d4-4b3a-2845-9cad62b6f582'::uuid]);

-- Query #25929 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '45f1a10a-c8d4-4b3a-2845-9cad62b6f582'::uuid;

-- Query #25930 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25931 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4985ec0c-270a-6eab-b487-9ad499101218'::uuid;

-- Query #25932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4985ec0c-270a-6eab-b487-9ad499101218'::uuid]);

-- Query #25933 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4985ec0c-270a-6eab-b487-9ad499101218'::uuid;

-- Query #25934 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4985ec0c-270a-6eab-b487-9ad499101218'::uuid, 'Imdb', 'tt9292314')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4985ec0c-270a-6eab-b487-9ad499101218'::uuid, 'Tmdb', 2226179)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4985ec0c-270a-6eab-b487-9ad499101218'::uuid, 'trakt', 3455189)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4985ec0c-270a-6eab-b487-9ad499101218'::uuid, 'TvMaze', 1839278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4985ec0c-270a-6eab-b487-9ad499101218'::uuid, 'Tvdb', 7689329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4985ec0c-270a-6eab-b487-9ad499101218'::uuid, 'TmdbCollection', 2226179)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25940 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4985ec0c-270a-6eab-b487-9ad499101218'::uuid;

-- Query #25941 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4985ec0c-270a-6eab-b487-9ad499101218'::uuid;

-- Query #25942 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4985ec0c-270a-6eab-b487-9ad499101218'::uuid]);

-- Query #25943 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4985ec0c-270a-6eab-b487-9ad499101218'::uuid;

-- Query #25944 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25945 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '774e44b8-99fb-9703-9ec4-eec229fa76de'::uuid;

-- Query #25946 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['774e44b8-99fb-9703-9ec4-eec229fa76de'::uuid]);

-- Query #25947 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '774e44b8-99fb-9703-9ec4-eec229fa76de'::uuid;

-- Query #25948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('774e44b8-99fb-9703-9ec4-eec229fa76de'::uuid, 'Imdb', 'tt9307252')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('774e44b8-99fb-9703-9ec4-eec229fa76de'::uuid, 'Tmdb', 2296468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('774e44b8-99fb-9703-9ec4-eec229fa76de'::uuid, 'trakt', 4236430)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('774e44b8-99fb-9703-9ec4-eec229fa76de'::uuid, 'TvMaze', 1839331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('774e44b8-99fb-9703-9ec4-eec229fa76de'::uuid, 'Tvdb', 7787366)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('774e44b8-99fb-9703-9ec4-eec229fa76de'::uuid, 'TmdbCollection', 2296468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '774e44b8-99fb-9703-9ec4-eec229fa76de'::uuid;

-- Query #25955 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '774e44b8-99fb-9703-9ec4-eec229fa76de'::uuid;

-- Query #25956 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['774e44b8-99fb-9703-9ec4-eec229fa76de'::uuid]);

-- Query #25957 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '774e44b8-99fb-9703-9ec4-eec229fa76de'::uuid;

-- Query #25958 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25959 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '361aae16-f642-be44-3234-265fa17de0cc'::uuid;

-- Query #25960 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['361aae16-f642-be44-3234-265fa17de0cc'::uuid]);

-- Query #25961 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '361aae16-f642-be44-3234-265fa17de0cc'::uuid;

-- Query #25962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('361aae16-f642-be44-3234-265fa17de0cc'::uuid, 'Imdb', 'tt9307264')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('361aae16-f642-be44-3234-265fa17de0cc'::uuid, 'Tmdb', 2332788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25964 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('361aae16-f642-be44-3234-265fa17de0cc'::uuid, 'trakt', 4310261)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('361aae16-f642-be44-3234-265fa17de0cc'::uuid, 'TvMaze', 1839337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('361aae16-f642-be44-3234-265fa17de0cc'::uuid, 'Tvdb', 7836368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('361aae16-f642-be44-3234-265fa17de0cc'::uuid, 'TmdbCollection', 2332788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25968 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '361aae16-f642-be44-3234-265fa17de0cc'::uuid;

-- Query #25969 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '361aae16-f642-be44-3234-265fa17de0cc'::uuid;

-- Query #25970 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['361aae16-f642-be44-3234-265fa17de0cc'::uuid]);

-- Query #25971 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '361aae16-f642-be44-3234-265fa17de0cc'::uuid;

-- Query #25972 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25973 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd48ceae1-73d2-6dc1-5d8f-81f510ae0624'::uuid;

-- Query #25974 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d48ceae1-73d2-6dc1-5d8f-81f510ae0624'::uuid]);

-- Query #25975 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd48ceae1-73d2-6dc1-5d8f-81f510ae0624'::uuid;

-- Query #25976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d48ceae1-73d2-6dc1-5d8f-81f510ae0624'::uuid, 'Imdb', 'tt9307258')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d48ceae1-73d2-6dc1-5d8f-81f510ae0624'::uuid, 'Tmdb', 2314808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d48ceae1-73d2-6dc1-5d8f-81f510ae0624'::uuid, 'trakt', 4268682)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d48ceae1-73d2-6dc1-5d8f-81f510ae0624'::uuid, 'TvMaze', 1839334)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d48ceae1-73d2-6dc1-5d8f-81f510ae0624'::uuid, 'Tvdb', 7813742)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d48ceae1-73d2-6dc1-5d8f-81f510ae0624'::uuid, 'TmdbCollection', 2314808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd48ceae1-73d2-6dc1-5d8f-81f510ae0624'::uuid;

-- Query #25983 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd48ceae1-73d2-6dc1-5d8f-81f510ae0624'::uuid;

-- Query #25984 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d48ceae1-73d2-6dc1-5d8f-81f510ae0624'::uuid]);

-- Query #25985 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd48ceae1-73d2-6dc1-5d8f-81f510ae0624'::uuid;

-- Query #25986 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #25987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '111a2fe2-a526-d8b4-ff98-b19791d5ddc9'::uuid;

-- Query #25988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['111a2fe2-a526-d8b4-ff98-b19791d5ddc9'::uuid]);

-- Query #25989 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '111a2fe2-a526-d8b4-ff98-b19791d5ddc9'::uuid;

-- Query #25990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('111a2fe2-a526-d8b4-ff98-b19791d5ddc9'::uuid, 'Imdb', 'tt9307254')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('111a2fe2-a526-d8b4-ff98-b19791d5ddc9'::uuid, 'Tmdb', 2296469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('111a2fe2-a526-d8b4-ff98-b19791d5ddc9'::uuid, 'trakt', 4236431)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('111a2fe2-a526-d8b4-ff98-b19791d5ddc9'::uuid, 'TvMaze', 1839332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('111a2fe2-a526-d8b4-ff98-b19791d5ddc9'::uuid, 'Tvdb', 7787470)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('111a2fe2-a526-d8b4-ff98-b19791d5ddc9'::uuid, 'TmdbCollection', 2296469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #25996 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '111a2fe2-a526-d8b4-ff98-b19791d5ddc9'::uuid;

-- Query #25997 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '111a2fe2-a526-d8b4-ff98-b19791d5ddc9'::uuid;

-- Query #25998 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['111a2fe2-a526-d8b4-ff98-b19791d5ddc9'::uuid]);

-- Query #25999 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '111a2fe2-a526-d8b4-ff98-b19791d5ddc9'::uuid;

-- Query #26000 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid, '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26001 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '421841b6-22db-07a4-8fd0-215ca41f1004'::uuid
ORDER BY b."SortName";

-- Query #26002 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '425616e2-1e12-3bf9-7845-7a75efbb199e'::uuid
ORDER BY b."SortName";

-- Query #26003 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '30104448-da99-5e1b-3429-fdfcdac733f4'::uuid
ORDER BY b."SortName";

-- Query #26004 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd71d3a3a-c1a1-a589-844b-198022d436c8'::uuid
ORDER BY b."SortName";

-- Query #26005 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '373ad21c-2f47-1b86-1e97-c3ce915b4dfe'::uuid
ORDER BY b."SortName";

-- Query #26006 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b5f10f1c-21bc-12a5-5ea8-52ce79066f24'::uuid
ORDER BY b."SortName";

-- Query #26007 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a6b9bbb1-d634-fd2c-66fb-514f157e9ce6'::uuid
ORDER BY b."SortName";

-- Query #26008 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7173f93e-b5ab-95e7-b303-4d609ff9fc07'::uuid
ORDER BY b."SortName";

-- Query #26009 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '421841b622db07a48fd0215ca41f1004'
ORDER BY b."SortName", b."Name";

-- Query #26010 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid
ORDER BY b."SortName";

-- Query #26011 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid])
ORDER BY b."Id";

-- Query #26012 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid])
ORDER BY b."Id";

-- Query #26013 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid])
ORDER BY b."Id";

-- Query #26014 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid])
ORDER BY b."Id";

-- Query #26015 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid])
ORDER BY b."Id";

-- Query #26016 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid
ORDER BY b."SortName";

-- Query #26017 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid
ORDER BY b."SortName";

-- Query #26018 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid
ORDER BY b."SortName";

-- Query #26019 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid
ORDER BY b."SortName";

-- Query #26020 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid
ORDER BY b."SortName";

-- Query #26021 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid;

-- Query #26022 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid]);

-- Query #26023 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid;

-- Query #26024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, 'Imdb', 'tt2455546')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, 'Tmdb', 59427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, 'TmdbCollection', 59427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, 'Tvdb', 264030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, 'TvMaze', 2540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, 'TvRage', 31945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, 'wikidata', 'Q3896442')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26031 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid;

-- Query #26032 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid;

-- Query #26033 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid]);

-- Query #26034 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid;

-- Query #26035 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26036 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '636a53c2047ad3e20b6a6737a3d9ba35'
ORDER BY b."SortName", b."Name";

-- Query #26037 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid
ORDER BY b."SortName";

-- Query #26038 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid])
ORDER BY b."Id";

-- Query #26039 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid])
ORDER BY b."Id";

-- Query #26040 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid])
ORDER BY b."Id";

-- Query #26041 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid])
ORDER BY b."Id";

-- Query #26042 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid])
ORDER BY b."Id";

-- Query #26043 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid
ORDER BY b."SortName";

-- Query #26044 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid
ORDER BY b."SortName";

-- Query #26045 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid
ORDER BY b."SortName";

-- Query #26046 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid
ORDER BY b."SortName";

-- Query #26047 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid
ORDER BY b."SortName";

-- Query #26048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '636a53c2047ad3e20b6a6737a3d9ba35'
ORDER BY b."SortName", b."Name";

-- Query #26049 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid;

-- Query #26050 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid]);

-- Query #26051 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid;

-- Query #26052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, 'Tvdb', 264030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, 'Tmdb', 59427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26054 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, 'Imdb', 'tt2455546')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26055 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, 'TvMaze', 2540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26056 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, 'TvRage', 31945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26057 | logged_duration_ms=10 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #26058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, 'wikidata', 'Q3896442')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, 'TmdbCollection', 59427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26060 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid;

-- Query #26061 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid;

-- Query #26062 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+superhero']);

-- Query #26063 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid]);

-- Query #26064 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid;

-- Query #26065 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26066 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '636a53c2047ad3e20b6a6737a3d9ba35'
ORDER BY b."SortName", b."Name";

-- Query #26067 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid;

-- Query #26068 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid]);

-- Query #26069 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid;

-- Query #26070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'Tvdb', 264030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'Imdb', 'tt2455546')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'TvMaze', 2540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'TvRage', 31945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'wikidata', 'Q3896442')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'Tmdb', 59427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'TmdbCollection', 59427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26077 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid;

-- Query #26078 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid;

-- Query #26079 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+superhero']);

-- Query #26080 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid]);

-- Query #26081 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid;

-- Query #26082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26083 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '636a53c2047ad3e20b6a6737a3d9ba35'
ORDER BY b."SortName", b."Name";

-- Query #26084 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid;

-- Query #26085 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid]);

-- Query #26086 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid;

-- Query #26087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'TmdbCollection', 59427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'Tmdb', 59427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'Imdb', 'tt2455546')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'TvMaze', 2540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'TvRage', 31945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'wikidata', 'Q3896442')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'Tvdb', 264030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26094 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid;

-- Query #26095 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid;

-- Query #26096 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+superhero']);

-- Query #26097 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid]);

-- Query #26098 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid;

-- Query #26099 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26100 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '636a53c2047ad3e20b6a6737a3d9ba35'
ORDER BY b."SortName", b."Name";

-- Query #26101 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid;

-- Query #26102 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid]);

-- Query #26103 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid;

-- Query #26104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, 'Tvdb', 264030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, 'Tmdb', 59427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, 'Imdb', 'tt2455546')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, 'TvMaze', 2540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, 'TvRage', 31945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, 'wikidata', 'Q3896442')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, 'TmdbCollection', 59427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26111 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid;

-- Query #26112 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid;

-- Query #26113 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+superhero']);

-- Query #26114 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid]);

-- Query #26115 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid;

-- Query #26116 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26117 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '636a53c2047ad3e20b6a6737a3d9ba35'
ORDER BY b."SortName", b."Name";

-- Query #26118 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid;

-- Query #26119 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid]);

-- Query #26120 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid;

-- Query #26121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, 'wikidata', 'Q3896442')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, 'TmdbCollection', 59427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, 'Tvdb', 264030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, 'Tmdb', 59427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26125 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, 'Imdb', 'tt2455546')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, 'TvMaze', 2540)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26127 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, 'TvRage', 31945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26128 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid;

-- Query #26129 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid;

-- Query #26130 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+superhero']);

-- Query #26131 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid]);

-- Query #26132 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid;

-- Query #26133 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26134 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aadb3217-316c-02be-6059-d51a07774e22'::uuid;

-- Query #26135 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aadb3217-316c-02be-6059-d51a07774e22'::uuid]);

-- Query #26136 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'aadb3217-316c-02be-6059-d51a07774e22'::uuid;

-- Query #26137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aadb3217-316c-02be-6059-d51a07774e22'::uuid, 'Imdb', 'tt3129504')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aadb3217-316c-02be-6059-d51a07774e22'::uuid, 'Tmdb', 1047349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26139 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aadb3217-316c-02be-6059-d51a07774e22'::uuid, 'TmdbCollection', 1047349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26140 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aadb3217-316c-02be-6059-d51a07774e22'::uuid, 'trakt', 1184869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26141 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aadb3217-316c-02be-6059-d51a07774e22'::uuid, 'Tvdb', 4811451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26142 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aadb3217-316c-02be-6059-d51a07774e22'::uuid, 'TvMaze', 190153)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26143 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aadb3217-316c-02be-6059-d51a07774e22'::uuid;

-- Query #26144 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'aadb3217-316c-02be-6059-d51a07774e22'::uuid;

-- Query #26145 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['aadb3217-316c-02be-6059-d51a07774e22'::uuid]);

-- Query #26146 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'aadb3217-316c-02be-6059-d51a07774e22'::uuid;

-- Query #26147 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26148 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8a9629b-2e7e-d4c8-8cca-5245960e2446'::uuid;

-- Query #26149 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d8a9629b-2e7e-d4c8-8cca-5245960e2446'::uuid]);

-- Query #26150 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd8a9629b-2e7e-d4c8-8cca-5245960e2446'::uuid;

-- Query #26151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8a9629b-2e7e-d4c8-8cca-5245960e2446'::uuid, 'Imdb', 'tt3129500')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8a9629b-2e7e-d4c8-8cca-5245960e2446'::uuid, 'Tmdb', 1047348)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8a9629b-2e7e-d4c8-8cca-5245960e2446'::uuid, 'TmdbCollection', 1047348)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26154 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8a9629b-2e7e-d4c8-8cca-5245960e2446'::uuid, 'trakt', 1184780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26155 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8a9629b-2e7e-d4c8-8cca-5245960e2446'::uuid, 'Tvdb', 4811450)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26156 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8a9629b-2e7e-d4c8-8cca-5245960e2446'::uuid, 'TvMaze', 190152)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26157 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8a9629b-2e7e-d4c8-8cca-5245960e2446'::uuid;

-- Query #26158 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd8a9629b-2e7e-d4c8-8cca-5245960e2446'::uuid;

-- Query #26159 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d8a9629b-2e7e-d4c8-8cca-5245960e2446'::uuid]);

-- Query #26160 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd8a9629b-2e7e-d4c8-8cca-5245960e2446'::uuid;

-- Query #26161 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26162 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '76166137-4f24-7444-ef7f-e203f4a52613'::uuid;

-- Query #26163 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['76166137-4f24-7444-ef7f-e203f4a52613'::uuid]);

-- Query #26164 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '76166137-4f24-7444-ef7f-e203f4a52613'::uuid;

-- Query #26165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76166137-4f24-7444-ef7f-e203f4a52613'::uuid, 'Imdb', 'tt3129478')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76166137-4f24-7444-ef7f-e203f4a52613'::uuid, 'Tmdb', 1047340)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76166137-4f24-7444-ef7f-e203f4a52613'::uuid, 'TmdbCollection', 1047340)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76166137-4f24-7444-ef7f-e203f4a52613'::uuid, 'trakt', 1184092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26169 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76166137-4f24-7444-ef7f-e203f4a52613'::uuid, 'Tvdb', 4679033)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26170 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76166137-4f24-7444-ef7f-e203f4a52613'::uuid, 'TvMaze', 190145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26171 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '76166137-4f24-7444-ef7f-e203f4a52613'::uuid;

-- Query #26172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '76166137-4f24-7444-ef7f-e203f4a52613'::uuid;

-- Query #26173 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['76166137-4f24-7444-ef7f-e203f4a52613'::uuid]);

-- Query #26174 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '76166137-4f24-7444-ef7f-e203f4a52613'::uuid;

-- Query #26175 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26176 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a3a0d27-c655-2839-1eb5-f73c8fdc7f76'::uuid;

-- Query #26177 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a3a0d27-c655-2839-1eb5-f73c8fdc7f76'::uuid]);

-- Query #26178 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6a3a0d27-c655-2839-1eb5-f73c8fdc7f76'::uuid;

-- Query #26179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a3a0d27-c655-2839-1eb5-f73c8fdc7f76'::uuid, 'Imdb', 'tt2473294')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a3a0d27-c655-2839-1eb5-f73c8fdc7f76'::uuid, 'Tmdb', 1031143)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a3a0d27-c655-2839-1eb5-f73c8fdc7f76'::uuid, 'TmdbCollection', 1031143)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a3a0d27-c655-2839-1eb5-f73c8fdc7f76'::uuid, 'trakt', 1183224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26183 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a3a0d27-c655-2839-1eb5-f73c8fdc7f76'::uuid, 'Tvdb', 4490126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26184 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a3a0d27-c655-2839-1eb5-f73c8fdc7f76'::uuid, 'TvMaze', 190134)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26185 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a3a0d27-c655-2839-1eb5-f73c8fdc7f76'::uuid;

-- Query #26186 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6a3a0d27-c655-2839-1eb5-f73c8fdc7f76'::uuid;

-- Query #26187 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #26188 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6a3a0d27-c655-2839-1eb5-f73c8fdc7f76'::uuid]);

-- Query #26189 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6a3a0d27-c655-2839-1eb5-f73c8fdc7f76'::uuid;

-- Query #26190 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26191 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '84540c85-dc34-c205-40c6-7066101949d9'::uuid;

-- Query #26192 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['84540c85-dc34-c205-40c6-7066101949d9'::uuid]);

-- Query #26193 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '84540c85-dc34-c205-40c6-7066101949d9'::uuid;

-- Query #26194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84540c85-dc34-c205-40c6-7066101949d9'::uuid, 'Imdb', 'tt2490342')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84540c85-dc34-c205-40c6-7066101949d9'::uuid, 'Tmdb', 1031145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84540c85-dc34-c205-40c6-7066101949d9'::uuid, 'TmdbCollection', 1031145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84540c85-dc34-c205-40c6-7066101949d9'::uuid, 'trakt', 1183305)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84540c85-dc34-c205-40c6-7066101949d9'::uuid, 'Tvdb', 4574435)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26199 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84540c85-dc34-c205-40c6-7066101949d9'::uuid, 'TvMaze', 190135)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26200 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '84540c85-dc34-c205-40c6-7066101949d9'::uuid;

-- Query #26201 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '84540c85-dc34-c205-40c6-7066101949d9'::uuid;

-- Query #26202 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['84540c85-dc34-c205-40c6-7066101949d9'::uuid]);

-- Query #26203 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '84540c85-dc34-c205-40c6-7066101949d9'::uuid;

-- Query #26204 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26205 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '238c6868-e826-dc02-d0fa-1c5e3f4e504c'::uuid;

-- Query #26206 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['238c6868-e826-dc02-d0fa-1c5e3f4e504c'::uuid]);

-- Query #26207 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '238c6868-e826-dc02-d0fa-1c5e3f4e504c'::uuid;

-- Query #26208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('238c6868-e826-dc02-d0fa-1c5e3f4e504c'::uuid, 'Imdb', 'tt2905208')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('238c6868-e826-dc02-d0fa-1c5e3f4e504c'::uuid, 'Tmdb', 1047329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('238c6868-e826-dc02-d0fa-1c5e3f4e504c'::uuid, 'TmdbCollection', 1047329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('238c6868-e826-dc02-d0fa-1c5e3f4e504c'::uuid, 'trakt', 1183580)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('238c6868-e826-dc02-d0fa-1c5e3f4e504c'::uuid, 'Tvdb', 4607645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('238c6868-e826-dc02-d0fa-1c5e3f4e504c'::uuid, 'TvMaze', 190138)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '238c6868-e826-dc02-d0fa-1c5e3f4e504c'::uuid;

-- Query #26215 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '238c6868-e826-dc02-d0fa-1c5e3f4e504c'::uuid;

-- Query #26216 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['238c6868-e826-dc02-d0fa-1c5e3f4e504c'::uuid]);

-- Query #26217 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '238c6868-e826-dc02-d0fa-1c5e3f4e504c'::uuid;

-- Query #26218 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26219 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '636b4b79-991d-efe6-068a-acf87c6b47d5'::uuid;

-- Query #26220 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['636b4b79-991d-efe6-068a-acf87c6b47d5'::uuid]);

-- Query #26221 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '636b4b79-991d-efe6-068a-acf87c6b47d5'::uuid;

-- Query #26222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('636b4b79-991d-efe6-068a-acf87c6b47d5'::uuid, 'Imdb', 'tt3129488')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('636b4b79-991d-efe6-068a-acf87c6b47d5'::uuid, 'Tmdb', 1047345)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('636b4b79-991d-efe6-068a-acf87c6b47d5'::uuid, 'TmdbCollection', 1047345)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26225 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('636b4b79-991d-efe6-068a-acf87c6b47d5'::uuid, 'trakt', 1184484)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26226 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('636b4b79-991d-efe6-068a-acf87c6b47d5'::uuid, 'Tvdb', 4786839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26227 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('636b4b79-991d-efe6-068a-acf87c6b47d5'::uuid, 'TvMaze', 190149)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26228 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '636b4b79-991d-efe6-068a-acf87c6b47d5'::uuid;

-- Query #26229 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '636b4b79-991d-efe6-068a-acf87c6b47d5'::uuid;

-- Query #26230 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['636b4b79-991d-efe6-068a-acf87c6b47d5'::uuid]);

-- Query #26231 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '636b4b79-991d-efe6-068a-acf87c6b47d5'::uuid;

-- Query #26232 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26233 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5da5d8f4-9e90-136f-3933-635a883f53ef'::uuid;

-- Query #26234 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5da5d8f4-9e90-136f-3933-635a883f53ef'::uuid]);

-- Query #26235 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5da5d8f4-9e90-136f-3933-635a883f53ef'::uuid;

-- Query #26236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5da5d8f4-9e90-136f-3933-635a883f53ef'::uuid, 'Imdb', 'tt3129506')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5da5d8f4-9e90-136f-3933-635a883f53ef'::uuid, 'Tmdb', 1047350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5da5d8f4-9e90-136f-3933-635a883f53ef'::uuid, 'TmdbCollection', 1047350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26239 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5da5d8f4-9e90-136f-3933-635a883f53ef'::uuid, 'trakt', 1184976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26240 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5da5d8f4-9e90-136f-3933-635a883f53ef'::uuid, 'Tvdb', 4811452)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26241 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5da5d8f4-9e90-136f-3933-635a883f53ef'::uuid, 'TvMaze', 190154)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26242 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5da5d8f4-9e90-136f-3933-635a883f53ef'::uuid;

-- Query #26243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5da5d8f4-9e90-136f-3933-635a883f53ef'::uuid;

-- Query #26244 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5da5d8f4-9e90-136f-3933-635a883f53ef'::uuid]);

-- Query #26245 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5da5d8f4-9e90-136f-3933-635a883f53ef'::uuid;

-- Query #26246 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26247 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '66c52502-dc37-2e08-f4b5-55557ac69cdf'::uuid;

-- Query #26248 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['66c52502-dc37-2e08-f4b5-55557ac69cdf'::uuid]);

-- Query #26249 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '66c52502-dc37-2e08-f4b5-55557ac69cdf'::uuid;

-- Query #26250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66c52502-dc37-2e08-f4b5-55557ac69cdf'::uuid, 'Imdb', 'tt3129474')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66c52502-dc37-2e08-f4b5-55557ac69cdf'::uuid, 'Tmdb', 1047337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66c52502-dc37-2e08-f4b5-55557ac69cdf'::uuid, 'TmdbCollection', 1047337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66c52502-dc37-2e08-f4b5-55557ac69cdf'::uuid, 'trakt', 1183941)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66c52502-dc37-2e08-f4b5-55557ac69cdf'::uuid, 'Tvdb', 4645519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66c52502-dc37-2e08-f4b5-55557ac69cdf'::uuid, 'TvMaze', 190143)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26256 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '66c52502-dc37-2e08-f4b5-55557ac69cdf'::uuid;

-- Query #26257 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '66c52502-dc37-2e08-f4b5-55557ac69cdf'::uuid;

-- Query #26258 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['66c52502-dc37-2e08-f4b5-55557ac69cdf'::uuid]);

-- Query #26259 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '66c52502-dc37-2e08-f4b5-55557ac69cdf'::uuid;

-- Query #26260 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26261 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '94489ee5-f2bf-cbb2-f0c6-21dbf4519783'::uuid;

-- Query #26262 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['94489ee5-f2bf-cbb2-f0c6-21dbf4519783'::uuid]);

-- Query #26263 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '94489ee5-f2bf-cbb2-f0c6-21dbf4519783'::uuid;

-- Query #26264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94489ee5-f2bf-cbb2-f0c6-21dbf4519783'::uuid, 'Imdb', 'tt3646512')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94489ee5-f2bf-cbb2-f0c6-21dbf4519783'::uuid, 'Tmdb', 1047355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94489ee5-f2bf-cbb2-f0c6-21dbf4519783'::uuid, 'TmdbCollection', 1047355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26267 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94489ee5-f2bf-cbb2-f0c6-21dbf4519783'::uuid, 'trakt', 1185316)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94489ee5-f2bf-cbb2-f0c6-21dbf4519783'::uuid, 'Tvdb', 4872940)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94489ee5-f2bf-cbb2-f0c6-21dbf4519783'::uuid, 'TvMaze', 190158)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26270 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '94489ee5-f2bf-cbb2-f0c6-21dbf4519783'::uuid;

-- Query #26271 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '94489ee5-f2bf-cbb2-f0c6-21dbf4519783'::uuid;

-- Query #26272 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['94489ee5-f2bf-cbb2-f0c6-21dbf4519783'::uuid]);

-- Query #26273 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '94489ee5-f2bf-cbb2-f0c6-21dbf4519783'::uuid;

-- Query #26274 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26275 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b68fa5bd-a33c-c67c-cef4-6c5cc0a90f77'::uuid;

-- Query #26276 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b68fa5bd-a33c-c67c-cef4-6c5cc0a90f77'::uuid]);

-- Query #26277 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b68fa5bd-a33c-c67c-cef4-6c5cc0a90f77'::uuid;

-- Query #26278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b68fa5bd-a33c-c67c-cef4-6c5cc0a90f77'::uuid, 'Imdb', 'tt3646514')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b68fa5bd-a33c-c67c-cef4-6c5cc0a90f77'::uuid, 'Tmdb', 1047358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b68fa5bd-a33c-c67c-cef4-6c5cc0a90f77'::uuid, 'TmdbCollection', 1047358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b68fa5bd-a33c-c67c-cef4-6c5cc0a90f77'::uuid, 'trakt', 1185397)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26282 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b68fa5bd-a33c-c67c-cef4-6c5cc0a90f77'::uuid, 'Tvdb', 4872941)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26283 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b68fa5bd-a33c-c67c-cef4-6c5cc0a90f77'::uuid, 'TvMaze', 190159)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26284 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b68fa5bd-a33c-c67c-cef4-6c5cc0a90f77'::uuid;

-- Query #26285 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b68fa5bd-a33c-c67c-cef4-6c5cc0a90f77'::uuid;

-- Query #26286 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b68fa5bd-a33c-c67c-cef4-6c5cc0a90f77'::uuid]);

-- Query #26287 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b68fa5bd-a33c-c67c-cef4-6c5cc0a90f77'::uuid;

-- Query #26288 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26289 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6bcb31cd-7a0e-c6ca-ccb1-3cc5b32356c2'::uuid;

-- Query #26290 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6bcb31cd-7a0e-c6ca-ccb1-3cc5b32356c2'::uuid]);

-- Query #26291 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6bcb31cd-7a0e-c6ca-ccb1-3cc5b32356c2'::uuid;

-- Query #26292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bcb31cd-7a0e-c6ca-ccb1-3cc5b32356c2'::uuid, 'Imdb', 'tt2490424')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bcb31cd-7a0e-c6ca-ccb1-3cc5b32356c2'::uuid, 'Tmdb', 1047326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bcb31cd-7a0e-c6ca-ccb1-3cc5b32356c2'::uuid, 'TmdbCollection', 1047326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bcb31cd-7a0e-c6ca-ccb1-3cc5b32356c2'::uuid, 'trakt', 1183414)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26296 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bcb31cd-7a0e-c6ca-ccb1-3cc5b32356c2'::uuid, 'Tvdb', 4576111)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26297 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bcb31cd-7a0e-c6ca-ccb1-3cc5b32356c2'::uuid, 'TvMaze', 190136)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26298 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6bcb31cd-7a0e-c6ca-ccb1-3cc5b32356c2'::uuid;

-- Query #26299 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6bcb31cd-7a0e-c6ca-ccb1-3cc5b32356c2'::uuid;

-- Query #26300 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6bcb31cd-7a0e-c6ca-ccb1-3cc5b32356c2'::uuid]);

-- Query #26301 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6bcb31cd-7a0e-c6ca-ccb1-3cc5b32356c2'::uuid;

-- Query #26302 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26303 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9174898-4309-94b2-c090-ae13f86a77e0'::uuid;

-- Query #26304 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9174898-4309-94b2-c090-ae13f86a77e0'::uuid]);

-- Query #26305 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f9174898-4309-94b2-c090-ae13f86a77e0'::uuid;

-- Query #26306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9174898-4309-94b2-c090-ae13f86a77e0'::uuid, 'Imdb', 'tt3188574')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9174898-4309-94b2-c090-ae13f86a77e0'::uuid, 'Tmdb', 1047351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9174898-4309-94b2-c090-ae13f86a77e0'::uuid, 'TmdbCollection', 1047351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9174898-4309-94b2-c090-ae13f86a77e0'::uuid, 'trakt', 1185081)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9174898-4309-94b2-c090-ae13f86a77e0'::uuid, 'Tvdb', 4829802)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9174898-4309-94b2-c090-ae13f86a77e0'::uuid, 'TvMaze', 190155)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26312 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9174898-4309-94b2-c090-ae13f86a77e0'::uuid;

-- Query #26313 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f9174898-4309-94b2-c090-ae13f86a77e0'::uuid;

-- Query #26314 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #26315 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f9174898-4309-94b2-c090-ae13f86a77e0'::uuid]);

-- Query #26316 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f9174898-4309-94b2-c090-ae13f86a77e0'::uuid;

-- Query #26317 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26318 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '747850a9-eeef-1240-255d-ff598b97faf9'::uuid;

-- Query #26319 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['747850a9-eeef-1240-255d-ff598b97faf9'::uuid]);

-- Query #26320 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '747850a9-eeef-1240-255d-ff598b97faf9'::uuid;

-- Query #26321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('747850a9-eeef-1240-255d-ff598b97faf9'::uuid, 'Imdb', 'tt3129476')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('747850a9-eeef-1240-255d-ff598b97faf9'::uuid, 'Tmdb', 1047339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('747850a9-eeef-1240-255d-ff598b97faf9'::uuid, 'TmdbCollection', 1047339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('747850a9-eeef-1240-255d-ff598b97faf9'::uuid, 'trakt', 1184010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('747850a9-eeef-1240-255d-ff598b97faf9'::uuid, 'Tvdb', 4645520)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('747850a9-eeef-1240-255d-ff598b97faf9'::uuid, 'TvMaze', 190144)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26327 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '747850a9-eeef-1240-255d-ff598b97faf9'::uuid;

-- Query #26328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '747850a9-eeef-1240-255d-ff598b97faf9'::uuid;

-- Query #26329 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['747850a9-eeef-1240-255d-ff598b97faf9'::uuid]);

-- Query #26330 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '747850a9-eeef-1240-255d-ff598b97faf9'::uuid;

-- Query #26331 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26332 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c514452-b1a3-3019-60bb-fad363615f48'::uuid;

-- Query #26333 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9c514452-b1a3-3019-60bb-fad363615f48'::uuid]);

-- Query #26334 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9c514452-b1a3-3019-60bb-fad363615f48'::uuid;

-- Query #26335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c514452-b1a3-3019-60bb-fad363615f48'::uuid, 'Imdb', 'tt3129482')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c514452-b1a3-3019-60bb-fad363615f48'::uuid, 'Tmdb', 1047343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c514452-b1a3-3019-60bb-fad363615f48'::uuid, 'TmdbCollection', 1047343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c514452-b1a3-3019-60bb-fad363615f48'::uuid, 'trakt', 1184258)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c514452-b1a3-3019-60bb-fad363615f48'::uuid, 'Tvdb', 4702291)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c514452-b1a3-3019-60bb-fad363615f48'::uuid, 'TvMaze', 190147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26341 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c514452-b1a3-3019-60bb-fad363615f48'::uuid;

-- Query #26342 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9c514452-b1a3-3019-60bb-fad363615f48'::uuid;

-- Query #26343 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9c514452-b1a3-3019-60bb-fad363615f48'::uuid]);

-- Query #26344 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9c514452-b1a3-3019-60bb-fad363615f48'::uuid;

-- Query #26345 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26346 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #26347 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '144b4083-25ca-938f-ca7e-12c4b6fed220'::uuid;

-- Query #26348 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['144b4083-25ca-938f-ca7e-12c4b6fed220'::uuid]);

-- Query #26349 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '144b4083-25ca-938f-ca7e-12c4b6fed220'::uuid;

-- Query #26350 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('144b4083-25ca-938f-ca7e-12c4b6fed220'::uuid, 'Imdb', 'tt2913006')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26351 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('144b4083-25ca-938f-ca7e-12c4b6fed220'::uuid, 'Tmdb', 1047332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('144b4083-25ca-938f-ca7e-12c4b6fed220'::uuid, 'TmdbCollection', 1047332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('144b4083-25ca-938f-ca7e-12c4b6fed220'::uuid, 'trakt', 1183745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('144b4083-25ca-938f-ca7e-12c4b6fed220'::uuid, 'Tvdb', 4625716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('144b4083-25ca-938f-ca7e-12c4b6fed220'::uuid, 'TvMaze', 190140)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26356 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '144b4083-25ca-938f-ca7e-12c4b6fed220'::uuid;

-- Query #26357 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '144b4083-25ca-938f-ca7e-12c4b6fed220'::uuid;

-- Query #26358 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['144b4083-25ca-938f-ca7e-12c4b6fed220'::uuid]);

-- Query #26359 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '144b4083-25ca-938f-ca7e-12c4b6fed220'::uuid;

-- Query #26360 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26361 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7527e3f-2c4d-ba9b-c85c-56150ae555a3'::uuid;

-- Query #26362 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7527e3f-2c4d-ba9b-c85c-56150ae555a3'::uuid]);

-- Query #26363 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c7527e3f-2c4d-ba9b-c85c-56150ae555a3'::uuid;

-- Query #26364 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7527e3f-2c4d-ba9b-c85c-56150ae555a3'::uuid, 'Imdb', 'tt3129480')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26365 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7527e3f-2c4d-ba9b-c85c-56150ae555a3'::uuid, 'Tmdb', 1047342)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7527e3f-2c4d-ba9b-c85c-56150ae555a3'::uuid, 'TmdbCollection', 1047342)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7527e3f-2c4d-ba9b-c85c-56150ae555a3'::uuid, 'trakt', 1184189)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7527e3f-2c4d-ba9b-c85c-56150ae555a3'::uuid, 'Tvdb', 4702290)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7527e3f-2c4d-ba9b-c85c-56150ae555a3'::uuid, 'TvMaze', 190146)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7527e3f-2c4d-ba9b-c85c-56150ae555a3'::uuid;

-- Query #26371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c7527e3f-2c4d-ba9b-c85c-56150ae555a3'::uuid;

-- Query #26372 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c7527e3f-2c4d-ba9b-c85c-56150ae555a3'::uuid]);

-- Query #26373 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c7527e3f-2c4d-ba9b-c85c-56150ae555a3'::uuid;

-- Query #26374 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26375 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0a10b94b-fd99-6cec-3568-1b6925333ae2'::uuid;

-- Query #26376 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a10b94b-fd99-6cec-3568-1b6925333ae2'::uuid]);

-- Query #26377 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0a10b94b-fd99-6cec-3568-1b6925333ae2'::uuid;

-- Query #26378 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a10b94b-fd99-6cec-3568-1b6925333ae2'::uuid, 'Imdb', 'tt3129498')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26379 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a10b94b-fd99-6cec-3568-1b6925333ae2'::uuid, 'Tmdb', 1047347)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a10b94b-fd99-6cec-3568-1b6925333ae2'::uuid, 'TmdbCollection', 1047347)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a10b94b-fd99-6cec-3568-1b6925333ae2'::uuid, 'trakt', 1184678)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a10b94b-fd99-6cec-3568-1b6925333ae2'::uuid, 'Tvdb', 4811449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a10b94b-fd99-6cec-3568-1b6925333ae2'::uuid, 'TvMaze', 190151)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26384 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0a10b94b-fd99-6cec-3568-1b6925333ae2'::uuid;

-- Query #26385 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0a10b94b-fd99-6cec-3568-1b6925333ae2'::uuid;

-- Query #26386 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0a10b94b-fd99-6cec-3568-1b6925333ae2'::uuid]);

-- Query #26387 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0a10b94b-fd99-6cec-3568-1b6925333ae2'::uuid;

-- Query #26388 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26389 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab2ac537-31b1-d4d3-f7f5-3510674d3596'::uuid;

-- Query #26390 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab2ac537-31b1-d4d3-f7f5-3510674d3596'::uuid]);

-- Query #26391 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ab2ac537-31b1-d4d3-f7f5-3510674d3596'::uuid;

-- Query #26392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab2ac537-31b1-d4d3-f7f5-3510674d3596'::uuid, 'Imdb', 'tt2919622')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26393 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab2ac537-31b1-d4d3-f7f5-3510674d3596'::uuid, 'Tmdb', 1047334)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26394 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab2ac537-31b1-d4d3-f7f5-3510674d3596'::uuid, 'TmdbCollection', 1047334)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26395 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab2ac537-31b1-d4d3-f7f5-3510674d3596'::uuid, 'trakt', 1183827)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab2ac537-31b1-d4d3-f7f5-3510674d3596'::uuid, 'Tvdb', 4625717)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab2ac537-31b1-d4d3-f7f5-3510674d3596'::uuid, 'TvMaze', 190141)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26398 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab2ac537-31b1-d4d3-f7f5-3510674d3596'::uuid;

-- Query #26399 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ab2ac537-31b1-d4d3-f7f5-3510674d3596'::uuid;

-- Query #26400 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ab2ac537-31b1-d4d3-f7f5-3510674d3596'::uuid]);

-- Query #26401 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ab2ac537-31b1-d4d3-f7f5-3510674d3596'::uuid;

-- Query #26402 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26403 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '64fc397c-9fe5-bc8a-e9b8-384a9f73b409'::uuid;

-- Query #26404 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['64fc397c-9fe5-bc8a-e9b8-384a9f73b409'::uuid]);

-- Query #26405 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '64fc397c-9fe5-bc8a-e9b8-384a9f73b409'::uuid;

-- Query #26406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64fc397c-9fe5-bc8a-e9b8-384a9f73b409'::uuid, 'Imdb', 'tt3646508')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26407 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64fc397c-9fe5-bc8a-e9b8-384a9f73b409'::uuid, 'Tmdb', 1047352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26408 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64fc397c-9fe5-bc8a-e9b8-384a9f73b409'::uuid, 'TmdbCollection', 1047352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26409 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64fc397c-9fe5-bc8a-e9b8-384a9f73b409'::uuid, 'trakt', 1185162)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26410 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64fc397c-9fe5-bc8a-e9b8-384a9f73b409'::uuid, 'Tvdb', 4829803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26411 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64fc397c-9fe5-bc8a-e9b8-384a9f73b409'::uuid, 'TvMaze', 190156)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26412 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '64fc397c-9fe5-bc8a-e9b8-384a9f73b409'::uuid;

-- Query #26413 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '64fc397c-9fe5-bc8a-e9b8-384a9f73b409'::uuid;

-- Query #26414 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['64fc397c-9fe5-bc8a-e9b8-384a9f73b409'::uuid]);

-- Query #26415 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '64fc397c-9fe5-bc8a-e9b8-384a9f73b409'::uuid;

-- Query #26416 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26417 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e92b3786-1dbe-954a-3ec6-e6b173ff3178'::uuid;

-- Query #26418 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e92b3786-1dbe-954a-3ec6-e6b173ff3178'::uuid]);

-- Query #26419 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e92b3786-1dbe-954a-3ec6-e6b173ff3178'::uuid;

-- Query #26420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e92b3786-1dbe-954a-3ec6-e6b173ff3178'::uuid, 'Imdb', 'tt3129496')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26421 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e92b3786-1dbe-954a-3ec6-e6b173ff3178'::uuid, 'Tmdb', 1047346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26422 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e92b3786-1dbe-954a-3ec6-e6b173ff3178'::uuid, 'TmdbCollection', 1047346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26423 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e92b3786-1dbe-954a-3ec6-e6b173ff3178'::uuid, 'trakt', 1184579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e92b3786-1dbe-954a-3ec6-e6b173ff3178'::uuid, 'Tvdb', 4808730)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e92b3786-1dbe-954a-3ec6-e6b173ff3178'::uuid, 'TvMaze', 190150)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26426 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e92b3786-1dbe-954a-3ec6-e6b173ff3178'::uuid;

-- Query #26427 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e92b3786-1dbe-954a-3ec6-e6b173ff3178'::uuid;

-- Query #26428 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e92b3786-1dbe-954a-3ec6-e6b173ff3178'::uuid]);

-- Query #26429 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e92b3786-1dbe-954a-3ec6-e6b173ff3178'::uuid;

-- Query #26430 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26431 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a356e89f-d35e-0ee0-dc31-0bd9406cfd76'::uuid;

-- Query #26432 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a356e89f-d35e-0ee0-dc31-0bd9406cfd76'::uuid]);

-- Query #26433 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a356e89f-d35e-0ee0-dc31-0bd9406cfd76'::uuid;

-- Query #26434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a356e89f-d35e-0ee0-dc31-0bd9406cfd76'::uuid, 'Imdb', 'tt2615578')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a356e89f-d35e-0ee0-dc31-0bd9406cfd76'::uuid, 'Tmdb', 1047327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a356e89f-d35e-0ee0-dc31-0bd9406cfd76'::uuid, 'TmdbCollection', 1047327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26437 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a356e89f-d35e-0ee0-dc31-0bd9406cfd76'::uuid, 'trakt', 1183492)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26438 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a356e89f-d35e-0ee0-dc31-0bd9406cfd76'::uuid, 'Tvdb', 4607644)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26439 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a356e89f-d35e-0ee0-dc31-0bd9406cfd76'::uuid, 'TvMaze', 190137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26440 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a356e89f-d35e-0ee0-dc31-0bd9406cfd76'::uuid;

-- Query #26441 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a356e89f-d35e-0ee0-dc31-0bd9406cfd76'::uuid;

-- Query #26442 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #26443 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a356e89f-d35e-0ee0-dc31-0bd9406cfd76'::uuid]);

-- Query #26444 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a356e89f-d35e-0ee0-dc31-0bd9406cfd76'::uuid;

-- Query #26445 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26446 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '854d79c5-1516-f679-f8ff-e771fe0ca49e'::uuid;

-- Query #26447 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['854d79c5-1516-f679-f8ff-e771fe0ca49e'::uuid]);

-- Query #26448 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '854d79c5-1516-f679-f8ff-e771fe0ca49e'::uuid;

-- Query #26449 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('854d79c5-1516-f679-f8ff-e771fe0ca49e'::uuid, 'Imdb', 'tt2919460')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('854d79c5-1516-f679-f8ff-e771fe0ca49e'::uuid, 'Tmdb', 1047330)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('854d79c5-1516-f679-f8ff-e771fe0ca49e'::uuid, 'TmdbCollection', 1047330)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26452 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('854d79c5-1516-f679-f8ff-e771fe0ca49e'::uuid, 'trakt', 1183665)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26453 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('854d79c5-1516-f679-f8ff-e771fe0ca49e'::uuid, 'Tvdb', 4607646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26454 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('854d79c5-1516-f679-f8ff-e771fe0ca49e'::uuid, 'TvMaze', 190139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26455 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '854d79c5-1516-f679-f8ff-e771fe0ca49e'::uuid;

-- Query #26456 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '854d79c5-1516-f679-f8ff-e771fe0ca49e'::uuid;

-- Query #26457 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['854d79c5-1516-f679-f8ff-e771fe0ca49e'::uuid]);

-- Query #26458 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '854d79c5-1516-f679-f8ff-e771fe0ca49e'::uuid;

-- Query #26459 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26460 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7c25380-5054-9e2e-e2d5-5499d4af4e36'::uuid;

-- Query #26461 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7c25380-5054-9e2e-e2d5-5499d4af4e36'::uuid]);

-- Query #26462 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c7c25380-5054-9e2e-e2d5-5499d4af4e36'::uuid;

-- Query #26463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7c25380-5054-9e2e-e2d5-5499d4af4e36'::uuid, 'Imdb', 'tt4129318')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7c25380-5054-9e2e-e2d5-5499d4af4e36'::uuid, 'Tmdb', 1047064)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7c25380-5054-9e2e-e2d5-5499d4af4e36'::uuid, 'TmdbCollection', 1047064)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26466 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7c25380-5054-9e2e-e2d5-5499d4af4e36'::uuid, 'trakt', 1186092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7c25380-5054-9e2e-e2d5-5499d4af4e36'::uuid, 'Tvdb', 5032895)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26468 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7c25380-5054-9e2e-e2d5-5499d4af4e36'::uuid, 'TvMaze', 190166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7c25380-5054-9e2e-e2d5-5499d4af4e36'::uuid, 'TvRage', 1065700198)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26470 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7c25380-5054-9e2e-e2d5-5499d4af4e36'::uuid;

-- Query #26471 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c7c25380-5054-9e2e-e2d5-5499d4af4e36'::uuid;

-- Query #26472 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c7c25380-5054-9e2e-e2d5-5499d4af4e36'::uuid]);

-- Query #26473 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c7c25380-5054-9e2e-e2d5-5499d4af4e36'::uuid;

-- Query #26474 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26475 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb4d0276-9589-6cbe-de9e-a17a6fd25f8b'::uuid;

-- Query #26476 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb4d0276-9589-6cbe-de9e-a17a6fd25f8b'::uuid]);

-- Query #26477 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eb4d0276-9589-6cbe-de9e-a17a6fd25f8b'::uuid;

-- Query #26478 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb4d0276-9589-6cbe-de9e-a17a6fd25f8b'::uuid, 'Imdb', 'tt4772018')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb4d0276-9589-6cbe-de9e-a17a6fd25f8b'::uuid, 'Tmdb', 1195647)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb4d0276-9589-6cbe-de9e-a17a6fd25f8b'::uuid, 'TmdbCollection', 1195647)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb4d0276-9589-6cbe-de9e-a17a6fd25f8b'::uuid, 'trakt', 1916860)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb4d0276-9589-6cbe-de9e-a17a6fd25f8b'::uuid, 'Tvdb', 5264816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb4d0276-9589-6cbe-de9e-a17a6fd25f8b'::uuid, 'TvMaze', 190182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26484 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb4d0276-9589-6cbe-de9e-a17a6fd25f8b'::uuid;

-- Query #26485 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eb4d0276-9589-6cbe-de9e-a17a6fd25f8b'::uuid;

-- Query #26486 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eb4d0276-9589-6cbe-de9e-a17a6fd25f8b'::uuid]);

-- Query #26487 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eb4d0276-9589-6cbe-de9e-a17a6fd25f8b'::uuid;

-- Query #26488 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26489 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92b4d05b-7def-27f9-f7af-0d263f7cbe3b'::uuid;

-- Query #26490 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92b4d05b-7def-27f9-f7af-0d263f7cbe3b'::uuid]);

-- Query #26491 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '92b4d05b-7def-27f9-f7af-0d263f7cbe3b'::uuid;

-- Query #26492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92b4d05b-7def-27f9-f7af-0d263f7cbe3b'::uuid, 'Imdb', 'tt4772016')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92b4d05b-7def-27f9-f7af-0d263f7cbe3b'::uuid, 'Tmdb', 1195648)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92b4d05b-7def-27f9-f7af-0d263f7cbe3b'::uuid, 'TmdbCollection', 1195648)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26495 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92b4d05b-7def-27f9-f7af-0d263f7cbe3b'::uuid, 'trakt', 1947519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92b4d05b-7def-27f9-f7af-0d263f7cbe3b'::uuid, 'Tvdb', 5294453)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92b4d05b-7def-27f9-f7af-0d263f7cbe3b'::uuid, 'TvMaze', 201122)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26498 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92b4d05b-7def-27f9-f7af-0d263f7cbe3b'::uuid;

-- Query #26499 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '92b4d05b-7def-27f9-f7af-0d263f7cbe3b'::uuid;

-- Query #26500 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['92b4d05b-7def-27f9-f7af-0d263f7cbe3b'::uuid]);

-- Query #26501 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '92b4d05b-7def-27f9-f7af-0d263f7cbe3b'::uuid;

-- Query #26502 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26503 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '678cca0a-3199-75ff-a010-7f0df8a5f1ae'::uuid;

-- Query #26504 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['678cca0a-3199-75ff-a010-7f0df8a5f1ae'::uuid]);

-- Query #26505 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '678cca0a-3199-75ff-a010-7f0df8a5f1ae'::uuid;

-- Query #26506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('678cca0a-3199-75ff-a010-7f0df8a5f1ae'::uuid, 'Imdb', 'tt4772022')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26507 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('678cca0a-3199-75ff-a010-7f0df8a5f1ae'::uuid, 'Tmdb', 1108957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26508 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('678cca0a-3199-75ff-a010-7f0df8a5f1ae'::uuid, 'TmdbCollection', 1108957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26509 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('678cca0a-3199-75ff-a010-7f0df8a5f1ae'::uuid, 'trakt', 1965803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26510 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('678cca0a-3199-75ff-a010-7f0df8a5f1ae'::uuid, 'Tvdb', 5312372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26511 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('678cca0a-3199-75ff-a010-7f0df8a5f1ae'::uuid, 'TvMaze', 206166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26512 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '678cca0a-3199-75ff-a010-7f0df8a5f1ae'::uuid;

-- Query #26513 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '678cca0a-3199-75ff-a010-7f0df8a5f1ae'::uuid;

-- Query #26514 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['678cca0a-3199-75ff-a010-7f0df8a5f1ae'::uuid]);

-- Query #26515 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '678cca0a-3199-75ff-a010-7f0df8a5f1ae'::uuid;

-- Query #26516 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26517 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07fbbf87-6472-4037-fa3b-a441a976ac55'::uuid;

-- Query #26518 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07fbbf87-6472-4037-fa3b-a441a976ac55'::uuid]);

-- Query #26519 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '07fbbf87-6472-4037-fa3b-a441a976ac55'::uuid;

-- Query #26520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07fbbf87-6472-4037-fa3b-a441a976ac55'::uuid, 'Imdb', 'tt4399534')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07fbbf87-6472-4037-fa3b-a441a976ac55'::uuid, 'Tmdb', 1041058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07fbbf87-6472-4037-fa3b-a441a976ac55'::uuid, 'TmdbCollection', 1041058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07fbbf87-6472-4037-fa3b-a441a976ac55'::uuid, 'trakt', 1738190)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07fbbf87-6472-4037-fa3b-a441a976ac55'::uuid, 'Tvdb', 5115943)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26525 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07fbbf87-6472-4037-fa3b-a441a976ac55'::uuid, 'TvMaze', 190169)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07fbbf87-6472-4037-fa3b-a441a976ac55'::uuid, 'TvRage', 1065743890)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26527 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07fbbf87-6472-4037-fa3b-a441a976ac55'::uuid;

-- Query #26528 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '07fbbf87-6472-4037-fa3b-a441a976ac55'::uuid;

-- Query #26529 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['07fbbf87-6472-4037-fa3b-a441a976ac55'::uuid]);

-- Query #26530 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '07fbbf87-6472-4037-fa3b-a441a976ac55'::uuid;

-- Query #26531 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26532 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f33649c-0ea1-5acb-7125-5062d4800548'::uuid;

-- Query #26533 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0f33649c-0ea1-5acb-7125-5062d4800548'::uuid]);

-- Query #26534 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0f33649c-0ea1-5acb-7125-5062d4800548'::uuid;

-- Query #26535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f33649c-0ea1-5acb-7125-5062d4800548'::uuid, 'Imdb', 'tt4129312')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f33649c-0ea1-5acb-7125-5062d4800548'::uuid, 'Tmdb', 1047062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f33649c-0ea1-5acb-7125-5062d4800548'::uuid, 'TmdbCollection', 1047062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f33649c-0ea1-5acb-7125-5062d4800548'::uuid, 'trakt', 1185899)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26539 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f33649c-0ea1-5acb-7125-5062d4800548'::uuid, 'Tvdb', 5032893)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26540 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f33649c-0ea1-5acb-7125-5062d4800548'::uuid, 'TvMaze', 190164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26541 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f33649c-0ea1-5acb-7125-5062d4800548'::uuid, 'TvRage', 1065699197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26542 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f33649c-0ea1-5acb-7125-5062d4800548'::uuid;

-- Query #26543 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0f33649c-0ea1-5acb-7125-5062d4800548'::uuid;

-- Query #26544 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0f33649c-0ea1-5acb-7125-5062d4800548'::uuid]);

-- Query #26545 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0f33649c-0ea1-5acb-7125-5062d4800548'::uuid;

-- Query #26546 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26547 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db8d33cc-d2c0-1ba8-bc0f-ae5ac2b417d6'::uuid;

-- Query #26548 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db8d33cc-d2c0-1ba8-bc0f-ae5ac2b417d6'::uuid]);

-- Query #26549 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'db8d33cc-d2c0-1ba8-bc0f-ae5ac2b417d6'::uuid;

-- Query #26550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db8d33cc-d2c0-1ba8-bc0f-ae5ac2b417d6'::uuid, 'Imdb', 'tt4579414')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db8d33cc-d2c0-1ba8-bc0f-ae5ac2b417d6'::uuid, 'Tmdb', 1053626)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26552 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db8d33cc-d2c0-1ba8-bc0f-ae5ac2b417d6'::uuid, 'TmdbCollection', 1053626)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26553 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db8d33cc-d2c0-1ba8-bc0f-ae5ac2b417d6'::uuid, 'trakt', 1807535)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26554 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db8d33cc-d2c0-1ba8-bc0f-ae5ac2b417d6'::uuid, 'Tvdb', 5171881)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db8d33cc-d2c0-1ba8-bc0f-ae5ac2b417d6'::uuid, 'TvMaze', 190173)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26556 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db8d33cc-d2c0-1ba8-bc0f-ae5ac2b417d6'::uuid;

-- Query #26557 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'db8d33cc-d2c0-1ba8-bc0f-ae5ac2b417d6'::uuid;

-- Query #26558 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['db8d33cc-d2c0-1ba8-bc0f-ae5ac2b417d6'::uuid]);

-- Query #26559 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'db8d33cc-d2c0-1ba8-bc0f-ae5ac2b417d6'::uuid;

-- Query #26560 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26561 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8d530746-41c8-c239-5ae9-e293d11eba31'::uuid;

-- Query #26562 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8d530746-41c8-c239-5ae9-e293d11eba31'::uuid]);

-- Query #26563 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8d530746-41c8-c239-5ae9-e293d11eba31'::uuid;

-- Query #26564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d530746-41c8-c239-5ae9-e293d11eba31'::uuid, 'Imdb', 'tt4399532')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d530746-41c8-c239-5ae9-e293d11eba31'::uuid, 'Tmdb', 1040008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d530746-41c8-c239-5ae9-e293d11eba31'::uuid, 'TmdbCollection', 1040008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26567 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d530746-41c8-c239-5ae9-e293d11eba31'::uuid, 'trakt', 1729264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26568 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d530746-41c8-c239-5ae9-e293d11eba31'::uuid, 'Tvdb', 5111798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26569 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d530746-41c8-c239-5ae9-e293d11eba31'::uuid, 'TvMaze', 190168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d530746-41c8-c239-5ae9-e293d11eba31'::uuid, 'TvRage', 1065743889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26571 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8d530746-41c8-c239-5ae9-e293d11eba31'::uuid;

-- Query #26572 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8d530746-41c8-c239-5ae9-e293d11eba31'::uuid;

-- Query #26573 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8d530746-41c8-c239-5ae9-e293d11eba31'::uuid]);

-- Query #26574 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8d530746-41c8-c239-5ae9-e293d11eba31'::uuid;

-- Query #26575 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26576 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '053b1151-0547-c613-7308-0e6b10c69924'::uuid;

-- Query #26577 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['053b1151-0547-c613-7308-0e6b10c69924'::uuid]);

-- Query #26578 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '053b1151-0547-c613-7308-0e6b10c69924'::uuid;

-- Query #26579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('053b1151-0547-c613-7308-0e6b10c69924'::uuid, 'Imdb', 'tt4399536')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26580 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('053b1151-0547-c613-7308-0e6b10c69924'::uuid, 'Tmdb', 1047068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('053b1151-0547-c613-7308-0e6b10c69924'::uuid, 'TmdbCollection', 1047068)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('053b1151-0547-c613-7308-0e6b10c69924'::uuid, 'trakt', 1744868)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('053b1151-0547-c613-7308-0e6b10c69924'::uuid, 'Tvdb', 5120051)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('053b1151-0547-c613-7308-0e6b10c69924'::uuid, 'TvMaze', 190170)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('053b1151-0547-c613-7308-0e6b10c69924'::uuid, 'TvRage', 1065743891)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '053b1151-0547-c613-7308-0e6b10c69924'::uuid;

-- Query #26587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '053b1151-0547-c613-7308-0e6b10c69924'::uuid;

-- Query #26588 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['053b1151-0547-c613-7308-0e6b10c69924'::uuid]);

-- Query #26589 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '053b1151-0547-c613-7308-0e6b10c69924'::uuid;

-- Query #26590 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6aaf3b37-12da-c957-0ec7-5e90e930bdeb'::uuid;

-- Query #26592 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6aaf3b37-12da-c957-0ec7-5e90e930bdeb'::uuid]);

-- Query #26593 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6aaf3b37-12da-c957-0ec7-5e90e930bdeb'::uuid;

-- Query #26594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6aaf3b37-12da-c957-0ec7-5e90e930bdeb'::uuid, 'Imdb', 'tt4326958')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6aaf3b37-12da-c957-0ec7-5e90e930bdeb'::uuid, 'Tmdb', 1038566)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6aaf3b37-12da-c957-0ec7-5e90e930bdeb'::uuid, 'TmdbCollection', 1038566)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6aaf3b37-12da-c957-0ec7-5e90e930bdeb'::uuid, 'trakt', 1391528)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6aaf3b37-12da-c957-0ec7-5e90e930bdeb'::uuid, 'Tvdb', 5077122)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6aaf3b37-12da-c957-0ec7-5e90e930bdeb'::uuid, 'TvMaze', 190167)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6aaf3b37-12da-c957-0ec7-5e90e930bdeb'::uuid, 'TvRage', 1065731339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26601 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6aaf3b37-12da-c957-0ec7-5e90e930bdeb'::uuid;

-- Query #26602 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6aaf3b37-12da-c957-0ec7-5e90e930bdeb'::uuid;

-- Query #26603 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6aaf3b37-12da-c957-0ec7-5e90e930bdeb'::uuid]);

-- Query #26604 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6aaf3b37-12da-c957-0ec7-5e90e930bdeb'::uuid;

-- Query #26605 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26606 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '921d1579-ca07-8e42-948c-08666cf26dbb'::uuid;

-- Query #26607 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['921d1579-ca07-8e42-948c-08666cf26dbb'::uuid]);

-- Query #26608 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '921d1579-ca07-8e42-948c-08666cf26dbb'::uuid;

-- Query #26609 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('921d1579-ca07-8e42-948c-08666cf26dbb'::uuid, 'Imdb', 'tt4772010')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('921d1579-ca07-8e42-948c-08666cf26dbb'::uuid, 'Tmdb', 1195646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('921d1579-ca07-8e42-948c-08666cf26dbb'::uuid, 'TmdbCollection', 1195646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('921d1579-ca07-8e42-948c-08666cf26dbb'::uuid, 'trakt', 1916859)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('921d1579-ca07-8e42-948c-08666cf26dbb'::uuid, 'Tvdb', 5264815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26614 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('921d1579-ca07-8e42-948c-08666cf26dbb'::uuid, 'TvMaze', 190181)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26615 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '921d1579-ca07-8e42-948c-08666cf26dbb'::uuid;

-- Query #26616 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '921d1579-ca07-8e42-948c-08666cf26dbb'::uuid;

-- Query #26617 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['921d1579-ca07-8e42-948c-08666cf26dbb'::uuid]);

-- Query #26618 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '921d1579-ca07-8e42-948c-08666cf26dbb'::uuid;

-- Query #26619 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26620 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b82372ac-5916-101e-f6c7-f2248d663a36'::uuid;

-- Query #26621 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b82372ac-5916-101e-f6c7-f2248d663a36'::uuid]);

-- Query #26622 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b82372ac-5916-101e-f6c7-f2248d663a36'::uuid;

-- Query #26623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b82372ac-5916-101e-f6c7-f2248d663a36'::uuid, 'Imdb', 'tt4669168')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b82372ac-5916-101e-f6c7-f2248d663a36'::uuid, 'Tmdb', 1057926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26625 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b82372ac-5916-101e-f6c7-f2248d663a36'::uuid, 'TmdbCollection', 1057926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b82372ac-5916-101e-f6c7-f2248d663a36'::uuid, 'trakt', 1850724)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b82372ac-5916-101e-f6c7-f2248d663a36'::uuid, 'Tvdb', 5210520)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b82372ac-5916-101e-f6c7-f2248d663a36'::uuid, 'TvMaze', 190178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26629 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b82372ac-5916-101e-f6c7-f2248d663a36'::uuid;

-- Query #26630 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b82372ac-5916-101e-f6c7-f2248d663a36'::uuid;

-- Query #26631 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b82372ac-5916-101e-f6c7-f2248d663a36'::uuid]);

-- Query #26632 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b82372ac-5916-101e-f6c7-f2248d663a36'::uuid;

-- Query #26633 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26634 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a14fd1e8-81f4-4b3a-e3df-87524ce2db07'::uuid;

-- Query #26635 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a14fd1e8-81f4-4b3a-e3df-87524ce2db07'::uuid]);

-- Query #26636 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a14fd1e8-81f4-4b3a-e3df-87524ce2db07'::uuid;

-- Query #26637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a14fd1e8-81f4-4b3a-e3df-87524ce2db07'::uuid, 'Imdb', 'tt4129316')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a14fd1e8-81f4-4b3a-e3df-87524ce2db07'::uuid, 'Tmdb', 1047063)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a14fd1e8-81f4-4b3a-e3df-87524ce2db07'::uuid, 'TmdbCollection', 1047063)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a14fd1e8-81f4-4b3a-e3df-87524ce2db07'::uuid, 'trakt', 1186007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a14fd1e8-81f4-4b3a-e3df-87524ce2db07'::uuid, 'Tvdb', 5032894)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a14fd1e8-81f4-4b3a-e3df-87524ce2db07'::uuid, 'TvMaze', 190165)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a14fd1e8-81f4-4b3a-e3df-87524ce2db07'::uuid, 'TvRage', 1065700197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26644 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a14fd1e8-81f4-4b3a-e3df-87524ce2db07'::uuid;

-- Query #26645 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a14fd1e8-81f4-4b3a-e3df-87524ce2db07'::uuid;

-- Query #26646 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a14fd1e8-81f4-4b3a-e3df-87524ce2db07'::uuid]);

-- Query #26647 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a14fd1e8-81f4-4b3a-e3df-87524ce2db07'::uuid;

-- Query #26648 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26649 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #26650 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2edb8df-6fb3-94c2-5076-dd14a5c4902b'::uuid;

-- Query #26651 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2edb8df-6fb3-94c2-5076-dd14a5c4902b'::uuid]);

-- Query #26652 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd2edb8df-6fb3-94c2-5076-dd14a5c4902b'::uuid;

-- Query #26653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2edb8df-6fb3-94c2-5076-dd14a5c4902b'::uuid, 'Imdb', 'tt4649456')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2edb8df-6fb3-94c2-5076-dd14a5c4902b'::uuid, 'Tmdb', 1057240)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2edb8df-6fb3-94c2-5076-dd14a5c4902b'::uuid, 'TmdbCollection', 1057240)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2edb8df-6fb3-94c2-5076-dd14a5c4902b'::uuid, 'trakt', 1807538)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2edb8df-6fb3-94c2-5076-dd14a5c4902b'::uuid, 'Tvdb', 5210517)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2edb8df-6fb3-94c2-5076-dd14a5c4902b'::uuid, 'TvMaze', 190176)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2edb8df-6fb3-94c2-5076-dd14a5c4902b'::uuid, 'TvRage', 1065795707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2edb8df-6fb3-94c2-5076-dd14a5c4902b'::uuid;

-- Query #26661 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd2edb8df-6fb3-94c2-5076-dd14a5c4902b'::uuid;

-- Query #26662 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d2edb8df-6fb3-94c2-5076-dd14a5c4902b'::uuid]);

-- Query #26663 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd2edb8df-6fb3-94c2-5076-dd14a5c4902b'::uuid;

-- Query #26664 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26665 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '492d6ffa-26c5-8a36-82e4-c4b8810059bc'::uuid;

-- Query #26666 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['492d6ffa-26c5-8a36-82e4-c4b8810059bc'::uuid]);

-- Query #26667 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '492d6ffa-26c5-8a36-82e4-c4b8810059bc'::uuid;

-- Query #26668 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('492d6ffa-26c5-8a36-82e4-c4b8810059bc'::uuid, 'Imdb', 'tt4579418')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('492d6ffa-26c5-8a36-82e4-c4b8810059bc'::uuid, 'Tmdb', 1057238)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('492d6ffa-26c5-8a36-82e4-c4b8810059bc'::uuid, 'TmdbCollection', 1057238)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('492d6ffa-26c5-8a36-82e4-c4b8810059bc'::uuid, 'trakt', 1807537)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('492d6ffa-26c5-8a36-82e4-c4b8810059bc'::uuid, 'Tvdb', 5171883)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('492d6ffa-26c5-8a36-82e4-c4b8810059bc'::uuid, 'TvMaze', 190175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('492d6ffa-26c5-8a36-82e4-c4b8810059bc'::uuid, 'TvRage', 1065775140)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26675 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '492d6ffa-26c5-8a36-82e4-c4b8810059bc'::uuid;

-- Query #26676 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '492d6ffa-26c5-8a36-82e4-c4b8810059bc'::uuid;

-- Query #26677 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['492d6ffa-26c5-8a36-82e4-c4b8810059bc'::uuid]);

-- Query #26678 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '492d6ffa-26c5-8a36-82e4-c4b8810059bc'::uuid;

-- Query #26679 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26680 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9af7daac-e23e-c05f-10b4-e375f6ed829e'::uuid;

-- Query #26681 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9af7daac-e23e-c05f-10b4-e375f6ed829e'::uuid]);

-- Query #26682 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9af7daac-e23e-c05f-10b4-e375f6ed829e'::uuid;

-- Query #26683 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9af7daac-e23e-c05f-10b4-e375f6ed829e'::uuid, 'Imdb', 'tt4772008')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26684 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9af7daac-e23e-c05f-10b4-e375f6ed829e'::uuid, 'Tmdb', 1087024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26685 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9af7daac-e23e-c05f-10b4-e375f6ed829e'::uuid, 'TmdbCollection', 1087024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9af7daac-e23e-c05f-10b4-e375f6ed829e'::uuid, 'trakt', 1916858)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9af7daac-e23e-c05f-10b4-e375f6ed829e'::uuid, 'Tvdb', 5264814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9af7daac-e23e-c05f-10b4-e375f6ed829e'::uuid, 'TvMaze', 190180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26689 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9af7daac-e23e-c05f-10b4-e375f6ed829e'::uuid;

-- Query #26690 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9af7daac-e23e-c05f-10b4-e375f6ed829e'::uuid;

-- Query #26691 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9af7daac-e23e-c05f-10b4-e375f6ed829e'::uuid]);

-- Query #26692 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9af7daac-e23e-c05f-10b4-e375f6ed829e'::uuid;

-- Query #26693 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26694 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8f59d501-11ae-86fb-abd4-a31273b395c2'::uuid;

-- Query #26695 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f59d501-11ae-86fb-abd4-a31273b395c2'::uuid]);

-- Query #26696 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8f59d501-11ae-86fb-abd4-a31273b395c2'::uuid;

-- Query #26697 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f59d501-11ae-86fb-abd4-a31273b395c2'::uuid, 'Imdb', 'tt4772004')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26698 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f59d501-11ae-86fb-abd4-a31273b395c2'::uuid, 'Tmdb', 1195645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26699 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f59d501-11ae-86fb-abd4-a31273b395c2'::uuid, 'TmdbCollection', 1195645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f59d501-11ae-86fb-abd4-a31273b395c2'::uuid, 'trakt', 1916857)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f59d501-11ae-86fb-abd4-a31273b395c2'::uuid, 'Tvdb', 5264813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f59d501-11ae-86fb-abd4-a31273b395c2'::uuid, 'TvMaze', 190179)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26703 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8f59d501-11ae-86fb-abd4-a31273b395c2'::uuid;

-- Query #26704 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8f59d501-11ae-86fb-abd4-a31273b395c2'::uuid;

-- Query #26705 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8f59d501-11ae-86fb-abd4-a31273b395c2'::uuid]);

-- Query #26706 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8f59d501-11ae-86fb-abd4-a31273b395c2'::uuid;

-- Query #26707 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26708 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '248280fe-447a-d889-433c-8a86c626dc42'::uuid;

-- Query #26709 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['248280fe-447a-d889-433c-8a86c626dc42'::uuid]);

-- Query #26710 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '248280fe-447a-d889-433c-8a86c626dc42'::uuid;

-- Query #26711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('248280fe-447a-d889-433c-8a86c626dc42'::uuid, 'Imdb', 'tt4073660')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26712 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('248280fe-447a-d889-433c-8a86c626dc42'::uuid, 'Tmdb', 1047059)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('248280fe-447a-d889-433c-8a86c626dc42'::uuid, 'TmdbCollection', 1047059)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('248280fe-447a-d889-433c-8a86c626dc42'::uuid, 'trakt', 1185657)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('248280fe-447a-d889-433c-8a86c626dc42'::uuid, 'Tvdb', 5004994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('248280fe-447a-d889-433c-8a86c626dc42'::uuid, 'TvMaze', 190161)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('248280fe-447a-d889-433c-8a86c626dc42'::uuid, 'TvRage', 1065672653)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26718 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '248280fe-447a-d889-433c-8a86c626dc42'::uuid;

-- Query #26719 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '248280fe-447a-d889-433c-8a86c626dc42'::uuid;

-- Query #26720 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['248280fe-447a-d889-433c-8a86c626dc42'::uuid]);

-- Query #26721 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '248280fe-447a-d889-433c-8a86c626dc42'::uuid;

-- Query #26722 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26723 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dc757446-4200-e7de-de7f-6e9877c813b9'::uuid;

-- Query #26724 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dc757446-4200-e7de-de7f-6e9877c813b9'::uuid]);

-- Query #26725 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dc757446-4200-e7de-de7f-6e9877c813b9'::uuid;

-- Query #26726 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc757446-4200-e7de-de7f-6e9877c813b9'::uuid, 'Imdb', 'tt4472820')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26727 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc757446-4200-e7de-de7f-6e9877c813b9'::uuid, 'Tmdb', 1047057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc757446-4200-e7de-de7f-6e9877c813b9'::uuid, 'TmdbCollection', 1047057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26729 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc757446-4200-e7de-de7f-6e9877c813b9'::uuid, 'trakt', 1767301)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26730 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc757446-4200-e7de-de7f-6e9877c813b9'::uuid, 'Tvdb', 5138386)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26731 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc757446-4200-e7de-de7f-6e9877c813b9'::uuid, 'TvMaze', 190172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26732 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc757446-4200-e7de-de7f-6e9877c813b9'::uuid, 'TvRage', 1065755932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26733 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dc757446-4200-e7de-de7f-6e9877c813b9'::uuid;

-- Query #26734 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dc757446-4200-e7de-de7f-6e9877c813b9'::uuid;

-- Query #26735 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dc757446-4200-e7de-de7f-6e9877c813b9'::uuid]);

-- Query #26736 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dc757446-4200-e7de-de7f-6e9877c813b9'::uuid;

-- Query #26737 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26738 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5e8987e-cc19-089c-ca64-7e72805a690d'::uuid;

-- Query #26739 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a5e8987e-cc19-089c-ca64-7e72805a690d'::uuid]);

-- Query #26740 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a5e8987e-cc19-089c-ca64-7e72805a690d'::uuid;

-- Query #26741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5e8987e-cc19-089c-ca64-7e72805a690d'::uuid, 'Imdb', 'tt4579422')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26742 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5e8987e-cc19-089c-ca64-7e72805a690d'::uuid, 'Tmdb', 1057240)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26743 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5e8987e-cc19-089c-ca64-7e72805a690d'::uuid, 'TmdbCollection', 1057240)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26744 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5e8987e-cc19-089c-ca64-7e72805a690d'::uuid, 'trakt', 1807538)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5e8987e-cc19-089c-ca64-7e72805a690d'::uuid, 'Tvdb', 5171884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5e8987e-cc19-089c-ca64-7e72805a690d'::uuid, 'TvMaze', 190177)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5e8987e-cc19-089c-ca64-7e72805a690d'::uuid, 'TvRage', 1065775141)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26748 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5e8987e-cc19-089c-ca64-7e72805a690d'::uuid;

-- Query #26749 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a5e8987e-cc19-089c-ca64-7e72805a690d'::uuid;

-- Query #26750 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a5e8987e-cc19-089c-ca64-7e72805a690d'::uuid]);

-- Query #26751 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a5e8987e-cc19-089c-ca64-7e72805a690d'::uuid;

-- Query #26752 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26753 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '79e8cc4c-23c2-fca7-626c-6cec120e6c69'::uuid;

-- Query #26754 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['79e8cc4c-23c2-fca7-626c-6cec120e6c69'::uuid]);

-- Query #26755 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '79e8cc4c-23c2-fca7-626c-6cec120e6c69'::uuid;

-- Query #26756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('79e8cc4c-23c2-fca7-626c-6cec120e6c69'::uuid, 'Imdb', 'tt4081436')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26757 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('79e8cc4c-23c2-fca7-626c-6cec120e6c69'::uuid, 'Tmdb', 1047060)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26758 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('79e8cc4c-23c2-fca7-626c-6cec120e6c69'::uuid, 'TmdbCollection', 1047060)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26759 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('79e8cc4c-23c2-fca7-626c-6cec120e6c69'::uuid, 'trakt', 1185722)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26760 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('79e8cc4c-23c2-fca7-626c-6cec120e6c69'::uuid, 'Tvdb', 5004995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26761 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('79e8cc4c-23c2-fca7-626c-6cec120e6c69'::uuid, 'TvMaze', 190162)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26762 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('79e8cc4c-23c2-fca7-626c-6cec120e6c69'::uuid, 'TvRage', 1065684697)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26763 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '79e8cc4c-23c2-fca7-626c-6cec120e6c69'::uuid;

-- Query #26764 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '79e8cc4c-23c2-fca7-626c-6cec120e6c69'::uuid;

-- Query #26765 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['79e8cc4c-23c2-fca7-626c-6cec120e6c69'::uuid]);

-- Query #26766 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '79e8cc4c-23c2-fca7-626c-6cec120e6c69'::uuid;

-- Query #26767 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26768 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88658bf1-7174-36ff-37b0-810784c66512'::uuid;

-- Query #26769 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88658bf1-7174-36ff-37b0-810784c66512'::uuid]);

-- Query #26770 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '88658bf1-7174-36ff-37b0-810784c66512'::uuid;

-- Query #26771 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88658bf1-7174-36ff-37b0-810784c66512'::uuid, 'Imdb', 'tt4399538')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26772 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88658bf1-7174-36ff-37b0-810784c66512'::uuid, 'Tmdb', 1043963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26773 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88658bf1-7174-36ff-37b0-810784c66512'::uuid, 'TmdbCollection', 1043963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26774 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88658bf1-7174-36ff-37b0-810784c66512'::uuid, 'trakt', 1744869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88658bf1-7174-36ff-37b0-810784c66512'::uuid, 'Tvdb', 5120052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88658bf1-7174-36ff-37b0-810784c66512'::uuid, 'TvMaze', 190171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88658bf1-7174-36ff-37b0-810784c66512'::uuid, 'TvRage', 1065743892)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26778 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88658bf1-7174-36ff-37b0-810784c66512'::uuid;

-- Query #26779 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '88658bf1-7174-36ff-37b0-810784c66512'::uuid;

-- Query #26780 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['88658bf1-7174-36ff-37b0-810784c66512'::uuid]);

-- Query #26781 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '88658bf1-7174-36ff-37b0-810784c66512'::uuid;

-- Query #26782 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26783 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '873a504f-2681-dc7c-92da-43ce6caf5ae4'::uuid;

-- Query #26784 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['873a504f-2681-dc7c-92da-43ce6caf5ae4'::uuid]);

-- Query #26785 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '873a504f-2681-dc7c-92da-43ce6caf5ae4'::uuid;

-- Query #26786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('873a504f-2681-dc7c-92da-43ce6caf5ae4'::uuid, 'Imdb', 'tt4741656')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('873a504f-2681-dc7c-92da-43ce6caf5ae4'::uuid, 'Tmdb', 1174773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26788 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('873a504f-2681-dc7c-92da-43ce6caf5ae4'::uuid, 'TmdbCollection', 1174773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26789 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('873a504f-2681-dc7c-92da-43ce6caf5ae4'::uuid, 'trakt', 1965459)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26790 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('873a504f-2681-dc7c-92da-43ce6caf5ae4'::uuid, 'Tvdb', 5312200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26791 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('873a504f-2681-dc7c-92da-43ce6caf5ae4'::uuid, 'TvMaze', 579828)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26792 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '873a504f-2681-dc7c-92da-43ce6caf5ae4'::uuid;

-- Query #26793 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '873a504f-2681-dc7c-92da-43ce6caf5ae4'::uuid;

-- Query #26794 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #26795 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['873a504f-2681-dc7c-92da-43ce6caf5ae4'::uuid]);

-- Query #26796 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '873a504f-2681-dc7c-92da-43ce6caf5ae4'::uuid;

-- Query #26797 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26798 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b12ed1c1-2992-1ecf-bf17-2606d6f789da'::uuid;

-- Query #26799 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b12ed1c1-2992-1ecf-bf17-2606d6f789da'::uuid]);

-- Query #26800 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b12ed1c1-2992-1ecf-bf17-2606d6f789da'::uuid;

-- Query #26801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b12ed1c1-2992-1ecf-bf17-2606d6f789da'::uuid, 'Imdb', 'tt6084852')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b12ed1c1-2992-1ecf-bf17-2606d6f789da'::uuid, 'Tmdb', 1228453)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b12ed1c1-2992-1ecf-bf17-2606d6f789da'::uuid, 'TmdbCollection', 1228453)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b12ed1c1-2992-1ecf-bf17-2606d6f789da'::uuid, 'trakt', 2353919)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b12ed1c1-2992-1ecf-bf17-2606d6f789da'::uuid, 'Tvdb', 5765183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b12ed1c1-2992-1ecf-bf17-2606d6f789da'::uuid, 'TvMaze', 944443)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26807 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b12ed1c1-2992-1ecf-bf17-2606d6f789da'::uuid;

-- Query #26808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b12ed1c1-2992-1ecf-bf17-2606d6f789da'::uuid;

-- Query #26809 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b12ed1c1-2992-1ecf-bf17-2606d6f789da'::uuid]);

-- Query #26810 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b12ed1c1-2992-1ecf-bf17-2606d6f789da'::uuid;

-- Query #26811 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26812 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '766e9e9e-367b-1b9c-f67e-674789997748'::uuid;

-- Query #26813 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['766e9e9e-367b-1b9c-f67e-674789997748'::uuid]);

-- Query #26814 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '766e9e9e-367b-1b9c-f67e-674789997748'::uuid;

-- Query #26815 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('766e9e9e-367b-1b9c-f67e-674789997748'::uuid, 'Imdb', 'tt6221688')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26816 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('766e9e9e-367b-1b9c-f67e-674789997748'::uuid, 'Tmdb', 1239426)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26817 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('766e9e9e-367b-1b9c-f67e-674789997748'::uuid, 'TmdbCollection', 1239426)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26818 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('766e9e9e-367b-1b9c-f67e-674789997748'::uuid, 'trakt', 2395497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('766e9e9e-367b-1b9c-f67e-674789997748'::uuid, 'Tvdb', 5826725)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('766e9e9e-367b-1b9c-f67e-674789997748'::uuid, 'TvMaze', 981873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26821 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '766e9e9e-367b-1b9c-f67e-674789997748'::uuid;

-- Query #26822 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '766e9e9e-367b-1b9c-f67e-674789997748'::uuid;

-- Query #26823 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['766e9e9e-367b-1b9c-f67e-674789997748'::uuid]);

-- Query #26824 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '766e9e9e-367b-1b9c-f67e-674789997748'::uuid;

-- Query #26825 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26826 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7950c7d-bc93-3c44-370e-be46534c09a3'::uuid;

-- Query #26827 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e7950c7d-bc93-3c44-370e-be46534c09a3'::uuid]);

-- Query #26828 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e7950c7d-bc93-3c44-370e-be46534c09a3'::uuid;

-- Query #26829 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7950c7d-bc93-3c44-370e-be46534c09a3'::uuid, 'Imdb', 'tt6033660')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7950c7d-bc93-3c44-370e-be46534c09a3'::uuid, 'Tmdb', 1223756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7950c7d-bc93-3c44-370e-be46534c09a3'::uuid, 'TmdbCollection', 1223756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7950c7d-bc93-3c44-370e-be46534c09a3'::uuid, 'trakt', 2310197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7950c7d-bc93-3c44-370e-be46534c09a3'::uuid, 'Tvdb', 5710846)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7950c7d-bc93-3c44-370e-be46534c09a3'::uuid, 'TvMaze', 895868)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26835 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7950c7d-bc93-3c44-370e-be46534c09a3'::uuid;

-- Query #26836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e7950c7d-bc93-3c44-370e-be46534c09a3'::uuid;

-- Query #26837 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e7950c7d-bc93-3c44-370e-be46534c09a3'::uuid]);

-- Query #26838 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e7950c7d-bc93-3c44-370e-be46534c09a3'::uuid;

-- Query #26839 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26840 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0f7222e-b536-ab9e-f35e-e2733fb38c07'::uuid;

-- Query #26841 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0f7222e-b536-ab9e-f35e-e2733fb38c07'::uuid]);

-- Query #26842 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a0f7222e-b536-ab9e-f35e-e2733fb38c07'::uuid;

-- Query #26843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0f7222e-b536-ab9e-f35e-e2733fb38c07'::uuid, 'Imdb', 'tt6415160')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0f7222e-b536-ab9e-f35e-e2733fb38c07'::uuid, 'Tmdb', 1261531)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26845 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0f7222e-b536-ab9e-f35e-e2733fb38c07'::uuid, 'TmdbCollection', 1261531)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0f7222e-b536-ab9e-f35e-e2733fb38c07'::uuid, 'trakt', 2461123)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26847 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0f7222e-b536-ab9e-f35e-e2733fb38c07'::uuid, 'Tvdb', 5914631)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26848 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0f7222e-b536-ab9e-f35e-e2733fb38c07'::uuid, 'TvMaze', 1031861)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26849 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0f7222e-b536-ab9e-f35e-e2733fb38c07'::uuid;

-- Query #26850 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a0f7222e-b536-ab9e-f35e-e2733fb38c07'::uuid;

-- Query #26851 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a0f7222e-b536-ab9e-f35e-e2733fb38c07'::uuid]);

-- Query #26852 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a0f7222e-b536-ab9e-f35e-e2733fb38c07'::uuid;

-- Query #26853 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26854 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c16b9ab9-c3b9-3c13-d7db-3430665f54b5'::uuid;

-- Query #26855 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c16b9ab9-c3b9-3c13-d7db-3430665f54b5'::uuid]);

-- Query #26856 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c16b9ab9-c3b9-3c13-d7db-3430665f54b5'::uuid;

-- Query #26857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c16b9ab9-c3b9-3c13-d7db-3430665f54b5'::uuid, 'Imdb', 'tt6415162')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c16b9ab9-c3b9-3c13-d7db-3430665f54b5'::uuid, 'Tmdb', 1261532)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c16b9ab9-c3b9-3c13-d7db-3430665f54b5'::uuid, 'TmdbCollection', 1261532)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c16b9ab9-c3b9-3c13-d7db-3430665f54b5'::uuid, 'trakt', 2461127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c16b9ab9-c3b9-3c13-d7db-3430665f54b5'::uuid, 'Tvdb', 5914634)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26862 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c16b9ab9-c3b9-3c13-d7db-3430665f54b5'::uuid, 'TvMaze', 1031863)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26863 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c16b9ab9-c3b9-3c13-d7db-3430665f54b5'::uuid;

-- Query #26864 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c16b9ab9-c3b9-3c13-d7db-3430665f54b5'::uuid;

-- Query #26865 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c16b9ab9-c3b9-3c13-d7db-3430665f54b5'::uuid]);

-- Query #26866 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c16b9ab9-c3b9-3c13-d7db-3430665f54b5'::uuid;

-- Query #26867 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26868 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e0eb2ef-9cb3-d2d8-b6b7-2f5a7ac5bbc8'::uuid;

-- Query #26869 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e0eb2ef-9cb3-d2d8-b6b7-2f5a7ac5bbc8'::uuid]);

-- Query #26870 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9e0eb2ef-9cb3-d2d8-b6b7-2f5a7ac5bbc8'::uuid;

-- Query #26871 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e0eb2ef-9cb3-d2d8-b6b7-2f5a7ac5bbc8'::uuid, 'Imdb', 'tt6415166')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e0eb2ef-9cb3-d2d8-b6b7-2f5a7ac5bbc8'::uuid, 'Tmdb', 1261533)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e0eb2ef-9cb3-d2d8-b6b7-2f5a7ac5bbc8'::uuid, 'TmdbCollection', 1261533)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26874 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e0eb2ef-9cb3-d2d8-b6b7-2f5a7ac5bbc8'::uuid, 'trakt', 2461134)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26875 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e0eb2ef-9cb3-d2d8-b6b7-2f5a7ac5bbc8'::uuid, 'Tvdb', 5914635)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26876 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e0eb2ef-9cb3-d2d8-b6b7-2f5a7ac5bbc8'::uuid, 'TvMaze', 1031864)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26877 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e0eb2ef-9cb3-d2d8-b6b7-2f5a7ac5bbc8'::uuid;

-- Query #26878 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9e0eb2ef-9cb3-d2d8-b6b7-2f5a7ac5bbc8'::uuid;

-- Query #26879 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9e0eb2ef-9cb3-d2d8-b6b7-2f5a7ac5bbc8'::uuid]);

-- Query #26880 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9e0eb2ef-9cb3-d2d8-b6b7-2f5a7ac5bbc8'::uuid;

-- Query #26881 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26882 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '558d0f23-a192-e493-4e01-7acaf835158c'::uuid;

-- Query #26883 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['558d0f23-a192-e493-4e01-7acaf835158c'::uuid]);

-- Query #26884 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '558d0f23-a192-e493-4e01-7acaf835158c'::uuid;

-- Query #26885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('558d0f23-a192-e493-4e01-7acaf835158c'::uuid, 'Imdb', 'tt6415170')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('558d0f23-a192-e493-4e01-7acaf835158c'::uuid, 'Tmdb', 1261534)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('558d0f23-a192-e493-4e01-7acaf835158c'::uuid, 'TmdbCollection', 1261534)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('558d0f23-a192-e493-4e01-7acaf835158c'::uuid, 'trakt', 2461140)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('558d0f23-a192-e493-4e01-7acaf835158c'::uuid, 'Tvdb', 5914636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('558d0f23-a192-e493-4e01-7acaf835158c'::uuid, 'TvMaze', 1031865)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26891 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '558d0f23-a192-e493-4e01-7acaf835158c'::uuid;

-- Query #26892 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '558d0f23-a192-e493-4e01-7acaf835158c'::uuid;

-- Query #26893 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['558d0f23-a192-e493-4e01-7acaf835158c'::uuid]);

-- Query #26894 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '558d0f23-a192-e493-4e01-7acaf835158c'::uuid;

-- Query #26895 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26896 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2c77bc1-44f2-d439-03f4-351b57006618'::uuid;

-- Query #26897 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2c77bc1-44f2-d439-03f4-351b57006618'::uuid]);

-- Query #26898 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f2c77bc1-44f2-d439-03f4-351b57006618'::uuid;

-- Query #26899 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2c77bc1-44f2-d439-03f4-351b57006618'::uuid, 'Imdb', 'tt5889704')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26900 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2c77bc1-44f2-d439-03f4-351b57006618'::uuid, 'Tmdb', 1214264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26901 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2c77bc1-44f2-d439-03f4-351b57006618'::uuid, 'TmdbCollection', 1214264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2c77bc1-44f2-d439-03f4-351b57006618'::uuid, 'trakt', 2304284)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2c77bc1-44f2-d439-03f4-351b57006618'::uuid, 'Tvdb', 5701861)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26904 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2c77bc1-44f2-d439-03f4-351b57006618'::uuid, 'TvMaze', 880562)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26905 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2c77bc1-44f2-d439-03f4-351b57006618'::uuid;

-- Query #26906 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f2c77bc1-44f2-d439-03f4-351b57006618'::uuid;

-- Query #26907 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #26908 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f2c77bc1-44f2-d439-03f4-351b57006618'::uuid]);

-- Query #26909 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f2c77bc1-44f2-d439-03f4-351b57006618'::uuid;

-- Query #26910 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26911 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e97c09b-2aad-e5be-0d14-0152249b6a83'::uuid;

-- Query #26912 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0e97c09b-2aad-e5be-0d14-0152249b6a83'::uuid]);

-- Query #26913 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0e97c09b-2aad-e5be-0d14-0152249b6a83'::uuid;

-- Query #26914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e97c09b-2aad-e5be-0d14-0152249b6a83'::uuid, 'Imdb', 'tt5645778')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26915 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e97c09b-2aad-e5be-0d14-0152249b6a83'::uuid, 'Tmdb', 1187027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26916 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e97c09b-2aad-e5be-0d14-0152249b6a83'::uuid, 'TmdbCollection', 1187027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26917 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e97c09b-2aad-e5be-0d14-0152249b6a83'::uuid, 'trakt', 2213579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e97c09b-2aad-e5be-0d14-0152249b6a83'::uuid, 'Tvdb', 5588578)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26919 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e97c09b-2aad-e5be-0d14-0152249b6a83'::uuid, 'TvMaze', 708174)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26920 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e97c09b-2aad-e5be-0d14-0152249b6a83'::uuid;

-- Query #26921 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0e97c09b-2aad-e5be-0d14-0152249b6a83'::uuid;

-- Query #26922 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0e97c09b-2aad-e5be-0d14-0152249b6a83'::uuid]);

-- Query #26923 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0e97c09b-2aad-e5be-0d14-0152249b6a83'::uuid;

-- Query #26924 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26925 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '448a8a09-49a3-0c08-91be-a9af562144a2'::uuid;

-- Query #26926 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['448a8a09-49a3-0c08-91be-a9af562144a2'::uuid]);

-- Query #26927 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '448a8a09-49a3-0c08-91be-a9af562144a2'::uuid;

-- Query #26928 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('448a8a09-49a3-0c08-91be-a9af562144a2'::uuid, 'Imdb', 'tt6084854')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26929 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('448a8a09-49a3-0c08-91be-a9af562144a2'::uuid, 'Tmdb', 1229932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26930 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('448a8a09-49a3-0c08-91be-a9af562144a2'::uuid, 'TmdbCollection', 1229932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26931 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('448a8a09-49a3-0c08-91be-a9af562144a2'::uuid, 'trakt', 2353920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26932 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('448a8a09-49a3-0c08-91be-a9af562144a2'::uuid, 'Tvdb', 5765184)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26933 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('448a8a09-49a3-0c08-91be-a9af562144a2'::uuid, 'TvMaze', 944444)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26934 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '448a8a09-49a3-0c08-91be-a9af562144a2'::uuid;

-- Query #26935 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '448a8a09-49a3-0c08-91be-a9af562144a2'::uuid;

-- Query #26936 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['448a8a09-49a3-0c08-91be-a9af562144a2'::uuid]);

-- Query #26937 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '448a8a09-49a3-0c08-91be-a9af562144a2'::uuid;

-- Query #26938 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26939 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1468bf6b-d353-8659-e43f-630b403712f5'::uuid;

-- Query #26940 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1468bf6b-d353-8659-e43f-630b403712f5'::uuid]);

-- Query #26941 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1468bf6b-d353-8659-e43f-630b403712f5'::uuid;

-- Query #26942 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1468bf6b-d353-8659-e43f-630b403712f5'::uuid, 'Imdb', 'tt5827138')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26943 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1468bf6b-d353-8659-e43f-630b403712f5'::uuid, 'Tmdb', 1210613)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26944 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1468bf6b-d353-8659-e43f-630b403712f5'::uuid, 'TmdbCollection', 1210613)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26945 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1468bf6b-d353-8659-e43f-630b403712f5'::uuid, 'trakt', 2287183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26946 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1468bf6b-d353-8659-e43f-630b403712f5'::uuid, 'Tvdb', 5680218)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1468bf6b-d353-8659-e43f-630b403712f5'::uuid, 'TvMaze', 855110)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26948 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1468bf6b-d353-8659-e43f-630b403712f5'::uuid;

-- Query #26949 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1468bf6b-d353-8659-e43f-630b403712f5'::uuid;

-- Query #26950 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1468bf6b-d353-8659-e43f-630b403712f5'::uuid]);

-- Query #26951 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1468bf6b-d353-8659-e43f-630b403712f5'::uuid;

-- Query #26952 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26953 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #26954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eefccaec-cc3f-d0cf-a8ea-36baa5272bee'::uuid;

-- Query #26955 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eefccaec-cc3f-d0cf-a8ea-36baa5272bee'::uuid]);

-- Query #26956 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eefccaec-cc3f-d0cf-a8ea-36baa5272bee'::uuid;

-- Query #26957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eefccaec-cc3f-d0cf-a8ea-36baa5272bee'::uuid, 'Imdb', 'tt5827134')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26958 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eefccaec-cc3f-d0cf-a8ea-36baa5272bee'::uuid, 'Tmdb', 1226463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26959 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eefccaec-cc3f-d0cf-a8ea-36baa5272bee'::uuid, 'TmdbCollection', 1226463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26960 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eefccaec-cc3f-d0cf-a8ea-36baa5272bee'::uuid, 'trakt', 2287181)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26961 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eefccaec-cc3f-d0cf-a8ea-36baa5272bee'::uuid, 'Tvdb', 5680216)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eefccaec-cc3f-d0cf-a8ea-36baa5272bee'::uuid, 'TvMaze', 855109)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26963 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eefccaec-cc3f-d0cf-a8ea-36baa5272bee'::uuid;

-- Query #26964 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eefccaec-cc3f-d0cf-a8ea-36baa5272bee'::uuid;

-- Query #26965 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eefccaec-cc3f-d0cf-a8ea-36baa5272bee'::uuid]);

-- Query #26966 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eefccaec-cc3f-d0cf-a8ea-36baa5272bee'::uuid;

-- Query #26967 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26968 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fd9a5677-70c4-54c6-2cb6-d4456a43f5a0'::uuid;

-- Query #26969 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fd9a5677-70c4-54c6-2cb6-d4456a43f5a0'::uuid]);

-- Query #26970 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fd9a5677-70c4-54c6-2cb6-d4456a43f5a0'::uuid;

-- Query #26971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd9a5677-70c4-54c6-2cb6-d4456a43f5a0'::uuid, 'Imdb', 'tt5567336')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd9a5677-70c4-54c6-2cb6-d4456a43f5a0'::uuid, 'Tmdb', 1187026)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26973 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd9a5677-70c4-54c6-2cb6-d4456a43f5a0'::uuid, 'TmdbCollection', 1187026)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26974 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd9a5677-70c4-54c6-2cb6-d4456a43f5a0'::uuid, 'trakt', 2192935)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd9a5677-70c4-54c6-2cb6-d4456a43f5a0'::uuid, 'Tvdb', 5564679)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fd9a5677-70c4-54c6-2cb6-d4456a43f5a0'::uuid, 'TvMaze', 678076)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26977 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fd9a5677-70c4-54c6-2cb6-d4456a43f5a0'::uuid;

-- Query #26978 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fd9a5677-70c4-54c6-2cb6-d4456a43f5a0'::uuid;

-- Query #26979 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fd9a5677-70c4-54c6-2cb6-d4456a43f5a0'::uuid]);

-- Query #26980 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fd9a5677-70c4-54c6-2cb6-d4456a43f5a0'::uuid;

-- Query #26981 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '909c9916-5016-2b33-092e-c130f9e64069'::uuid;

-- Query #26983 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909c9916-5016-2b33-092e-c130f9e64069'::uuid]);

-- Query #26984 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '909c9916-5016-2b33-092e-c130f9e64069'::uuid;

-- Query #26985 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909c9916-5016-2b33-092e-c130f9e64069'::uuid, 'Imdb', 'tt5889708')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26986 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909c9916-5016-2b33-092e-c130f9e64069'::uuid, 'Tmdb', 1216242)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26987 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909c9916-5016-2b33-092e-c130f9e64069'::uuid, 'TmdbCollection', 1216242)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26988 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909c9916-5016-2b33-092e-c130f9e64069'::uuid, 'trakt', 2304285)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26989 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909c9916-5016-2b33-092e-c130f9e64069'::uuid, 'Tvdb', 5701862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909c9916-5016-2b33-092e-c130f9e64069'::uuid, 'TvMaze', 880563)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #26991 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '909c9916-5016-2b33-092e-c130f9e64069'::uuid;

-- Query #26992 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '909c9916-5016-2b33-092e-c130f9e64069'::uuid;

-- Query #26993 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #26994 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['909c9916-5016-2b33-092e-c130f9e64069'::uuid]);

-- Query #26995 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '909c9916-5016-2b33-092e-c130f9e64069'::uuid;

-- Query #26996 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #26997 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c90c8ea3-9ddd-9545-db54-a9fa962798aa'::uuid;

-- Query #26998 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c90c8ea3-9ddd-9545-db54-a9fa962798aa'::uuid]);

-- Query #26999 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c90c8ea3-9ddd-9545-db54-a9fa962798aa'::uuid;

-- Query #27000 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c90c8ea3-9ddd-9545-db54-a9fa962798aa'::uuid, 'Imdb', 'tt5889702')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c90c8ea3-9ddd-9545-db54-a9fa962798aa'::uuid, 'Tmdb', 1212322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c90c8ea3-9ddd-9545-db54-a9fa962798aa'::uuid, 'TmdbCollection', 1212322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c90c8ea3-9ddd-9545-db54-a9fa962798aa'::uuid, 'trakt', 2304283)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c90c8ea3-9ddd-9545-db54-a9fa962798aa'::uuid, 'Tvdb', 5701860)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27005 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c90c8ea3-9ddd-9545-db54-a9fa962798aa'::uuid, 'TvMaze', 880561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27006 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c90c8ea3-9ddd-9545-db54-a9fa962798aa'::uuid;

-- Query #27007 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c90c8ea3-9ddd-9545-db54-a9fa962798aa'::uuid;

-- Query #27008 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c90c8ea3-9ddd-9545-db54-a9fa962798aa'::uuid]);

-- Query #27009 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c90c8ea3-9ddd-9545-db54-a9fa962798aa'::uuid;

-- Query #27010 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27011 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c5d4b68-22cf-e302-ddae-af9d32c2773f'::uuid;

-- Query #27012 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c5d4b68-22cf-e302-ddae-af9d32c2773f'::uuid]);

-- Query #27013 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1c5d4b68-22cf-e302-ddae-af9d32c2773f'::uuid;

-- Query #27014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c5d4b68-22cf-e302-ddae-af9d32c2773f'::uuid, 'Imdb', 'tt6033662')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c5d4b68-22cf-e302-ddae-af9d32c2773f'::uuid, 'Tmdb', 1226407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c5d4b68-22cf-e302-ddae-af9d32c2773f'::uuid, 'TmdbCollection', 1226407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c5d4b68-22cf-e302-ddae-af9d32c2773f'::uuid, 'trakt', 2310198)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27018 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c5d4b68-22cf-e302-ddae-af9d32c2773f'::uuid, 'Tvdb', 5710847)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c5d4b68-22cf-e302-ddae-af9d32c2773f'::uuid, 'TvMaze', 895869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27020 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c5d4b68-22cf-e302-ddae-af9d32c2773f'::uuid;

-- Query #27021 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1c5d4b68-22cf-e302-ddae-af9d32c2773f'::uuid;

-- Query #27022 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1c5d4b68-22cf-e302-ddae-af9d32c2773f'::uuid]);

-- Query #27023 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1c5d4b68-22cf-e302-ddae-af9d32c2773f'::uuid;

-- Query #27024 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27025 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f44de05e-2fab-5807-5461-1a1b18d0159c'::uuid;

-- Query #27026 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f44de05e-2fab-5807-5461-1a1b18d0159c'::uuid]);

-- Query #27027 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f44de05e-2fab-5807-5461-1a1b18d0159c'::uuid;

-- Query #27028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f44de05e-2fab-5807-5461-1a1b18d0159c'::uuid, 'Imdb', 'tt5521462')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f44de05e-2fab-5807-5461-1a1b18d0159c'::uuid, 'Tmdb', 1174775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f44de05e-2fab-5807-5461-1a1b18d0159c'::uuid, 'TmdbCollection', 1174775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27031 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f44de05e-2fab-5807-5461-1a1b18d0159c'::uuid, 'trakt', 2174200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f44de05e-2fab-5807-5461-1a1b18d0159c'::uuid, 'Tvdb', 5533616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27033 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f44de05e-2fab-5807-5461-1a1b18d0159c'::uuid, 'TvMaze', 630721)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27034 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f44de05e-2fab-5807-5461-1a1b18d0159c'::uuid;

-- Query #27035 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f44de05e-2fab-5807-5461-1a1b18d0159c'::uuid;

-- Query #27036 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f44de05e-2fab-5807-5461-1a1b18d0159c'::uuid]);

-- Query #27037 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f44de05e-2fab-5807-5461-1a1b18d0159c'::uuid;

-- Query #27038 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27039 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bcefaaed-a0b5-4a09-114e-3c19bf8bdb49'::uuid;

-- Query #27040 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcefaaed-a0b5-4a09-114e-3c19bf8bdb49'::uuid]);

-- Query #27041 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bcefaaed-a0b5-4a09-114e-3c19bf8bdb49'::uuid;

-- Query #27042 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcefaaed-a0b5-4a09-114e-3c19bf8bdb49'::uuid, 'Imdb', 'tt5889712')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27043 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcefaaed-a0b5-4a09-114e-3c19bf8bdb49'::uuid, 'Tmdb', 1217632)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27044 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcefaaed-a0b5-4a09-114e-3c19bf8bdb49'::uuid, 'TmdbCollection', 1217632)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcefaaed-a0b5-4a09-114e-3c19bf8bdb49'::uuid, 'trakt', 2304286)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcefaaed-a0b5-4a09-114e-3c19bf8bdb49'::uuid, 'Tvdb', 5701863)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcefaaed-a0b5-4a09-114e-3c19bf8bdb49'::uuid, 'TvMaze', 880564)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27048 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bcefaaed-a0b5-4a09-114e-3c19bf8bdb49'::uuid;

-- Query #27049 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bcefaaed-a0b5-4a09-114e-3c19bf8bdb49'::uuid;

-- Query #27050 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bcefaaed-a0b5-4a09-114e-3c19bf8bdb49'::uuid]);

-- Query #27051 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bcefaaed-a0b5-4a09-114e-3c19bf8bdb49'::uuid;

-- Query #27052 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27053 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e5bbf6b-9b0b-e0a4-04b8-9ce6e6cb6e40'::uuid;

-- Query #27054 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4e5bbf6b-9b0b-e0a4-04b8-9ce6e6cb6e40'::uuid]);

-- Query #27055 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4e5bbf6b-9b0b-e0a4-04b8-9ce6e6cb6e40'::uuid;

-- Query #27056 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e5bbf6b-9b0b-e0a4-04b8-9ce6e6cb6e40'::uuid, 'Imdb', 'tt5567332')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27057 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e5bbf6b-9b0b-e0a4-04b8-9ce6e6cb6e40'::uuid, 'Tmdb', 1187024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e5bbf6b-9b0b-e0a4-04b8-9ce6e6cb6e40'::uuid, 'TmdbCollection', 1187024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e5bbf6b-9b0b-e0a4-04b8-9ce6e6cb6e40'::uuid, 'trakt', 2192933)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e5bbf6b-9b0b-e0a4-04b8-9ce6e6cb6e40'::uuid, 'Tvdb', 5564677)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e5bbf6b-9b0b-e0a4-04b8-9ce6e6cb6e40'::uuid, 'TvMaze', 678074)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27062 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e5bbf6b-9b0b-e0a4-04b8-9ce6e6cb6e40'::uuid;

-- Query #27063 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4e5bbf6b-9b0b-e0a4-04b8-9ce6e6cb6e40'::uuid;

-- Query #27064 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4e5bbf6b-9b0b-e0a4-04b8-9ce6e6cb6e40'::uuid]);

-- Query #27065 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4e5bbf6b-9b0b-e0a4-04b8-9ce6e6cb6e40'::uuid;

-- Query #27066 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27067 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a54d0b32-dc79-52f4-e6d6-0869fbcb7cb3'::uuid;

-- Query #27068 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a54d0b32-dc79-52f4-e6d6-0869fbcb7cb3'::uuid]);

-- Query #27069 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a54d0b32-dc79-52f4-e6d6-0869fbcb7cb3'::uuid;

-- Query #27070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a54d0b32-dc79-52f4-e6d6-0869fbcb7cb3'::uuid, 'Imdb', 'tt5567334')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a54d0b32-dc79-52f4-e6d6-0869fbcb7cb3'::uuid, 'Tmdb', 1187025)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a54d0b32-dc79-52f4-e6d6-0869fbcb7cb3'::uuid, 'TmdbCollection', 1187025)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a54d0b32-dc79-52f4-e6d6-0869fbcb7cb3'::uuid, 'trakt', 2192934)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a54d0b32-dc79-52f4-e6d6-0869fbcb7cb3'::uuid, 'Tvdb', 5564678)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a54d0b32-dc79-52f4-e6d6-0869fbcb7cb3'::uuid, 'TvMaze', 678075)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27076 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a54d0b32-dc79-52f4-e6d6-0869fbcb7cb3'::uuid;

-- Query #27077 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a54d0b32-dc79-52f4-e6d6-0869fbcb7cb3'::uuid;

-- Query #27078 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a54d0b32-dc79-52f4-e6d6-0869fbcb7cb3'::uuid]);

-- Query #27079 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a54d0b32-dc79-52f4-e6d6-0869fbcb7cb3'::uuid;

-- Query #27080 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27081 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b0c4cce-f58a-0c29-5c13-baf7ffa17e89'::uuid;

-- Query #27082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b0c4cce-f58a-0c29-5c13-baf7ffa17e89'::uuid]);

-- Query #27083 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5b0c4cce-f58a-0c29-5c13-baf7ffa17e89'::uuid;

-- Query #27084 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b0c4cce-f58a-0c29-5c13-baf7ffa17e89'::uuid, 'Imdb', 'tt6221682')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27085 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b0c4cce-f58a-0c29-5c13-baf7ffa17e89'::uuid, 'Tmdb', 1239425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27086 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b0c4cce-f58a-0c29-5c13-baf7ffa17e89'::uuid, 'TmdbCollection', 1239425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b0c4cce-f58a-0c29-5c13-baf7ffa17e89'::uuid, 'trakt', 2395496)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b0c4cce-f58a-0c29-5c13-baf7ffa17e89'::uuid, 'Tvdb', 5826724)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b0c4cce-f58a-0c29-5c13-baf7ffa17e89'::uuid, 'TvMaze', 981872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27090 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b0c4cce-f58a-0c29-5c13-baf7ffa17e89'::uuid;

-- Query #27091 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5b0c4cce-f58a-0c29-5c13-baf7ffa17e89'::uuid;

-- Query #27092 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5b0c4cce-f58a-0c29-5c13-baf7ffa17e89'::uuid]);

-- Query #27093 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5b0c4cce-f58a-0c29-5c13-baf7ffa17e89'::uuid;

-- Query #27094 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27095 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '571005df-7566-3a00-2f81-f67a1d5dc8c6'::uuid;

-- Query #27096 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['571005df-7566-3a00-2f81-f67a1d5dc8c6'::uuid]);

-- Query #27097 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '571005df-7566-3a00-2f81-f67a1d5dc8c6'::uuid;

-- Query #27098 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('571005df-7566-3a00-2f81-f67a1d5dc8c6'::uuid, 'Imdb', 'tt5567330')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27099 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('571005df-7566-3a00-2f81-f67a1d5dc8c6'::uuid, 'Tmdb', 1183798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('571005df-7566-3a00-2f81-f67a1d5dc8c6'::uuid, 'TmdbCollection', 1183798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('571005df-7566-3a00-2f81-f67a1d5dc8c6'::uuid, 'trakt', 2192932)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('571005df-7566-3a00-2f81-f67a1d5dc8c6'::uuid, 'Tvdb', 5564676)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('571005df-7566-3a00-2f81-f67a1d5dc8c6'::uuid, 'TvMaze', 678073)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27104 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '571005df-7566-3a00-2f81-f67a1d5dc8c6'::uuid;

-- Query #27105 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '571005df-7566-3a00-2f81-f67a1d5dc8c6'::uuid;

-- Query #27106 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27107 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['571005df-7566-3a00-2f81-f67a1d5dc8c6'::uuid]);

-- Query #27108 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '571005df-7566-3a00-2f81-f67a1d5dc8c6'::uuid;

-- Query #27109 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27110 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '00e1dd82-a62b-a778-9b6a-30642d4103cd'::uuid;

-- Query #27111 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00e1dd82-a62b-a778-9b6a-30642d4103cd'::uuid]);

-- Query #27112 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '00e1dd82-a62b-a778-9b6a-30642d4103cd'::uuid;

-- Query #27113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00e1dd82-a62b-a778-9b6a-30642d4103cd'::uuid, 'Imdb', 'tt8050370')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27114 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00e1dd82-a62b-a778-9b6a-30642d4103cd'::uuid, 'Tmdb', 1692474)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27115 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00e1dd82-a62b-a778-9b6a-30642d4103cd'::uuid, 'TmdbCollection', 1692474)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00e1dd82-a62b-a778-9b6a-30642d4103cd'::uuid, 'trakt', 2888967)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00e1dd82-a62b-a778-9b6a-30642d4103cd'::uuid, 'Tvdb', 6548678)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00e1dd82-a62b-a778-9b6a-30642d4103cd'::uuid, 'TvMaze', 1424029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27119 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '00e1dd82-a62b-a778-9b6a-30642d4103cd'::uuid;

-- Query #27120 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '00e1dd82-a62b-a778-9b6a-30642d4103cd'::uuid;

-- Query #27121 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27122 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['00e1dd82-a62b-a778-9b6a-30642d4103cd'::uuid]);

-- Query #27123 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '00e1dd82-a62b-a778-9b6a-30642d4103cd'::uuid;

-- Query #27124 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27125 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59c70113-3f7a-5cf6-e4d1-d72ed192c51b'::uuid;

-- Query #27126 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59c70113-3f7a-5cf6-e4d1-d72ed192c51b'::uuid]);

-- Query #27127 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '59c70113-3f7a-5cf6-e4d1-d72ed192c51b'::uuid;

-- Query #27128 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59c70113-3f7a-5cf6-e4d1-d72ed192c51b'::uuid, 'Imdb', 'tt6135814')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27129 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59c70113-3f7a-5cf6-e4d1-d72ed192c51b'::uuid, 'Tmdb', 1329549)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27130 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59c70113-3f7a-5cf6-e4d1-d72ed192c51b'::uuid, 'TmdbCollection', 1329549)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59c70113-3f7a-5cf6-e4d1-d72ed192c51b'::uuid, 'trakt', 2591926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59c70113-3f7a-5cf6-e4d1-d72ed192c51b'::uuid, 'Tvdb', 6106608)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59c70113-3f7a-5cf6-e4d1-d72ed192c51b'::uuid, 'TvMaze', 1202890)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27134 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59c70113-3f7a-5cf6-e4d1-d72ed192c51b'::uuid;

-- Query #27135 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '59c70113-3f7a-5cf6-e4d1-d72ed192c51b'::uuid;

-- Query #27136 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27137 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['59c70113-3f7a-5cf6-e4d1-d72ed192c51b'::uuid]);

-- Query #27138 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '59c70113-3f7a-5cf6-e4d1-d72ed192c51b'::uuid;

-- Query #27139 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27140 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd5824fba-32b6-0bb6-bf09-b7eb23b79904'::uuid;

-- Query #27141 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d5824fba-32b6-0bb6-bf09-b7eb23b79904'::uuid]);

-- Query #27142 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd5824fba-32b6-0bb6-bf09-b7eb23b79904'::uuid;

-- Query #27143 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5824fba-32b6-0bb6-bf09-b7eb23b79904'::uuid, 'Imdb', 'tt6956936')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27144 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5824fba-32b6-0bb6-bf09-b7eb23b79904'::uuid, 'Tmdb', 1329561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5824fba-32b6-0bb6-bf09-b7eb23b79904'::uuid, 'TmdbCollection', 1329561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5824fba-32b6-0bb6-bf09-b7eb23b79904'::uuid, 'trakt', 2591927)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5824fba-32b6-0bb6-bf09-b7eb23b79904'::uuid, 'Tvdb', 6106609)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5824fba-32b6-0bb6-bf09-b7eb23b79904'::uuid, 'TvMaze', 1202891)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27149 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd5824fba-32b6-0bb6-bf09-b7eb23b79904'::uuid;

-- Query #27150 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd5824fba-32b6-0bb6-bf09-b7eb23b79904'::uuid;

-- Query #27151 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27152 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d5824fba-32b6-0bb6-bf09-b7eb23b79904'::uuid]);

-- Query #27153 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd5824fba-32b6-0bb6-bf09-b7eb23b79904'::uuid;

-- Query #27154 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27155 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '10f2e67c-94f2-c9e4-0aa3-4510be66e75a'::uuid;

-- Query #27156 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10f2e67c-94f2-c9e4-0aa3-4510be66e75a'::uuid]);

-- Query #27157 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '10f2e67c-94f2-c9e4-0aa3-4510be66e75a'::uuid;

-- Query #27158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10f2e67c-94f2-c9e4-0aa3-4510be66e75a'::uuid, 'Imdb', 'tt7866146')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27159 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10f2e67c-94f2-c9e4-0aa3-4510be66e75a'::uuid, 'Tmdb', 1418636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10f2e67c-94f2-c9e4-0aa3-4510be66e75a'::uuid, 'TmdbCollection', 1418636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10f2e67c-94f2-c9e4-0aa3-4510be66e75a'::uuid, 'trakt', 2842759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10f2e67c-94f2-c9e4-0aa3-4510be66e75a'::uuid, 'Tvdb', 6481014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10f2e67c-94f2-c9e4-0aa3-4510be66e75a'::uuid, 'TvMaze', 1383659)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27164 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '10f2e67c-94f2-c9e4-0aa3-4510be66e75a'::uuid;

-- Query #27165 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '10f2e67c-94f2-c9e4-0aa3-4510be66e75a'::uuid;

-- Query #27166 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['10f2e67c-94f2-c9e4-0aa3-4510be66e75a'::uuid]);

-- Query #27167 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '10f2e67c-94f2-c9e4-0aa3-4510be66e75a'::uuid;

-- Query #27168 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27169 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f17436de-fc9a-dea1-3ac3-1d197593d548'::uuid;

-- Query #27170 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f17436de-fc9a-dea1-3ac3-1d197593d548'::uuid]);

-- Query #27171 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f17436de-fc9a-dea1-3ac3-1d197593d548'::uuid;

-- Query #27172 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f17436de-fc9a-dea1-3ac3-1d197593d548'::uuid, 'Imdb', 'tt8050366')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27173 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f17436de-fc9a-dea1-3ac3-1d197593d548'::uuid, 'Tmdb', 1692470)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27174 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f17436de-fc9a-dea1-3ac3-1d197593d548'::uuid, 'TmdbCollection', 1692470)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f17436de-fc9a-dea1-3ac3-1d197593d548'::uuid, 'trakt', 2888963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f17436de-fc9a-dea1-3ac3-1d197593d548'::uuid, 'Tvdb', 6548676)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f17436de-fc9a-dea1-3ac3-1d197593d548'::uuid, 'TvMaze', 1424014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27178 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f17436de-fc9a-dea1-3ac3-1d197593d548'::uuid;

-- Query #27179 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f17436de-fc9a-dea1-3ac3-1d197593d548'::uuid;

-- Query #27180 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27181 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f17436de-fc9a-dea1-3ac3-1d197593d548'::uuid]);

-- Query #27182 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f17436de-fc9a-dea1-3ac3-1d197593d548'::uuid;

-- Query #27183 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27184 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6bde6157-9aa3-67aa-bc23-d690d483450f'::uuid;

-- Query #27185 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6bde6157-9aa3-67aa-bc23-d690d483450f'::uuid]);

-- Query #27186 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6bde6157-9aa3-67aa-bc23-d690d483450f'::uuid;

-- Query #27187 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bde6157-9aa3-67aa-bc23-d690d483450f'::uuid, 'Imdb', 'tt7401058')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27188 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bde6157-9aa3-67aa-bc23-d690d483450f'::uuid, 'Tmdb', 1390001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bde6157-9aa3-67aa-bc23-d690d483450f'::uuid, 'TmdbCollection', 1390001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bde6157-9aa3-67aa-bc23-d690d483450f'::uuid, 'trakt', 2735093)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bde6157-9aa3-67aa-bc23-d690d483450f'::uuid, 'Tvdb', 6322886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bde6157-9aa3-67aa-bc23-d690d483450f'::uuid, 'TvMaze', 1332153)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27193 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6bde6157-9aa3-67aa-bc23-d690d483450f'::uuid;

-- Query #27194 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6bde6157-9aa3-67aa-bc23-d690d483450f'::uuid;

-- Query #27195 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6bde6157-9aa3-67aa-bc23-d690d483450f'::uuid]);

-- Query #27196 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6bde6157-9aa3-67aa-bc23-d690d483450f'::uuid;

-- Query #27197 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27198 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '46dad30b-cecb-2068-2bfc-bca478a1d5fb'::uuid;

-- Query #27199 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46dad30b-cecb-2068-2bfc-bca478a1d5fb'::uuid]);

-- Query #27200 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '46dad30b-cecb-2068-2bfc-bca478a1d5fb'::uuid;

-- Query #27201 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46dad30b-cecb-2068-2bfc-bca478a1d5fb'::uuid, 'Imdb', 'tt7401084')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27202 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46dad30b-cecb-2068-2bfc-bca478a1d5fb'::uuid, 'Tmdb', 1417227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27203 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46dad30b-cecb-2068-2bfc-bca478a1d5fb'::uuid, 'TmdbCollection', 1417227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27204 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46dad30b-cecb-2068-2bfc-bca478a1d5fb'::uuid, 'trakt', 2842748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46dad30b-cecb-2068-2bfc-bca478a1d5fb'::uuid, 'Tvdb', 6480295)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46dad30b-cecb-2068-2bfc-bca478a1d5fb'::uuid, 'TvMaze', 1383657)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27207 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '46dad30b-cecb-2068-2bfc-bca478a1d5fb'::uuid;

-- Query #27208 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '46dad30b-cecb-2068-2bfc-bca478a1d5fb'::uuid;

-- Query #27209 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27210 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['46dad30b-cecb-2068-2bfc-bca478a1d5fb'::uuid]);

-- Query #27211 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '46dad30b-cecb-2068-2bfc-bca478a1d5fb'::uuid;

-- Query #27212 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27213 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b4c19778-b917-ead4-1fe5-929faab74eed'::uuid;

-- Query #27214 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4c19778-b917-ead4-1fe5-929faab74eed'::uuid]);

-- Query #27215 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b4c19778-b917-ead4-1fe5-929faab74eed'::uuid;

-- Query #27216 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4c19778-b917-ead4-1fe5-929faab74eed'::uuid, 'Imdb', 'tt7401086')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4c19778-b917-ead4-1fe5-929faab74eed'::uuid, 'Tmdb', 1417228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4c19778-b917-ead4-1fe5-929faab74eed'::uuid, 'TmdbCollection', 1417228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4c19778-b917-ead4-1fe5-929faab74eed'::uuid, 'trakt', 2842754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4c19778-b917-ead4-1fe5-929faab74eed'::uuid, 'Tvdb', 6481013)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b4c19778-b917-ead4-1fe5-929faab74eed'::uuid, 'TvMaze', 1383658)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27222 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b4c19778-b917-ead4-1fe5-929faab74eed'::uuid;

-- Query #27223 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b4c19778-b917-ead4-1fe5-929faab74eed'::uuid;

-- Query #27224 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27225 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b4c19778-b917-ead4-1fe5-929faab74eed'::uuid]);

-- Query #27226 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b4c19778-b917-ead4-1fe5-929faab74eed'::uuid;

-- Query #27227 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27228 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #27229 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a23d811-ea75-1a48-17e5-8950fc7f7025'::uuid;

-- Query #27230 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a23d811-ea75-1a48-17e5-8950fc7f7025'::uuid]);

-- Query #27231 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4a23d811-ea75-1a48-17e5-8950fc7f7025'::uuid;

-- Query #27232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a23d811-ea75-1a48-17e5-8950fc7f7025'::uuid, 'Imdb', 'tt7866150')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a23d811-ea75-1a48-17e5-8950fc7f7025'::uuid, 'Tmdb', 1419108)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a23d811-ea75-1a48-17e5-8950fc7f7025'::uuid, 'TmdbCollection', 1419108)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a23d811-ea75-1a48-17e5-8950fc7f7025'::uuid, 'trakt', 2842761)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a23d811-ea75-1a48-17e5-8950fc7f7025'::uuid, 'Tvdb', 6481016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a23d811-ea75-1a48-17e5-8950fc7f7025'::uuid, 'TvMaze', 1383661)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27238 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a23d811-ea75-1a48-17e5-8950fc7f7025'::uuid;

-- Query #27239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4a23d811-ea75-1a48-17e5-8950fc7f7025'::uuid;

-- Query #27240 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27241 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4a23d811-ea75-1a48-17e5-8950fc7f7025'::uuid]);

-- Query #27242 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4a23d811-ea75-1a48-17e5-8950fc7f7025'::uuid;

-- Query #27243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9a2efa1-6a84-ce3f-b818-f87ce2cb6b50'::uuid;

-- Query #27245 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9a2efa1-6a84-ce3f-b818-f87ce2cb6b50'::uuid]);

-- Query #27246 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f9a2efa1-6a84-ce3f-b818-f87ce2cb6b50'::uuid;

-- Query #27247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9a2efa1-6a84-ce3f-b818-f87ce2cb6b50'::uuid, 'Imdb', 'tt7173766')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9a2efa1-6a84-ce3f-b818-f87ce2cb6b50'::uuid, 'Tmdb', 1389991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9a2efa1-6a84-ce3f-b818-f87ce2cb6b50'::uuid, 'TmdbCollection', 1389991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9a2efa1-6a84-ce3f-b818-f87ce2cb6b50'::uuid, 'trakt', 2648198)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9a2efa1-6a84-ce3f-b818-f87ce2cb6b50'::uuid, 'Tvdb', 6186687)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9a2efa1-6a84-ce3f-b818-f87ce2cb6b50'::uuid, 'TvMaze', 1283925)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27253 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9a2efa1-6a84-ce3f-b818-f87ce2cb6b50'::uuid;

-- Query #27254 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f9a2efa1-6a84-ce3f-b818-f87ce2cb6b50'::uuid;

-- Query #27255 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f9a2efa1-6a84-ce3f-b818-f87ce2cb6b50'::uuid]);

-- Query #27256 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f9a2efa1-6a84-ce3f-b818-f87ce2cb6b50'::uuid;

-- Query #27257 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a44eaa94-547d-2037-dbef-05c41095ff3a'::uuid;

-- Query #27259 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a44eaa94-547d-2037-dbef-05c41095ff3a'::uuid]);

-- Query #27260 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a44eaa94-547d-2037-dbef-05c41095ff3a'::uuid;

-- Query #27261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a44eaa94-547d-2037-dbef-05c41095ff3a'::uuid, 'Imdb', 'tt7401082')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a44eaa94-547d-2037-dbef-05c41095ff3a'::uuid, 'Tmdb', 1401520)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a44eaa94-547d-2037-dbef-05c41095ff3a'::uuid, 'TmdbCollection', 1401520)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a44eaa94-547d-2037-dbef-05c41095ff3a'::uuid, 'trakt', 2763276)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a44eaa94-547d-2037-dbef-05c41095ff3a'::uuid, 'Tvdb', 6433244)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a44eaa94-547d-2037-dbef-05c41095ff3a'::uuid, 'TvMaze', 1362787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a44eaa94-547d-2037-dbef-05c41095ff3a'::uuid;

-- Query #27268 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a44eaa94-547d-2037-dbef-05c41095ff3a'::uuid;

-- Query #27269 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a44eaa94-547d-2037-dbef-05c41095ff3a'::uuid]);

-- Query #27270 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a44eaa94-547d-2037-dbef-05c41095ff3a'::uuid;

-- Query #27271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '23662ff8-8225-0130-a78a-707c3bc3507d'::uuid;

-- Query #27273 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['23662ff8-8225-0130-a78a-707c3bc3507d'::uuid]);

-- Query #27274 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '23662ff8-8225-0130-a78a-707c3bc3507d'::uuid;

-- Query #27275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('23662ff8-8225-0130-a78a-707c3bc3507d'::uuid, 'Imdb', 'tt7401052')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('23662ff8-8225-0130-a78a-707c3bc3507d'::uuid, 'Tmdb', 1389997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('23662ff8-8225-0130-a78a-707c3bc3507d'::uuid, 'TmdbCollection', 1389997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('23662ff8-8225-0130-a78a-707c3bc3507d'::uuid, 'trakt', 2735084)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('23662ff8-8225-0130-a78a-707c3bc3507d'::uuid, 'Tvdb', 6322885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('23662ff8-8225-0130-a78a-707c3bc3507d'::uuid, 'TvMaze', 1332152)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27281 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '23662ff8-8225-0130-a78a-707c3bc3507d'::uuid;

-- Query #27282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '23662ff8-8225-0130-a78a-707c3bc3507d'::uuid;

-- Query #27283 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['23662ff8-8225-0130-a78a-707c3bc3507d'::uuid]);

-- Query #27284 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '23662ff8-8225-0130-a78a-707c3bc3507d'::uuid;

-- Query #27285 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27286 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f1053eda-050f-edd3-be3f-5fcfa5962ab3'::uuid;

-- Query #27287 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f1053eda-050f-edd3-be3f-5fcfa5962ab3'::uuid]);

-- Query #27288 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f1053eda-050f-edd3-be3f-5fcfa5962ab3'::uuid;

-- Query #27289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1053eda-050f-edd3-be3f-5fcfa5962ab3'::uuid, 'Imdb', 'tt7173762')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1053eda-050f-edd3-be3f-5fcfa5962ab3'::uuid, 'Tmdb', 1389990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1053eda-050f-edd3-be3f-5fcfa5962ab3'::uuid, 'TmdbCollection', 1389990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1053eda-050f-edd3-be3f-5fcfa5962ab3'::uuid, 'trakt', 2615488)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1053eda-050f-edd3-be3f-5fcfa5962ab3'::uuid, 'Tvdb', 6140392)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1053eda-050f-edd3-be3f-5fcfa5962ab3'::uuid, 'TvMaze', 1283924)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27295 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f1053eda-050f-edd3-be3f-5fcfa5962ab3'::uuid;

-- Query #27296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f1053eda-050f-edd3-be3f-5fcfa5962ab3'::uuid;

-- Query #27297 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27298 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f1053eda-050f-edd3-be3f-5fcfa5962ab3'::uuid]);

-- Query #27299 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f1053eda-050f-edd3-be3f-5fcfa5962ab3'::uuid;

-- Query #27300 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27301 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a77f5a6-bf67-4aa2-d6b9-270b66a9ef48'::uuid;

-- Query #27302 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a77f5a6-bf67-4aa2-d6b9-270b66a9ef48'::uuid]);

-- Query #27303 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4a77f5a6-bf67-4aa2-d6b9-270b66a9ef48'::uuid;

-- Query #27304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a77f5a6-bf67-4aa2-d6b9-270b66a9ef48'::uuid, 'Imdb', 'tt7401072')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a77f5a6-bf67-4aa2-d6b9-270b66a9ef48'::uuid, 'Tmdb', 1390008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a77f5a6-bf67-4aa2-d6b9-270b66a9ef48'::uuid, 'TmdbCollection', 1390008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a77f5a6-bf67-4aa2-d6b9-270b66a9ef48'::uuid, 'trakt', 2735105)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a77f5a6-bf67-4aa2-d6b9-270b66a9ef48'::uuid, 'Tvdb', 6322889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a77f5a6-bf67-4aa2-d6b9-270b66a9ef48'::uuid, 'TvMaze', 1334257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27310 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a77f5a6-bf67-4aa2-d6b9-270b66a9ef48'::uuid;

-- Query #27311 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4a77f5a6-bf67-4aa2-d6b9-270b66a9ef48'::uuid;

-- Query #27312 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27313 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4a77f5a6-bf67-4aa2-d6b9-270b66a9ef48'::uuid]);

-- Query #27314 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4a77f5a6-bf67-4aa2-d6b9-270b66a9ef48'::uuid;

-- Query #27315 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27316 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e2369f3-bade-9155-c882-0e48dae0ed64'::uuid;

-- Query #27317 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0e2369f3-bade-9155-c882-0e48dae0ed64'::uuid]);

-- Query #27318 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0e2369f3-bade-9155-c882-0e48dae0ed64'::uuid;

-- Query #27319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e2369f3-bade-9155-c882-0e48dae0ed64'::uuid, 'Imdb', 'tt7173770')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e2369f3-bade-9155-c882-0e48dae0ed64'::uuid, 'Tmdb', 1389993)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e2369f3-bade-9155-c882-0e48dae0ed64'::uuid, 'TmdbCollection', 1389993)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e2369f3-bade-9155-c882-0e48dae0ed64'::uuid, 'trakt', 2648199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e2369f3-bade-9155-c882-0e48dae0ed64'::uuid, 'Tvdb', 6186688)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e2369f3-bade-9155-c882-0e48dae0ed64'::uuid, 'TvMaze', 1283926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27325 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e2369f3-bade-9155-c882-0e48dae0ed64'::uuid;

-- Query #27326 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0e2369f3-bade-9155-c882-0e48dae0ed64'::uuid;

-- Query #27327 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0e2369f3-bade-9155-c882-0e48dae0ed64'::uuid]);

-- Query #27328 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0e2369f3-bade-9155-c882-0e48dae0ed64'::uuid;

-- Query #27329 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27330 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c21f4240-561c-dad6-6bb4-23aa2c938ea6'::uuid;

-- Query #27331 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c21f4240-561c-dad6-6bb4-23aa2c938ea6'::uuid]);

-- Query #27332 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c21f4240-561c-dad6-6bb4-23aa2c938ea6'::uuid;

-- Query #27333 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c21f4240-561c-dad6-6bb4-23aa2c938ea6'::uuid, 'Imdb', 'tt7401064')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c21f4240-561c-dad6-6bb4-23aa2c938ea6'::uuid, 'Tmdb', 1390007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c21f4240-561c-dad6-6bb4-23aa2c938ea6'::uuid, 'TmdbCollection', 1390007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c21f4240-561c-dad6-6bb4-23aa2c938ea6'::uuid, 'trakt', 2735103)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c21f4240-561c-dad6-6bb4-23aa2c938ea6'::uuid, 'Tvdb', 6322888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c21f4240-561c-dad6-6bb4-23aa2c938ea6'::uuid, 'TvMaze', 1334256)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27339 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c21f4240-561c-dad6-6bb4-23aa2c938ea6'::uuid;

-- Query #27340 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c21f4240-561c-dad6-6bb4-23aa2c938ea6'::uuid;

-- Query #27341 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27342 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c21f4240-561c-dad6-6bb4-23aa2c938ea6'::uuid]);

-- Query #27343 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c21f4240-561c-dad6-6bb4-23aa2c938ea6'::uuid;

-- Query #27344 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27345 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5cd9d648-529e-1998-6b87-4d12bc5895d6'::uuid;

-- Query #27346 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5cd9d648-529e-1998-6b87-4d12bc5895d6'::uuid]);

-- Query #27347 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5cd9d648-529e-1998-6b87-4d12bc5895d6'::uuid;

-- Query #27348 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5cd9d648-529e-1998-6b87-4d12bc5895d6'::uuid, 'Imdb', 'tt7866148')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27349 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5cd9d648-529e-1998-6b87-4d12bc5895d6'::uuid, 'Tmdb', 1418637)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27350 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5cd9d648-529e-1998-6b87-4d12bc5895d6'::uuid, 'TmdbCollection', 1418637)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27351 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5cd9d648-529e-1998-6b87-4d12bc5895d6'::uuid, 'trakt', 2842760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5cd9d648-529e-1998-6b87-4d12bc5895d6'::uuid, 'Tvdb', 6481015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5cd9d648-529e-1998-6b87-4d12bc5895d6'::uuid, 'TvMaze', 1383660)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27354 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5cd9d648-529e-1998-6b87-4d12bc5895d6'::uuid;

-- Query #27355 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5cd9d648-529e-1998-6b87-4d12bc5895d6'::uuid;

-- Query #27356 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27357 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5cd9d648-529e-1998-6b87-4d12bc5895d6'::uuid]);

-- Query #27358 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5cd9d648-529e-1998-6b87-4d12bc5895d6'::uuid;

-- Query #27359 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c147e9e9-0a55-db97-8d3a-916bdd29adf6'::uuid;

-- Query #27361 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c147e9e9-0a55-db97-8d3a-916bdd29adf6'::uuid]);

-- Query #27362 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c147e9e9-0a55-db97-8d3a-916bdd29adf6'::uuid;

-- Query #27363 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c147e9e9-0a55-db97-8d3a-916bdd29adf6'::uuid, 'Imdb', 'tt7866152')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27364 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c147e9e9-0a55-db97-8d3a-916bdd29adf6'::uuid, 'Tmdb', 1419110)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27365 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c147e9e9-0a55-db97-8d3a-916bdd29adf6'::uuid, 'TmdbCollection', 1419110)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c147e9e9-0a55-db97-8d3a-916bdd29adf6'::uuid, 'trakt', 2842762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c147e9e9-0a55-db97-8d3a-916bdd29adf6'::uuid, 'Tvdb', 6481017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c147e9e9-0a55-db97-8d3a-916bdd29adf6'::uuid, 'TvMaze', 1383662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27369 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c147e9e9-0a55-db97-8d3a-916bdd29adf6'::uuid;

-- Query #27370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c147e9e9-0a55-db97-8d3a-916bdd29adf6'::uuid;

-- Query #27371 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c147e9e9-0a55-db97-8d3a-916bdd29adf6'::uuid]);

-- Query #27372 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c147e9e9-0a55-db97-8d3a-916bdd29adf6'::uuid;

-- Query #27373 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27374 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1dfabfd5-b2e0-3f89-b674-2f5a50ab2aa3'::uuid;

-- Query #27375 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1dfabfd5-b2e0-3f89-b674-2f5a50ab2aa3'::uuid]);

-- Query #27376 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1dfabfd5-b2e0-3f89-b674-2f5a50ab2aa3'::uuid;

-- Query #27377 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dfabfd5-b2e0-3f89-b674-2f5a50ab2aa3'::uuid, 'Imdb', 'tt8050368')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27378 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dfabfd5-b2e0-3f89-b674-2f5a50ab2aa3'::uuid, 'Tmdb', 1692471)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27379 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dfabfd5-b2e0-3f89-b674-2f5a50ab2aa3'::uuid, 'TmdbCollection', 1692471)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dfabfd5-b2e0-3f89-b674-2f5a50ab2aa3'::uuid, 'trakt', 2888966)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dfabfd5-b2e0-3f89-b674-2f5a50ab2aa3'::uuid, 'Tvdb', 6548677)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dfabfd5-b2e0-3f89-b674-2f5a50ab2aa3'::uuid, 'TvMaze', 1424022)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27383 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1dfabfd5-b2e0-3f89-b674-2f5a50ab2aa3'::uuid;

-- Query #27384 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1dfabfd5-b2e0-3f89-b674-2f5a50ab2aa3'::uuid;

-- Query #27385 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1dfabfd5-b2e0-3f89-b674-2f5a50ab2aa3'::uuid]);

-- Query #27386 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1dfabfd5-b2e0-3f89-b674-2f5a50ab2aa3'::uuid;

-- Query #27387 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27388 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a03cf7f-12d0-d31d-7766-5992653faea2'::uuid;

-- Query #27389 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a03cf7f-12d0-d31d-7766-5992653faea2'::uuid]);

-- Query #27390 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4a03cf7f-12d0-d31d-7766-5992653faea2'::uuid;

-- Query #27391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a03cf7f-12d0-d31d-7766-5992653faea2'::uuid, 'Imdb', 'tt8050356')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a03cf7f-12d0-d31d-7766-5992653faea2'::uuid, 'Tmdb', 1692468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27393 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a03cf7f-12d0-d31d-7766-5992653faea2'::uuid, 'TmdbCollection', 1692468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27394 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a03cf7f-12d0-d31d-7766-5992653faea2'::uuid, 'trakt', 2888943)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27395 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a03cf7f-12d0-d31d-7766-5992653faea2'::uuid, 'Tvdb', 6548674)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a03cf7f-12d0-d31d-7766-5992653faea2'::uuid, 'TvMaze', 1420960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27397 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a03cf7f-12d0-d31d-7766-5992653faea2'::uuid;

-- Query #27398 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4a03cf7f-12d0-d31d-7766-5992653faea2'::uuid;

-- Query #27399 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4a03cf7f-12d0-d31d-7766-5992653faea2'::uuid]);

-- Query #27400 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4a03cf7f-12d0-d31d-7766-5992653faea2'::uuid;

-- Query #27401 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27402 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd83066a1-bde6-2d52-b37c-e37925c2ed27'::uuid;

-- Query #27403 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d83066a1-bde6-2d52-b37c-e37925c2ed27'::uuid]);

-- Query #27404 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd83066a1-bde6-2d52-b37c-e37925c2ed27'::uuid;

-- Query #27405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d83066a1-bde6-2d52-b37c-e37925c2ed27'::uuid, 'Imdb', 'tt8050364')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d83066a1-bde6-2d52-b37c-e37925c2ed27'::uuid, 'Tmdb', 1692469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27407 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d83066a1-bde6-2d52-b37c-e37925c2ed27'::uuid, 'TmdbCollection', 1692469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27408 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d83066a1-bde6-2d52-b37c-e37925c2ed27'::uuid, 'trakt', 2888953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27409 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d83066a1-bde6-2d52-b37c-e37925c2ed27'::uuid, 'Tvdb', 6548675)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27410 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d83066a1-bde6-2d52-b37c-e37925c2ed27'::uuid, 'TvMaze', 1420961)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27411 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd83066a1-bde6-2d52-b37c-e37925c2ed27'::uuid;

-- Query #27412 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd83066a1-bde6-2d52-b37c-e37925c2ed27'::uuid;

-- Query #27413 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27414 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d83066a1-bde6-2d52-b37c-e37925c2ed27'::uuid]);

-- Query #27415 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd83066a1-bde6-2d52-b37c-e37925c2ed27'::uuid;

-- Query #27416 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27417 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '952d836a-355c-5c81-8e85-a2cbf06d8fd7'::uuid;

-- Query #27418 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['952d836a-355c-5c81-8e85-a2cbf06d8fd7'::uuid]);

-- Query #27419 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '952d836a-355c-5c81-8e85-a2cbf06d8fd7'::uuid;

-- Query #27420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('952d836a-355c-5c81-8e85-a2cbf06d8fd7'::uuid, 'Imdb', 'tt7401050')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27421 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('952d836a-355c-5c81-8e85-a2cbf06d8fd7'::uuid, 'Tmdb', 1389995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27422 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('952d836a-355c-5c81-8e85-a2cbf06d8fd7'::uuid, 'TmdbCollection', 1389995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27423 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('952d836a-355c-5c81-8e85-a2cbf06d8fd7'::uuid, 'trakt', 2735075)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('952d836a-355c-5c81-8e85-a2cbf06d8fd7'::uuid, 'Tvdb', 6322884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('952d836a-355c-5c81-8e85-a2cbf06d8fd7'::uuid, 'TvMaze', 1328643)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27426 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '952d836a-355c-5c81-8e85-a2cbf06d8fd7'::uuid;

-- Query #27427 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '952d836a-355c-5c81-8e85-a2cbf06d8fd7'::uuid;

-- Query #27428 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['952d836a-355c-5c81-8e85-a2cbf06d8fd7'::uuid]);

-- Query #27429 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '952d836a-355c-5c81-8e85-a2cbf06d8fd7'::uuid;

-- Query #27430 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27431 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '84c2978f-0fca-e82d-48a3-338af580085b'::uuid;

-- Query #27432 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['84c2978f-0fca-e82d-48a3-338af580085b'::uuid]);

-- Query #27433 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '84c2978f-0fca-e82d-48a3-338af580085b'::uuid;

-- Query #27434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84c2978f-0fca-e82d-48a3-338af580085b'::uuid, 'Imdb', 'tt9702166')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84c2978f-0fca-e82d-48a3-338af580085b'::uuid, 'Tmdb', 1715346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84c2978f-0fca-e82d-48a3-338af580085b'::uuid, 'trakt', 3348542)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27437 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84c2978f-0fca-e82d-48a3-338af580085b'::uuid, 'TvMaze', 1607339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27438 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84c2978f-0fca-e82d-48a3-338af580085b'::uuid, 'Tvdb', 7011687)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27439 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84c2978f-0fca-e82d-48a3-338af580085b'::uuid, 'TmdbCollection', 1715346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27440 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '84c2978f-0fca-e82d-48a3-338af580085b'::uuid;

-- Query #27441 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '84c2978f-0fca-e82d-48a3-338af580085b'::uuid;

-- Query #27442 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['84c2978f-0fca-e82d-48a3-338af580085b'::uuid]);

-- Query #27443 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '84c2978f-0fca-e82d-48a3-338af580085b'::uuid;

-- Query #27444 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27445 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7480d17d-82a4-5c88-f593-e8c943bd8b3e'::uuid;

-- Query #27446 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7480d17d-82a4-5c88-f593-e8c943bd8b3e'::uuid]);

-- Query #27447 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7480d17d-82a4-5c88-f593-e8c943bd8b3e'::uuid;

-- Query #27448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7480d17d-82a4-5c88-f593-e8c943bd8b3e'::uuid, 'Imdb', 'tt9529294')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27449 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7480d17d-82a4-5c88-f593-e8c943bd8b3e'::uuid, 'Tmdb', 1686472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7480d17d-82a4-5c88-f593-e8c943bd8b3e'::uuid, 'trakt', 3288428)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7480d17d-82a4-5c88-f593-e8c943bd8b3e'::uuid, 'TvMaze', 1594653)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27452 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7480d17d-82a4-5c88-f593-e8c943bd8b3e'::uuid, 'Tvdb', 6953833)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27453 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7480d17d-82a4-5c88-f593-e8c943bd8b3e'::uuid, 'TmdbCollection', 1686472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27454 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7480d17d-82a4-5c88-f593-e8c943bd8b3e'::uuid;

-- Query #27455 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7480d17d-82a4-5c88-f593-e8c943bd8b3e'::uuid;

-- Query #27456 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7480d17d-82a4-5c88-f593-e8c943bd8b3e'::uuid]);

-- Query #27457 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7480d17d-82a4-5c88-f593-e8c943bd8b3e'::uuid;

-- Query #27458 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27459 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3d945f5a-ad05-b883-38ab-935ddcb394a3'::uuid;

-- Query #27460 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d945f5a-ad05-b883-38ab-935ddcb394a3'::uuid]);

-- Query #27461 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3d945f5a-ad05-b883-38ab-935ddcb394a3'::uuid;

-- Query #27462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d945f5a-ad05-b883-38ab-935ddcb394a3'::uuid, 'Imdb', 'tt9344296')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d945f5a-ad05-b883-38ab-935ddcb394a3'::uuid, 'Tmdb', 1633496)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d945f5a-ad05-b883-38ab-935ddcb394a3'::uuid, 'trakt', 3245958)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d945f5a-ad05-b883-38ab-935ddcb394a3'::uuid, 'TvMaze', 1567010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27466 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d945f5a-ad05-b883-38ab-935ddcb394a3'::uuid, 'Tvdb', 6911111)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d945f5a-ad05-b883-38ab-935ddcb394a3'::uuid, 'TmdbCollection', 1633496)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27468 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3d945f5a-ad05-b883-38ab-935ddcb394a3'::uuid;

-- Query #27469 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3d945f5a-ad05-b883-38ab-935ddcb394a3'::uuid;

-- Query #27470 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3d945f5a-ad05-b883-38ab-935ddcb394a3'::uuid]);

-- Query #27471 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3d945f5a-ad05-b883-38ab-935ddcb394a3'::uuid;

-- Query #27472 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27473 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1efba95-93c8-88e9-4b07-3bcea3aab7c1'::uuid;

-- Query #27474 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a1efba95-93c8-88e9-4b07-3bcea3aab7c1'::uuid]);

-- Query #27475 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a1efba95-93c8-88e9-4b07-3bcea3aab7c1'::uuid;

-- Query #27476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1efba95-93c8-88e9-4b07-3bcea3aab7c1'::uuid, 'Imdb', 'tt9182144')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27477 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1efba95-93c8-88e9-4b07-3bcea3aab7c1'::uuid, 'Tmdb', 1623321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27478 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1efba95-93c8-88e9-4b07-3bcea3aab7c1'::uuid, 'trakt', 3215610)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1efba95-93c8-88e9-4b07-3bcea3aab7c1'::uuid, 'TvMaze', 1562730)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1efba95-93c8-88e9-4b07-3bcea3aab7c1'::uuid, 'Tvdb', 6883383)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1efba95-93c8-88e9-4b07-3bcea3aab7c1'::uuid, 'TmdbCollection', 1623321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27482 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1efba95-93c8-88e9-4b07-3bcea3aab7c1'::uuid;

-- Query #27483 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a1efba95-93c8-88e9-4b07-3bcea3aab7c1'::uuid;

-- Query #27484 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a1efba95-93c8-88e9-4b07-3bcea3aab7c1'::uuid]);

-- Query #27485 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a1efba95-93c8-88e9-4b07-3bcea3aab7c1'::uuid;

-- Query #27486 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27487 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '058980fa-fc40-d949-52f3-2fd0bcddf7f9'::uuid;

-- Query #27488 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['058980fa-fc40-d949-52f3-2fd0bcddf7f9'::uuid]);

-- Query #27489 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '058980fa-fc40-d949-52f3-2fd0bcddf7f9'::uuid;

-- Query #27490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('058980fa-fc40-d949-52f3-2fd0bcddf7f9'::uuid, 'Imdb', 'tt9702186')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('058980fa-fc40-d949-52f3-2fd0bcddf7f9'::uuid, 'Tmdb', 1718612)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('058980fa-fc40-d949-52f3-2fd0bcddf7f9'::uuid, 'trakt', 3348561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('058980fa-fc40-d949-52f3-2fd0bcddf7f9'::uuid, 'TvMaze', 1607340)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('058980fa-fc40-d949-52f3-2fd0bcddf7f9'::uuid, 'Tvdb', 7011688)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27495 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('058980fa-fc40-d949-52f3-2fd0bcddf7f9'::uuid, 'TmdbCollection', 1718612)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27496 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '058980fa-fc40-d949-52f3-2fd0bcddf7f9'::uuid;

-- Query #27497 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '058980fa-fc40-d949-52f3-2fd0bcddf7f9'::uuid;

-- Query #27498 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27499 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['058980fa-fc40-d949-52f3-2fd0bcddf7f9'::uuid]);

-- Query #27500 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '058980fa-fc40-d949-52f3-2fd0bcddf7f9'::uuid;

-- Query #27501 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27502 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce1a1e54-baff-bb48-898a-5a0ea7488dba'::uuid;

-- Query #27503 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce1a1e54-baff-bb48-898a-5a0ea7488dba'::uuid]);

-- Query #27504 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ce1a1e54-baff-bb48-898a-5a0ea7488dba'::uuid;

-- Query #27505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce1a1e54-baff-bb48-898a-5a0ea7488dba'::uuid, 'TmdbCollection', 1703077)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce1a1e54-baff-bb48-898a-5a0ea7488dba'::uuid, 'Imdb', 'tt9656588')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27507 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce1a1e54-baff-bb48-898a-5a0ea7488dba'::uuid, 'Tmdb', 1703077)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27508 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce1a1e54-baff-bb48-898a-5a0ea7488dba'::uuid, 'trakt', 3348489)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27509 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce1a1e54-baff-bb48-898a-5a0ea7488dba'::uuid, 'TvMaze', 1594654)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27510 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce1a1e54-baff-bb48-898a-5a0ea7488dba'::uuid, 'Tvdb', 7011684)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27511 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce1a1e54-baff-bb48-898a-5a0ea7488dba'::uuid;

-- Query #27512 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ce1a1e54-baff-bb48-898a-5a0ea7488dba'::uuid;

-- Query #27513 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ce1a1e54-baff-bb48-898a-5a0ea7488dba'::uuid]);

-- Query #27514 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ce1a1e54-baff-bb48-898a-5a0ea7488dba'::uuid;

-- Query #27515 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27516 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd744b93-2313-2da8-1329-b02a98fe35b5'::uuid;

-- Query #27517 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd744b93-2313-2da8-1329-b02a98fe35b5'::uuid]);

-- Query #27518 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dd744b93-2313-2da8-1329-b02a98fe35b5'::uuid;

-- Query #27519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd744b93-2313-2da8-1329-b02a98fe35b5'::uuid, 'Imdb', 'tt9656614')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd744b93-2313-2da8-1329-b02a98fe35b5'::uuid, 'Tmdb', 1703079)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd744b93-2313-2da8-1329-b02a98fe35b5'::uuid, 'trakt', 3348502)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd744b93-2313-2da8-1329-b02a98fe35b5'::uuid, 'TvMaze', 1607337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd744b93-2313-2da8-1329-b02a98fe35b5'::uuid, 'Tvdb', 7011685)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd744b93-2313-2da8-1329-b02a98fe35b5'::uuid, 'TmdbCollection', 1703079)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27525 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd744b93-2313-2da8-1329-b02a98fe35b5'::uuid;

-- Query #27526 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dd744b93-2313-2da8-1329-b02a98fe35b5'::uuid;

-- Query #27527 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27528 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dd744b93-2313-2da8-1329-b02a98fe35b5'::uuid]);

-- Query #27529 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dd744b93-2313-2da8-1329-b02a98fe35b5'::uuid;

-- Query #27530 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27531 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6465d5f9-b869-ec6c-9a4f-bb46712d8780'::uuid;

-- Query #27532 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6465d5f9-b869-ec6c-9a4f-bb46712d8780'::uuid]);

-- Query #27533 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6465d5f9-b869-ec6c-9a4f-bb46712d8780'::uuid;

-- Query #27534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6465d5f9-b869-ec6c-9a4f-bb46712d8780'::uuid, 'Imdb', 'tt9344300')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6465d5f9-b869-ec6c-9a4f-bb46712d8780'::uuid, 'Tmdb', 1633497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6465d5f9-b869-ec6c-9a4f-bb46712d8780'::uuid, 'trakt', 3245959)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6465d5f9-b869-ec6c-9a4f-bb46712d8780'::uuid, 'TvMaze', 1573888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6465d5f9-b869-ec6c-9a4f-bb46712d8780'::uuid, 'Tvdb', 6911114)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27539 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6465d5f9-b869-ec6c-9a4f-bb46712d8780'::uuid, 'TmdbCollection', 1633497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27540 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6465d5f9-b869-ec6c-9a4f-bb46712d8780'::uuid;

-- Query #27541 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6465d5f9-b869-ec6c-9a4f-bb46712d8780'::uuid;

-- Query #27542 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27543 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6465d5f9-b869-ec6c-9a4f-bb46712d8780'::uuid]);

-- Query #27544 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6465d5f9-b869-ec6c-9a4f-bb46712d8780'::uuid;

-- Query #27545 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27546 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5919ec92-5e06-e393-1c12-2564d11104a7'::uuid;

-- Query #27547 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5919ec92-5e06-e393-1c12-2564d11104a7'::uuid]);

-- Query #27548 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5919ec92-5e06-e393-1c12-2564d11104a7'::uuid;

-- Query #27549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5919ec92-5e06-e393-1c12-2564d11104a7'::uuid, 'Imdb', 'tt9182146')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5919ec92-5e06-e393-1c12-2564d11104a7'::uuid, 'Tmdb', 1627963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5919ec92-5e06-e393-1c12-2564d11104a7'::uuid, 'trakt', 3215613)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27552 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5919ec92-5e06-e393-1c12-2564d11104a7'::uuid, 'TvMaze', 1567009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27553 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5919ec92-5e06-e393-1c12-2564d11104a7'::uuid, 'Tvdb', 6883386)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27554 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5919ec92-5e06-e393-1c12-2564d11104a7'::uuid, 'TmdbCollection', 1627963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27555 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5919ec92-5e06-e393-1c12-2564d11104a7'::uuid;

-- Query #27556 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5919ec92-5e06-e393-1c12-2564d11104a7'::uuid;

-- Query #27557 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27558 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5919ec92-5e06-e393-1c12-2564d11104a7'::uuid]);

-- Query #27559 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5919ec92-5e06-e393-1c12-2564d11104a7'::uuid;

-- Query #27560 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27561 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #27562 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '255141a1-16e3-b3b8-0b01-0a8851515a9e'::uuid;

-- Query #27563 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['255141a1-16e3-b3b8-0b01-0a8851515a9e'::uuid]);

-- Query #27564 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '255141a1-16e3-b3b8-0b01-0a8851515a9e'::uuid;

-- Query #27565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('255141a1-16e3-b3b8-0b01-0a8851515a9e'::uuid, 'TmdbCollection', 1615854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('255141a1-16e3-b3b8-0b01-0a8851515a9e'::uuid, 'Imdb', 'tt9182138')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27567 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('255141a1-16e3-b3b8-0b01-0a8851515a9e'::uuid, 'Tmdb', 1615854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27568 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('255141a1-16e3-b3b8-0b01-0a8851515a9e'::uuid, 'trakt', 3215608)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27569 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('255141a1-16e3-b3b8-0b01-0a8851515a9e'::uuid, 'TvMaze', 1562729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('255141a1-16e3-b3b8-0b01-0a8851515a9e'::uuid, 'Tvdb', 6883378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27571 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '255141a1-16e3-b3b8-0b01-0a8851515a9e'::uuid;

-- Query #27572 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '255141a1-16e3-b3b8-0b01-0a8851515a9e'::uuid;

-- Query #27573 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27574 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['255141a1-16e3-b3b8-0b01-0a8851515a9e'::uuid]);

-- Query #27575 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '255141a1-16e3-b3b8-0b01-0a8851515a9e'::uuid;

-- Query #27576 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27577 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c68e0611-cfce-8863-bbfd-42b4ae4b2b72'::uuid;

-- Query #27578 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c68e0611-cfce-8863-bbfd-42b4ae4b2b72'::uuid]);

-- Query #27579 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c68e0611-cfce-8863-bbfd-42b4ae4b2b72'::uuid;

-- Query #27580 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c68e0611-cfce-8863-bbfd-42b4ae4b2b72'::uuid, 'Imdb', 'tt9101282')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c68e0611-cfce-8863-bbfd-42b4ae4b2b72'::uuid, 'Tmdb', 1600641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c68e0611-cfce-8863-bbfd-42b4ae4b2b72'::uuid, 'trakt', 3147491)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c68e0611-cfce-8863-bbfd-42b4ae4b2b72'::uuid, 'TvMaze', 1548301)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c68e0611-cfce-8863-bbfd-42b4ae4b2b72'::uuid, 'Tvdb', 6819785)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c68e0611-cfce-8863-bbfd-42b4ae4b2b72'::uuid, 'TmdbCollection', 1600641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c68e0611-cfce-8863-bbfd-42b4ae4b2b72'::uuid;

-- Query #27587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c68e0611-cfce-8863-bbfd-42b4ae4b2b72'::uuid;

-- Query #27588 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27589 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c68e0611-cfce-8863-bbfd-42b4ae4b2b72'::uuid]);

-- Query #27590 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c68e0611-cfce-8863-bbfd-42b4ae4b2b72'::uuid;

-- Query #27591 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '03205ad6-e8c8-7d2e-8eb8-38be5fd19ba6'::uuid;

-- Query #27593 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03205ad6-e8c8-7d2e-8eb8-38be5fd19ba6'::uuid]);

-- Query #27594 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '03205ad6-e8c8-7d2e-8eb8-38be5fd19ba6'::uuid;

-- Query #27595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03205ad6-e8c8-7d2e-8eb8-38be5fd19ba6'::uuid, 'Imdb', 'tt9066514')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03205ad6-e8c8-7d2e-8eb8-38be5fd19ba6'::uuid, 'Tmdb', 1594812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03205ad6-e8c8-7d2e-8eb8-38be5fd19ba6'::uuid, 'trakt', 3147489)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03205ad6-e8c8-7d2e-8eb8-38be5fd19ba6'::uuid, 'TvMaze', 1541912)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03205ad6-e8c8-7d2e-8eb8-38be5fd19ba6'::uuid, 'Tvdb', 6819783)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03205ad6-e8c8-7d2e-8eb8-38be5fd19ba6'::uuid, 'TmdbCollection', 1594812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27601 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '03205ad6-e8c8-7d2e-8eb8-38be5fd19ba6'::uuid;

-- Query #27602 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '03205ad6-e8c8-7d2e-8eb8-38be5fd19ba6'::uuid;

-- Query #27603 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27604 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['03205ad6-e8c8-7d2e-8eb8-38be5fd19ba6'::uuid]);

-- Query #27605 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '03205ad6-e8c8-7d2e-8eb8-38be5fd19ba6'::uuid;

-- Query #27606 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27607 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18ddcae3-a9c4-6476-a153-d0659b122b62'::uuid;

-- Query #27608 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['18ddcae3-a9c4-6476-a153-d0659b122b62'::uuid]);

-- Query #27609 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '18ddcae3-a9c4-6476-a153-d0659b122b62'::uuid;

-- Query #27610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18ddcae3-a9c4-6476-a153-d0659b122b62'::uuid, 'Imdb', 'tt8105158')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18ddcae3-a9c4-6476-a153-d0659b122b62'::uuid, 'Tmdb', 1577136)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18ddcae3-a9c4-6476-a153-d0659b122b62'::uuid, 'trakt', 3141552)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18ddcae3-a9c4-6476-a153-d0659b122b62'::uuid, 'TvMaze', 1521660)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27614 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18ddcae3-a9c4-6476-a153-d0659b122b62'::uuid, 'Tvdb', 6813063)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18ddcae3-a9c4-6476-a153-d0659b122b62'::uuid, 'TmdbCollection', 1577136)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27616 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18ddcae3-a9c4-6476-a153-d0659b122b62'::uuid;

-- Query #27617 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '18ddcae3-a9c4-6476-a153-d0659b122b62'::uuid;

-- Query #27618 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27619 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['18ddcae3-a9c4-6476-a153-d0659b122b62'::uuid]);

-- Query #27620 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '18ddcae3-a9c4-6476-a153-d0659b122b62'::uuid;

-- Query #27621 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27622 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1388333-cd46-674f-e686-97f19a953cef'::uuid;

-- Query #27623 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1388333-cd46-674f-e686-97f19a953cef'::uuid]);

-- Query #27624 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c1388333-cd46-674f-e686-97f19a953cef'::uuid;

-- Query #27625 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1388333-cd46-674f-e686-97f19a953cef'::uuid, 'Imdb', 'tt8977804')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1388333-cd46-674f-e686-97f19a953cef'::uuid, 'Tmdb', 1577137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1388333-cd46-674f-e686-97f19a953cef'::uuid, 'trakt', 3141561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1388333-cd46-674f-e686-97f19a953cef'::uuid, 'TvMaze', 1521661)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1388333-cd46-674f-e686-97f19a953cef'::uuid, 'Tvdb', 6813077)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1388333-cd46-674f-e686-97f19a953cef'::uuid, 'TmdbCollection', 1577137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27631 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1388333-cd46-674f-e686-97f19a953cef'::uuid;

-- Query #27632 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c1388333-cd46-674f-e686-97f19a953cef'::uuid;

-- Query #27633 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27634 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c1388333-cd46-674f-e686-97f19a953cef'::uuid]);

-- Query #27635 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c1388333-cd46-674f-e686-97f19a953cef'::uuid;

-- Query #27636 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27637 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2bb4dbee-9c30-b5a0-c3b1-19d0eca6c373'::uuid;

-- Query #27638 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2bb4dbee-9c30-b5a0-c3b1-19d0eca6c373'::uuid]);

-- Query #27639 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2bb4dbee-9c30-b5a0-c3b1-19d0eca6c373'::uuid;

-- Query #27640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2bb4dbee-9c30-b5a0-c3b1-19d0eca6c373'::uuid, 'Imdb', 'tt9129100')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2bb4dbee-9c30-b5a0-c3b1-19d0eca6c373'::uuid, 'Tmdb', 1606195)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2bb4dbee-9c30-b5a0-c3b1-19d0eca6c373'::uuid, 'trakt', 3194233)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2bb4dbee-9c30-b5a0-c3b1-19d0eca6c373'::uuid, 'TvMaze', 1548302)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2bb4dbee-9c30-b5a0-c3b1-19d0eca6c373'::uuid, 'Tvdb', 6860894)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2bb4dbee-9c30-b5a0-c3b1-19d0eca6c373'::uuid, 'TmdbCollection', 1606195)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27646 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2bb4dbee-9c30-b5a0-c3b1-19d0eca6c373'::uuid;

-- Query #27647 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2bb4dbee-9c30-b5a0-c3b1-19d0eca6c373'::uuid;

-- Query #27648 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2bb4dbee-9c30-b5a0-c3b1-19d0eca6c373'::uuid]);

-- Query #27649 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2bb4dbee-9c30-b5a0-c3b1-19d0eca6c373'::uuid;

-- Query #27650 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27651 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d5b41a8-c440-3099-4427-c8b9e1e1b1be'::uuid;

-- Query #27652 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d5b41a8-c440-3099-4427-c8b9e1e1b1be'::uuid]);

-- Query #27653 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2d5b41a8-c440-3099-4427-c8b9e1e1b1be'::uuid;

-- Query #27654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d5b41a8-c440-3099-4427-c8b9e1e1b1be'::uuid, 'Imdb', 'tt9469964')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d5b41a8-c440-3099-4427-c8b9e1e1b1be'::uuid, 'Tmdb', 1662233)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d5b41a8-c440-3099-4427-c8b9e1e1b1be'::uuid, 'trakt', 3288424)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d5b41a8-c440-3099-4427-c8b9e1e1b1be'::uuid, 'TvMaze', 1579714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d5b41a8-c440-3099-4427-c8b9e1e1b1be'::uuid, 'Tvdb', 6953829)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2d5b41a8-c440-3099-4427-c8b9e1e1b1be'::uuid, 'TmdbCollection', 1662233)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d5b41a8-c440-3099-4427-c8b9e1e1b1be'::uuid;

-- Query #27661 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2d5b41a8-c440-3099-4427-c8b9e1e1b1be'::uuid;

-- Query #27662 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27663 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2d5b41a8-c440-3099-4427-c8b9e1e1b1be'::uuid]);

-- Query #27664 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2d5b41a8-c440-3099-4427-c8b9e1e1b1be'::uuid;

-- Query #27665 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27666 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c204995b-3faa-f39b-3132-6917a9cea77e'::uuid;

-- Query #27667 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c204995b-3faa-f39b-3132-6917a9cea77e'::uuid]);

-- Query #27668 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c204995b-3faa-f39b-3132-6917a9cea77e'::uuid;

-- Query #27669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c204995b-3faa-f39b-3132-6917a9cea77e'::uuid, 'TmdbCollection', 1662234)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c204995b-3faa-f39b-3132-6917a9cea77e'::uuid, 'Imdb', 'tt9469966')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c204995b-3faa-f39b-3132-6917a9cea77e'::uuid, 'Tmdb', 1662234)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c204995b-3faa-f39b-3132-6917a9cea77e'::uuid, 'trakt', 3288425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c204995b-3faa-f39b-3132-6917a9cea77e'::uuid, 'TvMaze', 1579715)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c204995b-3faa-f39b-3132-6917a9cea77e'::uuid, 'Tvdb', 6953830)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27675 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c204995b-3faa-f39b-3132-6917a9cea77e'::uuid;

-- Query #27676 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c204995b-3faa-f39b-3132-6917a9cea77e'::uuid;

-- Query #27677 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c204995b-3faa-f39b-3132-6917a9cea77e'::uuid]);

-- Query #27678 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c204995b-3faa-f39b-3132-6917a9cea77e'::uuid;

-- Query #27679 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27680 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44498d42-e007-0737-3ec1-c786e50d8bf8'::uuid;

-- Query #27681 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44498d42-e007-0737-3ec1-c786e50d8bf8'::uuid]);

-- Query #27682 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '44498d42-e007-0737-3ec1-c786e50d8bf8'::uuid;

-- Query #27683 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44498d42-e007-0737-3ec1-c786e50d8bf8'::uuid, 'Imdb', 'tt9701208')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27684 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44498d42-e007-0737-3ec1-c786e50d8bf8'::uuid, 'Tmdb', 1711736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27685 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44498d42-e007-0737-3ec1-c786e50d8bf8'::uuid, 'trakt', 3348522)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44498d42-e007-0737-3ec1-c786e50d8bf8'::uuid, 'TvMaze', 1607338)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44498d42-e007-0737-3ec1-c786e50d8bf8'::uuid, 'Tvdb', 7011686)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44498d42-e007-0737-3ec1-c786e50d8bf8'::uuid, 'TmdbCollection', 1711736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27689 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44498d42-e007-0737-3ec1-c786e50d8bf8'::uuid;

-- Query #27690 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '44498d42-e007-0737-3ec1-c786e50d8bf8'::uuid;

-- Query #27691 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27692 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['44498d42-e007-0737-3ec1-c786e50d8bf8'::uuid]);

-- Query #27693 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '44498d42-e007-0737-3ec1-c786e50d8bf8'::uuid;

-- Query #27694 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27695 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e975f9e9-13a4-174a-8f9f-c727818327f1'::uuid;

-- Query #27696 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e975f9e9-13a4-174a-8f9f-c727818327f1'::uuid]);

-- Query #27697 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e975f9e9-13a4-174a-8f9f-c727818327f1'::uuid;

-- Query #27698 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e975f9e9-13a4-174a-8f9f-c727818327f1'::uuid, 'Imdb', 'tt9529290')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27699 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e975f9e9-13a4-174a-8f9f-c727818327f1'::uuid, 'Tmdb', 1677625)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e975f9e9-13a4-174a-8f9f-c727818327f1'::uuid, 'trakt', 3288427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e975f9e9-13a4-174a-8f9f-c727818327f1'::uuid, 'TvMaze', 1587887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e975f9e9-13a4-174a-8f9f-c727818327f1'::uuid, 'Tvdb', 6953832)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e975f9e9-13a4-174a-8f9f-c727818327f1'::uuid, 'TmdbCollection', 1677625)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27704 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e975f9e9-13a4-174a-8f9f-c727818327f1'::uuid;

-- Query #27705 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e975f9e9-13a4-174a-8f9f-c727818327f1'::uuid;

-- Query #27706 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Disney XD', '6+based on comic', '6+superhero']);

-- Query #27707 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e975f9e9-13a4-174a-8f9f-c727818327f1'::uuid]);

-- Query #27708 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e975f9e9-13a4-174a-8f9f-c727818327f1'::uuid;

-- Query #27709 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27710 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '72f0605d-f75c-d7f8-f625-bd429d2102bc'::uuid;

-- Query #27711 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72f0605d-f75c-d7f8-f625-bd429d2102bc'::uuid]);

-- Query #27712 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '72f0605d-f75c-d7f8-f625-bd429d2102bc'::uuid;

-- Query #27713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72f0605d-f75c-d7f8-f625-bd429d2102bc'::uuid, 'TmdbCollection', 1594813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72f0605d-f75c-d7f8-f625-bd429d2102bc'::uuid, 'Imdb', 'tt9066516')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72f0605d-f75c-d7f8-f625-bd429d2102bc'::uuid, 'Tmdb', 1594813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72f0605d-f75c-d7f8-f625-bd429d2102bc'::uuid, 'trakt', 3147490)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72f0605d-f75c-d7f8-f625-bd429d2102bc'::uuid, 'TvMaze', 1541913)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72f0605d-f75c-d7f8-f625-bd429d2102bc'::uuid, 'Tvdb', 6819784)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27719 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '72f0605d-f75c-d7f8-f625-bd429d2102bc'::uuid;

-- Query #27720 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '72f0605d-f75c-d7f8-f625-bd429d2102bc'::uuid;

-- Query #27721 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['72f0605d-f75c-d7f8-f625-bd429d2102bc'::uuid]);

-- Query #27722 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '72f0605d-f75c-d7f8-f625-bd429d2102bc'::uuid;

-- Query #27723 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['162d8631-11f2-4975-fe25-7510fe234e6a'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27724 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid
ORDER BY b."SortName";

-- Query #27725 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid])
ORDER BY b."Id";

-- Query #27726 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid])
ORDER BY b."Id";

-- Query #27727 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid])
ORDER BY b."Id";

-- Query #27728 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid])
ORDER BY b."Id";

-- Query #27729 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['d55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid, '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid, 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid, 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid, '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid])
ORDER BY b."Id";

-- Query #27730 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd55bfc2e-8986-2c5b-5d5b-9a02b75aff47'::uuid
ORDER BY b."SortName";

-- Query #27731 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3adce9d1-2b92-ce08-a7b3-38b54efa6de3'::uuid
ORDER BY b."SortName";

-- Query #27732 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ea986cba-9482-212b-0a99-5a48f75d20fa'::uuid
ORDER BY b."SortName";

-- Query #27733 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b74a7995-b326-f4bd-0432-d6e4a0ef597f'::uuid
ORDER BY b."SortName";

-- Query #27734 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '162d8631-11f2-4975-fe25-7510fe234e6a'::uuid
ORDER BY b."SortName";

-- Query #27735 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '636a53c2047ad3e20b6a6737a3d9ba35'
ORDER BY b."SortName", b."Name";

-- Query #27736 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid
ORDER BY b."SortName";

-- Query #27737 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '80931960-3681-7de5-2b25-45e886c370c9'::uuid])
ORDER BY b."Id";

-- Query #27738 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '80931960-3681-7de5-2b25-45e886c370c9'::uuid])
ORDER BY b."Id";

-- Query #27739 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '80931960-3681-7de5-2b25-45e886c370c9'::uuid])
ORDER BY b."Id";

-- Query #27740 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '80931960-3681-7de5-2b25-45e886c370c9'::uuid])
ORDER BY b."Id";

-- Query #27741 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '80931960-3681-7de5-2b25-45e886c370c9'::uuid])
ORDER BY b."Id";

-- Query #27742 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6618cf01-2077-11ad-730e-d1901f401c0c'::uuid
ORDER BY b."SortName";

-- Query #27743 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid
ORDER BY b."SortName";

-- Query #27744 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '80931960-3681-7de5-2b25-45e886c370c9'::uuid
ORDER BY b."SortName";

-- Query #27745 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid;

-- Query #27746 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid]);

-- Query #27747 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid;

-- Query #27748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, 'eidr', '10.5240/6085-435A-6034-15A6-5E78-M')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, 'Imdb', 'tt3322312')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, 'official website', 'https://www.netflix.com/marvelsdaredevil')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, 'Tmdb', 61889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, 'TmdbCollection', 61889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27753 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, 'Tvdb', 281662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, 'TvMaze', 1369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, 'TvRage', 38796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, 'wikidata', 'Q16977365')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27757 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, 'Zap2It', 'SH02104223&tmsId=SH021042230000')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27758 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid;

-- Query #27759 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid;

-- Query #27760 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid]);

-- Query #27761 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid;

-- Query #27762 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27763 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '3a50a2f41761ea8fc265b43d5ae417f6'
ORDER BY b."SortName", b."Name";

-- Query #27764 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid
ORDER BY b."SortName";

-- Query #27765 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '80931960-3681-7de5-2b25-45e886c370c9'::uuid])
ORDER BY b."Id";

-- Query #27766 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '80931960-3681-7de5-2b25-45e886c370c9'::uuid])
ORDER BY b."Id";

-- Query #27767 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '80931960-3681-7de5-2b25-45e886c370c9'::uuid])
ORDER BY b."Id";

-- Query #27768 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '80931960-3681-7de5-2b25-45e886c370c9'::uuid])
ORDER BY b."Id";

-- Query #27769 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '80931960-3681-7de5-2b25-45e886c370c9'::uuid])
ORDER BY b."Id";

-- Query #27770 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6618cf01-2077-11ad-730e-d1901f401c0c'::uuid
ORDER BY b."SortName";

-- Query #27771 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid
ORDER BY b."SortName";

-- Query #27772 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '80931960-3681-7de5-2b25-45e886c370c9'::uuid
ORDER BY b."SortName";

-- Query #27773 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3a50a2f41761ea8fc265b43d5ae417f6'
ORDER BY b."SortName", b."Name";

-- Query #27774 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6618cf01-2077-11ad-730e-d1901f401c0c'::uuid;

-- Query #27775 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid]);

-- Query #27776 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6618cf01-2077-11ad-730e-d1901f401c0c'::uuid;

-- Query #27777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'eidr', '10.5240/6085-435A-6034-15A6-5E78-M')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'Zap2It', 'SH02104223&tmsId=SH021042230000')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'wikidata', 'Q16977365')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'TmdbCollection', 61889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'Tvdb', 281662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'Tmdb', 61889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'Imdb', 'tt3322312')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'TvMaze', 1369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'TvRage', 38796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27786 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6618cf01-2077-11ad-730e-d1901f401c0c'::uuid;

-- Query #27787 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6618cf01-2077-11ad-730e-d1901f401c0c'::uuid;

-- Query #27788 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid]);

-- Query #27789 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6618cf01-2077-11ad-730e-d1901f401c0c'::uuid;

-- Query #27790 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27791 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3a50a2f41761ea8fc265b43d5ae417f6'
ORDER BY b."SortName", b."Name";

-- Query #27792 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #27793 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid;

-- Query #27794 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid]);

-- Query #27795 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid;

-- Query #27796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, 'Zap2It', 'SH02104223&tmsId=SH021042230000')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, 'TmdbCollection', 61889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, 'Tmdb', 61889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27799 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, 'wikidata', 'Q16977365')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27800 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, 'Imdb', 'tt3322312')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, 'TvMaze', 1369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, 'TvRage', 38796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, 'eidr', '10.5240/6085-435A-6034-15A6-5E78-M')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, 'Tvdb', 281662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27805 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid;

-- Query #27806 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid;

-- Query #27807 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid]);

-- Query #27808 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid;

-- Query #27809 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27810 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3a50a2f41761ea8fc265b43d5ae417f6'
ORDER BY b."SortName", b."Name";

-- Query #27811 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '80931960-3681-7de5-2b25-45e886c370c9'::uuid;

-- Query #27812 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80931960-3681-7de5-2b25-45e886c370c9'::uuid]);

-- Query #27813 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '80931960-3681-7de5-2b25-45e886c370c9'::uuid;

-- Query #27814 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80931960-3681-7de5-2b25-45e886c370c9'::uuid, 'eidr', '10.5240/6085-435A-6034-15A6-5E78-M')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27815 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80931960-3681-7de5-2b25-45e886c370c9'::uuid, 'Zap2It', 'SH02104223&tmsId=SH021042230000')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27816 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80931960-3681-7de5-2b25-45e886c370c9'::uuid, 'wikidata', 'Q16977365')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27817 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80931960-3681-7de5-2b25-45e886c370c9'::uuid, 'TmdbCollection', 61889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27818 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80931960-3681-7de5-2b25-45e886c370c9'::uuid, 'Tvdb', 281662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80931960-3681-7de5-2b25-45e886c370c9'::uuid, 'Tmdb', 61889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80931960-3681-7de5-2b25-45e886c370c9'::uuid, 'Imdb', 'tt3322312')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80931960-3681-7de5-2b25-45e886c370c9'::uuid, 'TvMaze', 1369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80931960-3681-7de5-2b25-45e886c370c9'::uuid, 'TvRage', 38796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27823 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '80931960-3681-7de5-2b25-45e886c370c9'::uuid;

-- Query #27824 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '80931960-3681-7de5-2b25-45e886c370c9'::uuid;

-- Query #27825 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['80931960-3681-7de5-2b25-45e886c370c9'::uuid]);

-- Query #27826 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '80931960-3681-7de5-2b25-45e886c370c9'::uuid;

-- Query #27827 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27828 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f7f05db9-e225-90e8-f74e-63a5b7f57ca8'::uuid;

-- Query #27829 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f7f05db9-e225-90e8-f74e-63a5b7f57ca8'::uuid]);

-- Query #27830 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f7f05db9-e225-90e8-f74e-63a5b7f57ca8'::uuid;

-- Query #27831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f05db9-e225-90e8-f74e-63a5b7f57ca8'::uuid, 'Imdb', 'tt4065594')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f05db9-e225-90e8-f74e-63a5b7f57ca8'::uuid, 'Tmdb', 1036354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f05db9-e225-90e8-f74e-63a5b7f57ca8'::uuid, 'TvMaze', 117675)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f05db9-e225-90e8-f74e-63a5b7f57ca8'::uuid, 'Tvdb', 5123352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f05db9-e225-90e8-f74e-63a5b7f57ca8'::uuid, 'TvRage', 1065738603)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27836 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f05db9-e225-90e8-f74e-63a5b7f57ca8'::uuid, 'trakt', 1693262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7f05db9-e225-90e8-f74e-63a5b7f57ca8'::uuid, 'TmdbCollection', 1036354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27838 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f7f05db9-e225-90e8-f74e-63a5b7f57ca8'::uuid;

-- Query #27839 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f7f05db9-e225-90e8-f74e-63a5b7f57ca8'::uuid;

-- Query #27840 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f7f05db9-e225-90e8-f74e-63a5b7f57ca8'::uuid]);

-- Query #27841 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f7f05db9-e225-90e8-f74e-63a5b7f57ca8'::uuid;

-- Query #27842 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27843 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd1ff0d3-4d42-36a4-356c-88aff1ee9e2d'::uuid;

-- Query #27844 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd1ff0d3-4d42-36a4-356c-88aff1ee9e2d'::uuid]);

-- Query #27845 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bd1ff0d3-4d42-36a4-356c-88aff1ee9e2d'::uuid;

-- Query #27846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd1ff0d3-4d42-36a4-356c-88aff1ee9e2d'::uuid, 'Imdb', 'tt3915096')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27847 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd1ff0d3-4d42-36a4-356c-88aff1ee9e2d'::uuid, 'Tmdb', 1036350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27848 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd1ff0d3-4d42-36a4-356c-88aff1ee9e2d'::uuid, 'TvMaze', 117671)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27849 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd1ff0d3-4d42-36a4-356c-88aff1ee9e2d'::uuid, 'Tvdb', 5123348)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd1ff0d3-4d42-36a4-356c-88aff1ee9e2d'::uuid, 'TvRage', 1065738599)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd1ff0d3-4d42-36a4-356c-88aff1ee9e2d'::uuid, 'trakt', 1693258)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd1ff0d3-4d42-36a4-356c-88aff1ee9e2d'::uuid, 'TmdbCollection', 1036350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27853 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd1ff0d3-4d42-36a4-356c-88aff1ee9e2d'::uuid;

-- Query #27854 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bd1ff0d3-4d42-36a4-356c-88aff1ee9e2d'::uuid;

-- Query #27855 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bd1ff0d3-4d42-36a4-356c-88aff1ee9e2d'::uuid]);

-- Query #27856 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bd1ff0d3-4d42-36a4-356c-88aff1ee9e2d'::uuid;

-- Query #27857 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27858 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '71cf6b1c-1b94-0551-31ed-b304f889b2e7'::uuid;

-- Query #27859 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71cf6b1c-1b94-0551-31ed-b304f889b2e7'::uuid]);

-- Query #27860 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '71cf6b1c-1b94-0551-31ed-b304f889b2e7'::uuid;

-- Query #27861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71cf6b1c-1b94-0551-31ed-b304f889b2e7'::uuid, 'TmdbCollection', 1036361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27862 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71cf6b1c-1b94-0551-31ed-b304f889b2e7'::uuid, 'Imdb', 'tt4125428')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71cf6b1c-1b94-0551-31ed-b304f889b2e7'::uuid, 'Tmdb', 1036361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27864 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71cf6b1c-1b94-0551-31ed-b304f889b2e7'::uuid, 'TvMaze', 117682)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71cf6b1c-1b94-0551-31ed-b304f889b2e7'::uuid, 'Tvdb', 5123359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71cf6b1c-1b94-0551-31ed-b304f889b2e7'::uuid, 'TvRage', 1065738610)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71cf6b1c-1b94-0551-31ed-b304f889b2e7'::uuid, 'trakt', 1693269)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27868 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '71cf6b1c-1b94-0551-31ed-b304f889b2e7'::uuid;

-- Query #27869 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '71cf6b1c-1b94-0551-31ed-b304f889b2e7'::uuid;

-- Query #27870 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['71cf6b1c-1b94-0551-31ed-b304f889b2e7'::uuid]);

-- Query #27871 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '71cf6b1c-1b94-0551-31ed-b304f889b2e7'::uuid;

-- Query #27872 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27873 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a880c78-fc00-0177-6fec-94ebfbbb1b71'::uuid;

-- Query #27874 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a880c78-fc00-0177-6fec-94ebfbbb1b71'::uuid]);

-- Query #27875 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6a880c78-fc00-0177-6fec-94ebfbbb1b71'::uuid;

-- Query #27876 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a880c78-fc00-0177-6fec-94ebfbbb1b71'::uuid, 'Imdb', 'tt4061068')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27877 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a880c78-fc00-0177-6fec-94ebfbbb1b71'::uuid, 'Tmdb', 1036352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a880c78-fc00-0177-6fec-94ebfbbb1b71'::uuid, 'TvMaze', 117673)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a880c78-fc00-0177-6fec-94ebfbbb1b71'::uuid, 'Tvdb', 5123350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a880c78-fc00-0177-6fec-94ebfbbb1b71'::uuid, 'TvRage', 1065738601)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a880c78-fc00-0177-6fec-94ebfbbb1b71'::uuid, 'trakt', 1693260)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a880c78-fc00-0177-6fec-94ebfbbb1b71'::uuid, 'TmdbCollection', 1036352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27883 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a880c78-fc00-0177-6fec-94ebfbbb1b71'::uuid;

-- Query #27884 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6a880c78-fc00-0177-6fec-94ebfbbb1b71'::uuid;

-- Query #27885 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6a880c78-fc00-0177-6fec-94ebfbbb1b71'::uuid]);

-- Query #27886 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6a880c78-fc00-0177-6fec-94ebfbbb1b71'::uuid;

-- Query #27887 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27888 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b45a55e-7421-895d-1cb5-0eff2b41994f'::uuid;

-- Query #27889 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8b45a55e-7421-895d-1cb5-0eff2b41994f'::uuid]);

-- Query #27890 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8b45a55e-7421-895d-1cb5-0eff2b41994f'::uuid;

-- Query #27891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b45a55e-7421-895d-1cb5-0eff2b41994f'::uuid, 'TmdbCollection', 1036348)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b45a55e-7421-895d-1cb5-0eff2b41994f'::uuid, 'Imdb', 'tt3330796')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b45a55e-7421-895d-1cb5-0eff2b41994f'::uuid, 'Tmdb', 1036348)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b45a55e-7421-895d-1cb5-0eff2b41994f'::uuid, 'TvMaze', 117670)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27895 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b45a55e-7421-895d-1cb5-0eff2b41994f'::uuid, 'Tvdb', 4889609)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b45a55e-7421-895d-1cb5-0eff2b41994f'::uuid, 'TvRage', 1065657060)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b45a55e-7421-895d-1cb5-0eff2b41994f'::uuid, 'trakt', 1693257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27898 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b45a55e-7421-895d-1cb5-0eff2b41994f'::uuid;

-- Query #27899 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8b45a55e-7421-895d-1cb5-0eff2b41994f'::uuid;

-- Query #27900 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8b45a55e-7421-895d-1cb5-0eff2b41994f'::uuid]);

-- Query #27901 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8b45a55e-7421-895d-1cb5-0eff2b41994f'::uuid;

-- Query #27902 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27903 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e74f4513-58cd-dd00-a4ba-b2de0b665ac6'::uuid;

-- Query #27904 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e74f4513-58cd-dd00-a4ba-b2de0b665ac6'::uuid]);

-- Query #27905 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e74f4513-58cd-dd00-a4ba-b2de0b665ac6'::uuid;

-- Query #27906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e74f4513-58cd-dd00-a4ba-b2de0b665ac6'::uuid, 'Imdb', 'tt4125422')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e74f4513-58cd-dd00-a4ba-b2de0b665ac6'::uuid, 'Tmdb', 1036358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e74f4513-58cd-dd00-a4ba-b2de0b665ac6'::uuid, 'TvMaze', 117679)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e74f4513-58cd-dd00-a4ba-b2de0b665ac6'::uuid, 'Tvdb', 5123356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e74f4513-58cd-dd00-a4ba-b2de0b665ac6'::uuid, 'TvRage', 1065738607)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e74f4513-58cd-dd00-a4ba-b2de0b665ac6'::uuid, 'trakt', 1693266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e74f4513-58cd-dd00-a4ba-b2de0b665ac6'::uuid, 'TmdbCollection', 1036358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27913 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e74f4513-58cd-dd00-a4ba-b2de0b665ac6'::uuid;

-- Query #27914 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e74f4513-58cd-dd00-a4ba-b2de0b665ac6'::uuid;

-- Query #27915 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e74f4513-58cd-dd00-a4ba-b2de0b665ac6'::uuid]);

-- Query #27916 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e74f4513-58cd-dd00-a4ba-b2de0b665ac6'::uuid;

-- Query #27917 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27918 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '41a5f24d-3241-269d-0b73-0cbda57afc46'::uuid;

-- Query #27919 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['41a5f24d-3241-269d-0b73-0cbda57afc46'::uuid]);

-- Query #27920 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '41a5f24d-3241-269d-0b73-0cbda57afc46'::uuid;

-- Query #27921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a5f24d-3241-269d-0b73-0cbda57afc46'::uuid, 'TmdbCollection', 1036360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a5f24d-3241-269d-0b73-0cbda57afc46'::uuid, 'Imdb', 'tt4125424')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a5f24d-3241-269d-0b73-0cbda57afc46'::uuid, 'Tmdb', 1036360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a5f24d-3241-269d-0b73-0cbda57afc46'::uuid, 'TvMaze', 117681)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a5f24d-3241-269d-0b73-0cbda57afc46'::uuid, 'Tvdb', 5123358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a5f24d-3241-269d-0b73-0cbda57afc46'::uuid, 'TvRage', 1065738609)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('41a5f24d-3241-269d-0b73-0cbda57afc46'::uuid, 'trakt', 1693268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27928 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '41a5f24d-3241-269d-0b73-0cbda57afc46'::uuid;

-- Query #27929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '41a5f24d-3241-269d-0b73-0cbda57afc46'::uuid;

-- Query #27930 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['41a5f24d-3241-269d-0b73-0cbda57afc46'::uuid]);

-- Query #27931 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '41a5f24d-3241-269d-0b73-0cbda57afc46'::uuid;

-- Query #27932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27933 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e65abbc5-2f69-e5a3-0c6a-2b6b7f7b5afa'::uuid;

-- Query #27934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e65abbc5-2f69-e5a3-0c6a-2b6b7f7b5afa'::uuid]);

-- Query #27935 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e65abbc5-2f69-e5a3-0c6a-2b6b7f7b5afa'::uuid;

-- Query #27936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e65abbc5-2f69-e5a3-0c6a-2b6b7f7b5afa'::uuid, 'TmdbCollection', 1036359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e65abbc5-2f69-e5a3-0c6a-2b6b7f7b5afa'::uuid, 'Imdb', 'tt4125426')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e65abbc5-2f69-e5a3-0c6a-2b6b7f7b5afa'::uuid, 'Tmdb', 1036359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e65abbc5-2f69-e5a3-0c6a-2b6b7f7b5afa'::uuid, 'TvMaze', 117680)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e65abbc5-2f69-e5a3-0c6a-2b6b7f7b5afa'::uuid, 'Tvdb', 5123357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27941 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e65abbc5-2f69-e5a3-0c6a-2b6b7f7b5afa'::uuid, 'TvRage', 1065738608)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27942 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e65abbc5-2f69-e5a3-0c6a-2b6b7f7b5afa'::uuid, 'trakt', 1693267)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27943 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e65abbc5-2f69-e5a3-0c6a-2b6b7f7b5afa'::uuid;

-- Query #27944 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e65abbc5-2f69-e5a3-0c6a-2b6b7f7b5afa'::uuid;

-- Query #27945 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e65abbc5-2f69-e5a3-0c6a-2b6b7f7b5afa'::uuid]);

-- Query #27946 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e65abbc5-2f69-e5a3-0c6a-2b6b7f7b5afa'::uuid;

-- Query #27947 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27948 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6baf4232-0643-9fa7-0932-0ad9335b3bcf'::uuid;

-- Query #27949 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6baf4232-0643-9fa7-0932-0ad9335b3bcf'::uuid]);

-- Query #27950 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6baf4232-0643-9fa7-0932-0ad9335b3bcf'::uuid;

-- Query #27951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6baf4232-0643-9fa7-0932-0ad9335b3bcf'::uuid, 'Imdb', 'tt4000782')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6baf4232-0643-9fa7-0932-0ad9335b3bcf'::uuid, 'Tmdb', 1036351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6baf4232-0643-9fa7-0932-0ad9335b3bcf'::uuid, 'TvMaze', 117672)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27954 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6baf4232-0643-9fa7-0932-0ad9335b3bcf'::uuid, 'Tvdb', 5123349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27955 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6baf4232-0643-9fa7-0932-0ad9335b3bcf'::uuid, 'TvRage', 1065738600)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27956 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6baf4232-0643-9fa7-0932-0ad9335b3bcf'::uuid, 'trakt', 1693259)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6baf4232-0643-9fa7-0932-0ad9335b3bcf'::uuid, 'TmdbCollection', 1036351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27958 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6baf4232-0643-9fa7-0932-0ad9335b3bcf'::uuid;

-- Query #27959 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6baf4232-0643-9fa7-0932-0ad9335b3bcf'::uuid;

-- Query #27960 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6baf4232-0643-9fa7-0932-0ad9335b3bcf'::uuid]);

-- Query #27961 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6baf4232-0643-9fa7-0932-0ad9335b3bcf'::uuid;

-- Query #27962 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27963 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fbc46649-d83e-eee8-5a2b-c548f15e1e28'::uuid;

-- Query #27964 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fbc46649-d83e-eee8-5a2b-c548f15e1e28'::uuid]);

-- Query #27965 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fbc46649-d83e-eee8-5a2b-c548f15e1e28'::uuid;

-- Query #27966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fbc46649-d83e-eee8-5a2b-c548f15e1e28'::uuid, 'Imdb', 'tt4125418')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fbc46649-d83e-eee8-5a2b-c548f15e1e28'::uuid, 'Tmdb', 1036356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fbc46649-d83e-eee8-5a2b-c548f15e1e28'::uuid, 'TvMaze', 117677)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27969 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fbc46649-d83e-eee8-5a2b-c548f15e1e28'::uuid, 'Tvdb', 5123354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27970 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fbc46649-d83e-eee8-5a2b-c548f15e1e28'::uuid, 'TvRage', 1065738605)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fbc46649-d83e-eee8-5a2b-c548f15e1e28'::uuid, 'trakt', 1693264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fbc46649-d83e-eee8-5a2b-c548f15e1e28'::uuid, 'TmdbCollection', 1036356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27973 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fbc46649-d83e-eee8-5a2b-c548f15e1e28'::uuid;

-- Query #27974 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fbc46649-d83e-eee8-5a2b-c548f15e1e28'::uuid;

-- Query #27975 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fbc46649-d83e-eee8-5a2b-c548f15e1e28'::uuid]);

-- Query #27976 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fbc46649-d83e-eee8-5a2b-c548f15e1e28'::uuid;

-- Query #27977 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27978 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '565ddc6d-3126-c9c9-29ab-c0d6f7a9a878'::uuid;

-- Query #27979 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['565ddc6d-3126-c9c9-29ab-c0d6f7a9a878'::uuid]);

-- Query #27980 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '565ddc6d-3126-c9c9-29ab-c0d6f7a9a878'::uuid;

-- Query #27981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('565ddc6d-3126-c9c9-29ab-c0d6f7a9a878'::uuid, 'Imdb', 'tt4125416')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('565ddc6d-3126-c9c9-29ab-c0d6f7a9a878'::uuid, 'Tmdb', 1036355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('565ddc6d-3126-c9c9-29ab-c0d6f7a9a878'::uuid, 'TvMaze', 117676)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27984 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('565ddc6d-3126-c9c9-29ab-c0d6f7a9a878'::uuid, 'Tvdb', 5123353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27985 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('565ddc6d-3126-c9c9-29ab-c0d6f7a9a878'::uuid, 'TvRage', 1065738604)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27986 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('565ddc6d-3126-c9c9-29ab-c0d6f7a9a878'::uuid, 'trakt', 1693263)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27987 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('565ddc6d-3126-c9c9-29ab-c0d6f7a9a878'::uuid, 'TmdbCollection', 1036355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27988 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '565ddc6d-3126-c9c9-29ab-c0d6f7a9a878'::uuid;

-- Query #27989 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '565ddc6d-3126-c9c9-29ab-c0d6f7a9a878'::uuid;

-- Query #27990 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['565ddc6d-3126-c9c9-29ab-c0d6f7a9a878'::uuid]);

-- Query #27991 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '565ddc6d-3126-c9c9-29ab-c0d6f7a9a878'::uuid;

-- Query #27992 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #27993 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '45704017-dd8f-8f36-8a57-25142e93000f'::uuid;

-- Query #27994 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['45704017-dd8f-8f36-8a57-25142e93000f'::uuid]);

-- Query #27995 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '45704017-dd8f-8f36-8a57-25142e93000f'::uuid;

-- Query #27996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45704017-dd8f-8f36-8a57-25142e93000f'::uuid, 'TmdbCollection', 1036353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45704017-dd8f-8f36-8a57-25142e93000f'::uuid, 'Imdb', 'tt4061074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27998 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45704017-dd8f-8f36-8a57-25142e93000f'::uuid, 'Tmdb', 1036353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #27999 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45704017-dd8f-8f36-8a57-25142e93000f'::uuid, 'TvMaze', 117674)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28000 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45704017-dd8f-8f36-8a57-25142e93000f'::uuid, 'Tvdb', 5123351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45704017-dd8f-8f36-8a57-25142e93000f'::uuid, 'TvRage', 1065738602)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45704017-dd8f-8f36-8a57-25142e93000f'::uuid, 'trakt', 1693261)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28003 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '45704017-dd8f-8f36-8a57-25142e93000f'::uuid;

-- Query #28004 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '45704017-dd8f-8f36-8a57-25142e93000f'::uuid;

-- Query #28005 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['45704017-dd8f-8f36-8a57-25142e93000f'::uuid]);

-- Query #28006 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '45704017-dd8f-8f36-8a57-25142e93000f'::uuid;

-- Query #28007 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28008 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1321feea-9305-3d78-1457-febaf691e58e'::uuid;

-- Query #28009 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1321feea-9305-3d78-1457-febaf691e58e'::uuid]);

-- Query #28010 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1321feea-9305-3d78-1457-febaf691e58e'::uuid;

-- Query #28011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1321feea-9305-3d78-1457-febaf691e58e'::uuid, 'TmdbCollection', 1175512)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1321feea-9305-3d78-1457-febaf691e58e'::uuid, 'Imdb', 'tt4950322')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1321feea-9305-3d78-1457-febaf691e58e'::uuid, 'Tmdb', 1175512)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1321feea-9305-3d78-1457-febaf691e58e'::uuid, 'TvMaze', 559244)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1321feea-9305-3d78-1457-febaf691e58e'::uuid, 'Tvdb', 5471298)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1321feea-9305-3d78-1457-febaf691e58e'::uuid, 'TvRage', 1065898639)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1321feea-9305-3d78-1457-febaf691e58e'::uuid, 'trakt', 2113661)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28018 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1321feea-9305-3d78-1457-febaf691e58e'::uuid;

-- Query #28019 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1321feea-9305-3d78-1457-febaf691e58e'::uuid;

-- Query #28020 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1321feea-9305-3d78-1457-febaf691e58e'::uuid]);

-- Query #28021 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1321feea-9305-3d78-1457-febaf691e58e'::uuid;

-- Query #28022 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28023 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f4339a0-37e8-b315-4337-e70d6f63dd19'::uuid;

-- Query #28024 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f4339a0-37e8-b315-4337-e70d6f63dd19'::uuid]);

-- Query #28025 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9f4339a0-37e8-b315-4337-e70d6f63dd19'::uuid;

-- Query #28026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f4339a0-37e8-b315-4337-e70d6f63dd19'::uuid, 'TmdbCollection', 1167028)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f4339a0-37e8-b315-4337-e70d6f63dd19'::uuid, 'Imdb', 'tt4625048')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f4339a0-37e8-b315-4337-e70d6f63dd19'::uuid, 'Tmdb', 1167028)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f4339a0-37e8-b315-4337-e70d6f63dd19'::uuid, 'TvMaze', 558708)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f4339a0-37e8-b315-4337-e70d6f63dd19'::uuid, 'Tvdb', 5468494)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28031 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f4339a0-37e8-b315-4337-e70d6f63dd19'::uuid, 'TvRage', 1065876900)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f4339a0-37e8-b315-4337-e70d6f63dd19'::uuid, 'trakt', 2022277)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28033 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f4339a0-37e8-b315-4337-e70d6f63dd19'::uuid;

-- Query #28034 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9f4339a0-37e8-b315-4337-e70d6f63dd19'::uuid;

-- Query #28035 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9f4339a0-37e8-b315-4337-e70d6f63dd19'::uuid]);

-- Query #28036 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9f4339a0-37e8-b315-4337-e70d6f63dd19'::uuid;

-- Query #28037 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28038 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '877ef54d-ce73-7f26-966c-d1697088ef9c'::uuid;

-- Query #28039 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['877ef54d-ce73-7f26-966c-d1697088ef9c'::uuid]);

-- Query #28040 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '877ef54d-ce73-7f26-966c-d1697088ef9c'::uuid;

-- Query #28041 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877ef54d-ce73-7f26-966c-d1697088ef9c'::uuid, 'TmdbCollection', 1175503)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28042 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877ef54d-ce73-7f26-966c-d1697088ef9c'::uuid, 'Imdb', 'tt4817432')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28043 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877ef54d-ce73-7f26-966c-d1697088ef9c'::uuid, 'Tmdb', 1175503)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28044 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877ef54d-ce73-7f26-966c-d1697088ef9c'::uuid, 'TvMaze', 559235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877ef54d-ce73-7f26-966c-d1697088ef9c'::uuid, 'Tvdb', 5471289)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877ef54d-ce73-7f26-966c-d1697088ef9c'::uuid, 'TvRage', 1065876901)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877ef54d-ce73-7f26-966c-d1697088ef9c'::uuid, 'trakt', 2113646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28048 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '877ef54d-ce73-7f26-966c-d1697088ef9c'::uuid;

-- Query #28049 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '877ef54d-ce73-7f26-966c-d1697088ef9c'::uuid;

-- Query #28050 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['877ef54d-ce73-7f26-966c-d1697088ef9c'::uuid]);

-- Query #28051 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '877ef54d-ce73-7f26-966c-d1697088ef9c'::uuid;

-- Query #28052 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28053 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '32ba6986-213c-d68a-a8fc-7e5dfc42461b'::uuid;

-- Query #28054 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['32ba6986-213c-d68a-a8fc-7e5dfc42461b'::uuid]);

-- Query #28055 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '32ba6986-213c-d68a-a8fc-7e5dfc42461b'::uuid;

-- Query #28056 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32ba6986-213c-d68a-a8fc-7e5dfc42461b'::uuid, 'Imdb', 'tt4950326')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28057 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32ba6986-213c-d68a-a8fc-7e5dfc42461b'::uuid, 'Tmdb', 1175509)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32ba6986-213c-d68a-a8fc-7e5dfc42461b'::uuid, 'TvMaze', 559241)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32ba6986-213c-d68a-a8fc-7e5dfc42461b'::uuid, 'Tvdb', 5471295)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32ba6986-213c-d68a-a8fc-7e5dfc42461b'::uuid, 'TvRage', 1065898636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32ba6986-213c-d68a-a8fc-7e5dfc42461b'::uuid, 'trakt', 2113658)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32ba6986-213c-d68a-a8fc-7e5dfc42461b'::uuid, 'TmdbCollection', 1175509)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28063 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '32ba6986-213c-d68a-a8fc-7e5dfc42461b'::uuid;

-- Query #28064 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '32ba6986-213c-d68a-a8fc-7e5dfc42461b'::uuid;

-- Query #28065 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['32ba6986-213c-d68a-a8fc-7e5dfc42461b'::uuid]);

-- Query #28066 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '32ba6986-213c-d68a-a8fc-7e5dfc42461b'::uuid;

-- Query #28067 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28068 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95e1ee60-123d-0e9b-583d-329503dfce77'::uuid;

-- Query #28069 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95e1ee60-123d-0e9b-583d-329503dfce77'::uuid]);

-- Query #28070 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '95e1ee60-123d-0e9b-583d-329503dfce77'::uuid;

-- Query #28071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95e1ee60-123d-0e9b-583d-329503dfce77'::uuid, 'TmdbCollection', 1175506)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95e1ee60-123d-0e9b-583d-329503dfce77'::uuid, 'Imdb', 'tt4950308')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95e1ee60-123d-0e9b-583d-329503dfce77'::uuid, 'Tmdb', 1175506)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95e1ee60-123d-0e9b-583d-329503dfce77'::uuid, 'TvMaze', 559238)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95e1ee60-123d-0e9b-583d-329503dfce77'::uuid, 'Tvdb', 5471292)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95e1ee60-123d-0e9b-583d-329503dfce77'::uuid, 'TvRage', 1065898633)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28077 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95e1ee60-123d-0e9b-583d-329503dfce77'::uuid, 'trakt', 2113654)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28078 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95e1ee60-123d-0e9b-583d-329503dfce77'::uuid;

-- Query #28079 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '95e1ee60-123d-0e9b-583d-329503dfce77'::uuid;

-- Query #28080 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['95e1ee60-123d-0e9b-583d-329503dfce77'::uuid]);

-- Query #28081 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '95e1ee60-123d-0e9b-583d-329503dfce77'::uuid;

-- Query #28082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b9da603a-8ef4-f006-a068-474e16c01cd4'::uuid;

-- Query #28084 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b9da603a-8ef4-f006-a068-474e16c01cd4'::uuid]);

-- Query #28085 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b9da603a-8ef4-f006-a068-474e16c01cd4'::uuid;

-- Query #28086 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9da603a-8ef4-f006-a068-474e16c01cd4'::uuid, 'TmdbCollection', 1175511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9da603a-8ef4-f006-a068-474e16c01cd4'::uuid, 'Imdb', 'tt4950318')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9da603a-8ef4-f006-a068-474e16c01cd4'::uuid, 'Tmdb', 1175511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9da603a-8ef4-f006-a068-474e16c01cd4'::uuid, 'TvMaze', 559243)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9da603a-8ef4-f006-a068-474e16c01cd4'::uuid, 'Tvdb', 5471297)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9da603a-8ef4-f006-a068-474e16c01cd4'::uuid, 'TvRage', 1065898638)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b9da603a-8ef4-f006-a068-474e16c01cd4'::uuid, 'trakt', 2113660)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28093 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b9da603a-8ef4-f006-a068-474e16c01cd4'::uuid;

-- Query #28094 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b9da603a-8ef4-f006-a068-474e16c01cd4'::uuid;

-- Query #28095 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b9da603a-8ef4-f006-a068-474e16c01cd4'::uuid]);

-- Query #28096 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b9da603a-8ef4-f006-a068-474e16c01cd4'::uuid;

-- Query #28097 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28098 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f32e4ff5-93bc-4084-6a06-f411880537c4'::uuid;

-- Query #28099 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f32e4ff5-93bc-4084-6a06-f411880537c4'::uuid]);

-- Query #28100 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f32e4ff5-93bc-4084-6a06-f411880537c4'::uuid;

-- Query #28101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f32e4ff5-93bc-4084-6a06-f411880537c4'::uuid, 'Imdb', 'tt4935616')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f32e4ff5-93bc-4084-6a06-f411880537c4'::uuid, 'Tmdb', 1175504)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f32e4ff5-93bc-4084-6a06-f411880537c4'::uuid, 'TvMaze', 559236)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f32e4ff5-93bc-4084-6a06-f411880537c4'::uuid, 'Tvdb', 5471290)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f32e4ff5-93bc-4084-6a06-f411880537c4'::uuid, 'TvRage', 1065876902)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f32e4ff5-93bc-4084-6a06-f411880537c4'::uuid, 'trakt', 2113649)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f32e4ff5-93bc-4084-6a06-f411880537c4'::uuid, 'TmdbCollection', 1175504)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28108 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f32e4ff5-93bc-4084-6a06-f411880537c4'::uuid;

-- Query #28109 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f32e4ff5-93bc-4084-6a06-f411880537c4'::uuid;

-- Query #28110 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f32e4ff5-93bc-4084-6a06-f411880537c4'::uuid]);

-- Query #28111 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f32e4ff5-93bc-4084-6a06-f411880537c4'::uuid;

-- Query #28112 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28113 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a588ac83-c3c9-1c97-9cfa-3353c2cc5c68'::uuid;

-- Query #28114 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a588ac83-c3c9-1c97-9cfa-3353c2cc5c68'::uuid]);

-- Query #28115 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a588ac83-c3c9-1c97-9cfa-3353c2cc5c68'::uuid;

-- Query #28116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a588ac83-c3c9-1c97-9cfa-3353c2cc5c68'::uuid, 'Imdb', 'tt4947664')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a588ac83-c3c9-1c97-9cfa-3353c2cc5c68'::uuid, 'Tmdb', 1175505)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a588ac83-c3c9-1c97-9cfa-3353c2cc5c68'::uuid, 'TvMaze', 559237)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a588ac83-c3c9-1c97-9cfa-3353c2cc5c68'::uuid, 'Tvdb', 5471291)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a588ac83-c3c9-1c97-9cfa-3353c2cc5c68'::uuid, 'TvRage', 1065898632)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a588ac83-c3c9-1c97-9cfa-3353c2cc5c68'::uuid, 'trakt', 2113652)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a588ac83-c3c9-1c97-9cfa-3353c2cc5c68'::uuid, 'TmdbCollection', 1175505)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28123 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a588ac83-c3c9-1c97-9cfa-3353c2cc5c68'::uuid;

-- Query #28124 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a588ac83-c3c9-1c97-9cfa-3353c2cc5c68'::uuid;

-- Query #28125 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a588ac83-c3c9-1c97-9cfa-3353c2cc5c68'::uuid]);

-- Query #28126 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a588ac83-c3c9-1c97-9cfa-3353c2cc5c68'::uuid;

-- Query #28127 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28128 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #28129 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd678e79d-4deb-f0a2-29c5-560116f433ce'::uuid;

-- Query #28130 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d678e79d-4deb-f0a2-29c5-560116f433ce'::uuid]);

-- Query #28131 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd678e79d-4deb-f0a2-29c5-560116f433ce'::uuid;

-- Query #28132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d678e79d-4deb-f0a2-29c5-560116f433ce'::uuid, 'trakt', 2113655)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d678e79d-4deb-f0a2-29c5-560116f433ce'::uuid, 'TmdbCollection', 1175507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d678e79d-4deb-f0a2-29c5-560116f433ce'::uuid, 'Imdb', 'tt4950312')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d678e79d-4deb-f0a2-29c5-560116f433ce'::uuid, 'Tmdb', 1175507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d678e79d-4deb-f0a2-29c5-560116f433ce'::uuid, 'TvMaze', 559239)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d678e79d-4deb-f0a2-29c5-560116f433ce'::uuid, 'Tvdb', 5471293)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d678e79d-4deb-f0a2-29c5-560116f433ce'::uuid, 'TvRage', 1065898634)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28139 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd678e79d-4deb-f0a2-29c5-560116f433ce'::uuid;

-- Query #28140 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd678e79d-4deb-f0a2-29c5-560116f433ce'::uuid;

-- Query #28141 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d678e79d-4deb-f0a2-29c5-560116f433ce'::uuid]);

-- Query #28142 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd678e79d-4deb-f0a2-29c5-560116f433ce'::uuid;

-- Query #28143 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28144 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c36c9ec-4595-580b-7b39-52f5b44f4815'::uuid;

-- Query #28145 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c36c9ec-4595-580b-7b39-52f5b44f4815'::uuid]);

-- Query #28146 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2c36c9ec-4595-580b-7b39-52f5b44f4815'::uuid;

-- Query #28147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c36c9ec-4595-580b-7b39-52f5b44f4815'::uuid, 'trakt', 2113657)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c36c9ec-4595-580b-7b39-52f5b44f4815'::uuid, 'TmdbCollection', 1175508)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c36c9ec-4595-580b-7b39-52f5b44f4815'::uuid, 'Imdb', 'tt4950310')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c36c9ec-4595-580b-7b39-52f5b44f4815'::uuid, 'Tmdb', 1175508)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c36c9ec-4595-580b-7b39-52f5b44f4815'::uuid, 'TvMaze', 559240)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c36c9ec-4595-580b-7b39-52f5b44f4815'::uuid, 'Tvdb', 5471294)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c36c9ec-4595-580b-7b39-52f5b44f4815'::uuid, 'TvRage', 1065898635)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28154 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c36c9ec-4595-580b-7b39-52f5b44f4815'::uuid;

-- Query #28155 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2c36c9ec-4595-580b-7b39-52f5b44f4815'::uuid;

-- Query #28156 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2c36c9ec-4595-580b-7b39-52f5b44f4815'::uuid]);

-- Query #28157 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2c36c9ec-4595-580b-7b39-52f5b44f4815'::uuid;

-- Query #28158 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28159 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c92a294f-bb7e-52e9-9ba7-cfec06e5e328'::uuid;

-- Query #28160 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c92a294f-bb7e-52e9-9ba7-cfec06e5e328'::uuid]);

-- Query #28161 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c92a294f-bb7e-52e9-9ba7-cfec06e5e328'::uuid;

-- Query #28162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c92a294f-bb7e-52e9-9ba7-cfec06e5e328'::uuid, 'Imdb', 'tt4950314')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c92a294f-bb7e-52e9-9ba7-cfec06e5e328'::uuid, 'Tmdb', 1175510)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c92a294f-bb7e-52e9-9ba7-cfec06e5e328'::uuid, 'TvMaze', 559242)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c92a294f-bb7e-52e9-9ba7-cfec06e5e328'::uuid, 'Tvdb', 5471296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c92a294f-bb7e-52e9-9ba7-cfec06e5e328'::uuid, 'TvRage', 1065898637)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c92a294f-bb7e-52e9-9ba7-cfec06e5e328'::uuid, 'trakt', 2113659)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c92a294f-bb7e-52e9-9ba7-cfec06e5e328'::uuid, 'TmdbCollection', 1175510)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28169 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c92a294f-bb7e-52e9-9ba7-cfec06e5e328'::uuid;

-- Query #28170 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c92a294f-bb7e-52e9-9ba7-cfec06e5e328'::uuid;

-- Query #28171 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c92a294f-bb7e-52e9-9ba7-cfec06e5e328'::uuid]);

-- Query #28172 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c92a294f-bb7e-52e9-9ba7-cfec06e5e328'::uuid;

-- Query #28173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28174 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3547fca0-f664-f203-a2d1-772160a4091f'::uuid;

-- Query #28175 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3547fca0-f664-f203-a2d1-772160a4091f'::uuid]);

-- Query #28176 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3547fca0-f664-f203-a2d1-772160a4091f'::uuid;

-- Query #28177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3547fca0-f664-f203-a2d1-772160a4091f'::uuid, 'Imdb', 'tt6741936')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3547fca0-f664-f203-a2d1-772160a4091f'::uuid, 'Tmdb', 1597870)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3547fca0-f664-f203-a2d1-772160a4091f'::uuid, 'trakt', 3185717)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3547fca0-f664-f203-a2d1-772160a4091f'::uuid, 'TvMaze', 1548993)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3547fca0-f664-f203-a2d1-772160a4091f'::uuid, 'Tvdb', 6869201)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3547fca0-f664-f203-a2d1-772160a4091f'::uuid, 'TmdbCollection', 1597870)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28183 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3547fca0-f664-f203-a2d1-772160a4091f'::uuid;

-- Query #28184 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3547fca0-f664-f203-a2d1-772160a4091f'::uuid;

-- Query #28185 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3547fca0-f664-f203-a2d1-772160a4091f'::uuid]);

-- Query #28186 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3547fca0-f664-f203-a2d1-772160a4091f'::uuid;

-- Query #28187 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80931960-3681-7de5-2b25-45e886c370c9'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28188 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f1781415-e298-053a-d8f1-6b2ddf313109'::uuid;

-- Query #28189 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f1781415-e298-053a-d8f1-6b2ddf313109'::uuid]);

-- Query #28190 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f1781415-e298-053a-d8f1-6b2ddf313109'::uuid;

-- Query #28191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1781415-e298-053a-d8f1-6b2ddf313109'::uuid, 'Imdb', 'tt6741930')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1781415-e298-053a-d8f1-6b2ddf313109'::uuid, 'Tmdb', 1597867)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1781415-e298-053a-d8f1-6b2ddf313109'::uuid, 'trakt', 3185714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1781415-e298-053a-d8f1-6b2ddf313109'::uuid, 'TvMaze', 1548990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1781415-e298-053a-d8f1-6b2ddf313109'::uuid, 'Tvdb', 6869197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f1781415-e298-053a-d8f1-6b2ddf313109'::uuid, 'TmdbCollection', 1597867)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28197 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f1781415-e298-053a-d8f1-6b2ddf313109'::uuid;

-- Query #28198 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f1781415-e298-053a-d8f1-6b2ddf313109'::uuid;

-- Query #28199 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f1781415-e298-053a-d8f1-6b2ddf313109'::uuid]);

-- Query #28200 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f1781415-e298-053a-d8f1-6b2ddf313109'::uuid;

-- Query #28201 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80931960-3681-7de5-2b25-45e886c370c9'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28202 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87566999-e551-3fb9-213b-22727e4c7a06'::uuid;

-- Query #28203 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87566999-e551-3fb9-213b-22727e4c7a06'::uuid]);

-- Query #28204 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '87566999-e551-3fb9-213b-22727e4c7a06'::uuid;

-- Query #28205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87566999-e551-3fb9-213b-22727e4c7a06'::uuid, 'Imdb', 'tt6741934')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87566999-e551-3fb9-213b-22727e4c7a06'::uuid, 'Tmdb', 1597869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87566999-e551-3fb9-213b-22727e4c7a06'::uuid, 'trakt', 3185716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87566999-e551-3fb9-213b-22727e4c7a06'::uuid, 'TvMaze', 1548992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87566999-e551-3fb9-213b-22727e4c7a06'::uuid, 'Tvdb', 6869199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87566999-e551-3fb9-213b-22727e4c7a06'::uuid, 'TmdbCollection', 1597869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28211 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87566999-e551-3fb9-213b-22727e4c7a06'::uuid;

-- Query #28212 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '87566999-e551-3fb9-213b-22727e4c7a06'::uuid;

-- Query #28213 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['87566999-e551-3fb9-213b-22727e4c7a06'::uuid]);

-- Query #28214 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '87566999-e551-3fb9-213b-22727e4c7a06'::uuid;

-- Query #28215 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80931960-3681-7de5-2b25-45e886c370c9'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28216 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '22ad74eb-277f-4b1f-3c97-91f472e807bc'::uuid;

-- Query #28217 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['22ad74eb-277f-4b1f-3c97-91f472e807bc'::uuid]);

-- Query #28218 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '22ad74eb-277f-4b1f-3c97-91f472e807bc'::uuid;

-- Query #28219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22ad74eb-277f-4b1f-3c97-91f472e807bc'::uuid, 'Imdb', 'tt6741942')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22ad74eb-277f-4b1f-3c97-91f472e807bc'::uuid, 'Tmdb', 1597873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22ad74eb-277f-4b1f-3c97-91f472e807bc'::uuid, 'trakt', 3185720)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22ad74eb-277f-4b1f-3c97-91f472e807bc'::uuid, 'TvMaze', 1548996)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22ad74eb-277f-4b1f-3c97-91f472e807bc'::uuid, 'Tvdb', 6869207)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22ad74eb-277f-4b1f-3c97-91f472e807bc'::uuid, 'TmdbCollection', 1597873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '22ad74eb-277f-4b1f-3c97-91f472e807bc'::uuid;

-- Query #28226 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '22ad74eb-277f-4b1f-3c97-91f472e807bc'::uuid;

-- Query #28227 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['22ad74eb-277f-4b1f-3c97-91f472e807bc'::uuid]);

-- Query #28228 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '22ad74eb-277f-4b1f-3c97-91f472e807bc'::uuid;

-- Query #28229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80931960-3681-7de5-2b25-45e886c370c9'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28230 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5c14e390-36b9-d18c-6245-94c8a2a81999'::uuid;

-- Query #28231 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c14e390-36b9-d18c-6245-94c8a2a81999'::uuid]);

-- Query #28232 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5c14e390-36b9-d18c-6245-94c8a2a81999'::uuid;

-- Query #28233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c14e390-36b9-d18c-6245-94c8a2a81999'::uuid, 'Imdb', 'tt6741948')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c14e390-36b9-d18c-6245-94c8a2a81999'::uuid, 'Tmdb', 1597876)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c14e390-36b9-d18c-6245-94c8a2a81999'::uuid, 'trakt', 3185723)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c14e390-36b9-d18c-6245-94c8a2a81999'::uuid, 'TvMaze', 1548999)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c14e390-36b9-d18c-6245-94c8a2a81999'::uuid, 'Tvdb', 6869215)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c14e390-36b9-d18c-6245-94c8a2a81999'::uuid, 'TmdbCollection', 1597876)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5c14e390-36b9-d18c-6245-94c8a2a81999'::uuid;

-- Query #28240 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5c14e390-36b9-d18c-6245-94c8a2a81999'::uuid;

-- Query #28241 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5c14e390-36b9-d18c-6245-94c8a2a81999'::uuid]);

-- Query #28242 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5c14e390-36b9-d18c-6245-94c8a2a81999'::uuid;

-- Query #28243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80931960-3681-7de5-2b25-45e886c370c9'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87229c75-1a63-4da1-da7d-10b046bd62f1'::uuid;

-- Query #28245 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87229c75-1a63-4da1-da7d-10b046bd62f1'::uuid]);

-- Query #28246 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '87229c75-1a63-4da1-da7d-10b046bd62f1'::uuid;

-- Query #28247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87229c75-1a63-4da1-da7d-10b046bd62f1'::uuid, 'Imdb', 'tt6741928')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87229c75-1a63-4da1-da7d-10b046bd62f1'::uuid, 'Tmdb', 1597866)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87229c75-1a63-4da1-da7d-10b046bd62f1'::uuid, 'trakt', 3185713)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87229c75-1a63-4da1-da7d-10b046bd62f1'::uuid, 'TvMaze', 1548989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87229c75-1a63-4da1-da7d-10b046bd62f1'::uuid, 'Tvdb', 6869195)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87229c75-1a63-4da1-da7d-10b046bd62f1'::uuid, 'TmdbCollection', 1597866)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28253 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87229c75-1a63-4da1-da7d-10b046bd62f1'::uuid;

-- Query #28254 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '87229c75-1a63-4da1-da7d-10b046bd62f1'::uuid;

-- Query #28255 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['87229c75-1a63-4da1-da7d-10b046bd62f1'::uuid]);

-- Query #28256 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '87229c75-1a63-4da1-da7d-10b046bd62f1'::uuid;

-- Query #28257 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80931960-3681-7de5-2b25-45e886c370c9'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fda3d92c-0f3d-5b9b-e61f-ef0fdf615aa7'::uuid;

-- Query #28259 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fda3d92c-0f3d-5b9b-e61f-ef0fdf615aa7'::uuid]);

-- Query #28260 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fda3d92c-0f3d-5b9b-e61f-ef0fdf615aa7'::uuid;

-- Query #28261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fda3d92c-0f3d-5b9b-e61f-ef0fdf615aa7'::uuid, 'Imdb', 'tt6741946')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fda3d92c-0f3d-5b9b-e61f-ef0fdf615aa7'::uuid, 'Tmdb', 1597875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fda3d92c-0f3d-5b9b-e61f-ef0fdf615aa7'::uuid, 'trakt', 3185722)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fda3d92c-0f3d-5b9b-e61f-ef0fdf615aa7'::uuid, 'TvMaze', 1548998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fda3d92c-0f3d-5b9b-e61f-ef0fdf615aa7'::uuid, 'Tvdb', 6869212)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fda3d92c-0f3d-5b9b-e61f-ef0fdf615aa7'::uuid, 'TmdbCollection', 1597875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fda3d92c-0f3d-5b9b-e61f-ef0fdf615aa7'::uuid;

-- Query #28268 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fda3d92c-0f3d-5b9b-e61f-ef0fdf615aa7'::uuid;

-- Query #28269 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fda3d92c-0f3d-5b9b-e61f-ef0fdf615aa7'::uuid]);

-- Query #28270 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fda3d92c-0f3d-5b9b-e61f-ef0fdf615aa7'::uuid;

-- Query #28271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80931960-3681-7de5-2b25-45e886c370c9'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5473a269-2a1b-ee64-f162-300332aeb64f'::uuid;

-- Query #28273 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5473a269-2a1b-ee64-f162-300332aeb64f'::uuid]);

-- Query #28274 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5473a269-2a1b-ee64-f162-300332aeb64f'::uuid;

-- Query #28275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5473a269-2a1b-ee64-f162-300332aeb64f'::uuid, 'TmdbCollection', 1597865)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5473a269-2a1b-ee64-f162-300332aeb64f'::uuid, 'Imdb', 'tt6741926')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5473a269-2a1b-ee64-f162-300332aeb64f'::uuid, 'Tmdb', 1597865)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5473a269-2a1b-ee64-f162-300332aeb64f'::uuid, 'trakt', 3185712)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5473a269-2a1b-ee64-f162-300332aeb64f'::uuid, 'TvMaze', 1548988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5473a269-2a1b-ee64-f162-300332aeb64f'::uuid, 'Tvdb', 6869176)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28281 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5473a269-2a1b-ee64-f162-300332aeb64f'::uuid;

-- Query #28282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5473a269-2a1b-ee64-f162-300332aeb64f'::uuid;

-- Query #28283 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5473a269-2a1b-ee64-f162-300332aeb64f'::uuid]);

-- Query #28284 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5473a269-2a1b-ee64-f162-300332aeb64f'::uuid;

-- Query #28285 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80931960-3681-7de5-2b25-45e886c370c9'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28286 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b65c39d-b1ec-e926-9591-f1467fd0d6f4'::uuid;

-- Query #28287 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b65c39d-b1ec-e926-9591-f1467fd0d6f4'::uuid]);

-- Query #28288 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1b65c39d-b1ec-e926-9591-f1467fd0d6f4'::uuid;

-- Query #28289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b65c39d-b1ec-e926-9591-f1467fd0d6f4'::uuid, 'Imdb', 'tt5902120')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b65c39d-b1ec-e926-9591-f1467fd0d6f4'::uuid, 'Tmdb', 1575105)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b65c39d-b1ec-e926-9591-f1467fd0d6f4'::uuid, 'trakt', 3153793)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b65c39d-b1ec-e926-9591-f1467fd0d6f4'::uuid, 'TvMaze', 1533790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b65c39d-b1ec-e926-9591-f1467fd0d6f4'::uuid, 'Tvdb', 6869485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b65c39d-b1ec-e926-9591-f1467fd0d6f4'::uuid, 'TmdbCollection', 1575105)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28295 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b65c39d-b1ec-e926-9591-f1467fd0d6f4'::uuid;

-- Query #28296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1b65c39d-b1ec-e926-9591-f1467fd0d6f4'::uuid;

-- Query #28297 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1b65c39d-b1ec-e926-9591-f1467fd0d6f4'::uuid]);

-- Query #28298 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1b65c39d-b1ec-e926-9591-f1467fd0d6f4'::uuid;

-- Query #28299 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80931960-3681-7de5-2b25-45e886c370c9'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28300 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2325a3e-1740-3577-e62f-d3add710ac0b'::uuid;

-- Query #28301 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2325a3e-1740-3577-e62f-d3add710ac0b'::uuid]);

-- Query #28302 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f2325a3e-1740-3577-e62f-d3add710ac0b'::uuid;

-- Query #28303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2325a3e-1740-3577-e62f-d3add710ac0b'::uuid, 'Imdb', 'tt6741944')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2325a3e-1740-3577-e62f-d3add710ac0b'::uuid, 'Tmdb', 1597874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2325a3e-1740-3577-e62f-d3add710ac0b'::uuid, 'trakt', 3185721)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2325a3e-1740-3577-e62f-d3add710ac0b'::uuid, 'TvMaze', 1548997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2325a3e-1740-3577-e62f-d3add710ac0b'::uuid, 'Tvdb', 6869210)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2325a3e-1740-3577-e62f-d3add710ac0b'::uuid, 'TmdbCollection', 1597874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28309 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2325a3e-1740-3577-e62f-d3add710ac0b'::uuid;

-- Query #28310 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f2325a3e-1740-3577-e62f-d3add710ac0b'::uuid;

-- Query #28311 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f2325a3e-1740-3577-e62f-d3add710ac0b'::uuid]);

-- Query #28312 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f2325a3e-1740-3577-e62f-d3add710ac0b'::uuid;

-- Query #28313 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80931960-3681-7de5-2b25-45e886c370c9'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28314 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ea3469a8-f564-168b-93ac-53ef1b10bf75'::uuid;

-- Query #28315 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea3469a8-f564-168b-93ac-53ef1b10bf75'::uuid]);

-- Query #28316 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ea3469a8-f564-168b-93ac-53ef1b10bf75'::uuid;

-- Query #28317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea3469a8-f564-168b-93ac-53ef1b10bf75'::uuid, 'Imdb', 'tt6741940')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28318 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea3469a8-f564-168b-93ac-53ef1b10bf75'::uuid, 'Tmdb', 1597872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea3469a8-f564-168b-93ac-53ef1b10bf75'::uuid, 'trakt', 3185719)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea3469a8-f564-168b-93ac-53ef1b10bf75'::uuid, 'TvMaze', 1548995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea3469a8-f564-168b-93ac-53ef1b10bf75'::uuid, 'Tvdb', 6869205)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea3469a8-f564-168b-93ac-53ef1b10bf75'::uuid, 'TmdbCollection', 1597872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28323 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ea3469a8-f564-168b-93ac-53ef1b10bf75'::uuid;

-- Query #28324 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ea3469a8-f564-168b-93ac-53ef1b10bf75'::uuid;

-- Query #28325 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ea3469a8-f564-168b-93ac-53ef1b10bf75'::uuid]);

-- Query #28326 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ea3469a8-f564-168b-93ac-53ef1b10bf75'::uuid;

-- Query #28327 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80931960-3681-7de5-2b25-45e886c370c9'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd29de4b0-b943-b210-0123-55b0b7a85472'::uuid;

-- Query #28329 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d29de4b0-b943-b210-0123-55b0b7a85472'::uuid]);

-- Query #28330 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd29de4b0-b943-b210-0123-55b0b7a85472'::uuid;

-- Query #28331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d29de4b0-b943-b210-0123-55b0b7a85472'::uuid, 'Imdb', 'tt6741938')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d29de4b0-b943-b210-0123-55b0b7a85472'::uuid, 'Tmdb', 1597871)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28333 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d29de4b0-b943-b210-0123-55b0b7a85472'::uuid, 'trakt', 3185718)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d29de4b0-b943-b210-0123-55b0b7a85472'::uuid, 'TvMaze', 1548994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d29de4b0-b943-b210-0123-55b0b7a85472'::uuid, 'Tvdb', 6870896)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d29de4b0-b943-b210-0123-55b0b7a85472'::uuid, 'TmdbCollection', 1597871)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28337 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd29de4b0-b943-b210-0123-55b0b7a85472'::uuid;

-- Query #28338 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd29de4b0-b943-b210-0123-55b0b7a85472'::uuid;

-- Query #28339 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d29de4b0-b943-b210-0123-55b0b7a85472'::uuid]);

-- Query #28340 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd29de4b0-b943-b210-0123-55b0b7a85472'::uuid;

-- Query #28341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80931960-3681-7de5-2b25-45e886c370c9'::uuid, '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28342 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3a50a2f4-1761-ea8f-c265-b43d5ae417f6'::uuid
ORDER BY b."SortName";

-- Query #28343 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '80931960-3681-7de5-2b25-45e886c370c9'::uuid])
ORDER BY b."Id";

-- Query #28344 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '80931960-3681-7de5-2b25-45e886c370c9'::uuid])
ORDER BY b."Id";

-- Query #28345 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '80931960-3681-7de5-2b25-45e886c370c9'::uuid])
ORDER BY b."Id";

-- Query #28346 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '80931960-3681-7de5-2b25-45e886c370c9'::uuid])
ORDER BY b."Id";

-- Query #28347 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['6618cf01-2077-11ad-730e-d1901f401c0c'::uuid, 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid, '80931960-3681-7de5-2b25-45e886c370c9'::uuid])
ORDER BY b."Id";

-- Query #28348 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6618cf01-2077-11ad-730e-d1901f401c0c'::uuid
ORDER BY b."SortName";

-- Query #28349 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f9e76ced-9a9d-1416-f2d8-5a4f2a3de40b'::uuid
ORDER BY b."SortName";

-- Query #28350 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '80931960-3681-7de5-2b25-45e886c370c9'::uuid
ORDER BY b."SortName";

-- Query #28351 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '3a50a2f41761ea8fc265b43d5ae417f6'
ORDER BY b."SortName", b."Name";

-- Query #28352 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid
ORDER BY b."SortName";

-- Query #28353 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid])
ORDER BY b."Id";

-- Query #28354 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid])
ORDER BY b."Id";

-- Query #28355 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid])
ORDER BY b."Id";

-- Query #28356 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid])
ORDER BY b."Id";

-- Query #28357 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid])
ORDER BY b."Id";

-- Query #28358 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid
ORDER BY b."SortName";

-- Query #28359 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid;

-- Query #28360 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid]);

-- Query #28361 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid;

-- Query #28362 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, 'Imdb', 'tt4154858')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28363 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, 'official website', 'https://www.disneyplus.com/series/inumanos/6VZXWp9jaYsT')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28364 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, 'Tmdb', 68716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28365 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, 'TmdbCollection', 68716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, 'Tvdb', 320558)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, 'TvMaze', 22928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, 'wikidata', 'Q23781164')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, 'Zap2It', 'SH02557083')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid;

-- Query #28371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid;

-- Query #28372 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid]);

-- Query #28373 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid;

-- Query #28374 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28375 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '426ec4f3717e2ce5b4e6d3ab375138ed'
ORDER BY b."SortName", b."Name";

-- Query #28376 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid
ORDER BY b."SortName";

-- Query #28377 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid])
ORDER BY b."Id";

-- Query #28378 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid])
ORDER BY b."Id";

-- Query #28379 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid])
ORDER BY b."Id";

-- Query #28380 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid])
ORDER BY b."Id";

-- Query #28381 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid])
ORDER BY b."Id";

-- Query #28382 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid
ORDER BY b."SortName";

-- Query #28383 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '426ec4f3717e2ce5b4e6d3ab375138ed'
ORDER BY b."SortName", b."Name";

-- Query #28384 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid;

-- Query #28385 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid]);

-- Query #28386 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid;

-- Query #28387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid, 'wikidata', 'Q23781164')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid, 'TmdbCollection', 68716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28389 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid, 'Tvdb', 320558)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid, 'Tmdb', 68716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid, 'Imdb', 'tt4154858')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid, 'TvMaze', 22928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28393 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid, 'Zap2It', 'SH02557083')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28394 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid;

-- Query #28395 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid;

-- Query #28396 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+marvel cinematic universe (mcu)', '6+royal family', '6+superhero']);

-- Query #28397 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid]);

-- Query #28398 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid;

-- Query #28399 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28400 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f6879f0-c805-2b74-f197-fcfec15a1045'::uuid;

-- Query #28401 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f6879f0-c805-2b74-f197-fcfec15a1045'::uuid]);

-- Query #28402 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5f6879f0-c805-2b74-f197-fcfec15a1045'::uuid;

-- Query #28403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f6879f0-c805-2b74-f197-fcfec15a1045'::uuid, 'Imdb', 'tt6263404')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f6879f0-c805-2b74-f197-fcfec15a1045'::uuid, 'Tmdb', 1279700)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f6879f0-c805-2b74-f197-fcfec15a1045'::uuid, 'trakt', 2420516)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f6879f0-c805-2b74-f197-fcfec15a1045'::uuid, 'TvMaze', 992915)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28407 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f6879f0-c805-2b74-f197-fcfec15a1045'::uuid, 'Tvdb', 5862876)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28408 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f6879f0-c805-2b74-f197-fcfec15a1045'::uuid, 'TmdbCollection', 1279700)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28409 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f6879f0-c805-2b74-f197-fcfec15a1045'::uuid;

-- Query #28410 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5f6879f0-c805-2b74-f197-fcfec15a1045'::uuid;

-- Query #28411 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5f6879f0-c805-2b74-f197-fcfec15a1045'::uuid]);

-- Query #28412 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5f6879f0-c805-2b74-f197-fcfec15a1045'::uuid;

-- Query #28413 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid, '426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28414 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #28415 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd79de7cd-88f1-3122-db75-cab17161e3ee'::uuid;

-- Query #28416 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d79de7cd-88f1-3122-db75-cab17161e3ee'::uuid]);

-- Query #28417 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd79de7cd-88f1-3122-db75-cab17161e3ee'::uuid;

-- Query #28418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d79de7cd-88f1-3122-db75-cab17161e3ee'::uuid, 'Imdb', 'tt6263412')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28419 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d79de7cd-88f1-3122-db75-cab17161e3ee'::uuid, 'Tmdb', 1367789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d79de7cd-88f1-3122-db75-cab17161e3ee'::uuid, 'trakt', 2730036)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28421 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d79de7cd-88f1-3122-db75-cab17161e3ee'::uuid, 'TvMaze', 1301179)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28422 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d79de7cd-88f1-3122-db75-cab17161e3ee'::uuid, 'Tvdb', 6316403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28423 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d79de7cd-88f1-3122-db75-cab17161e3ee'::uuid, 'TmdbCollection', 1367789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28424 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd79de7cd-88f1-3122-db75-cab17161e3ee'::uuid;

-- Query #28425 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd79de7cd-88f1-3122-db75-cab17161e3ee'::uuid;

-- Query #28426 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d79de7cd-88f1-3122-db75-cab17161e3ee'::uuid]);

-- Query #28427 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd79de7cd-88f1-3122-db75-cab17161e3ee'::uuid;

-- Query #28428 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid, '426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28429 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b202bb6e-a5b4-7fac-e693-d341bb6f5727'::uuid;

-- Query #28430 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b202bb6e-a5b4-7fac-e693-d341bb6f5727'::uuid]);

-- Query #28431 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b202bb6e-a5b4-7fac-e693-d341bb6f5727'::uuid;

-- Query #28432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b202bb6e-a5b4-7fac-e693-d341bb6f5727'::uuid, 'Imdb', 'tt6263424')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b202bb6e-a5b4-7fac-e693-d341bb6f5727'::uuid, 'Tmdb', 1367947)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b202bb6e-a5b4-7fac-e693-d341bb6f5727'::uuid, 'trakt', 2730053)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b202bb6e-a5b4-7fac-e693-d341bb6f5727'::uuid, 'TvMaze', 1301182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b202bb6e-a5b4-7fac-e693-d341bb6f5727'::uuid, 'Tvdb', 6316407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28437 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b202bb6e-a5b4-7fac-e693-d341bb6f5727'::uuid, 'TmdbCollection', 1367947)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28438 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b202bb6e-a5b4-7fac-e693-d341bb6f5727'::uuid;

-- Query #28439 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b202bb6e-a5b4-7fac-e693-d341bb6f5727'::uuid;

-- Query #28440 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b202bb6e-a5b4-7fac-e693-d341bb6f5727'::uuid]);

-- Query #28441 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b202bb6e-a5b4-7fac-e693-d341bb6f5727'::uuid;

-- Query #28442 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid, '426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28443 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4f801dc0-2da6-7c5f-14e5-d71e54e7b6a5'::uuid;

-- Query #28444 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f801dc0-2da6-7c5f-14e5-d71e54e7b6a5'::uuid]);

-- Query #28445 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4f801dc0-2da6-7c5f-14e5-d71e54e7b6a5'::uuid;

-- Query #28446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f801dc0-2da6-7c5f-14e5-d71e54e7b6a5'::uuid, 'TmdbCollection', 1367948)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f801dc0-2da6-7c5f-14e5-d71e54e7b6a5'::uuid, 'Imdb', 'tt6263430')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f801dc0-2da6-7c5f-14e5-d71e54e7b6a5'::uuid, 'Tmdb', 1367948)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28449 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f801dc0-2da6-7c5f-14e5-d71e54e7b6a5'::uuid, 'trakt', 2730054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f801dc0-2da6-7c5f-14e5-d71e54e7b6a5'::uuid, 'TvMaze', 1301183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f801dc0-2da6-7c5f-14e5-d71e54e7b6a5'::uuid, 'Tvdb', 6316408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28452 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4f801dc0-2da6-7c5f-14e5-d71e54e7b6a5'::uuid;

-- Query #28453 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4f801dc0-2da6-7c5f-14e5-d71e54e7b6a5'::uuid;

-- Query #28454 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4f801dc0-2da6-7c5f-14e5-d71e54e7b6a5'::uuid]);

-- Query #28455 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4f801dc0-2da6-7c5f-14e5-d71e54e7b6a5'::uuid;

-- Query #28456 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid, '426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28457 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31e727a5-8c59-1359-901f-eb04dadce78e'::uuid;

-- Query #28458 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['31e727a5-8c59-1359-901f-eb04dadce78e'::uuid]);

-- Query #28459 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '31e727a5-8c59-1359-901f-eb04dadce78e'::uuid;

-- Query #28460 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31e727a5-8c59-1359-901f-eb04dadce78e'::uuid, 'Imdb', 'tt6263416')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31e727a5-8c59-1359-901f-eb04dadce78e'::uuid, 'Tmdb', 1367945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31e727a5-8c59-1359-901f-eb04dadce78e'::uuid, 'trakt', 2730043)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31e727a5-8c59-1359-901f-eb04dadce78e'::uuid, 'TvMaze', 1301180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31e727a5-8c59-1359-901f-eb04dadce78e'::uuid, 'Tvdb', 6316405)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31e727a5-8c59-1359-901f-eb04dadce78e'::uuid, 'TmdbCollection', 1367945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28466 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31e727a5-8c59-1359-901f-eb04dadce78e'::uuid;

-- Query #28467 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '31e727a5-8c59-1359-901f-eb04dadce78e'::uuid;

-- Query #28468 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['31e727a5-8c59-1359-901f-eb04dadce78e'::uuid]);

-- Query #28469 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '31e727a5-8c59-1359-901f-eb04dadce78e'::uuid;

-- Query #28470 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid, '426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28471 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f055d92-6f1b-036c-9323-a9cea7978ab8'::uuid;

-- Query #28472 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f055d92-6f1b-036c-9323-a9cea7978ab8'::uuid]);

-- Query #28473 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7f055d92-6f1b-036c-9323-a9cea7978ab8'::uuid;

-- Query #28474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f055d92-6f1b-036c-9323-a9cea7978ab8'::uuid, 'Imdb', 'tt6263420')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f055d92-6f1b-036c-9323-a9cea7978ab8'::uuid, 'Tmdb', 1367946)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f055d92-6f1b-036c-9323-a9cea7978ab8'::uuid, 'trakt', 2730052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28477 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f055d92-6f1b-036c-9323-a9cea7978ab8'::uuid, 'TvMaze', 1301181)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28478 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f055d92-6f1b-036c-9323-a9cea7978ab8'::uuid, 'Tvdb', 6316406)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7f055d92-6f1b-036c-9323-a9cea7978ab8'::uuid, 'TmdbCollection', 1367946)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28480 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f055d92-6f1b-036c-9323-a9cea7978ab8'::uuid;

-- Query #28481 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7f055d92-6f1b-036c-9323-a9cea7978ab8'::uuid;

-- Query #28482 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7f055d92-6f1b-036c-9323-a9cea7978ab8'::uuid]);

-- Query #28483 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7f055d92-6f1b-036c-9323-a9cea7978ab8'::uuid;

-- Query #28484 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid, '426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28485 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e1a460d-01ae-620c-2d4b-e73b641ea43a'::uuid;

-- Query #28486 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4e1a460d-01ae-620c-2d4b-e73b641ea43a'::uuid]);

-- Query #28487 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4e1a460d-01ae-620c-2d4b-e73b641ea43a'::uuid;

-- Query #28488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e1a460d-01ae-620c-2d4b-e73b641ea43a'::uuid, 'Imdb', 'tt6263408')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e1a460d-01ae-620c-2d4b-e73b641ea43a'::uuid, 'Tmdb', 1332116)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e1a460d-01ae-620c-2d4b-e73b641ea43a'::uuid, 'trakt', 2725818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e1a460d-01ae-620c-2d4b-e73b641ea43a'::uuid, 'TvMaze', 1229506)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e1a460d-01ae-620c-2d4b-e73b641ea43a'::uuid, 'Tvdb', 6309720)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e1a460d-01ae-620c-2d4b-e73b641ea43a'::uuid, 'TmdbCollection', 1332116)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28494 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e1a460d-01ae-620c-2d4b-e73b641ea43a'::uuid;

-- Query #28495 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4e1a460d-01ae-620c-2d4b-e73b641ea43a'::uuid;

-- Query #28496 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4e1a460d-01ae-620c-2d4b-e73b641ea43a'::uuid]);

-- Query #28497 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4e1a460d-01ae-620c-2d4b-e73b641ea43a'::uuid;

-- Query #28498 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid, '426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28499 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '426ec4f3-717e-2ce5-b4e6-d3ab375138ed'::uuid
ORDER BY b."SortName";

-- Query #28500 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid])
ORDER BY b."Id";

-- Query #28501 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid])
ORDER BY b."Id";

-- Query #28502 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid])
ORDER BY b."Id";

-- Query #28503 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid])
ORDER BY b."Id";

-- Query #28504 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid])
ORDER BY b."Id";

-- Query #28505 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f3af5d1e-5c68-6f1f-c5eb-f2a289873a4d'::uuid
ORDER BY b."SortName";

-- Query #28506 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '426ec4f3717e2ce5b4e6d3ab375138ed'
ORDER BY b."SortName", b."Name";

-- Query #28507 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid
ORDER BY b."SortName";

-- Query #28508 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid])
ORDER BY b."Id";

-- Query #28509 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid])
ORDER BY b."Id";

-- Query #28510 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid])
ORDER BY b."Id";

-- Query #28511 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid])
ORDER BY b."Id";

-- Query #28512 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid])
ORDER BY b."Id";

-- Query #28513 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid
ORDER BY b."SortName";

-- Query #28514 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid
ORDER BY b."SortName";

-- Query #28515 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid;

-- Query #28516 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5943940-7026-0db2-ee39-2897dec5539f'::uuid]);

-- Query #28517 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid;

-- Query #28518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5943940-7026-0db2-ee39-2897dec5539f'::uuid, 'facebook', 'MarvelsIronFist')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5943940-7026-0db2-ee39-2897dec5539f'::uuid, 'Imdb', 'tt3322310')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5943940-7026-0db2-ee39-2897dec5539f'::uuid, 'official website', 'https://www.disneyplus.com/browse/entity-d251acf8-4a1a-48d1-b3b7-d9513afeaac0')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5943940-7026-0db2-ee39-2897dec5539f'::uuid, 'Tmdb', 62127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5943940-7026-0db2-ee39-2897dec5539f'::uuid, 'TmdbCollection', 62127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5943940-7026-0db2-ee39-2897dec5539f'::uuid, 'Tvdb', 317953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5943940-7026-0db2-ee39-2897dec5539f'::uuid, 'TvMaze', 2175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28525 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5943940-7026-0db2-ee39-2897dec5539f'::uuid, 'TvRage', 38798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5943940-7026-0db2-ee39-2897dec5539f'::uuid, 'wikidata', 'Q21148896')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28527 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5943940-7026-0db2-ee39-2897dec5539f'::uuid, 'wikipedia', 'Iron_Fist_(TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28528 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5943940-7026-0db2-ee39-2897dec5539f'::uuid, 'x (twitter)', 'MarvelIronFist')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28529 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5943940-7026-0db2-ee39-2897dec5539f'::uuid, 'Zap2It', 'EP02527281')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28530 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid;

-- Query #28531 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid;

-- Query #28532 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e5943940-7026-0db2-ee39-2897dec5539f'::uuid]);

-- Query #28533 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid;

-- Query #28534 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28535 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'e594394070260db2ee392897dec5539f'
ORDER BY b."SortName", b."Name";

-- Query #28536 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid
ORDER BY b."SortName";

-- Query #28537 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid])
ORDER BY b."Id";

-- Query #28538 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid])
ORDER BY b."Id";

-- Query #28539 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid])
ORDER BY b."Id";

-- Query #28540 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid])
ORDER BY b."Id";

-- Query #28541 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid])
ORDER BY b."Id";

-- Query #28542 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid
ORDER BY b."SortName";

-- Query #28543 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid
ORDER BY b."SortName";

-- Query #28544 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'e594394070260db2ee392897dec5539f'
ORDER BY b."SortName", b."Name";

-- Query #28545 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid;

-- Query #28546 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid]);

-- Query #28547 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid;

-- Query #28548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'TmdbCollection', 62127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'Tvdb', 317953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'Tmdb', 62127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'Imdb', 'tt3322310')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28552 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'TvMaze', 2175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28553 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'TvRage', 38798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28554 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'wikidata', 'Q21148896')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'Zap2It', 'EP02527281')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28556 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid;

-- Query #28557 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid;

-- Query #28558 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid]);

-- Query #28559 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid;

-- Query #28560 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28561 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'e594394070260db2ee392897dec5539f'
ORDER BY b."SortName", b."Name";

-- Query #28562 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid;

-- Query #28563 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid]);

-- Query #28564 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid;

-- Query #28565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'Tvdb', 317953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'Tmdb', 62127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28567 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'Imdb', 'tt3322310')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28568 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'TvMaze', 2175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28569 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'TvRage', 38798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'wikidata', 'Q21148896')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'Zap2It', 'EP02527281')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28572 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'TmdbCollection', 62127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28573 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid;

-- Query #28574 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid;

-- Query #28575 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid]);

-- Query #28576 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid;

-- Query #28577 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28578 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eadc2058-455a-93ef-8cf2-efdbe3e3bf03'::uuid;

-- Query #28579 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eadc2058-455a-93ef-8cf2-efdbe3e3bf03'::uuid]);

-- Query #28580 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eadc2058-455a-93ef-8cf2-efdbe3e3bf03'::uuid;

-- Query #28581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eadc2058-455a-93ef-8cf2-efdbe3e3bf03'::uuid, 'TmdbCollection', 1271979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eadc2058-455a-93ef-8cf2-efdbe3e3bf03'::uuid, 'Imdb', 'tt4174090')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eadc2058-455a-93ef-8cf2-efdbe3e3bf03'::uuid, 'Tmdb', 1271979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eadc2058-455a-93ef-8cf2-efdbe3e3bf03'::uuid, 'trakt', 2478645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eadc2058-455a-93ef-8cf2-efdbe3e3bf03'::uuid, 'TvMaze', 1040818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eadc2058-455a-93ef-8cf2-efdbe3e3bf03'::uuid, 'Tvdb', 5939626)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eadc2058-455a-93ef-8cf2-efdbe3e3bf03'::uuid;

-- Query #28588 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eadc2058-455a-93ef-8cf2-efdbe3e3bf03'::uuid;

-- Query #28589 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eadc2058-455a-93ef-8cf2-efdbe3e3bf03'::uuid]);

-- Query #28590 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eadc2058-455a-93ef-8cf2-efdbe3e3bf03'::uuid;

-- Query #28591 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '287e2959-b896-1d97-f193-784e1b962cb6'::uuid;

-- Query #28593 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['287e2959-b896-1d97-f193-784e1b962cb6'::uuid]);

-- Query #28594 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '287e2959-b896-1d97-f193-784e1b962cb6'::uuid;

-- Query #28595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('287e2959-b896-1d97-f193-784e1b962cb6'::uuid, 'Imdb', 'tt4174082')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('287e2959-b896-1d97-f193-784e1b962cb6'::uuid, 'Tmdb', 1271977)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('287e2959-b896-1d97-f193-784e1b962cb6'::uuid, 'trakt', 2478643)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('287e2959-b896-1d97-f193-784e1b962cb6'::uuid, 'TvMaze', 1040816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('287e2959-b896-1d97-f193-784e1b962cb6'::uuid, 'Tvdb', 5939623)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('287e2959-b896-1d97-f193-784e1b962cb6'::uuid, 'TmdbCollection', 1271977)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28601 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '287e2959-b896-1d97-f193-784e1b962cb6'::uuid;

-- Query #28602 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '287e2959-b896-1d97-f193-784e1b962cb6'::uuid;

-- Query #28603 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['287e2959-b896-1d97-f193-784e1b962cb6'::uuid]);

-- Query #28604 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '287e2959-b896-1d97-f193-784e1b962cb6'::uuid;

-- Query #28605 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28606 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b66f97b-6338-6c98-64a0-ca5834f98f89'::uuid;

-- Query #28607 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8b66f97b-6338-6c98-64a0-ca5834f98f89'::uuid]);

-- Query #28608 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8b66f97b-6338-6c98-64a0-ca5834f98f89'::uuid;

-- Query #28609 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b66f97b-6338-6c98-64a0-ca5834f98f89'::uuid, 'Imdb', 'tt4174078')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b66f97b-6338-6c98-64a0-ca5834f98f89'::uuid, 'Tmdb', 1271975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b66f97b-6338-6c98-64a0-ca5834f98f89'::uuid, 'trakt', 2478641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b66f97b-6338-6c98-64a0-ca5834f98f89'::uuid, 'TvMaze', 1040814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b66f97b-6338-6c98-64a0-ca5834f98f89'::uuid, 'Tvdb', 5939621)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28614 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b66f97b-6338-6c98-64a0-ca5834f98f89'::uuid, 'TmdbCollection', 1271975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28615 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b66f97b-6338-6c98-64a0-ca5834f98f89'::uuid;

-- Query #28616 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8b66f97b-6338-6c98-64a0-ca5834f98f89'::uuid;

-- Query #28617 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8b66f97b-6338-6c98-64a0-ca5834f98f89'::uuid]);

-- Query #28618 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8b66f97b-6338-6c98-64a0-ca5834f98f89'::uuid;

-- Query #28619 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28620 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0ee48cd-0852-9394-3cd7-0613f187769a'::uuid;

-- Query #28621 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d0ee48cd-0852-9394-3cd7-0613f187769a'::uuid]);

-- Query #28622 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd0ee48cd-0852-9394-3cd7-0613f187769a'::uuid;

-- Query #28623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0ee48cd-0852-9394-3cd7-0613f187769a'::uuid, 'Imdb', 'tt4174096')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0ee48cd-0852-9394-3cd7-0613f187769a'::uuid, 'Tmdb', 1271980)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28625 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0ee48cd-0852-9394-3cd7-0613f187769a'::uuid, 'trakt', 2478646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0ee48cd-0852-9394-3cd7-0613f187769a'::uuid, 'TvMaze', 1040819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0ee48cd-0852-9394-3cd7-0613f187769a'::uuid, 'Tvdb', 5939625)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0ee48cd-0852-9394-3cd7-0613f187769a'::uuid, 'TmdbCollection', 1271980)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28629 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0ee48cd-0852-9394-3cd7-0613f187769a'::uuid;

-- Query #28630 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd0ee48cd-0852-9394-3cd7-0613f187769a'::uuid;

-- Query #28631 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d0ee48cd-0852-9394-3cd7-0613f187769a'::uuid]);

-- Query #28632 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd0ee48cd-0852-9394-3cd7-0613f187769a'::uuid;

-- Query #28633 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28634 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e46550bd-e71f-1e46-a6b4-92340fbcc8cb'::uuid;

-- Query #28635 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e46550bd-e71f-1e46-a6b4-92340fbcc8cb'::uuid]);

-- Query #28636 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e46550bd-e71f-1e46-a6b4-92340fbcc8cb'::uuid;

-- Query #28637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e46550bd-e71f-1e46-a6b4-92340fbcc8cb'::uuid, 'TmdbCollection', 1271971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e46550bd-e71f-1e46-a6b4-92340fbcc8cb'::uuid, 'Imdb', 'tt4174066')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e46550bd-e71f-1e46-a6b4-92340fbcc8cb'::uuid, 'Tmdb', 1271971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e46550bd-e71f-1e46-a6b4-92340fbcc8cb'::uuid, 'trakt', 2478637)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e46550bd-e71f-1e46-a6b4-92340fbcc8cb'::uuid, 'TvMaze', 1040809)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e46550bd-e71f-1e46-a6b4-92340fbcc8cb'::uuid, 'Tvdb', 5939617)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28643 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e46550bd-e71f-1e46-a6b4-92340fbcc8cb'::uuid;

-- Query #28644 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e46550bd-e71f-1e46-a6b4-92340fbcc8cb'::uuid;

-- Query #28645 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e46550bd-e71f-1e46-a6b4-92340fbcc8cb'::uuid]);

-- Query #28646 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e46550bd-e71f-1e46-a6b4-92340fbcc8cb'::uuid;

-- Query #28647 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28648 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '37ec7f42-5047-6786-9e62-51fa8411bde3'::uuid;

-- Query #28649 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['37ec7f42-5047-6786-9e62-51fa8411bde3'::uuid]);

-- Query #28650 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '37ec7f42-5047-6786-9e62-51fa8411bde3'::uuid;

-- Query #28651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('37ec7f42-5047-6786-9e62-51fa8411bde3'::uuid, 'Imdb', 'tt4174074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28652 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('37ec7f42-5047-6786-9e62-51fa8411bde3'::uuid, 'Tmdb', 1271974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('37ec7f42-5047-6786-9e62-51fa8411bde3'::uuid, 'trakt', 2478640)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('37ec7f42-5047-6786-9e62-51fa8411bde3'::uuid, 'TvMaze', 1040813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('37ec7f42-5047-6786-9e62-51fa8411bde3'::uuid, 'Tvdb', 5939620)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('37ec7f42-5047-6786-9e62-51fa8411bde3'::uuid, 'TmdbCollection', 1271974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28657 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '37ec7f42-5047-6786-9e62-51fa8411bde3'::uuid;

-- Query #28658 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '37ec7f42-5047-6786-9e62-51fa8411bde3'::uuid;

-- Query #28659 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['37ec7f42-5047-6786-9e62-51fa8411bde3'::uuid]);

-- Query #28660 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '37ec7f42-5047-6786-9e62-51fa8411bde3'::uuid;

-- Query #28661 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28662 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '93bb2a10-f3f6-6304-0305-e002e6ac7f8e'::uuid;

-- Query #28663 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['93bb2a10-f3f6-6304-0305-e002e6ac7f8e'::uuid]);

-- Query #28664 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '93bb2a10-f3f6-6304-0305-e002e6ac7f8e'::uuid;

-- Query #28665 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93bb2a10-f3f6-6304-0305-e002e6ac7f8e'::uuid, 'Imdb', 'tt4174072')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28666 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93bb2a10-f3f6-6304-0305-e002e6ac7f8e'::uuid, 'Tmdb', 1271973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28667 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93bb2a10-f3f6-6304-0305-e002e6ac7f8e'::uuid, 'trakt', 2478639)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28668 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93bb2a10-f3f6-6304-0305-e002e6ac7f8e'::uuid, 'TvMaze', 1040812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93bb2a10-f3f6-6304-0305-e002e6ac7f8e'::uuid, 'Tvdb', 5939619)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93bb2a10-f3f6-6304-0305-e002e6ac7f8e'::uuid, 'TmdbCollection', 1271973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28671 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '93bb2a10-f3f6-6304-0305-e002e6ac7f8e'::uuid;

-- Query #28672 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '93bb2a10-f3f6-6304-0305-e002e6ac7f8e'::uuid;

-- Query #28673 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['93bb2a10-f3f6-6304-0305-e002e6ac7f8e'::uuid]);

-- Query #28674 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '93bb2a10-f3f6-6304-0305-e002e6ac7f8e'::uuid;

-- Query #28675 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28676 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e0d3a40-76e7-7109-4fb2-c5674c62d9b4'::uuid;

-- Query #28677 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e0d3a40-76e7-7109-4fb2-c5674c62d9b4'::uuid]);

-- Query #28678 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3e0d3a40-76e7-7109-4fb2-c5674c62d9b4'::uuid;

-- Query #28679 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e0d3a40-76e7-7109-4fb2-c5674c62d9b4'::uuid, 'Imdb', 'tt4174084')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28680 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e0d3a40-76e7-7109-4fb2-c5674c62d9b4'::uuid, 'Tmdb', 1271978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28681 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e0d3a40-76e7-7109-4fb2-c5674c62d9b4'::uuid, 'trakt', 2478644)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28682 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e0d3a40-76e7-7109-4fb2-c5674c62d9b4'::uuid, 'TvMaze', 1040817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28683 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e0d3a40-76e7-7109-4fb2-c5674c62d9b4'::uuid, 'Tvdb', 5939624)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28684 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e0d3a40-76e7-7109-4fb2-c5674c62d9b4'::uuid, 'TmdbCollection', 1271978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28685 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e0d3a40-76e7-7109-4fb2-c5674c62d9b4'::uuid;

-- Query #28686 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3e0d3a40-76e7-7109-4fb2-c5674c62d9b4'::uuid;

-- Query #28687 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3e0d3a40-76e7-7109-4fb2-c5674c62d9b4'::uuid]);

-- Query #28688 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3e0d3a40-76e7-7109-4fb2-c5674c62d9b4'::uuid;

-- Query #28689 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28690 | logged_duration_ms=6 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a7d32614-241c-2e57-c50f-a3a5a495ae7e'::uuid;

-- Query #28691 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #28692 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a7d32614-241c-2e57-c50f-a3a5a495ae7e'::uuid]);

-- Query #28693 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a7d32614-241c-2e57-c50f-a3a5a495ae7e'::uuid;

-- Query #28694 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7d32614-241c-2e57-c50f-a3a5a495ae7e'::uuid, 'Imdb', 'tt4174080')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28695 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7d32614-241c-2e57-c50f-a3a5a495ae7e'::uuid, 'Tmdb', 1271976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28696 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7d32614-241c-2e57-c50f-a3a5a495ae7e'::uuid, 'trakt', 2478642)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28697 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7d32614-241c-2e57-c50f-a3a5a495ae7e'::uuid, 'TvMaze', 1040815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28698 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7d32614-241c-2e57-c50f-a3a5a495ae7e'::uuid, 'Tvdb', 5939622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28699 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7d32614-241c-2e57-c50f-a3a5a495ae7e'::uuid, 'TmdbCollection', 1271976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28700 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a7d32614-241c-2e57-c50f-a3a5a495ae7e'::uuid;

-- Query #28701 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a7d32614-241c-2e57-c50f-a3a5a495ae7e'::uuid;

-- Query #28702 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a7d32614-241c-2e57-c50f-a3a5a495ae7e'::uuid]);

-- Query #28703 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a7d32614-241c-2e57-c50f-a3a5a495ae7e'::uuid;

-- Query #28704 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28705 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '91e79770-2426-0085-d4de-2b4abc78fb06'::uuid;

-- Query #28706 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['91e79770-2426-0085-d4de-2b4abc78fb06'::uuid]);

-- Query #28707 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '91e79770-2426-0085-d4de-2b4abc78fb06'::uuid;

-- Query #28708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91e79770-2426-0085-d4de-2b4abc78fb06'::uuid, 'TmdbCollection', 1271970)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91e79770-2426-0085-d4de-2b4abc78fb06'::uuid, 'Imdb', 'tt4174030')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91e79770-2426-0085-d4de-2b4abc78fb06'::uuid, 'Tmdb', 1271970)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91e79770-2426-0085-d4de-2b4abc78fb06'::uuid, 'trakt', 2478636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28712 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91e79770-2426-0085-d4de-2b4abc78fb06'::uuid, 'TvMaze', 1040808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91e79770-2426-0085-d4de-2b4abc78fb06'::uuid, 'Tvdb', 5939616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28714 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '91e79770-2426-0085-d4de-2b4abc78fb06'::uuid;

-- Query #28715 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '91e79770-2426-0085-d4de-2b4abc78fb06'::uuid;

-- Query #28716 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['91e79770-2426-0085-d4de-2b4abc78fb06'::uuid]);

-- Query #28717 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '91e79770-2426-0085-d4de-2b4abc78fb06'::uuid;

-- Query #28718 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28719 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a1924eb-da70-a799-d70a-7b29880dd7e1'::uuid;

-- Query #28720 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a1924eb-da70-a799-d70a-7b29880dd7e1'::uuid]);

-- Query #28721 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4a1924eb-da70-a799-d70a-7b29880dd7e1'::uuid;

-- Query #28722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a1924eb-da70-a799-d70a-7b29880dd7e1'::uuid, 'Imdb', 'tt4174028')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a1924eb-da70-a799-d70a-7b29880dd7e1'::uuid, 'Tmdb', 1271969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a1924eb-da70-a799-d70a-7b29880dd7e1'::uuid, 'trakt', 2478635)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a1924eb-da70-a799-d70a-7b29880dd7e1'::uuid, 'TvMaze', 1040807)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28726 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a1924eb-da70-a799-d70a-7b29880dd7e1'::uuid, 'Tvdb', 5939615)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28727 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a1924eb-da70-a799-d70a-7b29880dd7e1'::uuid, 'TmdbCollection', 1271969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28728 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a1924eb-da70-a799-d70a-7b29880dd7e1'::uuid;

-- Query #28729 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4a1924eb-da70-a799-d70a-7b29880dd7e1'::uuid;

-- Query #28730 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4a1924eb-da70-a799-d70a-7b29880dd7e1'::uuid]);

-- Query #28731 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4a1924eb-da70-a799-d70a-7b29880dd7e1'::uuid;

-- Query #28732 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28733 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '292530a6-ba5f-fc69-9a8b-1247ae17cabd'::uuid;

-- Query #28734 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['292530a6-ba5f-fc69-9a8b-1247ae17cabd'::uuid]);

-- Query #28735 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '292530a6-ba5f-fc69-9a8b-1247ae17cabd'::uuid;

-- Query #28736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('292530a6-ba5f-fc69-9a8b-1247ae17cabd'::uuid, 'TmdbCollection', 1045314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('292530a6-ba5f-fc69-9a8b-1247ae17cabd'::uuid, 'Imdb', 'tt4174026')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('292530a6-ba5f-fc69-9a8b-1247ae17cabd'::uuid, 'Tmdb', 1045314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('292530a6-ba5f-fc69-9a8b-1247ae17cabd'::uuid, 'trakt', 2361975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('292530a6-ba5f-fc69-9a8b-1247ae17cabd'::uuid, 'TvMaze', 950707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('292530a6-ba5f-fc69-9a8b-1247ae17cabd'::uuid, 'Tvdb', 5777788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28742 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '292530a6-ba5f-fc69-9a8b-1247ae17cabd'::uuid;

-- Query #28743 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '292530a6-ba5f-fc69-9a8b-1247ae17cabd'::uuid;

-- Query #28744 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['292530a6-ba5f-fc69-9a8b-1247ae17cabd'::uuid]);

-- Query #28745 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '292530a6-ba5f-fc69-9a8b-1247ae17cabd'::uuid;

-- Query #28746 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28747 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '45669a44-0821-a9c0-a25f-dc3d779d1171'::uuid;

-- Query #28748 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['45669a44-0821-a9c0-a25f-dc3d779d1171'::uuid]);

-- Query #28749 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '45669a44-0821-a9c0-a25f-dc3d779d1171'::uuid;

-- Query #28750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45669a44-0821-a9c0-a25f-dc3d779d1171'::uuid, 'Imdb', 'tt4174070')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45669a44-0821-a9c0-a25f-dc3d779d1171'::uuid, 'Tmdb', 1271972)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45669a44-0821-a9c0-a25f-dc3d779d1171'::uuid, 'trakt', 2478638)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28753 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45669a44-0821-a9c0-a25f-dc3d779d1171'::uuid, 'TvMaze', 1040811)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45669a44-0821-a9c0-a25f-dc3d779d1171'::uuid, 'Tvdb', 5939618)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('45669a44-0821-a9c0-a25f-dc3d779d1171'::uuid, 'TmdbCollection', 1271972)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28756 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '45669a44-0821-a9c0-a25f-dc3d779d1171'::uuid;

-- Query #28757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '45669a44-0821-a9c0-a25f-dc3d779d1171'::uuid;

-- Query #28758 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['45669a44-0821-a9c0-a25f-dc3d779d1171'::uuid]);

-- Query #28759 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '45669a44-0821-a9c0-a25f-dc3d779d1171'::uuid;

-- Query #28760 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28761 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '001ec100-9040-1386-b5f9-f0285244a7d1'::uuid;

-- Query #28762 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['001ec100-9040-1386-b5f9-f0285244a7d1'::uuid]);

-- Query #28763 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '001ec100-9040-1386-b5f9-f0285244a7d1'::uuid;

-- Query #28764 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('001ec100-9040-1386-b5f9-f0285244a7d1'::uuid, 'Imdb', 'tt8051706')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('001ec100-9040-1386-b5f9-f0285244a7d1'::uuid, 'Tmdb', 1534355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('001ec100-9040-1386-b5f9-f0285244a7d1'::uuid, 'trakt', 3113866)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('001ec100-9040-1386-b5f9-f0285244a7d1'::uuid, 'TvMaze', 1506182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('001ec100-9040-1386-b5f9-f0285244a7d1'::uuid, 'Tvdb', 6787187)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('001ec100-9040-1386-b5f9-f0285244a7d1'::uuid, 'TmdbCollection', 1534355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28770 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '001ec100-9040-1386-b5f9-f0285244a7d1'::uuid;

-- Query #28771 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '001ec100-9040-1386-b5f9-f0285244a7d1'::uuid;

-- Query #28772 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['001ec100-9040-1386-b5f9-f0285244a7d1'::uuid]);

-- Query #28773 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '001ec100-9040-1386-b5f9-f0285244a7d1'::uuid;

-- Query #28774 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28775 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ac243f4-e109-6fa2-7eee-e4258b78a51c'::uuid;

-- Query #28776 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ac243f4-e109-6fa2-7eee-e4258b78a51c'::uuid]);

-- Query #28777 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8ac243f4-e109-6fa2-7eee-e4258b78a51c'::uuid;

-- Query #28778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ac243f4-e109-6fa2-7eee-e4258b78a51c'::uuid, 'Imdb', 'tt8007196')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ac243f4-e109-6fa2-7eee-e4258b78a51c'::uuid, 'Tmdb', 1534349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ac243f4-e109-6fa2-7eee-e4258b78a51c'::uuid, 'trakt', 3113795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ac243f4-e109-6fa2-7eee-e4258b78a51c'::uuid, 'TvMaze', 1506176)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ac243f4-e109-6fa2-7eee-e4258b78a51c'::uuid, 'Tvdb', 6819159)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ac243f4-e109-6fa2-7eee-e4258b78a51c'::uuid, 'TmdbCollection', 1534349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28784 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ac243f4-e109-6fa2-7eee-e4258b78a51c'::uuid;

-- Query #28785 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8ac243f4-e109-6fa2-7eee-e4258b78a51c'::uuid;

-- Query #28786 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8ac243f4-e109-6fa2-7eee-e4258b78a51c'::uuid]);

-- Query #28787 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8ac243f4-e109-6fa2-7eee-e4258b78a51c'::uuid;

-- Query #28788 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff25ba67-e215-d7e9-cccd-a474670972de'::uuid;

-- Query #28790 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff25ba67-e215-d7e9-cccd-a474670972de'::uuid]);

-- Query #28791 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ff25ba67-e215-d7e9-cccd-a474670972de'::uuid;

-- Query #28792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff25ba67-e215-d7e9-cccd-a474670972de'::uuid, 'Imdb', 'tt8051710')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28793 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff25ba67-e215-d7e9-cccd-a474670972de'::uuid, 'Tmdb', 1534357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff25ba67-e215-d7e9-cccd-a474670972de'::uuid, 'trakt', 3113889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff25ba67-e215-d7e9-cccd-a474670972de'::uuid, 'TvMaze', 1506184)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff25ba67-e215-d7e9-cccd-a474670972de'::uuid, 'Tvdb', 6787189)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff25ba67-e215-d7e9-cccd-a474670972de'::uuid, 'TmdbCollection', 1534357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28798 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff25ba67-e215-d7e9-cccd-a474670972de'::uuid;

-- Query #28799 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ff25ba67-e215-d7e9-cccd-a474670972de'::uuid;

-- Query #28800 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ff25ba67-e215-d7e9-cccd-a474670972de'::uuid]);

-- Query #28801 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ff25ba67-e215-d7e9-cccd-a474670972de'::uuid;

-- Query #28802 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28803 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9840e818-a1d3-32af-9409-14142a73e1f7'::uuid;

-- Query #28804 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9840e818-a1d3-32af-9409-14142a73e1f7'::uuid]);

-- Query #28805 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9840e818-a1d3-32af-9409-14142a73e1f7'::uuid;

-- Query #28806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9840e818-a1d3-32af-9409-14142a73e1f7'::uuid, 'TmdbCollection', 1526698)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9840e818-a1d3-32af-9409-14142a73e1f7'::uuid, 'Imdb', 'tt7166218')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28808 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9840e818-a1d3-32af-9409-14142a73e1f7'::uuid, 'Tmdb', 1526698)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9840e818-a1d3-32af-9409-14142a73e1f7'::uuid, 'trakt', 3089338)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9840e818-a1d3-32af-9409-14142a73e1f7'::uuid, 'TvMaze', 1499037)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28811 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9840e818-a1d3-32af-9409-14142a73e1f7'::uuid, 'Tvdb', 6819160)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28812 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9840e818-a1d3-32af-9409-14142a73e1f7'::uuid;

-- Query #28813 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9840e818-a1d3-32af-9409-14142a73e1f7'::uuid;

-- Query #28814 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9840e818-a1d3-32af-9409-14142a73e1f7'::uuid]);

-- Query #28815 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9840e818-a1d3-32af-9409-14142a73e1f7'::uuid;

-- Query #28816 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28817 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '50914cbe-6ae3-8509-1021-31ced34d9e5e'::uuid;

-- Query #28818 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50914cbe-6ae3-8509-1021-31ced34d9e5e'::uuid]);

-- Query #28819 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '50914cbe-6ae3-8509-1021-31ced34d9e5e'::uuid;

-- Query #28820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50914cbe-6ae3-8509-1021-31ced34d9e5e'::uuid, 'Imdb', 'tt8051692')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50914cbe-6ae3-8509-1021-31ced34d9e5e'::uuid, 'Tmdb', 1534352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50914cbe-6ae3-8509-1021-31ced34d9e5e'::uuid, 'trakt', 3113845)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28823 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50914cbe-6ae3-8509-1021-31ced34d9e5e'::uuid, 'TvMaze', 1506179)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50914cbe-6ae3-8509-1021-31ced34d9e5e'::uuid, 'Tvdb', 6787183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50914cbe-6ae3-8509-1021-31ced34d9e5e'::uuid, 'TmdbCollection', 1534352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28826 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '50914cbe-6ae3-8509-1021-31ced34d9e5e'::uuid;

-- Query #28827 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '50914cbe-6ae3-8509-1021-31ced34d9e5e'::uuid;

-- Query #28828 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['50914cbe-6ae3-8509-1021-31ced34d9e5e'::uuid]);

-- Query #28829 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '50914cbe-6ae3-8509-1021-31ced34d9e5e'::uuid;

-- Query #28830 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28831 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cea2f4dd-d421-3bf3-2cc4-60f37dc3f69f'::uuid;

-- Query #28832 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cea2f4dd-d421-3bf3-2cc4-60f37dc3f69f'::uuid]);

-- Query #28833 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cea2f4dd-d421-3bf3-2cc4-60f37dc3f69f'::uuid;

-- Query #28834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cea2f4dd-d421-3bf3-2cc4-60f37dc3f69f'::uuid, 'Imdb', 'tt8051704')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cea2f4dd-d421-3bf3-2cc4-60f37dc3f69f'::uuid, 'Tmdb', 1534354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28836 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cea2f4dd-d421-3bf3-2cc4-60f37dc3f69f'::uuid, 'trakt', 3113864)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cea2f4dd-d421-3bf3-2cc4-60f37dc3f69f'::uuid, 'TvMaze', 1506181)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cea2f4dd-d421-3bf3-2cc4-60f37dc3f69f'::uuid, 'Tvdb', 6787186)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cea2f4dd-d421-3bf3-2cc4-60f37dc3f69f'::uuid, 'TmdbCollection', 1534354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28840 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cea2f4dd-d421-3bf3-2cc4-60f37dc3f69f'::uuid;

-- Query #28841 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cea2f4dd-d421-3bf3-2cc4-60f37dc3f69f'::uuid;

-- Query #28842 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cea2f4dd-d421-3bf3-2cc4-60f37dc3f69f'::uuid]);

-- Query #28843 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cea2f4dd-d421-3bf3-2cc4-60f37dc3f69f'::uuid;

-- Query #28844 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28845 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1142dce8-e221-cf4b-0a4a-e4d708716d99'::uuid;

-- Query #28846 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1142dce8-e221-cf4b-0a4a-e4d708716d99'::uuid]);

-- Query #28847 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1142dce8-e221-cf4b-0a4a-e4d708716d99'::uuid;

-- Query #28848 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1142dce8-e221-cf4b-0a4a-e4d708716d99'::uuid, 'Imdb', 'tt8051684')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28849 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1142dce8-e221-cf4b-0a4a-e4d708716d99'::uuid, 'Tmdb', 1534351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1142dce8-e221-cf4b-0a4a-e4d708716d99'::uuid, 'trakt', 3113823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1142dce8-e221-cf4b-0a4a-e4d708716d99'::uuid, 'TvMaze', 1506178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1142dce8-e221-cf4b-0a4a-e4d708716d99'::uuid, 'Tvdb', 6787182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1142dce8-e221-cf4b-0a4a-e4d708716d99'::uuid, 'TmdbCollection', 1534351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28854 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1142dce8-e221-cf4b-0a4a-e4d708716d99'::uuid;

-- Query #28855 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1142dce8-e221-cf4b-0a4a-e4d708716d99'::uuid;

-- Query #28856 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1142dce8-e221-cf4b-0a4a-e4d708716d99'::uuid]);

-- Query #28857 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1142dce8-e221-cf4b-0a4a-e4d708716d99'::uuid;

-- Query #28858 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28859 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ac3e387b-a3de-b9c1-ea78-f1c40a4b9efb'::uuid;

-- Query #28860 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac3e387b-a3de-b9c1-ea78-f1c40a4b9efb'::uuid]);

-- Query #28861 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ac3e387b-a3de-b9c1-ea78-f1c40a4b9efb'::uuid;

-- Query #28862 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac3e387b-a3de-b9c1-ea78-f1c40a4b9efb'::uuid, 'Imdb', 'tt8051660')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac3e387b-a3de-b9c1-ea78-f1c40a4b9efb'::uuid, 'Tmdb', 1534350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28864 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac3e387b-a3de-b9c1-ea78-f1c40a4b9efb'::uuid, 'trakt', 3113810)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac3e387b-a3de-b9c1-ea78-f1c40a4b9efb'::uuid, 'TvMaze', 1506177)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac3e387b-a3de-b9c1-ea78-f1c40a4b9efb'::uuid, 'Tvdb', 6787181)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac3e387b-a3de-b9c1-ea78-f1c40a4b9efb'::uuid, 'TmdbCollection', 1534350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28868 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ac3e387b-a3de-b9c1-ea78-f1c40a4b9efb'::uuid;

-- Query #28869 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ac3e387b-a3de-b9c1-ea78-f1c40a4b9efb'::uuid;

-- Query #28870 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ac3e387b-a3de-b9c1-ea78-f1c40a4b9efb'::uuid]);

-- Query #28871 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ac3e387b-a3de-b9c1-ea78-f1c40a4b9efb'::uuid;

-- Query #28872 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28873 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f4c77ed7-5178-4f0f-30be-8f02855e9896'::uuid;

-- Query #28874 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4c77ed7-5178-4f0f-30be-8f02855e9896'::uuid]);

-- Query #28875 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f4c77ed7-5178-4f0f-30be-8f02855e9896'::uuid;

-- Query #28876 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4c77ed7-5178-4f0f-30be-8f02855e9896'::uuid, 'Imdb', 'tt8051708')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28877 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4c77ed7-5178-4f0f-30be-8f02855e9896'::uuid, 'Tmdb', 1534356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4c77ed7-5178-4f0f-30be-8f02855e9896'::uuid, 'trakt', 3113871)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4c77ed7-5178-4f0f-30be-8f02855e9896'::uuid, 'TvMaze', 1506183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4c77ed7-5178-4f0f-30be-8f02855e9896'::uuid, 'Tvdb', 6787188)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4c77ed7-5178-4f0f-30be-8f02855e9896'::uuid, 'TmdbCollection', 1534356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28882 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f4c77ed7-5178-4f0f-30be-8f02855e9896'::uuid;

-- Query #28883 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f4c77ed7-5178-4f0f-30be-8f02855e9896'::uuid;

-- Query #28884 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f4c77ed7-5178-4f0f-30be-8f02855e9896'::uuid]);

-- Query #28885 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f4c77ed7-5178-4f0f-30be-8f02855e9896'::uuid;

-- Query #28886 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid, 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28887 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5943940-7026-0db2-ee39-2897dec5539f'::uuid
ORDER BY b."SortName";

-- Query #28888 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid])
ORDER BY b."Id";

-- Query #28889 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid])
ORDER BY b."Id";

-- Query #28890 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid])
ORDER BY b."Id";

-- Query #28891 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid])
ORDER BY b."Id";

-- Query #28892 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid, 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid])
ORDER BY b."Id";

-- Query #28893 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '999d543b-35bd-7ed4-8765-664a307bb1b5'::uuid
ORDER BY b."SortName";

-- Query #28894 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e2e6e9b6-7d9a-d87d-6513-a74ce4840d8f'::uuid
ORDER BY b."SortName";

-- Query #28895 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'e594394070260db2ee392897dec5539f'
ORDER BY b."SortName", b."Name";

-- Query #28896 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid
ORDER BY b."SortName";

-- Query #28897 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid])
ORDER BY b."Id";

-- Query #28898 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid])
ORDER BY b."Id";

-- Query #28899 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid])
ORDER BY b."Id";

-- Query #28900 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid])
ORDER BY b."Id";

-- Query #28901 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid])
ORDER BY b."Id";

-- Query #28902 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid
ORDER BY b."SortName";

-- Query #28903 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid
ORDER BY b."SortName";

-- Query #28904 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid
ORDER BY b."SortName";

-- Query #28905 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid;

-- Query #28906 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid]);

-- Query #28907 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid;

-- Query #28908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, 'Imdb', 'tt2357547')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, 'instagram', 'marvelsjessicajones')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, 'official website', 'https://www.disneyplus.com/browse/entity-6e31f304-024a-41a2-97a5-5a7ced0345a8')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, 'Tmdb', 38472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, 'TmdbCollection', 38472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, 'Tvdb', 284190)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, 'TvMaze', 1370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28915 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, 'TvRage', 38797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28916 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, 'wikidata', 'Q18605540')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28917 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, 'wikipedia', 'Jessica_Jones_(TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, 'x (twitter)', 'JessicaJones')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28919 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, 'Zap2It', 'EP02266707')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28920 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid;

-- Query #28921 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid;

-- Query #28922 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid]);

-- Query #28923 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid;

-- Query #28924 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28925 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'bcf9b5a76a48fd7446f097ae21313ff3'
ORDER BY b."SortName", b."Name";

-- Query #28926 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid
ORDER BY b."SortName";

-- Query #28927 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid])
ORDER BY b."Id";

-- Query #28928 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid])
ORDER BY b."Id";

-- Query #28929 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid])
ORDER BY b."Id";

-- Query #28930 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid])
ORDER BY b."Id";

-- Query #28931 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid])
ORDER BY b."Id";

-- Query #28932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid
ORDER BY b."SortName";

-- Query #28933 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid
ORDER BY b."SortName";

-- Query #28934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid
ORDER BY b."SortName";

-- Query #28935 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'bcf9b5a76a48fd7446f097ae21313ff3'
ORDER BY b."SortName", b."Name";

-- Query #28936 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid;

-- Query #28937 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid]);

-- Query #28938 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid;

-- Query #28939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'Tvdb', 284190)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'Tmdb', 38472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28941 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'Imdb', 'tt2357547')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28942 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'TvMaze', 1370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28943 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'TvRage', 38797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28944 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'Zap2It', 'EP02266707')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28945 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'wikidata', 'Q18605540')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28946 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'TmdbCollection', 38472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28947 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid;

-- Query #28948 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid;

-- Query #28949 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid]);

-- Query #28950 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid;

-- Query #28951 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28952 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'bcf9b5a76a48fd7446f097ae21313ff3'
ORDER BY b."SortName", b."Name";

-- Query #28953 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #28954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid;

-- Query #28955 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid]);

-- Query #28956 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid;

-- Query #28957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'wikidata', 'Q18605540')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28958 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'TmdbCollection', 38472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28959 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'Tvdb', 284190)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28960 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'Tmdb', 38472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28961 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'Imdb', 'tt2357547')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'TvMaze', 1370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'TvRage', 38797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28964 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'Zap2It', 'EP02266707')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28965 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid;

-- Query #28966 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid;

-- Query #28967 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid]);

-- Query #28968 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid;

-- Query #28969 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28970 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'bcf9b5a76a48fd7446f097ae21313ff3'
ORDER BY b."SortName", b."Name";

-- Query #28971 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid;

-- Query #28972 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3748157c-3fc5-9869-f26c-c12f47e85335'::uuid]);

-- Query #28973 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid;

-- Query #28974 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'Tvdb', 284190)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'Tmdb', 38472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'Imdb', 'tt2357547')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'TvMaze', 1370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'TvRage', 38797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'Zap2It', 'EP02266707')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'wikidata', 'Q18605540')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'TmdbCollection', 38472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid;

-- Query #28983 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid;

-- Query #28984 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3748157c-3fc5-9869-f26c-c12f47e85335'::uuid]);

-- Query #28985 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid;

-- Query #28986 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #28987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e60cdd04-bd69-8255-36f6-5f0004e1d31b'::uuid;

-- Query #28988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e60cdd04-bd69-8255-36f6-5f0004e1d31b'::uuid]);

-- Query #28989 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e60cdd04-bd69-8255-36f6-5f0004e1d31b'::uuid;

-- Query #28990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e60cdd04-bd69-8255-36f6-5f0004e1d31b'::uuid, 'Imdb', 'tt4162088')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e60cdd04-bd69-8255-36f6-5f0004e1d31b'::uuid, 'Tmdb', 1105763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e60cdd04-bd69-8255-36f6-5f0004e1d31b'::uuid, 'trakt', 1793748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e60cdd04-bd69-8255-36f6-5f0004e1d31b'::uuid, 'TvMaze', 206170)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e60cdd04-bd69-8255-36f6-5f0004e1d31b'::uuid, 'Tvdb', 5311270)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e60cdd04-bd69-8255-36f6-5f0004e1d31b'::uuid, 'TmdbCollection', 1105763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #28996 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e60cdd04-bd69-8255-36f6-5f0004e1d31b'::uuid;

-- Query #28997 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e60cdd04-bd69-8255-36f6-5f0004e1d31b'::uuid;

-- Query #28998 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e60cdd04-bd69-8255-36f6-5f0004e1d31b'::uuid]);

-- Query #28999 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e60cdd04-bd69-8255-36f6-5f0004e1d31b'::uuid;

-- Query #29000 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29001 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eff7b8a9-6e35-90d4-40e1-d19e0c68c485'::uuid;

-- Query #29002 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eff7b8a9-6e35-90d4-40e1-d19e0c68c485'::uuid]);

-- Query #29003 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eff7b8a9-6e35-90d4-40e1-d19e0c68c485'::uuid;

-- Query #29004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eff7b8a9-6e35-90d4-40e1-d19e0c68c485'::uuid, 'Imdb', 'tt4162066')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29005 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eff7b8a9-6e35-90d4-40e1-d19e0c68c485'::uuid, 'Tmdb', 1105757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29006 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eff7b8a9-6e35-90d4-40e1-d19e0c68c485'::uuid, 'trakt', 1793742)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eff7b8a9-6e35-90d4-40e1-d19e0c68c485'::uuid, 'TvMaze', 206176)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eff7b8a9-6e35-90d4-40e1-d19e0c68c485'::uuid, 'Tvdb', 5311264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eff7b8a9-6e35-90d4-40e1-d19e0c68c485'::uuid, 'TmdbCollection', 1105757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29010 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eff7b8a9-6e35-90d4-40e1-d19e0c68c485'::uuid;

-- Query #29011 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eff7b8a9-6e35-90d4-40e1-d19e0c68c485'::uuid;

-- Query #29012 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eff7b8a9-6e35-90d4-40e1-d19e0c68c485'::uuid]);

-- Query #29013 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eff7b8a9-6e35-90d4-40e1-d19e0c68c485'::uuid;

-- Query #29014 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29015 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a9c5a128-6bb2-6bc8-b39c-91545c0714b1'::uuid;

-- Query #29016 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9c5a128-6bb2-6bc8-b39c-91545c0714b1'::uuid]);

-- Query #29017 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a9c5a128-6bb2-6bc8-b39c-91545c0714b1'::uuid;

-- Query #29018 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9c5a128-6bb2-6bc8-b39c-91545c0714b1'::uuid, 'Tmdb', 1105755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9c5a128-6bb2-6bc8-b39c-91545c0714b1'::uuid, 'trakt', 1793740)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29020 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9c5a128-6bb2-6bc8-b39c-91545c0714b1'::uuid, 'TvMaze', 206178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29021 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9c5a128-6bb2-6bc8-b39c-91545c0714b1'::uuid, 'Tvdb', 5311262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29022 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9c5a128-6bb2-6bc8-b39c-91545c0714b1'::uuid, 'TmdbCollection', 1105755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29023 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9c5a128-6bb2-6bc8-b39c-91545c0714b1'::uuid, 'Imdb', 'tt4162062')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29024 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a9c5a128-6bb2-6bc8-b39c-91545c0714b1'::uuid;

-- Query #29025 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a9c5a128-6bb2-6bc8-b39c-91545c0714b1'::uuid;

-- Query #29026 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a9c5a128-6bb2-6bc8-b39c-91545c0714b1'::uuid]);

-- Query #29027 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a9c5a128-6bb2-6bc8-b39c-91545c0714b1'::uuid;

-- Query #29028 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29029 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '375a8af2-c1f7-c390-c798-9de22b81a85a'::uuid;

-- Query #29030 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['375a8af2-c1f7-c390-c798-9de22b81a85a'::uuid]);

-- Query #29031 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '375a8af2-c1f7-c390-c798-9de22b81a85a'::uuid;

-- Query #29032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('375a8af2-c1f7-c390-c798-9de22b81a85a'::uuid, 'Imdb', 'tt4162064')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29033 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('375a8af2-c1f7-c390-c798-9de22b81a85a'::uuid, 'Tmdb', 1105756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29034 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('375a8af2-c1f7-c390-c798-9de22b81a85a'::uuid, 'trakt', 1793741)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('375a8af2-c1f7-c390-c798-9de22b81a85a'::uuid, 'TvMaze', 206177)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('375a8af2-c1f7-c390-c798-9de22b81a85a'::uuid, 'Tvdb', 5311263)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29037 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('375a8af2-c1f7-c390-c798-9de22b81a85a'::uuid, 'TmdbCollection', 1105756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29038 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '375a8af2-c1f7-c390-c798-9de22b81a85a'::uuid;

-- Query #29039 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '375a8af2-c1f7-c390-c798-9de22b81a85a'::uuid;

-- Query #29040 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['375a8af2-c1f7-c390-c798-9de22b81a85a'::uuid]);

-- Query #29041 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '375a8af2-c1f7-c390-c798-9de22b81a85a'::uuid;

-- Query #29042 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29043 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b53388ba-bd0f-e514-80f7-03d9805850ed'::uuid;

-- Query #29044 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b53388ba-bd0f-e514-80f7-03d9805850ed'::uuid]);

-- Query #29045 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b53388ba-bd0f-e514-80f7-03d9805850ed'::uuid;

-- Query #29046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b53388ba-bd0f-e514-80f7-03d9805850ed'::uuid, 'Imdb', 'tt4162092')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b53388ba-bd0f-e514-80f7-03d9805850ed'::uuid, 'Tmdb', 1105764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b53388ba-bd0f-e514-80f7-03d9805850ed'::uuid, 'trakt', 1793749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b53388ba-bd0f-e514-80f7-03d9805850ed'::uuid, 'TvMaze', 206169)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b53388ba-bd0f-e514-80f7-03d9805850ed'::uuid, 'Tvdb', 5311271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b53388ba-bd0f-e514-80f7-03d9805850ed'::uuid, 'TmdbCollection', 1105764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29052 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b53388ba-bd0f-e514-80f7-03d9805850ed'::uuid;

-- Query #29053 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b53388ba-bd0f-e514-80f7-03d9805850ed'::uuid;

-- Query #29054 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b53388ba-bd0f-e514-80f7-03d9805850ed'::uuid]);

-- Query #29055 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b53388ba-bd0f-e514-80f7-03d9805850ed'::uuid;

-- Query #29056 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29057 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '94e9bf89-a1e5-5a96-7958-127af547a2da'::uuid;

-- Query #29058 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['94e9bf89-a1e5-5a96-7958-127af547a2da'::uuid]);

-- Query #29059 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '94e9bf89-a1e5-5a96-7958-127af547a2da'::uuid;

-- Query #29060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94e9bf89-a1e5-5a96-7958-127af547a2da'::uuid, 'Imdb', 'tt4162058')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94e9bf89-a1e5-5a96-7958-127af547a2da'::uuid, 'Tmdb', 1105754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94e9bf89-a1e5-5a96-7958-127af547a2da'::uuid, 'trakt', 1732378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94e9bf89-a1e5-5a96-7958-127af547a2da'::uuid, 'TvMaze', 206179)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94e9bf89-a1e5-5a96-7958-127af547a2da'::uuid, 'Tvdb', 5311261)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('94e9bf89-a1e5-5a96-7958-127af547a2da'::uuid, 'TmdbCollection', 1105754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29066 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '94e9bf89-a1e5-5a96-7958-127af547a2da'::uuid;

-- Query #29067 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '94e9bf89-a1e5-5a96-7958-127af547a2da'::uuid;

-- Query #29068 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['94e9bf89-a1e5-5a96-7958-127af547a2da'::uuid]);

-- Query #29069 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '94e9bf89-a1e5-5a96-7958-127af547a2da'::uuid;

-- Query #29070 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29071 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2cce08ea-9957-1389-dd93-3213133fb2a4'::uuid;

-- Query #29072 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2cce08ea-9957-1389-dd93-3213133fb2a4'::uuid]);

-- Query #29073 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2cce08ea-9957-1389-dd93-3213133fb2a4'::uuid;

-- Query #29074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cce08ea-9957-1389-dd93-3213133fb2a4'::uuid, 'Imdb', 'tt4162086')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cce08ea-9957-1389-dd93-3213133fb2a4'::uuid, 'Tmdb', 1105762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cce08ea-9957-1389-dd93-3213133fb2a4'::uuid, 'trakt', 1793747)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29077 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cce08ea-9957-1389-dd93-3213133fb2a4'::uuid, 'TvMaze', 206171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29078 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cce08ea-9957-1389-dd93-3213133fb2a4'::uuid, 'Tvdb', 5311269)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29079 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2cce08ea-9957-1389-dd93-3213133fb2a4'::uuid, 'TmdbCollection', 1105762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29080 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2cce08ea-9957-1389-dd93-3213133fb2a4'::uuid;

-- Query #29081 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2cce08ea-9957-1389-dd93-3213133fb2a4'::uuid;

-- Query #29082 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2cce08ea-9957-1389-dd93-3213133fb2a4'::uuid]);

-- Query #29083 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2cce08ea-9957-1389-dd93-3213133fb2a4'::uuid;

-- Query #29084 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29085 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '079e8e7c-c395-642a-cc47-3e3c3f08d2ef'::uuid;

-- Query #29086 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['079e8e7c-c395-642a-cc47-3e3c3f08d2ef'::uuid]);

-- Query #29087 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '079e8e7c-c395-642a-cc47-3e3c3f08d2ef'::uuid;

-- Query #29088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('079e8e7c-c395-642a-cc47-3e3c3f08d2ef'::uuid, 'Imdb', 'tt4162096')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('079e8e7c-c395-642a-cc47-3e3c3f08d2ef'::uuid, 'Tmdb', 1105766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('079e8e7c-c395-642a-cc47-3e3c3f08d2ef'::uuid, 'trakt', 1793751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('079e8e7c-c395-642a-cc47-3e3c3f08d2ef'::uuid, 'TvMaze', 206167)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('079e8e7c-c395-642a-cc47-3e3c3f08d2ef'::uuid, 'Tvdb', 5311273)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('079e8e7c-c395-642a-cc47-3e3c3f08d2ef'::uuid, 'TmdbCollection', 1105766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29094 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '079e8e7c-c395-642a-cc47-3e3c3f08d2ef'::uuid;

-- Query #29095 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '079e8e7c-c395-642a-cc47-3e3c3f08d2ef'::uuid;

-- Query #29096 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['079e8e7c-c395-642a-cc47-3e3c3f08d2ef'::uuid]);

-- Query #29097 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '079e8e7c-c395-642a-cc47-3e3c3f08d2ef'::uuid;

-- Query #29098 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29099 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '511422ad-edd9-e0d6-a295-95d050bc145c'::uuid;

-- Query #29100 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['511422ad-edd9-e0d6-a295-95d050bc145c'::uuid]);

-- Query #29101 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '511422ad-edd9-e0d6-a295-95d050bc145c'::uuid;

-- Query #29102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('511422ad-edd9-e0d6-a295-95d050bc145c'::uuid, 'Imdb', 'tt4162094')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('511422ad-edd9-e0d6-a295-95d050bc145c'::uuid, 'Tmdb', 1105765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('511422ad-edd9-e0d6-a295-95d050bc145c'::uuid, 'trakt', 1793750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('511422ad-edd9-e0d6-a295-95d050bc145c'::uuid, 'TvMaze', 206168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('511422ad-edd9-e0d6-a295-95d050bc145c'::uuid, 'Tvdb', 5311272)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('511422ad-edd9-e0d6-a295-95d050bc145c'::uuid, 'TmdbCollection', 1105765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29108 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '511422ad-edd9-e0d6-a295-95d050bc145c'::uuid;

-- Query #29109 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '511422ad-edd9-e0d6-a295-95d050bc145c'::uuid;

-- Query #29110 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['511422ad-edd9-e0d6-a295-95d050bc145c'::uuid]);

-- Query #29111 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '511422ad-edd9-e0d6-a295-95d050bc145c'::uuid;

-- Query #29112 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29113 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '08e3aa10-1c1b-df51-66d6-87a5392f3127'::uuid;

-- Query #29114 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['08e3aa10-1c1b-df51-66d6-87a5392f3127'::uuid]);

-- Query #29115 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '08e3aa10-1c1b-df51-66d6-87a5392f3127'::uuid;

-- Query #29116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('08e3aa10-1c1b-df51-66d6-87a5392f3127'::uuid, 'Imdb', 'tt4162072')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('08e3aa10-1c1b-df51-66d6-87a5392f3127'::uuid, 'Tmdb', 1105758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('08e3aa10-1c1b-df51-66d6-87a5392f3127'::uuid, 'trakt', 1793743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('08e3aa10-1c1b-df51-66d6-87a5392f3127'::uuid, 'TvMaze', 206175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('08e3aa10-1c1b-df51-66d6-87a5392f3127'::uuid, 'Tvdb', 5311265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('08e3aa10-1c1b-df51-66d6-87a5392f3127'::uuid, 'TmdbCollection', 1105758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29122 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '08e3aa10-1c1b-df51-66d6-87a5392f3127'::uuid;

-- Query #29123 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '08e3aa10-1c1b-df51-66d6-87a5392f3127'::uuid;

-- Query #29124 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['08e3aa10-1c1b-df51-66d6-87a5392f3127'::uuid]);

-- Query #29125 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '08e3aa10-1c1b-df51-66d6-87a5392f3127'::uuid;

-- Query #29126 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29127 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ba2b2b6-a5e3-ea82-5889-1a18b59da53b'::uuid;

-- Query #29128 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ba2b2b6-a5e3-ea82-5889-1a18b59da53b'::uuid]);

-- Query #29129 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8ba2b2b6-a5e3-ea82-5889-1a18b59da53b'::uuid;

-- Query #29130 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ba2b2b6-a5e3-ea82-5889-1a18b59da53b'::uuid, 'Imdb', 'tt4162080')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ba2b2b6-a5e3-ea82-5889-1a18b59da53b'::uuid, 'Tmdb', 1105760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ba2b2b6-a5e3-ea82-5889-1a18b59da53b'::uuid, 'trakt', 1793745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ba2b2b6-a5e3-ea82-5889-1a18b59da53b'::uuid, 'TvMaze', 206173)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ba2b2b6-a5e3-ea82-5889-1a18b59da53b'::uuid, 'Tvdb', 5311267)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ba2b2b6-a5e3-ea82-5889-1a18b59da53b'::uuid, 'TmdbCollection', 1105760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29136 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ba2b2b6-a5e3-ea82-5889-1a18b59da53b'::uuid;

-- Query #29137 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8ba2b2b6-a5e3-ea82-5889-1a18b59da53b'::uuid;

-- Query #29138 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8ba2b2b6-a5e3-ea82-5889-1a18b59da53b'::uuid]);

-- Query #29139 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8ba2b2b6-a5e3-ea82-5889-1a18b59da53b'::uuid;

-- Query #29140 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29141 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fc3911e-4955-15e6-fa61-26d0dda6d57d'::uuid;

-- Query #29142 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7fc3911e-4955-15e6-fa61-26d0dda6d57d'::uuid]);

-- Query #29143 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7fc3911e-4955-15e6-fa61-26d0dda6d57d'::uuid;

-- Query #29144 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fc3911e-4955-15e6-fa61-26d0dda6d57d'::uuid, 'Imdb', 'tt4162078')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fc3911e-4955-15e6-fa61-26d0dda6d57d'::uuid, 'Tmdb', 1105761)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fc3911e-4955-15e6-fa61-26d0dda6d57d'::uuid, 'trakt', 1793746)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fc3911e-4955-15e6-fa61-26d0dda6d57d'::uuid, 'TvMaze', 206172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fc3911e-4955-15e6-fa61-26d0dda6d57d'::uuid, 'Tvdb', 5311268)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fc3911e-4955-15e6-fa61-26d0dda6d57d'::uuid, 'TmdbCollection', 1105761)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29150 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fc3911e-4955-15e6-fa61-26d0dda6d57d'::uuid;

-- Query #29151 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7fc3911e-4955-15e6-fa61-26d0dda6d57d'::uuid;

-- Query #29152 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7fc3911e-4955-15e6-fa61-26d0dda6d57d'::uuid]);

-- Query #29153 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7fc3911e-4955-15e6-fa61-26d0dda6d57d'::uuid;

-- Query #29154 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29155 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70a69d35-5ffb-ae96-e447-ee3480259928'::uuid;

-- Query #29156 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70a69d35-5ffb-ae96-e447-ee3480259928'::uuid]);

-- Query #29157 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '70a69d35-5ffb-ae96-e447-ee3480259928'::uuid;

-- Query #29158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70a69d35-5ffb-ae96-e447-ee3480259928'::uuid, 'Imdb', 'tt4162076')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29159 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70a69d35-5ffb-ae96-e447-ee3480259928'::uuid, 'Tmdb', 1105759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70a69d35-5ffb-ae96-e447-ee3480259928'::uuid, 'trakt', 1793744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70a69d35-5ffb-ae96-e447-ee3480259928'::uuid, 'TvMaze', 206174)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70a69d35-5ffb-ae96-e447-ee3480259928'::uuid, 'Tvdb', 5311266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70a69d35-5ffb-ae96-e447-ee3480259928'::uuid, 'TmdbCollection', 1105759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29164 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70a69d35-5ffb-ae96-e447-ee3480259928'::uuid;

-- Query #29165 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '70a69d35-5ffb-ae96-e447-ee3480259928'::uuid;

-- Query #29166 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['70a69d35-5ffb-ae96-e447-ee3480259928'::uuid]);

-- Query #29167 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '70a69d35-5ffb-ae96-e447-ee3480259928'::uuid;

-- Query #29168 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29169 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1432a2aa-b51d-e2fc-563a-f40af27e0549'::uuid;

-- Query #29170 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1432a2aa-b51d-e2fc-563a-f40af27e0549'::uuid]);

-- Query #29171 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1432a2aa-b51d-e2fc-563a-f40af27e0549'::uuid;

-- Query #29172 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1432a2aa-b51d-e2fc-563a-f40af27e0549'::uuid, 'Imdb', 'tt5349328')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29173 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1432a2aa-b51d-e2fc-563a-f40af27e0549'::uuid, 'Tmdb', 1437011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29174 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1432a2aa-b51d-e2fc-563a-f40af27e0549'::uuid, 'trakt', 2917127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1432a2aa-b51d-e2fc-563a-f40af27e0549'::uuid, 'TvMaze', 1418949)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1432a2aa-b51d-e2fc-563a-f40af27e0549'::uuid, 'Tvdb', 6586641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1432a2aa-b51d-e2fc-563a-f40af27e0549'::uuid, 'TmdbCollection', 1437011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29178 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1432a2aa-b51d-e2fc-563a-f40af27e0549'::uuid;

-- Query #29179 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1432a2aa-b51d-e2fc-563a-f40af27e0549'::uuid;

-- Query #29180 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1432a2aa-b51d-e2fc-563a-f40af27e0549'::uuid]);

-- Query #29181 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1432a2aa-b51d-e2fc-563a-f40af27e0549'::uuid;

-- Query #29182 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29183 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '63a37809-aef8-0e3b-484b-16ee1d5bf0a9'::uuid;

-- Query #29184 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['63a37809-aef8-0e3b-484b-16ee1d5bf0a9'::uuid]);

-- Query #29185 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '63a37809-aef8-0e3b-484b-16ee1d5bf0a9'::uuid;

-- Query #29186 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63a37809-aef8-0e3b-484b-16ee1d5bf0a9'::uuid, 'Imdb', 'tt5349282')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29187 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63a37809-aef8-0e3b-484b-16ee1d5bf0a9'::uuid, 'Tmdb', 1437006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29188 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63a37809-aef8-0e3b-484b-16ee1d5bf0a9'::uuid, 'trakt', 2917123)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63a37809-aef8-0e3b-484b-16ee1d5bf0a9'::uuid, 'TvMaze', 1418945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63a37809-aef8-0e3b-484b-16ee1d5bf0a9'::uuid, 'Tvdb', 6586581)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63a37809-aef8-0e3b-484b-16ee1d5bf0a9'::uuid, 'TmdbCollection', 1437006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29192 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '63a37809-aef8-0e3b-484b-16ee1d5bf0a9'::uuid;

-- Query #29193 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '63a37809-aef8-0e3b-484b-16ee1d5bf0a9'::uuid;

-- Query #29194 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['63a37809-aef8-0e3b-484b-16ee1d5bf0a9'::uuid]);

-- Query #29195 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '63a37809-aef8-0e3b-484b-16ee1d5bf0a9'::uuid;

-- Query #29196 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29197 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '537a27a4-9fdf-4675-c49c-de4937de6d4e'::uuid;

-- Query #29198 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['537a27a4-9fdf-4675-c49c-de4937de6d4e'::uuid]);

-- Query #29199 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '537a27a4-9fdf-4675-c49c-de4937de6d4e'::uuid;

-- Query #29200 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('537a27a4-9fdf-4675-c49c-de4937de6d4e'::uuid, 'Imdb', 'tt5349302')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29201 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('537a27a4-9fdf-4675-c49c-de4937de6d4e'::uuid, 'Tmdb', 1437008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29202 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('537a27a4-9fdf-4675-c49c-de4937de6d4e'::uuid, 'trakt', 2917125)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29203 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('537a27a4-9fdf-4675-c49c-de4937de6d4e'::uuid, 'TvMaze', 1418947)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29204 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('537a27a4-9fdf-4675-c49c-de4937de6d4e'::uuid, 'Tvdb', 6586638)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('537a27a4-9fdf-4675-c49c-de4937de6d4e'::uuid, 'TmdbCollection', 1437008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29206 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '537a27a4-9fdf-4675-c49c-de4937de6d4e'::uuid;

-- Query #29207 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '537a27a4-9fdf-4675-c49c-de4937de6d4e'::uuid;

-- Query #29208 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['537a27a4-9fdf-4675-c49c-de4937de6d4e'::uuid]);

-- Query #29209 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '537a27a4-9fdf-4675-c49c-de4937de6d4e'::uuid;

-- Query #29210 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29211 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc594e84-d66f-5974-4f62-69d28ad487ee'::uuid;

-- Query #29212 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fc594e84-d66f-5974-4f62-69d28ad487ee'::uuid]);

-- Query #29213 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fc594e84-d66f-5974-4f62-69d28ad487ee'::uuid;

-- Query #29214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc594e84-d66f-5974-4f62-69d28ad487ee'::uuid, 'Imdb', 'tt5349332')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc594e84-d66f-5974-4f62-69d28ad487ee'::uuid, 'Tmdb', 1437012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29216 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc594e84-d66f-5974-4f62-69d28ad487ee'::uuid, 'trakt', 2917128)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc594e84-d66f-5974-4f62-69d28ad487ee'::uuid, 'TvMaze', 1418950)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc594e84-d66f-5974-4f62-69d28ad487ee'::uuid, 'Tvdb', 6586644)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc594e84-d66f-5974-4f62-69d28ad487ee'::uuid, 'TmdbCollection', 1437012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29220 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc594e84-d66f-5974-4f62-69d28ad487ee'::uuid;

-- Query #29221 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fc594e84-d66f-5974-4f62-69d28ad487ee'::uuid;

-- Query #29222 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fc594e84-d66f-5974-4f62-69d28ad487ee'::uuid]);

-- Query #29223 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fc594e84-d66f-5974-4f62-69d28ad487ee'::uuid;

-- Query #29224 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a87161f6-46d2-3516-ce8a-5a4a71bca163'::uuid;

-- Query #29226 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a87161f6-46d2-3516-ce8a-5a4a71bca163'::uuid]);

-- Query #29227 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a87161f6-46d2-3516-ce8a-5a4a71bca163'::uuid;

-- Query #29228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a87161f6-46d2-3516-ce8a-5a4a71bca163'::uuid, 'Imdb', 'tt5349376')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a87161f6-46d2-3516-ce8a-5a4a71bca163'::uuid, 'Tmdb', 1437020)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29230 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a87161f6-46d2-3516-ce8a-5a4a71bca163'::uuid, 'trakt', 2917134)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29231 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a87161f6-46d2-3516-ce8a-5a4a71bca163'::uuid, 'TvMaze', 1418956)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a87161f6-46d2-3516-ce8a-5a4a71bca163'::uuid, 'Tvdb', 6586681)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a87161f6-46d2-3516-ce8a-5a4a71bca163'::uuid, 'TmdbCollection', 1437020)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29234 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a87161f6-46d2-3516-ce8a-5a4a71bca163'::uuid;

-- Query #29235 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a87161f6-46d2-3516-ce8a-5a4a71bca163'::uuid;

-- Query #29236 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a87161f6-46d2-3516-ce8a-5a4a71bca163'::uuid]);

-- Query #29237 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a87161f6-46d2-3516-ce8a-5a4a71bca163'::uuid;

-- Query #29238 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '00167a73-5b59-dbe2-ac42-510147c39956'::uuid;

-- Query #29240 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00167a73-5b59-dbe2-ac42-510147c39956'::uuid]);

-- Query #29241 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '00167a73-5b59-dbe2-ac42-510147c39956'::uuid;

-- Query #29242 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00167a73-5b59-dbe2-ac42-510147c39956'::uuid, 'Imdb', 'tt5349348')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29243 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00167a73-5b59-dbe2-ac42-510147c39956'::uuid, 'Tmdb', 1437016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29244 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00167a73-5b59-dbe2-ac42-510147c39956'::uuid, 'trakt', 2917131)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29245 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00167a73-5b59-dbe2-ac42-510147c39956'::uuid, 'TvMaze', 1418953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00167a73-5b59-dbe2-ac42-510147c39956'::uuid, 'Tvdb', 6586671)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00167a73-5b59-dbe2-ac42-510147c39956'::uuid, 'TmdbCollection', 1437016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29248 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '00167a73-5b59-dbe2-ac42-510147c39956'::uuid;

-- Query #29249 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '00167a73-5b59-dbe2-ac42-510147c39956'::uuid;

-- Query #29250 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['00167a73-5b59-dbe2-ac42-510147c39956'::uuid]);

-- Query #29251 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '00167a73-5b59-dbe2-ac42-510147c39956'::uuid;

-- Query #29252 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29253 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1cd4dcb-02a6-6c4c-ed5b-28da13ec8214'::uuid;

-- Query #29254 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e1cd4dcb-02a6-6c4c-ed5b-28da13ec8214'::uuid]);

-- Query #29255 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e1cd4dcb-02a6-6c4c-ed5b-28da13ec8214'::uuid;

-- Query #29256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1cd4dcb-02a6-6c4c-ed5b-28da13ec8214'::uuid, 'Imdb', 'tt5349360')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29257 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1cd4dcb-02a6-6c4c-ed5b-28da13ec8214'::uuid, 'Tmdb', 1437019)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29258 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1cd4dcb-02a6-6c4c-ed5b-28da13ec8214'::uuid, 'trakt', 2917133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29259 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1cd4dcb-02a6-6c4c-ed5b-28da13ec8214'::uuid, 'TvMaze', 1418955)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29260 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1cd4dcb-02a6-6c4c-ed5b-28da13ec8214'::uuid, 'Tvdb', 6586677)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1cd4dcb-02a6-6c4c-ed5b-28da13ec8214'::uuid, 'TmdbCollection', 1437019)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29262 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1cd4dcb-02a6-6c4c-ed5b-28da13ec8214'::uuid;

-- Query #29263 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e1cd4dcb-02a6-6c4c-ed5b-28da13ec8214'::uuid;

-- Query #29264 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e1cd4dcb-02a6-6c4c-ed5b-28da13ec8214'::uuid]);

-- Query #29265 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e1cd4dcb-02a6-6c4c-ed5b-28da13ec8214'::uuid;

-- Query #29266 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29267 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #29268 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c38ee61-e53f-1967-e5b4-ba4d5d4fcbf0'::uuid;

-- Query #29269 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6c38ee61-e53f-1967-e5b4-ba4d5d4fcbf0'::uuid]);

-- Query #29270 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6c38ee61-e53f-1967-e5b4-ba4d5d4fcbf0'::uuid;

-- Query #29271 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c38ee61-e53f-1967-e5b4-ba4d5d4fcbf0'::uuid, 'TmdbCollection', 1437015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29272 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c38ee61-e53f-1967-e5b4-ba4d5d4fcbf0'::uuid, 'Imdb', 'tt5349342')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29273 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c38ee61-e53f-1967-e5b4-ba4d5d4fcbf0'::uuid, 'Tmdb', 1437015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c38ee61-e53f-1967-e5b4-ba4d5d4fcbf0'::uuid, 'trakt', 2917130)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c38ee61-e53f-1967-e5b4-ba4d5d4fcbf0'::uuid, 'TvMaze', 1418952)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c38ee61-e53f-1967-e5b4-ba4d5d4fcbf0'::uuid, 'Tvdb', 6586667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29277 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c38ee61-e53f-1967-e5b4-ba4d5d4fcbf0'::uuid;

-- Query #29278 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6c38ee61-e53f-1967-e5b4-ba4d5d4fcbf0'::uuid;

-- Query #29279 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6c38ee61-e53f-1967-e5b4-ba4d5d4fcbf0'::uuid]);

-- Query #29280 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6c38ee61-e53f-1967-e5b4-ba4d5d4fcbf0'::uuid;

-- Query #29281 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '616b2df8-4715-d327-4ffd-1abd9b01fb24'::uuid;

-- Query #29283 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['616b2df8-4715-d327-4ffd-1abd9b01fb24'::uuid]);

-- Query #29284 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '616b2df8-4715-d327-4ffd-1abd9b01fb24'::uuid;

-- Query #29285 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('616b2df8-4715-d327-4ffd-1abd9b01fb24'::uuid, 'Imdb', 'tt5349300')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29286 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('616b2df8-4715-d327-4ffd-1abd9b01fb24'::uuid, 'Tmdb', 1437007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29287 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('616b2df8-4715-d327-4ffd-1abd9b01fb24'::uuid, 'trakt', 2917124)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('616b2df8-4715-d327-4ffd-1abd9b01fb24'::uuid, 'TvMaze', 1418946)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('616b2df8-4715-d327-4ffd-1abd9b01fb24'::uuid, 'Tvdb', 6586602)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('616b2df8-4715-d327-4ffd-1abd9b01fb24'::uuid, 'TmdbCollection', 1437007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29291 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '616b2df8-4715-d327-4ffd-1abd9b01fb24'::uuid;

-- Query #29292 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '616b2df8-4715-d327-4ffd-1abd9b01fb24'::uuid;

-- Query #29293 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['616b2df8-4715-d327-4ffd-1abd9b01fb24'::uuid]);

-- Query #29294 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '616b2df8-4715-d327-4ffd-1abd9b01fb24'::uuid;

-- Query #29295 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9980e7c6-d2ef-8b7c-fc9e-65eb2b381864'::uuid;

-- Query #29297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9980e7c6-d2ef-8b7c-fc9e-65eb2b381864'::uuid]);

-- Query #29298 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9980e7c6-d2ef-8b7c-fc9e-65eb2b381864'::uuid;

-- Query #29299 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9980e7c6-d2ef-8b7c-fc9e-65eb2b381864'::uuid, 'Imdb', 'tt5349278')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9980e7c6-d2ef-8b7c-fc9e-65eb2b381864'::uuid, 'Tmdb', 1403908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29301 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9980e7c6-d2ef-8b7c-fc9e-65eb2b381864'::uuid, 'trakt', 2513639)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9980e7c6-d2ef-8b7c-fc9e-65eb2b381864'::uuid, 'TvMaze', 1370989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9980e7c6-d2ef-8b7c-fc9e-65eb2b381864'::uuid, 'Tvdb', 6447438)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9980e7c6-d2ef-8b7c-fc9e-65eb2b381864'::uuid, 'TmdbCollection', 1403908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29305 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9980e7c6-d2ef-8b7c-fc9e-65eb2b381864'::uuid;

-- Query #29306 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9980e7c6-d2ef-8b7c-fc9e-65eb2b381864'::uuid;

-- Query #29307 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9980e7c6-d2ef-8b7c-fc9e-65eb2b381864'::uuid]);

-- Query #29308 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9980e7c6-d2ef-8b7c-fc9e-65eb2b381864'::uuid;

-- Query #29309 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29310 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '76194121-401c-139e-1abe-5f5d7520c534'::uuid;

-- Query #29311 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['76194121-401c-139e-1abe-5f5d7520c534'::uuid]);

-- Query #29312 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '76194121-401c-139e-1abe-5f5d7520c534'::uuid;

-- Query #29313 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76194121-401c-139e-1abe-5f5d7520c534'::uuid, 'TvMaze', 1669571)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76194121-401c-139e-1abe-5f5d7520c534'::uuid, 'Tvdb', 7211048)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29315 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76194121-401c-139e-1abe-5f5d7520c534'::uuid, 'TmdbCollection', 1816882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29316 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76194121-401c-139e-1abe-5f5d7520c534'::uuid, 'Imdb', 'tt9341016')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76194121-401c-139e-1abe-5f5d7520c534'::uuid, 'Tmdb', 1816882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29318 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('76194121-401c-139e-1abe-5f5d7520c534'::uuid, 'trakt', 3551322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29319 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '76194121-401c-139e-1abe-5f5d7520c534'::uuid;

-- Query #29320 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '76194121-401c-139e-1abe-5f5d7520c534'::uuid;

-- Query #29321 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['76194121-401c-139e-1abe-5f5d7520c534'::uuid]);

-- Query #29322 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '76194121-401c-139e-1abe-5f5d7520c534'::uuid;

-- Query #29323 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29324 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '51786b06-23a7-f1f6-7876-7cffb4258640'::uuid;

-- Query #29325 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['51786b06-23a7-f1f6-7876-7cffb4258640'::uuid]);

-- Query #29326 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '51786b06-23a7-f1f6-7876-7cffb4258640'::uuid;

-- Query #29327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51786b06-23a7-f1f6-7876-7cffb4258640'::uuid, 'TmdbCollection', 1816878)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29328 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51786b06-23a7-f1f6-7876-7cffb4258640'::uuid, 'Imdb', 'tt9341012')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29329 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51786b06-23a7-f1f6-7876-7cffb4258640'::uuid, 'Tmdb', 1816878)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29330 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51786b06-23a7-f1f6-7876-7cffb4258640'::uuid, 'trakt', 3551313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51786b06-23a7-f1f6-7876-7cffb4258640'::uuid, 'TvMaze', 1669567)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51786b06-23a7-f1f6-7876-7cffb4258640'::uuid, 'Tvdb', 7211041)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29333 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '51786b06-23a7-f1f6-7876-7cffb4258640'::uuid;

-- Query #29334 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '51786b06-23a7-f1f6-7876-7cffb4258640'::uuid;

-- Query #29335 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['51786b06-23a7-f1f6-7876-7cffb4258640'::uuid]);

-- Query #29336 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '51786b06-23a7-f1f6-7876-7cffb4258640'::uuid;

-- Query #29337 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29338 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '65fed4b7-f231-42a3-d7d5-8e2be586b73d'::uuid;

-- Query #29339 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65fed4b7-f231-42a3-d7d5-8e2be586b73d'::uuid]);

-- Query #29340 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '65fed4b7-f231-42a3-d7d5-8e2be586b73d'::uuid;

-- Query #29341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65fed4b7-f231-42a3-d7d5-8e2be586b73d'::uuid, 'Imdb', 'tt8960486')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65fed4b7-f231-42a3-d7d5-8e2be586b73d'::uuid, 'Tmdb', 1816874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65fed4b7-f231-42a3-d7d5-8e2be586b73d'::uuid, 'trakt', 3551304)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65fed4b7-f231-42a3-d7d5-8e2be586b73d'::uuid, 'TvMaze', 1669563)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65fed4b7-f231-42a3-d7d5-8e2be586b73d'::uuid, 'Tvdb', 7211035)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65fed4b7-f231-42a3-d7d5-8e2be586b73d'::uuid, 'TmdbCollection', 1816874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29347 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '65fed4b7-f231-42a3-d7d5-8e2be586b73d'::uuid;

-- Query #29348 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '65fed4b7-f231-42a3-d7d5-8e2be586b73d'::uuid;

-- Query #29349 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['65fed4b7-f231-42a3-d7d5-8e2be586b73d'::uuid]);

-- Query #29350 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '65fed4b7-f231-42a3-d7d5-8e2be586b73d'::uuid;

-- Query #29351 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29352 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82ef5185-edfd-961b-4453-e41036b00f52'::uuid;

-- Query #29353 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ef5185-edfd-961b-4453-e41036b00f52'::uuid]);

-- Query #29354 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82ef5185-edfd-961b-4453-e41036b00f52'::uuid;

-- Query #29355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ef5185-edfd-961b-4453-e41036b00f52'::uuid, 'Imdb', 'tt9341018')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ef5185-edfd-961b-4453-e41036b00f52'::uuid, 'Tmdb', 1816883)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ef5185-edfd-961b-4453-e41036b00f52'::uuid, 'trakt', 3551324)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ef5185-edfd-961b-4453-e41036b00f52'::uuid, 'TvMaze', 1669572)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ef5185-edfd-961b-4453-e41036b00f52'::uuid, 'Tvdb', 7211050)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29360 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ef5185-edfd-961b-4453-e41036b00f52'::uuid, 'TmdbCollection', 1816883)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29361 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82ef5185-edfd-961b-4453-e41036b00f52'::uuid;

-- Query #29362 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82ef5185-edfd-961b-4453-e41036b00f52'::uuid;

-- Query #29363 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82ef5185-edfd-961b-4453-e41036b00f52'::uuid]);

-- Query #29364 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '82ef5185-edfd-961b-4453-e41036b00f52'::uuid;

-- Query #29365 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29366 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e814942-08a8-0aea-7a4c-1f94dd0f4a48'::uuid;

-- Query #29367 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5e814942-08a8-0aea-7a4c-1f94dd0f4a48'::uuid]);

-- Query #29368 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5e814942-08a8-0aea-7a4c-1f94dd0f4a48'::uuid;

-- Query #29369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e814942-08a8-0aea-7a4c-1f94dd0f4a48'::uuid, 'Imdb', 'tt9257820')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e814942-08a8-0aea-7a4c-1f94dd0f4a48'::uuid, 'Tmdb', 1816881)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e814942-08a8-0aea-7a4c-1f94dd0f4a48'::uuid, 'trakt', 3551320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e814942-08a8-0aea-7a4c-1f94dd0f4a48'::uuid, 'TvMaze', 1669570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e814942-08a8-0aea-7a4c-1f94dd0f4a48'::uuid, 'Tvdb', 7211045)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e814942-08a8-0aea-7a4c-1f94dd0f4a48'::uuid, 'TmdbCollection', 1816881)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29375 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e814942-08a8-0aea-7a4c-1f94dd0f4a48'::uuid;

-- Query #29376 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5e814942-08a8-0aea-7a4c-1f94dd0f4a48'::uuid;

-- Query #29377 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5e814942-08a8-0aea-7a4c-1f94dd0f4a48'::uuid]);

-- Query #29378 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5e814942-08a8-0aea-7a4c-1f94dd0f4a48'::uuid;

-- Query #29379 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29380 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb82d18a-7ad9-fb42-f6ab-e84f458415c9'::uuid;

-- Query #29381 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb82d18a-7ad9-fb42-f6ab-e84f458415c9'::uuid]);

-- Query #29382 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fb82d18a-7ad9-fb42-f6ab-e84f458415c9'::uuid;

-- Query #29383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb82d18a-7ad9-fb42-f6ab-e84f458415c9'::uuid, 'trakt', 3551316)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb82d18a-7ad9-fb42-f6ab-e84f458415c9'::uuid, 'TvMaze', 1669568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb82d18a-7ad9-fb42-f6ab-e84f458415c9'::uuid, 'Tvdb', 7211042)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb82d18a-7ad9-fb42-f6ab-e84f458415c9'::uuid, 'TmdbCollection', 1816879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb82d18a-7ad9-fb42-f6ab-e84f458415c9'::uuid, 'Imdb', 'tt9341014')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb82d18a-7ad9-fb42-f6ab-e84f458415c9'::uuid, 'Tmdb', 1816879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29389 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb82d18a-7ad9-fb42-f6ab-e84f458415c9'::uuid;

-- Query #29390 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fb82d18a-7ad9-fb42-f6ab-e84f458415c9'::uuid;

-- Query #29391 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fb82d18a-7ad9-fb42-f6ab-e84f458415c9'::uuid]);

-- Query #29392 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fb82d18a-7ad9-fb42-f6ab-e84f458415c9'::uuid;

-- Query #29393 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29394 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3c7786e0-7e8d-3035-58c9-9cba3ce837f0'::uuid;

-- Query #29395 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3c7786e0-7e8d-3035-58c9-9cba3ce837f0'::uuid]);

-- Query #29396 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3c7786e0-7e8d-3035-58c9-9cba3ce837f0'::uuid;

-- Query #29397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c7786e0-7e8d-3035-58c9-9cba3ce837f0'::uuid, 'Imdb', 'tt8960480')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c7786e0-7e8d-3035-58c9-9cba3ce837f0'::uuid, 'Tmdb', 1816873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c7786e0-7e8d-3035-58c9-9cba3ce837f0'::uuid, 'trakt', 3551302)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c7786e0-7e8d-3035-58c9-9cba3ce837f0'::uuid, 'TvMaze', 1669562)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c7786e0-7e8d-3035-58c9-9cba3ce837f0'::uuid, 'Tvdb', 7211031)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c7786e0-7e8d-3035-58c9-9cba3ce837f0'::uuid, 'TmdbCollection', 1816873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29403 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3c7786e0-7e8d-3035-58c9-9cba3ce837f0'::uuid;

-- Query #29404 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3c7786e0-7e8d-3035-58c9-9cba3ce837f0'::uuid;

-- Query #29405 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3c7786e0-7e8d-3035-58c9-9cba3ce837f0'::uuid]);

-- Query #29406 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3c7786e0-7e8d-3035-58c9-9cba3ce837f0'::uuid;

-- Query #29407 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29408 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cce4fd6e-f6c3-71b4-581d-efd089e86a58'::uuid;

-- Query #29409 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cce4fd6e-f6c3-71b4-581d-efd089e86a58'::uuid]);

-- Query #29410 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cce4fd6e-f6c3-71b4-581d-efd089e86a58'::uuid;

-- Query #29411 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cce4fd6e-f6c3-71b4-581d-efd089e86a58'::uuid, 'TmdbCollection', 1816875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29412 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cce4fd6e-f6c3-71b4-581d-efd089e86a58'::uuid, 'Imdb', 'tt8978254')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cce4fd6e-f6c3-71b4-581d-efd089e86a58'::uuid, 'Tmdb', 1816875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cce4fd6e-f6c3-71b4-581d-efd089e86a58'::uuid, 'trakt', 3551306)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cce4fd6e-f6c3-71b4-581d-efd089e86a58'::uuid, 'TvMaze', 1669564)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cce4fd6e-f6c3-71b4-581d-efd089e86a58'::uuid, 'Tvdb', 7211036)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29417 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cce4fd6e-f6c3-71b4-581d-efd089e86a58'::uuid;

-- Query #29418 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cce4fd6e-f6c3-71b4-581d-efd089e86a58'::uuid;

-- Query #29419 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cce4fd6e-f6c3-71b4-581d-efd089e86a58'::uuid]);

-- Query #29420 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cce4fd6e-f6c3-71b4-581d-efd089e86a58'::uuid;

-- Query #29421 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29422 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f393ebfb-6143-8825-1bf5-04a9d6df7a77'::uuid;

-- Query #29423 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f393ebfb-6143-8825-1bf5-04a9d6df7a77'::uuid]);

-- Query #29424 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f393ebfb-6143-8825-1bf5-04a9d6df7a77'::uuid;

-- Query #29425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f393ebfb-6143-8825-1bf5-04a9d6df7a77'::uuid, 'Imdb', 'tt9046968')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f393ebfb-6143-8825-1bf5-04a9d6df7a77'::uuid, 'Tmdb', 1816877)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f393ebfb-6143-8825-1bf5-04a9d6df7a77'::uuid, 'trakt', 3551311)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f393ebfb-6143-8825-1bf5-04a9d6df7a77'::uuid, 'TvMaze', 1669566)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f393ebfb-6143-8825-1bf5-04a9d6df7a77'::uuid, 'Tvdb', 7211039)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f393ebfb-6143-8825-1bf5-04a9d6df7a77'::uuid, 'TmdbCollection', 1816877)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29431 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f393ebfb-6143-8825-1bf5-04a9d6df7a77'::uuid;

-- Query #29432 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f393ebfb-6143-8825-1bf5-04a9d6df7a77'::uuid;

-- Query #29433 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f393ebfb-6143-8825-1bf5-04a9d6df7a77'::uuid]);

-- Query #29434 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f393ebfb-6143-8825-1bf5-04a9d6df7a77'::uuid;

-- Query #29435 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29436 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e603bde-d9ea-4218-babb-83c8552360a6'::uuid;

-- Query #29437 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5e603bde-d9ea-4218-babb-83c8552360a6'::uuid]);

-- Query #29438 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5e603bde-d9ea-4218-babb-83c8552360a6'::uuid;

-- Query #29439 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e603bde-d9ea-4218-babb-83c8552360a6'::uuid, 'Imdb', 'tt8272228')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29440 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e603bde-d9ea-4218-babb-83c8552360a6'::uuid, 'Tmdb', 1800194)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e603bde-d9ea-4218-babb-83c8552360a6'::uuid, 'trakt', 3550459)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e603bde-d9ea-4218-babb-83c8552360a6'::uuid, 'TvMaze', 1661807)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e603bde-d9ea-4218-babb-83c8552360a6'::uuid, 'Tvdb', 7210633)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e603bde-d9ea-4218-babb-83c8552360a6'::uuid, 'TmdbCollection', 1800194)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29445 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e603bde-d9ea-4218-babb-83c8552360a6'::uuid;

-- Query #29446 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5e603bde-d9ea-4218-babb-83c8552360a6'::uuid;

-- Query #29447 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5e603bde-d9ea-4218-babb-83c8552360a6'::uuid]);

-- Query #29448 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5e603bde-d9ea-4218-babb-83c8552360a6'::uuid;

-- Query #29449 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29450 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8232fd3b-7f2a-581e-be05-260f0324885d'::uuid;

-- Query #29451 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8232fd3b-7f2a-581e-be05-260f0324885d'::uuid]);

-- Query #29452 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8232fd3b-7f2a-581e-be05-260f0324885d'::uuid;

-- Query #29453 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8232fd3b-7f2a-581e-be05-260f0324885d'::uuid, 'Imdb', 'tt8682974')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29454 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8232fd3b-7f2a-581e-be05-260f0324885d'::uuid, 'Tmdb', 1816872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29455 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8232fd3b-7f2a-581e-be05-260f0324885d'::uuid, 'trakt', 3551300)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8232fd3b-7f2a-581e-be05-260f0324885d'::uuid, 'TvMaze', 1669561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8232fd3b-7f2a-581e-be05-260f0324885d'::uuid, 'Tvdb', 7211029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8232fd3b-7f2a-581e-be05-260f0324885d'::uuid, 'TmdbCollection', 1816872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29459 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8232fd3b-7f2a-581e-be05-260f0324885d'::uuid;

-- Query #29460 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8232fd3b-7f2a-581e-be05-260f0324885d'::uuid;

-- Query #29461 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8232fd3b-7f2a-581e-be05-260f0324885d'::uuid]);

-- Query #29462 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8232fd3b-7f2a-581e-be05-260f0324885d'::uuid;

-- Query #29463 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3748157c-3fc5-9869-f26c-c12f47e85335'::uuid, 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29464 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bcf9b5a7-6a48-fd74-46f0-97ae21313ff3'::uuid
ORDER BY b."SortName";

-- Query #29465 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid])
ORDER BY b."Id";

-- Query #29466 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid])
ORDER BY b."Id";

-- Query #29467 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid])
ORDER BY b."Id";

-- Query #29468 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid])
ORDER BY b."Id";

-- Query #29469 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid, '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid, '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid])
ORDER BY b."Id";

-- Query #29470 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '200aefd8-aecd-3dc5-277c-836e3695ae60'::uuid
ORDER BY b."SortName";

-- Query #29471 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '857520e6-b4ee-9813-4eea-fce41bafbe9e'::uuid
ORDER BY b."SortName";

-- Query #29472 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3748157c-3fc5-9869-f26c-c12f47e85335'::uuid
ORDER BY b."SortName";

-- Query #29473 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'bcf9b5a76a48fd7446f097ae21313ff3'
ORDER BY b."SortName", b."Name";

-- Query #29474 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '715b8a92-dea2-4820-8433-cebd002a7853'::uuid
ORDER BY b."SortName";

-- Query #29475 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid])
ORDER BY b."Id";

-- Query #29476 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid])
ORDER BY b."Id";

-- Query #29477 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid])
ORDER BY b."Id";

-- Query #29478 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid])
ORDER BY b."Id";

-- Query #29479 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid])
ORDER BY b."Id";

-- Query #29480 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid
ORDER BY b."SortName";

-- Query #29481 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid
ORDER BY b."SortName";

-- Query #29482 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #29483 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '715b8a92-dea2-4820-8433-cebd002a7853'::uuid;

-- Query #29484 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['715b8a92-dea2-4820-8433-cebd002a7853'::uuid]);

-- Query #29485 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '715b8a92-dea2-4820-8433-cebd002a7853'::uuid;

-- Query #29486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('715b8a92-dea2-4820-8433-cebd002a7853'::uuid, 'facebook', 'MarvelsLukeCage/')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('715b8a92-dea2-4820-8433-cebd002a7853'::uuid, 'Imdb', 'tt3322314')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('715b8a92-dea2-4820-8433-cebd002a7853'::uuid, 'official website', 'https://www.netflix.com/title/80002537')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('715b8a92-dea2-4820-8433-cebd002a7853'::uuid, 'Tmdb', 62126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('715b8a92-dea2-4820-8433-cebd002a7853'::uuid, 'TmdbCollection', 62126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('715b8a92-dea2-4820-8433-cebd002a7853'::uuid, 'Tvdb', 304219)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('715b8a92-dea2-4820-8433-cebd002a7853'::uuid, 'TvMaze', 2174)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('715b8a92-dea2-4820-8433-cebd002a7853'::uuid, 'TvRage', 38799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('715b8a92-dea2-4820-8433-cebd002a7853'::uuid, 'wikidata', 'Q20646602')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29495 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '715b8a92-dea2-4820-8433-cebd002a7853'::uuid;

-- Query #29496 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '715b8a92-dea2-4820-8433-cebd002a7853'::uuid;

-- Query #29497 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['715b8a92-dea2-4820-8433-cebd002a7853'::uuid]);

-- Query #29498 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '715b8a92-dea2-4820-8433-cebd002a7853'::uuid;

-- Query #29499 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29500 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '715b8a92dea248208433cebd002a7853'
ORDER BY b."SortName", b."Name";

-- Query #29501 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '715b8a92-dea2-4820-8433-cebd002a7853'::uuid
ORDER BY b."SortName";

-- Query #29502 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid])
ORDER BY b."Id";

-- Query #29503 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid])
ORDER BY b."Id";

-- Query #29504 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid])
ORDER BY b."Id";

-- Query #29505 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid])
ORDER BY b."Id";

-- Query #29506 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid])
ORDER BY b."Id";

-- Query #29507 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid
ORDER BY b."SortName";

-- Query #29508 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid
ORDER BY b."SortName";

-- Query #29509 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '715b8a92dea248208433cebd002a7853'
ORDER BY b."SortName", b."Name";

-- Query #29510 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid;

-- Query #29511 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid]);

-- Query #29512 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid;

-- Query #29513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'Tvdb', 304219)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'Tmdb', 62126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'Imdb', 'tt3322314')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'TvMaze', 2174)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'TvRage', 38799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'wikidata', 'Q20646602')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'TmdbCollection', 62126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29520 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid;

-- Query #29521 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid;

-- Query #29522 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid]);

-- Query #29523 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid;

-- Query #29524 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29525 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '715b8a92dea248208433cebd002a7853'
ORDER BY b."SortName", b."Name";

-- Query #29526 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid;

-- Query #29527 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid]);

-- Query #29528 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid;

-- Query #29529 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, 'Tvdb', 304219)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29530 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, 'Tmdb', 62126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, 'Imdb', 'tt3322314')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, 'TvMaze', 2174)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, 'TvRage', 38799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, 'wikidata', 'Q20646602')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, 'TmdbCollection', 62126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29536 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid;

-- Query #29537 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid;

-- Query #29538 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid]);

-- Query #29539 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid;

-- Query #29540 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29541 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a57e6e5f-45c5-f047-d247-31ca685e33c0'::uuid;

-- Query #29542 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a57e6e5f-45c5-f047-d247-31ca685e33c0'::uuid]);

-- Query #29543 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a57e6e5f-45c5-f047-d247-31ca685e33c0'::uuid;

-- Query #29544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a57e6e5f-45c5-f047-d247-31ca685e33c0'::uuid, 'Imdb', 'tt4179760')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a57e6e5f-45c5-f047-d247-31ca685e33c0'::uuid, 'Tmdb', 1221128)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a57e6e5f-45c5-f047-d247-31ca685e33c0'::uuid, 'trakt', 1832854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a57e6e5f-45c5-f047-d247-31ca685e33c0'::uuid, 'TvMaze', 651656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a57e6e5f-45c5-f047-d247-31ca685e33c0'::uuid, 'Tvdb', 5719793)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a57e6e5f-45c5-f047-d247-31ca685e33c0'::uuid, 'TmdbCollection', 1221128)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29550 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a57e6e5f-45c5-f047-d247-31ca685e33c0'::uuid;

-- Query #29551 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a57e6e5f-45c5-f047-d247-31ca685e33c0'::uuid;

-- Query #29552 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a57e6e5f-45c5-f047-d247-31ca685e33c0'::uuid]);

-- Query #29553 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a57e6e5f-45c5-f047-d247-31ca685e33c0'::uuid;

-- Query #29554 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29555 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d12e2ec-e265-a01c-88e8-f412bec45484'::uuid;

-- Query #29556 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d12e2ec-e265-a01c-88e8-f412bec45484'::uuid]);

-- Query #29557 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5d12e2ec-e265-a01c-88e8-f412bec45484'::uuid;

-- Query #29558 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d12e2ec-e265-a01c-88e8-f412bec45484'::uuid, 'Imdb', 'tt4179628')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29559 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d12e2ec-e265-a01c-88e8-f412bec45484'::uuid, 'Tmdb', 1221122)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d12e2ec-e265-a01c-88e8-f412bec45484'::uuid, 'trakt', 1832848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d12e2ec-e265-a01c-88e8-f412bec45484'::uuid, 'TvMaze', 651650)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d12e2ec-e265-a01c-88e8-f412bec45484'::uuid, 'Tvdb', 5719787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29563 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d12e2ec-e265-a01c-88e8-f412bec45484'::uuid, 'TmdbCollection', 1221122)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29564 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d12e2ec-e265-a01c-88e8-f412bec45484'::uuid;

-- Query #29565 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5d12e2ec-e265-a01c-88e8-f412bec45484'::uuid;

-- Query #29566 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5d12e2ec-e265-a01c-88e8-f412bec45484'::uuid]);

-- Query #29567 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5d12e2ec-e265-a01c-88e8-f412bec45484'::uuid;

-- Query #29568 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29569 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88de55fe-eb42-6c9e-b9a0-b81719743eaa'::uuid;

-- Query #29570 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88de55fe-eb42-6c9e-b9a0-b81719743eaa'::uuid]);

-- Query #29571 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '88de55fe-eb42-6c9e-b9a0-b81719743eaa'::uuid;

-- Query #29572 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88de55fe-eb42-6c9e-b9a0-b81719743eaa'::uuid, 'Imdb', 'tt4179772')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29573 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88de55fe-eb42-6c9e-b9a0-b81719743eaa'::uuid, 'Tmdb', 1221129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29574 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88de55fe-eb42-6c9e-b9a0-b81719743eaa'::uuid, 'trakt', 1832855)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88de55fe-eb42-6c9e-b9a0-b81719743eaa'::uuid, 'TvMaze', 651657)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88de55fe-eb42-6c9e-b9a0-b81719743eaa'::uuid, 'Tvdb', 5719794)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88de55fe-eb42-6c9e-b9a0-b81719743eaa'::uuid, 'TmdbCollection', 1221129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29578 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88de55fe-eb42-6c9e-b9a0-b81719743eaa'::uuid;

-- Query #29579 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '88de55fe-eb42-6c9e-b9a0-b81719743eaa'::uuid;

-- Query #29580 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['88de55fe-eb42-6c9e-b9a0-b81719743eaa'::uuid]);

-- Query #29581 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '88de55fe-eb42-6c9e-b9a0-b81719743eaa'::uuid;

-- Query #29582 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29583 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e17c4af-037f-4554-b812-0b5740c48487'::uuid;

-- Query #29584 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6e17c4af-037f-4554-b812-0b5740c48487'::uuid]);

-- Query #29585 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6e17c4af-037f-4554-b812-0b5740c48487'::uuid;

-- Query #29586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e17c4af-037f-4554-b812-0b5740c48487'::uuid, 'Imdb', 'tt4179742')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29587 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e17c4af-037f-4554-b812-0b5740c48487'::uuid, 'Tmdb', 1221127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e17c4af-037f-4554-b812-0b5740c48487'::uuid, 'trakt', 1832853)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e17c4af-037f-4554-b812-0b5740c48487'::uuid, 'TvMaze', 651655)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e17c4af-037f-4554-b812-0b5740c48487'::uuid, 'Tvdb', 5719792)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e17c4af-037f-4554-b812-0b5740c48487'::uuid, 'TmdbCollection', 1221127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e17c4af-037f-4554-b812-0b5740c48487'::uuid;

-- Query #29593 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6e17c4af-037f-4554-b812-0b5740c48487'::uuid;

-- Query #29594 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6e17c4af-037f-4554-b812-0b5740c48487'::uuid]);

-- Query #29595 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6e17c4af-037f-4554-b812-0b5740c48487'::uuid;

-- Query #29596 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29597 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5a8a6d1f-2b2c-b28f-7fc2-e8aea90401bb'::uuid;

-- Query #29598 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5a8a6d1f-2b2c-b28f-7fc2-e8aea90401bb'::uuid]);

-- Query #29599 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5a8a6d1f-2b2c-b28f-7fc2-e8aea90401bb'::uuid;

-- Query #29600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a8a6d1f-2b2c-b28f-7fc2-e8aea90401bb'::uuid, 'Imdb', 'tt4179626')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a8a6d1f-2b2c-b28f-7fc2-e8aea90401bb'::uuid, 'Tmdb', 1045315)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a8a6d1f-2b2c-b28f-7fc2-e8aea90401bb'::uuid, 'trakt', 1732616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29603 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a8a6d1f-2b2c-b28f-7fc2-e8aea90401bb'::uuid, 'TvMaze', 580677)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a8a6d1f-2b2c-b28f-7fc2-e8aea90401bb'::uuid, 'Tvdb', 5545823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29605 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5a8a6d1f-2b2c-b28f-7fc2-e8aea90401bb'::uuid, 'TmdbCollection', 1045315)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29606 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5a8a6d1f-2b2c-b28f-7fc2-e8aea90401bb'::uuid;

-- Query #29607 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5a8a6d1f-2b2c-b28f-7fc2-e8aea90401bb'::uuid;

-- Query #29608 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5a8a6d1f-2b2c-b28f-7fc2-e8aea90401bb'::uuid]);

-- Query #29609 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5a8a6d1f-2b2c-b28f-7fc2-e8aea90401bb'::uuid;

-- Query #29610 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29611 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4c6a4fac-da6c-8995-1f4c-4fb0e455e0f8'::uuid;

-- Query #29612 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4c6a4fac-da6c-8995-1f4c-4fb0e455e0f8'::uuid]);

-- Query #29613 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4c6a4fac-da6c-8995-1f4c-4fb0e455e0f8'::uuid;

-- Query #29614 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c6a4fac-da6c-8995-1f4c-4fb0e455e0f8'::uuid, 'Imdb', 'tt4179784')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c6a4fac-da6c-8995-1f4c-4fb0e455e0f8'::uuid, 'Tmdb', 1221131)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c6a4fac-da6c-8995-1f4c-4fb0e455e0f8'::uuid, 'trakt', 1832857)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c6a4fac-da6c-8995-1f4c-4fb0e455e0f8'::uuid, 'TvMaze', 664022)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c6a4fac-da6c-8995-1f4c-4fb0e455e0f8'::uuid, 'Tvdb', 5722713)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c6a4fac-da6c-8995-1f4c-4fb0e455e0f8'::uuid, 'TmdbCollection', 1221131)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29620 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4c6a4fac-da6c-8995-1f4c-4fb0e455e0f8'::uuid;

-- Query #29621 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4c6a4fac-da6c-8995-1f4c-4fb0e455e0f8'::uuid;

-- Query #29622 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4c6a4fac-da6c-8995-1f4c-4fb0e455e0f8'::uuid]);

-- Query #29623 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4c6a4fac-da6c-8995-1f4c-4fb0e455e0f8'::uuid;

-- Query #29624 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29625 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4675d3a0-6507-2e1e-8f6b-6b43cb524f77'::uuid;

-- Query #29626 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4675d3a0-6507-2e1e-8f6b-6b43cb524f77'::uuid]);

-- Query #29627 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4675d3a0-6507-2e1e-8f6b-6b43cb524f77'::uuid;

-- Query #29628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4675d3a0-6507-2e1e-8f6b-6b43cb524f77'::uuid, 'Imdb', 'tt4179798')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4675d3a0-6507-2e1e-8f6b-6b43cb524f77'::uuid, 'Tmdb', 1221132)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4675d3a0-6507-2e1e-8f6b-6b43cb524f77'::uuid, 'trakt', 1832858)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29631 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4675d3a0-6507-2e1e-8f6b-6b43cb524f77'::uuid, 'TvMaze', 664023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29632 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4675d3a0-6507-2e1e-8f6b-6b43cb524f77'::uuid, 'Tvdb', 5726831)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29633 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4675d3a0-6507-2e1e-8f6b-6b43cb524f77'::uuid, 'TmdbCollection', 1221132)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29634 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4675d3a0-6507-2e1e-8f6b-6b43cb524f77'::uuid;

-- Query #29635 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4675d3a0-6507-2e1e-8f6b-6b43cb524f77'::uuid;

-- Query #29636 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4675d3a0-6507-2e1e-8f6b-6b43cb524f77'::uuid]);

-- Query #29637 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4675d3a0-6507-2e1e-8f6b-6b43cb524f77'::uuid;

-- Query #29638 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29639 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6bfc8cb2-718a-62c4-e8bc-c20e8e1a4bac'::uuid;

-- Query #29640 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6bfc8cb2-718a-62c4-e8bc-c20e8e1a4bac'::uuid]);

-- Query #29641 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6bfc8cb2-718a-62c4-e8bc-c20e8e1a4bac'::uuid;

-- Query #29642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bfc8cb2-718a-62c4-e8bc-c20e8e1a4bac'::uuid, 'TmdbCollection', 1221126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bfc8cb2-718a-62c4-e8bc-c20e8e1a4bac'::uuid, 'Imdb', 'tt4179686')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bfc8cb2-718a-62c4-e8bc-c20e8e1a4bac'::uuid, 'Tmdb', 1221126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bfc8cb2-718a-62c4-e8bc-c20e8e1a4bac'::uuid, 'trakt', 1832852)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29646 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bfc8cb2-718a-62c4-e8bc-c20e8e1a4bac'::uuid, 'TvMaze', 651654)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bfc8cb2-718a-62c4-e8bc-c20e8e1a4bac'::uuid, 'Tvdb', 5719791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29648 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6bfc8cb2-718a-62c4-e8bc-c20e8e1a4bac'::uuid;

-- Query #29649 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6bfc8cb2-718a-62c4-e8bc-c20e8e1a4bac'::uuid;

-- Query #29650 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6bfc8cb2-718a-62c4-e8bc-c20e8e1a4bac'::uuid]);

-- Query #29651 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6bfc8cb2-718a-62c4-e8bc-c20e8e1a4bac'::uuid;

-- Query #29652 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29653 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ec63763-5b0a-88e4-da17-7642cf0fe7d0'::uuid;

-- Query #29654 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ec63763-5b0a-88e4-da17-7642cf0fe7d0'::uuid]);

-- Query #29655 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1ec63763-5b0a-88e4-da17-7642cf0fe7d0'::uuid;

-- Query #29656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ec63763-5b0a-88e4-da17-7642cf0fe7d0'::uuid, 'Imdb', 'tt4179776')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ec63763-5b0a-88e4-da17-7642cf0fe7d0'::uuid, 'Tmdb', 1221130)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ec63763-5b0a-88e4-da17-7642cf0fe7d0'::uuid, 'trakt', 1832856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ec63763-5b0a-88e4-da17-7642cf0fe7d0'::uuid, 'TvMaze', 651658)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ec63763-5b0a-88e4-da17-7642cf0fe7d0'::uuid, 'Tvdb', 5719795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29661 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ec63763-5b0a-88e4-da17-7642cf0fe7d0'::uuid, 'TmdbCollection', 1221130)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29662 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ec63763-5b0a-88e4-da17-7642cf0fe7d0'::uuid;

-- Query #29663 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1ec63763-5b0a-88e4-da17-7642cf0fe7d0'::uuid;

-- Query #29664 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1ec63763-5b0a-88e4-da17-7642cf0fe7d0'::uuid]);

-- Query #29665 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1ec63763-5b0a-88e4-da17-7642cf0fe7d0'::uuid;

-- Query #29666 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29667 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e33a05b3-6190-0b60-2cb4-ee5d24912886'::uuid;

-- Query #29668 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33a05b3-6190-0b60-2cb4-ee5d24912886'::uuid]);

-- Query #29669 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e33a05b3-6190-0b60-2cb4-ee5d24912886'::uuid;

-- Query #29670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e33a05b3-6190-0b60-2cb4-ee5d24912886'::uuid, 'Imdb', 'tt4179634')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e33a05b3-6190-0b60-2cb4-ee5d24912886'::uuid, 'Tmdb', 1221123)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e33a05b3-6190-0b60-2cb4-ee5d24912886'::uuid, 'trakt', 1832849)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e33a05b3-6190-0b60-2cb4-ee5d24912886'::uuid, 'TvMaze', 651651)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e33a05b3-6190-0b60-2cb4-ee5d24912886'::uuid, 'Tvdb', 5719788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e33a05b3-6190-0b60-2cb4-ee5d24912886'::uuid, 'TmdbCollection', 1221123)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29676 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e33a05b3-6190-0b60-2cb4-ee5d24912886'::uuid;

-- Query #29677 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e33a05b3-6190-0b60-2cb4-ee5d24912886'::uuid;

-- Query #29678 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e33a05b3-6190-0b60-2cb4-ee5d24912886'::uuid]);

-- Query #29679 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e33a05b3-6190-0b60-2cb4-ee5d24912886'::uuid;

-- Query #29680 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29681 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a3e8391c-68df-58b5-668f-65dfb6bec8cc'::uuid;

-- Query #29682 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a3e8391c-68df-58b5-668f-65dfb6bec8cc'::uuid]);

-- Query #29683 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a3e8391c-68df-58b5-668f-65dfb6bec8cc'::uuid;

-- Query #29684 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a3e8391c-68df-58b5-668f-65dfb6bec8cc'::uuid, 'Imdb', 'tt4179804')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29685 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a3e8391c-68df-58b5-668f-65dfb6bec8cc'::uuid, 'Tmdb', 1221133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a3e8391c-68df-58b5-668f-65dfb6bec8cc'::uuid, 'trakt', 1832859)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a3e8391c-68df-58b5-668f-65dfb6bec8cc'::uuid, 'TvMaze', 664024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a3e8391c-68df-58b5-668f-65dfb6bec8cc'::uuid, 'Tvdb', 5727840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a3e8391c-68df-58b5-668f-65dfb6bec8cc'::uuid, 'TmdbCollection', 1221133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29690 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a3e8391c-68df-58b5-668f-65dfb6bec8cc'::uuid;

-- Query #29691 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a3e8391c-68df-58b5-668f-65dfb6bec8cc'::uuid;

-- Query #29692 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a3e8391c-68df-58b5-668f-65dfb6bec8cc'::uuid]);

-- Query #29693 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a3e8391c-68df-58b5-668f-65dfb6bec8cc'::uuid;

-- Query #29694 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29695 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '72f19c50-c5ab-ca15-f951-50ffa2a99797'::uuid;

-- Query #29696 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72f19c50-c5ab-ca15-f951-50ffa2a99797'::uuid]);

-- Query #29697 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '72f19c50-c5ab-ca15-f951-50ffa2a99797'::uuid;

-- Query #29698 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72f19c50-c5ab-ca15-f951-50ffa2a99797'::uuid, 'Imdb', 'tt6741908')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29699 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72f19c50-c5ab-ca15-f951-50ffa2a99797'::uuid, 'Tmdb', 1455059)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72f19c50-c5ab-ca15-f951-50ffa2a99797'::uuid, 'trakt', 2978408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72f19c50-c5ab-ca15-f951-50ffa2a99797'::uuid, 'TvMaze', 1459808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72f19c50-c5ab-ca15-f951-50ffa2a99797'::uuid, 'Tvdb', 6668395)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72f19c50-c5ab-ca15-f951-50ffa2a99797'::uuid, 'TmdbCollection', 1455059)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29704 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '72f19c50-c5ab-ca15-f951-50ffa2a99797'::uuid;

-- Query #29705 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '72f19c50-c5ab-ca15-f951-50ffa2a99797'::uuid;

-- Query #29706 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['72f19c50-c5ab-ca15-f951-50ffa2a99797'::uuid]);

-- Query #29707 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '72f19c50-c5ab-ca15-f951-50ffa2a99797'::uuid;

-- Query #29708 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29709 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebbbfeea-43b8-c35b-5b72-fc2e2e3d8d2c'::uuid;

-- Query #29710 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ebbbfeea-43b8-c35b-5b72-fc2e2e3d8d2c'::uuid]);

-- Query #29711 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ebbbfeea-43b8-c35b-5b72-fc2e2e3d8d2c'::uuid;

-- Query #29712 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbbfeea-43b8-c35b-5b72-fc2e2e3d8d2c'::uuid, 'Imdb', 'tt6741910')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbbfeea-43b8-c35b-5b72-fc2e2e3d8d2c'::uuid, 'Tmdb', 1455060)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbbfeea-43b8-c35b-5b72-fc2e2e3d8d2c'::uuid, 'trakt', 2978409)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbbfeea-43b8-c35b-5b72-fc2e2e3d8d2c'::uuid, 'TvMaze', 1459809)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbbfeea-43b8-c35b-5b72-fc2e2e3d8d2c'::uuid, 'Tvdb', 6668396)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbbfeea-43b8-c35b-5b72-fc2e2e3d8d2c'::uuid, 'TmdbCollection', 1455060)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29718 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebbbfeea-43b8-c35b-5b72-fc2e2e3d8d2c'::uuid;

-- Query #29719 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ebbbfeea-43b8-c35b-5b72-fc2e2e3d8d2c'::uuid;

-- Query #29720 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ebbbfeea-43b8-c35b-5b72-fc2e2e3d8d2c'::uuid]);

-- Query #29721 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ebbbfeea-43b8-c35b-5b72-fc2e2e3d8d2c'::uuid;

-- Query #29722 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29723 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2d39977-38b4-008e-51d3-d2b2f121e49b'::uuid;

-- Query #29724 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2d39977-38b4-008e-51d3-d2b2f121e49b'::uuid]);

-- Query #29725 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e2d39977-38b4-008e-51d3-d2b2f121e49b'::uuid;

-- Query #29726 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2d39977-38b4-008e-51d3-d2b2f121e49b'::uuid, 'Imdb', 'tt6741922')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29727 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2d39977-38b4-008e-51d3-d2b2f121e49b'::uuid, 'Tmdb', 1455066)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2d39977-38b4-008e-51d3-d2b2f121e49b'::uuid, 'trakt', 2978415)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29729 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2d39977-38b4-008e-51d3-d2b2f121e49b'::uuid, 'TvMaze', 1459815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29730 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2d39977-38b4-008e-51d3-d2b2f121e49b'::uuid, 'Tvdb', 6668402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29731 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2d39977-38b4-008e-51d3-d2b2f121e49b'::uuid, 'TmdbCollection', 1455066)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29732 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2d39977-38b4-008e-51d3-d2b2f121e49b'::uuid;

-- Query #29733 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e2d39977-38b4-008e-51d3-d2b2f121e49b'::uuid;

-- Query #29734 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e2d39977-38b4-008e-51d3-d2b2f121e49b'::uuid]);

-- Query #29735 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e2d39977-38b4-008e-51d3-d2b2f121e49b'::uuid;

-- Query #29736 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29737 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ad5a56e-df41-dbf3-b20b-999bdbbb01c5'::uuid;

-- Query #29738 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ad5a56e-df41-dbf3-b20b-999bdbbb01c5'::uuid]);

-- Query #29739 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4ad5a56e-df41-dbf3-b20b-999bdbbb01c5'::uuid;

-- Query #29740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ad5a56e-df41-dbf3-b20b-999bdbbb01c5'::uuid, 'Imdb', 'tt6741920')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ad5a56e-df41-dbf3-b20b-999bdbbb01c5'::uuid, 'Tmdb', 1455065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29742 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ad5a56e-df41-dbf3-b20b-999bdbbb01c5'::uuid, 'trakt', 2978414)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29743 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ad5a56e-df41-dbf3-b20b-999bdbbb01c5'::uuid, 'TvMaze', 1459814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29744 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ad5a56e-df41-dbf3-b20b-999bdbbb01c5'::uuid, 'Tvdb', 6668401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ad5a56e-df41-dbf3-b20b-999bdbbb01c5'::uuid, 'TmdbCollection', 1455065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29746 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ad5a56e-df41-dbf3-b20b-999bdbbb01c5'::uuid;

-- Query #29747 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4ad5a56e-df41-dbf3-b20b-999bdbbb01c5'::uuid;

-- Query #29748 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4ad5a56e-df41-dbf3-b20b-999bdbbb01c5'::uuid]);

-- Query #29749 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4ad5a56e-df41-dbf3-b20b-999bdbbb01c5'::uuid;

-- Query #29750 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29751 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36addfb0-6ad7-a488-8a5d-a39f5059550d'::uuid;

-- Query #29752 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['36addfb0-6ad7-a488-8a5d-a39f5059550d'::uuid]);

-- Query #29753 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '36addfb0-6ad7-a488-8a5d-a39f5059550d'::uuid;

-- Query #29754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36addfb0-6ad7-a488-8a5d-a39f5059550d'::uuid, 'Imdb', 'tt6741914')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36addfb0-6ad7-a488-8a5d-a39f5059550d'::uuid, 'Tmdb', 1455062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36addfb0-6ad7-a488-8a5d-a39f5059550d'::uuid, 'trakt', 2978411)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29757 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36addfb0-6ad7-a488-8a5d-a39f5059550d'::uuid, 'TvMaze', 1459811)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29758 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36addfb0-6ad7-a488-8a5d-a39f5059550d'::uuid, 'Tvdb', 6668398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29759 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36addfb0-6ad7-a488-8a5d-a39f5059550d'::uuid, 'TmdbCollection', 1455062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29760 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36addfb0-6ad7-a488-8a5d-a39f5059550d'::uuid;

-- Query #29761 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '36addfb0-6ad7-a488-8a5d-a39f5059550d'::uuid;

-- Query #29762 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['36addfb0-6ad7-a488-8a5d-a39f5059550d'::uuid]);

-- Query #29763 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '36addfb0-6ad7-a488-8a5d-a39f5059550d'::uuid;

-- Query #29764 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29765 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '310ca97b-7932-efab-614a-2f55314e2e5e'::uuid;

-- Query #29766 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['310ca97b-7932-efab-614a-2f55314e2e5e'::uuid]);

-- Query #29767 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '310ca97b-7932-efab-614a-2f55314e2e5e'::uuid;

-- Query #29768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('310ca97b-7932-efab-614a-2f55314e2e5e'::uuid, 'TmdbCollection', 1455058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('310ca97b-7932-efab-614a-2f55314e2e5e'::uuid, 'Imdb', 'tt6741906')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('310ca97b-7932-efab-614a-2f55314e2e5e'::uuid, 'Tmdb', 1455058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29771 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('310ca97b-7932-efab-614a-2f55314e2e5e'::uuid, 'trakt', 2978407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29772 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('310ca97b-7932-efab-614a-2f55314e2e5e'::uuid, 'TvMaze', 1459807)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29773 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('310ca97b-7932-efab-614a-2f55314e2e5e'::uuid, 'Tvdb', 6668394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29774 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '310ca97b-7932-efab-614a-2f55314e2e5e'::uuid;

-- Query #29775 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '310ca97b-7932-efab-614a-2f55314e2e5e'::uuid;

-- Query #29776 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['310ca97b-7932-efab-614a-2f55314e2e5e'::uuid]);

-- Query #29777 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '310ca97b-7932-efab-614a-2f55314e2e5e'::uuid;

-- Query #29778 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29779 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e64f5ceb-3cf0-8516-1582-328e43408a84'::uuid;

-- Query #29780 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e64f5ceb-3cf0-8516-1582-328e43408a84'::uuid]);

-- Query #29781 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e64f5ceb-3cf0-8516-1582-328e43408a84'::uuid;

-- Query #29782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e64f5ceb-3cf0-8516-1582-328e43408a84'::uuid, 'TmdbCollection', 1455064)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e64f5ceb-3cf0-8516-1582-328e43408a84'::uuid, 'Imdb', 'tt6741918')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e64f5ceb-3cf0-8516-1582-328e43408a84'::uuid, 'Tmdb', 1455064)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e64f5ceb-3cf0-8516-1582-328e43408a84'::uuid, 'trakt', 2978413)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e64f5ceb-3cf0-8516-1582-328e43408a84'::uuid, 'TvMaze', 1459813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e64f5ceb-3cf0-8516-1582-328e43408a84'::uuid, 'Tvdb', 6668400)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29788 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e64f5ceb-3cf0-8516-1582-328e43408a84'::uuid;

-- Query #29789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e64f5ceb-3cf0-8516-1582-328e43408a84'::uuid;

-- Query #29790 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e64f5ceb-3cf0-8516-1582-328e43408a84'::uuid]);

-- Query #29791 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e64f5ceb-3cf0-8516-1582-328e43408a84'::uuid;

-- Query #29792 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29793 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c8753f7d-a2a2-1f2c-a5f9-e9eb5db662f6'::uuid;

-- Query #29794 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c8753f7d-a2a2-1f2c-a5f9-e9eb5db662f6'::uuid]);

-- Query #29795 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c8753f7d-a2a2-1f2c-a5f9-e9eb5db662f6'::uuid;

-- Query #29796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c8753f7d-a2a2-1f2c-a5f9-e9eb5db662f6'::uuid, 'Imdb', 'tt6741912')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c8753f7d-a2a2-1f2c-a5f9-e9eb5db662f6'::uuid, 'Tmdb', 1455061)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c8753f7d-a2a2-1f2c-a5f9-e9eb5db662f6'::uuid, 'trakt', 2978410)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29799 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c8753f7d-a2a2-1f2c-a5f9-e9eb5db662f6'::uuid, 'TvMaze', 1459810)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29800 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c8753f7d-a2a2-1f2c-a5f9-e9eb5db662f6'::uuid, 'Tvdb', 6668397)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c8753f7d-a2a2-1f2c-a5f9-e9eb5db662f6'::uuid, 'TmdbCollection', 1455061)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29802 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c8753f7d-a2a2-1f2c-a5f9-e9eb5db662f6'::uuid;

-- Query #29803 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c8753f7d-a2a2-1f2c-a5f9-e9eb5db662f6'::uuid;

-- Query #29804 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c8753f7d-a2a2-1f2c-a5f9-e9eb5db662f6'::uuid]);

-- Query #29805 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c8753f7d-a2a2-1f2c-a5f9-e9eb5db662f6'::uuid;

-- Query #29806 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29807 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #29808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9b625dcb-3e46-5fe5-2120-9db0eec6f610'::uuid;

-- Query #29809 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9b625dcb-3e46-5fe5-2120-9db0eec6f610'::uuid]);

-- Query #29810 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9b625dcb-3e46-5fe5-2120-9db0eec6f610'::uuid;

-- Query #29811 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b625dcb-3e46-5fe5-2120-9db0eec6f610'::uuid, 'Imdb', 'tt6312068')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29812 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b625dcb-3e46-5fe5-2120-9db0eec6f610'::uuid, 'Tmdb', 1455055)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29813 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b625dcb-3e46-5fe5-2120-9db0eec6f610'::uuid, 'trakt', 2680360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29814 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b625dcb-3e46-5fe5-2120-9db0eec6f610'::uuid, 'TvMaze', 1421660)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29815 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b625dcb-3e46-5fe5-2120-9db0eec6f610'::uuid, 'Tvdb', 6588369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29816 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9b625dcb-3e46-5fe5-2120-9db0eec6f610'::uuid, 'TmdbCollection', 1455055)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29817 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9b625dcb-3e46-5fe5-2120-9db0eec6f610'::uuid;

-- Query #29818 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9b625dcb-3e46-5fe5-2120-9db0eec6f610'::uuid;

-- Query #29819 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9b625dcb-3e46-5fe5-2120-9db0eec6f610'::uuid]);

-- Query #29820 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9b625dcb-3e46-5fe5-2120-9db0eec6f610'::uuid;

-- Query #29821 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29822 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13d8cc82-be1c-cef7-f5e8-c4b7646baf80'::uuid;

-- Query #29823 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13d8cc82-be1c-cef7-f5e8-c4b7646baf80'::uuid]);

-- Query #29824 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '13d8cc82-be1c-cef7-f5e8-c4b7646baf80'::uuid;

-- Query #29825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13d8cc82-be1c-cef7-f5e8-c4b7646baf80'::uuid, 'Imdb', 'tt6401054')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13d8cc82-be1c-cef7-f5e8-c4b7646baf80'::uuid, 'Tmdb', 1455056)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13d8cc82-be1c-cef7-f5e8-c4b7646baf80'::uuid, 'trakt', 2978405)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13d8cc82-be1c-cef7-f5e8-c4b7646baf80'::uuid, 'TvMaze', 1459805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29829 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13d8cc82-be1c-cef7-f5e8-c4b7646baf80'::uuid, 'Tvdb', 6668392)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13d8cc82-be1c-cef7-f5e8-c4b7646baf80'::uuid, 'TmdbCollection', 1455056)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29831 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13d8cc82-be1c-cef7-f5e8-c4b7646baf80'::uuid;

-- Query #29832 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '13d8cc82-be1c-cef7-f5e8-c4b7646baf80'::uuid;

-- Query #29833 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['13d8cc82-be1c-cef7-f5e8-c4b7646baf80'::uuid]);

-- Query #29834 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '13d8cc82-be1c-cef7-f5e8-c4b7646baf80'::uuid;

-- Query #29835 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fda5a8ee-0dbd-b7e2-ac94-9060c0dc40d8'::uuid;

-- Query #29837 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fda5a8ee-0dbd-b7e2-ac94-9060c0dc40d8'::uuid]);

-- Query #29838 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fda5a8ee-0dbd-b7e2-ac94-9060c0dc40d8'::uuid;

-- Query #29839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fda5a8ee-0dbd-b7e2-ac94-9060c0dc40d8'::uuid, 'Imdb', 'tt6741924')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fda5a8ee-0dbd-b7e2-ac94-9060c0dc40d8'::uuid, 'Tmdb', 1455067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29841 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fda5a8ee-0dbd-b7e2-ac94-9060c0dc40d8'::uuid, 'trakt', 2978416)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29842 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fda5a8ee-0dbd-b7e2-ac94-9060c0dc40d8'::uuid, 'TvMaze', 1459816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fda5a8ee-0dbd-b7e2-ac94-9060c0dc40d8'::uuid, 'Tvdb', 6668403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fda5a8ee-0dbd-b7e2-ac94-9060c0dc40d8'::uuid, 'TmdbCollection', 1455067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29845 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fda5a8ee-0dbd-b7e2-ac94-9060c0dc40d8'::uuid;

-- Query #29846 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fda5a8ee-0dbd-b7e2-ac94-9060c0dc40d8'::uuid;

-- Query #29847 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fda5a8ee-0dbd-b7e2-ac94-9060c0dc40d8'::uuid]);

-- Query #29848 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fda5a8ee-0dbd-b7e2-ac94-9060c0dc40d8'::uuid;

-- Query #29849 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29850 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3cff694a-a7d7-16e2-39ec-ca32391e4712'::uuid;

-- Query #29851 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3cff694a-a7d7-16e2-39ec-ca32391e4712'::uuid]);

-- Query #29852 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3cff694a-a7d7-16e2-39ec-ca32391e4712'::uuid;

-- Query #29853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cff694a-a7d7-16e2-39ec-ca32391e4712'::uuid, 'TmdbCollection', 1455057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cff694a-a7d7-16e2-39ec-ca32391e4712'::uuid, 'Imdb', 'tt6415098')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cff694a-a7d7-16e2-39ec-ca32391e4712'::uuid, 'Tmdb', 1455057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cff694a-a7d7-16e2-39ec-ca32391e4712'::uuid, 'trakt', 2978406)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cff694a-a7d7-16e2-39ec-ca32391e4712'::uuid, 'TvMaze', 1459806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cff694a-a7d7-16e2-39ec-ca32391e4712'::uuid, 'Tvdb', 6668393)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29859 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3cff694a-a7d7-16e2-39ec-ca32391e4712'::uuid;

-- Query #29860 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3cff694a-a7d7-16e2-39ec-ca32391e4712'::uuid;

-- Query #29861 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3cff694a-a7d7-16e2-39ec-ca32391e4712'::uuid]);

-- Query #29862 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3cff694a-a7d7-16e2-39ec-ca32391e4712'::uuid;

-- Query #29863 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid, '715b8a92-dea2-4820-8433-cebd002a7853'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29864 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '715b8a92-dea2-4820-8433-cebd002a7853'::uuid
ORDER BY b."SortName";

-- Query #29865 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid])
ORDER BY b."Id";

-- Query #29866 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid])
ORDER BY b."Id";

-- Query #29867 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid])
ORDER BY b."Id";

-- Query #29868 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid])
ORDER BY b."Id";

-- Query #29869 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid, 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid])
ORDER BY b."Id";

-- Query #29870 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1921778a-f09b-52aa-85ec-573b3d4018b7'::uuid
ORDER BY b."SortName";

-- Query #29871 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'afcc0c62-dc1a-76c0-08b4-e50684eb273b'::uuid
ORDER BY b."SortName";

-- Query #29872 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '715b8a92dea248208433cebd002a7853'
ORDER BY b."SortName", b."Name";

-- Query #29873 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid
ORDER BY b."SortName";

-- Query #29874 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid])
ORDER BY b."Id";

-- Query #29875 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid])
ORDER BY b."Id";

-- Query #29876 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid])
ORDER BY b."Id";

-- Query #29877 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid])
ORDER BY b."Id";

-- Query #29878 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid])
ORDER BY b."Id";

-- Query #29879 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4b293ad3-939b-7159-184f-edf65ba225a0'::uuid
ORDER BY b."SortName";

-- Query #29880 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid
ORDER BY b."SortName";

-- Query #29881 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid
ORDER BY b."SortName";

-- Query #29882 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid;

-- Query #29883 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid]);

-- Query #29884 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid;

-- Query #29885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, 'eidr', '10.5240/51DA-69B5-EDFE-D7E9-1BA3-0')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, 'facebook', 'MarvelsRunaways')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, 'Imdb', 'tt1236246')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, 'instagram', 'marvelsrunaways')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, 'official website', 'https://www.hulu.com/series/marvels-runaways-47b48273-0bac-444e-8b20-4d4a9153eeb7')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, 'reddit', 'runawaystv')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, 'Tmdb', 67466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, 'TmdbCollection', 67466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, 'Tvdb', 332027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, 'TvMaze', 20172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29895 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, 'wikidata', 'Q28746336')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, 'wikipedia', 'Runaways_(TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, 'x (twitter)', 'marvelsrunaways')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, 'Zap2It', 'SH02765635')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29899 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid;

-- Query #29900 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid;

-- Query #29901 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid]);

-- Query #29902 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid;

-- Query #29903 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29904 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '99170f7e7fb51d29d15f17fad8776af0'
ORDER BY b."SortName", b."Name";

-- Query #29905 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid
ORDER BY b."SortName";

-- Query #29906 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid])
ORDER BY b."Id";

-- Query #29907 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid])
ORDER BY b."Id";

-- Query #29908 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid])
ORDER BY b."Id";

-- Query #29909 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid])
ORDER BY b."Id";

-- Query #29910 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid])
ORDER BY b."Id";

-- Query #29911 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4b293ad3-939b-7159-184f-edf65ba225a0'::uuid
ORDER BY b."SortName";

-- Query #29912 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid
ORDER BY b."SortName";

-- Query #29913 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid
ORDER BY b."SortName";

-- Query #29914 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '99170f7e7fb51d29d15f17fad8776af0'
ORDER BY b."SortName", b."Name";

-- Query #29915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b293ad3-939b-7159-184f-edf65ba225a0'::uuid;

-- Query #29916 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid]);

-- Query #29917 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4b293ad3-939b-7159-184f-edf65ba225a0'::uuid;

-- Query #29918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, 'wikidata', 'Q28746336')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29919 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, 'TmdbCollection', 67466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, 'Tvdb', 332027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, 'Tmdb', 67466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, 'Imdb', 'tt1236246')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, 'TvMaze', 20172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, 'eidr', '10.5240/51DA-69B5-EDFE-D7E9-1BA3-0')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, 'Zap2It', 'SH02765635')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29926 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b293ad3-939b-7159-184f-edf65ba225a0'::uuid;

-- Query #29927 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4b293ad3-939b-7159-184f-edf65ba225a0'::uuid;

-- Query #29928 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+marvel cinematic universe (mcu)', '6+runaway', '6+super villain', '6+superhero']);

-- Query #29929 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid]);

-- Query #29930 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4b293ad3-939b-7159-184f-edf65ba225a0'::uuid;

-- Query #29931 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29932 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '99170f7e7fb51d29d15f17fad8776af0'
ORDER BY b."SortName", b."Name";

-- Query #29933 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid;

-- Query #29934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid]);

-- Query #29935 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid;

-- Query #29936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'TmdbCollection', 67466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'wikidata', 'Q28746336')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'Tvdb', 332027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'Tmdb', 67466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'Imdb', 'tt1236246')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29941 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'TvMaze', 20172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29942 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'eidr', '10.5240/51DA-69B5-EDFE-D7E9-1BA3-0')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29943 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'Zap2It', 'SH02765635')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29944 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid;

-- Query #29945 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid;

-- Query #29946 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+marvel cinematic universe (mcu)', '6+runaway', '6+super villain', '6+superhero']);

-- Query #29947 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid]);

-- Query #29948 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid;

-- Query #29949 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29950 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '99170f7e7fb51d29d15f17fad8776af0'
ORDER BY b."SortName", b."Name";

-- Query #29951 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid;

-- Query #29952 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid]);

-- Query #29953 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid;

-- Query #29954 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, 'Tvdb', 332027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29955 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, 'Tmdb', 67466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29956 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, 'Imdb', 'tt1236246')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, 'TvMaze', 20172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29958 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, 'eidr', '10.5240/51DA-69B5-EDFE-D7E9-1BA3-0')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29959 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, 'Zap2It', 'SH02765635')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29960 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, 'wikidata', 'Q28746336')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29961 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, 'TmdbCollection', 67466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29962 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid;

-- Query #29963 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid;

-- Query #29964 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on comic', '6+marvel cinematic universe (mcu)', '6+runaway', '6+super villain', '6+superhero']);

-- Query #29965 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid]);

-- Query #29966 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid;

-- Query #29967 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29968 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ea6afd1c-3a63-5fcf-494f-86e316a10059'::uuid;

-- Query #29969 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea6afd1c-3a63-5fcf-494f-86e316a10059'::uuid]);

-- Query #29970 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ea6afd1c-3a63-5fcf-494f-86e316a10059'::uuid;

-- Query #29971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea6afd1c-3a63-5fcf-494f-86e316a10059'::uuid, 'Imdb', 'tt6734192')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea6afd1c-3a63-5fcf-494f-86e316a10059'::uuid, 'Tmdb', 1390713)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29973 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea6afd1c-3a63-5fcf-494f-86e316a10059'::uuid, 'trakt', 2779952)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29974 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea6afd1c-3a63-5fcf-494f-86e316a10059'::uuid, 'TvMaze', 1344022)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea6afd1c-3a63-5fcf-494f-86e316a10059'::uuid, 'Tvdb', 6389742)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea6afd1c-3a63-5fcf-494f-86e316a10059'::uuid, 'TmdbCollection', 1390713)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29977 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ea6afd1c-3a63-5fcf-494f-86e316a10059'::uuid;

-- Query #29978 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ea6afd1c-3a63-5fcf-494f-86e316a10059'::uuid;

-- Query #29979 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ea6afd1c-3a63-5fcf-494f-86e316a10059'::uuid]);

-- Query #29980 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ea6afd1c-3a63-5fcf-494f-86e316a10059'::uuid;

-- Query #29981 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fde3ddff-5f1d-44bd-1019-4c74b05ce721'::uuid;

-- Query #29983 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fde3ddff-5f1d-44bd-1019-4c74b05ce721'::uuid]);

-- Query #29984 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fde3ddff-5f1d-44bd-1019-4c74b05ce721'::uuid;

-- Query #29985 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fde3ddff-5f1d-44bd-1019-4c74b05ce721'::uuid, 'TmdbCollection', 1404445)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29986 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fde3ddff-5f1d-44bd-1019-4c74b05ce721'::uuid, 'Imdb', 'tt6734210')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29987 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fde3ddff-5f1d-44bd-1019-4c74b05ce721'::uuid, 'Tmdb', 1404445)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29988 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fde3ddff-5f1d-44bd-1019-4c74b05ce721'::uuid, 'trakt', 2786403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29989 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fde3ddff-5f1d-44bd-1019-4c74b05ce721'::uuid, 'TvMaze', 1371824)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fde3ddff-5f1d-44bd-1019-4c74b05ce721'::uuid, 'Tvdb', 6450685)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #29991 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fde3ddff-5f1d-44bd-1019-4c74b05ce721'::uuid;

-- Query #29992 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fde3ddff-5f1d-44bd-1019-4c74b05ce721'::uuid;

-- Query #29993 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fde3ddff-5f1d-44bd-1019-4c74b05ce721'::uuid]);

-- Query #29994 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fde3ddff-5f1d-44bd-1019-4c74b05ce721'::uuid;

-- Query #29995 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #29996 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #29997 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3017ea8e-3ea4-381a-70cc-9a66a413fd0f'::uuid;

-- Query #29998 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3017ea8e-3ea4-381a-70cc-9a66a413fd0f'::uuid]);

-- Query #29999 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3017ea8e-3ea4-381a-70cc-9a66a413fd0f'::uuid;

-- Query #30000 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3017ea8e-3ea4-381a-70cc-9a66a413fd0f'::uuid, 'Imdb', 'tt6734196')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3017ea8e-3ea4-381a-70cc-9a66a413fd0f'::uuid, 'Tmdb', 1393196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3017ea8e-3ea4-381a-70cc-9a66a413fd0f'::uuid, 'trakt', 2784779)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3017ea8e-3ea4-381a-70cc-9a66a413fd0f'::uuid, 'TvMaze', 1355314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3017ea8e-3ea4-381a-70cc-9a66a413fd0f'::uuid, 'Tvdb', 6396035)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30005 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3017ea8e-3ea4-381a-70cc-9a66a413fd0f'::uuid, 'TmdbCollection', 1393196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30006 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3017ea8e-3ea4-381a-70cc-9a66a413fd0f'::uuid;

-- Query #30007 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3017ea8e-3ea4-381a-70cc-9a66a413fd0f'::uuid;

-- Query #30008 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3017ea8e-3ea4-381a-70cc-9a66a413fd0f'::uuid]);

-- Query #30009 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3017ea8e-3ea4-381a-70cc-9a66a413fd0f'::uuid;

-- Query #30010 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30011 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89e02ae1-b740-0d67-c2eb-2ebd3f66d1d5'::uuid;

-- Query #30012 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['89e02ae1-b740-0d67-c2eb-2ebd3f66d1d5'::uuid]);

-- Query #30013 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '89e02ae1-b740-0d67-c2eb-2ebd3f66d1d5'::uuid;

-- Query #30014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89e02ae1-b740-0d67-c2eb-2ebd3f66d1d5'::uuid, 'Imdb', 'tt6734208')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89e02ae1-b740-0d67-c2eb-2ebd3f66d1d5'::uuid, 'Tmdb', 1404446)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89e02ae1-b740-0d67-c2eb-2ebd3f66d1d5'::uuid, 'trakt', 2786404)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89e02ae1-b740-0d67-c2eb-2ebd3f66d1d5'::uuid, 'TvMaze', 1371825)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30018 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89e02ae1-b740-0d67-c2eb-2ebd3f66d1d5'::uuid, 'Tvdb', 6450686)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89e02ae1-b740-0d67-c2eb-2ebd3f66d1d5'::uuid, 'TmdbCollection', 1404446)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30020 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89e02ae1-b740-0d67-c2eb-2ebd3f66d1d5'::uuid;

-- Query #30021 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '89e02ae1-b740-0d67-c2eb-2ebd3f66d1d5'::uuid;

-- Query #30022 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['89e02ae1-b740-0d67-c2eb-2ebd3f66d1d5'::uuid]);

-- Query #30023 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '89e02ae1-b740-0d67-c2eb-2ebd3f66d1d5'::uuid;

-- Query #30024 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30025 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2fa5c44-5b20-9e11-1d92-3a678f784b88'::uuid;

-- Query #30026 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2fa5c44-5b20-9e11-1d92-3a678f784b88'::uuid]);

-- Query #30027 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd2fa5c44-5b20-9e11-1d92-3a678f784b88'::uuid;

-- Query #30028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2fa5c44-5b20-9e11-1d92-3a678f784b88'::uuid, 'Imdb', 'tt6734198')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2fa5c44-5b20-9e11-1d92-3a678f784b88'::uuid, 'Tmdb', 1399377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2fa5c44-5b20-9e11-1d92-3a678f784b88'::uuid, 'trakt', 2786395)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30031 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2fa5c44-5b20-9e11-1d92-3a678f784b88'::uuid, 'TvMaze', 1363305)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2fa5c44-5b20-9e11-1d92-3a678f784b88'::uuid, 'Tvdb', 6422883)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30033 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2fa5c44-5b20-9e11-1d92-3a678f784b88'::uuid, 'TmdbCollection', 1399377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30034 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2fa5c44-5b20-9e11-1d92-3a678f784b88'::uuid;

-- Query #30035 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd2fa5c44-5b20-9e11-1d92-3a678f784b88'::uuid;

-- Query #30036 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d2fa5c44-5b20-9e11-1d92-3a678f784b88'::uuid]);

-- Query #30037 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd2fa5c44-5b20-9e11-1d92-3a678f784b88'::uuid;

-- Query #30038 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30039 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd796c071-017a-8c81-1ddc-6589995e299f'::uuid;

-- Query #30040 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d796c071-017a-8c81-1ddc-6589995e299f'::uuid]);

-- Query #30041 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd796c071-017a-8c81-1ddc-6589995e299f'::uuid;

-- Query #30042 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d796c071-017a-8c81-1ddc-6589995e299f'::uuid, 'Imdb', 'tt6734200')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30043 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d796c071-017a-8c81-1ddc-6589995e299f'::uuid, 'Tmdb', 1399378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30044 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d796c071-017a-8c81-1ddc-6589995e299f'::uuid, 'trakt', 2786399)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d796c071-017a-8c81-1ddc-6589995e299f'::uuid, 'TvMaze', 1363710)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d796c071-017a-8c81-1ddc-6589995e299f'::uuid, 'Tvdb', 6422884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d796c071-017a-8c81-1ddc-6589995e299f'::uuid, 'TmdbCollection', 1399378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30048 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd796c071-017a-8c81-1ddc-6589995e299f'::uuid;

-- Query #30049 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd796c071-017a-8c81-1ddc-6589995e299f'::uuid;

-- Query #30050 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d796c071-017a-8c81-1ddc-6589995e299f'::uuid]);

-- Query #30051 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd796c071-017a-8c81-1ddc-6589995e299f'::uuid;

-- Query #30052 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30053 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '15694a79-9233-5f30-e907-bd05e7c910b1'::uuid;

-- Query #30054 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['15694a79-9233-5f30-e907-bd05e7c910b1'::uuid]);

-- Query #30055 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '15694a79-9233-5f30-e907-bd05e7c910b1'::uuid;

-- Query #30056 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15694a79-9233-5f30-e907-bd05e7c910b1'::uuid, 'Imdb', 'tt6734202')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30057 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15694a79-9233-5f30-e907-bd05e7c910b1'::uuid, 'Tmdb', 1399379)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15694a79-9233-5f30-e907-bd05e7c910b1'::uuid, 'trakt', 2786401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15694a79-9233-5f30-e907-bd05e7c910b1'::uuid, 'TvMaze', 1363711)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15694a79-9233-5f30-e907-bd05e7c910b1'::uuid, 'Tvdb', 6422885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15694a79-9233-5f30-e907-bd05e7c910b1'::uuid, 'TmdbCollection', 1399379)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30062 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '15694a79-9233-5f30-e907-bd05e7c910b1'::uuid;

-- Query #30063 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '15694a79-9233-5f30-e907-bd05e7c910b1'::uuid;

-- Query #30064 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['15694a79-9233-5f30-e907-bd05e7c910b1'::uuid]);

-- Query #30065 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '15694a79-9233-5f30-e907-bd05e7c910b1'::uuid;

-- Query #30066 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30067 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5196723c-a9ac-adc3-eacd-0008ff71fe58'::uuid;

-- Query #30068 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5196723c-a9ac-adc3-eacd-0008ff71fe58'::uuid]);

-- Query #30069 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5196723c-a9ac-adc3-eacd-0008ff71fe58'::uuid;

-- Query #30070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5196723c-a9ac-adc3-eacd-0008ff71fe58'::uuid, 'TmdbCollection', 1215640)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5196723c-a9ac-adc3-eacd-0008ff71fe58'::uuid, 'Imdb', 'tt6495768')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5196723c-a9ac-adc3-eacd-0008ff71fe58'::uuid, 'Tmdb', 1215640)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5196723c-a9ac-adc3-eacd-0008ff71fe58'::uuid, 'trakt', 2660379)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5196723c-a9ac-adc3-eacd-0008ff71fe58'::uuid, 'TvMaze', 914876)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5196723c-a9ac-adc3-eacd-0008ff71fe58'::uuid, 'Tvdb', 6206043)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30076 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5196723c-a9ac-adc3-eacd-0008ff71fe58'::uuid;

-- Query #30077 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5196723c-a9ac-adc3-eacd-0008ff71fe58'::uuid;

-- Query #30078 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5196723c-a9ac-adc3-eacd-0008ff71fe58'::uuid]);

-- Query #30079 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5196723c-a9ac-adc3-eacd-0008ff71fe58'::uuid;

-- Query #30080 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30081 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd9dca7fe-6055-fc29-974b-af022d9c9676'::uuid;

-- Query #30082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d9dca7fe-6055-fc29-974b-af022d9c9676'::uuid]);

-- Query #30083 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd9dca7fe-6055-fc29-974b-af022d9c9676'::uuid;

-- Query #30084 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9dca7fe-6055-fc29-974b-af022d9c9676'::uuid, 'Imdb', 'tt6502138')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30085 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9dca7fe-6055-fc29-974b-af022d9c9676'::uuid, 'Tmdb', 1378905)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30086 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9dca7fe-6055-fc29-974b-af022d9c9676'::uuid, 'trakt', 2660380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9dca7fe-6055-fc29-974b-af022d9c9676'::uuid, 'TvMaze', 1282610)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9dca7fe-6055-fc29-974b-af022d9c9676'::uuid, 'Tvdb', 6279543)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9dca7fe-6055-fc29-974b-af022d9c9676'::uuid, 'TmdbCollection', 1378905)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30090 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd9dca7fe-6055-fc29-974b-af022d9c9676'::uuid;

-- Query #30091 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd9dca7fe-6055-fc29-974b-af022d9c9676'::uuid;

-- Query #30092 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d9dca7fe-6055-fc29-974b-af022d9c9676'::uuid]);

-- Query #30093 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd9dca7fe-6055-fc29-974b-af022d9c9676'::uuid;

-- Query #30094 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30095 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'baf2c12f-5dc5-3bd7-6d57-c39c9ade5a2f'::uuid;

-- Query #30096 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['baf2c12f-5dc5-3bd7-6d57-c39c9ade5a2f'::uuid]);

-- Query #30097 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'baf2c12f-5dc5-3bd7-6d57-c39c9ade5a2f'::uuid;

-- Query #30098 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('baf2c12f-5dc5-3bd7-6d57-c39c9ade5a2f'::uuid, 'Imdb', 'tt6734204')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30099 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('baf2c12f-5dc5-3bd7-6d57-c39c9ade5a2f'::uuid, 'Tmdb', 1404444)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('baf2c12f-5dc5-3bd7-6d57-c39c9ade5a2f'::uuid, 'trakt', 2786402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('baf2c12f-5dc5-3bd7-6d57-c39c9ade5a2f'::uuid, 'TvMaze', 1371822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('baf2c12f-5dc5-3bd7-6d57-c39c9ade5a2f'::uuid, 'Tvdb', 6450684)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('baf2c12f-5dc5-3bd7-6d57-c39c9ade5a2f'::uuid, 'TmdbCollection', 1404444)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30104 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'baf2c12f-5dc5-3bd7-6d57-c39c9ade5a2f'::uuid;

-- Query #30105 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'baf2c12f-5dc5-3bd7-6d57-c39c9ade5a2f'::uuid;

-- Query #30106 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['baf2c12f-5dc5-3bd7-6d57-c39c9ade5a2f'::uuid]);

-- Query #30107 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'baf2c12f-5dc5-3bd7-6d57-c39c9ade5a2f'::uuid;

-- Query #30108 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30109 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '34885865-c673-f70c-73ed-0173b9fa5e22'::uuid;

-- Query #30110 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['34885865-c673-f70c-73ed-0173b9fa5e22'::uuid]);

-- Query #30111 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '34885865-c673-f70c-73ed-0173b9fa5e22'::uuid;

-- Query #30112 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34885865-c673-f70c-73ed-0173b9fa5e22'::uuid, 'TmdbCollection', 1639508)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34885865-c673-f70c-73ed-0173b9fa5e22'::uuid, 'TvMaze', 1514924)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30114 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34885865-c673-f70c-73ed-0173b9fa5e22'::uuid, 'Tvdb', 6790773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30115 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34885865-c673-f70c-73ed-0173b9fa5e22'::uuid, 'Imdb', 'tt8806704')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34885865-c673-f70c-73ed-0173b9fa5e22'::uuid, 'Tmdb', 1639508)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34885865-c673-f70c-73ed-0173b9fa5e22'::uuid, 'trakt', 3100552)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30118 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '34885865-c673-f70c-73ed-0173b9fa5e22'::uuid;

-- Query #30119 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '34885865-c673-f70c-73ed-0173b9fa5e22'::uuid;

-- Query #30120 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['34885865-c673-f70c-73ed-0173b9fa5e22'::uuid]);

-- Query #30121 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '34885865-c673-f70c-73ed-0173b9fa5e22'::uuid;

-- Query #30122 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30123 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dea8d218-aea9-14e8-f735-55748d816caf'::uuid;

-- Query #30124 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dea8d218-aea9-14e8-f735-55748d816caf'::uuid]);

-- Query #30125 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dea8d218-aea9-14e8-f735-55748d816caf'::uuid;

-- Query #30126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dea8d218-aea9-14e8-f735-55748d816caf'::uuid, 'TvMaze', 1514921)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30127 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dea8d218-aea9-14e8-f735-55748d816caf'::uuid, 'Tvdb', 6790768)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30128 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dea8d218-aea9-14e8-f735-55748d816caf'::uuid, 'TmdbCollection', 1639505)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30129 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dea8d218-aea9-14e8-f735-55748d816caf'::uuid, 'Imdb', 'tt8911704')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30130 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dea8d218-aea9-14e8-f735-55748d816caf'::uuid, 'Tmdb', 1639505)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dea8d218-aea9-14e8-f735-55748d816caf'::uuid, 'trakt', 3100547)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30132 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dea8d218-aea9-14e8-f735-55748d816caf'::uuid;

-- Query #30133 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dea8d218-aea9-14e8-f735-55748d816caf'::uuid;

-- Query #30134 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dea8d218-aea9-14e8-f735-55748d816caf'::uuid]);

-- Query #30135 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dea8d218-aea9-14e8-f735-55748d816caf'::uuid;

-- Query #30136 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30137 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c17062d-2f47-fe33-ddfd-748c246a8561'::uuid;

-- Query #30138 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c17062d-2f47-fe33-ddfd-748c246a8561'::uuid]);

-- Query #30139 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1c17062d-2f47-fe33-ddfd-748c246a8561'::uuid;

-- Query #30140 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c17062d-2f47-fe33-ddfd-748c246a8561'::uuid, 'Imdb', 'tt8806706')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30141 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c17062d-2f47-fe33-ddfd-748c246a8561'::uuid, 'Tmdb', 1639509)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30142 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c17062d-2f47-fe33-ddfd-748c246a8561'::uuid, 'trakt', 3100558)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30143 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c17062d-2f47-fe33-ddfd-748c246a8561'::uuid, 'TvMaze', 1514925)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30144 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c17062d-2f47-fe33-ddfd-748c246a8561'::uuid, 'Tvdb', 6790774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c17062d-2f47-fe33-ddfd-748c246a8561'::uuid, 'TmdbCollection', 1639509)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30146 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c17062d-2f47-fe33-ddfd-748c246a8561'::uuid;

-- Query #30147 | logged_duration_ms=2 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1c17062d-2f47-fe33-ddfd-748c246a8561'::uuid;

-- Query #30148 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1c17062d-2f47-fe33-ddfd-748c246a8561'::uuid]);

-- Query #30149 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1c17062d-2f47-fe33-ddfd-748c246a8561'::uuid;

-- Query #30150 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30151 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7e7cc0c3-c1b0-0e47-461c-f69547f5ac61'::uuid;

-- Query #30152 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e7cc0c3-c1b0-0e47-461c-f69547f5ac61'::uuid]);

-- Query #30153 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7e7cc0c3-c1b0-0e47-461c-f69547f5ac61'::uuid;

-- Query #30154 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e7cc0c3-c1b0-0e47-461c-f69547f5ac61'::uuid, 'Imdb', 'tt8856146')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30155 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e7cc0c3-c1b0-0e47-461c-f69547f5ac61'::uuid, 'Tmdb', 1639506)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30156 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e7cc0c3-c1b0-0e47-461c-f69547f5ac61'::uuid, 'trakt', 3100549)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30157 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e7cc0c3-c1b0-0e47-461c-f69547f5ac61'::uuid, 'TvMaze', 1514922)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e7cc0c3-c1b0-0e47-461c-f69547f5ac61'::uuid, 'Tvdb', 6790770)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30159 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7e7cc0c3-c1b0-0e47-461c-f69547f5ac61'::uuid, 'TmdbCollection', 1639506)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30160 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7e7cc0c3-c1b0-0e47-461c-f69547f5ac61'::uuid;

-- Query #30161 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7e7cc0c3-c1b0-0e47-461c-f69547f5ac61'::uuid;

-- Query #30162 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7e7cc0c3-c1b0-0e47-461c-f69547f5ac61'::uuid]);

-- Query #30163 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7e7cc0c3-c1b0-0e47-461c-f69547f5ac61'::uuid;

-- Query #30164 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30165 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c7dda19-835a-a390-3da9-cf08c8645781'::uuid;

-- Query #30166 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6c7dda19-835a-a390-3da9-cf08c8645781'::uuid]);

-- Query #30167 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6c7dda19-835a-a390-3da9-cf08c8645781'::uuid;

-- Query #30168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c7dda19-835a-a390-3da9-cf08c8645781'::uuid, 'Imdb', 'tt9091108')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30169 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c7dda19-835a-a390-3da9-cf08c8645781'::uuid, 'Tmdb', 1639510)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30170 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c7dda19-835a-a390-3da9-cf08c8645781'::uuid, 'trakt', 3116988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30171 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c7dda19-835a-a390-3da9-cf08c8645781'::uuid, 'TvMaze', 1514926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30172 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c7dda19-835a-a390-3da9-cf08c8645781'::uuid, 'Tvdb', 6790775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30173 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c7dda19-835a-a390-3da9-cf08c8645781'::uuid, 'TmdbCollection', 1639510)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30174 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c7dda19-835a-a390-3da9-cf08c8645781'::uuid;

-- Query #30175 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6c7dda19-835a-a390-3da9-cf08c8645781'::uuid;

-- Query #30176 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6c7dda19-835a-a390-3da9-cf08c8645781'::uuid]);

-- Query #30177 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6c7dda19-835a-a390-3da9-cf08c8645781'::uuid;

-- Query #30178 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30179 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'deadd690-4350-e282-0477-d8a474898127'::uuid;

-- Query #30180 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['deadd690-4350-e282-0477-d8a474898127'::uuid]);

-- Query #30181 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'deadd690-4350-e282-0477-d8a474898127'::uuid;

-- Query #30182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('deadd690-4350-e282-0477-d8a474898127'::uuid, 'Imdb', 'tt8911698')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30183 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('deadd690-4350-e282-0477-d8a474898127'::uuid, 'Tmdb', 1639503)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30184 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('deadd690-4350-e282-0477-d8a474898127'::uuid, 'trakt', 3100542)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30185 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('deadd690-4350-e282-0477-d8a474898127'::uuid, 'TvMaze', 1514919)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30186 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('deadd690-4350-e282-0477-d8a474898127'::uuid, 'Tvdb', 6790763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30187 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('deadd690-4350-e282-0477-d8a474898127'::uuid, 'TmdbCollection', 1639503)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30188 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'deadd690-4350-e282-0477-d8a474898127'::uuid;

-- Query #30189 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'deadd690-4350-e282-0477-d8a474898127'::uuid;

-- Query #30190 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['deadd690-4350-e282-0477-d8a474898127'::uuid]);

-- Query #30191 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'deadd690-4350-e282-0477-d8a474898127'::uuid;

-- Query #30192 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30193 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '83ac803b-31ff-56a9-90d8-5796b0213867'::uuid;

-- Query #30194 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['83ac803b-31ff-56a9-90d8-5796b0213867'::uuid]);

-- Query #30195 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '83ac803b-31ff-56a9-90d8-5796b0213867'::uuid;

-- Query #30196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83ac803b-31ff-56a9-90d8-5796b0213867'::uuid, 'Imdb', 'tt8856140')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83ac803b-31ff-56a9-90d8-5796b0213867'::uuid, 'Tmdb', 1639507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83ac803b-31ff-56a9-90d8-5796b0213867'::uuid, 'trakt', 3100551)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30199 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83ac803b-31ff-56a9-90d8-5796b0213867'::uuid, 'TvMaze', 1514923)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30200 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83ac803b-31ff-56a9-90d8-5796b0213867'::uuid, 'Tvdb', 6790771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30201 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83ac803b-31ff-56a9-90d8-5796b0213867'::uuid, 'TmdbCollection', 1639507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30202 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '83ac803b-31ff-56a9-90d8-5796b0213867'::uuid;

-- Query #30203 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '83ac803b-31ff-56a9-90d8-5796b0213867'::uuid;

-- Query #30204 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['83ac803b-31ff-56a9-90d8-5796b0213867'::uuid]);

-- Query #30205 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '83ac803b-31ff-56a9-90d8-5796b0213867'::uuid;

-- Query #30206 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30207 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3088b411-b894-b41b-4c5b-e0d5ac2a543e'::uuid;

-- Query #30208 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3088b411-b894-b41b-4c5b-e0d5ac2a543e'::uuid]);

-- Query #30209 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3088b411-b894-b41b-4c5b-e0d5ac2a543e'::uuid;

-- Query #30210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3088b411-b894-b41b-4c5b-e0d5ac2a543e'::uuid, 'TmdbCollection', 1639501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3088b411-b894-b41b-4c5b-e0d5ac2a543e'::uuid, 'Imdb', 'tt8911684')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3088b411-b894-b41b-4c5b-e0d5ac2a543e'::uuid, 'Tmdb', 1639501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3088b411-b894-b41b-4c5b-e0d5ac2a543e'::uuid, 'trakt', 3100537)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3088b411-b894-b41b-4c5b-e0d5ac2a543e'::uuid, 'TvMaze', 1514917)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3088b411-b894-b41b-4c5b-e0d5ac2a543e'::uuid, 'Tvdb', 6790759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30216 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3088b411-b894-b41b-4c5b-e0d5ac2a543e'::uuid;

-- Query #30217 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3088b411-b894-b41b-4c5b-e0d5ac2a543e'::uuid;

-- Query #30218 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3088b411-b894-b41b-4c5b-e0d5ac2a543e'::uuid]);

-- Query #30219 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3088b411-b894-b41b-4c5b-e0d5ac2a543e'::uuid;

-- Query #30220 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30221 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'be61c8f4-aa9c-6be0-ad05-369caef25780'::uuid;

-- Query #30222 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be61c8f4-aa9c-6be0-ad05-369caef25780'::uuid]);

-- Query #30223 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'be61c8f4-aa9c-6be0-ad05-369caef25780'::uuid;

-- Query #30224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be61c8f4-aa9c-6be0-ad05-369caef25780'::uuid, 'TmdbCollection', 1639504)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30225 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be61c8f4-aa9c-6be0-ad05-369caef25780'::uuid, 'Imdb', 'tt8911702')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30226 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be61c8f4-aa9c-6be0-ad05-369caef25780'::uuid, 'Tmdb', 1639504)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30227 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be61c8f4-aa9c-6be0-ad05-369caef25780'::uuid, 'trakt', 3100545)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be61c8f4-aa9c-6be0-ad05-369caef25780'::uuid, 'TvMaze', 1514920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be61c8f4-aa9c-6be0-ad05-369caef25780'::uuid, 'Tvdb', 6790766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30230 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'be61c8f4-aa9c-6be0-ad05-369caef25780'::uuid;

-- Query #30231 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'be61c8f4-aa9c-6be0-ad05-369caef25780'::uuid;

-- Query #30232 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['be61c8f4-aa9c-6be0-ad05-369caef25780'::uuid]);

-- Query #30233 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'be61c8f4-aa9c-6be0-ad05-369caef25780'::uuid;

-- Query #30234 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30235 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f0bc53c-6676-600a-e0ca-9d9adf525a80'::uuid;

-- Query #30236 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f0bc53c-6676-600a-e0ca-9d9adf525a80'::uuid]);

-- Query #30237 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9f0bc53c-6676-600a-e0ca-9d9adf525a80'::uuid;

-- Query #30238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f0bc53c-6676-600a-e0ca-9d9adf525a80'::uuid, 'TmdbCollection', 1648228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30239 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f0bc53c-6676-600a-e0ca-9d9adf525a80'::uuid, 'Imdb', 'tt9091122')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30240 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f0bc53c-6676-600a-e0ca-9d9adf525a80'::uuid, 'Tmdb', 1648228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30241 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f0bc53c-6676-600a-e0ca-9d9adf525a80'::uuid, 'trakt', 3116996)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30242 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f0bc53c-6676-600a-e0ca-9d9adf525a80'::uuid, 'TvMaze', 1514928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30243 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f0bc53c-6676-600a-e0ca-9d9adf525a80'::uuid, 'Tvdb', 6790779)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f0bc53c-6676-600a-e0ca-9d9adf525a80'::uuid;

-- Query #30245 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9f0bc53c-6676-600a-e0ca-9d9adf525a80'::uuid;

-- Query #30246 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9f0bc53c-6676-600a-e0ca-9d9adf525a80'::uuid]);

-- Query #30247 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9f0bc53c-6676-600a-e0ca-9d9adf525a80'::uuid;

-- Query #30248 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30249 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8a6429f-a4da-4ac5-4002-57988f202fe8'::uuid;

-- Query #30250 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8a6429f-a4da-4ac5-4002-57988f202fe8'::uuid]);

-- Query #30251 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b8a6429f-a4da-4ac5-4002-57988f202fe8'::uuid;

-- Query #30252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8a6429f-a4da-4ac5-4002-57988f202fe8'::uuid, 'TvMaze', 1728064)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8a6429f-a4da-4ac5-4002-57988f202fe8'::uuid, 'Tvdb', 7448544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8a6429f-a4da-4ac5-4002-57988f202fe8'::uuid, 'TmdbCollection', 1997095)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8a6429f-a4da-4ac5-4002-57988f202fe8'::uuid, 'Imdb', 'tt10087256')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8a6429f-a4da-4ac5-4002-57988f202fe8'::uuid, 'Tmdb', 1997095)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30257 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8a6429f-a4da-4ac5-4002-57988f202fe8'::uuid, 'trakt', 3811703)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8a6429f-a4da-4ac5-4002-57988f202fe8'::uuid;

-- Query #30259 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b8a6429f-a4da-4ac5-4002-57988f202fe8'::uuid;

-- Query #30260 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b8a6429f-a4da-4ac5-4002-57988f202fe8'::uuid]);

-- Query #30261 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b8a6429f-a4da-4ac5-4002-57988f202fe8'::uuid;

-- Query #30262 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30263 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ac2195d-2e04-2b2b-ebf4-8be544943b89'::uuid;

-- Query #30264 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ac2195d-2e04-2b2b-ebf4-8be544943b89'::uuid]);

-- Query #30265 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5ac2195d-2e04-2b2b-ebf4-8be544943b89'::uuid;

-- Query #30266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ac2195d-2e04-2b2b-ebf4-8be544943b89'::uuid, 'TvMaze', 1728065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30267 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ac2195d-2e04-2b2b-ebf4-8be544943b89'::uuid, 'Tvdb', 7448547)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ac2195d-2e04-2b2b-ebf4-8be544943b89'::uuid, 'TmdbCollection', 1997096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ac2195d-2e04-2b2b-ebf4-8be544943b89'::uuid, 'Imdb', 'tt10087258')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ac2195d-2e04-2b2b-ebf4-8be544943b89'::uuid, 'Tmdb', 1997096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30271 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ac2195d-2e04-2b2b-ebf4-8be544943b89'::uuid, 'trakt', 3811704)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ac2195d-2e04-2b2b-ebf4-8be544943b89'::uuid;

-- Query #30273 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5ac2195d-2e04-2b2b-ebf4-8be544943b89'::uuid;

-- Query #30274 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5ac2195d-2e04-2b2b-ebf4-8be544943b89'::uuid]);

-- Query #30275 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5ac2195d-2e04-2b2b-ebf4-8be544943b89'::uuid;

-- Query #30276 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30277 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5463124b-8c1f-4bf0-e0a9-303b8293a686'::uuid;

-- Query #30278 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5463124b-8c1f-4bf0-e0a9-303b8293a686'::uuid]);

-- Query #30279 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5463124b-8c1f-4bf0-e0a9-303b8293a686'::uuid;

-- Query #30280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5463124b-8c1f-4bf0-e0a9-303b8293a686'::uuid, 'TvMaze', 1728063)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5463124b-8c1f-4bf0-e0a9-303b8293a686'::uuid, 'Tvdb', 7448543)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30282 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5463124b-8c1f-4bf0-e0a9-303b8293a686'::uuid, 'TmdbCollection', 1997094)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30283 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5463124b-8c1f-4bf0-e0a9-303b8293a686'::uuid, 'Imdb', 'tt10087254')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30284 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5463124b-8c1f-4bf0-e0a9-303b8293a686'::uuid, 'Tmdb', 1997094)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30285 | logged_duration_ms=8 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5463124b-8c1f-4bf0-e0a9-303b8293a686'::uuid, 'trakt', 3811702)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30286 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5463124b-8c1f-4bf0-e0a9-303b8293a686'::uuid;

-- Query #30287 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5463124b-8c1f-4bf0-e0a9-303b8293a686'::uuid;

-- Query #30288 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5463124b-8c1f-4bf0-e0a9-303b8293a686'::uuid]);

-- Query #30289 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5463124b-8c1f-4bf0-e0a9-303b8293a686'::uuid;

-- Query #30290 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30291 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #30292 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd730eba-af66-74d8-ca8b-1f176df2fdc2'::uuid;

-- Query #30293 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd730eba-af66-74d8-ca8b-1f176df2fdc2'::uuid]);

-- Query #30294 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bd730eba-af66-74d8-ca8b-1f176df2fdc2'::uuid;

-- Query #30295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd730eba-af66-74d8-ca8b-1f176df2fdc2'::uuid, 'Imdb', 'tt10087248')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30296 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd730eba-af66-74d8-ca8b-1f176df2fdc2'::uuid, 'Tmdb', 1997091)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30297 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd730eba-af66-74d8-ca8b-1f176df2fdc2'::uuid, 'trakt', 3811699)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30298 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd730eba-af66-74d8-ca8b-1f176df2fdc2'::uuid, 'TvMaze', 1728059)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30299 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd730eba-af66-74d8-ca8b-1f176df2fdc2'::uuid, 'Tvdb', 7448534)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd730eba-af66-74d8-ca8b-1f176df2fdc2'::uuid, 'TmdbCollection', 1997091)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30301 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd730eba-af66-74d8-ca8b-1f176df2fdc2'::uuid;

-- Query #30302 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bd730eba-af66-74d8-ca8b-1f176df2fdc2'::uuid;

-- Query #30303 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bd730eba-af66-74d8-ca8b-1f176df2fdc2'::uuid]);

-- Query #30304 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bd730eba-af66-74d8-ca8b-1f176df2fdc2'::uuid;

-- Query #30305 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30306 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0342999-819a-094f-4a1a-74b747c9629f'::uuid;

-- Query #30307 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d0342999-819a-094f-4a1a-74b747c9629f'::uuid]);

-- Query #30308 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd0342999-819a-094f-4a1a-74b747c9629f'::uuid;

-- Query #30309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0342999-819a-094f-4a1a-74b747c9629f'::uuid, 'TmdbCollection', 1997088)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0342999-819a-094f-4a1a-74b747c9629f'::uuid, 'Imdb', 'tt10087242')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0342999-819a-094f-4a1a-74b747c9629f'::uuid, 'Tmdb', 1997088)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30312 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0342999-819a-094f-4a1a-74b747c9629f'::uuid, 'trakt', 3811696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30313 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0342999-819a-094f-4a1a-74b747c9629f'::uuid, 'TvMaze', 1728055)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0342999-819a-094f-4a1a-74b747c9629f'::uuid, 'Tvdb', 7448526)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30315 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0342999-819a-094f-4a1a-74b747c9629f'::uuid;

-- Query #30316 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd0342999-819a-094f-4a1a-74b747c9629f'::uuid;

-- Query #30317 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d0342999-819a-094f-4a1a-74b747c9629f'::uuid]);

-- Query #30318 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd0342999-819a-094f-4a1a-74b747c9629f'::uuid;

-- Query #30319 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30320 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da9cfd39-0e91-f904-9b8a-78a430d72f49'::uuid;

-- Query #30321 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da9cfd39-0e91-f904-9b8a-78a430d72f49'::uuid]);

-- Query #30322 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'da9cfd39-0e91-f904-9b8a-78a430d72f49'::uuid;

-- Query #30323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da9cfd39-0e91-f904-9b8a-78a430d72f49'::uuid, 'TmdbCollection', 1997093)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da9cfd39-0e91-f904-9b8a-78a430d72f49'::uuid, 'Imdb', 'tt10087252')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da9cfd39-0e91-f904-9b8a-78a430d72f49'::uuid, 'Tmdb', 1997093)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da9cfd39-0e91-f904-9b8a-78a430d72f49'::uuid, 'trakt', 3811701)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da9cfd39-0e91-f904-9b8a-78a430d72f49'::uuid, 'TvMaze', 1728062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30328 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da9cfd39-0e91-f904-9b8a-78a430d72f49'::uuid, 'Tvdb', 7448537)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30329 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da9cfd39-0e91-f904-9b8a-78a430d72f49'::uuid;

-- Query #30330 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'da9cfd39-0e91-f904-9b8a-78a430d72f49'::uuid;

-- Query #30331 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['da9cfd39-0e91-f904-9b8a-78a430d72f49'::uuid]);

-- Query #30332 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'da9cfd39-0e91-f904-9b8a-78a430d72f49'::uuid;

-- Query #30333 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30334 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99dd71fc-4690-d198-3daf-7c561a8296f4'::uuid;

-- Query #30335 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99dd71fc-4690-d198-3daf-7c561a8296f4'::uuid]);

-- Query #30336 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '99dd71fc-4690-d198-3daf-7c561a8296f4'::uuid;

-- Query #30337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99dd71fc-4690-d198-3daf-7c561a8296f4'::uuid, 'Imdb', 'tt10087250')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99dd71fc-4690-d198-3daf-7c561a8296f4'::uuid, 'Tmdb', 1997092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30339 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99dd71fc-4690-d198-3daf-7c561a8296f4'::uuid, 'trakt', 3811700)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99dd71fc-4690-d198-3daf-7c561a8296f4'::uuid, 'TvMaze', 1728061)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99dd71fc-4690-d198-3daf-7c561a8296f4'::uuid, 'Tvdb', 7448535)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99dd71fc-4690-d198-3daf-7c561a8296f4'::uuid, 'TmdbCollection', 1997092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30343 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99dd71fc-4690-d198-3daf-7c561a8296f4'::uuid;

-- Query #30344 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '99dd71fc-4690-d198-3daf-7c561a8296f4'::uuid;

-- Query #30345 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['99dd71fc-4690-d198-3daf-7c561a8296f4'::uuid]);

-- Query #30346 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '99dd71fc-4690-d198-3daf-7c561a8296f4'::uuid;

-- Query #30347 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30348 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e215084-20aa-85fc-8b96-e6263ac1374c'::uuid;

-- Query #30349 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e215084-20aa-85fc-8b96-e6263ac1374c'::uuid]);

-- Query #30350 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2e215084-20aa-85fc-8b96-e6263ac1374c'::uuid;

-- Query #30351 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e215084-20aa-85fc-8b96-e6263ac1374c'::uuid, 'Imdb', 'tt10087246')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e215084-20aa-85fc-8b96-e6263ac1374c'::uuid, 'Tmdb', 1997090)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e215084-20aa-85fc-8b96-e6263ac1374c'::uuid, 'trakt', 3811698)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e215084-20aa-85fc-8b96-e6263ac1374c'::uuid, 'TvMaze', 1728058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e215084-20aa-85fc-8b96-e6263ac1374c'::uuid, 'Tvdb', 7448533)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e215084-20aa-85fc-8b96-e6263ac1374c'::uuid, 'TmdbCollection', 1997090)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30357 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e215084-20aa-85fc-8b96-e6263ac1374c'::uuid;

-- Query #30358 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2e215084-20aa-85fc-8b96-e6263ac1374c'::uuid;

-- Query #30359 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2e215084-20aa-85fc-8b96-e6263ac1374c'::uuid]);

-- Query #30360 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2e215084-20aa-85fc-8b96-e6263ac1374c'::uuid;

-- Query #30361 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30362 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '05decf7e-45a4-47f6-1341-3f12da7b6a39'::uuid;

-- Query #30363 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05decf7e-45a4-47f6-1341-3f12da7b6a39'::uuid]);

-- Query #30364 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '05decf7e-45a4-47f6-1341-3f12da7b6a39'::uuid;

-- Query #30365 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05decf7e-45a4-47f6-1341-3f12da7b6a39'::uuid, 'Imdb', 'tt10074074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05decf7e-45a4-47f6-1341-3f12da7b6a39'::uuid, 'Tmdb', 1864519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05decf7e-45a4-47f6-1341-3f12da7b6a39'::uuid, 'trakt', 3642795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05decf7e-45a4-47f6-1341-3f12da7b6a39'::uuid, 'TvMaze', 1688613)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05decf7e-45a4-47f6-1341-3f12da7b6a39'::uuid, 'Tvdb', 7299766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('05decf7e-45a4-47f6-1341-3f12da7b6a39'::uuid, 'TmdbCollection', 1864519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '05decf7e-45a4-47f6-1341-3f12da7b6a39'::uuid;

-- Query #30372 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '05decf7e-45a4-47f6-1341-3f12da7b6a39'::uuid;

-- Query #30373 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['05decf7e-45a4-47f6-1341-3f12da7b6a39'::uuid]);

-- Query #30374 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '05decf7e-45a4-47f6-1341-3f12da7b6a39'::uuid;

-- Query #30375 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid, '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30376 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '99170f7e-7fb5-1d29-d15f-17fad8776af0'::uuid
ORDER BY b."SortName";

-- Query #30377 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid])
ORDER BY b."Id";

-- Query #30378 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid])
ORDER BY b."Id";

-- Query #30379 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid])
ORDER BY b."Id";

-- Query #30380 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid])
ORDER BY b."Id";

-- Query #30381 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['4b293ad3-939b-7159-184f-edf65ba225a0'::uuid, '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid, 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid])
ORDER BY b."Id";

-- Query #30382 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4b293ad3-939b-7159-184f-edf65ba225a0'::uuid
ORDER BY b."SortName";

-- Query #30383 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '072822ce-3a74-bd70-5534-d36ad04d6ed5'::uuid
ORDER BY b."SortName";

-- Query #30384 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd5f658ba-c235-cbac-9106-c09cd0483b9b'::uuid
ORDER BY b."SortName";

-- Query #30385 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '99170f7e7fb51d29d15f17fad8776af0'
ORDER BY b."SortName", b."Name";

-- Query #30386 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid
ORDER BY b."SortName";

-- Query #30387 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid])
ORDER BY b."Id";

-- Query #30388 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid])
ORDER BY b."Id";

-- Query #30389 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid])
ORDER BY b."Id";

-- Query #30390 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid])
ORDER BY b."Id";

-- Query #30391 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid])
ORDER BY b."Id";

-- Query #30392 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid
ORDER BY b."SortName";

-- Query #30393 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid;

-- Query #30394 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid]);

-- Query #30395 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid;

-- Query #30396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid, 'Imdb', 'tt4230076')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid, 'official website', 'https://www.netflix.com/title/80002566')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid, 'Tmdb', 62285)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid, 'TmdbCollection', 62285)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid, 'Tvdb', 326490)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid, 'TvMaze', 2176)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid, 'TvRage', 41117)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid, 'wikidata', 'Q22988401')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30404 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid;

-- Query #30405 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid;

-- Query #30406 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid]);

-- Query #30407 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid;

-- Query #30408 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30409 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'b8b69b8a620f21ed9c4b4ac18b699759'
ORDER BY b."SortName", b."Name";

-- Query #30410 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid
ORDER BY b."SortName";

-- Query #30411 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid])
ORDER BY b."Id";

-- Query #30412 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid])
ORDER BY b."Id";

-- Query #30413 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid])
ORDER BY b."Id";

-- Query #30414 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid])
ORDER BY b."Id";

-- Query #30415 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid])
ORDER BY b."Id";

-- Query #30416 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid
ORDER BY b."SortName";

-- Query #30417 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'b8b69b8a620f21ed9c4b4ac18b699759'
ORDER BY b."SortName", b."Name";

-- Query #30418 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid;

-- Query #30419 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid]);

-- Query #30420 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid;

-- Query #30421 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid, 'TmdbCollection', 62285)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30422 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid, 'Tvdb', 326490)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30423 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid, 'Tmdb', 62285)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid, 'Imdb', 'tt4230076')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid, 'TvMaze', 2176)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid, 'TvRage', 41117)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid, 'wikidata', 'Q22988401')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30428 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid;

-- Query #30429 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid;

-- Query #30430 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid]);

-- Query #30431 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid;

-- Query #30432 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30433 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9f90476-af01-6c31-9e42-f1fad28fb4f4'::uuid;

-- Query #30434 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9f90476-af01-6c31-9e42-f1fad28fb4f4'::uuid]);

-- Query #30435 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f9f90476-af01-6c31-9e42-f1fad28fb4f4'::uuid;

-- Query #30436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9f90476-af01-6c31-9e42-f1fad28fb4f4'::uuid, 'TmdbCollection', 1336817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30437 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9f90476-af01-6c31-9e42-f1fad28fb4f4'::uuid, 'Imdb', 'tt4270094')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30438 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9f90476-af01-6c31-9e42-f1fad28fb4f4'::uuid, 'Tmdb', 1336817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30439 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9f90476-af01-6c31-9e42-f1fad28fb4f4'::uuid, 'TvMaze', 1121991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30440 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9f90476-af01-6c31-9e42-f1fad28fb4f4'::uuid, 'Tvdb', 6038223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9f90476-af01-6c31-9e42-f1fad28fb4f4'::uuid, 'trakt', 2542090)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9f90476-af01-6c31-9e42-f1fad28fb4f4'::uuid, 'official website', 'https://www.netflix.com/title/80002566')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30443 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9f90476-af01-6c31-9e42-f1fad28fb4f4'::uuid;

-- Query #30444 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f9f90476-af01-6c31-9e42-f1fad28fb4f4'::uuid;

-- Query #30445 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f9f90476-af01-6c31-9e42-f1fad28fb4f4'::uuid]);

-- Query #30446 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f9f90476-af01-6c31-9e42-f1fad28fb4f4'::uuid;

-- Query #30447 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid, 'b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30448 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '842288bf-9c39-7822-7b7c-e3a4aea6a58c'::uuid;

-- Query #30449 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['842288bf-9c39-7822-7b7c-e3a4aea6a58c'::uuid]);

-- Query #30450 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '842288bf-9c39-7822-7b7c-e3a4aea6a58c'::uuid;

-- Query #30451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('842288bf-9c39-7822-7b7c-e3a4aea6a58c'::uuid, 'Imdb', 'tt4270102')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30452 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('842288bf-9c39-7822-7b7c-e3a4aea6a58c'::uuid, 'Tmdb', 1336819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30453 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('842288bf-9c39-7822-7b7c-e3a4aea6a58c'::uuid, 'TvMaze', 1121993)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30454 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('842288bf-9c39-7822-7b7c-e3a4aea6a58c'::uuid, 'Tvdb', 6038225)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30455 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('842288bf-9c39-7822-7b7c-e3a4aea6a58c'::uuid, 'trakt', 2542092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('842288bf-9c39-7822-7b7c-e3a4aea6a58c'::uuid, 'official website', 'https://www.netflix.com/title/80002566')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('842288bf-9c39-7822-7b7c-e3a4aea6a58c'::uuid, 'TmdbCollection', 1336819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30458 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '842288bf-9c39-7822-7b7c-e3a4aea6a58c'::uuid;

-- Query #30459 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '842288bf-9c39-7822-7b7c-e3a4aea6a58c'::uuid;

-- Query #30460 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['842288bf-9c39-7822-7b7c-e3a4aea6a58c'::uuid]);

-- Query #30461 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '842288bf-9c39-7822-7b7c-e3a4aea6a58c'::uuid;

-- Query #30462 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid, 'b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30463 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b1a4e4c-8978-d81d-c8be-a14785f41f30'::uuid;

-- Query #30464 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b1a4e4c-8978-d81d-c8be-a14785f41f30'::uuid]);

-- Query #30465 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1b1a4e4c-8978-d81d-c8be-a14785f41f30'::uuid;

-- Query #30466 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b1a4e4c-8978-d81d-c8be-a14785f41f30'::uuid, 'TmdbCollection', 1336818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b1a4e4c-8978-d81d-c8be-a14785f41f30'::uuid, 'Imdb', 'tt4270098')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30468 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b1a4e4c-8978-d81d-c8be-a14785f41f30'::uuid, 'Tmdb', 1336818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b1a4e4c-8978-d81d-c8be-a14785f41f30'::uuid, 'TvMaze', 1121992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b1a4e4c-8978-d81d-c8be-a14785f41f30'::uuid, 'Tvdb', 6038224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b1a4e4c-8978-d81d-c8be-a14785f41f30'::uuid, 'trakt', 2542091)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b1a4e4c-8978-d81d-c8be-a14785f41f30'::uuid, 'official website', 'https://www.netflix.com/title/80002566')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30473 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b1a4e4c-8978-d81d-c8be-a14785f41f30'::uuid;

-- Query #30474 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1b1a4e4c-8978-d81d-c8be-a14785f41f30'::uuid;

-- Query #30475 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1b1a4e4c-8978-d81d-c8be-a14785f41f30'::uuid]);

-- Query #30476 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1b1a4e4c-8978-d81d-c8be-a14785f41f30'::uuid;

-- Query #30477 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid, 'b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30478 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8d52f3c-0904-9a81-cc92-46a7ca00c9f0'::uuid;

-- Query #30479 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d8d52f3c-0904-9a81-cc92-46a7ca00c9f0'::uuid]);

-- Query #30480 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd8d52f3c-0904-9a81-cc92-46a7ca00c9f0'::uuid;

-- Query #30481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8d52f3c-0904-9a81-cc92-46a7ca00c9f0'::uuid, 'Imdb', 'tt4270062')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8d52f3c-0904-9a81-cc92-46a7ca00c9f0'::uuid, 'Tmdb', 1243265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8d52f3c-0904-9a81-cc92-46a7ca00c9f0'::uuid, 'TvMaze', 408715)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30484 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8d52f3c-0904-9a81-cc92-46a7ca00c9f0'::uuid, 'Tvdb', 6033368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8d52f3c-0904-9a81-cc92-46a7ca00c9f0'::uuid, 'trakt', 2542085)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8d52f3c-0904-9a81-cc92-46a7ca00c9f0'::uuid, 'official website', 'https://www.netflix.com/title/80002566')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d8d52f3c-0904-9a81-cc92-46a7ca00c9f0'::uuid, 'TmdbCollection', 1243265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30488 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd8d52f3c-0904-9a81-cc92-46a7ca00c9f0'::uuid;

-- Query #30489 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd8d52f3c-0904-9a81-cc92-46a7ca00c9f0'::uuid;

-- Query #30490 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d8d52f3c-0904-9a81-cc92-46a7ca00c9f0'::uuid]);

-- Query #30491 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd8d52f3c-0904-9a81-cc92-46a7ca00c9f0'::uuid;

-- Query #30492 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid, 'b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30493 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca0b5866-1259-fed0-1ec4-2debe0642839'::uuid;

-- Query #30494 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ca0b5866-1259-fed0-1ec4-2debe0642839'::uuid]);

-- Query #30495 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ca0b5866-1259-fed0-1ec4-2debe0642839'::uuid;

-- Query #30496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0b5866-1259-fed0-1ec4-2debe0642839'::uuid, 'official website', 'https://www.netflix.com/title/80002566')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0b5866-1259-fed0-1ec4-2debe0642839'::uuid, 'Imdb', 'tt4270066')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0b5866-1259-fed0-1ec4-2debe0642839'::uuid, 'Tmdb', 1278477)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0b5866-1259-fed0-1ec4-2debe0642839'::uuid, 'TvMaze', 408720)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0b5866-1259-fed0-1ec4-2debe0642839'::uuid, 'Tvdb', 6038219)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0b5866-1259-fed0-1ec4-2debe0642839'::uuid, 'trakt', 2542086)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca0b5866-1259-fed0-1ec4-2debe0642839'::uuid, 'TmdbCollection', 1278477)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30503 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca0b5866-1259-fed0-1ec4-2debe0642839'::uuid;

-- Query #30504 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ca0b5866-1259-fed0-1ec4-2debe0642839'::uuid;

-- Query #30505 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ca0b5866-1259-fed0-1ec4-2debe0642839'::uuid]);

-- Query #30506 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ca0b5866-1259-fed0-1ec4-2debe0642839'::uuid;

-- Query #30507 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid, 'b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30508 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ea5ee28e-358a-26ef-3e48-48eb9e6e46ce'::uuid;

-- Query #30509 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea5ee28e-358a-26ef-3e48-48eb9e6e46ce'::uuid]);

-- Query #30510 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ea5ee28e-358a-26ef-3e48-48eb9e6e46ce'::uuid;

-- Query #30511 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea5ee28e-358a-26ef-3e48-48eb9e6e46ce'::uuid, 'Imdb', 'tt4270086')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea5ee28e-358a-26ef-3e48-48eb9e6e46ce'::uuid, 'Tmdb', 1336816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea5ee28e-358a-26ef-3e48-48eb9e6e46ce'::uuid, 'trakt', 2542089)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea5ee28e-358a-26ef-3e48-48eb9e6e46ce'::uuid, 'TvMaze', 1121990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea5ee28e-358a-26ef-3e48-48eb9e6e46ce'::uuid, 'Tvdb', 6038222)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ea5ee28e-358a-26ef-3e48-48eb9e6e46ce'::uuid, 'TmdbCollection', 1336816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30517 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ea5ee28e-358a-26ef-3e48-48eb9e6e46ce'::uuid;

-- Query #30518 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ea5ee28e-358a-26ef-3e48-48eb9e6e46ce'::uuid;

-- Query #30519 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ea5ee28e-358a-26ef-3e48-48eb9e6e46ce'::uuid]);

-- Query #30520 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ea5ee28e-358a-26ef-3e48-48eb9e6e46ce'::uuid;

-- Query #30521 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid, 'b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30522 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b8b69b8a-620f-21ed-9c4b-4ac18b699759'::uuid
ORDER BY b."SortName";

-- Query #30523 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid])
ORDER BY b."Id";

-- Query #30524 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid])
ORDER BY b."Id";

-- Query #30525 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid])
ORDER BY b."Id";

-- Query #30526 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid])
ORDER BY b."Id";

-- Query #30527 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid])
ORDER BY b."Id";

-- Query #30528 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2f6a82ee-968b-40dc-5c17-5f494fc6332c'::uuid
ORDER BY b."SortName";

-- Query #30529 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'b8b69b8a620f21ed9c4b4ac18b699759'
ORDER BY b."SortName", b."Name";

-- Query #30530 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid
ORDER BY b."SortName";

-- Query #30531 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid])
ORDER BY b."Id";

-- Query #30532 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid])
ORDER BY b."Id";

-- Query #30533 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid])
ORDER BY b."Id";

-- Query #30534 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid])
ORDER BY b."Id";

-- Query #30535 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid])
ORDER BY b."Id";

-- Query #30536 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid
ORDER BY b."SortName";

-- Query #30537 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid
ORDER BY b."SortName";

-- Query #30538 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #30539 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid;

-- Query #30540 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid]);

-- Query #30541 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid;

-- Query #30542 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, 'Imdb', 'tt5675620')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30543 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, 'official website', 'https://www.netflix.com/title/80117498')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, 'Tmdb', 67178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, 'TmdbCollection', 67178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, 'Tvdb', 331980)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, 'TvMaze', 16544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, 'TvRage', 52104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, 'wikidata', 'Q27089570')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30550 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid;

-- Query #30551 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid;

-- Query #30552 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid]);

-- Query #30553 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid;

-- Query #30554 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30555 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'e61e64bb635213c8bee1866346f3ba7d'
ORDER BY b."SortName", b."Name";

-- Query #30556 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid
ORDER BY b."SortName";

-- Query #30557 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid])
ORDER BY b."Id";

-- Query #30558 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid])
ORDER BY b."Id";

-- Query #30559 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid])
ORDER BY b."Id";

-- Query #30560 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid])
ORDER BY b."Id";

-- Query #30561 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid])
ORDER BY b."Id";

-- Query #30562 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid
ORDER BY b."SortName";

-- Query #30563 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid
ORDER BY b."SortName";

-- Query #30564 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'e61e64bb635213c8bee1866346f3ba7d'
ORDER BY b."SortName", b."Name";

-- Query #30565 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid;

-- Query #30566 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid]);

-- Query #30567 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid;

-- Query #30568 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'TmdbCollection', 67178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30569 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'Tvdb', 331980)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'Tmdb', 67178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'Imdb', 'tt5675620')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30572 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'TvMaze', 16544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30573 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'TvRage', 52104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30574 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'wikidata', 'Q27089570')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30575 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid;

-- Query #30576 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid;

-- Query #30577 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid]);

-- Query #30578 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid;

-- Query #30579 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30580 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'e61e64bb635213c8bee1866346f3ba7d'
ORDER BY b."SortName", b."Name";

-- Query #30581 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid;

-- Query #30582 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid]);

-- Query #30583 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid;

-- Query #30584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'TmdbCollection', 67178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'Tvdb', 331980)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'Tmdb', 67178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30587 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'Imdb', 'tt5675620')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'TvMaze', 16544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'TvRage', 52104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'wikidata', 'Q27089570')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid;

-- Query #30592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid;

-- Query #30593 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid]);

-- Query #30594 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid;

-- Query #30595 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30596 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '825ec1ed-e153-59c9-60f1-9711fd02a7c8'::uuid;

-- Query #30597 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['825ec1ed-e153-59c9-60f1-9711fd02a7c8'::uuid]);

-- Query #30598 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '825ec1ed-e153-59c9-60f1-9711fd02a7c8'::uuid;

-- Query #30599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('825ec1ed-e153-59c9-60f1-9711fd02a7c8'::uuid, 'Imdb', 'tt5690490')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('825ec1ed-e153-59c9-60f1-9711fd02a7c8'::uuid, 'Tmdb', 1209036)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('825ec1ed-e153-59c9-60f1-9711fd02a7c8'::uuid, 'trakt', 2741705)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('825ec1ed-e153-59c9-60f1-9711fd02a7c8'::uuid, 'TvMaze', 1314520)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30603 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('825ec1ed-e153-59c9-60f1-9711fd02a7c8'::uuid, 'Tvdb', 6286021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('825ec1ed-e153-59c9-60f1-9711fd02a7c8'::uuid, 'TmdbCollection', 1209036)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30605 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '825ec1ed-e153-59c9-60f1-9711fd02a7c8'::uuid;

-- Query #30606 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '825ec1ed-e153-59c9-60f1-9711fd02a7c8'::uuid;

-- Query #30607 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['825ec1ed-e153-59c9-60f1-9711fd02a7c8'::uuid]);

-- Query #30608 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '825ec1ed-e153-59c9-60f1-9711fd02a7c8'::uuid;

-- Query #30609 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30610 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '93d629be-8eec-030f-b3ac-104df6bb4fa1'::uuid;

-- Query #30611 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['93d629be-8eec-030f-b3ac-104df6bb4fa1'::uuid]);

-- Query #30612 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '93d629be-8eec-030f-b3ac-104df6bb4fa1'::uuid;

-- Query #30613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93d629be-8eec-030f-b3ac-104df6bb4fa1'::uuid, 'Imdb', 'tt5690534')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30614 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93d629be-8eec-030f-b3ac-104df6bb4fa1'::uuid, 'Tmdb', 1209325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93d629be-8eec-030f-b3ac-104df6bb4fa1'::uuid, 'trakt', 2741712)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93d629be-8eec-030f-b3ac-104df6bb4fa1'::uuid, 'TvMaze', 1312371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93d629be-8eec-030f-b3ac-104df6bb4fa1'::uuid, 'Tvdb', 6286031)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93d629be-8eec-030f-b3ac-104df6bb4fa1'::uuid, 'TmdbCollection', 1209325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30619 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '93d629be-8eec-030f-b3ac-104df6bb4fa1'::uuid;

-- Query #30620 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '93d629be-8eec-030f-b3ac-104df6bb4fa1'::uuid;

-- Query #30621 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['93d629be-8eec-030f-b3ac-104df6bb4fa1'::uuid]);

-- Query #30622 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '93d629be-8eec-030f-b3ac-104df6bb4fa1'::uuid;

-- Query #30623 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30624 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '04ab170a-fbcd-173c-b87d-5037d05a2ffb'::uuid;

-- Query #30625 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['04ab170a-fbcd-173c-b87d-5037d05a2ffb'::uuid]);

-- Query #30626 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '04ab170a-fbcd-173c-b87d-5037d05a2ffb'::uuid;

-- Query #30627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04ab170a-fbcd-173c-b87d-5037d05a2ffb'::uuid, 'Imdb', 'tt5690548')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04ab170a-fbcd-173c-b87d-5037d05a2ffb'::uuid, 'Tmdb', 1209328)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04ab170a-fbcd-173c-b87d-5037d05a2ffb'::uuid, 'trakt', 2741715)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04ab170a-fbcd-173c-b87d-5037d05a2ffb'::uuid, 'TvMaze', 1312368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30631 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04ab170a-fbcd-173c-b87d-5037d05a2ffb'::uuid, 'Tvdb', 6286035)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30632 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04ab170a-fbcd-173c-b87d-5037d05a2ffb'::uuid, 'TmdbCollection', 1209328)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30633 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '04ab170a-fbcd-173c-b87d-5037d05a2ffb'::uuid;

-- Query #30634 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '04ab170a-fbcd-173c-b87d-5037d05a2ffb'::uuid;

-- Query #30635 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['04ab170a-fbcd-173c-b87d-5037d05a2ffb'::uuid]);

-- Query #30636 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '04ab170a-fbcd-173c-b87d-5037d05a2ffb'::uuid;

-- Query #30637 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30638 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc998f07-ff5c-625c-c222-fa5a36880029'::uuid;

-- Query #30639 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fc998f07-ff5c-625c-c222-fa5a36880029'::uuid]);

-- Query #30640 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fc998f07-ff5c-625c-c222-fa5a36880029'::uuid;

-- Query #30641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc998f07-ff5c-625c-c222-fa5a36880029'::uuid, 'TvMaze', 1312370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc998f07-ff5c-625c-c222-fa5a36880029'::uuid, 'Tvdb', 6286033)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc998f07-ff5c-625c-c222-fa5a36880029'::uuid, 'TmdbCollection', 1209326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc998f07-ff5c-625c-c222-fa5a36880029'::uuid, 'Imdb', 'tt5690538')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc998f07-ff5c-625c-c222-fa5a36880029'::uuid, 'Tmdb', 1209326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30646 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc998f07-ff5c-625c-c222-fa5a36880029'::uuid, 'trakt', 2741713)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30647 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc998f07-ff5c-625c-c222-fa5a36880029'::uuid;

-- Query #30648 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fc998f07-ff5c-625c-c222-fa5a36880029'::uuid;

-- Query #30649 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fc998f07-ff5c-625c-c222-fa5a36880029'::uuid]);

-- Query #30650 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fc998f07-ff5c-625c-c222-fa5a36880029'::uuid;

-- Query #30651 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30652 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f52c9d2-9ef0-e7c2-cd1d-8794295f62ad'::uuid;

-- Query #30653 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0f52c9d2-9ef0-e7c2-cd1d-8794295f62ad'::uuid]);

-- Query #30654 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0f52c9d2-9ef0-e7c2-cd1d-8794295f62ad'::uuid;

-- Query #30655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f52c9d2-9ef0-e7c2-cd1d-8794295f62ad'::uuid, 'Imdb', 'tt5690514')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f52c9d2-9ef0-e7c2-cd1d-8794295f62ad'::uuid, 'Tmdb', 1209322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f52c9d2-9ef0-e7c2-cd1d-8794295f62ad'::uuid, 'trakt', 2741709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f52c9d2-9ef0-e7c2-cd1d-8794295f62ad'::uuid, 'TvMaze', 1352184)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f52c9d2-9ef0-e7c2-cd1d-8794295f62ad'::uuid, 'Tvdb', 6286028)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f52c9d2-9ef0-e7c2-cd1d-8794295f62ad'::uuid, 'TmdbCollection', 1209322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30661 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f52c9d2-9ef0-e7c2-cd1d-8794295f62ad'::uuid;

-- Query #30662 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0f52c9d2-9ef0-e7c2-cd1d-8794295f62ad'::uuid;

-- Query #30663 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0f52c9d2-9ef0-e7c2-cd1d-8794295f62ad'::uuid]);

-- Query #30664 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0f52c9d2-9ef0-e7c2-cd1d-8794295f62ad'::uuid;

-- Query #30665 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30666 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c134ef81-70a7-f2fc-d5b1-eca4d8ccb37d'::uuid;

-- Query #30667 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c134ef81-70a7-f2fc-d5b1-eca4d8ccb37d'::uuid]);

-- Query #30668 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c134ef81-70a7-f2fc-d5b1-eca4d8ccb37d'::uuid;

-- Query #30669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c134ef81-70a7-f2fc-d5b1-eca4d8ccb37d'::uuid, 'Imdb', 'tt5690552')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c134ef81-70a7-f2fc-d5b1-eca4d8ccb37d'::uuid, 'Tmdb', 1209329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c134ef81-70a7-f2fc-d5b1-eca4d8ccb37d'::uuid, 'trakt', 2741716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c134ef81-70a7-f2fc-d5b1-eca4d8ccb37d'::uuid, 'TvMaze', 1312367)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c134ef81-70a7-f2fc-d5b1-eca4d8ccb37d'::uuid, 'Tvdb', 6286036)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c134ef81-70a7-f2fc-d5b1-eca4d8ccb37d'::uuid, 'TmdbCollection', 1209329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30675 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c134ef81-70a7-f2fc-d5b1-eca4d8ccb37d'::uuid;

-- Query #30676 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c134ef81-70a7-f2fc-d5b1-eca4d8ccb37d'::uuid;

-- Query #30677 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c134ef81-70a7-f2fc-d5b1-eca4d8ccb37d'::uuid]);

-- Query #30678 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c134ef81-70a7-f2fc-d5b1-eca4d8ccb37d'::uuid;

-- Query #30679 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30680 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29cfa995-e7a1-2f5b-8f5c-4c9eb80cba6a'::uuid;

-- Query #30681 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29cfa995-e7a1-2f5b-8f5c-4c9eb80cba6a'::uuid]);

-- Query #30682 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '29cfa995-e7a1-2f5b-8f5c-4c9eb80cba6a'::uuid;

-- Query #30683 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29cfa995-e7a1-2f5b-8f5c-4c9eb80cba6a'::uuid, 'Imdb', 'tt5690526')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30684 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29cfa995-e7a1-2f5b-8f5c-4c9eb80cba6a'::uuid, 'Tmdb', 1209323)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30685 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29cfa995-e7a1-2f5b-8f5c-4c9eb80cba6a'::uuid, 'trakt', 2741710)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29cfa995-e7a1-2f5b-8f5c-4c9eb80cba6a'::uuid, 'TvMaze', 1352185)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29cfa995-e7a1-2f5b-8f5c-4c9eb80cba6a'::uuid, 'Tvdb', 6286029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29cfa995-e7a1-2f5b-8f5c-4c9eb80cba6a'::uuid, 'TmdbCollection', 1209323)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30689 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29cfa995-e7a1-2f5b-8f5c-4c9eb80cba6a'::uuid;

-- Query #30690 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '29cfa995-e7a1-2f5b-8f5c-4c9eb80cba6a'::uuid;

-- Query #30691 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['29cfa995-e7a1-2f5b-8f5c-4c9eb80cba6a'::uuid]);

-- Query #30692 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '29cfa995-e7a1-2f5b-8f5c-4c9eb80cba6a'::uuid;

-- Query #30693 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30694 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e642f9f-aa94-79d9-5262-69564e747016'::uuid;

-- Query #30695 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4e642f9f-aa94-79d9-5262-69564e747016'::uuid]);

-- Query #30696 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4e642f9f-aa94-79d9-5262-69564e747016'::uuid;

-- Query #30697 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e642f9f-aa94-79d9-5262-69564e747016'::uuid, 'Imdb', 'tt5690500')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30698 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e642f9f-aa94-79d9-5262-69564e747016'::uuid, 'Tmdb', 1209320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30699 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e642f9f-aa94-79d9-5262-69564e747016'::uuid, 'trakt', 2741707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e642f9f-aa94-79d9-5262-69564e747016'::uuid, 'TvMaze', 1352182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e642f9f-aa94-79d9-5262-69564e747016'::uuid, 'Tvdb', 6286025)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e642f9f-aa94-79d9-5262-69564e747016'::uuid, 'TmdbCollection', 1209320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30703 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e642f9f-aa94-79d9-5262-69564e747016'::uuid;

-- Query #30704 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4e642f9f-aa94-79d9-5262-69564e747016'::uuid;

-- Query #30705 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4e642f9f-aa94-79d9-5262-69564e747016'::uuid]);

-- Query #30706 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4e642f9f-aa94-79d9-5262-69564e747016'::uuid;

-- Query #30707 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30708 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81f3cf9d-49c7-2ef3-c5b3-7294c1e8ccac'::uuid;

-- Query #30709 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['81f3cf9d-49c7-2ef3-c5b3-7294c1e8ccac'::uuid]);

-- Query #30710 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '81f3cf9d-49c7-2ef3-c5b3-7294c1e8ccac'::uuid;

-- Query #30711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81f3cf9d-49c7-2ef3-c5b3-7294c1e8ccac'::uuid, 'Imdb', 'tt5690560')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30712 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81f3cf9d-49c7-2ef3-c5b3-7294c1e8ccac'::uuid, 'Tmdb', 1209330)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81f3cf9d-49c7-2ef3-c5b3-7294c1e8ccac'::uuid, 'trakt', 2741717)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81f3cf9d-49c7-2ef3-c5b3-7294c1e8ccac'::uuid, 'TvMaze', 1312366)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81f3cf9d-49c7-2ef3-c5b3-7294c1e8ccac'::uuid, 'Tvdb', 6286037)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81f3cf9d-49c7-2ef3-c5b3-7294c1e8ccac'::uuid, 'TmdbCollection', 1209330)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30717 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81f3cf9d-49c7-2ef3-c5b3-7294c1e8ccac'::uuid;

-- Query #30718 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '81f3cf9d-49c7-2ef3-c5b3-7294c1e8ccac'::uuid;

-- Query #30719 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['81f3cf9d-49c7-2ef3-c5b3-7294c1e8ccac'::uuid]);

-- Query #30720 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '81f3cf9d-49c7-2ef3-c5b3-7294c1e8ccac'::uuid;

-- Query #30721 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30722 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2f523ba5-1b72-f11b-6577-7ad9c3b4a53e'::uuid;

-- Query #30723 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2f523ba5-1b72-f11b-6577-7ad9c3b4a53e'::uuid]);

-- Query #30724 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2f523ba5-1b72-f11b-6577-7ad9c3b4a53e'::uuid;

-- Query #30725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f523ba5-1b72-f11b-6577-7ad9c3b4a53e'::uuid, 'Imdb', 'tt5690506')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30726 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f523ba5-1b72-f11b-6577-7ad9c3b4a53e'::uuid, 'Tmdb', 1209321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30727 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f523ba5-1b72-f11b-6577-7ad9c3b4a53e'::uuid, 'trakt', 2741708)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f523ba5-1b72-f11b-6577-7ad9c3b4a53e'::uuid, 'TvMaze', 1352183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30729 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f523ba5-1b72-f11b-6577-7ad9c3b4a53e'::uuid, 'Tvdb', 6286027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30730 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2f523ba5-1b72-f11b-6577-7ad9c3b4a53e'::uuid, 'TmdbCollection', 1209321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30731 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2f523ba5-1b72-f11b-6577-7ad9c3b4a53e'::uuid;

-- Query #30732 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2f523ba5-1b72-f11b-6577-7ad9c3b4a53e'::uuid;

-- Query #30733 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2f523ba5-1b72-f11b-6577-7ad9c3b4a53e'::uuid]);

-- Query #30734 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2f523ba5-1b72-f11b-6577-7ad9c3b4a53e'::uuid;

-- Query #30735 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30736 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b20f6767-c091-0516-19b3-c36521a40b38'::uuid;

-- Query #30737 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b20f6767-c091-0516-19b3-c36521a40b38'::uuid]);

-- Query #30738 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b20f6767-c091-0516-19b3-c36521a40b38'::uuid;

-- Query #30739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b20f6767-c091-0516-19b3-c36521a40b38'::uuid, 'TmdbCollection', 1209319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b20f6767-c091-0516-19b3-c36521a40b38'::uuid, 'Imdb', 'tt5690496')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b20f6767-c091-0516-19b3-c36521a40b38'::uuid, 'Tmdb', 1209319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30742 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b20f6767-c091-0516-19b3-c36521a40b38'::uuid, 'trakt', 2741706)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30743 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b20f6767-c091-0516-19b3-c36521a40b38'::uuid, 'TvMaze', 1338986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30744 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b20f6767-c091-0516-19b3-c36521a40b38'::uuid, 'Tvdb', 6286023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30745 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b20f6767-c091-0516-19b3-c36521a40b38'::uuid;

-- Query #30746 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b20f6767-c091-0516-19b3-c36521a40b38'::uuid;

-- Query #30747 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b20f6767-c091-0516-19b3-c36521a40b38'::uuid]);

-- Query #30748 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b20f6767-c091-0516-19b3-c36521a40b38'::uuid;

-- Query #30749 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30750 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ac97d4c6-ab7c-f55e-a594-a6fb20690609'::uuid;

-- Query #30751 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac97d4c6-ab7c-f55e-a594-a6fb20690609'::uuid]);

-- Query #30752 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ac97d4c6-ab7c-f55e-a594-a6fb20690609'::uuid;

-- Query #30753 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac97d4c6-ab7c-f55e-a594-a6fb20690609'::uuid, 'Imdb', 'tt5690544')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac97d4c6-ab7c-f55e-a594-a6fb20690609'::uuid, 'Tmdb', 1209327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac97d4c6-ab7c-f55e-a594-a6fb20690609'::uuid, 'trakt', 2741714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac97d4c6-ab7c-f55e-a594-a6fb20690609'::uuid, 'TvMaze', 1312369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30757 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac97d4c6-ab7c-f55e-a594-a6fb20690609'::uuid, 'Tvdb', 6286034)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30758 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ac97d4c6-ab7c-f55e-a594-a6fb20690609'::uuid, 'TmdbCollection', 1209327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30759 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ac97d4c6-ab7c-f55e-a594-a6fb20690609'::uuid;

-- Query #30760 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ac97d4c6-ab7c-f55e-a594-a6fb20690609'::uuid;

-- Query #30761 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ac97d4c6-ab7c-f55e-a594-a6fb20690609'::uuid]);

-- Query #30762 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ac97d4c6-ab7c-f55e-a594-a6fb20690609'::uuid;

-- Query #30763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30764 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9527ca0c-3473-8455-1190-325e04f3e6df'::uuid;

-- Query #30765 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9527ca0c-3473-8455-1190-325e04f3e6df'::uuid]);

-- Query #30766 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9527ca0c-3473-8455-1190-325e04f3e6df'::uuid;

-- Query #30767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9527ca0c-3473-8455-1190-325e04f3e6df'::uuid, 'Imdb', 'tt8737922')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9527ca0c-3473-8455-1190-325e04f3e6df'::uuid, 'Tmdb', 1675737)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9527ca0c-3473-8455-1190-325e04f3e6df'::uuid, 'trakt', 3313164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9527ca0c-3473-8455-1190-325e04f3e6df'::uuid, 'TvMaze', 1593311)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30771 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9527ca0c-3473-8455-1190-325e04f3e6df'::uuid, 'Tvdb', 6997891)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30772 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9527ca0c-3473-8455-1190-325e04f3e6df'::uuid, 'TmdbCollection', 1675737)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30773 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9527ca0c-3473-8455-1190-325e04f3e6df'::uuid;

-- Query #30774 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9527ca0c-3473-8455-1190-325e04f3e6df'::uuid;

-- Query #30775 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9527ca0c-3473-8455-1190-325e04f3e6df'::uuid]);

-- Query #30776 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9527ca0c-3473-8455-1190-325e04f3e6df'::uuid;

-- Query #30777 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30778 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b6f32b82-cfba-5c03-5ae0-2b9d36de8c64'::uuid;

-- Query #30779 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b6f32b82-cfba-5c03-5ae0-2b9d36de8c64'::uuid]);

-- Query #30780 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b6f32b82-cfba-5c03-5ae0-2b9d36de8c64'::uuid;

-- Query #30781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6f32b82-cfba-5c03-5ae0-2b9d36de8c64'::uuid, 'Imdb', 'tt8737924')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6f32b82-cfba-5c03-5ae0-2b9d36de8c64'::uuid, 'Tmdb', 1675738)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30783 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #30784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6f32b82-cfba-5c03-5ae0-2b9d36de8c64'::uuid, 'trakt', 3313165)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6f32b82-cfba-5c03-5ae0-2b9d36de8c64'::uuid, 'TvMaze', 1593312)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6f32b82-cfba-5c03-5ae0-2b9d36de8c64'::uuid, 'Tvdb', 6997892)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6f32b82-cfba-5c03-5ae0-2b9d36de8c64'::uuid, 'TmdbCollection', 1675738)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30788 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b6f32b82-cfba-5c03-5ae0-2b9d36de8c64'::uuid;

-- Query #30789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b6f32b82-cfba-5c03-5ae0-2b9d36de8c64'::uuid;

-- Query #30790 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b6f32b82-cfba-5c03-5ae0-2b9d36de8c64'::uuid]);

-- Query #30791 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b6f32b82-cfba-5c03-5ae0-2b9d36de8c64'::uuid;

-- Query #30792 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30793 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ffccb0b-e061-62e6-cd48-19627ef4b310'::uuid;

-- Query #30794 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ffccb0b-e061-62e6-cd48-19627ef4b310'::uuid]);

-- Query #30795 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1ffccb0b-e061-62e6-cd48-19627ef4b310'::uuid;

-- Query #30796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ffccb0b-e061-62e6-cd48-19627ef4b310'::uuid, 'Imdb', 'tt8639358')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ffccb0b-e061-62e6-cd48-19627ef4b310'::uuid, 'Tmdb', 1675736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ffccb0b-e061-62e6-cd48-19627ef4b310'::uuid, 'trakt', 3313162)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30799 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ffccb0b-e061-62e6-cd48-19627ef4b310'::uuid, 'TvMaze', 1593310)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30800 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ffccb0b-e061-62e6-cd48-19627ef4b310'::uuid, 'Tvdb', 6997890)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ffccb0b-e061-62e6-cd48-19627ef4b310'::uuid, 'TmdbCollection', 1675736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30802 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ffccb0b-e061-62e6-cd48-19627ef4b310'::uuid;

-- Query #30803 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1ffccb0b-e061-62e6-cd48-19627ef4b310'::uuid;

-- Query #30804 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1ffccb0b-e061-62e6-cd48-19627ef4b310'::uuid]);

-- Query #30805 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1ffccb0b-e061-62e6-cd48-19627ef4b310'::uuid;

-- Query #30806 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30807 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31b724bf-3cf4-efca-e885-b9036935cadb'::uuid;

-- Query #30808 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['31b724bf-3cf4-efca-e885-b9036935cadb'::uuid]);

-- Query #30809 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '31b724bf-3cf4-efca-e885-b9036935cadb'::uuid;

-- Query #30810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31b724bf-3cf4-efca-e885-b9036935cadb'::uuid, 'Imdb', 'tt8050238')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30811 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31b724bf-3cf4-efca-e885-b9036935cadb'::uuid, 'Tmdb', 1675728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30812 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31b724bf-3cf4-efca-e885-b9036935cadb'::uuid, 'trakt', 3313151)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30813 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31b724bf-3cf4-efca-e885-b9036935cadb'::uuid, 'TvMaze', 1593302)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30814 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31b724bf-3cf4-efca-e885-b9036935cadb'::uuid, 'Tvdb', 6997882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30815 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31b724bf-3cf4-efca-e885-b9036935cadb'::uuid, 'TmdbCollection', 1675728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30816 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31b724bf-3cf4-efca-e885-b9036935cadb'::uuid;

-- Query #30817 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '31b724bf-3cf4-efca-e885-b9036935cadb'::uuid;

-- Query #30818 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['31b724bf-3cf4-efca-e885-b9036935cadb'::uuid]);

-- Query #30819 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '31b724bf-3cf4-efca-e885-b9036935cadb'::uuid;

-- Query #30820 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30821 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0382d2c-622b-cb72-3731-54a0249b456c'::uuid;

-- Query #30822 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0382d2c-622b-cb72-3731-54a0249b456c'::uuid]);

-- Query #30823 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c0382d2c-622b-cb72-3731-54a0249b456c'::uuid;

-- Query #30824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0382d2c-622b-cb72-3731-54a0249b456c'::uuid, 'Imdb', 'tt8390538')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0382d2c-622b-cb72-3731-54a0249b456c'::uuid, 'Tmdb', 1675735)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0382d2c-622b-cb72-3731-54a0249b456c'::uuid, 'trakt', 3313161)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0382d2c-622b-cb72-3731-54a0249b456c'::uuid, 'TvMaze', 1593309)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0382d2c-622b-cb72-3731-54a0249b456c'::uuid, 'Tvdb', 6997889)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30829 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0382d2c-622b-cb72-3731-54a0249b456c'::uuid, 'TmdbCollection', 1675735)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30830 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0382d2c-622b-cb72-3731-54a0249b456c'::uuid;

-- Query #30831 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c0382d2c-622b-cb72-3731-54a0249b456c'::uuid;

-- Query #30832 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c0382d2c-622b-cb72-3731-54a0249b456c'::uuid]);

-- Query #30833 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c0382d2c-622b-cb72-3731-54a0249b456c'::uuid;

-- Query #30834 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30835 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b957b473-7a00-da9b-0729-2790d6963d2a'::uuid;

-- Query #30836 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b957b473-7a00-da9b-0729-2790d6963d2a'::uuid]);

-- Query #30837 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b957b473-7a00-da9b-0729-2790d6963d2a'::uuid;

-- Query #30838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b957b473-7a00-da9b-0729-2790d6963d2a'::uuid, 'Imdb', 'tt8581084')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b957b473-7a00-da9b-0729-2790d6963d2a'::uuid, 'Tmdb', 1675734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b957b473-7a00-da9b-0729-2790d6963d2a'::uuid, 'trakt', 3313160)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30841 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b957b473-7a00-da9b-0729-2790d6963d2a'::uuid, 'TvMaze', 1593308)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30842 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b957b473-7a00-da9b-0729-2790d6963d2a'::uuid, 'Tvdb', 6997888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b957b473-7a00-da9b-0729-2790d6963d2a'::uuid, 'TmdbCollection', 1675734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30844 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b957b473-7a00-da9b-0729-2790d6963d2a'::uuid;

-- Query #30845 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b957b473-7a00-da9b-0729-2790d6963d2a'::uuid;

-- Query #30846 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b957b473-7a00-da9b-0729-2790d6963d2a'::uuid]);

-- Query #30847 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b957b473-7a00-da9b-0729-2790d6963d2a'::uuid;

-- Query #30848 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30849 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e9d17c81-2d43-4eec-8444-40288580759c'::uuid;

-- Query #30850 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9d17c81-2d43-4eec-8444-40288580759c'::uuid]);

-- Query #30851 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e9d17c81-2d43-4eec-8444-40288580759c'::uuid;

-- Query #30852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9d17c81-2d43-4eec-8444-40288580759c'::uuid, 'TmdbCollection', 1675732)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9d17c81-2d43-4eec-8444-40288580759c'::uuid, 'Imdb', 'tt8762262')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9d17c81-2d43-4eec-8444-40288580759c'::uuid, 'Tmdb', 1675732)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9d17c81-2d43-4eec-8444-40288580759c'::uuid, 'trakt', 3313155)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9d17c81-2d43-4eec-8444-40288580759c'::uuid, 'TvMaze', 1593306)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e9d17c81-2d43-4eec-8444-40288580759c'::uuid, 'Tvdb', 6997886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30858 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e9d17c81-2d43-4eec-8444-40288580759c'::uuid;

-- Query #30859 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e9d17c81-2d43-4eec-8444-40288580759c'::uuid;

-- Query #30860 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e9d17c81-2d43-4eec-8444-40288580759c'::uuid]);

-- Query #30861 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e9d17c81-2d43-4eec-8444-40288580759c'::uuid;

-- Query #30862 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30863 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '77da6c01-7b9a-e8c0-27c5-2a4265d24e0e'::uuid;

-- Query #30864 | logged_duration_ms=7 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77da6c01-7b9a-e8c0-27c5-2a4265d24e0e'::uuid]);

-- Query #30865 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '77da6c01-7b9a-e8c0-27c5-2a4265d24e0e'::uuid;

-- Query #30866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77da6c01-7b9a-e8c0-27c5-2a4265d24e0e'::uuid, 'Imdb', 'tt8762270')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77da6c01-7b9a-e8c0-27c5-2a4265d24e0e'::uuid, 'Tmdb', 1675733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30868 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77da6c01-7b9a-e8c0-27c5-2a4265d24e0e'::uuid, 'trakt', 3313159)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30869 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77da6c01-7b9a-e8c0-27c5-2a4265d24e0e'::uuid, 'TvMaze', 1593307)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77da6c01-7b9a-e8c0-27c5-2a4265d24e0e'::uuid, 'Tvdb', 6997887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30871 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77da6c01-7b9a-e8c0-27c5-2a4265d24e0e'::uuid, 'TmdbCollection', 1675733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30872 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '77da6c01-7b9a-e8c0-27c5-2a4265d24e0e'::uuid;

-- Query #30873 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '77da6c01-7b9a-e8c0-27c5-2a4265d24e0e'::uuid;

-- Query #30874 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['77da6c01-7b9a-e8c0-27c5-2a4265d24e0e'::uuid]);

-- Query #30875 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '77da6c01-7b9a-e8c0-27c5-2a4265d24e0e'::uuid;

-- Query #30876 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30877 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df168d0e-81c1-0bc4-3af2-816f73863110'::uuid;

-- Query #30878 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df168d0e-81c1-0bc4-3af2-816f73863110'::uuid]);

-- Query #30879 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'df168d0e-81c1-0bc4-3af2-816f73863110'::uuid;

-- Query #30880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df168d0e-81c1-0bc4-3af2-816f73863110'::uuid, 'Imdb', 'tt8709448')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df168d0e-81c1-0bc4-3af2-816f73863110'::uuid, 'Tmdb', 1675731)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df168d0e-81c1-0bc4-3af2-816f73863110'::uuid, 'trakt', 3313154)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df168d0e-81c1-0bc4-3af2-816f73863110'::uuid, 'TvMaze', 1593305)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df168d0e-81c1-0bc4-3af2-816f73863110'::uuid, 'Tvdb', 6997885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df168d0e-81c1-0bc4-3af2-816f73863110'::uuid, 'TmdbCollection', 1675731)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30886 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df168d0e-81c1-0bc4-3af2-816f73863110'::uuid;

-- Query #30887 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'df168d0e-81c1-0bc4-3af2-816f73863110'::uuid;

-- Query #30888 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['df168d0e-81c1-0bc4-3af2-816f73863110'::uuid]);

-- Query #30889 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'df168d0e-81c1-0bc4-3af2-816f73863110'::uuid;

-- Query #30890 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30891 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8f2a561-7e82-cc0e-861c-4b55a3c67522'::uuid;

-- Query #30892 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8f2a561-7e82-cc0e-861c-4b55a3c67522'::uuid]);

-- Query #30893 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f8f2a561-7e82-cc0e-861c-4b55a3c67522'::uuid;

-- Query #30894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8f2a561-7e82-cc0e-861c-4b55a3c67522'::uuid, 'TmdbCollection', 1658202)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30895 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8f2a561-7e82-cc0e-861c-4b55a3c67522'::uuid, 'Imdb', 'tt7746006')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8f2a561-7e82-cc0e-861c-4b55a3c67522'::uuid, 'Tmdb', 1658202)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8f2a561-7e82-cc0e-861c-4b55a3c67522'::uuid, 'trakt', 3300128)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8f2a561-7e82-cc0e-861c-4b55a3c67522'::uuid, 'TvMaze', 1585983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30899 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8f2a561-7e82-cc0e-861c-4b55a3c67522'::uuid, 'Tvdb', 6997881)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30900 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8f2a561-7e82-cc0e-861c-4b55a3c67522'::uuid;

-- Query #30901 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f8f2a561-7e82-cc0e-861c-4b55a3c67522'::uuid;

-- Query #30902 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f8f2a561-7e82-cc0e-861c-4b55a3c67522'::uuid]);

-- Query #30903 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f8f2a561-7e82-cc0e-861c-4b55a3c67522'::uuid;

-- Query #30904 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30905 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '64eac589-d603-8dad-d809-04229bea17bb'::uuid;

-- Query #30906 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['64eac589-d603-8dad-d809-04229bea17bb'::uuid]);

-- Query #30907 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '64eac589-d603-8dad-d809-04229bea17bb'::uuid;

-- Query #30908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64eac589-d603-8dad-d809-04229bea17bb'::uuid, 'TmdbCollection', 1675730)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64eac589-d603-8dad-d809-04229bea17bb'::uuid, 'Imdb', 'tt8762254')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64eac589-d603-8dad-d809-04229bea17bb'::uuid, 'Tmdb', 1675730)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64eac589-d603-8dad-d809-04229bea17bb'::uuid, 'trakt', 3313153)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64eac589-d603-8dad-d809-04229bea17bb'::uuid, 'TvMaze', 1593304)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64eac589-d603-8dad-d809-04229bea17bb'::uuid, 'Tvdb', 6997884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30914 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '64eac589-d603-8dad-d809-04229bea17bb'::uuid;

-- Query #30915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '64eac589-d603-8dad-d809-04229bea17bb'::uuid;

-- Query #30916 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['64eac589-d603-8dad-d809-04229bea17bb'::uuid]);

-- Query #30917 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '64eac589-d603-8dad-d809-04229bea17bb'::uuid;

-- Query #30918 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30919 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf1242ec-288c-7446-8af2-76b1d94d1735'::uuid;

-- Query #30920 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf1242ec-288c-7446-8af2-76b1d94d1735'::uuid]);

-- Query #30921 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cf1242ec-288c-7446-8af2-76b1d94d1735'::uuid;

-- Query #30922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf1242ec-288c-7446-8af2-76b1d94d1735'::uuid, 'Imdb', 'tt8230684')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf1242ec-288c-7446-8af2-76b1d94d1735'::uuid, 'Tmdb', 1675729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf1242ec-288c-7446-8af2-76b1d94d1735'::uuid, 'trakt', 3313152)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf1242ec-288c-7446-8af2-76b1d94d1735'::uuid, 'TvMaze', 1593303)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf1242ec-288c-7446-8af2-76b1d94d1735'::uuid, 'Tvdb', 6997883)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf1242ec-288c-7446-8af2-76b1d94d1735'::uuid, 'TmdbCollection', 1675729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30928 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf1242ec-288c-7446-8af2-76b1d94d1735'::uuid;

-- Query #30929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cf1242ec-288c-7446-8af2-76b1d94d1735'::uuid;

-- Query #30930 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cf1242ec-288c-7446-8af2-76b1d94d1735'::uuid]);

-- Query #30931 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cf1242ec-288c-7446-8af2-76b1d94d1735'::uuid;

-- Query #30932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30933 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '009a6c9e-eb61-bf08-7447-898dbf460f25'::uuid;

-- Query #30934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['009a6c9e-eb61-bf08-7447-898dbf460f25'::uuid]);

-- Query #30935 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '009a6c9e-eb61-bf08-7447-898dbf460f25'::uuid;

-- Query #30936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('009a6c9e-eb61-bf08-7447-898dbf460f25'::uuid, 'Imdb', 'tt8737926')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('009a6c9e-eb61-bf08-7447-898dbf460f25'::uuid, 'Tmdb', 1675739)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('009a6c9e-eb61-bf08-7447-898dbf460f25'::uuid, 'trakt', 3313166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('009a6c9e-eb61-bf08-7447-898dbf460f25'::uuid, 'TvMaze', 1593313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('009a6c9e-eb61-bf08-7447-898dbf460f25'::uuid, 'Tvdb', 6997893)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30941 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('009a6c9e-eb61-bf08-7447-898dbf460f25'::uuid, 'TmdbCollection', 1675739)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30942 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '009a6c9e-eb61-bf08-7447-898dbf460f25'::uuid;

-- Query #30943 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '009a6c9e-eb61-bf08-7447-898dbf460f25'::uuid;

-- Query #30944 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['009a6c9e-eb61-bf08-7447-898dbf460f25'::uuid]);

-- Query #30945 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '009a6c9e-eb61-bf08-7447-898dbf460f25'::uuid;

-- Query #30946 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid, 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30947 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e61e64bb-6352-13c8-bee1-866346f3ba7d'::uuid
ORDER BY b."SortName";

-- Query #30948 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid])
ORDER BY b."Id";

-- Query #30949 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid])
ORDER BY b."Id";

-- Query #30950 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid])
ORDER BY b."Id";

-- Query #30951 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid])
ORDER BY b."Id";

-- Query #30952 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid, '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid])
ORDER BY b."Id";

-- Query #30953 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f8d1cc27-d4d0-6b9a-1f52-352043022084'::uuid
ORDER BY b."SortName";

-- Query #30954 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0a2dd5eb-7d2e-db97-2a58-70ac42658155'::uuid
ORDER BY b."SortName";

-- Query #30955 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'e61e64bb635213c8bee1866346f3ba7d'
ORDER BY b."SortName", b."Name";

-- Query #30956 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3800a577-b868-d896-9f30-525e422c473f'::uuid
ORDER BY b."SortName";

-- Query #30957 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid])
ORDER BY b."Id";

-- Query #30958 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid])
ORDER BY b."Id";

-- Query #30959 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid])
ORDER BY b."Id";

-- Query #30960 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid])
ORDER BY b."Id";

-- Query #30961 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid])
ORDER BY b."Id";

-- Query #30962 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid
ORDER BY b."SortName";

-- Query #30963 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid
ORDER BY b."SortName";

-- Query #30964 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid
ORDER BY b."SortName";

-- Query #30965 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid
ORDER BY b."SortName";

-- Query #30966 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'b626529b-aefa-1dfe-d901-478f0ddd7f7b'::uuid])
ORDER BY b."Id";

-- Query #30967 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'b626529b-aefa-1dfe-d901-478f0ddd7f7b'::uuid])
ORDER BY b."Id";

-- Query #30968 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'b626529b-aefa-1dfe-d901-478f0ddd7f7b'::uuid])
ORDER BY b."Id";

-- Query #30969 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'b626529b-aefa-1dfe-d901-478f0ddd7f7b'::uuid])
ORDER BY b."Id";

-- Query #30970 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'b626529b-aefa-1dfe-d901-478f0ddd7f7b'::uuid])
ORDER BY b."Id";

-- Query #30971 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3800a577-b868-d896-9f30-525e422c473f'::uuid;

-- Query #30972 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3800a577-b868-d896-9f30-525e422c473f'::uuid]);

-- Query #30973 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3800a577-b868-d896-9f30-525e422c473f'::uuid;

-- Query #30974 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3800a577-b868-d896-9f30-525e422c473f'::uuid, 'Imdb', 'tt2748608')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3800a577-b868-d896-9f30-525e422c473f'::uuid, 'Tmdb', 46974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3800a577-b868-d896-9f30-525e422c473f'::uuid, 'TmdbCollection', 46974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3800a577-b868-d896-9f30-525e422c473f'::uuid, 'Tvdb', 268065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3800a577-b868-d896-9f30-525e422c473f'::uuid, 'TvMaze', 9145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3800a577-b868-d896-9f30-525e422c473f'::uuid, 'TvRage', 33962)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3800a577-b868-d896-9f30-525e422c473f'::uuid, 'wikidata', 'Q9030749')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3800a577-b868-d896-9f30-525e422c473f'::uuid, 'Zap2It', 'EP01693703')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #30982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3800a577-b868-d896-9f30-525e422c473f'::uuid;

-- Query #30983 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3800a577-b868-d896-9f30-525e422c473f'::uuid;

-- Query #30984 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3800a577-b868-d896-9f30-525e422c473f'::uuid]);

-- Query #30985 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3800a577-b868-d896-9f30-525e422c473f'::uuid;

-- Query #30986 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #30987 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '3800a577b868d8969f30525e422c473f'
ORDER BY b."SortName", b."Name";

-- Query #30988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3800a577-b868-d896-9f30-525e422c473f'::uuid
ORDER BY b."SortName";

-- Query #30989 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid])
ORDER BY b."Id";

-- Query #30990 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid])
ORDER BY b."Id";

-- Query #30991 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid])
ORDER BY b."Id";

-- Query #30992 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid])
ORDER BY b."Id";

-- Query #30993 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid])
ORDER BY b."Id";

-- Query #30994 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid
ORDER BY b."SortName";

-- Query #30995 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid
ORDER BY b."SortName";

-- Query #30996 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid
ORDER BY b."SortName";

-- Query #30997 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid
ORDER BY b."SortName";

-- Query #30998 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'b626529b-aefa-1dfe-d901-478f0ddd7f7b'::uuid])
ORDER BY b."Id";

-- Query #30999 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'b626529b-aefa-1dfe-d901-478f0ddd7f7b'::uuid])
ORDER BY b."Id";

-- Query #31000 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'b626529b-aefa-1dfe-d901-478f0ddd7f7b'::uuid])
ORDER BY b."Id";

-- Query #31001 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'b626529b-aefa-1dfe-d901-478f0ddd7f7b'::uuid])
ORDER BY b."Id";

-- Query #31002 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'b626529b-aefa-1dfe-d901-478f0ddd7f7b'::uuid])
ORDER BY b."Id";

-- Query #31003 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3800a577b868d8969f30525e422c473f'
ORDER BY b."SortName", b."Name";

-- Query #31004 | logged_duration_ms=3 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid;

-- Query #31005 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid]);

-- Query #31006 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid;

-- Query #31007 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, 'Tvdb', 268065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, 'Tmdb', 46974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, 'Imdb', 'tt2748608')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, 'TvMaze', 9145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, 'TvRage', 33962)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, 'Zap2It', 'EP01693703')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, 'wikidata', 'Q9030749')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, 'TmdbCollection', 46974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31015 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid;

-- Query #31016 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid;

-- Query #31017 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #31018 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid]);

-- Query #31019 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid;

-- Query #31020 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31021 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3800a577b868d8969f30525e422c473f'
ORDER BY b."SortName", b."Name";

-- Query #31022 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid;

-- Query #31023 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid]);

-- Query #31024 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid;

-- Query #31025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, 'Tvdb', 268065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, 'Tmdb', 46974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, 'Imdb', 'tt2748608')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, 'TvMaze', 9145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, 'TvRage', 33962)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, 'Zap2It', 'EP01693703')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31031 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, 'wikidata', 'Q9030749')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, 'TmdbCollection', 46974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31033 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid;

-- Query #31034 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid;

-- Query #31035 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #31036 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid]);

-- Query #31037 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid;

-- Query #31038 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31039 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #31040 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3800a577b868d8969f30525e422c473f'
ORDER BY b."SortName", b."Name";

-- Query #31041 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid;

-- Query #31042 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid]);

-- Query #31043 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid;

-- Query #31044 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid, 'Tvdb', 515728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31045 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid;

-- Query #31046 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid;

-- Query #31047 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #31048 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid]);

-- Query #31049 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid;

-- Query #31050 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31051 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffe43c03-d6d8-1546-18da-8b22efd56fa3'::uuid;

-- Query #31052 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffe43c03-d6d8-1546-18da-8b22efd56fa3'::uuid]);

-- Query #31053 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ffe43c03-d6d8-1546-18da-8b22efd56fa3'::uuid;

-- Query #31054 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffe43c03-d6d8-1546-18da-8b22efd56fa3'::uuid, 'Imdb', 'tt2845026')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31055 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffe43c03-d6d8-1546-18da-8b22efd56fa3'::uuid, 'Tmdb', 977446)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31056 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffe43c03-d6d8-1546-18da-8b22efd56fa3'::uuid, 'TmdbCollection', 977446)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31057 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffe43c03-d6d8-1546-18da-8b22efd56fa3'::uuid, 'trakt', 1171247)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffe43c03-d6d8-1546-18da-8b22efd56fa3'::uuid, 'Tvdb', 4536970)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffe43c03-d6d8-1546-18da-8b22efd56fa3'::uuid, 'TvMaze', 494834)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31060 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffe43c03-d6d8-1546-18da-8b22efd56fa3'::uuid;

-- Query #31061 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ffe43c03-d6d8-1546-18da-8b22efd56fa3'::uuid;

-- Query #31062 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31063 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ffe43c03-d6d8-1546-18da-8b22efd56fa3'::uuid]);

-- Query #31064 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ffe43c03-d6d8-1546-18da-8b22efd56fa3'::uuid;

-- Query #31065 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31066 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '40efe90c-5c14-1a2e-09c2-51d57fb5684d'::uuid;

-- Query #31067 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40efe90c-5c14-1a2e-09c2-51d57fb5684d'::uuid]);

-- Query #31068 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '40efe90c-5c14-1a2e-09c2-51d57fb5684d'::uuid;

-- Query #31069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40efe90c-5c14-1a2e-09c2-51d57fb5684d'::uuid, 'Imdb', 'tt2857314')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40efe90c-5c14-1a2e-09c2-51d57fb5684d'::uuid, 'Tmdb', 977445)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40efe90c-5c14-1a2e-09c2-51d57fb5684d'::uuid, 'TmdbCollection', 977445)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40efe90c-5c14-1a2e-09c2-51d57fb5684d'::uuid, 'trakt', 1171116)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40efe90c-5c14-1a2e-09c2-51d57fb5684d'::uuid, 'Tvdb', 4531293)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40efe90c-5c14-1a2e-09c2-51d57fb5684d'::uuid, 'TvMaze', 494833)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '40efe90c-5c14-1a2e-09c2-51d57fb5684d'::uuid;

-- Query #31076 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '40efe90c-5c14-1a2e-09c2-51d57fb5684d'::uuid;

-- Query #31077 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Animation', '3+Netflix']);

-- Query #31078 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['40efe90c-5c14-1a2e-09c2-51d57fb5684d'::uuid]);

-- Query #31079 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '40efe90c-5c14-1a2e-09c2-51d57fb5684d'::uuid;

-- Query #31080 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31081 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a862c0a3-1b98-2374-5409-b0f476903993'::uuid;

-- Query #31082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a862c0a3-1b98-2374-5409-b0f476903993'::uuid]);

-- Query #31083 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a862c0a3-1b98-2374-5409-b0f476903993'::uuid;

-- Query #31084 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a862c0a3-1b98-2374-5409-b0f476903993'::uuid, 'Imdb', 'tt2928164')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31085 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a862c0a3-1b98-2374-5409-b0f476903993'::uuid, 'Tmdb', 977448)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31086 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a862c0a3-1b98-2374-5409-b0f476903993'::uuid, 'TmdbCollection', 977448)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a862c0a3-1b98-2374-5409-b0f476903993'::uuid, 'trakt', 1171542)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a862c0a3-1b98-2374-5409-b0f476903993'::uuid, 'Tvdb', 4548166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a862c0a3-1b98-2374-5409-b0f476903993'::uuid, 'TvMaze', 494836)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31090 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a862c0a3-1b98-2374-5409-b0f476903993'::uuid;

-- Query #31091 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a862c0a3-1b98-2374-5409-b0f476903993'::uuid;

-- Query #31092 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31093 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a862c0a3-1b98-2374-5409-b0f476903993'::uuid]);

-- Query #31094 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a862c0a3-1b98-2374-5409-b0f476903993'::uuid;

-- Query #31095 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31096 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '624a1550-d40e-fd8f-76ef-ea1772ca77b8'::uuid;

-- Query #31097 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['624a1550-d40e-fd8f-76ef-ea1772ca77b8'::uuid]);

-- Query #31098 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '624a1550-d40e-fd8f-76ef-ea1772ca77b8'::uuid;

-- Query #31099 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('624a1550-d40e-fd8f-76ef-ea1772ca77b8'::uuid, 'Imdb', 'tt3166832')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('624a1550-d40e-fd8f-76ef-ea1772ca77b8'::uuid, 'Tvdb', 4646206)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('624a1550-d40e-fd8f-76ef-ea1772ca77b8'::uuid, 'TvMaze', 494845)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31102 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '624a1550-d40e-fd8f-76ef-ea1772ca77b8'::uuid;

-- Query #31103 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '624a1550-d40e-fd8f-76ef-ea1772ca77b8'::uuid;

-- Query #31104 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31105 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['624a1550-d40e-fd8f-76ef-ea1772ca77b8'::uuid]);

-- Query #31106 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '624a1550-d40e-fd8f-76ef-ea1772ca77b8'::uuid;

-- Query #31107 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31108 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b27cb621-2d7f-11fa-6e45-ff9a881b8ac9'::uuid;

-- Query #31109 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b27cb621-2d7f-11fa-6e45-ff9a881b8ac9'::uuid]);

-- Query #31110 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b27cb621-2d7f-11fa-6e45-ff9a881b8ac9'::uuid;

-- Query #31111 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b27cb621-2d7f-11fa-6e45-ff9a881b8ac9'::uuid, 'Imdb', 'tt3469138')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31112 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b27cb621-2d7f-11fa-6e45-ff9a881b8ac9'::uuid, 'Tmdb', 977467)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b27cb621-2d7f-11fa-6e45-ff9a881b8ac9'::uuid, 'TmdbCollection', 977467)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31114 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b27cb621-2d7f-11fa-6e45-ff9a881b8ac9'::uuid, 'trakt', 1174095)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31115 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b27cb621-2d7f-11fa-6e45-ff9a881b8ac9'::uuid, 'Tvdb', 4713618)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b27cb621-2d7f-11fa-6e45-ff9a881b8ac9'::uuid, 'TvMaze', 494855)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31117 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b27cb621-2d7f-11fa-6e45-ff9a881b8ac9'::uuid;

-- Query #31118 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b27cb621-2d7f-11fa-6e45-ff9a881b8ac9'::uuid;

-- Query #31119 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31120 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b27cb621-2d7f-11fa-6e45-ff9a881b8ac9'::uuid]);

-- Query #31121 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b27cb621-2d7f-11fa-6e45-ff9a881b8ac9'::uuid;

-- Query #31122 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31123 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd9704f4e-ab4e-40e5-bffa-029a074e01ab'::uuid;

-- Query #31124 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d9704f4e-ab4e-40e5-bffa-029a074e01ab'::uuid]);

-- Query #31125 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd9704f4e-ab4e-40e5-bffa-029a074e01ab'::uuid;

-- Query #31126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9704f4e-ab4e-40e5-bffa-029a074e01ab'::uuid, 'Imdb', 'tt3394798')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31127 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9704f4e-ab4e-40e5-bffa-029a074e01ab'::uuid, 'Tvdb', 4713619)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31128 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9704f4e-ab4e-40e5-bffa-029a074e01ab'::uuid, 'TvMaze', 494856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31129 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd9704f4e-ab4e-40e5-bffa-029a074e01ab'::uuid;

-- Query #31130 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd9704f4e-ab4e-40e5-bffa-029a074e01ab'::uuid;

-- Query #31131 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31132 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d9704f4e-ab4e-40e5-bffa-029a074e01ab'::uuid]);

-- Query #31133 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd9704f4e-ab4e-40e5-bffa-029a074e01ab'::uuid;

-- Query #31134 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31135 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '027dd923-e9d9-8b1d-fc48-02ca5e263386'::uuid;

-- Query #31136 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['027dd923-e9d9-8b1d-fc48-02ca5e263386'::uuid]);

-- Query #31137 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '027dd923-e9d9-8b1d-fc48-02ca5e263386'::uuid;

-- Query #31138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('027dd923-e9d9-8b1d-fc48-02ca5e263386'::uuid, 'Imdb', 'tt3019840')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31139 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('027dd923-e9d9-8b1d-fc48-02ca5e263386'::uuid, 'Tmdb', 977455)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31140 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('027dd923-e9d9-8b1d-fc48-02ca5e263386'::uuid, 'TmdbCollection', 977455)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31141 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('027dd923-e9d9-8b1d-fc48-02ca5e263386'::uuid, 'trakt', 1172446)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31142 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('027dd923-e9d9-8b1d-fc48-02ca5e263386'::uuid, 'Tvdb', 4569789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31143 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('027dd923-e9d9-8b1d-fc48-02ca5e263386'::uuid, 'TvMaze', 494843)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31144 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '027dd923-e9d9-8b1d-fc48-02ca5e263386'::uuid;

-- Query #31145 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '027dd923-e9d9-8b1d-fc48-02ca5e263386'::uuid;

-- Query #31146 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31147 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['027dd923-e9d9-8b1d-fc48-02ca5e263386'::uuid]);

-- Query #31148 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '027dd923-e9d9-8b1d-fc48-02ca5e263386'::uuid;

-- Query #31149 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31150 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6024500f-9844-d981-b14f-e5e0fb95bdf8'::uuid;

-- Query #31151 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6024500f-9844-d981-b14f-e5e0fb95bdf8'::uuid]);

-- Query #31152 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6024500f-9844-d981-b14f-e5e0fb95bdf8'::uuid;

-- Query #31153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6024500f-9844-d981-b14f-e5e0fb95bdf8'::uuid, 'Imdb', 'tt3118994')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31154 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6024500f-9844-d981-b14f-e5e0fb95bdf8'::uuid, 'Tmdb', 977456)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31155 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6024500f-9844-d981-b14f-e5e0fb95bdf8'::uuid, 'TmdbCollection', 977456)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31156 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6024500f-9844-d981-b14f-e5e0fb95bdf8'::uuid, 'trakt', 1172606)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31157 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6024500f-9844-d981-b14f-e5e0fb95bdf8'::uuid, 'Tvdb', 4569790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6024500f-9844-d981-b14f-e5e0fb95bdf8'::uuid, 'TvMaze', 494844)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31159 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6024500f-9844-d981-b14f-e5e0fb95bdf8'::uuid;

-- Query #31160 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6024500f-9844-d981-b14f-e5e0fb95bdf8'::uuid;

-- Query #31161 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31162 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6024500f-9844-d981-b14f-e5e0fb95bdf8'::uuid]);

-- Query #31163 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6024500f-9844-d981-b14f-e5e0fb95bdf8'::uuid;

-- Query #31164 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31165 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a8294b59-f9cc-9da0-943b-2bbd2df2274f'::uuid;

-- Query #31166 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8294b59-f9cc-9da0-943b-2bbd2df2274f'::uuid]);

-- Query #31167 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a8294b59-f9cc-9da0-943b-2bbd2df2274f'::uuid;

-- Query #31168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a8294b59-f9cc-9da0-943b-2bbd2df2274f'::uuid, 'Imdb', 'tt3095884')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31169 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a8294b59-f9cc-9da0-943b-2bbd2df2274f'::uuid, 'Tmdb', 977452)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31170 | logged_duration_ms=3 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a8294b59-f9cc-9da0-943b-2bbd2df2274f'::uuid, 'TmdbCollection', 977452)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31171 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a8294b59-f9cc-9da0-943b-2bbd2df2274f'::uuid, 'trakt', 1171957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31172 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a8294b59-f9cc-9da0-943b-2bbd2df2274f'::uuid, 'Tvdb', 4548169)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31173 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a8294b59-f9cc-9da0-943b-2bbd2df2274f'::uuid, 'TvMaze', 494839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31174 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a8294b59-f9cc-9da0-943b-2bbd2df2274f'::uuid;

-- Query #31175 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a8294b59-f9cc-9da0-943b-2bbd2df2274f'::uuid;

-- Query #31176 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Animation', '3+Netflix']);

-- Query #31177 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a8294b59-f9cc-9da0-943b-2bbd2df2274f'::uuid]);

-- Query #31178 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a8294b59-f9cc-9da0-943b-2bbd2df2274f'::uuid;

-- Query #31179 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31180 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '50b55bd8-cd23-6082-7cbd-14a1a1f58cf5'::uuid;

-- Query #31181 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50b55bd8-cd23-6082-7cbd-14a1a1f58cf5'::uuid]);

-- Query #31182 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '50b55bd8-cd23-6082-7cbd-14a1a1f58cf5'::uuid;

-- Query #31183 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50b55bd8-cd23-6082-7cbd-14a1a1f58cf5'::uuid, 'Imdb', 'tt2936584')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31184 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50b55bd8-cd23-6082-7cbd-14a1a1f58cf5'::uuid, 'Tmdb', 977449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31185 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50b55bd8-cd23-6082-7cbd-14a1a1f58cf5'::uuid, 'TmdbCollection', 977449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31186 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50b55bd8-cd23-6082-7cbd-14a1a1f58cf5'::uuid, 'trakt', 1171698)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31187 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50b55bd8-cd23-6082-7cbd-14a1a1f58cf5'::uuid, 'Tvdb', 4548167)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31188 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50b55bd8-cd23-6082-7cbd-14a1a1f58cf5'::uuid, 'TvMaze', 494837)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31189 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '50b55bd8-cd23-6082-7cbd-14a1a1f58cf5'::uuid;

-- Query #31190 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '50b55bd8-cd23-6082-7cbd-14a1a1f58cf5'::uuid;

-- Query #31191 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Animation', '3+Netflix']);

-- Query #31192 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['50b55bd8-cd23-6082-7cbd-14a1a1f58cf5'::uuid]);

-- Query #31193 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '50b55bd8-cd23-6082-7cbd-14a1a1f58cf5'::uuid;

-- Query #31194 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31195 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e178cbd2-faba-947c-00ad-a3c42804379c'::uuid;

-- Query #31196 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e178cbd2-faba-947c-00ad-a3c42804379c'::uuid]);

-- Query #31197 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e178cbd2-faba-947c-00ad-a3c42804379c'::uuid;

-- Query #31198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e178cbd2-faba-947c-00ad-a3c42804379c'::uuid, 'Imdb', 'tt3096002')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31199 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e178cbd2-faba-947c-00ad-a3c42804379c'::uuid, 'Tmdb', 977451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31200 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e178cbd2-faba-947c-00ad-a3c42804379c'::uuid, 'TmdbCollection', 977451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31201 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e178cbd2-faba-947c-00ad-a3c42804379c'::uuid, 'trakt', 1172098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31202 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e178cbd2-faba-947c-00ad-a3c42804379c'::uuid, 'Tvdb', 4569786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31203 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e178cbd2-faba-947c-00ad-a3c42804379c'::uuid, 'TvMaze', 494840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31204 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e178cbd2-faba-947c-00ad-a3c42804379c'::uuid;

-- Query #31205 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e178cbd2-faba-947c-00ad-a3c42804379c'::uuid;

-- Query #31206 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31207 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e178cbd2-faba-947c-00ad-a3c42804379c'::uuid]);

-- Query #31208 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e178cbd2-faba-947c-00ad-a3c42804379c'::uuid;

-- Query #31209 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31210 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '33f54535-2bf1-8fe3-4fd7-28ca0f2a6199'::uuid;

-- Query #31211 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['33f54535-2bf1-8fe3-4fd7-28ca0f2a6199'::uuid]);

-- Query #31212 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '33f54535-2bf1-8fe3-4fd7-28ca0f2a6199'::uuid;

-- Query #31213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33f54535-2bf1-8fe3-4fd7-28ca0f2a6199'::uuid, 'Imdb', 'tt3310696')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33f54535-2bf1-8fe3-4fd7-28ca0f2a6199'::uuid, 'Tmdb', 977463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33f54535-2bf1-8fe3-4fd7-28ca0f2a6199'::uuid, 'TmdbCollection', 977463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31216 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33f54535-2bf1-8fe3-4fd7-28ca0f2a6199'::uuid, 'trakt', 1173558)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33f54535-2bf1-8fe3-4fd7-28ca0f2a6199'::uuid, 'Tvdb', 4690777)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33f54535-2bf1-8fe3-4fd7-28ca0f2a6199'::uuid, 'TvMaze', 494851)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31219 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '33f54535-2bf1-8fe3-4fd7-28ca0f2a6199'::uuid;

-- Query #31220 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '33f54535-2bf1-8fe3-4fd7-28ca0f2a6199'::uuid;

-- Query #31221 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Netflix']);

-- Query #31222 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['33f54535-2bf1-8fe3-4fd7-28ca0f2a6199'::uuid]);

-- Query #31223 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '33f54535-2bf1-8fe3-4fd7-28ca0f2a6199'::uuid;

-- Query #31224 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6da36ed7-4a47-d9ed-3950-8b9a569c5f02'::uuid;

-- Query #31226 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6da36ed7-4a47-d9ed-3950-8b9a569c5f02'::uuid]);

-- Query #31227 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6da36ed7-4a47-d9ed-3950-8b9a569c5f02'::uuid;

-- Query #31228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6da36ed7-4a47-d9ed-3950-8b9a569c5f02'::uuid, 'Imdb', 'tt3330046')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6da36ed7-4a47-d9ed-3950-8b9a569c5f02'::uuid, 'Tmdb', 977465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31230 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6da36ed7-4a47-d9ed-3950-8b9a569c5f02'::uuid, 'TmdbCollection', 977465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31231 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6da36ed7-4a47-d9ed-3950-8b9a569c5f02'::uuid, 'trakt', 1173845)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6da36ed7-4a47-d9ed-3950-8b9a569c5f02'::uuid, 'Tvdb', 4702162)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6da36ed7-4a47-d9ed-3950-8b9a569c5f02'::uuid, 'TvMaze', 494853)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31234 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6da36ed7-4a47-d9ed-3950-8b9a569c5f02'::uuid;

-- Query #31235 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6da36ed7-4a47-d9ed-3950-8b9a569c5f02'::uuid;

-- Query #31236 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31237 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6da36ed7-4a47-d9ed-3950-8b9a569c5f02'::uuid]);

-- Query #31238 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6da36ed7-4a47-d9ed-3950-8b9a569c5f02'::uuid;

-- Query #31239 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31240 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11c9beec-a984-a44e-3294-a6cd79435356'::uuid;

-- Query #31241 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11c9beec-a984-a44e-3294-a6cd79435356'::uuid]);

-- Query #31242 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '11c9beec-a984-a44e-3294-a6cd79435356'::uuid;

-- Query #31243 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11c9beec-a984-a44e-3294-a6cd79435356'::uuid, 'Imdb', 'tt2924540')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31244 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11c9beec-a984-a44e-3294-a6cd79435356'::uuid, 'Tvdb', 4676574)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31245 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11c9beec-a984-a44e-3294-a6cd79435356'::uuid, 'TvMaze', 494848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31246 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11c9beec-a984-a44e-3294-a6cd79435356'::uuid;

-- Query #31247 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '11c9beec-a984-a44e-3294-a6cd79435356'::uuid;

-- Query #31248 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31249 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['11c9beec-a984-a44e-3294-a6cd79435356'::uuid]);

-- Query #31250 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '11c9beec-a984-a44e-3294-a6cd79435356'::uuid;

-- Query #31251 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31252 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e805da16-dcd5-8971-a5e6-c1e8256062d1'::uuid;

-- Query #31253 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e805da16-dcd5-8971-a5e6-c1e8256062d1'::uuid]);

-- Query #31254 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e805da16-dcd5-8971-a5e6-c1e8256062d1'::uuid;

-- Query #31255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e805da16-dcd5-8971-a5e6-c1e8256062d1'::uuid, 'Imdb', 'tt3029542')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e805da16-dcd5-8971-a5e6-c1e8256062d1'::uuid, 'Tmdb', 977460)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31257 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e805da16-dcd5-8971-a5e6-c1e8256062d1'::uuid, 'TmdbCollection', 977460)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31258 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e805da16-dcd5-8971-a5e6-c1e8256062d1'::uuid, 'trakt', 1173011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31259 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e805da16-dcd5-8971-a5e6-c1e8256062d1'::uuid, 'Tvdb', 4670039)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31260 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e805da16-dcd5-8971-a5e6-c1e8256062d1'::uuid, 'TvMaze', 494847)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31261 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e805da16-dcd5-8971-a5e6-c1e8256062d1'::uuid;

-- Query #31262 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e805da16-dcd5-8971-a5e6-c1e8256062d1'::uuid;

-- Query #31263 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31264 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e805da16-dcd5-8971-a5e6-c1e8256062d1'::uuid]);

-- Query #31265 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e805da16-dcd5-8971-a5e6-c1e8256062d1'::uuid;

-- Query #31266 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e892d73-e50f-1578-1939-e1d40752ad09'::uuid;

-- Query #31268 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0e892d73-e50f-1578-1939-e1d40752ad09'::uuid]);

-- Query #31269 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0e892d73-e50f-1578-1939-e1d40752ad09'::uuid;

-- Query #31270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e892d73-e50f-1578-1939-e1d40752ad09'::uuid, 'Imdb', 'tt2846866')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31271 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e892d73-e50f-1578-1939-e1d40752ad09'::uuid, 'Tmdb', 977447)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31272 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e892d73-e50f-1578-1939-e1d40752ad09'::uuid, 'TmdbCollection', 977447)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31273 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e892d73-e50f-1578-1939-e1d40752ad09'::uuid, 'trakt', 1171389)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e892d73-e50f-1578-1939-e1d40752ad09'::uuid, 'Tvdb', 4541267)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e892d73-e50f-1578-1939-e1d40752ad09'::uuid, 'TvMaze', 494835)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31276 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e892d73-e50f-1578-1939-e1d40752ad09'::uuid;

-- Query #31277 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0e892d73-e50f-1578-1939-e1d40752ad09'::uuid;

-- Query #31278 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31279 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0e892d73-e50f-1578-1939-e1d40752ad09'::uuid]);

-- Query #31280 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0e892d73-e50f-1578-1939-e1d40752ad09'::uuid;

-- Query #31281 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1dddc440-608a-9fa5-a48c-d11f74a1e815'::uuid;

-- Query #31283 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1dddc440-608a-9fa5-a48c-d11f74a1e815'::uuid]);

-- Query #31284 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1dddc440-608a-9fa5-a48c-d11f74a1e815'::uuid;

-- Query #31285 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dddc440-608a-9fa5-a48c-d11f74a1e815'::uuid, 'Imdb', 'tt3318638')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31286 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dddc440-608a-9fa5-a48c-d11f74a1e815'::uuid, 'Tmdb', 977464)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31287 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dddc440-608a-9fa5-a48c-d11f74a1e815'::uuid, 'TmdbCollection', 977464)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dddc440-608a-9fa5-a48c-d11f74a1e815'::uuid, 'trakt', 1173708)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dddc440-608a-9fa5-a48c-d11f74a1e815'::uuid, 'Tvdb', 4702158)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dddc440-608a-9fa5-a48c-d11f74a1e815'::uuid, 'TvMaze', 494852)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31291 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1dddc440-608a-9fa5-a48c-d11f74a1e815'::uuid;

-- Query #31292 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1dddc440-608a-9fa5-a48c-d11f74a1e815'::uuid;

-- Query #31293 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31294 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1dddc440-608a-9fa5-a48c-d11f74a1e815'::uuid]);

-- Query #31295 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1dddc440-608a-9fa5-a48c-d11f74a1e815'::uuid;

-- Query #31296 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31297 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '594ed266-a332-2b77-7c03-71d1a3bb1649'::uuid;

-- Query #31298 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['594ed266-a332-2b77-7c03-71d1a3bb1649'::uuid]);

-- Query #31299 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '594ed266-a332-2b77-7c03-71d1a3bb1649'::uuid;

-- Query #31300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('594ed266-a332-2b77-7c03-71d1a3bb1649'::uuid, 'Imdb', 'tt3118990')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31301 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('594ed266-a332-2b77-7c03-71d1a3bb1649'::uuid, 'Tmdb', 977453)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('594ed266-a332-2b77-7c03-71d1a3bb1649'::uuid, 'TmdbCollection', 977453)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('594ed266-a332-2b77-7c03-71d1a3bb1649'::uuid, 'trakt', 1172206)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('594ed266-a332-2b77-7c03-71d1a3bb1649'::uuid, 'Tvdb', 4569787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('594ed266-a332-2b77-7c03-71d1a3bb1649'::uuid, 'TvMaze', 494841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31306 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '594ed266-a332-2b77-7c03-71d1a3bb1649'::uuid;

-- Query #31307 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '594ed266-a332-2b77-7c03-71d1a3bb1649'::uuid;

-- Query #31308 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31309 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['594ed266-a332-2b77-7c03-71d1a3bb1649'::uuid]);

-- Query #31310 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '594ed266-a332-2b77-7c03-71d1a3bb1649'::uuid;

-- Query #31311 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31312 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd1c6ecf6-7247-82a1-4cfd-874ffe96aa49'::uuid;

-- Query #31313 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1c6ecf6-7247-82a1-4cfd-874ffe96aa49'::uuid]);

-- Query #31314 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd1c6ecf6-7247-82a1-4cfd-874ffe96aa49'::uuid;

-- Query #31315 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1c6ecf6-7247-82a1-4cfd-874ffe96aa49'::uuid, 'Imdb', 'tt3348882')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31316 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1c6ecf6-7247-82a1-4cfd-874ffe96aa49'::uuid, 'Tvdb', 4713616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1c6ecf6-7247-82a1-4cfd-874ffe96aa49'::uuid, 'TvMaze', 494854)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31318 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd1c6ecf6-7247-82a1-4cfd-874ffe96aa49'::uuid;

-- Query #31319 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd1c6ecf6-7247-82a1-4cfd-874ffe96aa49'::uuid;

-- Query #31320 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Netflix']);

-- Query #31321 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d1c6ecf6-7247-82a1-4cfd-874ffe96aa49'::uuid]);

-- Query #31322 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd1c6ecf6-7247-82a1-4cfd-874ffe96aa49'::uuid;

-- Query #31323 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31324 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e563e68a-93d3-ff8f-35fa-6c432a0a047c'::uuid;

-- Query #31325 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e563e68a-93d3-ff8f-35fa-6c432a0a047c'::uuid]);

-- Query #31326 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e563e68a-93d3-ff8f-35fa-6c432a0a047c'::uuid;

-- Query #31327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e563e68a-93d3-ff8f-35fa-6c432a0a047c'::uuid, 'Imdb', 'tt3095738')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31328 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e563e68a-93d3-ff8f-35fa-6c432a0a047c'::uuid, 'Tmdb', 977450)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31329 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e563e68a-93d3-ff8f-35fa-6c432a0a047c'::uuid, 'TmdbCollection', 977450)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31330 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e563e68a-93d3-ff8f-35fa-6c432a0a047c'::uuid, 'trakt', 1171835)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e563e68a-93d3-ff8f-35fa-6c432a0a047c'::uuid, 'Tvdb', 4548168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e563e68a-93d3-ff8f-35fa-6c432a0a047c'::uuid, 'TvMaze', 494838)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31333 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e563e68a-93d3-ff8f-35fa-6c432a0a047c'::uuid;

-- Query #31334 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e563e68a-93d3-ff8f-35fa-6c432a0a047c'::uuid;

-- Query #31335 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31336 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e563e68a-93d3-ff8f-35fa-6c432a0a047c'::uuid]);

-- Query #31337 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e563e68a-93d3-ff8f-35fa-6c432a0a047c'::uuid;

-- Query #31338 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31339 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '800c2f05-6a4f-2673-69a6-9a2f5fce065d'::uuid;

-- Query #31340 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['800c2f05-6a4f-2673-69a6-9a2f5fce065d'::uuid]);

-- Query #31341 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '800c2f05-6a4f-2673-69a6-9a2f5fce065d'::uuid;

-- Query #31342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('800c2f05-6a4f-2673-69a6-9a2f5fce065d'::uuid, 'Imdb', 'tt3211364')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31343 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('800c2f05-6a4f-2673-69a6-9a2f5fce065d'::uuid, 'Tvdb', 4658843)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('800c2f05-6a4f-2673-69a6-9a2f5fce065d'::uuid, 'TvMaze', 494846)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31345 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '800c2f05-6a4f-2673-69a6-9a2f5fce065d'::uuid;

-- Query #31346 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '800c2f05-6a4f-2673-69a6-9a2f5fce065d'::uuid;

-- Query #31347 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Netflix']);

-- Query #31348 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['800c2f05-6a4f-2673-69a6-9a2f5fce065d'::uuid]);

-- Query #31349 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '800c2f05-6a4f-2673-69a6-9a2f5fce065d'::uuid;

-- Query #31350 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31351 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '767d74c1-be7e-a4ad-16ac-cd787e23c261'::uuid;

-- Query #31352 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['767d74c1-be7e-a4ad-16ac-cd787e23c261'::uuid]);

-- Query #31353 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '767d74c1-be7e-a4ad-16ac-cd787e23c261'::uuid;

-- Query #31354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('767d74c1-be7e-a4ad-16ac-cd787e23c261'::uuid, 'Imdb', 'tt3001458')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('767d74c1-be7e-a4ad-16ac-cd787e23c261'::uuid, 'Tmdb', 977454)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('767d74c1-be7e-a4ad-16ac-cd787e23c261'::uuid, 'TmdbCollection', 977454)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('767d74c1-be7e-a4ad-16ac-cd787e23c261'::uuid, 'trakt', 1172328)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('767d74c1-be7e-a4ad-16ac-cd787e23c261'::uuid, 'Tvdb', 4569788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('767d74c1-be7e-a4ad-16ac-cd787e23c261'::uuid, 'TvMaze', 494842)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '767d74c1-be7e-a4ad-16ac-cd787e23c261'::uuid;

-- Query #31361 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '767d74c1-be7e-a4ad-16ac-cd787e23c261'::uuid;

-- Query #31362 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31363 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['767d74c1-be7e-a4ad-16ac-cd787e23c261'::uuid]);

-- Query #31364 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '767d74c1-be7e-a4ad-16ac-cd787e23c261'::uuid;

-- Query #31365 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31366 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3b2e1c7f-6f90-3685-eab8-744a3f005f33'::uuid;

-- Query #31367 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3b2e1c7f-6f90-3685-eab8-744a3f005f33'::uuid]);

-- Query #31368 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3b2e1c7f-6f90-3685-eab8-744a3f005f33'::uuid;

-- Query #31369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2e1c7f-6f90-3685-eab8-744a3f005f33'::uuid, 'Imdb', 'tt2916428')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2e1c7f-6f90-3685-eab8-744a3f005f33'::uuid, 'Tmdb', 977461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2e1c7f-6f90-3685-eab8-744a3f005f33'::uuid, 'TmdbCollection', 977461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2e1c7f-6f90-3685-eab8-744a3f005f33'::uuid, 'trakt', 1173265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2e1c7f-6f90-3685-eab8-744a3f005f33'::uuid, 'Tvdb', 4684079)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3b2e1c7f-6f90-3685-eab8-744a3f005f33'::uuid, 'TvMaze', 494849)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31375 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3b2e1c7f-6f90-3685-eab8-744a3f005f33'::uuid;

-- Query #31376 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3b2e1c7f-6f90-3685-eab8-744a3f005f33'::uuid;

-- Query #31377 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31378 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3b2e1c7f-6f90-3685-eab8-744a3f005f33'::uuid]);

-- Query #31379 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3b2e1c7f-6f90-3685-eab8-744a3f005f33'::uuid;

-- Query #31380 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31381 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #31382 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8cc2cbdf-857a-2b38-563a-9c2d6eb10cae'::uuid;

-- Query #31383 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cc2cbdf-857a-2b38-563a-9c2d6eb10cae'::uuid]);

-- Query #31384 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8cc2cbdf-857a-2b38-563a-9c2d6eb10cae'::uuid;

-- Query #31385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cc2cbdf-857a-2b38-563a-9c2d6eb10cae'::uuid, 'Imdb', 'tt3861812')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cc2cbdf-857a-2b38-563a-9c2d6eb10cae'::uuid, 'Tmdb', 977474)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cc2cbdf-857a-2b38-563a-9c2d6eb10cae'::uuid, 'TmdbCollection', 977474)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cc2cbdf-857a-2b38-563a-9c2d6eb10cae'::uuid, 'trakt', 1174962)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31389 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cc2cbdf-857a-2b38-563a-9c2d6eb10cae'::uuid, 'Tvdb', 4880390)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8cc2cbdf-857a-2b38-563a-9c2d6eb10cae'::uuid, 'TvMaze', 494862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31391 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8cc2cbdf-857a-2b38-563a-9c2d6eb10cae'::uuid;

-- Query #31392 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8cc2cbdf-857a-2b38-563a-9c2d6eb10cae'::uuid;

-- Query #31393 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Animation', '3+Netflix']);

-- Query #31394 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8cc2cbdf-857a-2b38-563a-9c2d6eb10cae'::uuid]);

-- Query #31395 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8cc2cbdf-857a-2b38-563a-9c2d6eb10cae'::uuid;

-- Query #31396 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31397 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '718c7cfc-76f2-e60e-49c5-efb642e0641b'::uuid;

-- Query #31398 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['718c7cfc-76f2-e60e-49c5-efb642e0641b'::uuid]);

-- Query #31399 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '718c7cfc-76f2-e60e-49c5-efb642e0641b'::uuid;

-- Query #31400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('718c7cfc-76f2-e60e-49c5-efb642e0641b'::uuid, 'Imdb', 'tt3861816')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('718c7cfc-76f2-e60e-49c5-efb642e0641b'::uuid, 'Tmdb', 977475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('718c7cfc-76f2-e60e-49c5-efb642e0641b'::uuid, 'TmdbCollection', 977475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('718c7cfc-76f2-e60e-49c5-efb642e0641b'::uuid, 'trakt', 1175063)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('718c7cfc-76f2-e60e-49c5-efb642e0641b'::uuid, 'Tvdb', 4880391)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('718c7cfc-76f2-e60e-49c5-efb642e0641b'::uuid, 'TvMaze', 494863)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31406 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '718c7cfc-76f2-e60e-49c5-efb642e0641b'::uuid;

-- Query #31407 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '718c7cfc-76f2-e60e-49c5-efb642e0641b'::uuid;

-- Query #31408 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31409 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['718c7cfc-76f2-e60e-49c5-efb642e0641b'::uuid]);

-- Query #31410 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '718c7cfc-76f2-e60e-49c5-efb642e0641b'::uuid;

-- Query #31411 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31412 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b330860-8aed-17ed-99b8-35e308a91eac'::uuid;

-- Query #31413 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b330860-8aed-17ed-99b8-35e308a91eac'::uuid]);

-- Query #31414 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2b330860-8aed-17ed-99b8-35e308a91eac'::uuid;

-- Query #31415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b330860-8aed-17ed-99b8-35e308a91eac'::uuid, 'Imdb', 'tt3861902')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b330860-8aed-17ed-99b8-35e308a91eac'::uuid, 'Tmdb', 1700572)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b330860-8aed-17ed-99b8-35e308a91eac'::uuid, 'TmdbCollection', 1700572)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b330860-8aed-17ed-99b8-35e308a91eac'::uuid, 'trakt', 1176038)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31419 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b330860-8aed-17ed-99b8-35e308a91eac'::uuid, 'Tvdb', 4936232)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2b330860-8aed-17ed-99b8-35e308a91eac'::uuid, 'TvMaze', 494875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31421 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b330860-8aed-17ed-99b8-35e308a91eac'::uuid;

-- Query #31422 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2b330860-8aed-17ed-99b8-35e308a91eac'::uuid;

-- Query #31423 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31424 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2b330860-8aed-17ed-99b8-35e308a91eac'::uuid]);

-- Query #31425 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2b330860-8aed-17ed-99b8-35e308a91eac'::uuid;

-- Query #31426 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31427 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0c3e9473-1d12-210d-0459-5e84e359d3f4'::uuid;

-- Query #31428 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0c3e9473-1d12-210d-0459-5e84e359d3f4'::uuid]);

-- Query #31429 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0c3e9473-1d12-210d-0459-5e84e359d3f4'::uuid;

-- Query #31430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c3e9473-1d12-210d-0459-5e84e359d3f4'::uuid, 'Imdb', 'tt3861822')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c3e9473-1d12-210d-0459-5e84e359d3f4'::uuid, 'Tmdb', 1700560)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c3e9473-1d12-210d-0459-5e84e359d3f4'::uuid, 'TmdbCollection', 1700560)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c3e9473-1d12-210d-0459-5e84e359d3f4'::uuid, 'trakt', 1175260)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c3e9473-1d12-210d-0459-5e84e359d3f4'::uuid, 'Tvdb', 4928953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c3e9473-1d12-210d-0459-5e84e359d3f4'::uuid, 'TvMaze', 494865)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31436 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0c3e9473-1d12-210d-0459-5e84e359d3f4'::uuid;

-- Query #31437 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0c3e9473-1d12-210d-0459-5e84e359d3f4'::uuid;

-- Query #31438 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31439 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0c3e9473-1d12-210d-0459-5e84e359d3f4'::uuid]);

-- Query #31440 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0c3e9473-1d12-210d-0459-5e84e359d3f4'::uuid;

-- Query #31441 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31442 | logged_duration_ms=2 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4948feb8-8bc4-f6bd-9f4b-72af96dd1c18'::uuid;

-- Query #31443 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4948feb8-8bc4-f6bd-9f4b-72af96dd1c18'::uuid]);

-- Query #31444 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4948feb8-8bc4-f6bd-9f4b-72af96dd1c18'::uuid;

-- Query #31445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4948feb8-8bc4-f6bd-9f4b-72af96dd1c18'::uuid, 'Imdb', 'tt3861804')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4948feb8-8bc4-f6bd-9f4b-72af96dd1c18'::uuid, 'Tmdb', 977471)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4948feb8-8bc4-f6bd-9f4b-72af96dd1c18'::uuid, 'TmdbCollection', 977471)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4948feb8-8bc4-f6bd-9f4b-72af96dd1c18'::uuid, 'trakt', 1174647)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31449 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4948feb8-8bc4-f6bd-9f4b-72af96dd1c18'::uuid, 'Tvdb', 4880387)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4948feb8-8bc4-f6bd-9f4b-72af96dd1c18'::uuid, 'TvMaze', 494859)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31451 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4948feb8-8bc4-f6bd-9f4b-72af96dd1c18'::uuid;

-- Query #31452 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4948feb8-8bc4-f6bd-9f4b-72af96dd1c18'::uuid;

-- Query #31453 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31454 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4948feb8-8bc4-f6bd-9f4b-72af96dd1c18'::uuid]);

-- Query #31455 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4948feb8-8bc4-f6bd-9f4b-72af96dd1c18'::uuid;

-- Query #31456 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31457 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf9cded7-a428-56c6-3c1f-20315d9eeea4'::uuid;

-- Query #31458 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf9cded7-a428-56c6-3c1f-20315d9eeea4'::uuid]);

-- Query #31459 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bf9cded7-a428-56c6-3c1f-20315d9eeea4'::uuid;

-- Query #31460 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf9cded7-a428-56c6-3c1f-20315d9eeea4'::uuid, 'Imdb', 'tt3861922')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf9cded7-a428-56c6-3c1f-20315d9eeea4'::uuid, 'Tmdb', 1700579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf9cded7-a428-56c6-3c1f-20315d9eeea4'::uuid, 'TmdbCollection', 1700579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf9cded7-a428-56c6-3c1f-20315d9eeea4'::uuid, 'trakt', 1176128)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf9cded7-a428-56c6-3c1f-20315d9eeea4'::uuid, 'Tvdb', 4936238)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf9cded7-a428-56c6-3c1f-20315d9eeea4'::uuid, 'TvMaze', 494881)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31466 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf9cded7-a428-56c6-3c1f-20315d9eeea4'::uuid;

-- Query #31467 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bf9cded7-a428-56c6-3c1f-20315d9eeea4'::uuid;

-- Query #31468 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31469 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bf9cded7-a428-56c6-3c1f-20315d9eeea4'::uuid]);

-- Query #31470 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bf9cded7-a428-56c6-3c1f-20315d9eeea4'::uuid;

-- Query #31471 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31472 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '65b81ac2-20d8-37fd-a84b-0b23e4341e01'::uuid;

-- Query #31473 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65b81ac2-20d8-37fd-a84b-0b23e4341e01'::uuid]);

-- Query #31474 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '65b81ac2-20d8-37fd-a84b-0b23e4341e01'::uuid;

-- Query #31475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65b81ac2-20d8-37fd-a84b-0b23e4341e01'::uuid, 'Tmdb', 1700580)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65b81ac2-20d8-37fd-a84b-0b23e4341e01'::uuid, 'TmdbCollection', 1700580)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31477 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65b81ac2-20d8-37fd-a84b-0b23e4341e01'::uuid, 'trakt', 1176140)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31478 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65b81ac2-20d8-37fd-a84b-0b23e4341e01'::uuid, 'Tvdb', 4936239)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65b81ac2-20d8-37fd-a84b-0b23e4341e01'::uuid, 'TvMaze', 494882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31480 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '65b81ac2-20d8-37fd-a84b-0b23e4341e01'::uuid;

-- Query #31481 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '65b81ac2-20d8-37fd-a84b-0b23e4341e01'::uuid;

-- Query #31482 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Netflix']);

-- Query #31483 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['65b81ac2-20d8-37fd-a84b-0b23e4341e01'::uuid]);

-- Query #31484 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '65b81ac2-20d8-37fd-a84b-0b23e4341e01'::uuid;

-- Query #31485 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31486 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e87acdf-fb80-2158-dc2b-7b9eab0b4a39'::uuid;

-- Query #31487 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e87acdf-fb80-2158-dc2b-7b9eab0b4a39'::uuid]);

-- Query #31488 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8e87acdf-fb80-2158-dc2b-7b9eab0b4a39'::uuid;

-- Query #31489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e87acdf-fb80-2158-dc2b-7b9eab0b4a39'::uuid, 'Imdb', 'tt3861914')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e87acdf-fb80-2158-dc2b-7b9eab0b4a39'::uuid, 'Tmdb', 1700576)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e87acdf-fb80-2158-dc2b-7b9eab0b4a39'::uuid, 'TmdbCollection', 1700576)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e87acdf-fb80-2158-dc2b-7b9eab0b4a39'::uuid, 'trakt', 1176102)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e87acdf-fb80-2158-dc2b-7b9eab0b4a39'::uuid, 'Tvdb', 4936236)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e87acdf-fb80-2158-dc2b-7b9eab0b4a39'::uuid, 'TvMaze', 494879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31495 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e87acdf-fb80-2158-dc2b-7b9eab0b4a39'::uuid;

-- Query #31496 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8e87acdf-fb80-2158-dc2b-7b9eab0b4a39'::uuid;

-- Query #31497 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31498 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8e87acdf-fb80-2158-dc2b-7b9eab0b4a39'::uuid]);

-- Query #31499 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8e87acdf-fb80-2158-dc2b-7b9eab0b4a39'::uuid;

-- Query #31500 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31501 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59ed7b3d-a609-d4b6-e134-ca54d0f382fd'::uuid;

-- Query #31502 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59ed7b3d-a609-d4b6-e134-ca54d0f382fd'::uuid]);

-- Query #31503 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '59ed7b3d-a609-d4b6-e134-ca54d0f382fd'::uuid;

-- Query #31504 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59ed7b3d-a609-d4b6-e134-ca54d0f382fd'::uuid, 'Imdb', 'tt3861810')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59ed7b3d-a609-d4b6-e134-ca54d0f382fd'::uuid, 'Tmdb', 977473)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59ed7b3d-a609-d4b6-e134-ca54d0f382fd'::uuid, 'TmdbCollection', 977473)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31507 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59ed7b3d-a609-d4b6-e134-ca54d0f382fd'::uuid, 'trakt', 1174856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31508 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59ed7b3d-a609-d4b6-e134-ca54d0f382fd'::uuid, 'Tvdb', 4880389)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31509 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59ed7b3d-a609-d4b6-e134-ca54d0f382fd'::uuid, 'TvMaze', 494861)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31510 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59ed7b3d-a609-d4b6-e134-ca54d0f382fd'::uuid;

-- Query #31511 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '59ed7b3d-a609-d4b6-e134-ca54d0f382fd'::uuid;

-- Query #31512 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31513 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['59ed7b3d-a609-d4b6-e134-ca54d0f382fd'::uuid]);

-- Query #31514 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '59ed7b3d-a609-d4b6-e134-ca54d0f382fd'::uuid;

-- Query #31515 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31516 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fc93997-cb9c-30de-d29b-7d3dd27a3507'::uuid;

-- Query #31517 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7fc93997-cb9c-30de-d29b-7d3dd27a3507'::uuid]);

-- Query #31518 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7fc93997-cb9c-30de-d29b-7d3dd27a3507'::uuid;

-- Query #31519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fc93997-cb9c-30de-d29b-7d3dd27a3507'::uuid, 'Imdb', 'tt3861916')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fc93997-cb9c-30de-d29b-7d3dd27a3507'::uuid, 'Tmdb', 1700575)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fc93997-cb9c-30de-d29b-7d3dd27a3507'::uuid, 'TmdbCollection', 1700575)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fc93997-cb9c-30de-d29b-7d3dd27a3507'::uuid, 'trakt', 1176088)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fc93997-cb9c-30de-d29b-7d3dd27a3507'::uuid, 'Tvdb', 4936235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fc93997-cb9c-30de-d29b-7d3dd27a3507'::uuid, 'TvMaze', 494878)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31525 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fc93997-cb9c-30de-d29b-7d3dd27a3507'::uuid;

-- Query #31526 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7fc93997-cb9c-30de-d29b-7d3dd27a3507'::uuid;

-- Query #31527 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31528 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7fc93997-cb9c-30de-d29b-7d3dd27a3507'::uuid]);

-- Query #31529 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7fc93997-cb9c-30de-d29b-7d3dd27a3507'::uuid;

-- Query #31530 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31531 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9b86026-a3f4-46d9-b3a9-acb693cb75b6'::uuid;

-- Query #31532 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9b86026-a3f4-46d9-b3a9-acb693cb75b6'::uuid]);

-- Query #31533 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f9b86026-a3f4-46d9-b3a9-acb693cb75b6'::uuid;

-- Query #31534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9b86026-a3f4-46d9-b3a9-acb693cb75b6'::uuid, 'Imdb', 'tt3861896')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9b86026-a3f4-46d9-b3a9-acb693cb75b6'::uuid, 'Tmdb', 1700568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9b86026-a3f4-46d9-b3a9-acb693cb75b6'::uuid, 'TmdbCollection', 1700568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9b86026-a3f4-46d9-b3a9-acb693cb75b6'::uuid, 'trakt', 1175972)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9b86026-a3f4-46d9-b3a9-acb693cb75b6'::uuid, 'Tvdb', 4936229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31539 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9b86026-a3f4-46d9-b3a9-acb693cb75b6'::uuid, 'TvMaze', 494872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31540 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9b86026-a3f4-46d9-b3a9-acb693cb75b6'::uuid;

-- Query #31541 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f9b86026-a3f4-46d9-b3a9-acb693cb75b6'::uuid;

-- Query #31542 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31543 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f9b86026-a3f4-46d9-b3a9-acb693cb75b6'::uuid]);

-- Query #31544 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f9b86026-a3f4-46d9-b3a9-acb693cb75b6'::uuid;

-- Query #31545 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31546 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3973d475-824b-3b68-811e-6ab7999e6087'::uuid;

-- Query #31547 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3973d475-824b-3b68-811e-6ab7999e6087'::uuid]);

-- Query #31548 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3973d475-824b-3b68-811e-6ab7999e6087'::uuid;

-- Query #31549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3973d475-824b-3b68-811e-6ab7999e6087'::uuid, 'Imdb', 'tt3861920')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3973d475-824b-3b68-811e-6ab7999e6087'::uuid, 'Tvdb', 4936237)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3973d475-824b-3b68-811e-6ab7999e6087'::uuid, 'TvMaze', 494880)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31552 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3973d475-824b-3b68-811e-6ab7999e6087'::uuid;

-- Query #31553 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3973d475-824b-3b68-811e-6ab7999e6087'::uuid;

-- Query #31554 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31555 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3973d475-824b-3b68-811e-6ab7999e6087'::uuid]);

-- Query #31556 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3973d475-824b-3b68-811e-6ab7999e6087'::uuid;

-- Query #31557 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31558 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bdf917f9-5857-2e75-6f07-7786d64e631d'::uuid;

-- Query #31559 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdf917f9-5857-2e75-6f07-7786d64e631d'::uuid]);

-- Query #31560 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bdf917f9-5857-2e75-6f07-7786d64e631d'::uuid;

-- Query #31561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdf917f9-5857-2e75-6f07-7786d64e631d'::uuid, 'Imdb', 'tt3861884')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdf917f9-5857-2e75-6f07-7786d64e631d'::uuid, 'Tmdb', 1700563)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31563 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdf917f9-5857-2e75-6f07-7786d64e631d'::uuid, 'TmdbCollection', 1700563)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdf917f9-5857-2e75-6f07-7786d64e631d'::uuid, 'trakt', 1175448)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdf917f9-5857-2e75-6f07-7786d64e631d'::uuid, 'Tvdb', 4932987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdf917f9-5857-2e75-6f07-7786d64e631d'::uuid, 'TvMaze', 494867)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bdf917f9-5857-2e75-6f07-7786d64e631d'::uuid;

-- Query #31568 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bdf917f9-5857-2e75-6f07-7786d64e631d'::uuid;

-- Query #31569 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31570 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bdf917f9-5857-2e75-6f07-7786d64e631d'::uuid]);

-- Query #31571 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bdf917f9-5857-2e75-6f07-7786d64e631d'::uuid;

-- Query #31572 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31573 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '15a02dc4-b3ac-3bee-3741-c7dfcb2d4b82'::uuid;

-- Query #31574 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['15a02dc4-b3ac-3bee-3741-c7dfcb2d4b82'::uuid]);

-- Query #31575 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '15a02dc4-b3ac-3bee-3741-c7dfcb2d4b82'::uuid;

-- Query #31576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15a02dc4-b3ac-3bee-3741-c7dfcb2d4b82'::uuid, 'Imdb', 'tt3861880')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15a02dc4-b3ac-3bee-3741-c7dfcb2d4b82'::uuid, 'Tmdb', 1700562)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31578 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15a02dc4-b3ac-3bee-3741-c7dfcb2d4b82'::uuid, 'TmdbCollection', 1700562)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15a02dc4-b3ac-3bee-3741-c7dfcb2d4b82'::uuid, 'trakt', 1175350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31580 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15a02dc4-b3ac-3bee-3741-c7dfcb2d4b82'::uuid, 'Tvdb', 4932984)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('15a02dc4-b3ac-3bee-3741-c7dfcb2d4b82'::uuid, 'TvMaze', 494866)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31582 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '15a02dc4-b3ac-3bee-3741-c7dfcb2d4b82'::uuid;

-- Query #31583 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '15a02dc4-b3ac-3bee-3741-c7dfcb2d4b82'::uuid;

-- Query #31584 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31585 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['15a02dc4-b3ac-3bee-3741-c7dfcb2d4b82'::uuid]);

-- Query #31586 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '15a02dc4-b3ac-3bee-3741-c7dfcb2d4b82'::uuid;

-- Query #31587 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31588 | logged_duration_ms=3 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2af898ec-d2b9-1d3b-6c61-c64164c126a2'::uuid;

-- Query #31589 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2af898ec-d2b9-1d3b-6c61-c64164c126a2'::uuid]);

-- Query #31590 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2af898ec-d2b9-1d3b-6c61-c64164c126a2'::uuid;

-- Query #31591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2af898ec-d2b9-1d3b-6c61-c64164c126a2'::uuid, 'Imdb', 'tt3861888')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31592 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2af898ec-d2b9-1d3b-6c61-c64164c126a2'::uuid, 'Tmdb', 1700565)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31593 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2af898ec-d2b9-1d3b-6c61-c64164c126a2'::uuid, 'TmdbCollection', 1700565)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2af898ec-d2b9-1d3b-6c61-c64164c126a2'::uuid, 'trakt', 1175677)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2af898ec-d2b9-1d3b-6c61-c64164c126a2'::uuid, 'Tvdb', 4936226)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2af898ec-d2b9-1d3b-6c61-c64164c126a2'::uuid, 'TvMaze', 494869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31597 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2af898ec-d2b9-1d3b-6c61-c64164c126a2'::uuid;

-- Query #31598 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2af898ec-d2b9-1d3b-6c61-c64164c126a2'::uuid;

-- Query #31599 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31600 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2af898ec-d2b9-1d3b-6c61-c64164c126a2'::uuid]);

-- Query #31601 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2af898ec-d2b9-1d3b-6c61-c64164c126a2'::uuid;

-- Query #31602 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31603 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6b8f59b-e09b-73bc-a000-552a2915cc38'::uuid;

-- Query #31604 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6b8f59b-e09b-73bc-a000-552a2915cc38'::uuid]);

-- Query #31605 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e6b8f59b-e09b-73bc-a000-552a2915cc38'::uuid;

-- Query #31606 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6b8f59b-e09b-73bc-a000-552a2915cc38'::uuid, 'Imdb', 'tt3861882')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31607 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6b8f59b-e09b-73bc-a000-552a2915cc38'::uuid, 'Tmdb', 1700564)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31608 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6b8f59b-e09b-73bc-a000-552a2915cc38'::uuid, 'TmdbCollection', 1700564)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31609 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6b8f59b-e09b-73bc-a000-552a2915cc38'::uuid, 'trakt', 1175551)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6b8f59b-e09b-73bc-a000-552a2915cc38'::uuid, 'Tvdb', 4936225)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6b8f59b-e09b-73bc-a000-552a2915cc38'::uuid, 'TvMaze', 494868)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31612 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6b8f59b-e09b-73bc-a000-552a2915cc38'::uuid;

-- Query #31613 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e6b8f59b-e09b-73bc-a000-552a2915cc38'::uuid;

-- Query #31614 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31615 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e6b8f59b-e09b-73bc-a000-552a2915cc38'::uuid]);

-- Query #31616 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e6b8f59b-e09b-73bc-a000-552a2915cc38'::uuid;

-- Query #31617 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31618 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab73fb2f-bab9-aeff-d7a8-32d5571414a2'::uuid;

-- Query #31619 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab73fb2f-bab9-aeff-d7a8-32d5571414a2'::uuid]);

-- Query #31620 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ab73fb2f-bab9-aeff-d7a8-32d5571414a2'::uuid;

-- Query #31621 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab73fb2f-bab9-aeff-d7a8-32d5571414a2'::uuid, 'Tmdb', 1700567)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab73fb2f-bab9-aeff-d7a8-32d5571414a2'::uuid, 'TmdbCollection', 1700567)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab73fb2f-bab9-aeff-d7a8-32d5571414a2'::uuid, 'trakt', 1175864)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab73fb2f-bab9-aeff-d7a8-32d5571414a2'::uuid, 'Tvdb', 4936228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31625 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab73fb2f-bab9-aeff-d7a8-32d5571414a2'::uuid, 'TvMaze', 494871)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31626 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab73fb2f-bab9-aeff-d7a8-32d5571414a2'::uuid;

-- Query #31627 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ab73fb2f-bab9-aeff-d7a8-32d5571414a2'::uuid;

-- Query #31628 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Netflix']);

-- Query #31629 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ab73fb2f-bab9-aeff-d7a8-32d5571414a2'::uuid]);

-- Query #31630 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ab73fb2f-bab9-aeff-d7a8-32d5571414a2'::uuid;

-- Query #31631 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31632 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60a20621-569a-1661-ea84-1ce51aa21559'::uuid;

-- Query #31633 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['60a20621-569a-1661-ea84-1ce51aa21559'::uuid]);

-- Query #31634 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '60a20621-569a-1661-ea84-1ce51aa21559'::uuid;

-- Query #31635 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a20621-569a-1661-ea84-1ce51aa21559'::uuid, 'Imdb', 'tt3861894')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31636 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a20621-569a-1661-ea84-1ce51aa21559'::uuid, 'Tmdb', 1700570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a20621-569a-1661-ea84-1ce51aa21559'::uuid, 'TmdbCollection', 1700570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a20621-569a-1661-ea84-1ce51aa21559'::uuid, 'trakt', 1176012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a20621-569a-1661-ea84-1ce51aa21559'::uuid, 'Tvdb', 4936230)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60a20621-569a-1661-ea84-1ce51aa21559'::uuid, 'TvMaze', 494873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31641 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60a20621-569a-1661-ea84-1ce51aa21559'::uuid;

-- Query #31642 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '60a20621-569a-1661-ea84-1ce51aa21559'::uuid;

-- Query #31643 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31644 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['60a20621-569a-1661-ea84-1ce51aa21559'::uuid]);

-- Query #31645 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '60a20621-569a-1661-ea84-1ce51aa21559'::uuid;

-- Query #31646 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31647 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '051b054a-1216-4571-556b-a60861e6b7f0'::uuid;

-- Query #31648 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['051b054a-1216-4571-556b-a60861e6b7f0'::uuid]);

-- Query #31649 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '051b054a-1216-4571-556b-a60861e6b7f0'::uuid;

-- Query #31650 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('051b054a-1216-4571-556b-a60861e6b7f0'::uuid, 'Imdb', 'tt3861910')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('051b054a-1216-4571-556b-a60861e6b7f0'::uuid, 'Tmdb', 1700574)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31652 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('051b054a-1216-4571-556b-a60861e6b7f0'::uuid, 'TmdbCollection', 1700574)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('051b054a-1216-4571-556b-a60861e6b7f0'::uuid, 'trakt', 1176065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('051b054a-1216-4571-556b-a60861e6b7f0'::uuid, 'Tvdb', 4936234)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('051b054a-1216-4571-556b-a60861e6b7f0'::uuid, 'TvMaze', 494877)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31656 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '051b054a-1216-4571-556b-a60861e6b7f0'::uuid;

-- Query #31657 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '051b054a-1216-4571-556b-a60861e6b7f0'::uuid;

-- Query #31658 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31659 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['051b054a-1216-4571-556b-a60861e6b7f0'::uuid]);

-- Query #31660 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '051b054a-1216-4571-556b-a60861e6b7f0'::uuid;

-- Query #31661 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31662 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2c3b171-b915-3cc4-f258-82af0cf65183'::uuid;

-- Query #31663 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2c3b171-b915-3cc4-f258-82af0cf65183'::uuid]);

-- Query #31664 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f2c3b171-b915-3cc4-f258-82af0cf65183'::uuid;

-- Query #31665 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2c3b171-b915-3cc4-f258-82af0cf65183'::uuid, 'Tvdb', 4936233)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31666 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2c3b171-b915-3cc4-f258-82af0cf65183'::uuid, 'TvMaze', 494876)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31667 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2c3b171-b915-3cc4-f258-82af0cf65183'::uuid;

-- Query #31668 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f2c3b171-b915-3cc4-f258-82af0cf65183'::uuid;

-- Query #31669 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Netflix']);

-- Query #31670 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f2c3b171-b915-3cc4-f258-82af0cf65183'::uuid]);

-- Query #31671 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f2c3b171-b915-3cc4-f258-82af0cf65183'::uuid;

-- Query #31672 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31673 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '813c040c-30b1-1c19-d840-69c373d5b453'::uuid;

-- Query #31674 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['813c040c-30b1-1c19-d840-69c373d5b453'::uuid]);

-- Query #31675 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '813c040c-30b1-1c19-d840-69c373d5b453'::uuid;

-- Query #31676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('813c040c-30b1-1c19-d840-69c373d5b453'::uuid, 'Imdb', 'tt3861820')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('813c040c-30b1-1c19-d840-69c373d5b453'::uuid, 'Tmdb', 1700559)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31678 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('813c040c-30b1-1c19-d840-69c373d5b453'::uuid, 'TmdbCollection', 1700559)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31679 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('813c040c-30b1-1c19-d840-69c373d5b453'::uuid, 'trakt', 1175180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31680 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('813c040c-30b1-1c19-d840-69c373d5b453'::uuid, 'Tvdb', 4928952)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31681 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('813c040c-30b1-1c19-d840-69c373d5b453'::uuid, 'TvMaze', 494864)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31682 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '813c040c-30b1-1c19-d840-69c373d5b453'::uuid;

-- Query #31683 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '813c040c-30b1-1c19-d840-69c373d5b453'::uuid;

-- Query #31684 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Animation', '3+Netflix']);

-- Query #31685 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['813c040c-30b1-1c19-d840-69c373d5b453'::uuid]);

-- Query #31686 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '813c040c-30b1-1c19-d840-69c373d5b453'::uuid;

-- Query #31687 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31688 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5b83150-11b3-e79e-2f32-0fe6eb05e52b'::uuid;

-- Query #31689 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5b83150-11b3-e79e-2f32-0fe6eb05e52b'::uuid]);

-- Query #31690 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e5b83150-11b3-e79e-2f32-0fe6eb05e52b'::uuid;

-- Query #31691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5b83150-11b3-e79e-2f32-0fe6eb05e52b'::uuid, 'Imdb', 'tt3861796')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5b83150-11b3-e79e-2f32-0fe6eb05e52b'::uuid, 'Tmdb', 977469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5b83150-11b3-e79e-2f32-0fe6eb05e52b'::uuid, 'TmdbCollection', 977469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31694 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5b83150-11b3-e79e-2f32-0fe6eb05e52b'::uuid, 'trakt', 1174428)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31695 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5b83150-11b3-e79e-2f32-0fe6eb05e52b'::uuid, 'Tvdb', 4880385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31696 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5b83150-11b3-e79e-2f32-0fe6eb05e52b'::uuid, 'TvMaze', 494857)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31697 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5b83150-11b3-e79e-2f32-0fe6eb05e52b'::uuid;

-- Query #31698 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e5b83150-11b3-e79e-2f32-0fe6eb05e52b'::uuid;

-- Query #31699 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Animation', '3+Netflix']);

-- Query #31700 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e5b83150-11b3-e79e-2f32-0fe6eb05e52b'::uuid]);

-- Query #31701 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e5b83150-11b3-e79e-2f32-0fe6eb05e52b'::uuid;

-- Query #31702 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31703 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '19905b56-a2cf-05f5-9283-05cf3c8f4fd4'::uuid;

-- Query #31704 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['19905b56-a2cf-05f5-9283-05cf3c8f4fd4'::uuid]);

-- Query #31705 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '19905b56-a2cf-05f5-9283-05cf3c8f4fd4'::uuid;

-- Query #31706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19905b56-a2cf-05f5-9283-05cf3c8f4fd4'::uuid, 'Imdb', 'tt3861798')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19905b56-a2cf-05f5-9283-05cf3c8f4fd4'::uuid, 'Tmdb', 977470)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19905b56-a2cf-05f5-9283-05cf3c8f4fd4'::uuid, 'TmdbCollection', 977470)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19905b56-a2cf-05f5-9283-05cf3c8f4fd4'::uuid, 'trakt', 1174533)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19905b56-a2cf-05f5-9283-05cf3c8f4fd4'::uuid, 'Tvdb', 4880386)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19905b56-a2cf-05f5-9283-05cf3c8f4fd4'::uuid, 'TvMaze', 494858)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31712 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '19905b56-a2cf-05f5-9283-05cf3c8f4fd4'::uuid;

-- Query #31713 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '19905b56-a2cf-05f5-9283-05cf3c8f4fd4'::uuid;

-- Query #31714 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Animation', '3+Netflix']);

-- Query #31715 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['19905b56-a2cf-05f5-9283-05cf3c8f4fd4'::uuid]);

-- Query #31716 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '19905b56-a2cf-05f5-9283-05cf3c8f4fd4'::uuid;

-- Query #31717 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31718 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e8f97f7-db1d-9391-de1e-1f5058464659'::uuid;

-- Query #31719 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4e8f97f7-db1d-9391-de1e-1f5058464659'::uuid]);

-- Query #31720 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4e8f97f7-db1d-9391-de1e-1f5058464659'::uuid;

-- Query #31721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4e8f97f7-db1d-9391-de1e-1f5058464659'::uuid, 'Tvdb', 5744496)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31722 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e8f97f7-db1d-9391-de1e-1f5058464659'::uuid;

-- Query #31723 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4e8f97f7-db1d-9391-de1e-1f5058464659'::uuid;

-- Query #31724 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Animation', '3+Netflix']);

-- Query #31725 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4e8f97f7-db1d-9391-de1e-1f5058464659'::uuid]);

-- Query #31726 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4e8f97f7-db1d-9391-de1e-1f5058464659'::uuid;

-- Query #31727 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31728 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b283a1c4-db9d-f734-cfa1-788ac154cd1b'::uuid;

-- Query #31729 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b283a1c4-db9d-f734-cfa1-788ac154cd1b'::uuid]);

-- Query #31730 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b283a1c4-db9d-f734-cfa1-788ac154cd1b'::uuid;

-- Query #31731 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b283a1c4-db9d-f734-cfa1-788ac154cd1b'::uuid, 'Tvdb', 5744497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31732 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b283a1c4-db9d-f734-cfa1-788ac154cd1b'::uuid;

-- Query #31733 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b283a1c4-db9d-f734-cfa1-788ac154cd1b'::uuid;

-- Query #31734 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Animation', '3+Netflix']);

-- Query #31735 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b283a1c4-db9d-f734-cfa1-788ac154cd1b'::uuid]);

-- Query #31736 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b283a1c4-db9d-f734-cfa1-788ac154cd1b'::uuid;

-- Query #31737 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31738 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af68631f-78d5-e0dc-f9a8-add908fb84be'::uuid;

-- Query #31739 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af68631f-78d5-e0dc-f9a8-add908fb84be'::uuid]);

-- Query #31740 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'af68631f-78d5-e0dc-f9a8-add908fb84be'::uuid;

-- Query #31741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af68631f-78d5-e0dc-f9a8-add908fb84be'::uuid, 'TvMaze', 1327936)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31742 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af68631f-78d5-e0dc-f9a8-add908fb84be'::uuid, 'Tvdb', 5744499)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31743 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af68631f-78d5-e0dc-f9a8-add908fb84be'::uuid;

-- Query #31744 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'af68631f-78d5-e0dc-f9a8-add908fb84be'::uuid;

-- Query #31745 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Animation', '3+Netflix']);

-- Query #31746 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['af68631f-78d5-e0dc-f9a8-add908fb84be'::uuid]);

-- Query #31747 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'af68631f-78d5-e0dc-f9a8-add908fb84be'::uuid;

-- Query #31748 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31749 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #31750 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1357264-bf1c-9ad8-944c-86590697533f'::uuid;

-- Query #31751 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e1357264-bf1c-9ad8-944c-86590697533f'::uuid]);

-- Query #31752 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e1357264-bf1c-9ad8-944c-86590697533f'::uuid;

-- Query #31753 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1357264-bf1c-9ad8-944c-86590697533f'::uuid, 'TvMaze', 1327937)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1357264-bf1c-9ad8-944c-86590697533f'::uuid, 'Tvdb', 5744502)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31755 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1357264-bf1c-9ad8-944c-86590697533f'::uuid;

-- Query #31756 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e1357264-bf1c-9ad8-944c-86590697533f'::uuid;

-- Query #31757 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Animation', '3+Netflix']);

-- Query #31758 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e1357264-bf1c-9ad8-944c-86590697533f'::uuid]);

-- Query #31759 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e1357264-bf1c-9ad8-944c-86590697533f'::uuid;

-- Query #31760 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31761 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6bc594c9-6001-8cc9-c82a-0fcee8c2d85c'::uuid;

-- Query #31762 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6bc594c9-6001-8cc9-c82a-0fcee8c2d85c'::uuid]);

-- Query #31763 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6bc594c9-6001-8cc9-c82a-0fcee8c2d85c'::uuid;

-- Query #31764 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bc594c9-6001-8cc9-c82a-0fcee8c2d85c'::uuid, 'Tvdb', 5744494)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31765 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6bc594c9-6001-8cc9-c82a-0fcee8c2d85c'::uuid;

-- Query #31766 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6bc594c9-6001-8cc9-c82a-0fcee8c2d85c'::uuid;

-- Query #31767 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Animation', '3+Netflix']);

-- Query #31768 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6bc594c9-6001-8cc9-c82a-0fcee8c2d85c'::uuid]);

-- Query #31769 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6bc594c9-6001-8cc9-c82a-0fcee8c2d85c'::uuid;

-- Query #31770 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31771 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b2710c48-3e8c-3237-f4b2-028942e85653'::uuid;

-- Query #31772 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid]);

-- Query #31773 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b2710c48-3e8c-3237-f4b2-028942e85653'::uuid;

-- Query #31774 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, 'TvMaze', 1327936)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, 'Tvdb', 5744498)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31776 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b2710c48-3e8c-3237-f4b2-028942e85653'::uuid;

-- Query #31777 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b2710c48-3e8c-3237-f4b2-028942e85653'::uuid;

-- Query #31778 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Animation', '3+Netflix']);

-- Query #31779 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid]);

-- Query #31780 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b2710c48-3e8c-3237-f4b2-028942e85653'::uuid;

-- Query #31781 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31782 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid;

-- Query #31783 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid]);

-- Query #31784 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid;

-- Query #31785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'TvMaze', 1327937)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'Tvdb', 5744501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31787 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid;

-- Query #31788 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid;

-- Query #31789 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Animation', '3+Netflix']);

-- Query #31790 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid]);

-- Query #31791 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid;

-- Query #31792 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid, '3800a577-b868-d896-9f30-525e422c473f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31793 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3800a577-b868-d896-9f30-525e422c473f'::uuid
ORDER BY b."SortName";

-- Query #31794 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid])
ORDER BY b."Id";

-- Query #31795 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid])
ORDER BY b."Id";

-- Query #31796 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid])
ORDER BY b."Id";

-- Query #31797 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid])
ORDER BY b."Id";

-- Query #31798 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid, '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid, '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid, '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid])
ORDER BY b."Id";

-- Query #31799 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3724cd93-dfa2-2028-3bc8-abde7eda096c'::uuid
ORDER BY b."SortName";

-- Query #31800 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '68a88711-59a7-1be0-905b-2b9f3b2ec8bd'::uuid
ORDER BY b."SortName";

-- Query #31801 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4961b69e-168b-d2e3-b80f-39b3b0dacfec'::uuid
ORDER BY b."SortName";

-- Query #31802 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '36e5dfaf-be56-0de5-129d-9dd4dea84653'::uuid
ORDER BY b."SortName";

-- Query #31803 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'b626529b-aefa-1dfe-d901-478f0ddd7f7b'::uuid])
ORDER BY b."Id";

-- Query #31804 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'b626529b-aefa-1dfe-d901-478f0ddd7f7b'::uuid])
ORDER BY b."Id";

-- Query #31805 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'b626529b-aefa-1dfe-d901-478f0ddd7f7b'::uuid])
ORDER BY b."Id";

-- Query #31806 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'b626529b-aefa-1dfe-d901-478f0ddd7f7b'::uuid])
ORDER BY b."Id";

-- Query #31807 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['b2710c48-3e8c-3237-f4b2-028942e85653'::uuid, '89a9b78d-8fad-2cf7-4a9a-0dcad07ffa8b'::uuid, 'b626529b-aefa-1dfe-d901-478f0ddd7f7b'::uuid])
ORDER BY b."Id";

-- Query #31808 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '3800a577b868d8969f30525e422c473f'
ORDER BY b."SortName", b."Name";

-- Query #31809 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid
ORDER BY b."SortName";

-- Query #31810 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid])
ORDER BY b."Id";

-- Query #31811 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid])
ORDER BY b."Id";

-- Query #31812 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid])
ORDER BY b."Id";

-- Query #31813 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid])
ORDER BY b."Id";

-- Query #31814 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid])
ORDER BY b."Id";

-- Query #31815 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid
ORDER BY b."SortName";

-- Query #31816 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid;

-- Query #31817 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid]);

-- Query #31818 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid;

-- Query #31819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, 'Imdb', 'tt14690802')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, 'Tmdb', 205214)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, 'TmdbCollection', 205214)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, 'Tvdb', 403256)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31823 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, 'TvMaze', 65898)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, 'wikidata', 'Q121314793')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31825 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid;

-- Query #31826 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid;

-- Query #31827 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid]);

-- Query #31828 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid;

-- Query #31829 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31830 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '73eb51d04b6a6b4a328a0fc42f3c43a1'
ORDER BY b."SortName", b."Name";

-- Query #31831 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid
ORDER BY b."SortName";

-- Query #31832 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid])
ORDER BY b."Id";

-- Query #31833 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid])
ORDER BY b."Id";

-- Query #31834 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid])
ORDER BY b."Id";

-- Query #31835 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid])
ORDER BY b."Id";

-- Query #31836 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid])
ORDER BY b."Id";

-- Query #31837 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid
ORDER BY b."SortName";

-- Query #31838 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '73eb51d04b6a6b4a328a0fc42f3c43a1'
ORDER BY b."SortName", b."Name";

-- Query #31839 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid;

-- Query #31840 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid]);

-- Query #31841 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid;

-- Query #31842 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid, 'Tvdb', 403256)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid, 'Tmdb', 205214)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid, 'Imdb', 'tt14690802')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31845 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid, 'TvMaze', 65898)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid, 'wikidata', 'Q121314793')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31847 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid, 'TmdbCollection', 205214)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31848 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid;

-- Query #31849 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid;

-- Query #31850 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid]);

-- Query #31851 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid;

-- Query #31852 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31853 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'afaf1533-500c-6a05-724b-a51844446bac'::uuid;

-- Query #31854 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afaf1533-500c-6a05-724b-a51844446bac'::uuid]);

-- Query #31855 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'afaf1533-500c-6a05-724b-a51844446bac'::uuid;

-- Query #31856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afaf1533-500c-6a05-724b-a51844446bac'::uuid, 'Imdb', 'tt27651999')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afaf1533-500c-6a05-724b-a51844446bac'::uuid, 'Tmdb', 4407675)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afaf1533-500c-6a05-724b-a51844446bac'::uuid, 'trakt', 7523404)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afaf1533-500c-6a05-724b-a51844446bac'::uuid, 'TvMaze', 2618412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afaf1533-500c-6a05-724b-a51844446bac'::uuid, 'Tvdb', 9946732)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('afaf1533-500c-6a05-724b-a51844446bac'::uuid, 'TmdbCollection', 4407675)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31862 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'afaf1533-500c-6a05-724b-a51844446bac'::uuid;

-- Query #31863 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'afaf1533-500c-6a05-724b-a51844446bac'::uuid;

-- Query #31864 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['afaf1533-500c-6a05-724b-a51844446bac'::uuid]);

-- Query #31865 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'afaf1533-500c-6a05-724b-a51844446bac'::uuid;

-- Query #31866 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid, '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31867 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd37ace01-bcd0-cb8c-1f2b-ae55bf35c6e0'::uuid;

-- Query #31868 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d37ace01-bcd0-cb8c-1f2b-ae55bf35c6e0'::uuid]);

-- Query #31869 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd37ace01-bcd0-cb8c-1f2b-ae55bf35c6e0'::uuid;

-- Query #31870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37ace01-bcd0-cb8c-1f2b-ae55bf35c6e0'::uuid, 'TmdbCollection', 4407677)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31871 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37ace01-bcd0-cb8c-1f2b-ae55bf35c6e0'::uuid, 'Imdb', 'tt27652003')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37ace01-bcd0-cb8c-1f2b-ae55bf35c6e0'::uuid, 'Tmdb', 4407677)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37ace01-bcd0-cb8c-1f2b-ae55bf35c6e0'::uuid, 'trakt', 7523408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31874 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37ace01-bcd0-cb8c-1f2b-ae55bf35c6e0'::uuid, 'TvMaze', 2618414)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31875 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d37ace01-bcd0-cb8c-1f2b-ae55bf35c6e0'::uuid, 'Tvdb', 9946734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31876 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd37ace01-bcd0-cb8c-1f2b-ae55bf35c6e0'::uuid;

-- Query #31877 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd37ace01-bcd0-cb8c-1f2b-ae55bf35c6e0'::uuid;

-- Query #31878 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d37ace01-bcd0-cb8c-1f2b-ae55bf35c6e0'::uuid]);

-- Query #31879 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd37ace01-bcd0-cb8c-1f2b-ae55bf35c6e0'::uuid;

-- Query #31880 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid, '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31881 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'edb72f16-02d3-2059-eaea-88e25645fe85'::uuid;

-- Query #31882 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['edb72f16-02d3-2059-eaea-88e25645fe85'::uuid]);

-- Query #31883 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'edb72f16-02d3-2059-eaea-88e25645fe85'::uuid;

-- Query #31884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('edb72f16-02d3-2059-eaea-88e25645fe85'::uuid, 'TmdbCollection', 4407676)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('edb72f16-02d3-2059-eaea-88e25645fe85'::uuid, 'Imdb', 'tt27652000')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('edb72f16-02d3-2059-eaea-88e25645fe85'::uuid, 'Tmdb', 4407676)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('edb72f16-02d3-2059-eaea-88e25645fe85'::uuid, 'trakt', 7523406)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('edb72f16-02d3-2059-eaea-88e25645fe85'::uuid, 'TvMaze', 2618413)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('edb72f16-02d3-2059-eaea-88e25645fe85'::uuid, 'Tvdb', 9946733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31890 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'edb72f16-02d3-2059-eaea-88e25645fe85'::uuid;

-- Query #31891 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'edb72f16-02d3-2059-eaea-88e25645fe85'::uuid;

-- Query #31892 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['edb72f16-02d3-2059-eaea-88e25645fe85'::uuid]);

-- Query #31893 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'edb72f16-02d3-2059-eaea-88e25645fe85'::uuid;

-- Query #31894 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid, '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31895 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1337e434-bf9f-854c-9acd-b27453d7edc5'::uuid;

-- Query #31896 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1337e434-bf9f-854c-9acd-b27453d7edc5'::uuid]);

-- Query #31897 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1337e434-bf9f-854c-9acd-b27453d7edc5'::uuid;

-- Query #31898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1337e434-bf9f-854c-9acd-b27453d7edc5'::uuid, 'Imdb', 'tt27651995')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31899 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1337e434-bf9f-854c-9acd-b27453d7edc5'::uuid, 'Tmdb', 4407670)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31900 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1337e434-bf9f-854c-9acd-b27453d7edc5'::uuid, 'trakt', 7523393)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31901 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1337e434-bf9f-854c-9acd-b27453d7edc5'::uuid, 'TvMaze', 2618407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1337e434-bf9f-854c-9acd-b27453d7edc5'::uuid, 'Tvdb', 9946727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1337e434-bf9f-854c-9acd-b27453d7edc5'::uuid, 'TmdbCollection', 4407670)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31904 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1337e434-bf9f-854c-9acd-b27453d7edc5'::uuid;

-- Query #31905 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1337e434-bf9f-854c-9acd-b27453d7edc5'::uuid;

-- Query #31906 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1337e434-bf9f-854c-9acd-b27453d7edc5'::uuid]);

-- Query #31907 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1337e434-bf9f-854c-9acd-b27453d7edc5'::uuid;

-- Query #31908 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid, '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31909 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '282c2842-044c-ce35-86ad-4a42019cbfc0'::uuid;

-- Query #31910 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['282c2842-044c-ce35-86ad-4a42019cbfc0'::uuid]);

-- Query #31911 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '282c2842-044c-ce35-86ad-4a42019cbfc0'::uuid;

-- Query #31912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('282c2842-044c-ce35-86ad-4a42019cbfc0'::uuid, 'Imdb', 'tt27651996')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('282c2842-044c-ce35-86ad-4a42019cbfc0'::uuid, 'Tmdb', 4407672)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('282c2842-044c-ce35-86ad-4a42019cbfc0'::uuid, 'trakt', 7523398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31915 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('282c2842-044c-ce35-86ad-4a42019cbfc0'::uuid, 'TvMaze', 2618409)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31916 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('282c2842-044c-ce35-86ad-4a42019cbfc0'::uuid, 'Tvdb', 9946729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31917 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('282c2842-044c-ce35-86ad-4a42019cbfc0'::uuid, 'TmdbCollection', 4407672)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31918 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '282c2842-044c-ce35-86ad-4a42019cbfc0'::uuid;

-- Query #31919 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '282c2842-044c-ce35-86ad-4a42019cbfc0'::uuid;

-- Query #31920 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['282c2842-044c-ce35-86ad-4a42019cbfc0'::uuid]);

-- Query #31921 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '282c2842-044c-ce35-86ad-4a42019cbfc0'::uuid;

-- Query #31922 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid, '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31923 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '500cddd0-f76c-9594-7d26-e1a57316d55d'::uuid;

-- Query #31924 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['500cddd0-f76c-9594-7d26-e1a57316d55d'::uuid]);

-- Query #31925 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '500cddd0-f76c-9594-7d26-e1a57316d55d'::uuid;

-- Query #31926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('500cddd0-f76c-9594-7d26-e1a57316d55d'::uuid, 'TmdbCollection', 4407673)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('500cddd0-f76c-9594-7d26-e1a57316d55d'::uuid, 'Imdb', 'tt27651998')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31928 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('500cddd0-f76c-9594-7d26-e1a57316d55d'::uuid, 'Tmdb', 4407673)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31929 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('500cddd0-f76c-9594-7d26-e1a57316d55d'::uuid, 'trakt', 7523400)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31930 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('500cddd0-f76c-9594-7d26-e1a57316d55d'::uuid, 'TvMaze', 2618410)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31931 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('500cddd0-f76c-9594-7d26-e1a57316d55d'::uuid, 'Tvdb', 9946730)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31932 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '500cddd0-f76c-9594-7d26-e1a57316d55d'::uuid;

-- Query #31933 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '500cddd0-f76c-9594-7d26-e1a57316d55d'::uuid;

-- Query #31934 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['500cddd0-f76c-9594-7d26-e1a57316d55d'::uuid]);

-- Query #31935 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '500cddd0-f76c-9594-7d26-e1a57316d55d'::uuid;

-- Query #31936 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid, '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31937 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'be178e3f-1eac-cbd9-11ef-1b1ea0892d37'::uuid;

-- Query #31938 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be178e3f-1eac-cbd9-11ef-1b1ea0892d37'::uuid]);

-- Query #31939 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'be178e3f-1eac-cbd9-11ef-1b1ea0892d37'::uuid;

-- Query #31940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be178e3f-1eac-cbd9-11ef-1b1ea0892d37'::uuid, 'Imdb', 'tt27651994')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31941 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be178e3f-1eac-cbd9-11ef-1b1ea0892d37'::uuid, 'Tmdb', 4407671)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31942 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be178e3f-1eac-cbd9-11ef-1b1ea0892d37'::uuid, 'trakt', 7523396)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31943 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be178e3f-1eac-cbd9-11ef-1b1ea0892d37'::uuid, 'TvMaze', 2618408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31944 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be178e3f-1eac-cbd9-11ef-1b1ea0892d37'::uuid, 'Tvdb', 9946728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31945 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be178e3f-1eac-cbd9-11ef-1b1ea0892d37'::uuid, 'TmdbCollection', 4407671)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31946 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'be178e3f-1eac-cbd9-11ef-1b1ea0892d37'::uuid;

-- Query #31947 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'be178e3f-1eac-cbd9-11ef-1b1ea0892d37'::uuid;

-- Query #31948 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['be178e3f-1eac-cbd9-11ef-1b1ea0892d37'::uuid]);

-- Query #31949 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'be178e3f-1eac-cbd9-11ef-1b1ea0892d37'::uuid;

-- Query #31950 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid, '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31951 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82b21fca-919d-c556-7d98-9b0a3b2992c4'::uuid;

-- Query #31952 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82b21fca-919d-c556-7d98-9b0a3b2992c4'::uuid]);

-- Query #31953 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82b21fca-919d-c556-7d98-9b0a3b2992c4'::uuid;

-- Query #31954 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82b21fca-919d-c556-7d98-9b0a3b2992c4'::uuid, 'TmdbCollection', 3814973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31955 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82b21fca-919d-c556-7d98-9b0a3b2992c4'::uuid, 'Imdb', 'tt15120908')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31956 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82b21fca-919d-c556-7d98-9b0a3b2992c4'::uuid, 'Tmdb', 3814973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82b21fca-919d-c556-7d98-9b0a3b2992c4'::uuid, 'trakt', 5197353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31958 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82b21fca-919d-c556-7d98-9b0a3b2992c4'::uuid, 'TvMaze', 2538739)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31959 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82b21fca-919d-c556-7d98-9b0a3b2992c4'::uuid, 'Tvdb', 8440793)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31960 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82b21fca-919d-c556-7d98-9b0a3b2992c4'::uuid;

-- Query #31961 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82b21fca-919d-c556-7d98-9b0a3b2992c4'::uuid;

-- Query #31962 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82b21fca-919d-c556-7d98-9b0a3b2992c4'::uuid]);

-- Query #31963 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '82b21fca-919d-c556-7d98-9b0a3b2992c4'::uuid;

-- Query #31964 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid, '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31965 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8d28cb74-c746-2e2d-ea17-8d888f4dda51'::uuid;

-- Query #31966 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8d28cb74-c746-2e2d-ea17-8d888f4dda51'::uuid]);

-- Query #31967 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8d28cb74-c746-2e2d-ea17-8d888f4dda51'::uuid;

-- Query #31968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d28cb74-c746-2e2d-ea17-8d888f4dda51'::uuid, 'Imdb', 'tt27651997')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31969 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d28cb74-c746-2e2d-ea17-8d888f4dda51'::uuid, 'Tmdb', 4407674)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31970 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d28cb74-c746-2e2d-ea17-8d888f4dda51'::uuid, 'trakt', 7523403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d28cb74-c746-2e2d-ea17-8d888f4dda51'::uuid, 'TvMaze', 2618411)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d28cb74-c746-2e2d-ea17-8d888f4dda51'::uuid, 'Tvdb', 9946731)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31973 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d28cb74-c746-2e2d-ea17-8d888f4dda51'::uuid, 'TmdbCollection', 4407674)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #31974 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8d28cb74-c746-2e2d-ea17-8d888f4dda51'::uuid;

-- Query #31975 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8d28cb74-c746-2e2d-ea17-8d888f4dda51'::uuid;

-- Query #31976 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8d28cb74-c746-2e2d-ea17-8d888f4dda51'::uuid]);

-- Query #31977 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8d28cb74-c746-2e2d-ea17-8d888f4dda51'::uuid;

-- Query #31978 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid, '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #31979 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid
ORDER BY b."SortName";

-- Query #31980 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid])
ORDER BY b."Id";

-- Query #31981 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid])
ORDER BY b."Id";

-- Query #31982 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid])
ORDER BY b."Id";

-- Query #31983 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid])
ORDER BY b."Id";

-- Query #31984 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid])
ORDER BY b."Id";

-- Query #31985 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '700e423f-7dc8-db2c-4cb2-2bfd743d12aa'::uuid
ORDER BY b."SortName";

-- Query #31986 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '73eb51d04b6a6b4a328a0fc42f3c43a1'
ORDER BY b."SortName", b."Name";

-- Query #31987 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid
ORDER BY b."SortName";

-- Query #31988 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid
ORDER BY b."SortName";

-- Query #31989 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid
ORDER BY b."SortName";

-- Query #31990 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid
ORDER BY b."SortName";

-- Query #31991 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid
ORDER BY b."SortName";

-- Query #31992 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid
ORDER BY b."SortName";

-- Query #31993 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid
ORDER BY b."SortName";

-- Query #31994 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid
ORDER BY b."SortName";

-- Query #31995 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #31996 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid;

-- Query #31997 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid]);

-- Query #31998 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid;

-- Query #31999 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, 'eidr', '10.5240/CD9B-C565-2936-8758-B7C3-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32000 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, 'Imdb', 'tt0412175')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, 'Tmdb', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, 'TmdbCollection', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, 'Tvdb', 73265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, 'TvMaze', 773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32005 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, 'TvRage', 4432)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32006 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, 'wikidata', 'Q470111')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, 'wikipedia', 'Medium_(TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, 'Zap2It', 'SH713516')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32009 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid;

-- Query #32010 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid;

-- Query #32011 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid]);

-- Query #32012 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid;

-- Query #32013 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32014 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '40bff9130df150fd53fd0851ab651e5b'
ORDER BY b."SortName", b."Name";

-- Query #32015 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid
ORDER BY b."SortName";

-- Query #32016 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid
ORDER BY b."SortName";

-- Query #32017 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid
ORDER BY b."SortName";

-- Query #32018 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid
ORDER BY b."SortName";

-- Query #32019 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid
ORDER BY b."SortName";

-- Query #32020 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid
ORDER BY b."SortName";

-- Query #32021 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid
ORDER BY b."SortName";

-- Query #32022 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid
ORDER BY b."SortName";

-- Query #32023 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '40bff9130df150fd53fd0851ab651e5b'
ORDER BY b."SortName", b."Name";

-- Query #32024 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid;

-- Query #32025 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid]);

-- Query #32026 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid;

-- Query #32027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, 'Zap2It', 'SH713516')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, 'wikidata', 'Q470111')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, 'TmdbCollection', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, 'Tvdb', 73265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32031 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, 'Tmdb', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, 'Imdb', 'tt0412175')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32033 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, 'TvMaze', 773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32034 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, 'TvRage', 4432)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, 'eidr', '10.5240/CD9B-C565-2936-8758-B7C3-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32036 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid;

-- Query #32037 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid;

-- Query #32038 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+criminal consultant', '6+medium', '6+paranormal', '6+phoenix, arizona', '6+psychic power']);

-- Query #32039 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid]);

-- Query #32040 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid;

-- Query #32041 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32042 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '40bff9130df150fd53fd0851ab651e5b'
ORDER BY b."SortName", b."Name";

-- Query #32043 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid;

-- Query #32044 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid]);

-- Query #32045 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid;

-- Query #32046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, 'wikidata', 'Q470111')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, 'TmdbCollection', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, 'eidr', '10.5240/CD9B-C565-2936-8758-B7C3-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, 'Zap2It', 'SH713516')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, 'Tvdb', 73265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, 'Tmdb', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, 'Imdb', 'tt0412175')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, 'TvMaze', 773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32054 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, 'TvRage', 4432)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32055 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid;

-- Query #32056 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid;

-- Query #32057 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+criminal consultant', '6+medium', '6+paranormal', '6+phoenix, arizona', '6+psychic power']);

-- Query #32058 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid]);

-- Query #32059 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid;

-- Query #32060 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32061 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '40bff9130df150fd53fd0851ab651e5b'
ORDER BY b."SortName", b."Name";

-- Query #32062 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid;

-- Query #32063 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid]);

-- Query #32064 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid;

-- Query #32065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, 'eidr', '10.5240/CD9B-C565-2936-8758-B7C3-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, 'wikidata', 'Q470111')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32067 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, 'TmdbCollection', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, 'Tvdb', 73265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, 'Tmdb', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, 'Imdb', 'tt0412175')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, 'TvMaze', 773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, 'TvRage', 4432)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, 'Zap2It', 'SH713516')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32074 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid;

-- Query #32075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid;

-- Query #32076 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+criminal consultant', '6+medium', '6+paranormal', '6+phoenix, arizona', '6+psychic power']);

-- Query #32077 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid]);

-- Query #32078 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid;

-- Query #32079 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32080 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '40bff9130df150fd53fd0851ab651e5b'
ORDER BY b."SortName", b."Name";

-- Query #32081 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid;

-- Query #32082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid]);

-- Query #32083 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid;

-- Query #32084 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, 'TmdbCollection', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32085 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, 'Tvdb', 73265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32086 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, 'Tmdb', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, 'Imdb', 'tt0412175')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, 'TvMaze', 773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, 'TvRage', 4432)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, 'eidr', '10.5240/CD9B-C565-2936-8758-B7C3-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, 'Zap2It', 'SH713516')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, 'wikidata', 'Q470111')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32093 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid;

-- Query #32094 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid;

-- Query #32095 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+criminal consultant', '6+medium', '6+paranormal', '6+phoenix, arizona', '6+psychic power']);

-- Query #32096 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid]);

-- Query #32097 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid;

-- Query #32098 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32099 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '40bff9130df150fd53fd0851ab651e5b'
ORDER BY b."SortName", b."Name";

-- Query #32100 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid;

-- Query #32101 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid]);

-- Query #32102 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid;

-- Query #32103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, 'TmdbCollection', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, 'Tvdb', 73265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, 'Tmdb', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, 'Imdb', 'tt0412175')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, 'TvMaze', 773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, 'TvRage', 4432)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, 'eidr', '10.5240/CD9B-C565-2936-8758-B7C3-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, 'Zap2It', 'SH713516')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32111 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, 'wikidata', 'Q470111')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32112 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid;

-- Query #32113 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid;

-- Query #32114 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+criminal consultant', '6+medium', '6+paranormal', '6+phoenix, arizona', '6+psychic power']);

-- Query #32115 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid]);

-- Query #32116 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid;

-- Query #32117 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32118 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '40bff9130df150fd53fd0851ab651e5b'
ORDER BY b."SortName", b."Name";

-- Query #32119 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid;

-- Query #32120 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid]);

-- Query #32121 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid;

-- Query #32122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, 'Zap2It', 'SH713516')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, 'wikidata', 'Q470111')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, 'TmdbCollection', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32125 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, 'Tvdb', 73265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, 'Tmdb', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32127 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, 'Imdb', 'tt0412175')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32128 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, 'TvMaze', 773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32129 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, 'TvRage', 4432)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32130 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, 'eidr', '10.5240/CD9B-C565-2936-8758-B7C3-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32131 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid;

-- Query #32132 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid;

-- Query #32133 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+criminal consultant', '6+medium', '6+paranormal', '6+phoenix, arizona', '6+psychic power']);

-- Query #32134 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid]);

-- Query #32135 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid;

-- Query #32136 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32137 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '40bff9130df150fd53fd0851ab651e5b'
ORDER BY b."SortName", b."Name";

-- Query #32138 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #32139 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid;

-- Query #32140 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid]);

-- Query #32141 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid;

-- Query #32142 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, 'TmdbCollection', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32143 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, 'TvMaze', 773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32144 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, 'TvRage', 4432)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, 'eidr', '10.5240/CD9B-C565-2936-8758-B7C3-W')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, 'Zap2It', 'SH713516')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, 'wikidata', 'Q470111')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, 'Tvdb', 73265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, 'Tmdb', 36)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, 'Imdb', 'tt0412175')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32151 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid;

-- Query #32152 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid;

-- Query #32153 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+criminal consultant', '6+medium', '6+paranormal', '6+phoenix, arizona', '6+psychic power']);

-- Query #32154 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid]);

-- Query #32155 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid;

-- Query #32156 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32157 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e860e6c-0b9b-1f52-6beb-75594f8c6180'::uuid;

-- Query #32158 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e860e6c-0b9b-1f52-6beb-75594f8c6180'::uuid]);

-- Query #32159 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2e860e6c-0b9b-1f52-6beb-75594f8c6180'::uuid;

-- Query #32160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e860e6c-0b9b-1f52-6beb-75594f8c6180'::uuid, 'Imdb', 'tt0645615')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e860e6c-0b9b-1f52-6beb-75594f8c6180'::uuid, 'Tmdb', 754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e860e6c-0b9b-1f52-6beb-75594f8c6180'::uuid, 'TvMaze', 68265)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e860e6c-0b9b-1f52-6beb-75594f8c6180'::uuid, 'Tvdb', 111355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e860e6c-0b9b-1f52-6beb-75594f8c6180'::uuid, 'TvRage', 113827)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e860e6c-0b9b-1f52-6beb-75594f8c6180'::uuid, 'trakt', 1371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e860e6c-0b9b-1f52-6beb-75594f8c6180'::uuid, 'TmdbCollection', 754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32167 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e860e6c-0b9b-1f52-6beb-75594f8c6180'::uuid;

-- Query #32168 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2e860e6c-0b9b-1f52-6beb-75594f8c6180'::uuid;

-- Query #32169 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2e860e6c-0b9b-1f52-6beb-75594f8c6180'::uuid]);

-- Query #32170 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2e860e6c-0b9b-1f52-6beb-75594f8c6180'::uuid;

-- Query #32171 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '189d0e05-8e93-e0ba-2179-fb772875b806'::uuid;

-- Query #32173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['189d0e05-8e93-e0ba-2179-fb772875b806'::uuid]);

-- Query #32174 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '189d0e05-8e93-e0ba-2179-fb772875b806'::uuid;

-- Query #32175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('189d0e05-8e93-e0ba-2179-fb772875b806'::uuid, 'Imdb', 'tt0645616')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('189d0e05-8e93-e0ba-2179-fb772875b806'::uuid, 'Tmdb', 750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('189d0e05-8e93-e0ba-2179-fb772875b806'::uuid, 'TvMaze', 68261)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('189d0e05-8e93-e0ba-2179-fb772875b806'::uuid, 'Tvdb', 111351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('189d0e05-8e93-e0ba-2179-fb772875b806'::uuid, 'TvRage', 113823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('189d0e05-8e93-e0ba-2179-fb772875b806'::uuid, 'trakt', 1367)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('189d0e05-8e93-e0ba-2179-fb772875b806'::uuid, 'TmdbCollection', 750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32182 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '189d0e05-8e93-e0ba-2179-fb772875b806'::uuid;

-- Query #32183 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '189d0e05-8e93-e0ba-2179-fb772875b806'::uuid;

-- Query #32184 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['189d0e05-8e93-e0ba-2179-fb772875b806'::uuid]);

-- Query #32185 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '189d0e05-8e93-e0ba-2179-fb772875b806'::uuid;

-- Query #32186 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32187 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0c2ade85-7089-87f2-fda9-43cd55f3a9ac'::uuid;

-- Query #32188 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0c2ade85-7089-87f2-fda9-43cd55f3a9ac'::uuid]);

-- Query #32189 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0c2ade85-7089-87f2-fda9-43cd55f3a9ac'::uuid;

-- Query #32190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c2ade85-7089-87f2-fda9-43cd55f3a9ac'::uuid, 'Imdb', 'tt0645617')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c2ade85-7089-87f2-fda9-43cd55f3a9ac'::uuid, 'Tmdb', 747)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c2ade85-7089-87f2-fda9-43cd55f3a9ac'::uuid, 'TvMaze', 68258)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c2ade85-7089-87f2-fda9-43cd55f3a9ac'::uuid, 'Tvdb', 111348)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c2ade85-7089-87f2-fda9-43cd55f3a9ac'::uuid, 'TvRage', 113820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c2ade85-7089-87f2-fda9-43cd55f3a9ac'::uuid, 'trakt', 1364)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c2ade85-7089-87f2-fda9-43cd55f3a9ac'::uuid, 'TmdbCollection', 747)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32197 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0c2ade85-7089-87f2-fda9-43cd55f3a9ac'::uuid;

-- Query #32198 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0c2ade85-7089-87f2-fda9-43cd55f3a9ac'::uuid;

-- Query #32199 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0c2ade85-7089-87f2-fda9-43cd55f3a9ac'::uuid]);

-- Query #32200 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0c2ade85-7089-87f2-fda9-43cd55f3a9ac'::uuid;

-- Query #32201 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32202 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0932d2b9-d93c-9f5c-5d1e-44ba0ab58569'::uuid;

-- Query #32203 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0932d2b9-d93c-9f5c-5d1e-44ba0ab58569'::uuid]);

-- Query #32204 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0932d2b9-d93c-9f5c-5d1e-44ba0ab58569'::uuid;

-- Query #32205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0932d2b9-d93c-9f5c-5d1e-44ba0ab58569'::uuid, 'Imdb', 'tt0645613')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0932d2b9-d93c-9f5c-5d1e-44ba0ab58569'::uuid, 'Tmdb', 744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0932d2b9-d93c-9f5c-5d1e-44ba0ab58569'::uuid, 'TvMaze', 68255)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0932d2b9-d93c-9f5c-5d1e-44ba0ab58569'::uuid, 'Tvdb', 111345)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0932d2b9-d93c-9f5c-5d1e-44ba0ab58569'::uuid, 'TvRage', 113817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0932d2b9-d93c-9f5c-5d1e-44ba0ab58569'::uuid, 'trakt', 1361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0932d2b9-d93c-9f5c-5d1e-44ba0ab58569'::uuid, 'TmdbCollection', 744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32212 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0932d2b9-d93c-9f5c-5d1e-44ba0ab58569'::uuid;

-- Query #32213 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0932d2b9-d93c-9f5c-5d1e-44ba0ab58569'::uuid;

-- Query #32214 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0932d2b9-d93c-9f5c-5d1e-44ba0ab58569'::uuid]);

-- Query #32215 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0932d2b9-d93c-9f5c-5d1e-44ba0ab58569'::uuid;

-- Query #32216 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32217 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab4ab7da-144f-0151-e128-6d26cc64aced'::uuid;

-- Query #32218 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab4ab7da-144f-0151-e128-6d26cc64aced'::uuid]);

-- Query #32219 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ab4ab7da-144f-0151-e128-6d26cc64aced'::uuid;

-- Query #32220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab4ab7da-144f-0151-e128-6d26cc64aced'::uuid, 'TmdbCollection', 752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab4ab7da-144f-0151-e128-6d26cc64aced'::uuid, 'Imdb', 'tt0645620')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab4ab7da-144f-0151-e128-6d26cc64aced'::uuid, 'Tmdb', 752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab4ab7da-144f-0151-e128-6d26cc64aced'::uuid, 'TvMaze', 68263)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab4ab7da-144f-0151-e128-6d26cc64aced'::uuid, 'Tvdb', 111353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32225 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab4ab7da-144f-0151-e128-6d26cc64aced'::uuid, 'TvRage', 113825)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32226 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab4ab7da-144f-0151-e128-6d26cc64aced'::uuid, 'trakt', 1369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32227 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab4ab7da-144f-0151-e128-6d26cc64aced'::uuid;

-- Query #32228 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ab4ab7da-144f-0151-e128-6d26cc64aced'::uuid;

-- Query #32229 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ab4ab7da-144f-0151-e128-6d26cc64aced'::uuid]);

-- Query #32230 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ab4ab7da-144f-0151-e128-6d26cc64aced'::uuid;

-- Query #32231 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32232 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36717570-116d-14ac-2e19-2c1fd035b9ff'::uuid;

-- Query #32233 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['36717570-116d-14ac-2e19-2c1fd035b9ff'::uuid]);

-- Query #32234 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '36717570-116d-14ac-2e19-2c1fd035b9ff'::uuid;

-- Query #32235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36717570-116d-14ac-2e19-2c1fd035b9ff'::uuid, 'Imdb', 'tt0645621')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36717570-116d-14ac-2e19-2c1fd035b9ff'::uuid, 'Tmdb', 746)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36717570-116d-14ac-2e19-2c1fd035b9ff'::uuid, 'TvMaze', 68257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36717570-116d-14ac-2e19-2c1fd035b9ff'::uuid, 'Tvdb', 111347)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32239 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36717570-116d-14ac-2e19-2c1fd035b9ff'::uuid, 'TvRage', 113819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32240 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36717570-116d-14ac-2e19-2c1fd035b9ff'::uuid, 'trakt', 1363)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32241 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36717570-116d-14ac-2e19-2c1fd035b9ff'::uuid, 'TmdbCollection', 746)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32242 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36717570-116d-14ac-2e19-2c1fd035b9ff'::uuid;

-- Query #32243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '36717570-116d-14ac-2e19-2c1fd035b9ff'::uuid;

-- Query #32244 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['36717570-116d-14ac-2e19-2c1fd035b9ff'::uuid]);

-- Query #32245 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '36717570-116d-14ac-2e19-2c1fd035b9ff'::uuid;

-- Query #32246 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32247 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bc17cc51-4c93-d132-38f8-e7b3624b67ca'::uuid;

-- Query #32248 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bc17cc51-4c93-d132-38f8-e7b3624b67ca'::uuid]);

-- Query #32249 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bc17cc51-4c93-d132-38f8-e7b3624b67ca'::uuid;

-- Query #32250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc17cc51-4c93-d132-38f8-e7b3624b67ca'::uuid, 'Imdb', 'tt0645622')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc17cc51-4c93-d132-38f8-e7b3624b67ca'::uuid, 'Tmdb', 755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc17cc51-4c93-d132-38f8-e7b3624b67ca'::uuid, 'TvMaze', 68266)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc17cc51-4c93-d132-38f8-e7b3624b67ca'::uuid, 'Tvdb', 111356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc17cc51-4c93-d132-38f8-e7b3624b67ca'::uuid, 'TvRage', 113828)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc17cc51-4c93-d132-38f8-e7b3624b67ca'::uuid, 'trakt', 1372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32256 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc17cc51-4c93-d132-38f8-e7b3624b67ca'::uuid, 'TmdbCollection', 755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32257 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bc17cc51-4c93-d132-38f8-e7b3624b67ca'::uuid;

-- Query #32258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bc17cc51-4c93-d132-38f8-e7b3624b67ca'::uuid;

-- Query #32259 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bc17cc51-4c93-d132-38f8-e7b3624b67ca'::uuid]);

-- Query #32260 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bc17cc51-4c93-d132-38f8-e7b3624b67ca'::uuid;

-- Query #32261 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32262 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '549deb48-ddc8-d63e-b6f5-3f45ddd418ff'::uuid;

-- Query #32263 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['549deb48-ddc8-d63e-b6f5-3f45ddd418ff'::uuid]);

-- Query #32264 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '549deb48-ddc8-d63e-b6f5-3f45ddd418ff'::uuid;

-- Query #32265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('549deb48-ddc8-d63e-b6f5-3f45ddd418ff'::uuid, 'Imdb', 'tt0645624')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('549deb48-ddc8-d63e-b6f5-3f45ddd418ff'::uuid, 'Tmdb', 748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32267 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('549deb48-ddc8-d63e-b6f5-3f45ddd418ff'::uuid, 'TvMaze', 68259)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('549deb48-ddc8-d63e-b6f5-3f45ddd418ff'::uuid, 'Tvdb', 111349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('549deb48-ddc8-d63e-b6f5-3f45ddd418ff'::uuid, 'TvRage', 113821)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('549deb48-ddc8-d63e-b6f5-3f45ddd418ff'::uuid, 'trakt', 1365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32271 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('549deb48-ddc8-d63e-b6f5-3f45ddd418ff'::uuid, 'TmdbCollection', 748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '549deb48-ddc8-d63e-b6f5-3f45ddd418ff'::uuid;

-- Query #32273 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '549deb48-ddc8-d63e-b6f5-3f45ddd418ff'::uuid;

-- Query #32274 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['549deb48-ddc8-d63e-b6f5-3f45ddd418ff'::uuid]);

-- Query #32275 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '549deb48-ddc8-d63e-b6f5-3f45ddd418ff'::uuid;

-- Query #32276 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32277 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd5bf2464-bb6c-e916-a574-2a003dd4db19'::uuid;

-- Query #32278 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d5bf2464-bb6c-e916-a574-2a003dd4db19'::uuid]);

-- Query #32279 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd5bf2464-bb6c-e916-a574-2a003dd4db19'::uuid;

-- Query #32280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5bf2464-bb6c-e916-a574-2a003dd4db19'::uuid, 'Imdb', 'tt0645626')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32281 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5bf2464-bb6c-e916-a574-2a003dd4db19'::uuid, 'Tmdb', 749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32282 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5bf2464-bb6c-e916-a574-2a003dd4db19'::uuid, 'TvMaze', 68260)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32283 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5bf2464-bb6c-e916-a574-2a003dd4db19'::uuid, 'Tvdb', 111350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32284 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5bf2464-bb6c-e916-a574-2a003dd4db19'::uuid, 'TvRage', 113822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32285 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5bf2464-bb6c-e916-a574-2a003dd4db19'::uuid, 'trakt', 1366)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32286 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5bf2464-bb6c-e916-a574-2a003dd4db19'::uuid, 'TmdbCollection', 749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32287 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd5bf2464-bb6c-e916-a574-2a003dd4db19'::uuid;

-- Query #32288 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd5bf2464-bb6c-e916-a574-2a003dd4db19'::uuid;

-- Query #32289 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d5bf2464-bb6c-e916-a574-2a003dd4db19'::uuid]);

-- Query #32290 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd5bf2464-bb6c-e916-a574-2a003dd4db19'::uuid;

-- Query #32291 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32292 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '613bf041-0c67-cd66-56c5-1f575c31e553'::uuid;

-- Query #32293 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['613bf041-0c67-cd66-56c5-1f575c31e553'::uuid]);

-- Query #32294 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '613bf041-0c67-cd66-56c5-1f575c31e553'::uuid;

-- Query #32295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613bf041-0c67-cd66-56c5-1f575c31e553'::uuid, 'Imdb', 'tt0645628')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32296 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613bf041-0c67-cd66-56c5-1f575c31e553'::uuid, 'Tmdb', 745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32297 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613bf041-0c67-cd66-56c5-1f575c31e553'::uuid, 'TvMaze', 68256)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32298 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613bf041-0c67-cd66-56c5-1f575c31e553'::uuid, 'Tvdb', 111346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32299 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613bf041-0c67-cd66-56c5-1f575c31e553'::uuid, 'TvRage', 113818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613bf041-0c67-cd66-56c5-1f575c31e553'::uuid, 'trakt', 1362)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32301 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('613bf041-0c67-cd66-56c5-1f575c31e553'::uuid, 'TmdbCollection', 745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32302 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '613bf041-0c67-cd66-56c5-1f575c31e553'::uuid;

-- Query #32303 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '613bf041-0c67-cd66-56c5-1f575c31e553'::uuid;

-- Query #32304 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['613bf041-0c67-cd66-56c5-1f575c31e553'::uuid]);

-- Query #32305 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '613bf041-0c67-cd66-56c5-1f575c31e553'::uuid;

-- Query #32306 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32307 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'faed01e9-fed3-07be-f59c-47bd598b021b'::uuid;

-- Query #32308 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['faed01e9-fed3-07be-f59c-47bd598b021b'::uuid]);

-- Query #32309 | logged_duration_ms=2 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'faed01e9-fed3-07be-f59c-47bd598b021b'::uuid;

-- Query #32310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faed01e9-fed3-07be-f59c-47bd598b021b'::uuid, 'Imdb', 'tt0645629')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faed01e9-fed3-07be-f59c-47bd598b021b'::uuid, 'Tmdb', 756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32312 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faed01e9-fed3-07be-f59c-47bd598b021b'::uuid, 'TvMaze', 68267)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32313 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faed01e9-fed3-07be-f59c-47bd598b021b'::uuid, 'Tvdb', 111357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faed01e9-fed3-07be-f59c-47bd598b021b'::uuid, 'TvRage', 113829)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32315 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faed01e9-fed3-07be-f59c-47bd598b021b'::uuid, 'trakt', 1373)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32316 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faed01e9-fed3-07be-f59c-47bd598b021b'::uuid, 'TmdbCollection', 756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32317 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'faed01e9-fed3-07be-f59c-47bd598b021b'::uuid;

-- Query #32318 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'faed01e9-fed3-07be-f59c-47bd598b021b'::uuid;

-- Query #32319 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['faed01e9-fed3-07be-f59c-47bd598b021b'::uuid]);

-- Query #32320 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'faed01e9-fed3-07be-f59c-47bd598b021b'::uuid;

-- Query #32321 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32322 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebf7fe20-933d-3362-6262-c32f003b5c6c'::uuid;

-- Query #32323 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ebf7fe20-933d-3362-6262-c32f003b5c6c'::uuid]);

-- Query #32324 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ebf7fe20-933d-3362-6262-c32f003b5c6c'::uuid;

-- Query #32325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf7fe20-933d-3362-6262-c32f003b5c6c'::uuid, 'Imdb', 'tt0645630')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf7fe20-933d-3362-6262-c32f003b5c6c'::uuid, 'Tmdb', 742)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf7fe20-933d-3362-6262-c32f003b5c6c'::uuid, 'TvMaze', 68253)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32328 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf7fe20-933d-3362-6262-c32f003b5c6c'::uuid, 'Tvdb', 111343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32329 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf7fe20-933d-3362-6262-c32f003b5c6c'::uuid, 'TvRage', 113815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32330 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf7fe20-933d-3362-6262-c32f003b5c6c'::uuid, 'trakt', 1359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf7fe20-933d-3362-6262-c32f003b5c6c'::uuid, 'TmdbCollection', 742)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32332 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebf7fe20-933d-3362-6262-c32f003b5c6c'::uuid;

-- Query #32333 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ebf7fe20-933d-3362-6262-c32f003b5c6c'::uuid;

-- Query #32334 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ebf7fe20-933d-3362-6262-c32f003b5c6c'::uuid]);

-- Query #32335 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ebf7fe20-933d-3362-6262-c32f003b5c6c'::uuid;

-- Query #32336 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32337 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5df5fc7-0986-edea-0bdd-3abc74762e2a'::uuid;

-- Query #32338 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a5df5fc7-0986-edea-0bdd-3abc74762e2a'::uuid]);

-- Query #32339 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a5df5fc7-0986-edea-0bdd-3abc74762e2a'::uuid;

-- Query #32340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5df5fc7-0986-edea-0bdd-3abc74762e2a'::uuid, 'TvMaze', 68264)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5df5fc7-0986-edea-0bdd-3abc74762e2a'::uuid, 'Tvdb', 111354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5df5fc7-0986-edea-0bdd-3abc74762e2a'::uuid, 'TvRage', 113826)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5df5fc7-0986-edea-0bdd-3abc74762e2a'::uuid, 'trakt', 1370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5df5fc7-0986-edea-0bdd-3abc74762e2a'::uuid, 'TmdbCollection', 753)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5df5fc7-0986-edea-0bdd-3abc74762e2a'::uuid, 'Tmdb', 753)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5df5fc7-0986-edea-0bdd-3abc74762e2a'::uuid, 'Imdb', 'tt0645614')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32347 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5df5fc7-0986-edea-0bdd-3abc74762e2a'::uuid;

-- Query #32348 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a5df5fc7-0986-edea-0bdd-3abc74762e2a'::uuid;

-- Query #32349 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a5df5fc7-0986-edea-0bdd-3abc74762e2a'::uuid]);

-- Query #32350 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a5df5fc7-0986-edea-0bdd-3abc74762e2a'::uuid;

-- Query #32351 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32352 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4dc98d7f-5c4a-fa37-b8da-519c79d13fa0'::uuid;

-- Query #32353 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4dc98d7f-5c4a-fa37-b8da-519c79d13fa0'::uuid]);

-- Query #32354 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4dc98d7f-5c4a-fa37-b8da-519c79d13fa0'::uuid;

-- Query #32355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dc98d7f-5c4a-fa37-b8da-519c79d13fa0'::uuid, 'Imdb', 'tt0645632')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dc98d7f-5c4a-fa37-b8da-519c79d13fa0'::uuid, 'Tmdb', 743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dc98d7f-5c4a-fa37-b8da-519c79d13fa0'::uuid, 'TvMaze', 68254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dc98d7f-5c4a-fa37-b8da-519c79d13fa0'::uuid, 'Tvdb', 111344)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dc98d7f-5c4a-fa37-b8da-519c79d13fa0'::uuid, 'TvRage', 113816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32360 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dc98d7f-5c4a-fa37-b8da-519c79d13fa0'::uuid, 'trakt', 1360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32361 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4dc98d7f-5c4a-fa37-b8da-519c79d13fa0'::uuid, 'TmdbCollection', 743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32362 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4dc98d7f-5c4a-fa37-b8da-519c79d13fa0'::uuid;

-- Query #32363 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4dc98d7f-5c4a-fa37-b8da-519c79d13fa0'::uuid;

-- Query #32364 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4dc98d7f-5c4a-fa37-b8da-519c79d13fa0'::uuid]);

-- Query #32365 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4dc98d7f-5c4a-fa37-b8da-519c79d13fa0'::uuid;

-- Query #32366 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32367 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1441f115-5170-20ec-6c7d-8d83911e32fb'::uuid;

-- Query #32368 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1441f115-5170-20ec-6c7d-8d83911e32fb'::uuid]);

-- Query #32369 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1441f115-5170-20ec-6c7d-8d83911e32fb'::uuid;

-- Query #32370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1441f115-5170-20ec-6c7d-8d83911e32fb'::uuid, 'TvRage', 319761)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1441f115-5170-20ec-6c7d-8d83911e32fb'::uuid, 'TmdbCollection', 814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1441f115-5170-20ec-6c7d-8d83911e32fb'::uuid, 'trakt', 1390)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1441f115-5170-20ec-6c7d-8d83911e32fb'::uuid, 'Imdb', 'tt0756937')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1441f115-5170-20ec-6c7d-8d83911e32fb'::uuid, 'Tmdb', 814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32375 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1441f115-5170-20ec-6c7d-8d83911e32fb'::uuid, 'TvMaze', 68284)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32376 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1441f115-5170-20ec-6c7d-8d83911e32fb'::uuid, 'Tvdb', 303778)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32377 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1441f115-5170-20ec-6c7d-8d83911e32fb'::uuid;

-- Query #32378 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1441f115-5170-20ec-6c7d-8d83911e32fb'::uuid;

-- Query #32379 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1441f115-5170-20ec-6c7d-8d83911e32fb'::uuid]);

-- Query #32380 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1441f115-5170-20ec-6c7d-8d83911e32fb'::uuid;

-- Query #32381 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32382 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '485c180c-f6df-69f5-f73c-8abad379c2f4'::uuid;

-- Query #32383 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['485c180c-f6df-69f5-f73c-8abad379c2f4'::uuid]);

-- Query #32384 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '485c180c-f6df-69f5-f73c-8abad379c2f4'::uuid;

-- Query #32385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('485c180c-f6df-69f5-f73c-8abad379c2f4'::uuid, 'TvMaze', 68282)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('485c180c-f6df-69f5-f73c-8abad379c2f4'::uuid, 'TvRage', 319612)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('485c180c-f6df-69f5-f73c-8abad379c2f4'::uuid, 'trakt', 1388)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('485c180c-f6df-69f5-f73c-8abad379c2f4'::uuid, 'TmdbCollection', 812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32389 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('485c180c-f6df-69f5-f73c-8abad379c2f4'::uuid, 'Tvdb', 303776)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('485c180c-f6df-69f5-f73c-8abad379c2f4'::uuid, 'Imdb', 'tt0645612')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('485c180c-f6df-69f5-f73c-8abad379c2f4'::uuid, 'Tmdb', 812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32392 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '485c180c-f6df-69f5-f73c-8abad379c2f4'::uuid;

-- Query #32393 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '485c180c-f6df-69f5-f73c-8abad379c2f4'::uuid;

-- Query #32394 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['485c180c-f6df-69f5-f73c-8abad379c2f4'::uuid]);

-- Query #32395 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '485c180c-f6df-69f5-f73c-8abad379c2f4'::uuid;

-- Query #32396 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32397 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'de53706a-65c1-7783-fc38-c9440258b8bd'::uuid;

-- Query #32398 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['de53706a-65c1-7783-fc38-c9440258b8bd'::uuid]);

-- Query #32399 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'de53706a-65c1-7783-fc38-c9440258b8bd'::uuid;

-- Query #32400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de53706a-65c1-7783-fc38-c9440258b8bd'::uuid, 'Imdb', 'tt0789527')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de53706a-65c1-7783-fc38-c9440258b8bd'::uuid, 'TvMaze', 68288)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de53706a-65c1-7783-fc38-c9440258b8bd'::uuid, 'Tvdb', 307228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de53706a-65c1-7783-fc38-c9440258b8bd'::uuid, 'TvRage', 357696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de53706a-65c1-7783-fc38-c9440258b8bd'::uuid, 'trakt', 1394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de53706a-65c1-7783-fc38-c9440258b8bd'::uuid, 'TmdbCollection', 818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de53706a-65c1-7783-fc38-c9440258b8bd'::uuid, 'Tmdb', 818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32407 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'de53706a-65c1-7783-fc38-c9440258b8bd'::uuid;

-- Query #32408 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'de53706a-65c1-7783-fc38-c9440258b8bd'::uuid;

-- Query #32409 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['de53706a-65c1-7783-fc38-c9440258b8bd'::uuid]);

-- Query #32410 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'de53706a-65c1-7783-fc38-c9440258b8bd'::uuid;

-- Query #32411 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32412 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a73e5fb-02a2-88c1-da26-d34e62fa6e4c'::uuid;

-- Query #32413 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a73e5fb-02a2-88c1-da26-d34e62fa6e4c'::uuid]);

-- Query #32414 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9a73e5fb-02a2-88c1-da26-d34e62fa6e4c'::uuid;

-- Query #32415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a73e5fb-02a2-88c1-da26-d34e62fa6e4c'::uuid, 'TmdbCollection', 804)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a73e5fb-02a2-88c1-da26-d34e62fa6e4c'::uuid, 'Imdb', 'tt0645618')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a73e5fb-02a2-88c1-da26-d34e62fa6e4c'::uuid, 'Tmdb', 804)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a73e5fb-02a2-88c1-da26-d34e62fa6e4c'::uuid, 'TvMaze', 68274)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32419 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a73e5fb-02a2-88c1-da26-d34e62fa6e4c'::uuid, 'Tvdb', 299570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a73e5fb-02a2-88c1-da26-d34e62fa6e4c'::uuid, 'TvRage', 304096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32421 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a73e5fb-02a2-88c1-da26-d34e62fa6e4c'::uuid, 'trakt', 1380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32422 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a73e5fb-02a2-88c1-da26-d34e62fa6e4c'::uuid;

-- Query #32423 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9a73e5fb-02a2-88c1-da26-d34e62fa6e4c'::uuid;

-- Query #32424 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9a73e5fb-02a2-88c1-da26-d34e62fa6e4c'::uuid]);

-- Query #32425 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9a73e5fb-02a2-88c1-da26-d34e62fa6e4c'::uuid;

-- Query #32426 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32427 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99ada381-e492-ad59-ecd7-00ab085062ea'::uuid;

-- Query #32428 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99ada381-e492-ad59-ecd7-00ab085062ea'::uuid]);

-- Query #32429 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '99ada381-e492-ad59-ecd7-00ab085062ea'::uuid;

-- Query #32430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99ada381-e492-ad59-ecd7-00ab085062ea'::uuid, 'Tmdb', 819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99ada381-e492-ad59-ecd7-00ab085062ea'::uuid, 'TvMaze', 68289)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99ada381-e492-ad59-ecd7-00ab085062ea'::uuid, 'trakt', 1395)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99ada381-e492-ad59-ecd7-00ab085062ea'::uuid, 'TmdbCollection', 819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99ada381-e492-ad59-ecd7-00ab085062ea'::uuid, 'Tvdb', 307229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99ada381-e492-ad59-ecd7-00ab085062ea'::uuid, 'TvRage', 361628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99ada381-e492-ad59-ecd7-00ab085062ea'::uuid, 'Imdb', 'tt0801263')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32437 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99ada381-e492-ad59-ecd7-00ab085062ea'::uuid;

-- Query #32438 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '99ada381-e492-ad59-ecd7-00ab085062ea'::uuid;

-- Query #32439 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['99ada381-e492-ad59-ecd7-00ab085062ea'::uuid]);

-- Query #32440 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '99ada381-e492-ad59-ecd7-00ab085062ea'::uuid;

-- Query #32441 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32442 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '027b434c-2970-efab-257e-8d1872a710fc'::uuid;

-- Query #32443 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['027b434c-2970-efab-257e-8d1872a710fc'::uuid]);

-- Query #32444 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '027b434c-2970-efab-257e-8d1872a710fc'::uuid;

-- Query #32445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('027b434c-2970-efab-257e-8d1872a710fc'::uuid, 'Imdb', 'tt0645623')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('027b434c-2970-efab-257e-8d1872a710fc'::uuid, 'Tmdb', 805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('027b434c-2970-efab-257e-8d1872a710fc'::uuid, 'TvMaze', 68275)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('027b434c-2970-efab-257e-8d1872a710fc'::uuid, 'Tvdb', 299571)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32449 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('027b434c-2970-efab-257e-8d1872a710fc'::uuid, 'TvRage', 305336)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('027b434c-2970-efab-257e-8d1872a710fc'::uuid, 'trakt', 1381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('027b434c-2970-efab-257e-8d1872a710fc'::uuid, 'TmdbCollection', 805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32452 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '027b434c-2970-efab-257e-8d1872a710fc'::uuid;

-- Query #32453 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '027b434c-2970-efab-257e-8d1872a710fc'::uuid;

-- Query #32454 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['027b434c-2970-efab-257e-8d1872a710fc'::uuid]);

-- Query #32455 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '027b434c-2970-efab-257e-8d1872a710fc'::uuid;

-- Query #32456 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32457 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #32458 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ddc681c-55fd-89fd-ccce-14dda2806df8'::uuid;

-- Query #32459 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ddc681c-55fd-89fd-ccce-14dda2806df8'::uuid]);

-- Query #32460 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1ddc681c-55fd-89fd-ccce-14dda2806df8'::uuid;

-- Query #32461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ddc681c-55fd-89fd-ccce-14dda2806df8'::uuid, 'TmdbCollection', 817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ddc681c-55fd-89fd-ccce-14dda2806df8'::uuid, 'Imdb', 'tt0778414')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ddc681c-55fd-89fd-ccce-14dda2806df8'::uuid, 'Tmdb', 817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ddc681c-55fd-89fd-ccce-14dda2806df8'::uuid, 'TvMaze', 68287)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ddc681c-55fd-89fd-ccce-14dda2806df8'::uuid, 'Tvdb', 306258)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32466 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ddc681c-55fd-89fd-ccce-14dda2806df8'::uuid, 'TvRage', 354501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ddc681c-55fd-89fd-ccce-14dda2806df8'::uuid, 'trakt', 1393)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32468 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ddc681c-55fd-89fd-ccce-14dda2806df8'::uuid;

-- Query #32469 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1ddc681c-55fd-89fd-ccce-14dda2806df8'::uuid;

-- Query #32470 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1ddc681c-55fd-89fd-ccce-14dda2806df8'::uuid]);

-- Query #32471 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1ddc681c-55fd-89fd-ccce-14dda2806df8'::uuid;

-- Query #32472 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32473 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7cde2eea-b375-4224-37f9-0c0a726f601d'::uuid;

-- Query #32474 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7cde2eea-b375-4224-37f9-0c0a726f601d'::uuid]);

-- Query #32475 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7cde2eea-b375-4224-37f9-0c0a726f601d'::uuid;

-- Query #32476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7cde2eea-b375-4224-37f9-0c0a726f601d'::uuid, 'Imdb', 'tt0645625')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32477 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7cde2eea-b375-4224-37f9-0c0a726f601d'::uuid, 'Tmdb', 802)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32478 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7cde2eea-b375-4224-37f9-0c0a726f601d'::uuid, 'TvMaze', 68272)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7cde2eea-b375-4224-37f9-0c0a726f601d'::uuid, 'Tvdb', 299568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7cde2eea-b375-4224-37f9-0c0a726f601d'::uuid, 'TvRage', 113836)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7cde2eea-b375-4224-37f9-0c0a726f601d'::uuid, 'trakt', 1378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7cde2eea-b375-4224-37f9-0c0a726f601d'::uuid, 'TmdbCollection', 802)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32483 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7cde2eea-b375-4224-37f9-0c0a726f601d'::uuid;

-- Query #32484 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7cde2eea-b375-4224-37f9-0c0a726f601d'::uuid;

-- Query #32485 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7cde2eea-b375-4224-37f9-0c0a726f601d'::uuid]);

-- Query #32486 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7cde2eea-b375-4224-37f9-0c0a726f601d'::uuid;

-- Query #32487 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32488 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48f9a4b2-7ec9-17f3-d27b-c4c0d4690ef6'::uuid;

-- Query #32489 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48f9a4b2-7ec9-17f3-d27b-c4c0d4690ef6'::uuid]);

-- Query #32490 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '48f9a4b2-7ec9-17f3-d27b-c4c0d4690ef6'::uuid;

-- Query #32491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48f9a4b2-7ec9-17f3-d27b-c4c0d4690ef6'::uuid, 'Imdb', 'tt0776480')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48f9a4b2-7ec9-17f3-d27b-c4c0d4690ef6'::uuid, 'Tmdb', 815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48f9a4b2-7ec9-17f3-d27b-c4c0d4690ef6'::uuid, 'TvMaze', 68285)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48f9a4b2-7ec9-17f3-d27b-c4c0d4690ef6'::uuid, 'Tvdb', 306257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32495 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48f9a4b2-7ec9-17f3-d27b-c4c0d4690ef6'::uuid, 'TvRage', 330507)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48f9a4b2-7ec9-17f3-d27b-c4c0d4690ef6'::uuid, 'trakt', 1391)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48f9a4b2-7ec9-17f3-d27b-c4c0d4690ef6'::uuid, 'TmdbCollection', 815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32498 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48f9a4b2-7ec9-17f3-d27b-c4c0d4690ef6'::uuid;

-- Query #32499 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '48f9a4b2-7ec9-17f3-d27b-c4c0d4690ef6'::uuid;

-- Query #32500 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['48f9a4b2-7ec9-17f3-d27b-c4c0d4690ef6'::uuid]);

-- Query #32501 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '48f9a4b2-7ec9-17f3-d27b-c4c0d4690ef6'::uuid;

-- Query #32502 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32503 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b002893-8d75-6b10-c5c6-0bc1fe6c3d1e'::uuid;

-- Query #32504 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b002893-8d75-6b10-c5c6-0bc1fe6c3d1e'::uuid]);

-- Query #32505 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4b002893-8d75-6b10-c5c6-0bc1fe6c3d1e'::uuid;

-- Query #32506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b002893-8d75-6b10-c5c6-0bc1fe6c3d1e'::uuid, 'Imdb', 'tt0645627')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32507 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b002893-8d75-6b10-c5c6-0bc1fe6c3d1e'::uuid, 'Tmdb', 809)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32508 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b002893-8d75-6b10-c5c6-0bc1fe6c3d1e'::uuid, 'TvMaze', 68279)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32509 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b002893-8d75-6b10-c5c6-0bc1fe6c3d1e'::uuid, 'Tvdb', 301761)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32510 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b002893-8d75-6b10-c5c6-0bc1fe6c3d1e'::uuid, 'TvRage', 310818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32511 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b002893-8d75-6b10-c5c6-0bc1fe6c3d1e'::uuid, 'trakt', 1385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4b002893-8d75-6b10-c5c6-0bc1fe6c3d1e'::uuid, 'TmdbCollection', 809)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32513 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b002893-8d75-6b10-c5c6-0bc1fe6c3d1e'::uuid;

-- Query #32514 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4b002893-8d75-6b10-c5c6-0bc1fe6c3d1e'::uuid;

-- Query #32515 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4b002893-8d75-6b10-c5c6-0bc1fe6c3d1e'::uuid]);

-- Query #32516 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4b002893-8d75-6b10-c5c6-0bc1fe6c3d1e'::uuid;

-- Query #32517 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32518 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8cf4095-ac98-72f0-86ac-065064671fc7'::uuid;

-- Query #32519 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8cf4095-ac98-72f0-86ac-065064671fc7'::uuid]);

-- Query #32520 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f8cf4095-ac98-72f0-86ac-065064671fc7'::uuid;

-- Query #32521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8cf4095-ac98-72f0-86ac-065064671fc7'::uuid, 'TmdbCollection', 811)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8cf4095-ac98-72f0-86ac-065064671fc7'::uuid, 'Imdb', 'tt0756938')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8cf4095-ac98-72f0-86ac-065064671fc7'::uuid, 'Tmdb', 811)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8cf4095-ac98-72f0-86ac-065064671fc7'::uuid, 'TvMaze', 68281)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32525 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8cf4095-ac98-72f0-86ac-065064671fc7'::uuid, 'Tvdb', 301763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8cf4095-ac98-72f0-86ac-065064671fc7'::uuid, 'TvRage', 316488)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32527 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8cf4095-ac98-72f0-86ac-065064671fc7'::uuid, 'trakt', 1387)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32528 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8cf4095-ac98-72f0-86ac-065064671fc7'::uuid;

-- Query #32529 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f8cf4095-ac98-72f0-86ac-065064671fc7'::uuid;

-- Query #32530 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f8cf4095-ac98-72f0-86ac-065064671fc7'::uuid]);

-- Query #32531 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f8cf4095-ac98-72f0-86ac-065064671fc7'::uuid;

-- Query #32532 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32533 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '040f3440-bde8-2566-50d0-d0f10987639b'::uuid;

-- Query #32534 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['040f3440-bde8-2566-50d0-d0f10987639b'::uuid]);

-- Query #32535 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '040f3440-bde8-2566-50d0-d0f10987639b'::uuid;

-- Query #32536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('040f3440-bde8-2566-50d0-d0f10987639b'::uuid, 'TmdbCollection', 808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('040f3440-bde8-2566-50d0-d0f10987639b'::uuid, 'Imdb', 'tt0645635')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('040f3440-bde8-2566-50d0-d0f10987639b'::uuid, 'Tmdb', 808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32539 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('040f3440-bde8-2566-50d0-d0f10987639b'::uuid, 'TvMaze', 68278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32540 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('040f3440-bde8-2566-50d0-d0f10987639b'::uuid, 'Tvdb', 301760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32541 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('040f3440-bde8-2566-50d0-d0f10987639b'::uuid, 'TvRage', 305789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32542 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('040f3440-bde8-2566-50d0-d0f10987639b'::uuid, 'trakt', 1384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32543 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '040f3440-bde8-2566-50d0-d0f10987639b'::uuid;

-- Query #32544 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '040f3440-bde8-2566-50d0-d0f10987639b'::uuid;

-- Query #32545 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['040f3440-bde8-2566-50d0-d0f10987639b'::uuid]);

-- Query #32546 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '040f3440-bde8-2566-50d0-d0f10987639b'::uuid;

-- Query #32547 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32548 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2245b32b-cc1a-112c-9f3f-8a5e45d0836d'::uuid;

-- Query #32549 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2245b32b-cc1a-112c-9f3f-8a5e45d0836d'::uuid]);

-- Query #32550 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2245b32b-cc1a-112c-9f3f-8a5e45d0836d'::uuid;

-- Query #32551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2245b32b-cc1a-112c-9f3f-8a5e45d0836d'::uuid, 'Imdb', 'tt0645636')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32552 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2245b32b-cc1a-112c-9f3f-8a5e45d0836d'::uuid, 'Tmdb', 800)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32553 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2245b32b-cc1a-112c-9f3f-8a5e45d0836d'::uuid, 'TvMaze', 68270)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32554 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2245b32b-cc1a-112c-9f3f-8a5e45d0836d'::uuid, 'Tvdb', 299566)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2245b32b-cc1a-112c-9f3f-8a5e45d0836d'::uuid, 'TvRage', 113832)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32556 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2245b32b-cc1a-112c-9f3f-8a5e45d0836d'::uuid, 'trakt', 1376)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32557 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2245b32b-cc1a-112c-9f3f-8a5e45d0836d'::uuid, 'TmdbCollection', 800)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32558 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2245b32b-cc1a-112c-9f3f-8a5e45d0836d'::uuid;

-- Query #32559 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2245b32b-cc1a-112c-9f3f-8a5e45d0836d'::uuid;

-- Query #32560 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2245b32b-cc1a-112c-9f3f-8a5e45d0836d'::uuid]);

-- Query #32561 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2245b32b-cc1a-112c-9f3f-8a5e45d0836d'::uuid;

-- Query #32562 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32563 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd9d94581-ff3b-ef7b-9030-634bb65bc147'::uuid;

-- Query #32564 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d9d94581-ff3b-ef7b-9030-634bb65bc147'::uuid]);

-- Query #32565 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd9d94581-ff3b-ef7b-9030-634bb65bc147'::uuid;

-- Query #32566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9d94581-ff3b-ef7b-9030-634bb65bc147'::uuid, 'Imdb', 'tt0786605')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32567 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9d94581-ff3b-ef7b-9030-634bb65bc147'::uuid, 'Tmdb', 816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32568 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9d94581-ff3b-ef7b-9030-634bb65bc147'::uuid, 'TvMaze', 68286)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32569 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9d94581-ff3b-ef7b-9030-634bb65bc147'::uuid, 'Tvdb', 306259)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9d94581-ff3b-ef7b-9030-634bb65bc147'::uuid, 'TvRage', 335911)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9d94581-ff3b-ef7b-9030-634bb65bc147'::uuid, 'trakt', 1392)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32572 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9d94581-ff3b-ef7b-9030-634bb65bc147'::uuid, 'TmdbCollection', 816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32573 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd9d94581-ff3b-ef7b-9030-634bb65bc147'::uuid;

-- Query #32574 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd9d94581-ff3b-ef7b-9030-634bb65bc147'::uuid;

-- Query #32575 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d9d94581-ff3b-ef7b-9030-634bb65bc147'::uuid]);

-- Query #32576 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd9d94581-ff3b-ef7b-9030-634bb65bc147'::uuid;

-- Query #32577 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32578 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f750209-035b-3163-4a7a-42a818050470'::uuid;

-- Query #32579 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0f750209-035b-3163-4a7a-42a818050470'::uuid]);

-- Query #32580 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0f750209-035b-3163-4a7a-42a818050470'::uuid;

-- Query #32581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f750209-035b-3163-4a7a-42a818050470'::uuid, 'Tmdb', 807)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f750209-035b-3163-4a7a-42a818050470'::uuid, 'TvMaze', 68277)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f750209-035b-3163-4a7a-42a818050470'::uuid, 'TvRage', 304681)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f750209-035b-3163-4a7a-42a818050470'::uuid, 'trakt', 1383)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f750209-035b-3163-4a7a-42a818050470'::uuid, 'TmdbCollection', 807)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f750209-035b-3163-4a7a-42a818050470'::uuid, 'Tvdb', 301759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32587 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f750209-035b-3163-4a7a-42a818050470'::uuid, 'Imdb', 'tt0645631')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32588 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f750209-035b-3163-4a7a-42a818050470'::uuid;

-- Query #32589 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0f750209-035b-3163-4a7a-42a818050470'::uuid;

-- Query #32590 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0f750209-035b-3163-4a7a-42a818050470'::uuid]);

-- Query #32591 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0f750209-035b-3163-4a7a-42a818050470'::uuid;

-- Query #32592 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32593 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ceee47d7-228a-acc4-2695-c5ad38d52bc7'::uuid;

-- Query #32594 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ceee47d7-228a-acc4-2695-c5ad38d52bc7'::uuid]);

-- Query #32595 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ceee47d7-228a-acc4-2695-c5ad38d52bc7'::uuid;

-- Query #32596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ceee47d7-228a-acc4-2695-c5ad38d52bc7'::uuid, 'TmdbCollection', 813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ceee47d7-228a-acc4-2695-c5ad38d52bc7'::uuid, 'Imdb', 'tt0772547')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ceee47d7-228a-acc4-2695-c5ad38d52bc7'::uuid, 'Tmdb', 813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ceee47d7-228a-acc4-2695-c5ad38d52bc7'::uuid, 'TvMaze', 68283)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ceee47d7-228a-acc4-2695-c5ad38d52bc7'::uuid, 'Tvdb', 303777)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ceee47d7-228a-acc4-2695-c5ad38d52bc7'::uuid, 'TvRage', 325465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ceee47d7-228a-acc4-2695-c5ad38d52bc7'::uuid, 'trakt', 1389)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32603 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ceee47d7-228a-acc4-2695-c5ad38d52bc7'::uuid;

-- Query #32604 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ceee47d7-228a-acc4-2695-c5ad38d52bc7'::uuid;

-- Query #32605 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ceee47d7-228a-acc4-2695-c5ad38d52bc7'::uuid]);

-- Query #32606 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ceee47d7-228a-acc4-2695-c5ad38d52bc7'::uuid;

-- Query #32607 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32608 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '35386b36-a4cc-8a16-f63a-e0cff3f1c083'::uuid;

-- Query #32609 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['35386b36-a4cc-8a16-f63a-e0cff3f1c083'::uuid]);

-- Query #32610 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '35386b36-a4cc-8a16-f63a-e0cff3f1c083'::uuid;

-- Query #32611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35386b36-a4cc-8a16-f63a-e0cff3f1c083'::uuid, 'TmdbCollection', 803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35386b36-a4cc-8a16-f63a-e0cff3f1c083'::uuid, 'Imdb', 'tt0645633')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35386b36-a4cc-8a16-f63a-e0cff3f1c083'::uuid, 'Tmdb', 803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32614 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35386b36-a4cc-8a16-f63a-e0cff3f1c083'::uuid, 'TvMaze', 68273)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35386b36-a4cc-8a16-f63a-e0cff3f1c083'::uuid, 'Tvdb', 299569)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35386b36-a4cc-8a16-f63a-e0cff3f1c083'::uuid, 'TvRage', 113835)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35386b36-a4cc-8a16-f63a-e0cff3f1c083'::uuid, 'trakt', 1379)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32618 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '35386b36-a4cc-8a16-f63a-e0cff3f1c083'::uuid;

-- Query #32619 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '35386b36-a4cc-8a16-f63a-e0cff3f1c083'::uuid;

-- Query #32620 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['35386b36-a4cc-8a16-f63a-e0cff3f1c083'::uuid]);

-- Query #32621 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '35386b36-a4cc-8a16-f63a-e0cff3f1c083'::uuid;

-- Query #32622 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32623 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6b1ae12a-46ac-e290-7438-c2867eb67d96'::uuid;

-- Query #32624 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6b1ae12a-46ac-e290-7438-c2867eb67d96'::uuid]);

-- Query #32625 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6b1ae12a-46ac-e290-7438-c2867eb67d96'::uuid;

-- Query #32626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6b1ae12a-46ac-e290-7438-c2867eb67d96'::uuid, 'Imdb', 'tt0645637')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6b1ae12a-46ac-e290-7438-c2867eb67d96'::uuid, 'Tmdb', 801)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6b1ae12a-46ac-e290-7438-c2867eb67d96'::uuid, 'TvMaze', 68271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6b1ae12a-46ac-e290-7438-c2867eb67d96'::uuid, 'Tvdb', 299567)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6b1ae12a-46ac-e290-7438-c2867eb67d96'::uuid, 'TvRage', 113833)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32631 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6b1ae12a-46ac-e290-7438-c2867eb67d96'::uuid, 'trakt', 1377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32632 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6b1ae12a-46ac-e290-7438-c2867eb67d96'::uuid, 'TmdbCollection', 801)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32633 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6b1ae12a-46ac-e290-7438-c2867eb67d96'::uuid;

-- Query #32634 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6b1ae12a-46ac-e290-7438-c2867eb67d96'::uuid;

-- Query #32635 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6b1ae12a-46ac-e290-7438-c2867eb67d96'::uuid]);

-- Query #32636 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6b1ae12a-46ac-e290-7438-c2867eb67d96'::uuid;

-- Query #32637 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32638 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5bcdaa23-eede-e564-d24f-cd6b181a23a1'::uuid;

-- Query #32639 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bcdaa23-eede-e564-d24f-cd6b181a23a1'::uuid]);

-- Query #32640 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5bcdaa23-eede-e564-d24f-cd6b181a23a1'::uuid;

-- Query #32641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bcdaa23-eede-e564-d24f-cd6b181a23a1'::uuid, 'Imdb', 'tt0645638')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bcdaa23-eede-e564-d24f-cd6b181a23a1'::uuid, 'Tmdb', 806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bcdaa23-eede-e564-d24f-cd6b181a23a1'::uuid, 'TvMaze', 68276)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32644 | logged_duration_ms=5 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bcdaa23-eede-e564-d24f-cd6b181a23a1'::uuid, 'Tvdb', 301758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bcdaa23-eede-e564-d24f-cd6b181a23a1'::uuid, 'TvRage', 304680)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32646 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bcdaa23-eede-e564-d24f-cd6b181a23a1'::uuid, 'trakt', 1382)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5bcdaa23-eede-e564-d24f-cd6b181a23a1'::uuid, 'TmdbCollection', 806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32648 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5bcdaa23-eede-e564-d24f-cd6b181a23a1'::uuid;

-- Query #32649 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5bcdaa23-eede-e564-d24f-cd6b181a23a1'::uuid;

-- Query #32650 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5bcdaa23-eede-e564-d24f-cd6b181a23a1'::uuid]);

-- Query #32651 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5bcdaa23-eede-e564-d24f-cd6b181a23a1'::uuid;

-- Query #32652 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32653 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf856b05-b4ee-5865-804e-c77205afed98'::uuid;

-- Query #32654 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf856b05-b4ee-5865-804e-c77205afed98'::uuid]);

-- Query #32655 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cf856b05-b4ee-5865-804e-c77205afed98'::uuid;

-- Query #32656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf856b05-b4ee-5865-804e-c77205afed98'::uuid, 'Imdb', 'tt0805898')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf856b05-b4ee-5865-804e-c77205afed98'::uuid, 'Tmdb', 820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf856b05-b4ee-5865-804e-c77205afed98'::uuid, 'TvMaze', 68290)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf856b05-b4ee-5865-804e-c77205afed98'::uuid, 'Tvdb', 307230)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf856b05-b4ee-5865-804e-c77205afed98'::uuid, 'TvRage', 361640)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32661 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf856b05-b4ee-5865-804e-c77205afed98'::uuid, 'trakt', 1396)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32662 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf856b05-b4ee-5865-804e-c77205afed98'::uuid, 'TmdbCollection', 820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32663 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf856b05-b4ee-5865-804e-c77205afed98'::uuid;

-- Query #32664 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cf856b05-b4ee-5865-804e-c77205afed98'::uuid;

-- Query #32665 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cf856b05-b4ee-5865-804e-c77205afed98'::uuid]);

-- Query #32666 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cf856b05-b4ee-5865-804e-c77205afed98'::uuid;

-- Query #32667 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32668 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8d243f93-0bdc-7738-b753-98a6c21f01c7'::uuid;

-- Query #32669 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8d243f93-0bdc-7738-b753-98a6c21f01c7'::uuid]);

-- Query #32670 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8d243f93-0bdc-7738-b753-98a6c21f01c7'::uuid;

-- Query #32671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d243f93-0bdc-7738-b753-98a6c21f01c7'::uuid, 'Imdb', 'tt0645640')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d243f93-0bdc-7738-b753-98a6c21f01c7'::uuid, 'Tmdb', 799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d243f93-0bdc-7738-b753-98a6c21f01c7'::uuid, 'TvMaze', 68269)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d243f93-0bdc-7738-b753-98a6c21f01c7'::uuid, 'Tvdb', 299145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d243f93-0bdc-7738-b753-98a6c21f01c7'::uuid, 'TvRage', 113831)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d243f93-0bdc-7738-b753-98a6c21f01c7'::uuid, 'trakt', 1375)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d243f93-0bdc-7738-b753-98a6c21f01c7'::uuid, 'TmdbCollection', 799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8d243f93-0bdc-7738-b753-98a6c21f01c7'::uuid;

-- Query #32679 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8d243f93-0bdc-7738-b753-98a6c21f01c7'::uuid;

-- Query #32680 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8d243f93-0bdc-7738-b753-98a6c21f01c7'::uuid]);

-- Query #32681 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8d243f93-0bdc-7738-b753-98a6c21f01c7'::uuid;

-- Query #32682 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32683 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2e833fb-7477-96de-671a-f987227fe3e9'::uuid;

-- Query #32684 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2e833fb-7477-96de-671a-f987227fe3e9'::uuid]);

-- Query #32685 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e2e833fb-7477-96de-671a-f987227fe3e9'::uuid;

-- Query #32686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2e833fb-7477-96de-671a-f987227fe3e9'::uuid, 'Imdb', 'tt0984592')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2e833fb-7477-96de-671a-f987227fe3e9'::uuid, 'Tmdb', 772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2e833fb-7477-96de-671a-f987227fe3e9'::uuid, 'TvMaze', 68307)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2e833fb-7477-96de-671a-f987227fe3e9'::uuid, 'Tvdb', 324751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2e833fb-7477-96de-671a-f987227fe3e9'::uuid, 'TvRage', 530341)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2e833fb-7477-96de-671a-f987227fe3e9'::uuid, 'trakt', 1413)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2e833fb-7477-96de-671a-f987227fe3e9'::uuid, 'TmdbCollection', 772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32693 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2e833fb-7477-96de-671a-f987227fe3e9'::uuid;

-- Query #32694 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e2e833fb-7477-96de-671a-f987227fe3e9'::uuid;

-- Query #32695 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e2e833fb-7477-96de-671a-f987227fe3e9'::uuid]);

-- Query #32696 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e2e833fb-7477-96de-671a-f987227fe3e9'::uuid;

-- Query #32697 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32698 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '54f20c45-3b9a-141d-964d-43a688d982d0'::uuid;

-- Query #32699 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['54f20c45-3b9a-141d-964d-43a688d982d0'::uuid]);

-- Query #32700 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '54f20c45-3b9a-141d-964d-43a688d982d0'::uuid;

-- Query #32701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54f20c45-3b9a-141d-964d-43a688d982d0'::uuid, 'Tmdb', 767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54f20c45-3b9a-141d-964d-43a688d982d0'::uuid, 'TvMaze', 68300)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54f20c45-3b9a-141d-964d-43a688d982d0'::uuid, 'Tvdb', 315801)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54f20c45-3b9a-141d-964d-43a688d982d0'::uuid, 'TvRage', 507923)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54f20c45-3b9a-141d-964d-43a688d982d0'::uuid, 'trakt', 1406)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54f20c45-3b9a-141d-964d-43a688d982d0'::uuid, 'TmdbCollection', 767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54f20c45-3b9a-141d-964d-43a688d982d0'::uuid, 'Imdb', 'tt0918789')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32708 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '54f20c45-3b9a-141d-964d-43a688d982d0'::uuid;

-- Query #32709 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '54f20c45-3b9a-141d-964d-43a688d982d0'::uuid;

-- Query #32710 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['54f20c45-3b9a-141d-964d-43a688d982d0'::uuid]);

-- Query #32711 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '54f20c45-3b9a-141d-964d-43a688d982d0'::uuid;

-- Query #32712 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32713 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed5d3741-c3f7-ebc5-8ae5-9aa08b077cac'::uuid;

-- Query #32714 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed5d3741-c3f7-ebc5-8ae5-9aa08b077cac'::uuid]);

-- Query #32715 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ed5d3741-c3f7-ebc5-8ae5-9aa08b077cac'::uuid;

-- Query #32716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed5d3741-c3f7-ebc5-8ae5-9aa08b077cac'::uuid, 'Tvdb', 315799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed5d3741-c3f7-ebc5-8ae5-9aa08b077cac'::uuid, 'TvRage', 497467)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed5d3741-c3f7-ebc5-8ae5-9aa08b077cac'::uuid, 'trakt', 1404)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed5d3741-c3f7-ebc5-8ae5-9aa08b077cac'::uuid, 'TmdbCollection', 766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed5d3741-c3f7-ebc5-8ae5-9aa08b077cac'::uuid, 'Imdb', 'tt0900394')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed5d3741-c3f7-ebc5-8ae5-9aa08b077cac'::uuid, 'Tmdb', 766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ed5d3741-c3f7-ebc5-8ae5-9aa08b077cac'::uuid, 'TvMaze', 68298)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32723 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed5d3741-c3f7-ebc5-8ae5-9aa08b077cac'::uuid;

-- Query #32724 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ed5d3741-c3f7-ebc5-8ae5-9aa08b077cac'::uuid;

-- Query #32725 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ed5d3741-c3f7-ebc5-8ae5-9aa08b077cac'::uuid]);

-- Query #32726 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ed5d3741-c3f7-ebc5-8ae5-9aa08b077cac'::uuid;

-- Query #32727 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32728 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9619775b-fd0f-2cfa-5f44-214334b26971'::uuid;

-- Query #32729 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9619775b-fd0f-2cfa-5f44-214334b26971'::uuid]);

-- Query #32730 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9619775b-fd0f-2cfa-5f44-214334b26971'::uuid;

-- Query #32731 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9619775b-fd0f-2cfa-5f44-214334b26971'::uuid, 'TvRage', 484663)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32732 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9619775b-fd0f-2cfa-5f44-214334b26971'::uuid, 'Imdb', 'tt0873133')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32733 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9619775b-fd0f-2cfa-5f44-214334b26971'::uuid, 'Tmdb', 759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9619775b-fd0f-2cfa-5f44-214334b26971'::uuid, 'trakt', 1399)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9619775b-fd0f-2cfa-5f44-214334b26971'::uuid, 'TvMaze', 68293)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9619775b-fd0f-2cfa-5f44-214334b26971'::uuid, 'Tvdb', 315794)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9619775b-fd0f-2cfa-5f44-214334b26971'::uuid, 'TmdbCollection', 759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32738 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9619775b-fd0f-2cfa-5f44-214334b26971'::uuid;

-- Query #32739 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9619775b-fd0f-2cfa-5f44-214334b26971'::uuid;

-- Query #32740 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9619775b-fd0f-2cfa-5f44-214334b26971'::uuid]);

-- Query #32741 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9619775b-fd0f-2cfa-5f44-214334b26971'::uuid;

-- Query #32742 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32743 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a54771b2-5ace-deb7-d7a8-13d9dd1c28ba'::uuid;

-- Query #32744 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a54771b2-5ace-deb7-d7a8-13d9dd1c28ba'::uuid]);

-- Query #32745 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a54771b2-5ace-deb7-d7a8-13d9dd1c28ba'::uuid;

-- Query #32746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a54771b2-5ace-deb7-d7a8-13d9dd1c28ba'::uuid, 'Imdb', 'tt0968117')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a54771b2-5ace-deb7-d7a8-13d9dd1c28ba'::uuid, 'Tmdb', 775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a54771b2-5ace-deb7-d7a8-13d9dd1c28ba'::uuid, 'TvMaze', 68304)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a54771b2-5ace-deb7-d7a8-13d9dd1c28ba'::uuid, 'TvRage', 518912)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a54771b2-5ace-deb7-d7a8-13d9dd1c28ba'::uuid, 'trakt', 1410)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a54771b2-5ace-deb7-d7a8-13d9dd1c28ba'::uuid, 'TmdbCollection', 775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a54771b2-5ace-deb7-d7a8-13d9dd1c28ba'::uuid, 'Tvdb', 319765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32753 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a54771b2-5ace-deb7-d7a8-13d9dd1c28ba'::uuid;

-- Query #32754 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a54771b2-5ace-deb7-d7a8-13d9dd1c28ba'::uuid;

-- Query #32755 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a54771b2-5ace-deb7-d7a8-13d9dd1c28ba'::uuid]);

-- Query #32756 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a54771b2-5ace-deb7-d7a8-13d9dd1c28ba'::uuid;

-- Query #32757 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32758 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c9d09a6-f723-bb68-eefb-371938d4cd31'::uuid;

-- Query #32759 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c9d09a6-f723-bb68-eefb-371938d4cd31'::uuid]);

-- Query #32760 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1c9d09a6-f723-bb68-eefb-371938d4cd31'::uuid;

-- Query #32761 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c9d09a6-f723-bb68-eefb-371938d4cd31'::uuid, 'Imdb', 'tt1001945')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32762 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c9d09a6-f723-bb68-eefb-371938d4cd31'::uuid, 'Tmdb', 779)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32763 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c9d09a6-f723-bb68-eefb-371938d4cd31'::uuid, 'TvMaze', 68311)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32764 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c9d09a6-f723-bb68-eefb-371938d4cd31'::uuid, 'Tvdb', 330028)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c9d09a6-f723-bb68-eefb-371938d4cd31'::uuid, 'TvRage', 544071)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c9d09a6-f723-bb68-eefb-371938d4cd31'::uuid, 'trakt', 1417)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c9d09a6-f723-bb68-eefb-371938d4cd31'::uuid, 'TmdbCollection', 779)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32768 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c9d09a6-f723-bb68-eefb-371938d4cd31'::uuid;

-- Query #32769 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1c9d09a6-f723-bb68-eefb-371938d4cd31'::uuid;

-- Query #32770 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1c9d09a6-f723-bb68-eefb-371938d4cd31'::uuid]);

-- Query #32771 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1c9d09a6-f723-bb68-eefb-371938d4cd31'::uuid;

-- Query #32772 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32773 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #32774 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bbad1e82-f973-dd4f-8fdc-f4f4703ea6e4'::uuid;

-- Query #32775 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bbad1e82-f973-dd4f-8fdc-f4f4703ea6e4'::uuid]);

-- Query #32776 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bbad1e82-f973-dd4f-8fdc-f4f4703ea6e4'::uuid;

-- Query #32777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bbad1e82-f973-dd4f-8fdc-f4f4703ea6e4'::uuid, 'Tmdb', 764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bbad1e82-f973-dd4f-8fdc-f4f4703ea6e4'::uuid, 'trakt', 1397)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bbad1e82-f973-dd4f-8fdc-f4f4703ea6e4'::uuid, 'TvMaze', 68291)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bbad1e82-f973-dd4f-8fdc-f4f4703ea6e4'::uuid, 'TmdbCollection', 764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bbad1e82-f973-dd4f-8fdc-f4f4703ea6e4'::uuid, 'Tvdb', 315755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bbad1e82-f973-dd4f-8fdc-f4f4703ea6e4'::uuid, 'TvRage', 0)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bbad1e82-f973-dd4f-8fdc-f4f4703ea6e4'::uuid, 'Imdb', 'tt0883186')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32784 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bbad1e82-f973-dd4f-8fdc-f4f4703ea6e4'::uuid;

-- Query #32785 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bbad1e82-f973-dd4f-8fdc-f4f4703ea6e4'::uuid;

-- Query #32786 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bbad1e82-f973-dd4f-8fdc-f4f4703ea6e4'::uuid]);

-- Query #32787 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bbad1e82-f973-dd4f-8fdc-f4f4703ea6e4'::uuid;

-- Query #32788 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ae87da3b-f5d1-77c9-7052-c273ba4d38e6'::uuid;

-- Query #32790 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ae87da3b-f5d1-77c9-7052-c273ba4d38e6'::uuid]);

-- Query #32791 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ae87da3b-f5d1-77c9-7052-c273ba4d38e6'::uuid;

-- Query #32792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae87da3b-f5d1-77c9-7052-c273ba4d38e6'::uuid, 'TmdbCollection', 760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32793 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae87da3b-f5d1-77c9-7052-c273ba4d38e6'::uuid, 'Imdb', 'tt0914668')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae87da3b-f5d1-77c9-7052-c273ba4d38e6'::uuid, 'Tmdb', 760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae87da3b-f5d1-77c9-7052-c273ba4d38e6'::uuid, 'TvMaze', 68294)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae87da3b-f5d1-77c9-7052-c273ba4d38e6'::uuid, 'Tvdb', 315795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae87da3b-f5d1-77c9-7052-c273ba4d38e6'::uuid, 'TvRage', 484663)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae87da3b-f5d1-77c9-7052-c273ba4d38e6'::uuid, 'trakt', 1400)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32799 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ae87da3b-f5d1-77c9-7052-c273ba4d38e6'::uuid;

-- Query #32800 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ae87da3b-f5d1-77c9-7052-c273ba4d38e6'::uuid;

-- Query #32801 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ae87da3b-f5d1-77c9-7052-c273ba4d38e6'::uuid]);

-- Query #32802 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ae87da3b-f5d1-77c9-7052-c273ba4d38e6'::uuid;

-- Query #32803 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32804 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db9470a8-2b58-2eb0-fab4-f84293d569cc'::uuid;

-- Query #32805 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db9470a8-2b58-2eb0-fab4-f84293d569cc'::uuid]);

-- Query #32806 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'db9470a8-2b58-2eb0-fab4-f84293d569cc'::uuid;

-- Query #32807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db9470a8-2b58-2eb0-fab4-f84293d569cc'::uuid, 'TmdbCollection', 777)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32808 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db9470a8-2b58-2eb0-fab4-f84293d569cc'::uuid, 'Imdb', 'tt1017797')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db9470a8-2b58-2eb0-fab4-f84293d569cc'::uuid, 'Tmdb', 777)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db9470a8-2b58-2eb0-fab4-f84293d569cc'::uuid, 'TvMaze', 68309)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32811 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db9470a8-2b58-2eb0-fab4-f84293d569cc'::uuid, 'Tvdb', 327431)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32812 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db9470a8-2b58-2eb0-fab4-f84293d569cc'::uuid, 'TvRage', 536092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32813 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('db9470a8-2b58-2eb0-fab4-f84293d569cc'::uuid, 'trakt', 1415)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32814 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db9470a8-2b58-2eb0-fab4-f84293d569cc'::uuid;

-- Query #32815 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'db9470a8-2b58-2eb0-fab4-f84293d569cc'::uuid;

-- Query #32816 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['db9470a8-2b58-2eb0-fab4-f84293d569cc'::uuid]);

-- Query #32817 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'db9470a8-2b58-2eb0-fab4-f84293d569cc'::uuid;

-- Query #32818 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32819 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44c4c634-5e6b-c95c-d8c1-af4973e8c27c'::uuid;

-- Query #32820 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44c4c634-5e6b-c95c-d8c1-af4973e8c27c'::uuid]);

-- Query #32821 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '44c4c634-5e6b-c95c-d8c1-af4973e8c27c'::uuid;

-- Query #32822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44c4c634-5e6b-c95c-d8c1-af4973e8c27c'::uuid, 'Imdb', 'tt1001943')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32823 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44c4c634-5e6b-c95c-d8c1-af4973e8c27c'::uuid, 'Tmdb', 778)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44c4c634-5e6b-c95c-d8c1-af4973e8c27c'::uuid, 'TvMaze', 68310)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44c4c634-5e6b-c95c-d8c1-af4973e8c27c'::uuid, 'Tvdb', 330027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44c4c634-5e6b-c95c-d8c1-af4973e8c27c'::uuid, 'TvRage', 541143)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44c4c634-5e6b-c95c-d8c1-af4973e8c27c'::uuid, 'trakt', 1416)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44c4c634-5e6b-c95c-d8c1-af4973e8c27c'::uuid, 'TmdbCollection', 778)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32829 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44c4c634-5e6b-c95c-d8c1-af4973e8c27c'::uuid;

-- Query #32830 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '44c4c634-5e6b-c95c-d8c1-af4973e8c27c'::uuid;

-- Query #32831 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['44c4c634-5e6b-c95c-d8c1-af4973e8c27c'::uuid]);

-- Query #32832 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '44c4c634-5e6b-c95c-d8c1-af4973e8c27c'::uuid;

-- Query #32833 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32834 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '115bad33-7583-75ce-4d3a-239f4b6fe83b'::uuid;

-- Query #32835 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['115bad33-7583-75ce-4d3a-239f4b6fe83b'::uuid]);

-- Query #32836 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '115bad33-7583-75ce-4d3a-239f4b6fe83b'::uuid;

-- Query #32837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('115bad33-7583-75ce-4d3a-239f4b6fe83b'::uuid, 'TvMaze', 68306)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('115bad33-7583-75ce-4d3a-239f4b6fe83b'::uuid, 'Tvdb', 322875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('115bad33-7583-75ce-4d3a-239f4b6fe83b'::uuid, 'TvRage', 528709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('115bad33-7583-75ce-4d3a-239f4b6fe83b'::uuid, 'TmdbCollection', 774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32841 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('115bad33-7583-75ce-4d3a-239f4b6fe83b'::uuid, 'trakt', 1412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32842 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('115bad33-7583-75ce-4d3a-239f4b6fe83b'::uuid, 'Imdb', 'tt0990809')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('115bad33-7583-75ce-4d3a-239f4b6fe83b'::uuid, 'Tmdb', 774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32844 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '115bad33-7583-75ce-4d3a-239f4b6fe83b'::uuid;

-- Query #32845 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '115bad33-7583-75ce-4d3a-239f4b6fe83b'::uuid;

-- Query #32846 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['115bad33-7583-75ce-4d3a-239f4b6fe83b'::uuid]);

-- Query #32847 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '115bad33-7583-75ce-4d3a-239f4b6fe83b'::uuid;

-- Query #32848 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32849 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '12696370-c506-47e4-a50e-59e7a73fc0bf'::uuid;

-- Query #32850 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['12696370-c506-47e4-a50e-59e7a73fc0bf'::uuid]);

-- Query #32851 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '12696370-c506-47e4-a50e-59e7a73fc0bf'::uuid;

-- Query #32852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12696370-c506-47e4-a50e-59e7a73fc0bf'::uuid, 'TmdbCollection', 762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12696370-c506-47e4-a50e-59e7a73fc0bf'::uuid, 'Imdb', 'tt0900395')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12696370-c506-47e4-a50e-59e7a73fc0bf'::uuid, 'Tmdb', 762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12696370-c506-47e4-a50e-59e7a73fc0bf'::uuid, 'TvMaze', 68296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12696370-c506-47e4-a50e-59e7a73fc0bf'::uuid, 'Tvdb', 315797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12696370-c506-47e4-a50e-59e7a73fc0bf'::uuid, 'TvRage', 492893)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12696370-c506-47e4-a50e-59e7a73fc0bf'::uuid, 'trakt', 1402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32859 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '12696370-c506-47e4-a50e-59e7a73fc0bf'::uuid;

-- Query #32860 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '12696370-c506-47e4-a50e-59e7a73fc0bf'::uuid;

-- Query #32861 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['12696370-c506-47e4-a50e-59e7a73fc0bf'::uuid]);

-- Query #32862 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '12696370-c506-47e4-a50e-59e7a73fc0bf'::uuid;

-- Query #32863 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32864 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3d9a28cd-ffe2-9d51-5120-00d9637d6f18'::uuid;

-- Query #32865 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d9a28cd-ffe2-9d51-5120-00d9637d6f18'::uuid]);

-- Query #32866 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3d9a28cd-ffe2-9d51-5120-00d9637d6f18'::uuid;

-- Query #32867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d9a28cd-ffe2-9d51-5120-00d9637d6f18'::uuid, 'Imdb', 'tt1001942')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32868 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d9a28cd-ffe2-9d51-5120-00d9637d6f18'::uuid, 'Tmdb', 776)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32869 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d9a28cd-ffe2-9d51-5120-00d9637d6f18'::uuid, 'TvMaze', 68308)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d9a28cd-ffe2-9d51-5120-00d9637d6f18'::uuid, 'Tvdb', 324754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32871 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d9a28cd-ffe2-9d51-5120-00d9637d6f18'::uuid, 'TvRage', 534225)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d9a28cd-ffe2-9d51-5120-00d9637d6f18'::uuid, 'trakt', 1414)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3d9a28cd-ffe2-9d51-5120-00d9637d6f18'::uuid, 'TmdbCollection', 776)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32874 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3d9a28cd-ffe2-9d51-5120-00d9637d6f18'::uuid;

-- Query #32875 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3d9a28cd-ffe2-9d51-5120-00d9637d6f18'::uuid;

-- Query #32876 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3d9a28cd-ffe2-9d51-5120-00d9637d6f18'::uuid]);

-- Query #32877 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3d9a28cd-ffe2-9d51-5120-00d9637d6f18'::uuid;

-- Query #32878 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32879 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '61d8ef0c-9713-0083-a532-1be39e599d3b'::uuid;

-- Query #32880 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['61d8ef0c-9713-0083-a532-1be39e599d3b'::uuid]);

-- Query #32881 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '61d8ef0c-9713-0083-a532-1be39e599d3b'::uuid;

-- Query #32882 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61d8ef0c-9713-0083-a532-1be39e599d3b'::uuid, 'Imdb', 'tt0947166')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61d8ef0c-9713-0083-a532-1be39e599d3b'::uuid, 'Tmdb', 769)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61d8ef0c-9713-0083-a532-1be39e599d3b'::uuid, 'TvMaze', 68301)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61d8ef0c-9713-0083-a532-1be39e599d3b'::uuid, 'Tvdb', 315802)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61d8ef0c-9713-0083-a532-1be39e599d3b'::uuid, 'TvRage', 510512)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61d8ef0c-9713-0083-a532-1be39e599d3b'::uuid, 'trakt', 1407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61d8ef0c-9713-0083-a532-1be39e599d3b'::uuid, 'TmdbCollection', 769)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32889 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '61d8ef0c-9713-0083-a532-1be39e599d3b'::uuid;

-- Query #32890 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '61d8ef0c-9713-0083-a532-1be39e599d3b'::uuid;

-- Query #32891 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['61d8ef0c-9713-0083-a532-1be39e599d3b'::uuid]);

-- Query #32892 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '61d8ef0c-9713-0083-a532-1be39e599d3b'::uuid;

-- Query #32893 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32894 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebf2bff3-44bc-bf82-058f-014210c0767c'::uuid;

-- Query #32895 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ebf2bff3-44bc-bf82-058f-014210c0767c'::uuid]);

-- Query #32896 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ebf2bff3-44bc-bf82-058f-014210c0767c'::uuid;

-- Query #32897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf2bff3-44bc-bf82-058f-014210c0767c'::uuid, 'TmdbCollection', 761)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf2bff3-44bc-bf82-058f-014210c0767c'::uuid, 'Imdb', 'tt0922122')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32899 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf2bff3-44bc-bf82-058f-014210c0767c'::uuid, 'Tmdb', 761)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32900 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf2bff3-44bc-bf82-058f-014210c0767c'::uuid, 'TvMaze', 68295)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32901 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf2bff3-44bc-bf82-058f-014210c0767c'::uuid, 'Tvdb', 315796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf2bff3-44bc-bf82-058f-014210c0767c'::uuid, 'TvRage', 484670)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf2bff3-44bc-bf82-058f-014210c0767c'::uuid, 'trakt', 1401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32904 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebf2bff3-44bc-bf82-058f-014210c0767c'::uuid;

-- Query #32905 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ebf2bff3-44bc-bf82-058f-014210c0767c'::uuid;

-- Query #32906 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ebf2bff3-44bc-bf82-058f-014210c0767c'::uuid]);

-- Query #32907 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ebf2bff3-44bc-bf82-058f-014210c0767c'::uuid;

-- Query #32908 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32909 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2520a348-8f0b-9a66-6aea-5d25312df73d'::uuid;

-- Query #32910 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2520a348-8f0b-9a66-6aea-5d25312df73d'::uuid]);

-- Query #32911 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2520a348-8f0b-9a66-6aea-5d25312df73d'::uuid;

-- Query #32912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2520a348-8f0b-9a66-6aea-5d25312df73d'::uuid, 'TmdbCollection', 771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2520a348-8f0b-9a66-6aea-5d25312df73d'::uuid, 'Imdb', 'tt0918790')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2520a348-8f0b-9a66-6aea-5d25312df73d'::uuid, 'Tmdb', 771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32915 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2520a348-8f0b-9a66-6aea-5d25312df73d'::uuid, 'TvMaze', 68302)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32916 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2520a348-8f0b-9a66-6aea-5d25312df73d'::uuid, 'Tvdb', 317093)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32917 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2520a348-8f0b-9a66-6aea-5d25312df73d'::uuid, 'TvRage', 511494)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2520a348-8f0b-9a66-6aea-5d25312df73d'::uuid, 'trakt', 1408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32919 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2520a348-8f0b-9a66-6aea-5d25312df73d'::uuid;

-- Query #32920 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2520a348-8f0b-9a66-6aea-5d25312df73d'::uuid;

-- Query #32921 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2520a348-8f0b-9a66-6aea-5d25312df73d'::uuid]);

-- Query #32922 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2520a348-8f0b-9a66-6aea-5d25312df73d'::uuid;

-- Query #32923 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32924 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '12150b97-9a55-69dc-6ddc-011c3fc51ec2'::uuid;

-- Query #32925 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['12150b97-9a55-69dc-6ddc-011c3fc51ec2'::uuid]);

-- Query #32926 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '12150b97-9a55-69dc-6ddc-011c3fc51ec2'::uuid;

-- Query #32927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12150b97-9a55-69dc-6ddc-011c3fc51ec2'::uuid, 'Imdb', 'tt0988378')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32928 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12150b97-9a55-69dc-6ddc-011c3fc51ec2'::uuid, 'Tmdb', 773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32929 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12150b97-9a55-69dc-6ddc-011c3fc51ec2'::uuid, 'TvMaze', 68305)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32930 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12150b97-9a55-69dc-6ddc-011c3fc51ec2'::uuid, 'Tvdb', 319766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32931 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12150b97-9a55-69dc-6ddc-011c3fc51ec2'::uuid, 'TvRage', 525088)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32932 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12150b97-9a55-69dc-6ddc-011c3fc51ec2'::uuid, 'trakt', 1411)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32933 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('12150b97-9a55-69dc-6ddc-011c3fc51ec2'::uuid, 'TmdbCollection', 773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32934 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '12150b97-9a55-69dc-6ddc-011c3fc51ec2'::uuid;

-- Query #32935 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '12150b97-9a55-69dc-6ddc-011c3fc51ec2'::uuid;

-- Query #32936 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['12150b97-9a55-69dc-6ddc-011c3fc51ec2'::uuid]);

-- Query #32937 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '12150b97-9a55-69dc-6ddc-011c3fc51ec2'::uuid;

-- Query #32938 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32939 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a5bd172-14ec-1463-7cc2-00d8bd625083'::uuid;

-- Query #32940 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a5bd172-14ec-1463-7cc2-00d8bd625083'::uuid]);

-- Query #32941 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9a5bd172-14ec-1463-7cc2-00d8bd625083'::uuid;

-- Query #32942 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a5bd172-14ec-1463-7cc2-00d8bd625083'::uuid, 'Imdb', 'tt1134333')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32943 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a5bd172-14ec-1463-7cc2-00d8bd625083'::uuid, 'Tmdb', 731)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32944 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a5bd172-14ec-1463-7cc2-00d8bd625083'::uuid, 'TvMaze', 68318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32945 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a5bd172-14ec-1463-7cc2-00d8bd625083'::uuid, 'Tvdb', 354116)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32946 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a5bd172-14ec-1463-7cc2-00d8bd625083'::uuid, 'TvRage', 641055)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a5bd172-14ec-1463-7cc2-00d8bd625083'::uuid, 'trakt', 1424)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a5bd172-14ec-1463-7cc2-00d8bd625083'::uuid, 'TmdbCollection', 731)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32949 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a5bd172-14ec-1463-7cc2-00d8bd625083'::uuid;

-- Query #32950 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9a5bd172-14ec-1463-7cc2-00d8bd625083'::uuid;

-- Query #32951 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9a5bd172-14ec-1463-7cc2-00d8bd625083'::uuid]);

-- Query #32952 | logged_duration_ms=2 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9a5bd172-14ec-1463-7cc2-00d8bd625083'::uuid;

-- Query #32953 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fab176ca-8511-3ee6-b374-036dae9e196e'::uuid;

-- Query #32955 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fab176ca-8511-3ee6-b374-036dae9e196e'::uuid]);

-- Query #32956 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fab176ca-8511-3ee6-b374-036dae9e196e'::uuid;

-- Query #32957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fab176ca-8511-3ee6-b374-036dae9e196e'::uuid, 'TmdbCollection', 726)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32958 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fab176ca-8511-3ee6-b374-036dae9e196e'::uuid, 'Imdb', 'tt1165870')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32959 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fab176ca-8511-3ee6-b374-036dae9e196e'::uuid, 'Tmdb', 726)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32960 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fab176ca-8511-3ee6-b374-036dae9e196e'::uuid, 'TvMaze', 68313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32961 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fab176ca-8511-3ee6-b374-036dae9e196e'::uuid, 'Tvdb', 347645)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fab176ca-8511-3ee6-b374-036dae9e196e'::uuid, 'TvRage', 590574)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fab176ca-8511-3ee6-b374-036dae9e196e'::uuid, 'trakt', 1419)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32964 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fab176ca-8511-3ee6-b374-036dae9e196e'::uuid;

-- Query #32965 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fab176ca-8511-3ee6-b374-036dae9e196e'::uuid;

-- Query #32966 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fab176ca-8511-3ee6-b374-036dae9e196e'::uuid]);

-- Query #32967 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fab176ca-8511-3ee6-b374-036dae9e196e'::uuid;

-- Query #32968 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32969 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '754e82b0-b1eb-a19b-7de4-df41d78a71f0'::uuid;

-- Query #32970 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['754e82b0-b1eb-a19b-7de4-df41d78a71f0'::uuid]);

-- Query #32971 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '754e82b0-b1eb-a19b-7de4-df41d78a71f0'::uuid;

-- Query #32972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('754e82b0-b1eb-a19b-7de4-df41d78a71f0'::uuid, 'TvMaze', 68327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32973 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('754e82b0-b1eb-a19b-7de4-df41d78a71f0'::uuid, 'trakt', 1433)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32974 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('754e82b0-b1eb-a19b-7de4-df41d78a71f0'::uuid, 'TmdbCollection', 740)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('754e82b0-b1eb-a19b-7de4-df41d78a71f0'::uuid, 'Tvdb', 364402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('754e82b0-b1eb-a19b-7de4-df41d78a71f0'::uuid, 'TvRage', 653119)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('754e82b0-b1eb-a19b-7de4-df41d78a71f0'::uuid, 'Imdb', 'tt1217238')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('754e82b0-b1eb-a19b-7de4-df41d78a71f0'::uuid, 'Tmdb', 740)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32979 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '754e82b0-b1eb-a19b-7de4-df41d78a71f0'::uuid;

-- Query #32980 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '754e82b0-b1eb-a19b-7de4-df41d78a71f0'::uuid;

-- Query #32981 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['754e82b0-b1eb-a19b-7de4-df41d78a71f0'::uuid]);

-- Query #32982 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '754e82b0-b1eb-a19b-7de4-df41d78a71f0'::uuid;

-- Query #32983 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32984 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dc25e0dc-6d9d-6d0f-fb4e-bffea36f03f0'::uuid;

-- Query #32985 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dc25e0dc-6d9d-6d0f-fb4e-bffea36f03f0'::uuid]);

-- Query #32986 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dc25e0dc-6d9d-6d0f-fb4e-bffea36f03f0'::uuid;

-- Query #32987 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc25e0dc-6d9d-6d0f-fb4e-bffea36f03f0'::uuid, 'Tmdb', 733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32988 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc25e0dc-6d9d-6d0f-fb4e-bffea36f03f0'::uuid, 'TvMaze', 68320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32989 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc25e0dc-6d9d-6d0f-fb4e-bffea36f03f0'::uuid, 'TvRage', 642683)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc25e0dc-6d9d-6d0f-fb4e-bffea36f03f0'::uuid, 'trakt', 1426)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc25e0dc-6d9d-6d0f-fb4e-bffea36f03f0'::uuid, 'TmdbCollection', 733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc25e0dc-6d9d-6d0f-fb4e-bffea36f03f0'::uuid, 'Tvdb', 354118)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc25e0dc-6d9d-6d0f-fb4e-bffea36f03f0'::uuid, 'Imdb', 'tt1192789')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #32994 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dc25e0dc-6d9d-6d0f-fb4e-bffea36f03f0'::uuid;

-- Query #32995 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dc25e0dc-6d9d-6d0f-fb4e-bffea36f03f0'::uuid;

-- Query #32996 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dc25e0dc-6d9d-6d0f-fb4e-bffea36f03f0'::uuid]);

-- Query #32997 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dc25e0dc-6d9d-6d0f-fb4e-bffea36f03f0'::uuid;

-- Query #32998 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #32999 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '30015a31-e36b-fa70-3865-1667f270c177'::uuid;

-- Query #33000 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30015a31-e36b-fa70-3865-1667f270c177'::uuid]);

-- Query #33001 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '30015a31-e36b-fa70-3865-1667f270c177'::uuid;

-- Query #33002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30015a31-e36b-fa70-3865-1667f270c177'::uuid, 'TmdbCollection', 727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30015a31-e36b-fa70-3865-1667f270c177'::uuid, 'Imdb', 'tt1165871')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30015a31-e36b-fa70-3865-1667f270c177'::uuid, 'Tmdb', 727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33005 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30015a31-e36b-fa70-3865-1667f270c177'::uuid, 'TvMaze', 68314)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33006 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30015a31-e36b-fa70-3865-1667f270c177'::uuid, 'Tvdb', 347646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30015a31-e36b-fa70-3865-1667f270c177'::uuid, 'TvRage', 595004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30015a31-e36b-fa70-3865-1667f270c177'::uuid, 'trakt', 1420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33009 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '30015a31-e36b-fa70-3865-1667f270c177'::uuid;

-- Query #33010 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '30015a31-e36b-fa70-3865-1667f270c177'::uuid;

-- Query #33011 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['30015a31-e36b-fa70-3865-1667f270c177'::uuid]);

-- Query #33012 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '30015a31-e36b-fa70-3865-1667f270c177'::uuid;

-- Query #33013 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33014 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ade77853-4dff-600c-1a9b-b754c50a0057'::uuid;

-- Query #33015 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ade77853-4dff-600c-1a9b-b754c50a0057'::uuid]);

-- Query #33016 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ade77853-4dff-600c-1a9b-b754c50a0057'::uuid;

-- Query #33017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ade77853-4dff-600c-1a9b-b754c50a0057'::uuid, 'Imdb', 'tt1216865')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33018 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ade77853-4dff-600c-1a9b-b754c50a0057'::uuid, 'Tmdb', 738)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ade77853-4dff-600c-1a9b-b754c50a0057'::uuid, 'TvMaze', 68325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33020 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ade77853-4dff-600c-1a9b-b754c50a0057'::uuid, 'Tvdb', 363107)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33021 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ade77853-4dff-600c-1a9b-b754c50a0057'::uuid, 'TvRage', 651098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33022 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ade77853-4dff-600c-1a9b-b754c50a0057'::uuid, 'trakt', 1431)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33023 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ade77853-4dff-600c-1a9b-b754c50a0057'::uuid, 'TmdbCollection', 738)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33024 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ade77853-4dff-600c-1a9b-b754c50a0057'::uuid;

-- Query #33025 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ade77853-4dff-600c-1a9b-b754c50a0057'::uuid;

-- Query #33026 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ade77853-4dff-600c-1a9b-b754c50a0057'::uuid]);

-- Query #33027 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ade77853-4dff-600c-1a9b-b754c50a0057'::uuid;

-- Query #33028 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33029 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '47a46f21-e74b-70bd-28df-aa7d38c63692'::uuid;

-- Query #33030 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['47a46f21-e74b-70bd-28df-aa7d38c63692'::uuid]);

-- Query #33031 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '47a46f21-e74b-70bd-28df-aa7d38c63692'::uuid;

-- Query #33032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47a46f21-e74b-70bd-28df-aa7d38c63692'::uuid, 'TvRage', 596752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33033 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47a46f21-e74b-70bd-28df-aa7d38c63692'::uuid, 'trakt', 1422)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33034 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47a46f21-e74b-70bd-28df-aa7d38c63692'::uuid, 'TmdbCollection', 729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47a46f21-e74b-70bd-28df-aa7d38c63692'::uuid, 'Imdb', 'tt1168423')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47a46f21-e74b-70bd-28df-aa7d38c63692'::uuid, 'Tmdb', 729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47a46f21-e74b-70bd-28df-aa7d38c63692'::uuid, 'TvMaze', 68316)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47a46f21-e74b-70bd-28df-aa7d38c63692'::uuid, 'Tvdb', 350456)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33039 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '47a46f21-e74b-70bd-28df-aa7d38c63692'::uuid;

-- Query #33040 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '47a46f21-e74b-70bd-28df-aa7d38c63692'::uuid;

-- Query #33041 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['47a46f21-e74b-70bd-28df-aa7d38c63692'::uuid]);

-- Query #33042 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '47a46f21-e74b-70bd-28df-aa7d38c63692'::uuid;

-- Query #33043 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33044 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2dba0adc-4875-69c3-4ff4-07290a40370c'::uuid;

-- Query #33045 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2dba0adc-4875-69c3-4ff4-07290a40370c'::uuid]);

-- Query #33046 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2dba0adc-4875-69c3-4ff4-07290a40370c'::uuid;

-- Query #33047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2dba0adc-4875-69c3-4ff4-07290a40370c'::uuid, 'Imdb', 'tt1228883')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2dba0adc-4875-69c3-4ff4-07290a40370c'::uuid, 'Tmdb', 741)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2dba0adc-4875-69c3-4ff4-07290a40370c'::uuid, 'TvMaze', 68328)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2dba0adc-4875-69c3-4ff4-07290a40370c'::uuid, 'Tvdb', 366021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2dba0adc-4875-69c3-4ff4-07290a40370c'::uuid, 'TvRage', 653744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2dba0adc-4875-69c3-4ff4-07290a40370c'::uuid, 'trakt', 1434)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2dba0adc-4875-69c3-4ff4-07290a40370c'::uuid, 'TmdbCollection', 741)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33054 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2dba0adc-4875-69c3-4ff4-07290a40370c'::uuid;

-- Query #33055 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2dba0adc-4875-69c3-4ff4-07290a40370c'::uuid;

-- Query #33056 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2dba0adc-4875-69c3-4ff4-07290a40370c'::uuid]);

-- Query #33057 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2dba0adc-4875-69c3-4ff4-07290a40370c'::uuid;

-- Query #33058 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33059 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f4a6202b-fde2-fbd4-7763-e4da0d51b958'::uuid;

-- Query #33060 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4a6202b-fde2-fbd4-7763-e4da0d51b958'::uuid]);

-- Query #33061 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f4a6202b-fde2-fbd4-7763-e4da0d51b958'::uuid;

-- Query #33062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4a6202b-fde2-fbd4-7763-e4da0d51b958'::uuid, 'TvRage', 639371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4a6202b-fde2-fbd4-7763-e4da0d51b958'::uuid, 'trakt', 1423)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4a6202b-fde2-fbd4-7763-e4da0d51b958'::uuid, 'TmdbCollection', 730)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4a6202b-fde2-fbd4-7763-e4da0d51b958'::uuid, 'Imdb', 'tt1168422')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4a6202b-fde2-fbd4-7763-e4da0d51b958'::uuid, 'Tmdb', 730)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33067 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4a6202b-fde2-fbd4-7763-e4da0d51b958'::uuid, 'TvMaze', 68317)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4a6202b-fde2-fbd4-7763-e4da0d51b958'::uuid, 'Tvdb', 354114)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33069 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f4a6202b-fde2-fbd4-7763-e4da0d51b958'::uuid;

-- Query #33070 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f4a6202b-fde2-fbd4-7763-e4da0d51b958'::uuid;

-- Query #33071 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f4a6202b-fde2-fbd4-7763-e4da0d51b958'::uuid]);

-- Query #33072 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f4a6202b-fde2-fbd4-7763-e4da0d51b958'::uuid;

-- Query #33073 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33074 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #33075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1614e605-ae4f-412e-0aff-6a320a245f0f'::uuid;

-- Query #33076 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1614e605-ae4f-412e-0aff-6a320a245f0f'::uuid]);

-- Query #33077 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1614e605-ae4f-412e-0aff-6a320a245f0f'::uuid;

-- Query #33078 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1614e605-ae4f-412e-0aff-6a320a245f0f'::uuid, 'TvRage', 646425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33079 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1614e605-ae4f-412e-0aff-6a320a245f0f'::uuid, 'trakt', 1429)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1614e605-ae4f-412e-0aff-6a320a245f0f'::uuid, 'TmdbCollection', 736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33081 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1614e605-ae4f-412e-0aff-6a320a245f0f'::uuid, 'Imdb', 'tt1211076')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33082 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1614e605-ae4f-412e-0aff-6a320a245f0f'::uuid, 'Tmdb', 736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33083 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1614e605-ae4f-412e-0aff-6a320a245f0f'::uuid, 'TvMaze', 68323)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33084 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1614e605-ae4f-412e-0aff-6a320a245f0f'::uuid, 'Tvdb', 358828)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33085 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1614e605-ae4f-412e-0aff-6a320a245f0f'::uuid;

-- Query #33086 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1614e605-ae4f-412e-0aff-6a320a245f0f'::uuid;

-- Query #33087 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1614e605-ae4f-412e-0aff-6a320a245f0f'::uuid]);

-- Query #33088 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1614e605-ae4f-412e-0aff-6a320a245f0f'::uuid;

-- Query #33089 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33090 | logged_duration_ms=2 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab12ada4-e3a4-0b68-fcca-ed192ed990ee'::uuid;

-- Query #33091 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab12ada4-e3a4-0b68-fcca-ed192ed990ee'::uuid]);

-- Query #33092 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ab12ada4-e3a4-0b68-fcca-ed192ed990ee'::uuid;

-- Query #33093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab12ada4-e3a4-0b68-fcca-ed192ed990ee'::uuid, 'Imdb', 'tt1168424')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab12ada4-e3a4-0b68-fcca-ed192ed990ee'::uuid, 'Tmdb', 728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab12ada4-e3a4-0b68-fcca-ed192ed990ee'::uuid, 'TvMaze', 68315)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab12ada4-e3a4-0b68-fcca-ed192ed990ee'::uuid, 'Tvdb', 347647)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33097 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab12ada4-e3a4-0b68-fcca-ed192ed990ee'::uuid, 'TvRage', 595005)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33098 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab12ada4-e3a4-0b68-fcca-ed192ed990ee'::uuid, 'trakt', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33099 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab12ada4-e3a4-0b68-fcca-ed192ed990ee'::uuid, 'TmdbCollection', 728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33100 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab12ada4-e3a4-0b68-fcca-ed192ed990ee'::uuid;

-- Query #33101 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ab12ada4-e3a4-0b68-fcca-ed192ed990ee'::uuid;

-- Query #33102 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ab12ada4-e3a4-0b68-fcca-ed192ed990ee'::uuid]);

-- Query #33103 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ab12ada4-e3a4-0b68-fcca-ed192ed990ee'::uuid;

-- Query #33104 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33105 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b1563d2b-4015-11e0-f64c-8ccd3a4115cb'::uuid;

-- Query #33106 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1563d2b-4015-11e0-f64c-8ccd3a4115cb'::uuid]);

-- Query #33107 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b1563d2b-4015-11e0-f64c-8ccd3a4115cb'::uuid;

-- Query #33108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1563d2b-4015-11e0-f64c-8ccd3a4115cb'::uuid, 'TmdbCollection', 734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1563d2b-4015-11e0-f64c-8ccd3a4115cb'::uuid, 'Imdb', 'tt1190032')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1563d2b-4015-11e0-f64c-8ccd3a4115cb'::uuid, 'Tmdb', 734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33111 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1563d2b-4015-11e0-f64c-8ccd3a4115cb'::uuid, 'TvMaze', 68321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33112 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1563d2b-4015-11e0-f64c-8ccd3a4115cb'::uuid, 'Tvdb', 357965)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1563d2b-4015-11e0-f64c-8ccd3a4115cb'::uuid, 'TvRage', 643823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33114 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b1563d2b-4015-11e0-f64c-8ccd3a4115cb'::uuid, 'trakt', 1427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33115 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b1563d2b-4015-11e0-f64c-8ccd3a4115cb'::uuid;

-- Query #33116 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b1563d2b-4015-11e0-f64c-8ccd3a4115cb'::uuid;

-- Query #33117 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b1563d2b-4015-11e0-f64c-8ccd3a4115cb'::uuid]);

-- Query #33118 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b1563d2b-4015-11e0-f64c-8ccd3a4115cb'::uuid;

-- Query #33119 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33120 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '39fd3575-12bb-259e-688c-283f33dd98a2'::uuid;

-- Query #33121 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39fd3575-12bb-259e-688c-283f33dd98a2'::uuid]);

-- Query #33122 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '39fd3575-12bb-259e-688c-283f33dd98a2'::uuid;

-- Query #33123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39fd3575-12bb-259e-688c-283f33dd98a2'::uuid, 'TmdbCollection', 735)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39fd3575-12bb-259e-688c-283f33dd98a2'::uuid, 'Imdb', 'tt1197589')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33125 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39fd3575-12bb-259e-688c-283f33dd98a2'::uuid, 'Tmdb', 735)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39fd3575-12bb-259e-688c-283f33dd98a2'::uuid, 'TvMaze', 68322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33127 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39fd3575-12bb-259e-688c-283f33dd98a2'::uuid, 'Tvdb', 358825)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33128 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39fd3575-12bb-259e-688c-283f33dd98a2'::uuid, 'TvRage', 644333)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33129 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39fd3575-12bb-259e-688c-283f33dd98a2'::uuid, 'trakt', 1428)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33130 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '39fd3575-12bb-259e-688c-283f33dd98a2'::uuid;

-- Query #33131 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '39fd3575-12bb-259e-688c-283f33dd98a2'::uuid;

-- Query #33132 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['39fd3575-12bb-259e-688c-283f33dd98a2'::uuid]);

-- Query #33133 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '39fd3575-12bb-259e-688c-283f33dd98a2'::uuid;

-- Query #33134 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33135 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4fadb33e-4a8a-77fa-fd27-70032ba7e0e0'::uuid;

-- Query #33136 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4fadb33e-4a8a-77fa-fd27-70032ba7e0e0'::uuid]);

-- Query #33137 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4fadb33e-4a8a-77fa-fd27-70032ba7e0e0'::uuid;

-- Query #33138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4fadb33e-4a8a-77fa-fd27-70032ba7e0e0'::uuid, 'Imdb', 'tt1365289')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33139 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4fadb33e-4a8a-77fa-fd27-70032ba7e0e0'::uuid, 'Tmdb', 783)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33140 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4fadb33e-4a8a-77fa-fd27-70032ba7e0e0'::uuid, 'TvMaze', 68332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33141 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4fadb33e-4a8a-77fa-fd27-70032ba7e0e0'::uuid, 'Tvdb', 434465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33142 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4fadb33e-4a8a-77fa-fd27-70032ba7e0e0'::uuid, 'TvRage', 774565)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33143 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4fadb33e-4a8a-77fa-fd27-70032ba7e0e0'::uuid, 'trakt', 1438)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33144 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4fadb33e-4a8a-77fa-fd27-70032ba7e0e0'::uuid, 'TmdbCollection', 783)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33145 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4fadb33e-4a8a-77fa-fd27-70032ba7e0e0'::uuid;

-- Query #33146 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4fadb33e-4a8a-77fa-fd27-70032ba7e0e0'::uuid;

-- Query #33147 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4fadb33e-4a8a-77fa-fd27-70032ba7e0e0'::uuid]);

-- Query #33148 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4fadb33e-4a8a-77fa-fd27-70032ba7e0e0'::uuid;

-- Query #33149 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33150 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c5aae0f6-180a-256a-0f85-3d9e7e8370db'::uuid;

-- Query #33151 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c5aae0f6-180a-256a-0f85-3d9e7e8370db'::uuid]);

-- Query #33152 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c5aae0f6-180a-256a-0f85-3d9e7e8370db'::uuid;

-- Query #33153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5aae0f6-180a-256a-0f85-3d9e7e8370db'::uuid, 'TmdbCollection', 788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33154 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5aae0f6-180a-256a-0f85-3d9e7e8370db'::uuid, 'Imdb', 'tt1365288')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33155 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5aae0f6-180a-256a-0f85-3d9e7e8370db'::uuid, 'Tmdb', 788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33156 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5aae0f6-180a-256a-0f85-3d9e7e8370db'::uuid, 'TvMaze', 68337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33157 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5aae0f6-180a-256a-0f85-3d9e7e8370db'::uuid, 'Tvdb', 487901)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5aae0f6-180a-256a-0f85-3d9e7e8370db'::uuid, 'TvRage', 1064793833)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33159 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c5aae0f6-180a-256a-0f85-3d9e7e8370db'::uuid, 'trakt', 1443)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33160 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c5aae0f6-180a-256a-0f85-3d9e7e8370db'::uuid;

-- Query #33161 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c5aae0f6-180a-256a-0f85-3d9e7e8370db'::uuid;

-- Query #33162 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c5aae0f6-180a-256a-0f85-3d9e7e8370db'::uuid]);

-- Query #33163 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c5aae0f6-180a-256a-0f85-3d9e7e8370db'::uuid;

-- Query #33164 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33165 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '295199be-1178-eeed-64d2-01547861c619'::uuid;

-- Query #33166 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['295199be-1178-eeed-64d2-01547861c619'::uuid]);

-- Query #33167 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '295199be-1178-eeed-64d2-01547861c619'::uuid;

-- Query #33168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('295199be-1178-eeed-64d2-01547861c619'::uuid, 'Imdb', 'tt1352956')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33169 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('295199be-1178-eeed-64d2-01547861c619'::uuid, 'Tmdb', 785)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33170 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('295199be-1178-eeed-64d2-01547861c619'::uuid, 'TvMaze', 68334)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33171 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('295199be-1178-eeed-64d2-01547861c619'::uuid, 'Tvdb', 437444)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33172 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('295199be-1178-eeed-64d2-01547861c619'::uuid, 'TvRage', 781369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33173 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('295199be-1178-eeed-64d2-01547861c619'::uuid, 'trakt', 1440)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33174 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('295199be-1178-eeed-64d2-01547861c619'::uuid, 'TmdbCollection', 785)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33175 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '295199be-1178-eeed-64d2-01547861c619'::uuid;

-- Query #33176 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '295199be-1178-eeed-64d2-01547861c619'::uuid;

-- Query #33177 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['295199be-1178-eeed-64d2-01547861c619'::uuid]);

-- Query #33178 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '295199be-1178-eeed-64d2-01547861c619'::uuid;

-- Query #33179 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33180 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b6cc8aaa-3ee9-4f69-597b-a3b11a5af472'::uuid;

-- Query #33181 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b6cc8aaa-3ee9-4f69-597b-a3b11a5af472'::uuid]);

-- Query #33182 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b6cc8aaa-3ee9-4f69-597b-a3b11a5af472'::uuid;

-- Query #33183 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6cc8aaa-3ee9-4f69-597b-a3b11a5af472'::uuid, 'TvRage', 1064810356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33184 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6cc8aaa-3ee9-4f69-597b-a3b11a5af472'::uuid, 'trakt', 1452)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33185 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6cc8aaa-3ee9-4f69-597b-a3b11a5af472'::uuid, 'TmdbCollection', 798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33186 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6cc8aaa-3ee9-4f69-597b-a3b11a5af472'::uuid, 'Imdb', 'tt1434494')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33187 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6cc8aaa-3ee9-4f69-597b-a3b11a5af472'::uuid, 'Tmdb', 798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33188 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6cc8aaa-3ee9-4f69-597b-a3b11a5af472'::uuid, 'TvMaze', 68346)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b6cc8aaa-3ee9-4f69-597b-a3b11a5af472'::uuid, 'Tvdb', 646521)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33190 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b6cc8aaa-3ee9-4f69-597b-a3b11a5af472'::uuid;

-- Query #33191 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b6cc8aaa-3ee9-4f69-597b-a3b11a5af472'::uuid;

-- Query #33192 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b6cc8aaa-3ee9-4f69-597b-a3b11a5af472'::uuid]);

-- Query #33193 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b6cc8aaa-3ee9-4f69-597b-a3b11a5af472'::uuid;

-- Query #33194 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33195 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4225042b-978f-a585-c55c-a12298009eb3'::uuid;

-- Query #33196 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4225042b-978f-a585-c55c-a12298009eb3'::uuid]);

-- Query #33197 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4225042b-978f-a585-c55c-a12298009eb3'::uuid;

-- Query #33198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4225042b-978f-a585-c55c-a12298009eb3'::uuid, 'TmdbCollection', 790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33199 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4225042b-978f-a585-c55c-a12298009eb3'::uuid, 'Imdb', 'tt1365277')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33200 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4225042b-978f-a585-c55c-a12298009eb3'::uuid, 'Tmdb', 790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33201 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4225042b-978f-a585-c55c-a12298009eb3'::uuid, 'TvMaze', 68339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33202 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4225042b-978f-a585-c55c-a12298009eb3'::uuid, 'Tvdb', 565161)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33203 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4225042b-978f-a585-c55c-a12298009eb3'::uuid, 'TvRage', 1064799085)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33204 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4225042b-978f-a585-c55c-a12298009eb3'::uuid, 'trakt', 1445)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33205 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4225042b-978f-a585-c55c-a12298009eb3'::uuid;

-- Query #33206 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4225042b-978f-a585-c55c-a12298009eb3'::uuid;

-- Query #33207 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4225042b-978f-a585-c55c-a12298009eb3'::uuid]);

-- Query #33208 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4225042b-978f-a585-c55c-a12298009eb3'::uuid;

-- Query #33209 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33210 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52f7154d-8ee9-1520-c1af-71248bc0f88a'::uuid;

-- Query #33211 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['52f7154d-8ee9-1520-c1af-71248bc0f88a'::uuid]);

-- Query #33212 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '52f7154d-8ee9-1520-c1af-71248bc0f88a'::uuid;

-- Query #33213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52f7154d-8ee9-1520-c1af-71248bc0f88a'::uuid, 'Tmdb', 791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52f7154d-8ee9-1520-c1af-71248bc0f88a'::uuid, 'TvMaze', 68340)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52f7154d-8ee9-1520-c1af-71248bc0f88a'::uuid, 'TvRage', 1064799086)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33216 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52f7154d-8ee9-1520-c1af-71248bc0f88a'::uuid, 'trakt', 1446)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52f7154d-8ee9-1520-c1af-71248bc0f88a'::uuid, 'TmdbCollection', 791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52f7154d-8ee9-1520-c1af-71248bc0f88a'::uuid, 'Tvdb', 565171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52f7154d-8ee9-1520-c1af-71248bc0f88a'::uuid, 'Imdb', 'tt1365278')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33220 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52f7154d-8ee9-1520-c1af-71248bc0f88a'::uuid;

-- Query #33221 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '52f7154d-8ee9-1520-c1af-71248bc0f88a'::uuid;

-- Query #33222 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['52f7154d-8ee9-1520-c1af-71248bc0f88a'::uuid]);

-- Query #33223 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '52f7154d-8ee9-1520-c1af-71248bc0f88a'::uuid;

-- Query #33224 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd99e0145-9400-9c25-e9ac-9bc1038d77d2'::uuid;

-- Query #33226 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d99e0145-9400-9c25-e9ac-9bc1038d77d2'::uuid]);

-- Query #33227 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd99e0145-9400-9c25-e9ac-9bc1038d77d2'::uuid;

-- Query #33228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d99e0145-9400-9c25-e9ac-9bc1038d77d2'::uuid, 'trakt', 1450)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d99e0145-9400-9c25-e9ac-9bc1038d77d2'::uuid, 'TmdbCollection', 796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33230 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d99e0145-9400-9c25-e9ac-9bc1038d77d2'::uuid, 'Imdb', 'tt1365282')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33231 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d99e0145-9400-9c25-e9ac-9bc1038d77d2'::uuid, 'Tmdb', 796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d99e0145-9400-9c25-e9ac-9bc1038d77d2'::uuid, 'TvMaze', 68344)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d99e0145-9400-9c25-e9ac-9bc1038d77d2'::uuid, 'Tvdb', 646501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d99e0145-9400-9c25-e9ac-9bc1038d77d2'::uuid, 'TvRage', 1064804030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33235 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd99e0145-9400-9c25-e9ac-9bc1038d77d2'::uuid;

-- Query #33236 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd99e0145-9400-9c25-e9ac-9bc1038d77d2'::uuid;

-- Query #33237 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d99e0145-9400-9c25-e9ac-9bc1038d77d2'::uuid]);

-- Query #33238 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd99e0145-9400-9c25-e9ac-9bc1038d77d2'::uuid;

-- Query #33239 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33240 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '03c964de-650d-9c36-8b50-89274dc9dc46'::uuid;

-- Query #33241 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03c964de-650d-9c36-8b50-89274dc9dc46'::uuid]);

-- Query #33242 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '03c964de-650d-9c36-8b50-89274dc9dc46'::uuid;

-- Query #33243 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03c964de-650d-9c36-8b50-89274dc9dc46'::uuid, 'TvRage', 0)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33244 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03c964de-650d-9c36-8b50-89274dc9dc46'::uuid, 'Imdb', 'tt1365279')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33245 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03c964de-650d-9c36-8b50-89274dc9dc46'::uuid, 'Tmdb', 792)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03c964de-650d-9c36-8b50-89274dc9dc46'::uuid, 'trakt', 1447)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03c964de-650d-9c36-8b50-89274dc9dc46'::uuid, 'TvMaze', 68341)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03c964de-650d-9c36-8b50-89274dc9dc46'::uuid, 'Tvdb', 565181)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('03c964de-650d-9c36-8b50-89274dc9dc46'::uuid, 'TmdbCollection', 792)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33250 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '03c964de-650d-9c36-8b50-89274dc9dc46'::uuid;

-- Query #33251 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '03c964de-650d-9c36-8b50-89274dc9dc46'::uuid;

-- Query #33252 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['03c964de-650d-9c36-8b50-89274dc9dc46'::uuid]);

-- Query #33253 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '03c964de-650d-9c36-8b50-89274dc9dc46'::uuid;

-- Query #33254 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33255 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd6d09ebe-a11b-9403-475b-e1f98fe79ab0'::uuid;

-- Query #33256 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d6d09ebe-a11b-9403-475b-e1f98fe79ab0'::uuid]);

-- Query #33257 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd6d09ebe-a11b-9403-475b-e1f98fe79ab0'::uuid;

-- Query #33258 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d6d09ebe-a11b-9403-475b-e1f98fe79ab0'::uuid, 'TmdbCollection', 795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33259 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d6d09ebe-a11b-9403-475b-e1f98fe79ab0'::uuid, 'Imdb', 'tt1365281')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33260 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d6d09ebe-a11b-9403-475b-e1f98fe79ab0'::uuid, 'Tmdb', 795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d6d09ebe-a11b-9403-475b-e1f98fe79ab0'::uuid, 'TvMaze', 68343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d6d09ebe-a11b-9403-475b-e1f98fe79ab0'::uuid, 'Tvdb', 565191)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d6d09ebe-a11b-9403-475b-e1f98fe79ab0'::uuid, 'TvRage', 1064801822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d6d09ebe-a11b-9403-475b-e1f98fe79ab0'::uuid, 'trakt', 1449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33265 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd6d09ebe-a11b-9403-475b-e1f98fe79ab0'::uuid;

-- Query #33266 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd6d09ebe-a11b-9403-475b-e1f98fe79ab0'::uuid;

-- Query #33267 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d6d09ebe-a11b-9403-475b-e1f98fe79ab0'::uuid]);

-- Query #33268 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd6d09ebe-a11b-9403-475b-e1f98fe79ab0'::uuid;

-- Query #33269 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33270 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aeb6f58b-b985-7f05-5f71-e7b4cf438cc2'::uuid;

-- Query #33271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aeb6f58b-b985-7f05-5f71-e7b4cf438cc2'::uuid]);

-- Query #33272 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'aeb6f58b-b985-7f05-5f71-e7b4cf438cc2'::uuid;

-- Query #33273 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aeb6f58b-b985-7f05-5f71-e7b4cf438cc2'::uuid, 'Imdb', 'tt1365286')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aeb6f58b-b985-7f05-5f71-e7b4cf438cc2'::uuid, 'Tmdb', 786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aeb6f58b-b985-7f05-5f71-e7b4cf438cc2'::uuid, 'TvMaze', 68335)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aeb6f58b-b985-7f05-5f71-e7b4cf438cc2'::uuid, 'Tvdb', 444933)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aeb6f58b-b985-7f05-5f71-e7b4cf438cc2'::uuid, 'TvRage', 784968)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aeb6f58b-b985-7f05-5f71-e7b4cf438cc2'::uuid, 'trakt', 1441)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aeb6f58b-b985-7f05-5f71-e7b4cf438cc2'::uuid, 'TmdbCollection', 786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33280 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aeb6f58b-b985-7f05-5f71-e7b4cf438cc2'::uuid;

-- Query #33281 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'aeb6f58b-b985-7f05-5f71-e7b4cf438cc2'::uuid;

-- Query #33282 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['aeb6f58b-b985-7f05-5f71-e7b4cf438cc2'::uuid]);

-- Query #33283 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'aeb6f58b-b985-7f05-5f71-e7b4cf438cc2'::uuid;

-- Query #33284 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33285 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '519d24fa-74ac-9916-c70a-229efd399e1d'::uuid;

-- Query #33286 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['519d24fa-74ac-9916-c70a-229efd399e1d'::uuid]);

-- Query #33287 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '519d24fa-74ac-9916-c70a-229efd399e1d'::uuid;

-- Query #33288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('519d24fa-74ac-9916-c70a-229efd399e1d'::uuid, 'Imdb', 'tt1365290')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('519d24fa-74ac-9916-c70a-229efd399e1d'::uuid, 'Tmdb', 782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('519d24fa-74ac-9916-c70a-229efd399e1d'::uuid, 'TvMaze', 68331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('519d24fa-74ac-9916-c70a-229efd399e1d'::uuid, 'Tvdb', 434464)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('519d24fa-74ac-9916-c70a-229efd399e1d'::uuid, 'TvRage', 785659)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('519d24fa-74ac-9916-c70a-229efd399e1d'::uuid, 'trakt', 1437)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('519d24fa-74ac-9916-c70a-229efd399e1d'::uuid, 'TmdbCollection', 782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33295 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '519d24fa-74ac-9916-c70a-229efd399e1d'::uuid;

-- Query #33296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '519d24fa-74ac-9916-c70a-229efd399e1d'::uuid;

-- Query #33297 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['519d24fa-74ac-9916-c70a-229efd399e1d'::uuid]);

-- Query #33298 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '519d24fa-74ac-9916-c70a-229efd399e1d'::uuid;

-- Query #33299 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33300 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd51da272-d15a-61b9-bfad-d0e86f4de6e9'::uuid;

-- Query #33301 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d51da272-d15a-61b9-bfad-d0e86f4de6e9'::uuid]);

-- Query #33302 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd51da272-d15a-61b9-bfad-d0e86f4de6e9'::uuid;

-- Query #33303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d51da272-d15a-61b9-bfad-d0e86f4de6e9'::uuid, 'Imdb', 'tt1363403')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d51da272-d15a-61b9-bfad-d0e86f4de6e9'::uuid, 'Tmdb', 780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d51da272-d15a-61b9-bfad-d0e86f4de6e9'::uuid, 'TvMaze', 68329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d51da272-d15a-61b9-bfad-d0e86f4de6e9'::uuid, 'Tvdb', 424517)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d51da272-d15a-61b9-bfad-d0e86f4de6e9'::uuid, 'TvRage', 750209)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d51da272-d15a-61b9-bfad-d0e86f4de6e9'::uuid, 'trakt', 1435)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d51da272-d15a-61b9-bfad-d0e86f4de6e9'::uuid, 'TmdbCollection', 780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33310 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd51da272-d15a-61b9-bfad-d0e86f4de6e9'::uuid;

-- Query #33311 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd51da272-d15a-61b9-bfad-d0e86f4de6e9'::uuid;

-- Query #33312 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d51da272-d15a-61b9-bfad-d0e86f4de6e9'::uuid]);

-- Query #33313 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd51da272-d15a-61b9-bfad-d0e86f4de6e9'::uuid;

-- Query #33314 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33315 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92bb7adf-49ab-74e8-dae6-94d5c47f90c9'::uuid;

-- Query #33316 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92bb7adf-49ab-74e8-dae6-94d5c47f90c9'::uuid]);

-- Query #33317 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '92bb7adf-49ab-74e8-dae6-94d5c47f90c9'::uuid;

-- Query #33318 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92bb7adf-49ab-74e8-dae6-94d5c47f90c9'::uuid, 'TmdbCollection', 797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92bb7adf-49ab-74e8-dae6-94d5c47f90c9'::uuid, 'Imdb', 'tt1365283')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92bb7adf-49ab-74e8-dae6-94d5c47f90c9'::uuid, 'Tmdb', 797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92bb7adf-49ab-74e8-dae6-94d5c47f90c9'::uuid, 'TvMaze', 68345)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92bb7adf-49ab-74e8-dae6-94d5c47f90c9'::uuid, 'Tvdb', 646511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92bb7adf-49ab-74e8-dae6-94d5c47f90c9'::uuid, 'TvRage', 1064808883)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('92bb7adf-49ab-74e8-dae6-94d5c47f90c9'::uuid, 'trakt', 1451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33325 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92bb7adf-49ab-74e8-dae6-94d5c47f90c9'::uuid;

-- Query #33326 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '92bb7adf-49ab-74e8-dae6-94d5c47f90c9'::uuid;

-- Query #33327 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['92bb7adf-49ab-74e8-dae6-94d5c47f90c9'::uuid]);

-- Query #33328 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '92bb7adf-49ab-74e8-dae6-94d5c47f90c9'::uuid;

-- Query #33329 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33330 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '27456d82-ae19-c57e-cf0f-773895292ab1'::uuid;

-- Query #33331 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['27456d82-ae19-c57e-cf0f-773895292ab1'::uuid]);

-- Query #33332 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '27456d82-ae19-c57e-cf0f-773895292ab1'::uuid;

-- Query #33333 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27456d82-ae19-c57e-cf0f-773895292ab1'::uuid, 'TmdbCollection', 784)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27456d82-ae19-c57e-cf0f-773895292ab1'::uuid, 'Imdb', 'tt1365284')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27456d82-ae19-c57e-cf0f-773895292ab1'::uuid, 'Tmdb', 784)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27456d82-ae19-c57e-cf0f-773895292ab1'::uuid, 'TvMaze', 68333)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27456d82-ae19-c57e-cf0f-773895292ab1'::uuid, 'Tvdb', 434466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27456d82-ae19-c57e-cf0f-773895292ab1'::uuid, 'TvRage', 778547)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27456d82-ae19-c57e-cf0f-773895292ab1'::uuid, 'trakt', 1439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33340 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '27456d82-ae19-c57e-cf0f-773895292ab1'::uuid;

-- Query #33341 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '27456d82-ae19-c57e-cf0f-773895292ab1'::uuid;

-- Query #33342 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['27456d82-ae19-c57e-cf0f-773895292ab1'::uuid]);

-- Query #33343 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '27456d82-ae19-c57e-cf0f-773895292ab1'::uuid;

-- Query #33344 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33345 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f7542743-4e37-0ced-d315-9142af90adf2'::uuid;

-- Query #33346 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f7542743-4e37-0ced-d315-9142af90adf2'::uuid]);

-- Query #33347 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f7542743-4e37-0ced-d315-9142af90adf2'::uuid;

-- Query #33348 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7542743-4e37-0ced-d315-9142af90adf2'::uuid, 'Imdb', 'tt1365291')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33349 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7542743-4e37-0ced-d315-9142af90adf2'::uuid, 'Tmdb', 781)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33350 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7542743-4e37-0ced-d315-9142af90adf2'::uuid, 'TvMaze', 68330)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33351 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7542743-4e37-0ced-d315-9142af90adf2'::uuid, 'Tvdb', 434463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7542743-4e37-0ced-d315-9142af90adf2'::uuid, 'TvRage', 785658)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7542743-4e37-0ced-d315-9142af90adf2'::uuid, 'trakt', 1436)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f7542743-4e37-0ced-d315-9142af90adf2'::uuid, 'TmdbCollection', 781)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33355 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f7542743-4e37-0ced-d315-9142af90adf2'::uuid;

-- Query #33356 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f7542743-4e37-0ced-d315-9142af90adf2'::uuid;

-- Query #33357 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f7542743-4e37-0ced-d315-9142af90adf2'::uuid]);

-- Query #33358 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f7542743-4e37-0ced-d315-9142af90adf2'::uuid;

-- Query #33359 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0af52832-89e6-ac75-d03e-4052188af7ec'::uuid;

-- Query #33361 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0af52832-89e6-ac75-d03e-4052188af7ec'::uuid]);

-- Query #33362 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0af52832-89e6-ac75-d03e-4052188af7ec'::uuid;

-- Query #33363 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0af52832-89e6-ac75-d03e-4052188af7ec'::uuid, 'TmdbCollection', 787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33364 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0af52832-89e6-ac75-d03e-4052188af7ec'::uuid, 'Imdb', 'tt1365287')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33365 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0af52832-89e6-ac75-d03e-4052188af7ec'::uuid, 'Tmdb', 787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0af52832-89e6-ac75-d03e-4052188af7ec'::uuid, 'TvMaze', 68336)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0af52832-89e6-ac75-d03e-4052188af7ec'::uuid, 'Tvdb', 453111)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0af52832-89e6-ac75-d03e-4052188af7ec'::uuid, 'TvRage', 1064793832)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0af52832-89e6-ac75-d03e-4052188af7ec'::uuid, 'trakt', 1442)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0af52832-89e6-ac75-d03e-4052188af7ec'::uuid;

-- Query #33371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0af52832-89e6-ac75-d03e-4052188af7ec'::uuid;

-- Query #33372 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+criminal consultant', '6+medium', '6+paranormal', '6+phoenix, arizona', '6+psychic power']);

-- Query #33373 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0af52832-89e6-ac75-d03e-4052188af7ec'::uuid]);

-- Query #33374 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0af52832-89e6-ac75-d03e-4052188af7ec'::uuid;

-- Query #33375 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33376 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '17cb356d-9e15-ff30-c5d9-bc3308a1740b'::uuid;

-- Query #33377 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['17cb356d-9e15-ff30-c5d9-bc3308a1740b'::uuid]);

-- Query #33378 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '17cb356d-9e15-ff30-c5d9-bc3308a1740b'::uuid;

-- Query #33379 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17cb356d-9e15-ff30-c5d9-bc3308a1740b'::uuid, 'TvMaze', 68363)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17cb356d-9e15-ff30-c5d9-bc3308a1740b'::uuid, 'Tvdb', 1685821)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17cb356d-9e15-ff30-c5d9-bc3308a1740b'::uuid, 'Imdb', 'tt1609643')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17cb356d-9e15-ff30-c5d9-bc3308a1740b'::uuid, 'TvRage', 1064893342)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33383 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '17cb356d-9e15-ff30-c5d9-bc3308a1740b'::uuid;

-- Query #33384 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '17cb356d-9e15-ff30-c5d9-bc3308a1740b'::uuid;

-- Query #33385 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['17cb356d-9e15-ff30-c5d9-bc3308a1740b'::uuid]);

-- Query #33386 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '17cb356d-9e15-ff30-c5d9-bc3308a1740b'::uuid;

-- Query #33387 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33388 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ce32d2f-0e66-58a3-60a1-d45bc7fe6517'::uuid;

-- Query #33389 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ce32d2f-0e66-58a3-60a1-d45bc7fe6517'::uuid]);

-- Query #33390 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0ce32d2f-0e66-58a3-60a1-d45bc7fe6517'::uuid;

-- Query #33391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ce32d2f-0e66-58a3-60a1-d45bc7fe6517'::uuid, 'Imdb', 'tt1508123')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ce32d2f-0e66-58a3-60a1-d45bc7fe6517'::uuid, 'TvRage', 1064847824)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33393 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ce32d2f-0e66-58a3-60a1-d45bc7fe6517'::uuid, 'TvMaze', 68352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33394 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ce32d2f-0e66-58a3-60a1-d45bc7fe6517'::uuid, 'Tvdb', 1105641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33395 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ce32d2f-0e66-58a3-60a1-d45bc7fe6517'::uuid;

-- Query #33396 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0ce32d2f-0e66-58a3-60a1-d45bc7fe6517'::uuid;

-- Query #33397 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0ce32d2f-0e66-58a3-60a1-d45bc7fe6517'::uuid]);

-- Query #33398 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0ce32d2f-0e66-58a3-60a1-d45bc7fe6517'::uuid;

-- Query #33399 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33400 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb767a35-dec6-f0ba-e2be-be18e582a347'::uuid;

-- Query #33401 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bb767a35-dec6-f0ba-e2be-be18e582a347'::uuid]);

-- Query #33402 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bb767a35-dec6-f0ba-e2be-be18e582a347'::uuid;

-- Query #33403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb767a35-dec6-f0ba-e2be-be18e582a347'::uuid, 'Imdb', 'tt1510474')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb767a35-dec6-f0ba-e2be-be18e582a347'::uuid, 'TvRage', 1064862976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb767a35-dec6-f0ba-e2be-be18e582a347'::uuid, 'TvMaze', 68353)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb767a35-dec6-f0ba-e2be-be18e582a347'::uuid, 'Tvdb', 1191071)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33407 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb767a35-dec6-f0ba-e2be-be18e582a347'::uuid;

-- Query #33408 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bb767a35-dec6-f0ba-e2be-be18e582a347'::uuid;

-- Query #33409 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bb767a35-dec6-f0ba-e2be-be18e582a347'::uuid]);

-- Query #33410 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bb767a35-dec6-f0ba-e2be-be18e582a347'::uuid;

-- Query #33411 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33412 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6aef6070-ad54-a965-b210-ec18352b2326'::uuid;

-- Query #33413 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6aef6070-ad54-a965-b210-ec18352b2326'::uuid]);

-- Query #33414 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6aef6070-ad54-a965-b210-ec18352b2326'::uuid;

-- Query #33415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6aef6070-ad54-a965-b210-ec18352b2326'::uuid, 'Imdb', 'tt1645505')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6aef6070-ad54-a965-b210-ec18352b2326'::uuid, 'TvRage', 1064911718)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6aef6070-ad54-a965-b210-ec18352b2326'::uuid, 'TvMaze', 68368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6aef6070-ad54-a965-b210-ec18352b2326'::uuid, 'Tvdb', 2049541)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33419 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6aef6070-ad54-a965-b210-ec18352b2326'::uuid;

-- Query #33420 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6aef6070-ad54-a965-b210-ec18352b2326'::uuid;

-- Query #33421 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6aef6070-ad54-a965-b210-ec18352b2326'::uuid]);

-- Query #33422 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6aef6070-ad54-a965-b210-ec18352b2326'::uuid;

-- Query #33423 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33424 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #33425 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '196b795e-415b-1a60-dfdd-fa3dcc43bda2'::uuid;

-- Query #33426 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['196b795e-415b-1a60-dfdd-fa3dcc43bda2'::uuid]);

-- Query #33427 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '196b795e-415b-1a60-dfdd-fa3dcc43bda2'::uuid;

-- Query #33428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('196b795e-415b-1a60-dfdd-fa3dcc43bda2'::uuid, 'Imdb', 'tt1583633')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('196b795e-415b-1a60-dfdd-fa3dcc43bda2'::uuid, 'TvRage', 1064890483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('196b795e-415b-1a60-dfdd-fa3dcc43bda2'::uuid, 'TvMaze', 68359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('196b795e-415b-1a60-dfdd-fa3dcc43bda2'::uuid, 'Tvdb', 1408371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33432 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '196b795e-415b-1a60-dfdd-fa3dcc43bda2'::uuid;

-- Query #33433 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '196b795e-415b-1a60-dfdd-fa3dcc43bda2'::uuid;

-- Query #33434 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['196b795e-415b-1a60-dfdd-fa3dcc43bda2'::uuid]);

-- Query #33435 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '196b795e-415b-1a60-dfdd-fa3dcc43bda2'::uuid;

-- Query #33436 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33437 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09b0c7c5-3251-7f3e-1cfc-53fb3129906f'::uuid;

-- Query #33438 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09b0c7c5-3251-7f3e-1cfc-53fb3129906f'::uuid]);

-- Query #33439 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '09b0c7c5-3251-7f3e-1cfc-53fb3129906f'::uuid;

-- Query #33440 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09b0c7c5-3251-7f3e-1cfc-53fb3129906f'::uuid, 'Imdb', 'tt1474299')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09b0c7c5-3251-7f3e-1cfc-53fb3129906f'::uuid, 'Tmdb', 821)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09b0c7c5-3251-7f3e-1cfc-53fb3129906f'::uuid, 'TvMaze', 68348)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33443 | logged_duration_ms=0 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09b0c7c5-3251-7f3e-1cfc-53fb3129906f'::uuid, 'Tvdb', 795771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09b0c7c5-3251-7f3e-1cfc-53fb3129906f'::uuid, 'TvRage', 1064832729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33445 | logged_duration_ms=0 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09b0c7c5-3251-7f3e-1cfc-53fb3129906f'::uuid, 'trakt', 1454)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33446 | logged_duration_ms=0 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09b0c7c5-3251-7f3e-1cfc-53fb3129906f'::uuid, 'TmdbCollection', 821)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33447 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09b0c7c5-3251-7f3e-1cfc-53fb3129906f'::uuid;

-- Query #33448 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '09b0c7c5-3251-7f3e-1cfc-53fb3129906f'::uuid;

-- Query #33449 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['09b0c7c5-3251-7f3e-1cfc-53fb3129906f'::uuid]);

-- Query #33450 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '09b0c7c5-3251-7f3e-1cfc-53fb3129906f'::uuid;

-- Query #33451 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33452 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '510966e9-b5d3-f6f2-a1cf-15824021dcfd'::uuid;

-- Query #33453 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['510966e9-b5d3-f6f2-a1cf-15824021dcfd'::uuid]);

-- Query #33454 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '510966e9-b5d3-f6f2-a1cf-15824021dcfd'::uuid;

-- Query #33455 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('510966e9-b5d3-f6f2-a1cf-15824021dcfd'::uuid, 'Imdb', 'tt1570178')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('510966e9-b5d3-f6f2-a1cf-15824021dcfd'::uuid, 'TvRage', 1064871274)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('510966e9-b5d3-f6f2-a1cf-15824021dcfd'::uuid, 'TvMaze', 68358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('510966e9-b5d3-f6f2-a1cf-15824021dcfd'::uuid, 'Tvdb', 1408361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33459 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '510966e9-b5d3-f6f2-a1cf-15824021dcfd'::uuid;

-- Query #33460 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '510966e9-b5d3-f6f2-a1cf-15824021dcfd'::uuid;

-- Query #33461 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['510966e9-b5d3-f6f2-a1cf-15824021dcfd'::uuid]);

-- Query #33462 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '510966e9-b5d3-f6f2-a1cf-15824021dcfd'::uuid;

-- Query #33463 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33464 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff1c28cc-2af1-dac8-6852-b09b66643232'::uuid;

-- Query #33465 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff1c28cc-2af1-dac8-6852-b09b66643232'::uuid]);

-- Query #33466 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ff1c28cc-2af1-dac8-6852-b09b66643232'::uuid;

-- Query #33467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff1c28cc-2af1-dac8-6852-b09b66643232'::uuid, 'Imdb', 'tt1541338')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33468 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff1c28cc-2af1-dac8-6852-b09b66643232'::uuid, 'TvRage', 1064868879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff1c28cc-2af1-dac8-6852-b09b66643232'::uuid, 'TvMaze', 68356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ff1c28cc-2af1-dac8-6852-b09b66643232'::uuid, 'Tvdb', 1248491)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33471 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff1c28cc-2af1-dac8-6852-b09b66643232'::uuid;

-- Query #33472 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ff1c28cc-2af1-dac8-6852-b09b66643232'::uuid;

-- Query #33473 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+criminal consultant', '6+medium', '6+paranormal', '6+phoenix, arizona', '6+psychic power']);

-- Query #33474 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ff1c28cc-2af1-dac8-6852-b09b66643232'::uuid]);

-- Query #33475 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ff1c28cc-2af1-dac8-6852-b09b66643232'::uuid;

-- Query #33476 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33477 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d12facc-b674-a3fe-bc84-276f4f4c2822'::uuid;

-- Query #33478 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9d12facc-b674-a3fe-bc84-276f4f4c2822'::uuid]);

-- Query #33479 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9d12facc-b674-a3fe-bc84-276f4f4c2822'::uuid;

-- Query #33480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d12facc-b674-a3fe-bc84-276f4f4c2822'::uuid, 'Imdb', 'tt1609644')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d12facc-b674-a3fe-bc84-276f4f4c2822'::uuid, 'TvMaze', 68362)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d12facc-b674-a3fe-bc84-276f4f4c2822'::uuid, 'Tvdb', 1639561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33483 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d12facc-b674-a3fe-bc84-276f4f4c2822'::uuid;

-- Query #33484 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9d12facc-b674-a3fe-bc84-276f4f4c2822'::uuid;

-- Query #33485 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9d12facc-b674-a3fe-bc84-276f4f4c2822'::uuid]);

-- Query #33486 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9d12facc-b674-a3fe-bc84-276f4f4c2822'::uuid;

-- Query #33487 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33488 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c9eefa5-f003-7a94-88cd-57221707f504'::uuid;

-- Query #33489 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c9eefa5-f003-7a94-88cd-57221707f504'::uuid]);

-- Query #33490 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1c9eefa5-f003-7a94-88cd-57221707f504'::uuid;

-- Query #33491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c9eefa5-f003-7a94-88cd-57221707f504'::uuid, 'Imdb', 'tt1654316')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c9eefa5-f003-7a94-88cd-57221707f504'::uuid, 'TvRage', 1064911719)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c9eefa5-f003-7a94-88cd-57221707f504'::uuid, 'TvMaze', 68369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c9eefa5-f003-7a94-88cd-57221707f504'::uuid, 'Tvdb', 2049551)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33495 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c9eefa5-f003-7a94-88cd-57221707f504'::uuid;

-- Query #33496 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1c9eefa5-f003-7a94-88cd-57221707f504'::uuid;

-- Query #33497 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1c9eefa5-f003-7a94-88cd-57221707f504'::uuid]);

-- Query #33498 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1c9eefa5-f003-7a94-88cd-57221707f504'::uuid;

-- Query #33499 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33500 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31b59867-44f4-a67c-d909-4bfa6b7a0bb2'::uuid;

-- Query #33501 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['31b59867-44f4-a67c-d909-4bfa6b7a0bb2'::uuid]);

-- Query #33502 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '31b59867-44f4-a67c-d909-4bfa6b7a0bb2'::uuid;

-- Query #33503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31b59867-44f4-a67c-d909-4bfa6b7a0bb2'::uuid, 'Imdb', 'tt1510472')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33504 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31b59867-44f4-a67c-d909-4bfa6b7a0bb2'::uuid, 'TvRage', 1064847823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31b59867-44f4-a67c-d909-4bfa6b7a0bb2'::uuid, 'TvMaze', 68351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31b59867-44f4-a67c-d909-4bfa6b7a0bb2'::uuid, 'Tvdb', 1105631)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33507 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31b59867-44f4-a67c-d909-4bfa6b7a0bb2'::uuid;

-- Query #33508 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '31b59867-44f4-a67c-d909-4bfa6b7a0bb2'::uuid;

-- Query #33509 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+criminal consultant', '6+medium', '6+paranormal', '6+phoenix, arizona', '6+psychic power']);

-- Query #33510 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['31b59867-44f4-a67c-d909-4bfa6b7a0bb2'::uuid]);

-- Query #33511 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '31b59867-44f4-a67c-d909-4bfa6b7a0bb2'::uuid;

-- Query #33512 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33513 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eee6eb3e-76bc-215f-c86b-f6543d2030e8'::uuid;

-- Query #33514 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eee6eb3e-76bc-215f-c86b-f6543d2030e8'::uuid]);

-- Query #33515 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eee6eb3e-76bc-215f-c86b-f6543d2030e8'::uuid;

-- Query #33516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eee6eb3e-76bc-215f-c86b-f6543d2030e8'::uuid, 'Imdb', 'tt1510475')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eee6eb3e-76bc-215f-c86b-f6543d2030e8'::uuid, 'TvRage', 1064864427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eee6eb3e-76bc-215f-c86b-f6543d2030e8'::uuid, 'TvMaze', 68354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eee6eb3e-76bc-215f-c86b-f6543d2030e8'::uuid, 'Tvdb', 1244631)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33520 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eee6eb3e-76bc-215f-c86b-f6543d2030e8'::uuid;

-- Query #33521 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eee6eb3e-76bc-215f-c86b-f6543d2030e8'::uuid;

-- Query #33522 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eee6eb3e-76bc-215f-c86b-f6543d2030e8'::uuid]);

-- Query #33523 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eee6eb3e-76bc-215f-c86b-f6543d2030e8'::uuid;

-- Query #33524 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33525 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd2f47eb-da5d-564e-e5fe-30105ff02913'::uuid;

-- Query #33526 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd2f47eb-da5d-564e-e5fe-30105ff02913'::uuid]);

-- Query #33527 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dd2f47eb-da5d-564e-e5fe-30105ff02913'::uuid;

-- Query #33528 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd2f47eb-da5d-564e-e5fe-30105ff02913'::uuid, 'Imdb', 'tt1510476')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33529 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd2f47eb-da5d-564e-e5fe-30105ff02913'::uuid, 'TvRage', 1064867578)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33530 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd2f47eb-da5d-564e-e5fe-30105ff02913'::uuid, 'TvMaze', 68355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd2f47eb-da5d-564e-e5fe-30105ff02913'::uuid, 'Tvdb', 1244641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33532 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd2f47eb-da5d-564e-e5fe-30105ff02913'::uuid;

-- Query #33533 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dd2f47eb-da5d-564e-e5fe-30105ff02913'::uuid;

-- Query #33534 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dd2f47eb-da5d-564e-e5fe-30105ff02913'::uuid]);

-- Query #33535 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dd2f47eb-da5d-564e-e5fe-30105ff02913'::uuid;

-- Query #33536 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33537 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11c8dec1-130a-61d9-fab3-fc26ddf456dd'::uuid;

-- Query #33538 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11c8dec1-130a-61d9-fab3-fc26ddf456dd'::uuid]);

-- Query #33539 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '11c8dec1-130a-61d9-fab3-fc26ddf456dd'::uuid;

-- Query #33540 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11c8dec1-130a-61d9-fab3-fc26ddf456dd'::uuid, 'Imdb', 'tt1510471')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33541 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11c8dec1-130a-61d9-fab3-fc26ddf456dd'::uuid, 'TvRage', 1064837803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33542 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11c8dec1-130a-61d9-fab3-fc26ddf456dd'::uuid, 'TvMaze', 68350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33543 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('11c8dec1-130a-61d9-fab3-fc26ddf456dd'::uuid, 'Tvdb', 1105621)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33544 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '11c8dec1-130a-61d9-fab3-fc26ddf456dd'::uuid;

-- Query #33545 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '11c8dec1-130a-61d9-fab3-fc26ddf456dd'::uuid;

-- Query #33546 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['11c8dec1-130a-61d9-fab3-fc26ddf456dd'::uuid]);

-- Query #33547 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '11c8dec1-130a-61d9-fab3-fc26ddf456dd'::uuid;

-- Query #33548 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33549 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2feaabe-3d6c-1d41-ff5e-3014e49e2c10'::uuid;

-- Query #33550 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2feaabe-3d6c-1d41-ff5e-3014e49e2c10'::uuid]);

-- Query #33551 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd2feaabe-3d6c-1d41-ff5e-3014e49e2c10'::uuid;

-- Query #33552 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2feaabe-3d6c-1d41-ff5e-3014e49e2c10'::uuid, 'Imdb', 'tt1570179')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33553 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2feaabe-3d6c-1d41-ff5e-3014e49e2c10'::uuid, 'TvRage', 1064874533)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33554 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2feaabe-3d6c-1d41-ff5e-3014e49e2c10'::uuid, 'TvMaze', 68360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d2feaabe-3d6c-1d41-ff5e-3014e49e2c10'::uuid, 'Tvdb', 1408381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33556 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2feaabe-3d6c-1d41-ff5e-3014e49e2c10'::uuid;

-- Query #33557 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd2feaabe-3d6c-1d41-ff5e-3014e49e2c10'::uuid;

-- Query #33558 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d2feaabe-3d6c-1d41-ff5e-3014e49e2c10'::uuid]);

-- Query #33559 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd2feaabe-3d6c-1d41-ff5e-3014e49e2c10'::uuid;

-- Query #33560 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33561 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4af97a73-e01c-42b4-c212-20880c83bae7'::uuid;

-- Query #33562 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4af97a73-e01c-42b4-c212-20880c83bae7'::uuid]);

-- Query #33563 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4af97a73-e01c-42b4-c212-20880c83bae7'::uuid;

-- Query #33564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4af97a73-e01c-42b4-c212-20880c83bae7'::uuid, 'Tvdb', 1685831)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4af97a73-e01c-42b4-c212-20880c83bae7'::uuid, 'Imdb', 'tt1620238')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4af97a73-e01c-42b4-c212-20880c83bae7'::uuid, 'TvRage', 1064896936)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33567 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4af97a73-e01c-42b4-c212-20880c83bae7'::uuid, 'TvMaze', 68364)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33568 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4af97a73-e01c-42b4-c212-20880c83bae7'::uuid;

-- Query #33569 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4af97a73-e01c-42b4-c212-20880c83bae7'::uuid;

-- Query #33570 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4af97a73-e01c-42b4-c212-20880c83bae7'::uuid]);

-- Query #33571 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4af97a73-e01c-42b4-c212-20880c83bae7'::uuid;

-- Query #33572 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33573 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '095bb058-25ff-ec0c-1b44-88bae46e5ed9'::uuid;

-- Query #33574 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['095bb058-25ff-ec0c-1b44-88bae46e5ed9'::uuid]);

-- Query #33575 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '095bb058-25ff-ec0c-1b44-88bae46e5ed9'::uuid;

-- Query #33576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('095bb058-25ff-ec0c-1b44-88bae46e5ed9'::uuid, 'Tvdb', 1685841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('095bb058-25ff-ec0c-1b44-88bae46e5ed9'::uuid, 'Imdb', 'tt1625014')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33578 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('095bb058-25ff-ec0c-1b44-88bae46e5ed9'::uuid, 'TvRage', 1064911715)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('095bb058-25ff-ec0c-1b44-88bae46e5ed9'::uuid, 'TvMaze', 68365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33580 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '095bb058-25ff-ec0c-1b44-88bae46e5ed9'::uuid;

-- Query #33581 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '095bb058-25ff-ec0c-1b44-88bae46e5ed9'::uuid;

-- Query #33582 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['095bb058-25ff-ec0c-1b44-88bae46e5ed9'::uuid]);

-- Query #33583 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '095bb058-25ff-ec0c-1b44-88bae46e5ed9'::uuid;

-- Query #33584 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33585 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7bfd198f-6c72-c3b4-1c91-838462a9cdc0'::uuid;

-- Query #33586 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7bfd198f-6c72-c3b4-1c91-838462a9cdc0'::uuid]);

-- Query #33587 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7bfd198f-6c72-c3b4-1c91-838462a9cdc0'::uuid;

-- Query #33588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bfd198f-6c72-c3b4-1c91-838462a9cdc0'::uuid, 'Imdb', 'tt1645507')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bfd198f-6c72-c3b4-1c91-838462a9cdc0'::uuid, 'TvRage', 1064911717)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bfd198f-6c72-c3b4-1c91-838462a9cdc0'::uuid, 'TvMaze', 68367)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bfd198f-6c72-c3b4-1c91-838462a9cdc0'::uuid, 'Tvdb', 2049531)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7bfd198f-6c72-c3b4-1c91-838462a9cdc0'::uuid;

-- Query #33593 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7bfd198f-6c72-c3b4-1c91-838462a9cdc0'::uuid;

-- Query #33594 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+criminal consultant', '6+medium', '6+paranormal', '6+phoenix, arizona', '6+psychic power']);

-- Query #33595 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7bfd198f-6c72-c3b4-1c91-838462a9cdc0'::uuid]);

-- Query #33596 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7bfd198f-6c72-c3b4-1c91-838462a9cdc0'::uuid;

-- Query #33597 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33598 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '410082fe-374c-9304-9ac1-ced892eb886d'::uuid;

-- Query #33599 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['410082fe-374c-9304-9ac1-ced892eb886d'::uuid]);

-- Query #33600 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '410082fe-374c-9304-9ac1-ced892eb886d'::uuid;

-- Query #33601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('410082fe-374c-9304-9ac1-ced892eb886d'::uuid, 'TmdbCollection', 822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('410082fe-374c-9304-9ac1-ced892eb886d'::uuid, 'Imdb', 'tt1510477')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33603 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('410082fe-374c-9304-9ac1-ced892eb886d'::uuid, 'Tmdb', 822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('410082fe-374c-9304-9ac1-ced892eb886d'::uuid, 'TvMaze', 68349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33605 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('410082fe-374c-9304-9ac1-ced892eb886d'::uuid, 'Tvdb', 1105611)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33606 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('410082fe-374c-9304-9ac1-ced892eb886d'::uuid, 'TvRage', 1064837802)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33607 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('410082fe-374c-9304-9ac1-ced892eb886d'::uuid, 'trakt', 1455)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33608 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '410082fe-374c-9304-9ac1-ced892eb886d'::uuid;

-- Query #33609 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '410082fe-374c-9304-9ac1-ced892eb886d'::uuid;

-- Query #33610 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['410082fe-374c-9304-9ac1-ced892eb886d'::uuid]);

-- Query #33611 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '410082fe-374c-9304-9ac1-ced892eb886d'::uuid;

-- Query #33612 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33613 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5265e7bc-abc7-c994-ce50-ae9fed1250ef'::uuid;

-- Query #33614 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5265e7bc-abc7-c994-ce50-ae9fed1250ef'::uuid]);

-- Query #33615 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5265e7bc-abc7-c994-ce50-ae9fed1250ef'::uuid;

-- Query #33616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5265e7bc-abc7-c994-ce50-ae9fed1250ef'::uuid, 'Imdb', 'tt1588079')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5265e7bc-abc7-c994-ce50-ae9fed1250ef'::uuid, 'TvRage', 1064891002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5265e7bc-abc7-c994-ce50-ae9fed1250ef'::uuid, 'TvMaze', 68361)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5265e7bc-abc7-c994-ce50-ae9fed1250ef'::uuid, 'Tvdb', 1408391)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33620 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5265e7bc-abc7-c994-ce50-ae9fed1250ef'::uuid;

-- Query #33621 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5265e7bc-abc7-c994-ce50-ae9fed1250ef'::uuid;

-- Query #33622 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5265e7bc-abc7-c994-ce50-ae9fed1250ef'::uuid]);

-- Query #33623 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5265e7bc-abc7-c994-ce50-ae9fed1250ef'::uuid;

-- Query #33624 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33625 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '724f0656-e720-edb5-a4bb-c30bdb432a67'::uuid;

-- Query #33626 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['724f0656-e720-edb5-a4bb-c30bdb432a67'::uuid]);

-- Query #33627 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '724f0656-e720-edb5-a4bb-c30bdb432a67'::uuid;

-- Query #33628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('724f0656-e720-edb5-a4bb-c30bdb432a67'::uuid, 'Imdb', 'tt1683233')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('724f0656-e720-edb5-a4bb-c30bdb432a67'::uuid, 'TvMaze', 68379)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('724f0656-e720-edb5-a4bb-c30bdb432a67'::uuid, 'Tvdb', 3181561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33631 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '724f0656-e720-edb5-a4bb-c30bdb432a67'::uuid;

-- Query #33632 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '724f0656-e720-edb5-a4bb-c30bdb432a67'::uuid;

-- Query #33633 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['724f0656-e720-edb5-a4bb-c30bdb432a67'::uuid]);

-- Query #33634 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '724f0656-e720-edb5-a4bb-c30bdb432a67'::uuid;

-- Query #33635 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33636 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a7c57282-00ee-da69-3d63-e3d7838f65a8'::uuid;

-- Query #33637 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a7c57282-00ee-da69-3d63-e3d7838f65a8'::uuid]);

-- Query #33638 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a7c57282-00ee-da69-3d63-e3d7838f65a8'::uuid;

-- Query #33639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7c57282-00ee-da69-3d63-e3d7838f65a8'::uuid, 'Imdb', 'tt1683232')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7c57282-00ee-da69-3d63-e3d7838f65a8'::uuid, 'TvMaze', 68370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7c57282-00ee-da69-3d63-e3d7838f65a8'::uuid, 'Tvdb', 2652061)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33642 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a7c57282-00ee-da69-3d63-e3d7838f65a8'::uuid;

-- Query #33643 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a7c57282-00ee-da69-3d63-e3d7838f65a8'::uuid;

-- Query #33644 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a7c57282-00ee-da69-3d63-e3d7838f65a8'::uuid]);

-- Query #33645 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a7c57282-00ee-da69-3d63-e3d7838f65a8'::uuid;

-- Query #33646 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33647 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a1214e9-da57-fb3e-2bcd-7ce3c44dc9a6'::uuid;

-- Query #33648 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a1214e9-da57-fb3e-2bcd-7ce3c44dc9a6'::uuid]);

-- Query #33649 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4a1214e9-da57-fb3e-2bcd-7ce3c44dc9a6'::uuid;

-- Query #33650 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a1214e9-da57-fb3e-2bcd-7ce3c44dc9a6'::uuid, 'Imdb', 'tt1683235')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a1214e9-da57-fb3e-2bcd-7ce3c44dc9a6'::uuid, 'TvMaze', 68381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33652 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a1214e9-da57-fb3e-2bcd-7ce3c44dc9a6'::uuid, 'Tvdb', 3411881)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33653 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a1214e9-da57-fb3e-2bcd-7ce3c44dc9a6'::uuid;

-- Query #33654 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4a1214e9-da57-fb3e-2bcd-7ce3c44dc9a6'::uuid;

-- Query #33655 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4a1214e9-da57-fb3e-2bcd-7ce3c44dc9a6'::uuid]);

-- Query #33656 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4a1214e9-da57-fb3e-2bcd-7ce3c44dc9a6'::uuid;

-- Query #33657 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33658 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c62ca682-e21e-1713-6136-6544b9efcea6'::uuid;

-- Query #33659 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c62ca682-e21e-1713-6136-6544b9efcea6'::uuid]);

-- Query #33660 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c62ca682-e21e-1713-6136-6544b9efcea6'::uuid;

-- Query #33661 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c62ca682-e21e-1713-6136-6544b9efcea6'::uuid, 'Imdb', 'tt1683240')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33662 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c62ca682-e21e-1713-6136-6544b9efcea6'::uuid, 'TvMaze', 68371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33663 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c62ca682-e21e-1713-6136-6544b9efcea6'::uuid, 'Tvdb', 2743321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33664 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c62ca682-e21e-1713-6136-6544b9efcea6'::uuid;

-- Query #33665 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c62ca682-e21e-1713-6136-6544b9efcea6'::uuid;

-- Query #33666 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c62ca682-e21e-1713-6136-6544b9efcea6'::uuid]);

-- Query #33667 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c62ca682-e21e-1713-6136-6544b9efcea6'::uuid;

-- Query #33668 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33669 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '754b15df-5093-1157-ea5d-3dce5a4f9819'::uuid;

-- Query #33670 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['754b15df-5093-1157-ea5d-3dce5a4f9819'::uuid]);

-- Query #33671 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '754b15df-5093-1157-ea5d-3dce5a4f9819'::uuid;

-- Query #33672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('754b15df-5093-1157-ea5d-3dce5a4f9819'::uuid, 'Imdb', 'tt1683241')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('754b15df-5093-1157-ea5d-3dce5a4f9819'::uuid, 'TvMaze', 68372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('754b15df-5093-1157-ea5d-3dce5a4f9819'::uuid, 'Tvdb', 2911381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33675 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '754b15df-5093-1157-ea5d-3dce5a4f9819'::uuid;

-- Query #33676 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '754b15df-5093-1157-ea5d-3dce5a4f9819'::uuid;

-- Query #33677 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['754b15df-5093-1157-ea5d-3dce5a4f9819'::uuid]);

-- Query #33678 | logged_duration_ms=2 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '754b15df-5093-1157-ea5d-3dce5a4f9819'::uuid;

-- Query #33679 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33680 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e80bb192-31a8-8ed2-e2c3-55253a44db2d'::uuid;

-- Query #33681 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e80bb192-31a8-8ed2-e2c3-55253a44db2d'::uuid]);

-- Query #33682 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e80bb192-31a8-8ed2-e2c3-55253a44db2d'::uuid;

-- Query #33683 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e80bb192-31a8-8ed2-e2c3-55253a44db2d'::uuid, 'Imdb', 'tt1683236')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33684 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e80bb192-31a8-8ed2-e2c3-55253a44db2d'::uuid, 'TvMaze', 68382)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33685 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e80bb192-31a8-8ed2-e2c3-55253a44db2d'::uuid, 'Tvdb', 3438721)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33686 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e80bb192-31a8-8ed2-e2c3-55253a44db2d'::uuid;

-- Query #33687 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e80bb192-31a8-8ed2-e2c3-55253a44db2d'::uuid;

-- Query #33688 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e80bb192-31a8-8ed2-e2c3-55253a44db2d'::uuid]);

-- Query #33689 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e80bb192-31a8-8ed2-e2c3-55253a44db2d'::uuid;

-- Query #33690 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33691 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5136c5bb-1467-b0d6-3b21-7beb1665846e'::uuid;

-- Query #33692 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5136c5bb-1467-b0d6-3b21-7beb1665846e'::uuid]);

-- Query #33693 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5136c5bb-1467-b0d6-3b21-7beb1665846e'::uuid;

-- Query #33694 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5136c5bb-1467-b0d6-3b21-7beb1665846e'::uuid, 'Imdb', 'tt1683245')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33695 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5136c5bb-1467-b0d6-3b21-7beb1665846e'::uuid, 'TvMaze', 68376)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33696 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5136c5bb-1467-b0d6-3b21-7beb1665846e'::uuid, 'Tvdb', 2992651)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33697 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5136c5bb-1467-b0d6-3b21-7beb1665846e'::uuid;

-- Query #33698 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5136c5bb-1467-b0d6-3b21-7beb1665846e'::uuid;

-- Query #33699 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5136c5bb-1467-b0d6-3b21-7beb1665846e'::uuid]);

-- Query #33700 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5136c5bb-1467-b0d6-3b21-7beb1665846e'::uuid;

-- Query #33701 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33702 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5504b7f8-6955-0f14-0e32-f7e1a4d0d27e'::uuid;

-- Query #33703 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5504b7f8-6955-0f14-0e32-f7e1a4d0d27e'::uuid]);

-- Query #33704 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5504b7f8-6955-0f14-0e32-f7e1a4d0d27e'::uuid;

-- Query #33705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5504b7f8-6955-0f14-0e32-f7e1a4d0d27e'::uuid, 'Imdb', 'tt1683234')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5504b7f8-6955-0f14-0e32-f7e1a4d0d27e'::uuid, 'TvMaze', 68380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5504b7f8-6955-0f14-0e32-f7e1a4d0d27e'::uuid, 'Tvdb', 3411871)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33708 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5504b7f8-6955-0f14-0e32-f7e1a4d0d27e'::uuid;

-- Query #33709 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5504b7f8-6955-0f14-0e32-f7e1a4d0d27e'::uuid;

-- Query #33710 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5504b7f8-6955-0f14-0e32-f7e1a4d0d27e'::uuid]);

-- Query #33711 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5504b7f8-6955-0f14-0e32-f7e1a4d0d27e'::uuid;

-- Query #33712 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33713 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c813a8ef-e671-810c-8f07-b870c3d7f087'::uuid;

-- Query #33714 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c813a8ef-e671-810c-8f07-b870c3d7f087'::uuid]);

-- Query #33715 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c813a8ef-e671-810c-8f07-b870c3d7f087'::uuid;

-- Query #33716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c813a8ef-e671-810c-8f07-b870c3d7f087'::uuid, 'Imdb', 'tt1683247')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c813a8ef-e671-810c-8f07-b870c3d7f087'::uuid, 'TvMaze', 68378)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c813a8ef-e671-810c-8f07-b870c3d7f087'::uuid, 'Tvdb', 3090691)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33719 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c813a8ef-e671-810c-8f07-b870c3d7f087'::uuid;

-- Query #33720 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c813a8ef-e671-810c-8f07-b870c3d7f087'::uuid;

-- Query #33721 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c813a8ef-e671-810c-8f07-b870c3d7f087'::uuid]);

-- Query #33722 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c813a8ef-e671-810c-8f07-b870c3d7f087'::uuid;

-- Query #33723 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33724 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '20abc520-e4c4-ca2d-3563-8fc982c4430e'::uuid;

-- Query #33725 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20abc520-e4c4-ca2d-3563-8fc982c4430e'::uuid]);

-- Query #33726 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '20abc520-e4c4-ca2d-3563-8fc982c4430e'::uuid;

-- Query #33727 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20abc520-e4c4-ca2d-3563-8fc982c4430e'::uuid, 'Imdb', 'tt1683246')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20abc520-e4c4-ca2d-3563-8fc982c4430e'::uuid, 'TvMaze', 68377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33729 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #33730 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20abc520-e4c4-ca2d-3563-8fc982c4430e'::uuid, 'Tvdb', 3090681)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33731 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '20abc520-e4c4-ca2d-3563-8fc982c4430e'::uuid;

-- Query #33732 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '20abc520-e4c4-ca2d-3563-8fc982c4430e'::uuid;

-- Query #33733 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['20abc520-e4c4-ca2d-3563-8fc982c4430e'::uuid]);

-- Query #33734 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '20abc520-e4c4-ca2d-3563-8fc982c4430e'::uuid;

-- Query #33735 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33736 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '444a94a8-21ea-71ed-f461-205fedb4e3f3'::uuid;

-- Query #33737 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['444a94a8-21ea-71ed-f461-205fedb4e3f3'::uuid]);

-- Query #33738 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '444a94a8-21ea-71ed-f461-205fedb4e3f3'::uuid;

-- Query #33739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('444a94a8-21ea-71ed-f461-205fedb4e3f3'::uuid, 'Imdb', 'tt1750816')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('444a94a8-21ea-71ed-f461-205fedb4e3f3'::uuid, 'TvMaze', 68374)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('444a94a8-21ea-71ed-f461-205fedb4e3f3'::uuid, 'Tvdb', 2992631)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33742 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '444a94a8-21ea-71ed-f461-205fedb4e3f3'::uuid;

-- Query #33743 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '444a94a8-21ea-71ed-f461-205fedb4e3f3'::uuid;

-- Query #33744 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['444a94a8-21ea-71ed-f461-205fedb4e3f3'::uuid]);

-- Query #33745 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '444a94a8-21ea-71ed-f461-205fedb4e3f3'::uuid;

-- Query #33746 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33747 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3589a9a8-3314-4c01-0d1e-c79e7819d3f2'::uuid;

-- Query #33748 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3589a9a8-3314-4c01-0d1e-c79e7819d3f2'::uuid]);

-- Query #33749 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3589a9a8-3314-4c01-0d1e-c79e7819d3f2'::uuid;

-- Query #33750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3589a9a8-3314-4c01-0d1e-c79e7819d3f2'::uuid, 'Imdb', 'tt1683243')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3589a9a8-3314-4c01-0d1e-c79e7819d3f2'::uuid, 'TvMaze', 68375)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3589a9a8-3314-4c01-0d1e-c79e7819d3f2'::uuid, 'Tvdb', 2992641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33753 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3589a9a8-3314-4c01-0d1e-c79e7819d3f2'::uuid;

-- Query #33754 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3589a9a8-3314-4c01-0d1e-c79e7819d3f2'::uuid;

-- Query #33755 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3589a9a8-3314-4c01-0d1e-c79e7819d3f2'::uuid]);

-- Query #33756 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3589a9a8-3314-4c01-0d1e-c79e7819d3f2'::uuid;

-- Query #33757 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid, '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33758 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '40bff913-0df1-50fd-53fd-0851ab651e5b'::uuid
ORDER BY b."SortName";

-- Query #33759 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '82ec9ca2-edff-2d8a-c345-305270a06e84'::uuid
ORDER BY b."SortName";

-- Query #33760 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '13c11e77-2356-b8c8-c03d-c3f147d78635'::uuid
ORDER BY b."SortName";

-- Query #33761 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd2cc199f-f270-63f6-7e76-b7afb7a55218'::uuid
ORDER BY b."SortName";

-- Query #33762 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '07c5e0f1-fd8c-aa28-8fa8-b5e6af2fd819'::uuid
ORDER BY b."SortName";

-- Query #33763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '229bfe90-43c1-6c2a-f6b7-94149b09b24a'::uuid
ORDER BY b."SortName";

-- Query #33764 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a575c6a9-a3af-054b-90f9-1f09beed56cc'::uuid
ORDER BY b."SortName";

-- Query #33765 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0aa15b04-ad48-8415-a9ad-a6a762be6784'::uuid
ORDER BY b."SortName";

-- Query #33766 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '40bff9130df150fd53fd0851ab651e5b'
ORDER BY b."SortName", b."Name";

-- Query #33767 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid
ORDER BY b."SortName";

-- Query #33768 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid])
ORDER BY b."Id";

-- Query #33769 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid])
ORDER BY b."Id";

-- Query #33770 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid])
ORDER BY b."Id";

-- Query #33771 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid])
ORDER BY b."Id";

-- Query #33772 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid])
ORDER BY b."Id";

-- Query #33773 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid
ORDER BY b."SortName";

-- Query #33774 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33775 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33776 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33777 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33778 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33779 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid;

-- Query #33780 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid]);

-- Query #33781 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid;

-- Query #33782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid, 'Imdb', 'tt19757508')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid, 'official website', 'https://www.netflix.com/title/81198239')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid, 'Tmdb', 198200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid, 'TmdbCollection', 198200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid, 'Tvdb', 419168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid, 'TvMaze', 61897)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33788 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid;

-- Query #33789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid;

-- Query #33790 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid]);

-- Query #33791 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid;

-- Query #33792 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33793 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '64b84bf5ae8d1cf48777378d27caf6da'
ORDER BY b."SortName", b."Name";

-- Query #33794 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33795 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33796 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33797 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33798 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33799 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid
ORDER BY b."SortName";

-- Query #33800 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid])
ORDER BY b."Id";

-- Query #33801 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid])
ORDER BY b."Id";

-- Query #33802 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid])
ORDER BY b."Id";

-- Query #33803 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid])
ORDER BY b."Id";

-- Query #33804 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid])
ORDER BY b."Id";

-- Query #33805 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid
ORDER BY b."SortName";

-- Query #33806 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33807 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33808 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33809 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33810 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33811 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '64b84bf5ae8d1cf48777378d27caf6da'
ORDER BY b."SortName", b."Name";

-- Query #33812 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33813 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33814 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33815 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33816 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33817 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid;

-- Query #33818 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid]);

-- Query #33819 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid;

-- Query #33820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d346d911-c798-3c06-00e0-389c0e0e9319'::uuid, 'Tvdb', 419168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d346d911-c798-3c06-00e0-389c0e0e9319'::uuid, 'Tmdb', 198200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d346d911-c798-3c06-00e0-389c0e0e9319'::uuid, 'Imdb', 'tt19757508')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33823 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d346d911-c798-3c06-00e0-389c0e0e9319'::uuid, 'TvMaze', 61897)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d346d911-c798-3c06-00e0-389c0e0e9319'::uuid, 'TmdbCollection', 198200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33825 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid;

-- Query #33826 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid;

-- Query #33827 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+miniseries', '6+nuclear accident', '6+nuclear power plant']);

-- Query #33828 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid]);

-- Query #33829 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid;

-- Query #33830 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33831 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '690dd873-7997-c779-9878-e818c29220ab'::uuid;

-- Query #33832 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid]);

-- Query #33833 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '690dd873-7997-c779-9878-e818c29220ab'::uuid;

-- Query #33834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('690dd873-7997-c779-9878-e818c29220ab'::uuid, 'Imdb', 'tt19769740')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('690dd873-7997-c779-9878-e818c29220ab'::uuid, 'Tmdb', 3678830)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33836 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('690dd873-7997-c779-9878-e818c29220ab'::uuid, 'trakt', 6066661)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('690dd873-7997-c779-9878-e818c29220ab'::uuid, 'TvMaze', 2323567)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('690dd873-7997-c779-9878-e818c29220ab'::uuid, 'Tvdb', 9119572)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('690dd873-7997-c779-9878-e818c29220ab'::uuid, 'TmdbCollection', 3678830)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33840 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '690dd873-7997-c779-9878-e818c29220ab'::uuid;

-- Query #33841 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '690dd873-7997-c779-9878-e818c29220ab'::uuid;

-- Query #33842 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid]);

-- Query #33843 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '690dd873-7997-c779-9878-e818c29220ab'::uuid;

-- Query #33844 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid, '64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33845 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid;

-- Query #33846 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid]);

-- Query #33847 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid;

-- Query #33848 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'Imdb', 'tt19797506')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33849 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'Tmdb', 3692836)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'trakt', 6081417)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'TvMaze', 2323570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'Tvdb', 9119576)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'TmdbCollection', 3692836)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33854 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid;

-- Query #33855 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid;

-- Query #33856 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Moxie Pictures', '3+Netflix', '6+miniseries', '6+nuclear accident', '6+nuclear power plant']);

-- Query #33857 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid]);

-- Query #33858 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid;

-- Query #33859 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid, '64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33860 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid;

-- Query #33861 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid]);

-- Query #33862 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid;

-- Query #33863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, 'Imdb', 'tt19784318')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33864 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, 'Tmdb', 3692835)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, 'trakt', 6081416)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, 'TvMaze', 2323569)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, 'Tvdb', 9119574)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33868 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, 'TmdbCollection', 3692835)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33869 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid;

-- Query #33870 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid;

-- Query #33871 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid]);

-- Query #33872 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid;

-- Query #33873 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid, '64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33874 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid;

-- Query #33875 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid]);

-- Query #33876 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid;

-- Query #33877 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid, 'Imdb', 'tt19769748')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid, 'Tmdb', 3692834)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid, 'trakt', 6081415)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid, 'TvMaze', 2323568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid, 'Tvdb', 9119573)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid, 'TmdbCollection', 3692834)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33883 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid;

-- Query #33884 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid;

-- Query #33885 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid]);

-- Query #33886 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid;

-- Query #33887 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid, '64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33888 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '64b84bf5-ae8d-1cf4-8777-378d27caf6da'::uuid
ORDER BY b."SortName";

-- Query #33889 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid])
ORDER BY b."Id";

-- Query #33890 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid])
ORDER BY b."Id";

-- Query #33891 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid])
ORDER BY b."Id";

-- Query #33892 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid])
ORDER BY b."Id";

-- Query #33893 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['d346d911-c798-3c06-00e0-389c0e0e9319'::uuid])
ORDER BY b."Id";

-- Query #33894 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid
ORDER BY b."SortName";

-- Query #33895 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33896 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33897 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33898 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33899 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33900 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '64b84bf5ae8d1cf48777378d27caf6da'
ORDER BY b."SortName", b."Name";

-- Query #33901 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33902 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33903 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33904 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33905 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['690dd873-7997-c779-9878-e818c29220ab'::uuid, '89c6a6e7-eaf3-de70-3529-4cf06d7aff80'::uuid, 'd346d911-c798-3c06-00e0-389c0e0e9319'::uuid, '5ccde2c7-f769-2886-af0e-c43b03ca6367'::uuid, '4da80cf4-18ad-0f3f-596d-f2c0e30c37dc'::uuid])
ORDER BY b."Id";

-- Query #33906 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid
ORDER BY b."SortName";

-- Query #33907 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid
ORDER BY b."SortName";

-- Query #33908 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2455084e-7db1-5156-ca61-d890839ddb46'::uuid
ORDER BY b."SortName";

-- Query #33909 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'efa73726-307e-48ca-4ec5-942867be9093'::uuid
ORDER BY b."SortName";

-- Query #33910 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid
ORDER BY b."SortName";

-- Query #33911 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid
ORDER BY b."SortName";

-- Query #33912 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid
ORDER BY b."SortName";

-- Query #33913 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, '07d553da-e547-189a-d0f1-317337aa270c'::uuid, '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid])
ORDER BY b."Id";

-- Query #33914 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, '07d553da-e547-189a-d0f1-317337aa270c'::uuid, '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid])
ORDER BY b."Id";

-- Query #33915 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, '07d553da-e547-189a-d0f1-317337aa270c'::uuid, '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid])
ORDER BY b."Id";

-- Query #33916 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, '07d553da-e547-189a-d0f1-317337aa270c'::uuid, '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid])
ORDER BY b."Id";

-- Query #33917 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, '07d553da-e547-189a-d0f1-317337aa270c'::uuid, '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid])
ORDER BY b."Id";

-- Query #33918 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid;

-- Query #33919 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid]);

-- Query #33920 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid;

-- Query #33921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, 'Imdb', 'tt0086759')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, 'Tmdb', 1908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, 'TmdbCollection', 1908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, 'Tvdb', 77098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, 'TvMaze', 760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, 'TvRage', 4461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, 'wikidata', 'Q559321')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33928 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, 'Zap2It', 'EP00002881')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid;

-- Query #33930 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid;

-- Query #33931 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid]);

-- Query #33932 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid;

-- Query #33933 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33934 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '2a4b6b9020ab5f2cbbe5a03d0492f980'
ORDER BY b."SortName", b."Name";

-- Query #33935 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid
ORDER BY b."SortName";

-- Query #33936 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid
ORDER BY b."SortName";

-- Query #33937 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2455084e-7db1-5156-ca61-d890839ddb46'::uuid
ORDER BY b."SortName";

-- Query #33938 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'efa73726-307e-48ca-4ec5-942867be9093'::uuid
ORDER BY b."SortName";

-- Query #33939 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid
ORDER BY b."SortName";

-- Query #33940 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid
ORDER BY b."SortName";

-- Query #33941 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid
ORDER BY b."SortName";

-- Query #33942 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, '07d553da-e547-189a-d0f1-317337aa270c'::uuid, '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid])
ORDER BY b."Id";

-- Query #33943 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, '07d553da-e547-189a-d0f1-317337aa270c'::uuid, '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid])
ORDER BY b."Id";

-- Query #33944 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, '07d553da-e547-189a-d0f1-317337aa270c'::uuid, '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid])
ORDER BY b."Id";

-- Query #33945 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, '07d553da-e547-189a-d0f1-317337aa270c'::uuid, '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid])
ORDER BY b."Id";

-- Query #33946 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, '07d553da-e547-189a-d0f1-317337aa270c'::uuid, '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid])
ORDER BY b."Id";

-- Query #33947 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '2a4b6b9020ab5f2cbbe5a03d0492f980'
ORDER BY b."SortName", b."Name";

-- Query #33948 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid;

-- Query #33949 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid]);

-- Query #33950 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid;

-- Query #33951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, 'Tvdb', 77098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, 'Tmdb', 1908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33953 | logged_duration_ms=3 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, 'Imdb', 'tt0086759')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33954 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, 'TvMaze', 760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33955 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, 'TvRage', 4461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33956 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, 'Zap2It', 'EP00002881')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, 'wikidata', 'Q559321')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33958 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, 'TmdbCollection', 1908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33959 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid;

-- Query #33960 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid;

-- Query #33961 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+drug crime', '6+miami, florida', '6+police detective', '6+police procedural', '6+undercover agent']);

-- Query #33962 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid]);

-- Query #33963 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid;

-- Query #33964 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33965 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '2a4b6b9020ab5f2cbbe5a03d0492f980'
ORDER BY b."SortName", b."Name";

-- Query #33966 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #33967 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2455084e-7db1-5156-ca61-d890839ddb46'::uuid;

-- Query #33968 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid]);

-- Query #33969 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2455084e-7db1-5156-ca61-d890839ddb46'::uuid;

-- Query #33970 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2455084e-7db1-5156-ca61-d890839ddb46'::uuid, 'Tvdb', 77098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2455084e-7db1-5156-ca61-d890839ddb46'::uuid, 'Tmdb', 1908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2455084e-7db1-5156-ca61-d890839ddb46'::uuid, 'Imdb', 'tt0086759')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33973 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2455084e-7db1-5156-ca61-d890839ddb46'::uuid, 'TvMaze', 760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33974 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2455084e-7db1-5156-ca61-d890839ddb46'::uuid, 'TvRage', 4461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2455084e-7db1-5156-ca61-d890839ddb46'::uuid, 'Zap2It', 'EP00002881')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2455084e-7db1-5156-ca61-d890839ddb46'::uuid, 'wikidata', 'Q559321')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2455084e-7db1-5156-ca61-d890839ddb46'::uuid, 'TmdbCollection', 1908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33978 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2455084e-7db1-5156-ca61-d890839ddb46'::uuid;

-- Query #33979 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2455084e-7db1-5156-ca61-d890839ddb46'::uuid;

-- Query #33980 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+drug crime', '6+miami, florida', '6+police detective', '6+police procedural', '6+undercover agent']);

-- Query #33981 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid]);

-- Query #33982 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2455084e-7db1-5156-ca61-d890839ddb46'::uuid;

-- Query #33983 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #33984 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '2a4b6b9020ab5f2cbbe5a03d0492f980'
ORDER BY b."SortName", b."Name";

-- Query #33985 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'efa73726-307e-48ca-4ec5-942867be9093'::uuid;

-- Query #33986 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid]);

-- Query #33987 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'efa73726-307e-48ca-4ec5-942867be9093'::uuid;

-- Query #33988 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('efa73726-307e-48ca-4ec5-942867be9093'::uuid, 'Tvdb', 77098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33989 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('efa73726-307e-48ca-4ec5-942867be9093'::uuid, 'Tmdb', 1908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('efa73726-307e-48ca-4ec5-942867be9093'::uuid, 'Imdb', 'tt0086759')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('efa73726-307e-48ca-4ec5-942867be9093'::uuid, 'TvMaze', 760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('efa73726-307e-48ca-4ec5-942867be9093'::uuid, 'TvRage', 4461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('efa73726-307e-48ca-4ec5-942867be9093'::uuid, 'Zap2It', 'EP00002881')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('efa73726-307e-48ca-4ec5-942867be9093'::uuid, 'wikidata', 'Q559321')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('efa73726-307e-48ca-4ec5-942867be9093'::uuid, 'TmdbCollection', 1908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #33996 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'efa73726-307e-48ca-4ec5-942867be9093'::uuid;

-- Query #33997 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'efa73726-307e-48ca-4ec5-942867be9093'::uuid;

-- Query #33998 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+drug crime', '6+miami, florida', '6+police detective', '6+police procedural', '6+undercover agent']);

-- Query #33999 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid]);

-- Query #34000 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'efa73726-307e-48ca-4ec5-942867be9093'::uuid;

-- Query #34001 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34002 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '2a4b6b9020ab5f2cbbe5a03d0492f980'
ORDER BY b."SortName", b."Name";

-- Query #34003 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid;

-- Query #34004 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid]);

-- Query #34005 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid;

-- Query #34006 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, 'wikidata', 'Q559321')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, 'TmdbCollection', 1908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, 'Tvdb', 77098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, 'Tmdb', 1908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, 'Imdb', 'tt0086759')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, 'TvMaze', 760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, 'TvRage', 4461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, 'Zap2It', 'EP00002881')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34014 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid;

-- Query #34015 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid;

-- Query #34016 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+drug crime', '6+miami, florida', '6+police detective', '6+police procedural', '6+undercover agent']);

-- Query #34017 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid]);

-- Query #34018 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid;

-- Query #34019 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34020 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '2a4b6b9020ab5f2cbbe5a03d0492f980'
ORDER BY b."SortName", b."Name";

-- Query #34021 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid;

-- Query #34022 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid]);

-- Query #34023 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid;

-- Query #34024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, 'TmdbCollection', 1908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, 'Tvdb', 77098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, 'Tmdb', 1908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, 'Imdb', 'tt0086759')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, 'TvMaze', 760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, 'TvRage', 4461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, 'Zap2It', 'EP00002881')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34031 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, 'wikidata', 'Q559321')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34032 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid;

-- Query #34033 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid;

-- Query #34034 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+drug crime', '6+miami, florida', '6+police detective', '6+police procedural', '6+undercover agent']);

-- Query #34035 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid]);

-- Query #34036 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid;

-- Query #34037 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34038 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '2a4b6b9020ab5f2cbbe5a03d0492f980'
ORDER BY b."SortName", b."Name";

-- Query #34039 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid;

-- Query #34040 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid]);

-- Query #34041 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid;

-- Query #34042 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid, 'TmdbCollection', 1908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34043 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid, 'Tvdb', 77098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34044 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid, 'Tmdb', 1908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid, 'Imdb', 'tt0086759')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid, 'TvMaze', 760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid, 'TvRage', 4461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid, 'Zap2It', 'EP00002881')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid, 'wikidata', 'Q559321')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34050 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid;

-- Query #34051 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid;

-- Query #34052 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+drug crime', '6+miami, florida', '6+police detective', '6+police procedural', '6+undercover agent']);

-- Query #34053 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid]);

-- Query #34054 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid;

-- Query #34055 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34056 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2546f6de-7062-e7c8-192c-39668a646b86'::uuid;

-- Query #34057 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2546f6de-7062-e7c8-192c-39668a646b86'::uuid]);

-- Query #34058 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2546f6de-7062-e7c8-192c-39668a646b86'::uuid;

-- Query #34059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2546f6de-7062-e7c8-192c-39668a646b86'::uuid, 'Imdb', 'tt0087717')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2546f6de-7062-e7c8-192c-39668a646b86'::uuid, 'Tmdb', 124418)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2546f6de-7062-e7c8-192c-39668a646b86'::uuid, 'TmdbCollection', 124418)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2546f6de-7062-e7c8-192c-39668a646b86'::uuid, 'trakt', 140402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2546f6de-7062-e7c8-192c-39668a646b86'::uuid, 'Tvdb', 228957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2546f6de-7062-e7c8-192c-39668a646b86'::uuid, 'TvMaze', 67102)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34065 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2546f6de-7062-e7c8-192c-39668a646b86'::uuid;

-- Query #34066 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2546f6de-7062-e7c8-192c-39668a646b86'::uuid;

-- Query #34067 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2546f6de-7062-e7c8-192c-39668a646b86'::uuid]);

-- Query #34068 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2546f6de-7062-e7c8-192c-39668a646b86'::uuid;

-- Query #34069 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34070 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5472c773-cd8a-1d8d-fa9f-607d4c019e25'::uuid;

-- Query #34071 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5472c773-cd8a-1d8d-fa9f-607d4c019e25'::uuid]);

-- Query #34072 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5472c773-cd8a-1d8d-fa9f-607d4c019e25'::uuid;

-- Query #34073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5472c773-cd8a-1d8d-fa9f-607d4c019e25'::uuid, 'Imdb', 'tt0087717')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5472c773-cd8a-1d8d-fa9f-607d4c019e25'::uuid, 'Tvdb', 228957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5472c773-cd8a-1d8d-fa9f-607d4c019e25'::uuid, 'TvMaze', 67102)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34076 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5472c773-cd8a-1d8d-fa9f-607d4c019e25'::uuid;

-- Query #34077 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5472c773-cd8a-1d8d-fa9f-607d4c019e25'::uuid;

-- Query #34078 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5472c773-cd8a-1d8d-fa9f-607d4c019e25'::uuid]);

-- Query #34079 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5472c773-cd8a-1d8d-fa9f-607d4c019e25'::uuid;

-- Query #34080 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34081 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52981869-1580-2788-4132-a6655c1e0fdb'::uuid;

-- Query #34082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['52981869-1580-2788-4132-a6655c1e0fdb'::uuid]);

-- Query #34083 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '52981869-1580-2788-4132-a6655c1e0fdb'::uuid;

-- Query #34084 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52981869-1580-2788-4132-a6655c1e0fdb'::uuid, 'Imdb', 'tt0647049')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34085 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52981869-1580-2788-4132-a6655c1e0fdb'::uuid, 'Tmdb', 124414)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34086 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52981869-1580-2788-4132-a6655c1e0fdb'::uuid, 'TmdbCollection', 124414)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52981869-1580-2788-4132-a6655c1e0fdb'::uuid, 'trakt', 140405)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52981869-1580-2788-4132-a6655c1e0fdb'::uuid, 'Tvdb', 228959)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52981869-1580-2788-4132-a6655c1e0fdb'::uuid, 'TvMaze', 67105)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34090 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52981869-1580-2788-4132-a6655c1e0fdb'::uuid;

-- Query #34091 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '52981869-1580-2788-4132-a6655c1e0fdb'::uuid;

-- Query #34092 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['52981869-1580-2788-4132-a6655c1e0fdb'::uuid]);

-- Query #34093 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '52981869-1580-2788-4132-a6655c1e0fdb'::uuid;

-- Query #34094 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34095 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b74a1b7-362b-bc6b-ea3d-5db43e2204f6'::uuid;

-- Query #34096 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b74a1b7-362b-bc6b-ea3d-5db43e2204f6'::uuid]);

-- Query #34097 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1b74a1b7-362b-bc6b-ea3d-5db43e2204f6'::uuid;

-- Query #34098 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b74a1b7-362b-bc6b-ea3d-5db43e2204f6'::uuid, 'Imdb', 'tt0647061')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34099 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b74a1b7-362b-bc6b-ea3d-5db43e2204f6'::uuid, 'Tvdb', 228977)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b74a1b7-362b-bc6b-ea3d-5db43e2204f6'::uuid, 'TvMaze', 67122)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34101 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b74a1b7-362b-bc6b-ea3d-5db43e2204f6'::uuid;

-- Query #34102 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1b74a1b7-362b-bc6b-ea3d-5db43e2204f6'::uuid;

-- Query #34103 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1b74a1b7-362b-bc6b-ea3d-5db43e2204f6'::uuid]);

-- Query #34104 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1b74a1b7-362b-bc6b-ea3d-5db43e2204f6'::uuid;

-- Query #34105 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34106 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '56ef9da8-712e-4ca9-1f7b-3297f46d91b7'::uuid;

-- Query #34107 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56ef9da8-712e-4ca9-1f7b-3297f46d91b7'::uuid]);

-- Query #34108 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '56ef9da8-712e-4ca9-1f7b-3297f46d91b7'::uuid;

-- Query #34109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56ef9da8-712e-4ca9-1f7b-3297f46d91b7'::uuid, 'Imdb', 'tt0647091')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56ef9da8-712e-4ca9-1f7b-3297f46d91b7'::uuid, 'Tmdb', 124352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34111 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56ef9da8-712e-4ca9-1f7b-3297f46d91b7'::uuid, 'TmdbCollection', 124352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34112 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56ef9da8-712e-4ca9-1f7b-3297f46d91b7'::uuid, 'trakt', 140412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56ef9da8-712e-4ca9-1f7b-3297f46d91b7'::uuid, 'Tvdb', 228966)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34114 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('56ef9da8-712e-4ca9-1f7b-3297f46d91b7'::uuid, 'TvMaze', 67112)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34115 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '56ef9da8-712e-4ca9-1f7b-3297f46d91b7'::uuid;

-- Query #34116 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '56ef9da8-712e-4ca9-1f7b-3297f46d91b7'::uuid;

-- Query #34117 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['56ef9da8-712e-4ca9-1f7b-3297f46d91b7'::uuid]);

-- Query #34118 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '56ef9da8-712e-4ca9-1f7b-3297f46d91b7'::uuid;

-- Query #34119 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34120 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3202b9d7-c7d0-c551-b91a-54a067e05695'::uuid;

-- Query #34121 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3202b9d7-c7d0-c551-b91a-54a067e05695'::uuid]);

-- Query #34122 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3202b9d7-c7d0-c551-b91a-54a067e05695'::uuid;

-- Query #34123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3202b9d7-c7d0-c551-b91a-54a067e05695'::uuid, 'Imdb', 'tt0647069')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3202b9d7-c7d0-c551-b91a-54a067e05695'::uuid, 'Tmdb', 124350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34125 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3202b9d7-c7d0-c551-b91a-54a067e05695'::uuid, 'TmdbCollection', 124350)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3202b9d7-c7d0-c551-b91a-54a067e05695'::uuid, 'trakt', 140411)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34127 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3202b9d7-c7d0-c551-b91a-54a067e05695'::uuid, 'Tvdb', 228965)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34128 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3202b9d7-c7d0-c551-b91a-54a067e05695'::uuid, 'TvMaze', 67111)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34129 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3202b9d7-c7d0-c551-b91a-54a067e05695'::uuid;

-- Query #34130 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3202b9d7-c7d0-c551-b91a-54a067e05695'::uuid;

-- Query #34131 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3202b9d7-c7d0-c551-b91a-54a067e05695'::uuid]);

-- Query #34132 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3202b9d7-c7d0-c551-b91a-54a067e05695'::uuid;

-- Query #34133 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34134 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef30747c-de1c-f7b0-fe3a-3a52eac42fc2'::uuid;

-- Query #34135 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef30747c-de1c-f7b0-fe3a-3a52eac42fc2'::uuid]);

-- Query #34136 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ef30747c-de1c-f7b0-fe3a-3a52eac42fc2'::uuid;

-- Query #34137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef30747c-de1c-f7b0-fe3a-3a52eac42fc2'::uuid, 'Imdb', 'tt0647073')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef30747c-de1c-f7b0-fe3a-3a52eac42fc2'::uuid, 'Tmdb', 124359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34139 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef30747c-de1c-f7b0-fe3a-3a52eac42fc2'::uuid, 'TmdbCollection', 124359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34140 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef30747c-de1c-f7b0-fe3a-3a52eac42fc2'::uuid, 'trakt', 140415)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34141 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef30747c-de1c-f7b0-fe3a-3a52eac42fc2'::uuid, 'Tvdb', 228969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34142 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef30747c-de1c-f7b0-fe3a-3a52eac42fc2'::uuid, 'TvMaze', 67115)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34143 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef30747c-de1c-f7b0-fe3a-3a52eac42fc2'::uuid;

-- Query #34144 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ef30747c-de1c-f7b0-fe3a-3a52eac42fc2'::uuid;

-- Query #34145 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ef30747c-de1c-f7b0-fe3a-3a52eac42fc2'::uuid]);

-- Query #34146 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ef30747c-de1c-f7b0-fe3a-3a52eac42fc2'::uuid;

-- Query #34147 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34148 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0eda13d-aa29-01d4-d7c7-42ad6dcbb5cd'::uuid;

-- Query #34149 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d0eda13d-aa29-01d4-d7c7-42ad6dcbb5cd'::uuid]);

-- Query #34150 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd0eda13d-aa29-01d4-d7c7-42ad6dcbb5cd'::uuid;

-- Query #34151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0eda13d-aa29-01d4-d7c7-42ad6dcbb5cd'::uuid, 'Imdb', 'tt0647113')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0eda13d-aa29-01d4-d7c7-42ad6dcbb5cd'::uuid, 'Tmdb', 124362)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0eda13d-aa29-01d4-d7c7-42ad6dcbb5cd'::uuid, 'TmdbCollection', 124362)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34154 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0eda13d-aa29-01d4-d7c7-42ad6dcbb5cd'::uuid, 'trakt', 140416)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34155 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0eda13d-aa29-01d4-d7c7-42ad6dcbb5cd'::uuid, 'Tvdb', 228970)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34156 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0eda13d-aa29-01d4-d7c7-42ad6dcbb5cd'::uuid, 'TvMaze', 67116)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34157 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0eda13d-aa29-01d4-d7c7-42ad6dcbb5cd'::uuid;

-- Query #34158 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd0eda13d-aa29-01d4-d7c7-42ad6dcbb5cd'::uuid;

-- Query #34159 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d0eda13d-aa29-01d4-d7c7-42ad6dcbb5cd'::uuid]);

-- Query #34160 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd0eda13d-aa29-01d4-d7c7-42ad6dcbb5cd'::uuid;

-- Query #34161 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34162 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14bcb2e7-8662-d49d-c0f8-634d6307c9e9'::uuid;

-- Query #34163 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14bcb2e7-8662-d49d-c0f8-634d6307c9e9'::uuid]);

-- Query #34164 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '14bcb2e7-8662-d49d-c0f8-634d6307c9e9'::uuid;

-- Query #34165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14bcb2e7-8662-d49d-c0f8-634d6307c9e9'::uuid, 'Imdb', 'tt0647070')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14bcb2e7-8662-d49d-c0f8-634d6307c9e9'::uuid, 'Tmdb', 954490)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14bcb2e7-8662-d49d-c0f8-634d6307c9e9'::uuid, 'TmdbCollection', 954490)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14bcb2e7-8662-d49d-c0f8-634d6307c9e9'::uuid, 'trakt', 140410)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34169 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14bcb2e7-8662-d49d-c0f8-634d6307c9e9'::uuid, 'Tvdb', 228964)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34170 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14bcb2e7-8662-d49d-c0f8-634d6307c9e9'::uuid, 'TvMaze', 67110)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34171 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14bcb2e7-8662-d49d-c0f8-634d6307c9e9'::uuid, 'TvRage', 114928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14bcb2e7-8662-d49d-c0f8-634d6307c9e9'::uuid;

-- Query #34173 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '14bcb2e7-8662-d49d-c0f8-634d6307c9e9'::uuid;

-- Query #34174 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['14bcb2e7-8662-d49d-c0f8-634d6307c9e9'::uuid]);

-- Query #34175 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '14bcb2e7-8662-d49d-c0f8-634d6307c9e9'::uuid;

-- Query #34176 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34177 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '623bf8ae-3c47-04ce-3412-6e787e0c5b7b'::uuid;

-- Query #34178 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['623bf8ae-3c47-04ce-3412-6e787e0c5b7b'::uuid]);

-- Query #34179 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '623bf8ae-3c47-04ce-3412-6e787e0c5b7b'::uuid;

-- Query #34180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('623bf8ae-3c47-04ce-3412-6e787e0c5b7b'::uuid, 'Imdb', 'tt0647053')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('623bf8ae-3c47-04ce-3412-6e787e0c5b7b'::uuid, 'Tmdb', 124304)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('623bf8ae-3c47-04ce-3412-6e787e0c5b7b'::uuid, 'TmdbCollection', 124304)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34183 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('623bf8ae-3c47-04ce-3412-6e787e0c5b7b'::uuid, 'trakt', 140404)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34184 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('623bf8ae-3c47-04ce-3412-6e787e0c5b7b'::uuid, 'Tvdb', 228958)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34185 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('623bf8ae-3c47-04ce-3412-6e787e0c5b7b'::uuid, 'TvMaze', 67104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34186 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '623bf8ae-3c47-04ce-3412-6e787e0c5b7b'::uuid;

-- Query #34187 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '623bf8ae-3c47-04ce-3412-6e787e0c5b7b'::uuid;

-- Query #34188 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['623bf8ae-3c47-04ce-3412-6e787e0c5b7b'::uuid]);

-- Query #34189 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '623bf8ae-3c47-04ce-3412-6e787e0c5b7b'::uuid;

-- Query #34190 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34191 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '42ad93c8-1a21-2e04-4dbb-77a0096c1291'::uuid;

-- Query #34192 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42ad93c8-1a21-2e04-4dbb-77a0096c1291'::uuid]);

-- Query #34193 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '42ad93c8-1a21-2e04-4dbb-77a0096c1291'::uuid;

-- Query #34194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42ad93c8-1a21-2e04-4dbb-77a0096c1291'::uuid, 'Imdb', 'tt0647101')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42ad93c8-1a21-2e04-4dbb-77a0096c1291'::uuid, 'Tmdb', 124402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42ad93c8-1a21-2e04-4dbb-77a0096c1291'::uuid, 'TmdbCollection', 124402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42ad93c8-1a21-2e04-4dbb-77a0096c1291'::uuid, 'trakt', 140421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42ad93c8-1a21-2e04-4dbb-77a0096c1291'::uuid, 'Tvdb', 228975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34199 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('42ad93c8-1a21-2e04-4dbb-77a0096c1291'::uuid, 'TvMaze', 67121)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34200 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '42ad93c8-1a21-2e04-4dbb-77a0096c1291'::uuid;

-- Query #34201 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '42ad93c8-1a21-2e04-4dbb-77a0096c1291'::uuid;

-- Query #34202 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['42ad93c8-1a21-2e04-4dbb-77a0096c1291'::uuid]);

-- Query #34203 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '42ad93c8-1a21-2e04-4dbb-77a0096c1291'::uuid;

-- Query #34204 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34205 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f4517e6-f5ea-eb09-2316-94845bacde54'::uuid;

-- Query #34206 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f4517e6-f5ea-eb09-2316-94845bacde54'::uuid]);

-- Query #34207 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5f4517e6-f5ea-eb09-2316-94845bacde54'::uuid;

-- Query #34208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f4517e6-f5ea-eb09-2316-94845bacde54'::uuid, 'Imdb', 'tt0647096')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f4517e6-f5ea-eb09-2316-94845bacde54'::uuid, 'Tmdb', 124354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f4517e6-f5ea-eb09-2316-94845bacde54'::uuid, 'TmdbCollection', 124354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f4517e6-f5ea-eb09-2316-94845bacde54'::uuid, 'trakt', 140413)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f4517e6-f5ea-eb09-2316-94845bacde54'::uuid, 'Tvdb', 228967)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f4517e6-f5ea-eb09-2316-94845bacde54'::uuid, 'TvMaze', 67113)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f4517e6-f5ea-eb09-2316-94845bacde54'::uuid;

-- Query #34215 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5f4517e6-f5ea-eb09-2316-94845bacde54'::uuid;

-- Query #34216 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5f4517e6-f5ea-eb09-2316-94845bacde54'::uuid]);

-- Query #34217 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5f4517e6-f5ea-eb09-2316-94845bacde54'::uuid;

-- Query #34218 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34219 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2353db33-647e-0c3d-7711-ec3ad683f8c0'::uuid;

-- Query #34220 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2353db33-647e-0c3d-7711-ec3ad683f8c0'::uuid]);

-- Query #34221 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2353db33-647e-0c3d-7711-ec3ad683f8c0'::uuid;

-- Query #34222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2353db33-647e-0c3d-7711-ec3ad683f8c0'::uuid, 'Imdb', 'tt0647125')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2353db33-647e-0c3d-7711-ec3ad683f8c0'::uuid, 'Tmdb', 124401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34224 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2353db33-647e-0c3d-7711-ec3ad683f8c0'::uuid, 'TmdbCollection', 124401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34225 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2353db33-647e-0c3d-7711-ec3ad683f8c0'::uuid, 'trakt', 140420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34226 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2353db33-647e-0c3d-7711-ec3ad683f8c0'::uuid, 'Tvdb', 228974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34227 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2353db33-647e-0c3d-7711-ec3ad683f8c0'::uuid, 'TvMaze', 67120)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34228 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2353db33-647e-0c3d-7711-ec3ad683f8c0'::uuid;

-- Query #34229 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2353db33-647e-0c3d-7711-ec3ad683f8c0'::uuid;

-- Query #34230 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2353db33-647e-0c3d-7711-ec3ad683f8c0'::uuid]);

-- Query #34231 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2353db33-647e-0c3d-7711-ec3ad683f8c0'::uuid;

-- Query #34232 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34233 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '921d739a-0bcd-a8b3-88ea-ba1c2dd76fb5'::uuid;

-- Query #34234 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['921d739a-0bcd-a8b3-88ea-ba1c2dd76fb5'::uuid]);

-- Query #34235 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '921d739a-0bcd-a8b3-88ea-ba1c2dd76fb5'::uuid;

-- Query #34236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('921d739a-0bcd-a8b3-88ea-ba1c2dd76fb5'::uuid, 'Imdb', 'tt0647094')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('921d739a-0bcd-a8b3-88ea-ba1c2dd76fb5'::uuid, 'Tmdb', 124398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('921d739a-0bcd-a8b3-88ea-ba1c2dd76fb5'::uuid, 'TmdbCollection', 124398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34239 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('921d739a-0bcd-a8b3-88ea-ba1c2dd76fb5'::uuid, 'trakt', 140419)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34240 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('921d739a-0bcd-a8b3-88ea-ba1c2dd76fb5'::uuid, 'Tvdb', 228973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34241 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('921d739a-0bcd-a8b3-88ea-ba1c2dd76fb5'::uuid, 'TvMaze', 67119)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34242 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '921d739a-0bcd-a8b3-88ea-ba1c2dd76fb5'::uuid;

-- Query #34243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '921d739a-0bcd-a8b3-88ea-ba1c2dd76fb5'::uuid;

-- Query #34244 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['921d739a-0bcd-a8b3-88ea-ba1c2dd76fb5'::uuid]);

-- Query #34245 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '921d739a-0bcd-a8b3-88ea-ba1c2dd76fb5'::uuid;

-- Query #34246 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34247 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e046500-5d0f-ed0b-4395-8bb55e1f6005'::uuid;

-- Query #34248 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e046500-5d0f-ed0b-4395-8bb55e1f6005'::uuid]);

-- Query #34249 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9e046500-5d0f-ed0b-4395-8bb55e1f6005'::uuid;

-- Query #34250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e046500-5d0f-ed0b-4395-8bb55e1f6005'::uuid, 'Imdb', 'tt0647072')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e046500-5d0f-ed0b-4395-8bb55e1f6005'::uuid, 'Tmdb', 124357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e046500-5d0f-ed0b-4395-8bb55e1f6005'::uuid, 'TmdbCollection', 124357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e046500-5d0f-ed0b-4395-8bb55e1f6005'::uuid, 'trakt', 140414)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e046500-5d0f-ed0b-4395-8bb55e1f6005'::uuid, 'Tvdb', 228968)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e046500-5d0f-ed0b-4395-8bb55e1f6005'::uuid, 'TvMaze', 67114)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34256 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e046500-5d0f-ed0b-4395-8bb55e1f6005'::uuid;

-- Query #34257 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9e046500-5d0f-ed0b-4395-8bb55e1f6005'::uuid;

-- Query #34258 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9e046500-5d0f-ed0b-4395-8bb55e1f6005'::uuid]);

-- Query #34259 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9e046500-5d0f-ed0b-4395-8bb55e1f6005'::uuid;

-- Query #34260 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34261 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4f66f0da-b1b8-5b39-0c4b-58e633f989d3'::uuid;

-- Query #34262 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f66f0da-b1b8-5b39-0c4b-58e633f989d3'::uuid]);

-- Query #34263 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4f66f0da-b1b8-5b39-0c4b-58e633f989d3'::uuid;

-- Query #34264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f66f0da-b1b8-5b39-0c4b-58e633f989d3'::uuid, 'Imdb', 'tt0647101')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f66f0da-b1b8-5b39-0c4b-58e633f989d3'::uuid, 'Tvdb', 228976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f66f0da-b1b8-5b39-0c4b-58e633f989d3'::uuid, 'TvMaze', 67121)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4f66f0da-b1b8-5b39-0c4b-58e633f989d3'::uuid;

-- Query #34268 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4f66f0da-b1b8-5b39-0c4b-58e633f989d3'::uuid;

-- Query #34269 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4f66f0da-b1b8-5b39-0c4b-58e633f989d3'::uuid]);

-- Query #34270 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4f66f0da-b1b8-5b39-0c4b-58e633f989d3'::uuid;

-- Query #34271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3483086c-bf7d-4c52-4c5c-d1d4b649d452'::uuid;

-- Query #34273 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3483086c-bf7d-4c52-4c5c-d1d4b649d452'::uuid]);

-- Query #34274 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3483086c-bf7d-4c52-4c5c-d1d4b649d452'::uuid;

-- Query #34275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3483086c-bf7d-4c52-4c5c-d1d4b649d452'::uuid, 'Imdb', 'tt0647061')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3483086c-bf7d-4c52-4c5c-d1d4b649d452'::uuid, 'Tmdb', 124403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3483086c-bf7d-4c52-4c5c-d1d4b649d452'::uuid, 'TmdbCollection', 124403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3483086c-bf7d-4c52-4c5c-d1d4b649d452'::uuid, 'trakt', 140422)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3483086c-bf7d-4c52-4c5c-d1d4b649d452'::uuid, 'Tvdb', 228976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3483086c-bf7d-4c52-4c5c-d1d4b649d452'::uuid, 'TvMaze', 67122)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34281 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3483086c-bf7d-4c52-4c5c-d1d4b649d452'::uuid;

-- Query #34282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3483086c-bf7d-4c52-4c5c-d1d4b649d452'::uuid;

-- Query #34283 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3483086c-bf7d-4c52-4c5c-d1d4b649d452'::uuid]);

-- Query #34284 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3483086c-bf7d-4c52-4c5c-d1d4b649d452'::uuid;

-- Query #34285 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34286 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e52ef68-7bc8-362a-bdf7-b79ce09ee0fc'::uuid;

-- Query #34287 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e52ef68-7bc8-362a-bdf7-b79ce09ee0fc'::uuid]);

-- Query #34288 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9e52ef68-7bc8-362a-bdf7-b79ce09ee0fc'::uuid;

-- Query #34289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e52ef68-7bc8-362a-bdf7-b79ce09ee0fc'::uuid, 'Imdb', 'tt0647124')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e52ef68-7bc8-362a-bdf7-b79ce09ee0fc'::uuid, 'Tmdb', 124342)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e52ef68-7bc8-362a-bdf7-b79ce09ee0fc'::uuid, 'TmdbCollection', 124342)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e52ef68-7bc8-362a-bdf7-b79ce09ee0fc'::uuid, 'trakt', 140409)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e52ef68-7bc8-362a-bdf7-b79ce09ee0fc'::uuid, 'Tvdb', 228963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e52ef68-7bc8-362a-bdf7-b79ce09ee0fc'::uuid, 'TvMaze', 67109)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e52ef68-7bc8-362a-bdf7-b79ce09ee0fc'::uuid, 'TvRage', 114928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e52ef68-7bc8-362a-bdf7-b79ce09ee0fc'::uuid;

-- Query #34297 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9e52ef68-7bc8-362a-bdf7-b79ce09ee0fc'::uuid;

-- Query #34298 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9e52ef68-7bc8-362a-bdf7-b79ce09ee0fc'::uuid]);

-- Query #34299 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9e52ef68-7bc8-362a-bdf7-b79ce09ee0fc'::uuid;

-- Query #34300 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34301 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5e5c850-e02b-1cf1-74de-d880c033cb87'::uuid;

-- Query #34302 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #34303 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5e5c850-e02b-1cf1-74de-d880c033cb87'::uuid]);

-- Query #34304 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e5e5c850-e02b-1cf1-74de-d880c033cb87'::uuid;

-- Query #34305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5e5c850-e02b-1cf1-74de-d880c033cb87'::uuid, 'Imdb', 'tt0647100')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5e5c850-e02b-1cf1-74de-d880c033cb87'::uuid, 'Tmdb', 124339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5e5c850-e02b-1cf1-74de-d880c033cb87'::uuid, 'TmdbCollection', 124339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5e5c850-e02b-1cf1-74de-d880c033cb87'::uuid, 'trakt', 140408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5e5c850-e02b-1cf1-74de-d880c033cb87'::uuid, 'Tvdb', 228962)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5e5c850-e02b-1cf1-74de-d880c033cb87'::uuid, 'TvMaze', 67108)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5e5c850-e02b-1cf1-74de-d880c033cb87'::uuid, 'TvRage', 114926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34312 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5e5c850-e02b-1cf1-74de-d880c033cb87'::uuid;

-- Query #34313 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e5e5c850-e02b-1cf1-74de-d880c033cb87'::uuid;

-- Query #34314 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e5e5c850-e02b-1cf1-74de-d880c033cb87'::uuid]);

-- Query #34315 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e5e5c850-e02b-1cf1-74de-d880c033cb87'::uuid;

-- Query #34316 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34317 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36f50e76-fb40-572e-fda4-58c1ad212f05'::uuid;

-- Query #34318 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['36f50e76-fb40-572e-fda4-58c1ad212f05'::uuid]);

-- Query #34319 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '36f50e76-fb40-572e-fda4-58c1ad212f05'::uuid;

-- Query #34320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36f50e76-fb40-572e-fda4-58c1ad212f05'::uuid, 'Imdb', 'tt0647110')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36f50e76-fb40-572e-fda4-58c1ad212f05'::uuid, 'Tmdb', 124394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36f50e76-fb40-572e-fda4-58c1ad212f05'::uuid, 'TmdbCollection', 124394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36f50e76-fb40-572e-fda4-58c1ad212f05'::uuid, 'trakt', 140417)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36f50e76-fb40-572e-fda4-58c1ad212f05'::uuid, 'Tvdb', 228971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36f50e76-fb40-572e-fda4-58c1ad212f05'::uuid, 'TvMaze', 67117)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34326 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36f50e76-fb40-572e-fda4-58c1ad212f05'::uuid;

-- Query #34327 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '36f50e76-fb40-572e-fda4-58c1ad212f05'::uuid;

-- Query #34328 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['36f50e76-fb40-572e-fda4-58c1ad212f05'::uuid]);

-- Query #34329 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '36f50e76-fb40-572e-fda4-58c1ad212f05'::uuid;

-- Query #34330 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34331 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8bb8803d-871e-ff28-238c-04b5cd9abc46'::uuid;

-- Query #34332 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8bb8803d-871e-ff28-238c-04b5cd9abc46'::uuid]);

-- Query #34333 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8bb8803d-871e-ff28-238c-04b5cd9abc46'::uuid;

-- Query #34334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bb8803d-871e-ff28-238c-04b5cd9abc46'::uuid, 'Imdb', 'tt0647037')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bb8803d-871e-ff28-238c-04b5cd9abc46'::uuid, 'Tmdb', 124144)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bb8803d-871e-ff28-238c-04b5cd9abc46'::uuid, 'TvMaze', 67133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bb8803d-871e-ff28-238c-04b5cd9abc46'::uuid, 'Tvdb', 228988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bb8803d-871e-ff28-238c-04b5cd9abc46'::uuid, 'TvRage', 114953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bb8803d-871e-ff28-238c-04b5cd9abc46'::uuid, 'trakt', 140435)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bb8803d-871e-ff28-238c-04b5cd9abc46'::uuid, 'TmdbCollection', 124144)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34341 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8bb8803d-871e-ff28-238c-04b5cd9abc46'::uuid;

-- Query #34342 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8bb8803d-871e-ff28-238c-04b5cd9abc46'::uuid;

-- Query #34343 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8bb8803d-871e-ff28-238c-04b5cd9abc46'::uuid]);

-- Query #34344 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8bb8803d-871e-ff28-238c-04b5cd9abc46'::uuid;

-- Query #34345 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34346 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c3747a18-4776-ffa7-5117-9ce85ccc4f9b'::uuid;

-- Query #34347 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3747a18-4776-ffa7-5117-9ce85ccc4f9b'::uuid]);

-- Query #34348 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c3747a18-4776-ffa7-5117-9ce85ccc4f9b'::uuid;

-- Query #34349 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3747a18-4776-ffa7-5117-9ce85ccc4f9b'::uuid, 'Imdb', 'tt0647044')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34350 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3747a18-4776-ffa7-5117-9ce85ccc4f9b'::uuid, 'Tmdb', 124091)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34351 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3747a18-4776-ffa7-5117-9ce85ccc4f9b'::uuid, 'TvMaze', 67132)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3747a18-4776-ffa7-5117-9ce85ccc4f9b'::uuid, 'Tvdb', 228987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3747a18-4776-ffa7-5117-9ce85ccc4f9b'::uuid, 'TvRage', 114952)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3747a18-4776-ffa7-5117-9ce85ccc4f9b'::uuid, 'trakt', 140434)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3747a18-4776-ffa7-5117-9ce85ccc4f9b'::uuid, 'TmdbCollection', 124091)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34356 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c3747a18-4776-ffa7-5117-9ce85ccc4f9b'::uuid;

-- Query #34357 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c3747a18-4776-ffa7-5117-9ce85ccc4f9b'::uuid;

-- Query #34358 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c3747a18-4776-ffa7-5117-9ce85ccc4f9b'::uuid]);

-- Query #34359 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c3747a18-4776-ffa7-5117-9ce85ccc4f9b'::uuid;

-- Query #34360 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34361 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a9783d8d-9b0a-fbc7-6ce9-14dd2e62203d'::uuid;

-- Query #34362 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9783d8d-9b0a-fbc7-6ce9-14dd2e62203d'::uuid]);

-- Query #34363 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a9783d8d-9b0a-fbc7-6ce9-14dd2e62203d'::uuid;

-- Query #34364 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9783d8d-9b0a-fbc7-6ce9-14dd2e62203d'::uuid, 'Imdb', 'tt0647046')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34365 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9783d8d-9b0a-fbc7-6ce9-14dd2e62203d'::uuid, 'Tmdb', 124044)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9783d8d-9b0a-fbc7-6ce9-14dd2e62203d'::uuid, 'TvMaze', 67128)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9783d8d-9b0a-fbc7-6ce9-14dd2e62203d'::uuid, 'Tvdb', 228983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9783d8d-9b0a-fbc7-6ce9-14dd2e62203d'::uuid, 'TvRage', 114948)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9783d8d-9b0a-fbc7-6ce9-14dd2e62203d'::uuid, 'trakt', 140430)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9783d8d-9b0a-fbc7-6ce9-14dd2e62203d'::uuid, 'TmdbCollection', 124044)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a9783d8d-9b0a-fbc7-6ce9-14dd2e62203d'::uuid;

-- Query #34372 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a9783d8d-9b0a-fbc7-6ce9-14dd2e62203d'::uuid;

-- Query #34373 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a9783d8d-9b0a-fbc7-6ce9-14dd2e62203d'::uuid]);

-- Query #34374 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a9783d8d-9b0a-fbc7-6ce9-14dd2e62203d'::uuid;

-- Query #34375 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34376 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3bee26c-36f0-6ab7-fb4b-9fcb2ec598a9'::uuid;

-- Query #34377 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b3bee26c-36f0-6ab7-fb4b-9fcb2ec598a9'::uuid]);

-- Query #34378 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b3bee26c-36f0-6ab7-fb4b-9fcb2ec598a9'::uuid;

-- Query #34379 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3bee26c-36f0-6ab7-fb4b-9fcb2ec598a9'::uuid, 'TmdbCollection', 124086)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3bee26c-36f0-6ab7-fb4b-9fcb2ec598a9'::uuid, 'Imdb', 'tt0647047')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3bee26c-36f0-6ab7-fb4b-9fcb2ec598a9'::uuid, 'Tmdb', 124086)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3bee26c-36f0-6ab7-fb4b-9fcb2ec598a9'::uuid, 'TvMaze', 67131)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3bee26c-36f0-6ab7-fb4b-9fcb2ec598a9'::uuid, 'Tvdb', 228986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3bee26c-36f0-6ab7-fb4b-9fcb2ec598a9'::uuid, 'TvRage', 114951)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3bee26c-36f0-6ab7-fb4b-9fcb2ec598a9'::uuid, 'trakt', 140433)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34386 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3bee26c-36f0-6ab7-fb4b-9fcb2ec598a9'::uuid;

-- Query #34387 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b3bee26c-36f0-6ab7-fb4b-9fcb2ec598a9'::uuid;

-- Query #34388 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b3bee26c-36f0-6ab7-fb4b-9fcb2ec598a9'::uuid]);

-- Query #34389 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b3bee26c-36f0-6ab7-fb4b-9fcb2ec598a9'::uuid;

-- Query #34390 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34391 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4fd0b0b-2af9-4f2e-2ba9-c77b6d4fe17a'::uuid;

-- Query #34392 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c4fd0b0b-2af9-4f2e-2ba9-c77b6d4fe17a'::uuid]);

-- Query #34393 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c4fd0b0b-2af9-4f2e-2ba9-c77b6d4fe17a'::uuid;

-- Query #34394 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4fd0b0b-2af9-4f2e-2ba9-c77b6d4fe17a'::uuid, 'TmdbCollection', 124033)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34395 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4fd0b0b-2af9-4f2e-2ba9-c77b6d4fe17a'::uuid, 'Imdb', 'tt0647121')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4fd0b0b-2af9-4f2e-2ba9-c77b6d4fe17a'::uuid, 'Tmdb', 124033)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4fd0b0b-2af9-4f2e-2ba9-c77b6d4fe17a'::uuid, 'TvMaze', 67127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4fd0b0b-2af9-4f2e-2ba9-c77b6d4fe17a'::uuid, 'Tvdb', 228982)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4fd0b0b-2af9-4f2e-2ba9-c77b6d4fe17a'::uuid, 'TvRage', 114947)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4fd0b0b-2af9-4f2e-2ba9-c77b6d4fe17a'::uuid, 'trakt', 140429)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34401 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4fd0b0b-2af9-4f2e-2ba9-c77b6d4fe17a'::uuid;

-- Query #34402 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c4fd0b0b-2af9-4f2e-2ba9-c77b6d4fe17a'::uuid;

-- Query #34403 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c4fd0b0b-2af9-4f2e-2ba9-c77b6d4fe17a'::uuid]);

-- Query #34404 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c4fd0b0b-2af9-4f2e-2ba9-c77b6d4fe17a'::uuid;

-- Query #34405 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34406 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df0e2907-5e40-acce-bd3d-dc358e313b3c'::uuid;

-- Query #34407 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df0e2907-5e40-acce-bd3d-dc358e313b3c'::uuid]);

-- Query #34408 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'df0e2907-5e40-acce-bd3d-dc358e313b3c'::uuid;

-- Query #34409 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df0e2907-5e40-acce-bd3d-dc358e313b3c'::uuid, 'TmdbCollection', 124230)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34410 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df0e2907-5e40-acce-bd3d-dc358e313b3c'::uuid, 'Imdb', 'tt0647122')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34411 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df0e2907-5e40-acce-bd3d-dc358e313b3c'::uuid, 'Tmdb', 124230)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34412 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df0e2907-5e40-acce-bd3d-dc358e313b3c'::uuid, 'TvMaze', 67141)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df0e2907-5e40-acce-bd3d-dc358e313b3c'::uuid, 'Tvdb', 228996)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df0e2907-5e40-acce-bd3d-dc358e313b3c'::uuid, 'TvRage', 114961)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df0e2907-5e40-acce-bd3d-dc358e313b3c'::uuid, 'trakt', 140443)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34416 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df0e2907-5e40-acce-bd3d-dc358e313b3c'::uuid;

-- Query #34417 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'df0e2907-5e40-acce-bd3d-dc358e313b3c'::uuid;

-- Query #34418 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['df0e2907-5e40-acce-bd3d-dc358e313b3c'::uuid]);

-- Query #34419 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'df0e2907-5e40-acce-bd3d-dc358e313b3c'::uuid;

-- Query #34420 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34421 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'adfcf753-46a7-17ec-3026-d18d2cd60581'::uuid;

-- Query #34422 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['adfcf753-46a7-17ec-3026-d18d2cd60581'::uuid]);

-- Query #34423 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'adfcf753-46a7-17ec-3026-d18d2cd60581'::uuid;

-- Query #34424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('adfcf753-46a7-17ec-3026-d18d2cd60581'::uuid, 'Imdb', 'tt0647063')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('adfcf753-46a7-17ec-3026-d18d2cd60581'::uuid, 'Tmdb', 124198)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('adfcf753-46a7-17ec-3026-d18d2cd60581'::uuid, 'TvMaze', 67139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('adfcf753-46a7-17ec-3026-d18d2cd60581'::uuid, 'Tvdb', 228994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('adfcf753-46a7-17ec-3026-d18d2cd60581'::uuid, 'TvRage', 114959)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('adfcf753-46a7-17ec-3026-d18d2cd60581'::uuid, 'trakt', 140441)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('adfcf753-46a7-17ec-3026-d18d2cd60581'::uuid, 'TmdbCollection', 124198)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34431 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'adfcf753-46a7-17ec-3026-d18d2cd60581'::uuid;

-- Query #34432 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'adfcf753-46a7-17ec-3026-d18d2cd60581'::uuid;

-- Query #34433 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['adfcf753-46a7-17ec-3026-d18d2cd60581'::uuid]);

-- Query #34434 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'adfcf753-46a7-17ec-3026-d18d2cd60581'::uuid;

-- Query #34435 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34436 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5325fe8e-a473-bdc6-ae15-bd7b319f939d'::uuid;

-- Query #34437 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5325fe8e-a473-bdc6-ae15-bd7b319f939d'::uuid]);

-- Query #34438 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5325fe8e-a473-bdc6-ae15-bd7b319f939d'::uuid;

-- Query #34439 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5325fe8e-a473-bdc6-ae15-bd7b319f939d'::uuid, 'Imdb', 'tt0647065')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34440 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5325fe8e-a473-bdc6-ae15-bd7b319f939d'::uuid, 'Tmdb', 124283)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5325fe8e-a473-bdc6-ae15-bd7b319f939d'::uuid, 'TvMaze', 67143)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5325fe8e-a473-bdc6-ae15-bd7b319f939d'::uuid, 'Tvdb', 228998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5325fe8e-a473-bdc6-ae15-bd7b319f939d'::uuid, 'TvRage', 114963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5325fe8e-a473-bdc6-ae15-bd7b319f939d'::uuid, 'trakt', 140445)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5325fe8e-a473-bdc6-ae15-bd7b319f939d'::uuid, 'TmdbCollection', 124283)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34446 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5325fe8e-a473-bdc6-ae15-bd7b319f939d'::uuid;

-- Query #34447 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5325fe8e-a473-bdc6-ae15-bd7b319f939d'::uuid;

-- Query #34448 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5325fe8e-a473-bdc6-ae15-bd7b319f939d'::uuid]);

-- Query #34449 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5325fe8e-a473-bdc6-ae15-bd7b319f939d'::uuid;

-- Query #34450 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34451 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef06f4d5-7c0e-a9d5-50d2-19b3aa16c14f'::uuid;

-- Query #34452 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef06f4d5-7c0e-a9d5-50d2-19b3aa16c14f'::uuid]);

-- Query #34453 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ef06f4d5-7c0e-a9d5-50d2-19b3aa16c14f'::uuid;

-- Query #34454 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef06f4d5-7c0e-a9d5-50d2-19b3aa16c14f'::uuid, 'TmdbCollection', 124224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34455 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef06f4d5-7c0e-a9d5-50d2-19b3aa16c14f'::uuid, 'Imdb', 'tt0647067')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef06f4d5-7c0e-a9d5-50d2-19b3aa16c14f'::uuid, 'Tmdb', 124224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef06f4d5-7c0e-a9d5-50d2-19b3aa16c14f'::uuid, 'TvMaze', 67140)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef06f4d5-7c0e-a9d5-50d2-19b3aa16c14f'::uuid, 'Tvdb', 228995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34459 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef06f4d5-7c0e-a9d5-50d2-19b3aa16c14f'::uuid, 'TvRage', 114960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34460 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef06f4d5-7c0e-a9d5-50d2-19b3aa16c14f'::uuid, 'trakt', 140442)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34461 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef06f4d5-7c0e-a9d5-50d2-19b3aa16c14f'::uuid;

-- Query #34462 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ef06f4d5-7c0e-a9d5-50d2-19b3aa16c14f'::uuid;

-- Query #34463 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ef06f4d5-7c0e-a9d5-50d2-19b3aa16c14f'::uuid]);

-- Query #34464 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ef06f4d5-7c0e-a9d5-50d2-19b3aa16c14f'::uuid;

-- Query #34465 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34466 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a29d63c-2281-c460-99cd-859ad3eeff3b'::uuid;

-- Query #34467 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3a29d63c-2281-c460-99cd-859ad3eeff3b'::uuid]);

-- Query #34468 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3a29d63c-2281-c460-99cd-859ad3eeff3b'::uuid;

-- Query #34469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a29d63c-2281-c460-99cd-859ad3eeff3b'::uuid, 'TmdbCollection', 124047)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a29d63c-2281-c460-99cd-859ad3eeff3b'::uuid, 'Imdb', 'tt0647083')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a29d63c-2281-c460-99cd-859ad3eeff3b'::uuid, 'Tmdb', 124047)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a29d63c-2281-c460-99cd-859ad3eeff3b'::uuid, 'TvMaze', 67129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34473 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a29d63c-2281-c460-99cd-859ad3eeff3b'::uuid, 'Tvdb', 228984)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a29d63c-2281-c460-99cd-859ad3eeff3b'::uuid, 'TvRage', 114949)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a29d63c-2281-c460-99cd-859ad3eeff3b'::uuid, 'trakt', 140431)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34476 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a29d63c-2281-c460-99cd-859ad3eeff3b'::uuid;

-- Query #34477 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3a29d63c-2281-c460-99cd-859ad3eeff3b'::uuid;

-- Query #34478 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3a29d63c-2281-c460-99cd-859ad3eeff3b'::uuid]);

-- Query #34479 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3a29d63c-2281-c460-99cd-859ad3eeff3b'::uuid;

-- Query #34480 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34481 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bd346fb-6c1f-6f2f-651c-38f321bc1266'::uuid;

-- Query #34482 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4bd346fb-6c1f-6f2f-651c-38f321bc1266'::uuid]);

-- Query #34483 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4bd346fb-6c1f-6f2f-651c-38f321bc1266'::uuid;

-- Query #34484 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bd346fb-6c1f-6f2f-651c-38f321bc1266'::uuid, 'Imdb', 'tt0647090')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bd346fb-6c1f-6f2f-651c-38f321bc1266'::uuid, 'Tmdb', 124194)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bd346fb-6c1f-6f2f-651c-38f321bc1266'::uuid, 'TvMaze', 67138)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bd346fb-6c1f-6f2f-651c-38f321bc1266'::uuid, 'Tvdb', 228993)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bd346fb-6c1f-6f2f-651c-38f321bc1266'::uuid, 'TvRage', 114958)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bd346fb-6c1f-6f2f-651c-38f321bc1266'::uuid, 'trakt', 140440)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bd346fb-6c1f-6f2f-651c-38f321bc1266'::uuid, 'TmdbCollection', 124194)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34491 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bd346fb-6c1f-6f2f-651c-38f321bc1266'::uuid;

-- Query #34492 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4bd346fb-6c1f-6f2f-651c-38f321bc1266'::uuid;

-- Query #34493 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4bd346fb-6c1f-6f2f-651c-38f321bc1266'::uuid]);

-- Query #34494 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4bd346fb-6c1f-6f2f-651c-38f321bc1266'::uuid;

-- Query #34495 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34496 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2f435c5-6c44-9faf-9909-6888d5b5782a'::uuid;

-- Query #34497 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2f435c5-6c44-9faf-9909-6888d5b5782a'::uuid]);

-- Query #34498 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e2f435c5-6c44-9faf-9909-6888d5b5782a'::uuid;

-- Query #34499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2f435c5-6c44-9faf-9909-6888d5b5782a'::uuid, 'Imdb', 'tt0647103')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2f435c5-6c44-9faf-9909-6888d5b5782a'::uuid, 'Tmdb', 124155)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2f435c5-6c44-9faf-9909-6888d5b5782a'::uuid, 'TvMaze', 67137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2f435c5-6c44-9faf-9909-6888d5b5782a'::uuid, 'Tvdb', 228992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2f435c5-6c44-9faf-9909-6888d5b5782a'::uuid, 'TvRage', 114957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34504 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2f435c5-6c44-9faf-9909-6888d5b5782a'::uuid, 'trakt', 140439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e2f435c5-6c44-9faf-9909-6888d5b5782a'::uuid, 'TmdbCollection', 124155)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34506 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2f435c5-6c44-9faf-9909-6888d5b5782a'::uuid;

-- Query #34507 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e2f435c5-6c44-9faf-9909-6888d5b5782a'::uuid;

-- Query #34508 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e2f435c5-6c44-9faf-9909-6888d5b5782a'::uuid]);

-- Query #34509 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e2f435c5-6c44-9faf-9909-6888d5b5782a'::uuid;

-- Query #34510 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34511 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '259ef64e-942d-5b29-21f8-21facb98cfbe'::uuid;

-- Query #34512 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['259ef64e-942d-5b29-21f8-21facb98cfbe'::uuid]);

-- Query #34513 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '259ef64e-942d-5b29-21f8-21facb98cfbe'::uuid;

-- Query #34514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('259ef64e-942d-5b29-21f8-21facb98cfbe'::uuid, 'TmdbCollection', 124029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('259ef64e-942d-5b29-21f8-21facb98cfbe'::uuid, 'Imdb', 'tt0647104')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('259ef64e-942d-5b29-21f8-21facb98cfbe'::uuid, 'Tmdb', 124029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('259ef64e-942d-5b29-21f8-21facb98cfbe'::uuid, 'TvMaze', 67126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('259ef64e-942d-5b29-21f8-21facb98cfbe'::uuid, 'Tvdb', 228981)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('259ef64e-942d-5b29-21f8-21facb98cfbe'::uuid, 'TvRage', 114946)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('259ef64e-942d-5b29-21f8-21facb98cfbe'::uuid, 'trakt', 140428)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34521 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '259ef64e-942d-5b29-21f8-21facb98cfbe'::uuid;

-- Query #34522 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '259ef64e-942d-5b29-21f8-21facb98cfbe'::uuid;

-- Query #34523 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['259ef64e-942d-5b29-21f8-21facb98cfbe'::uuid]);

-- Query #34524 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '259ef64e-942d-5b29-21f8-21facb98cfbe'::uuid;

-- Query #34525 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34526 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67f77825-f51d-5c3b-01fd-e14b5c84ac7b'::uuid;

-- Query #34527 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67f77825-f51d-5c3b-01fd-e14b5c84ac7b'::uuid]);

-- Query #34528 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '67f77825-f51d-5c3b-01fd-e14b5c84ac7b'::uuid;

-- Query #34529 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67f77825-f51d-5c3b-01fd-e14b5c84ac7b'::uuid, 'Imdb', 'tt0647128')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34530 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67f77825-f51d-5c3b-01fd-e14b5c84ac7b'::uuid, 'Tmdb', 124262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34531 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67f77825-f51d-5c3b-01fd-e14b5c84ac7b'::uuid, 'TvMaze', 67142)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67f77825-f51d-5c3b-01fd-e14b5c84ac7b'::uuid, 'Tvdb', 228997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67f77825-f51d-5c3b-01fd-e14b5c84ac7b'::uuid, 'TvRage', 114962)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67f77825-f51d-5c3b-01fd-e14b5c84ac7b'::uuid, 'trakt', 140444)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67f77825-f51d-5c3b-01fd-e14b5c84ac7b'::uuid, 'TmdbCollection', 124262)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34536 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67f77825-f51d-5c3b-01fd-e14b5c84ac7b'::uuid;

-- Query #34537 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '67f77825-f51d-5c3b-01fd-e14b5c84ac7b'::uuid;

-- Query #34538 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['67f77825-f51d-5c3b-01fd-e14b5c84ac7b'::uuid]);

-- Query #34539 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '67f77825-f51d-5c3b-01fd-e14b5c84ac7b'::uuid;

-- Query #34540 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34541 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '691ba34f-46e0-1250-e13f-8c684016c576'::uuid;

-- Query #34542 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['691ba34f-46e0-1250-e13f-8c684016c576'::uuid]);

-- Query #34543 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '691ba34f-46e0-1250-e13f-8c684016c576'::uuid;

-- Query #34544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('691ba34f-46e0-1250-e13f-8c684016c576'::uuid, 'TvRage', 114955)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('691ba34f-46e0-1250-e13f-8c684016c576'::uuid, 'Imdb', 'tt0647106')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('691ba34f-46e0-1250-e13f-8c684016c576'::uuid, 'Tmdb', 124298)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('691ba34f-46e0-1250-e13f-8c684016c576'::uuid, 'trakt', 140436)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('691ba34f-46e0-1250-e13f-8c684016c576'::uuid, 'TvMaze', 67134)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('691ba34f-46e0-1250-e13f-8c684016c576'::uuid, 'Tvdb', 228989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('691ba34f-46e0-1250-e13f-8c684016c576'::uuid, 'TmdbCollection', 124298)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34551 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '691ba34f-46e0-1250-e13f-8c684016c576'::uuid;

-- Query #34552 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '691ba34f-46e0-1250-e13f-8c684016c576'::uuid;

-- Query #34553 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['691ba34f-46e0-1250-e13f-8c684016c576'::uuid]);

-- Query #34554 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '691ba34f-46e0-1250-e13f-8c684016c576'::uuid;

-- Query #34555 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34556 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1034cff0-4b0c-f0c8-b8ba-5a863dd00422'::uuid;

-- Query #34557 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1034cff0-4b0c-f0c8-b8ba-5a863dd00422'::uuid]);

-- Query #34558 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1034cff0-4b0c-f0c8-b8ba-5a863dd00422'::uuid;

-- Query #34559 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1034cff0-4b0c-f0c8-b8ba-5a863dd00422'::uuid, 'TmdbCollection', 123983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1034cff0-4b0c-f0c8-b8ba-5a863dd00422'::uuid, 'Imdb', 'tt0647107')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1034cff0-4b0c-f0c8-b8ba-5a863dd00422'::uuid, 'Tmdb', 123983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1034cff0-4b0c-f0c8-b8ba-5a863dd00422'::uuid, 'TvMaze', 67123)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34563 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1034cff0-4b0c-f0c8-b8ba-5a863dd00422'::uuid, 'Tvdb', 3648301)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1034cff0-4b0c-f0c8-b8ba-5a863dd00422'::uuid, 'TvRage', 114944)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1034cff0-4b0c-f0c8-b8ba-5a863dd00422'::uuid, 'trakt', 140425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34566 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1034cff0-4b0c-f0c8-b8ba-5a863dd00422'::uuid;

-- Query #34567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1034cff0-4b0c-f0c8-b8ba-5a863dd00422'::uuid;

-- Query #34568 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1034cff0-4b0c-f0c8-b8ba-5a863dd00422'::uuid]);

-- Query #34569 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1034cff0-4b0c-f0c8-b8ba-5a863dd00422'::uuid;

-- Query #34570 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34571 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0fa882f3-2e03-818f-1aa3-538618f38fc8'::uuid;

-- Query #34572 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0fa882f3-2e03-818f-1aa3-538618f38fc8'::uuid]);

-- Query #34573 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0fa882f3-2e03-818f-1aa3-538618f38fc8'::uuid;

-- Query #34574 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fa882f3-2e03-818f-1aa3-538618f38fc8'::uuid, 'TvMaze', 67144)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34575 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fa882f3-2e03-818f-1aa3-538618f38fc8'::uuid, 'Tvdb', 229000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34576 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0fa882f3-2e03-818f-1aa3-538618f38fc8'::uuid;

-- Query #34577 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0fa882f3-2e03-818f-1aa3-538618f38fc8'::uuid;

-- Query #34578 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+drug crime', '6+miami, florida', '6+police detective', '6+police procedural', '6+undercover agent']);

-- Query #34579 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0fa882f3-2e03-818f-1aa3-538618f38fc8'::uuid]);

-- Query #34580 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0fa882f3-2e03-818f-1aa3-538618f38fc8'::uuid;

-- Query #34581 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34582 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7491aef2-e721-51db-c72e-6621c5d9e7fa'::uuid;

-- Query #34583 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7491aef2-e721-51db-c72e-6621c5d9e7fa'::uuid]);

-- Query #34584 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7491aef2-e721-51db-c72e-6621c5d9e7fa'::uuid;

-- Query #34585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7491aef2-e721-51db-c72e-6621c5d9e7fa'::uuid, 'Imdb', 'tt0647033')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34586 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7491aef2-e721-51db-c72e-6621c5d9e7fa'::uuid, 'Tmdb', 124055)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34587 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7491aef2-e721-51db-c72e-6621c5d9e7fa'::uuid, 'TvMaze', 67130)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7491aef2-e721-51db-c72e-6621c5d9e7fa'::uuid, 'Tvdb', 228985)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7491aef2-e721-51db-c72e-6621c5d9e7fa'::uuid, 'TvRage', 114950)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7491aef2-e721-51db-c72e-6621c5d9e7fa'::uuid, 'trakt', 140432)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7491aef2-e721-51db-c72e-6621c5d9e7fa'::uuid, 'TmdbCollection', 124055)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7491aef2-e721-51db-c72e-6621c5d9e7fa'::uuid;

-- Query #34593 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7491aef2-e721-51db-c72e-6621c5d9e7fa'::uuid;

-- Query #34594 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7491aef2-e721-51db-c72e-6621c5d9e7fa'::uuid]);

-- Query #34595 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7491aef2-e721-51db-c72e-6621c5d9e7fa'::uuid;

-- Query #34596 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34597 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4b77e22-2435-b853-66ea-a4fd25c36623'::uuid;

-- Query #34598 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c4b77e22-2435-b853-66ea-a4fd25c36623'::uuid]);

-- Query #34599 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c4b77e22-2435-b853-66ea-a4fd25c36623'::uuid;

-- Query #34600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4b77e22-2435-b853-66ea-a4fd25c36623'::uuid, 'TvRage', 114965)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4b77e22-2435-b853-66ea-a4fd25c36623'::uuid, 'Imdb', 'tt0647133')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4b77e22-2435-b853-66ea-a4fd25c36623'::uuid, 'Tmdb', 124292)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34603 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4b77e22-2435-b853-66ea-a4fd25c36623'::uuid, 'trakt', 140446)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4b77e22-2435-b853-66ea-a4fd25c36623'::uuid, 'TvMaze', 67144)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34605 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4b77e22-2435-b853-66ea-a4fd25c36623'::uuid, 'Tvdb', 228999)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34606 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4b77e22-2435-b853-66ea-a4fd25c36623'::uuid, 'TmdbCollection', 124292)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34607 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4b77e22-2435-b853-66ea-a4fd25c36623'::uuid;

-- Query #34608 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c4b77e22-2435-b853-66ea-a4fd25c36623'::uuid;

-- Query #34609 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c4b77e22-2435-b853-66ea-a4fd25c36623'::uuid]);

-- Query #34610 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c4b77e22-2435-b853-66ea-a4fd25c36623'::uuid;

-- Query #34611 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34612 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d4d21d3-8186-6171-779c-af0f8f60d7ba'::uuid;

-- Query #34613 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9d4d21d3-8186-6171-779c-af0f8f60d7ba'::uuid]);

-- Query #34614 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9d4d21d3-8186-6171-779c-af0f8f60d7ba'::uuid;

-- Query #34615 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d4d21d3-8186-6171-779c-af0f8f60d7ba'::uuid, 'Imdb', 'tt0647138')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34616 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d4d21d3-8186-6171-779c-af0f8f60d7ba'::uuid, 'Tmdb', 124023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34617 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d4d21d3-8186-6171-779c-af0f8f60d7ba'::uuid, 'TvMaze', 67125)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d4d21d3-8186-6171-779c-af0f8f60d7ba'::uuid, 'Tvdb', 228980)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d4d21d3-8186-6171-779c-af0f8f60d7ba'::uuid, 'TvRage', 114945)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34620 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d4d21d3-8186-6171-779c-af0f8f60d7ba'::uuid, 'trakt', 140427)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34621 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d4d21d3-8186-6171-779c-af0f8f60d7ba'::uuid, 'TmdbCollection', 124023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34622 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d4d21d3-8186-6171-779c-af0f8f60d7ba'::uuid;

-- Query #34623 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9d4d21d3-8186-6171-779c-af0f8f60d7ba'::uuid;

-- Query #34624 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9d4d21d3-8186-6171-779c-af0f8f60d7ba'::uuid]);

-- Query #34625 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9d4d21d3-8186-6171-779c-af0f8f60d7ba'::uuid;

-- Query #34626 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34627 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '002bde0a-318b-7a84-ee5a-cf1eeb3d025e'::uuid;

-- Query #34628 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['002bde0a-318b-7a84-ee5a-cf1eeb3d025e'::uuid]);

-- Query #34629 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '002bde0a-318b-7a84-ee5a-cf1eeb3d025e'::uuid;

-- Query #34630 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('002bde0a-318b-7a84-ee5a-cf1eeb3d025e'::uuid, 'Imdb', 'tt0647141')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34631 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('002bde0a-318b-7a84-ee5a-cf1eeb3d025e'::uuid, 'Tmdb', 124162)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34632 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('002bde0a-318b-7a84-ee5a-cf1eeb3d025e'::uuid, 'TvMaze', 67136)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34633 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('002bde0a-318b-7a84-ee5a-cf1eeb3d025e'::uuid, 'Tvdb', 228991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('002bde0a-318b-7a84-ee5a-cf1eeb3d025e'::uuid, 'TvRage', 114956)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34635 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('002bde0a-318b-7a84-ee5a-cf1eeb3d025e'::uuid, 'trakt', 140438)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34636 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('002bde0a-318b-7a84-ee5a-cf1eeb3d025e'::uuid, 'TmdbCollection', 124162)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34637 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '002bde0a-318b-7a84-ee5a-cf1eeb3d025e'::uuid;

-- Query #34638 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '002bde0a-318b-7a84-ee5a-cf1eeb3d025e'::uuid;

-- Query #34639 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['002bde0a-318b-7a84-ee5a-cf1eeb3d025e'::uuid]);

-- Query #34640 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '002bde0a-318b-7a84-ee5a-cf1eeb3d025e'::uuid;

-- Query #34641 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2455084e-7db1-5156-ca61-d890839ddb46'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34642 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fa79005f-7093-17eb-86dd-1c33220d7ae4'::uuid;

-- Query #34643 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa79005f-7093-17eb-86dd-1c33220d7ae4'::uuid]);

-- Query #34644 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fa79005f-7093-17eb-86dd-1c33220d7ae4'::uuid;

-- Query #34645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa79005f-7093-17eb-86dd-1c33220d7ae4'::uuid, 'Imdb', 'tt0647117')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34646 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa79005f-7093-17eb-86dd-1c33220d7ae4'::uuid, 'Tmdb', 123912)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa79005f-7093-17eb-86dd-1c33220d7ae4'::uuid, 'TvMaze', 67161)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34648 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa79005f-7093-17eb-86dd-1c33220d7ae4'::uuid, 'Tvdb', 229017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34649 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa79005f-7093-17eb-86dd-1c33220d7ae4'::uuid, 'TvRage', 114983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34650 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa79005f-7093-17eb-86dd-1c33220d7ae4'::uuid, 'trakt', 140464)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa79005f-7093-17eb-86dd-1c33220d7ae4'::uuid, 'TmdbCollection', 123912)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34652 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fa79005f-7093-17eb-86dd-1c33220d7ae4'::uuid;

-- Query #34653 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fa79005f-7093-17eb-86dd-1c33220d7ae4'::uuid;

-- Query #34654 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fa79005f-7093-17eb-86dd-1c33220d7ae4'::uuid]);

-- Query #34655 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fa79005f-7093-17eb-86dd-1c33220d7ae4'::uuid;

-- Query #34656 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34657 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a70b4b6e-b253-3240-3f34-6f20f0cd40f8'::uuid;

-- Query #34658 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a70b4b6e-b253-3240-3f34-6f20f0cd40f8'::uuid]);

-- Query #34659 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a70b4b6e-b253-3240-3f34-6f20f0cd40f8'::uuid;

-- Query #34660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a70b4b6e-b253-3240-3f34-6f20f0cd40f8'::uuid, 'Imdb', 'tt0647036')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34661 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a70b4b6e-b253-3240-3f34-6f20f0cd40f8'::uuid, 'Tmdb', 123814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34662 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a70b4b6e-b253-3240-3f34-6f20f0cd40f8'::uuid, 'TvMaze', 67153)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34663 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a70b4b6e-b253-3240-3f34-6f20f0cd40f8'::uuid, 'Tvdb', 229009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34664 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a70b4b6e-b253-3240-3f34-6f20f0cd40f8'::uuid, 'TvRage', 114975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34665 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a70b4b6e-b253-3240-3f34-6f20f0cd40f8'::uuid, 'trakt', 140456)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34666 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a70b4b6e-b253-3240-3f34-6f20f0cd40f8'::uuid, 'TmdbCollection', 123814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34667 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a70b4b6e-b253-3240-3f34-6f20f0cd40f8'::uuid;

-- Query #34668 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a70b4b6e-b253-3240-3f34-6f20f0cd40f8'::uuid;

-- Query #34669 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a70b4b6e-b253-3240-3f34-6f20f0cd40f8'::uuid]);

-- Query #34670 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a70b4b6e-b253-3240-3f34-6f20f0cd40f8'::uuid;

-- Query #34671 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34672 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ef5dd91-3064-db76-d026-53c7a9653062'::uuid;

-- Query #34673 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ef5dd91-3064-db76-d026-53c7a9653062'::uuid]);

-- Query #34674 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4ef5dd91-3064-db76-d026-53c7a9653062'::uuid;

-- Query #34675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ef5dd91-3064-db76-d026-53c7a9653062'::uuid, 'Imdb', 'tt0647048')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ef5dd91-3064-db76-d026-53c7a9653062'::uuid, 'Tmdb', 1307516)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ef5dd91-3064-db76-d026-53c7a9653062'::uuid, 'trakt', 1516393)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34678 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ef5dd91-3064-db76-d026-53c7a9653062'::uuid, 'TvMaze', 67164)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34679 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ef5dd91-3064-db76-d026-53c7a9653062'::uuid, 'Tvdb', 229020)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34680 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ef5dd91-3064-db76-d026-53c7a9653062'::uuid, 'TmdbCollection', 1307516)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34681 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ef5dd91-3064-db76-d026-53c7a9653062'::uuid;

-- Query #34682 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4ef5dd91-3064-db76-d026-53c7a9653062'::uuid;

-- Query #34683 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4ef5dd91-3064-db76-d026-53c7a9653062'::uuid]);

-- Query #34684 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4ef5dd91-3064-db76-d026-53c7a9653062'::uuid;

-- Query #34685 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34686 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c812d97-3d1c-efe8-ac10-f6608b66068b'::uuid;

-- Query #34687 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c812d97-3d1c-efe8-ac10-f6608b66068b'::uuid]);

-- Query #34688 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1c812d97-3d1c-efe8-ac10-f6608b66068b'::uuid;

-- Query #34689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c812d97-3d1c-efe8-ac10-f6608b66068b'::uuid, 'Imdb', 'tt0647054')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c812d97-3d1c-efe8-ac10-f6608b66068b'::uuid, 'Tmdb', 123893)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c812d97-3d1c-efe8-ac10-f6608b66068b'::uuid, 'TvMaze', 67158)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c812d97-3d1c-efe8-ac10-f6608b66068b'::uuid, 'Tvdb', 229014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c812d97-3d1c-efe8-ac10-f6608b66068b'::uuid, 'TvRage', 114980)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34694 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c812d97-3d1c-efe8-ac10-f6608b66068b'::uuid, 'trakt', 140461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34695 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c812d97-3d1c-efe8-ac10-f6608b66068b'::uuid, 'TmdbCollection', 123893)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34696 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c812d97-3d1c-efe8-ac10-f6608b66068b'::uuid;

-- Query #34697 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1c812d97-3d1c-efe8-ac10-f6608b66068b'::uuid;

-- Query #34698 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1c812d97-3d1c-efe8-ac10-f6608b66068b'::uuid]);

-- Query #34699 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1c812d97-3d1c-efe8-ac10-f6608b66068b'::uuid;

-- Query #34700 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34701 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e67698f-9114-1014-f6a4-0ad8b69c7425'::uuid;

-- Query #34702 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6e67698f-9114-1014-f6a4-0ad8b69c7425'::uuid]);

-- Query #34703 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6e67698f-9114-1014-f6a4-0ad8b69c7425'::uuid;

-- Query #34704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e67698f-9114-1014-f6a4-0ad8b69c7425'::uuid, 'Imdb', 'tt0647058')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e67698f-9114-1014-f6a4-0ad8b69c7425'::uuid, 'Tmdb', 123859)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e67698f-9114-1014-f6a4-0ad8b69c7425'::uuid, 'TvMaze', 67156)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e67698f-9114-1014-f6a4-0ad8b69c7425'::uuid, 'Tvdb', 229012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e67698f-9114-1014-f6a4-0ad8b69c7425'::uuid, 'TvRage', 114978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e67698f-9114-1014-f6a4-0ad8b69c7425'::uuid, 'trakt', 140459)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e67698f-9114-1014-f6a4-0ad8b69c7425'::uuid, 'TmdbCollection', 123859)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34711 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e67698f-9114-1014-f6a4-0ad8b69c7425'::uuid;

-- Query #34712 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6e67698f-9114-1014-f6a4-0ad8b69c7425'::uuid;

-- Query #34713 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6e67698f-9114-1014-f6a4-0ad8b69c7425'::uuid]);

-- Query #34714 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6e67698f-9114-1014-f6a4-0ad8b69c7425'::uuid;

-- Query #34715 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34716 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd69e56ce-f796-a077-05fa-4615be45ec27'::uuid;

-- Query #34717 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d69e56ce-f796-a077-05fa-4615be45ec27'::uuid]);

-- Query #34718 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd69e56ce-f796-a077-05fa-4615be45ec27'::uuid;

-- Query #34719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d69e56ce-f796-a077-05fa-4615be45ec27'::uuid, 'TmdbCollection', 123888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d69e56ce-f796-a077-05fa-4615be45ec27'::uuid, 'Imdb', 'tt0647059')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d69e56ce-f796-a077-05fa-4615be45ec27'::uuid, 'Tmdb', 123888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d69e56ce-f796-a077-05fa-4615be45ec27'::uuid, 'TvMaze', 67157)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d69e56ce-f796-a077-05fa-4615be45ec27'::uuid, 'Tvdb', 229013)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d69e56ce-f796-a077-05fa-4615be45ec27'::uuid, 'TvRage', 114979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d69e56ce-f796-a077-05fa-4615be45ec27'::uuid, 'trakt', 140460)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34726 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd69e56ce-f796-a077-05fa-4615be45ec27'::uuid;

-- Query #34727 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd69e56ce-f796-a077-05fa-4615be45ec27'::uuid;

-- Query #34728 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d69e56ce-f796-a077-05fa-4615be45ec27'::uuid]);

-- Query #34729 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd69e56ce-f796-a077-05fa-4615be45ec27'::uuid;

-- Query #34730 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34731 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #34732 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c3653224-697a-6bac-c9ee-91521fbb170d'::uuid;

-- Query #34733 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3653224-697a-6bac-c9ee-91521fbb170d'::uuid]);

-- Query #34734 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c3653224-697a-6bac-c9ee-91521fbb170d'::uuid;

-- Query #34735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3653224-697a-6bac-c9ee-91521fbb170d'::uuid, 'Imdb', 'tt0647111')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3653224-697a-6bac-c9ee-91521fbb170d'::uuid, 'Tmdb', 123900)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3653224-697a-6bac-c9ee-91521fbb170d'::uuid, 'TvMaze', 67159)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3653224-697a-6bac-c9ee-91521fbb170d'::uuid, 'Tvdb', 229015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3653224-697a-6bac-c9ee-91521fbb170d'::uuid, 'TvRage', 114981)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3653224-697a-6bac-c9ee-91521fbb170d'::uuid, 'trakt', 140462)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3653224-697a-6bac-c9ee-91521fbb170d'::uuid, 'TmdbCollection', 123900)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34742 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c3653224-697a-6bac-c9ee-91521fbb170d'::uuid;

-- Query #34743 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c3653224-697a-6bac-c9ee-91521fbb170d'::uuid;

-- Query #34744 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c3653224-697a-6bac-c9ee-91521fbb170d'::uuid]);

-- Query #34745 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c3653224-697a-6bac-c9ee-91521fbb170d'::uuid;

-- Query #34746 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34747 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '677b4d18-6282-a5a6-d534-fd4c9b5a886e'::uuid;

-- Query #34748 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['677b4d18-6282-a5a6-d534-fd4c9b5a886e'::uuid]);

-- Query #34749 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '677b4d18-6282-a5a6-d534-fd4c9b5a886e'::uuid;

-- Query #34750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('677b4d18-6282-a5a6-d534-fd4c9b5a886e'::uuid, 'Imdb', 'tt0647062')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('677b4d18-6282-a5a6-d534-fd4c9b5a886e'::uuid, 'Tmdb', 123971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('677b4d18-6282-a5a6-d534-fd4c9b5a886e'::uuid, 'TvMaze', 67167)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34753 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('677b4d18-6282-a5a6-d534-fd4c9b5a886e'::uuid, 'Tvdb', 229023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('677b4d18-6282-a5a6-d534-fd4c9b5a886e'::uuid, 'TvRage', 114989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('677b4d18-6282-a5a6-d534-fd4c9b5a886e'::uuid, 'trakt', 140469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('677b4d18-6282-a5a6-d534-fd4c9b5a886e'::uuid, 'TmdbCollection', 123971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '677b4d18-6282-a5a6-d534-fd4c9b5a886e'::uuid;

-- Query #34758 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '677b4d18-6282-a5a6-d534-fd4c9b5a886e'::uuid;

-- Query #34759 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['677b4d18-6282-a5a6-d534-fd4c9b5a886e'::uuid]);

-- Query #34760 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '677b4d18-6282-a5a6-d534-fd4c9b5a886e'::uuid;

-- Query #34761 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34762 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc78d94d-951d-3f06-ef32-323eb47c9b5e'::uuid;

-- Query #34763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fc78d94d-951d-3f06-ef32-323eb47c9b5e'::uuid]);

-- Query #34764 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fc78d94d-951d-3f06-ef32-323eb47c9b5e'::uuid;

-- Query #34765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc78d94d-951d-3f06-ef32-323eb47c9b5e'::uuid, 'Imdb', 'tt0647064')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc78d94d-951d-3f06-ef32-323eb47c9b5e'::uuid, 'Tmdb', 123829)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc78d94d-951d-3f06-ef32-323eb47c9b5e'::uuid, 'TvMaze', 67155)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc78d94d-951d-3f06-ef32-323eb47c9b5e'::uuid, 'Tvdb', 229011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc78d94d-951d-3f06-ef32-323eb47c9b5e'::uuid, 'TvRage', 114977)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc78d94d-951d-3f06-ef32-323eb47c9b5e'::uuid, 'trakt', 140458)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34771 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fc78d94d-951d-3f06-ef32-323eb47c9b5e'::uuid, 'TmdbCollection', 123829)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34772 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc78d94d-951d-3f06-ef32-323eb47c9b5e'::uuid;

-- Query #34773 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fc78d94d-951d-3f06-ef32-323eb47c9b5e'::uuid;

-- Query #34774 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fc78d94d-951d-3f06-ef32-323eb47c9b5e'::uuid]);

-- Query #34775 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fc78d94d-951d-3f06-ef32-323eb47c9b5e'::uuid;

-- Query #34776 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34777 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c90a8ef-547e-d708-f074-db037142d702'::uuid;

-- Query #34778 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6c90a8ef-547e-d708-f074-db037142d702'::uuid]);

-- Query #34779 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6c90a8ef-547e-d708-f074-db037142d702'::uuid;

-- Query #34780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c90a8ef-547e-d708-f074-db037142d702'::uuid, 'Imdb', 'tt0647123')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c90a8ef-547e-d708-f074-db037142d702'::uuid, 'Tmdb', 123792)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c90a8ef-547e-d708-f074-db037142d702'::uuid, 'TvMaze', 67149)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c90a8ef-547e-d708-f074-db037142d702'::uuid, 'Tvdb', 229005)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c90a8ef-547e-d708-f074-db037142d702'::uuid, 'TvRage', 114971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c90a8ef-547e-d708-f074-db037142d702'::uuid, 'trakt', 140452)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c90a8ef-547e-d708-f074-db037142d702'::uuid, 'TmdbCollection', 123792)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34787 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c90a8ef-547e-d708-f074-db037142d702'::uuid;

-- Query #34788 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6c90a8ef-547e-d708-f074-db037142d702'::uuid;

-- Query #34789 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6c90a8ef-547e-d708-f074-db037142d702'::uuid]);

-- Query #34790 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6c90a8ef-547e-d708-f074-db037142d702'::uuid;

-- Query #34791 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34792 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca52662e-e3df-2500-36b2-0d7a44672572'::uuid;

-- Query #34793 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ca52662e-e3df-2500-36b2-0d7a44672572'::uuid]);

-- Query #34794 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ca52662e-e3df-2500-36b2-0d7a44672572'::uuid;

-- Query #34795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca52662e-e3df-2500-36b2-0d7a44672572'::uuid, 'TmdbCollection', 123978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca52662e-e3df-2500-36b2-0d7a44672572'::uuid, 'Imdb', 'tt0647078')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca52662e-e3df-2500-36b2-0d7a44672572'::uuid, 'Tmdb', 123978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca52662e-e3df-2500-36b2-0d7a44672572'::uuid, 'TvMaze', 67168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34799 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca52662e-e3df-2500-36b2-0d7a44672572'::uuid, 'Tvdb', 229024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34800 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca52662e-e3df-2500-36b2-0d7a44672572'::uuid, 'TvRage', 114990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca52662e-e3df-2500-36b2-0d7a44672572'::uuid, 'trakt', 1516394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34802 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca52662e-e3df-2500-36b2-0d7a44672572'::uuid;

-- Query #34803 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ca52662e-e3df-2500-36b2-0d7a44672572'::uuid;

-- Query #34804 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ca52662e-e3df-2500-36b2-0d7a44672572'::uuid]);

-- Query #34805 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ca52662e-e3df-2500-36b2-0d7a44672572'::uuid;

-- Query #34806 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34807 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf43b69b-219c-8cb2-d6c9-bfbae9f62b77'::uuid;

-- Query #34808 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf43b69b-219c-8cb2-d6c9-bfbae9f62b77'::uuid]);

-- Query #34809 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cf43b69b-219c-8cb2-d6c9-bfbae9f62b77'::uuid;

-- Query #34810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf43b69b-219c-8cb2-d6c9-bfbae9f62b77'::uuid, 'Imdb', 'tt0647084')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34811 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf43b69b-219c-8cb2-d6c9-bfbae9f62b77'::uuid, 'Tmdb', 123758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34812 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf43b69b-219c-8cb2-d6c9-bfbae9f62b77'::uuid, 'TvMaze', 67147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34813 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf43b69b-219c-8cb2-d6c9-bfbae9f62b77'::uuid, 'Tvdb', 229003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34814 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf43b69b-219c-8cb2-d6c9-bfbae9f62b77'::uuid, 'TvRage', 114969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34815 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf43b69b-219c-8cb2-d6c9-bfbae9f62b77'::uuid, 'trakt', 140450)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34816 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf43b69b-219c-8cb2-d6c9-bfbae9f62b77'::uuid, 'TmdbCollection', 123758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34817 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf43b69b-219c-8cb2-d6c9-bfbae9f62b77'::uuid;

-- Query #34818 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cf43b69b-219c-8cb2-d6c9-bfbae9f62b77'::uuid;

-- Query #34819 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cf43b69b-219c-8cb2-d6c9-bfbae9f62b77'::uuid]);

-- Query #34820 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cf43b69b-219c-8cb2-d6c9-bfbae9f62b77'::uuid;

-- Query #34821 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34822 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '80d288b0-08d6-6d9f-2b05-5cfa4aafbed4'::uuid;

-- Query #34823 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80d288b0-08d6-6d9f-2b05-5cfa4aafbed4'::uuid]);

-- Query #34824 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '80d288b0-08d6-6d9f-2b05-5cfa4aafbed4'::uuid;

-- Query #34825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80d288b0-08d6-6d9f-2b05-5cfa4aafbed4'::uuid, 'Imdb', 'tt0647085')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80d288b0-08d6-6d9f-2b05-5cfa4aafbed4'::uuid, 'Tmdb', 123958)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80d288b0-08d6-6d9f-2b05-5cfa4aafbed4'::uuid, 'TvMaze', 67165)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80d288b0-08d6-6d9f-2b05-5cfa4aafbed4'::uuid, 'Tvdb', 229021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34829 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80d288b0-08d6-6d9f-2b05-5cfa4aafbed4'::uuid, 'TvRage', 114987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80d288b0-08d6-6d9f-2b05-5cfa4aafbed4'::uuid, 'trakt', 140467)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('80d288b0-08d6-6d9f-2b05-5cfa4aafbed4'::uuid, 'TmdbCollection', 123958)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34832 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '80d288b0-08d6-6d9f-2b05-5cfa4aafbed4'::uuid;

-- Query #34833 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '80d288b0-08d6-6d9f-2b05-5cfa4aafbed4'::uuid;

-- Query #34834 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['80d288b0-08d6-6d9f-2b05-5cfa4aafbed4'::uuid]);

-- Query #34835 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '80d288b0-08d6-6d9f-2b05-5cfa4aafbed4'::uuid;

-- Query #34836 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34837 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'edbb4f50-d657-5f63-7028-f529695e0f6a'::uuid;

-- Query #34838 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['edbb4f50-d657-5f63-7028-f529695e0f6a'::uuid]);

-- Query #34839 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'edbb4f50-d657-5f63-7028-f529695e0f6a'::uuid;

-- Query #34840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('edbb4f50-d657-5f63-7028-f529695e0f6a'::uuid, 'Imdb', 'tt0647087')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34841 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('edbb4f50-d657-5f63-7028-f529695e0f6a'::uuid, 'Tmdb', 123917)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34842 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('edbb4f50-d657-5f63-7028-f529695e0f6a'::uuid, 'TvMaze', 67162)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('edbb4f50-d657-5f63-7028-f529695e0f6a'::uuid, 'Tvdb', 229018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('edbb4f50-d657-5f63-7028-f529695e0f6a'::uuid, 'TvRage', 114984)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34845 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('edbb4f50-d657-5f63-7028-f529695e0f6a'::uuid, 'trakt', 140465)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('edbb4f50-d657-5f63-7028-f529695e0f6a'::uuid, 'TmdbCollection', 123917)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34847 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'edbb4f50-d657-5f63-7028-f529695e0f6a'::uuid;

-- Query #34848 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'edbb4f50-d657-5f63-7028-f529695e0f6a'::uuid;

-- Query #34849 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['edbb4f50-d657-5f63-7028-f529695e0f6a'::uuid]);

-- Query #34850 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'edbb4f50-d657-5f63-7028-f529695e0f6a'::uuid;

-- Query #34851 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34852 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '51e3814c-1206-f0bd-9c49-578cd61b66a5'::uuid;

-- Query #34853 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['51e3814c-1206-f0bd-9c49-578cd61b66a5'::uuid]);

-- Query #34854 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '51e3814c-1206-f0bd-9c49-578cd61b66a5'::uuid;

-- Query #34855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51e3814c-1206-f0bd-9c49-578cd61b66a5'::uuid, 'Imdb', 'tt0647108')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51e3814c-1206-f0bd-9c49-578cd61b66a5'::uuid, 'Tmdb', 123920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51e3814c-1206-f0bd-9c49-578cd61b66a5'::uuid, 'TvMaze', 67163)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51e3814c-1206-f0bd-9c49-578cd61b66a5'::uuid, 'Tvdb', 229019)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51e3814c-1206-f0bd-9c49-578cd61b66a5'::uuid, 'TvRage', 114985)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51e3814c-1206-f0bd-9c49-578cd61b66a5'::uuid, 'trakt', 140466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('51e3814c-1206-f0bd-9c49-578cd61b66a5'::uuid, 'TmdbCollection', 123920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34862 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '51e3814c-1206-f0bd-9c49-578cd61b66a5'::uuid;

-- Query #34863 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '51e3814c-1206-f0bd-9c49-578cd61b66a5'::uuid;

-- Query #34864 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['51e3814c-1206-f0bd-9c49-578cd61b66a5'::uuid]);

-- Query #34865 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '51e3814c-1206-f0bd-9c49-578cd61b66a5'::uuid;

-- Query #34866 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34867 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c0f6874-5ac9-6b3b-69c4-f8d2e047ecda'::uuid;

-- Query #34868 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c0f6874-5ac9-6b3b-69c4-f8d2e047ecda'::uuid]);

-- Query #34869 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1c0f6874-5ac9-6b3b-69c4-f8d2e047ecda'::uuid;

-- Query #34870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c0f6874-5ac9-6b3b-69c4-f8d2e047ecda'::uuid, 'Imdb', 'tt0647112')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34871 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c0f6874-5ac9-6b3b-69c4-f8d2e047ecda'::uuid, 'Tmdb', 123796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34872 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c0f6874-5ac9-6b3b-69c4-f8d2e047ecda'::uuid, 'TvMaze', 67150)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c0f6874-5ac9-6b3b-69c4-f8d2e047ecda'::uuid, 'Tvdb', 229006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34874 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c0f6874-5ac9-6b3b-69c4-f8d2e047ecda'::uuid, 'TvRage', 114972)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34875 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c0f6874-5ac9-6b3b-69c4-f8d2e047ecda'::uuid, 'trakt', 140453)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34876 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c0f6874-5ac9-6b3b-69c4-f8d2e047ecda'::uuid, 'TmdbCollection', 123796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34877 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c0f6874-5ac9-6b3b-69c4-f8d2e047ecda'::uuid;

-- Query #34878 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1c0f6874-5ac9-6b3b-69c4-f8d2e047ecda'::uuid;

-- Query #34879 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1c0f6874-5ac9-6b3b-69c4-f8d2e047ecda'::uuid]);

-- Query #34880 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1c0f6874-5ac9-6b3b-69c4-f8d2e047ecda'::uuid;

-- Query #34881 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34882 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb3b25bc-3232-d497-8b08-d920f70605ef'::uuid;

-- Query #34883 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb3b25bc-3232-d497-8b08-d920f70605ef'::uuid]);

-- Query #34884 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cb3b25bc-3232-d497-8b08-d920f70605ef'::uuid;

-- Query #34885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb3b25bc-3232-d497-8b08-d920f70605ef'::uuid, 'TmdbCollection', 123727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb3b25bc-3232-d497-8b08-d920f70605ef'::uuid, 'Imdb', 'tt0647115')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb3b25bc-3232-d497-8b08-d920f70605ef'::uuid, 'Tmdb', 123727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb3b25bc-3232-d497-8b08-d920f70605ef'::uuid, 'TvMaze', 67146)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb3b25bc-3232-d497-8b08-d920f70605ef'::uuid, 'Tvdb', 229002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb3b25bc-3232-d497-8b08-d920f70605ef'::uuid, 'TvRage', 114968)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb3b25bc-3232-d497-8b08-d920f70605ef'::uuid, 'trakt', 140449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34892 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb3b25bc-3232-d497-8b08-d920f70605ef'::uuid;

-- Query #34893 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cb3b25bc-3232-d497-8b08-d920f70605ef'::uuid;

-- Query #34894 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cb3b25bc-3232-d497-8b08-d920f70605ef'::uuid]);

-- Query #34895 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cb3b25bc-3232-d497-8b08-d920f70605ef'::uuid;

-- Query #34896 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34897 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a9601f47-e4df-3fd8-adc6-77be98df16f8'::uuid;

-- Query #34898 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9601f47-e4df-3fd8-adc6-77be98df16f8'::uuid]);

-- Query #34899 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a9601f47-e4df-3fd8-adc6-77be98df16f8'::uuid;

-- Query #34900 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9601f47-e4df-3fd8-adc6-77be98df16f8'::uuid, 'TmdbCollection', 123820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34901 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9601f47-e4df-3fd8-adc6-77be98df16f8'::uuid, 'Imdb', 'tt0647116')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9601f47-e4df-3fd8-adc6-77be98df16f8'::uuid, 'Tmdb', 123820)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9601f47-e4df-3fd8-adc6-77be98df16f8'::uuid, 'TvMaze', 67154)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34904 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9601f47-e4df-3fd8-adc6-77be98df16f8'::uuid, 'Tvdb', 229010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34905 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9601f47-e4df-3fd8-adc6-77be98df16f8'::uuid, 'TvRage', 114976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9601f47-e4df-3fd8-adc6-77be98df16f8'::uuid, 'trakt', 140457)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34907 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a9601f47-e4df-3fd8-adc6-77be98df16f8'::uuid;

-- Query #34908 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a9601f47-e4df-3fd8-adc6-77be98df16f8'::uuid;

-- Query #34909 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a9601f47-e4df-3fd8-adc6-77be98df16f8'::uuid]);

-- Query #34910 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a9601f47-e4df-3fd8-adc6-77be98df16f8'::uuid;

-- Query #34911 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34912 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0fd8728e-322e-5608-3453-0a9f3fec44ea'::uuid;

-- Query #34913 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0fd8728e-322e-5608-3453-0a9f3fec44ea'::uuid]);

-- Query #34914 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0fd8728e-322e-5608-3453-0a9f3fec44ea'::uuid;

-- Query #34915 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fd8728e-322e-5608-3453-0a9f3fec44ea'::uuid, 'Imdb', 'tt0647130')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34916 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fd8728e-322e-5608-3453-0a9f3fec44ea'::uuid, 'Tmdb', 123908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34917 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fd8728e-322e-5608-3453-0a9f3fec44ea'::uuid, 'TvMaze', 67160)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34918 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fd8728e-322e-5608-3453-0a9f3fec44ea'::uuid, 'Tvdb', 229016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34919 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fd8728e-322e-5608-3453-0a9f3fec44ea'::uuid, 'TvRage', 114982)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fd8728e-322e-5608-3453-0a9f3fec44ea'::uuid, 'trakt', 140463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fd8728e-322e-5608-3453-0a9f3fec44ea'::uuid, 'TmdbCollection', 123908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34922 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0fd8728e-322e-5608-3453-0a9f3fec44ea'::uuid;

-- Query #34923 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0fd8728e-322e-5608-3453-0a9f3fec44ea'::uuid;

-- Query #34924 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0fd8728e-322e-5608-3453-0a9f3fec44ea'::uuid]);

-- Query #34925 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0fd8728e-322e-5608-3453-0a9f3fec44ea'::uuid;

-- Query #34926 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34927 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '906a461a-2096-7cd8-5c6a-d370ee458b36'::uuid;

-- Query #34928 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['906a461a-2096-7cd8-5c6a-d370ee458b36'::uuid]);

-- Query #34929 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '906a461a-2096-7cd8-5c6a-d370ee458b36'::uuid;

-- Query #34930 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('906a461a-2096-7cd8-5c6a-d370ee458b36'::uuid, 'TmdbCollection', 123802)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34931 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('906a461a-2096-7cd8-5c6a-d370ee458b36'::uuid, 'Imdb', 'tt0647060')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34932 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('906a461a-2096-7cd8-5c6a-d370ee458b36'::uuid, 'Tmdb', 123802)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34933 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('906a461a-2096-7cd8-5c6a-d370ee458b36'::uuid, 'TvMaze', 67151)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34934 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('906a461a-2096-7cd8-5c6a-d370ee458b36'::uuid, 'Tvdb', 229007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('906a461a-2096-7cd8-5c6a-d370ee458b36'::uuid, 'TvRage', 114973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('906a461a-2096-7cd8-5c6a-d370ee458b36'::uuid, 'trakt', 140454)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34937 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '906a461a-2096-7cd8-5c6a-d370ee458b36'::uuid;

-- Query #34938 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '906a461a-2096-7cd8-5c6a-d370ee458b36'::uuid;

-- Query #34939 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['906a461a-2096-7cd8-5c6a-d370ee458b36'::uuid]);

-- Query #34940 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '906a461a-2096-7cd8-5c6a-d370ee458b36'::uuid;

-- Query #34941 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34942 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '543a7467-6f57-88f3-9318-812c4525665e'::uuid;

-- Query #34943 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['543a7467-6f57-88f3-9318-812c4525665e'::uuid]);

-- Query #34944 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '543a7467-6f57-88f3-9318-812c4525665e'::uuid;

-- Query #34945 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('543a7467-6f57-88f3-9318-812c4525665e'::uuid, 'Imdb', 'tt0647135')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34946 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('543a7467-6f57-88f3-9318-812c4525665e'::uuid, 'Tmdb', 123964)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('543a7467-6f57-88f3-9318-812c4525665e'::uuid, 'TvMaze', 67166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('543a7467-6f57-88f3-9318-812c4525665e'::uuid, 'Tvdb', 229022)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34949 | logged_duration_ms=3 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('543a7467-6f57-88f3-9318-812c4525665e'::uuid, 'TvRage', 114988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('543a7467-6f57-88f3-9318-812c4525665e'::uuid, 'trakt', 140468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('543a7467-6f57-88f3-9318-812c4525665e'::uuid, 'TmdbCollection', 123964)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34952 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '543a7467-6f57-88f3-9318-812c4525665e'::uuid;

-- Query #34953 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '543a7467-6f57-88f3-9318-812c4525665e'::uuid;

-- Query #34954 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['543a7467-6f57-88f3-9318-812c4525665e'::uuid]);

-- Query #34955 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '543a7467-6f57-88f3-9318-812c4525665e'::uuid;

-- Query #34956 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34957 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3468be09-7109-b7d7-b050-017cd41067f1'::uuid;

-- Query #34958 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3468be09-7109-b7d7-b050-017cd41067f1'::uuid]);

-- Query #34959 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3468be09-7109-b7d7-b050-017cd41067f1'::uuid;

-- Query #34960 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3468be09-7109-b7d7-b050-017cd41067f1'::uuid, 'Imdb', 'tt0647137')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34961 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3468be09-7109-b7d7-b050-017cd41067f1'::uuid, 'Tmdb', 123764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3468be09-7109-b7d7-b050-017cd41067f1'::uuid, 'TvMaze', 67148)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3468be09-7109-b7d7-b050-017cd41067f1'::uuid, 'Tvdb', 229004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34964 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3468be09-7109-b7d7-b050-017cd41067f1'::uuid, 'TvRage', 114970)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3468be09-7109-b7d7-b050-017cd41067f1'::uuid, 'trakt', 140451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3468be09-7109-b7d7-b050-017cd41067f1'::uuid, 'TmdbCollection', 123764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34967 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3468be09-7109-b7d7-b050-017cd41067f1'::uuid;

-- Query #34968 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3468be09-7109-b7d7-b050-017cd41067f1'::uuid;

-- Query #34969 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3468be09-7109-b7d7-b050-017cd41067f1'::uuid]);

-- Query #34970 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3468be09-7109-b7d7-b050-017cd41067f1'::uuid;

-- Query #34971 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34972 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a31c3082-d635-82b6-b999-9655890b9ee4'::uuid;

-- Query #34973 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a31c3082-d635-82b6-b999-9655890b9ee4'::uuid]);

-- Query #34974 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a31c3082-d635-82b6-b999-9655890b9ee4'::uuid;

-- Query #34975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a31c3082-d635-82b6-b999-9655890b9ee4'::uuid, 'Imdb', 'tt0647139')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a31c3082-d635-82b6-b999-9655890b9ee4'::uuid, 'Tmdb', 123718)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a31c3082-d635-82b6-b999-9655890b9ee4'::uuid, 'TvMaze', 67145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a31c3082-d635-82b6-b999-9655890b9ee4'::uuid, 'Tvdb', 229001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a31c3082-d635-82b6-b999-9655890b9ee4'::uuid, 'TvRage', 114966)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a31c3082-d635-82b6-b999-9655890b9ee4'::uuid, 'trakt', 140448)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a31c3082-d635-82b6-b999-9655890b9ee4'::uuid, 'TmdbCollection', 123718)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a31c3082-d635-82b6-b999-9655890b9ee4'::uuid;

-- Query #34983 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a31c3082-d635-82b6-b999-9655890b9ee4'::uuid;

-- Query #34984 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a31c3082-d635-82b6-b999-9655890b9ee4'::uuid]);

-- Query #34985 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a31c3082-d635-82b6-b999-9655890b9ee4'::uuid;

-- Query #34986 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efa73726-307e-48ca-4ec5-942867be9093'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #34987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52ab23dd-0139-403e-5b88-2248646a6d98'::uuid;

-- Query #34988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['52ab23dd-0139-403e-5b88-2248646a6d98'::uuid]);

-- Query #34989 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '52ab23dd-0139-403e-5b88-2248646a6d98'::uuid;

-- Query #34990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52ab23dd-0139-403e-5b88-2248646a6d98'::uuid, 'TvRage', 114992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52ab23dd-0139-403e-5b88-2248646a6d98'::uuid, 'trakt', 140471)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52ab23dd-0139-403e-5b88-2248646a6d98'::uuid, 'TmdbCollection', 124663)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52ab23dd-0139-403e-5b88-2248646a6d98'::uuid, 'Imdb', 'tt0647034')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52ab23dd-0139-403e-5b88-2248646a6d98'::uuid, 'Tmdb', 124663)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52ab23dd-0139-403e-5b88-2248646a6d98'::uuid, 'TvMaze', 67170)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52ab23dd-0139-403e-5b88-2248646a6d98'::uuid, 'Tvdb', 229026)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #34997 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52ab23dd-0139-403e-5b88-2248646a6d98'::uuid;

-- Query #34998 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '52ab23dd-0139-403e-5b88-2248646a6d98'::uuid;

-- Query #34999 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['52ab23dd-0139-403e-5b88-2248646a6d98'::uuid]);

-- Query #35000 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '52ab23dd-0139-403e-5b88-2248646a6d98'::uuid;

-- Query #35001 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35002 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '66d2f030-465e-26b4-901d-beed1a13d5c1'::uuid;

-- Query #35003 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['66d2f030-465e-26b4-901d-beed1a13d5c1'::uuid]);

-- Query #35004 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '66d2f030-465e-26b4-901d-beed1a13d5c1'::uuid;

-- Query #35005 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66d2f030-465e-26b4-901d-beed1a13d5c1'::uuid, 'trakt', 140487)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35006 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66d2f030-465e-26b4-901d-beed1a13d5c1'::uuid, 'TmdbCollection', 124865)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66d2f030-465e-26b4-901d-beed1a13d5c1'::uuid, 'Imdb', 'tt0647039')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66d2f030-465e-26b4-901d-beed1a13d5c1'::uuid, 'Tmdb', 124865)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66d2f030-465e-26b4-901d-beed1a13d5c1'::uuid, 'TvMaze', 67186)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66d2f030-465e-26b4-901d-beed1a13d5c1'::uuid, 'Tvdb', 229042)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66d2f030-465e-26b4-901d-beed1a13d5c1'::uuid, 'TvRage', 115008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35012 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '66d2f030-465e-26b4-901d-beed1a13d5c1'::uuid;

-- Query #35013 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '66d2f030-465e-26b4-901d-beed1a13d5c1'::uuid;

-- Query #35014 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['66d2f030-465e-26b4-901d-beed1a13d5c1'::uuid]);

-- Query #35015 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '66d2f030-465e-26b4-901d-beed1a13d5c1'::uuid;

-- Query #35016 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35017 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a742ecba-befa-f2fe-d03b-064dc02db057'::uuid;

-- Query #35018 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a742ecba-befa-f2fe-d03b-064dc02db057'::uuid]);

-- Query #35019 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a742ecba-befa-f2fe-d03b-064dc02db057'::uuid;

-- Query #35020 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a742ecba-befa-f2fe-d03b-064dc02db057'::uuid, 'Imdb', 'tt0647040')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35021 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a742ecba-befa-f2fe-d03b-064dc02db057'::uuid, 'Tmdb', 124844)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35022 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a742ecba-befa-f2fe-d03b-064dc02db057'::uuid, 'TvMaze', 67182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35023 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a742ecba-befa-f2fe-d03b-064dc02db057'::uuid, 'Tvdb', 229038)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a742ecba-befa-f2fe-d03b-064dc02db057'::uuid, 'TvRage', 115004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a742ecba-befa-f2fe-d03b-064dc02db057'::uuid, 'trakt', 140483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a742ecba-befa-f2fe-d03b-064dc02db057'::uuid, 'TmdbCollection', 124844)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35027 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a742ecba-befa-f2fe-d03b-064dc02db057'::uuid;

-- Query #35028 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a742ecba-befa-f2fe-d03b-064dc02db057'::uuid;

-- Query #35029 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a742ecba-befa-f2fe-d03b-064dc02db057'::uuid]);

-- Query #35030 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a742ecba-befa-f2fe-d03b-064dc02db057'::uuid;

-- Query #35031 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35032 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96b9f628-06ca-8719-a1b4-b5a74be0a57b'::uuid;

-- Query #35033 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['96b9f628-06ca-8719-a1b4-b5a74be0a57b'::uuid]);

-- Query #35034 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '96b9f628-06ca-8719-a1b4-b5a74be0a57b'::uuid;

-- Query #35035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96b9f628-06ca-8719-a1b4-b5a74be0a57b'::uuid, 'TvRage', 114994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96b9f628-06ca-8719-a1b4-b5a74be0a57b'::uuid, 'trakt', 140473)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96b9f628-06ca-8719-a1b4-b5a74be0a57b'::uuid, 'TmdbCollection', 124701)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96b9f628-06ca-8719-a1b4-b5a74be0a57b'::uuid, 'Imdb', 'tt0647118')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35039 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96b9f628-06ca-8719-a1b4-b5a74be0a57b'::uuid, 'Tmdb', 124701)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35040 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96b9f628-06ca-8719-a1b4-b5a74be0a57b'::uuid, 'TvMaze', 67172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35041 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96b9f628-06ca-8719-a1b4-b5a74be0a57b'::uuid, 'Tvdb', 229028)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35042 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96b9f628-06ca-8719-a1b4-b5a74be0a57b'::uuid;

-- Query #35043 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '96b9f628-06ca-8719-a1b4-b5a74be0a57b'::uuid;

-- Query #35044 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['96b9f628-06ca-8719-a1b4-b5a74be0a57b'::uuid]);

-- Query #35045 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '96b9f628-06ca-8719-a1b4-b5a74be0a57b'::uuid;

-- Query #35046 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35047 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6786df79-f654-5b48-1d75-cb964e5d1787'::uuid;

-- Query #35048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6786df79-f654-5b48-1d75-cb964e5d1787'::uuid]);

-- Query #35049 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6786df79-f654-5b48-1d75-cb964e5d1787'::uuid;

-- Query #35050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6786df79-f654-5b48-1d75-cb964e5d1787'::uuid, 'Imdb', 'tt0647042')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6786df79-f654-5b48-1d75-cb964e5d1787'::uuid, 'Tmdb', 124867)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6786df79-f654-5b48-1d75-cb964e5d1787'::uuid, 'TvMaze', 67187)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6786df79-f654-5b48-1d75-cb964e5d1787'::uuid, 'Tvdb', 229043)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35054 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6786df79-f654-5b48-1d75-cb964e5d1787'::uuid, 'TvRage', 115009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35055 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6786df79-f654-5b48-1d75-cb964e5d1787'::uuid, 'trakt', 140488)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35056 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6786df79-f654-5b48-1d75-cb964e5d1787'::uuid, 'TmdbCollection', 124867)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35057 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6786df79-f654-5b48-1d75-cb964e5d1787'::uuid;

-- Query #35058 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6786df79-f654-5b48-1d75-cb964e5d1787'::uuid;

-- Query #35059 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6786df79-f654-5b48-1d75-cb964e5d1787'::uuid]);

-- Query #35060 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6786df79-f654-5b48-1d75-cb964e5d1787'::uuid;

-- Query #35061 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35062 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bdde04f-8d20-dff6-52e8-d19d64f45d07'::uuid;

-- Query #35063 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4bdde04f-8d20-dff6-52e8-d19d64f45d07'::uuid]);

-- Query #35064 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4bdde04f-8d20-dff6-52e8-d19d64f45d07'::uuid;

-- Query #35065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bdde04f-8d20-dff6-52e8-d19d64f45d07'::uuid, 'Tvdb', 229044)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bdde04f-8d20-dff6-52e8-d19d64f45d07'::uuid, 'trakt', 140489)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35067 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bdde04f-8d20-dff6-52e8-d19d64f45d07'::uuid, 'TmdbCollection', 124875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bdde04f-8d20-dff6-52e8-d19d64f45d07'::uuid, 'TvRage', 115010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bdde04f-8d20-dff6-52e8-d19d64f45d07'::uuid, 'Imdb', 'tt0647031')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bdde04f-8d20-dff6-52e8-d19d64f45d07'::uuid, 'Tmdb', 124875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bdde04f-8d20-dff6-52e8-d19d64f45d07'::uuid, 'TvMaze', 67188)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35072 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bdde04f-8d20-dff6-52e8-d19d64f45d07'::uuid;

-- Query #35073 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4bdde04f-8d20-dff6-52e8-d19d64f45d07'::uuid;

-- Query #35074 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4bdde04f-8d20-dff6-52e8-d19d64f45d07'::uuid]);

-- Query #35075 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4bdde04f-8d20-dff6-52e8-d19d64f45d07'::uuid;

-- Query #35076 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35077 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1325d6c6-d10d-0689-2d6b-7833174471b1'::uuid;

-- Query #35078 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1325d6c6-d10d-0689-2d6b-7833174471b1'::uuid]);

-- Query #35079 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1325d6c6-d10d-0689-2d6b-7833174471b1'::uuid;

-- Query #35080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1325d6c6-d10d-0689-2d6b-7833174471b1'::uuid, 'Imdb', 'tt0647051')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35081 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1325d6c6-d10d-0689-2d6b-7833174471b1'::uuid, 'Tmdb', 124707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35082 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1325d6c6-d10d-0689-2d6b-7833174471b1'::uuid, 'TvMaze', 67173)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35083 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1325d6c6-d10d-0689-2d6b-7833174471b1'::uuid, 'Tvdb', 229029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35084 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1325d6c6-d10d-0689-2d6b-7833174471b1'::uuid, 'TvRage', 114995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35085 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1325d6c6-d10d-0689-2d6b-7833174471b1'::uuid, 'trakt', 140474)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35086 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1325d6c6-d10d-0689-2d6b-7833174471b1'::uuid, 'TmdbCollection', 124707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35087 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1325d6c6-d10d-0689-2d6b-7833174471b1'::uuid;

-- Query #35088 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1325d6c6-d10d-0689-2d6b-7833174471b1'::uuid;

-- Query #35089 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1325d6c6-d10d-0689-2d6b-7833174471b1'::uuid]);

-- Query #35090 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1325d6c6-d10d-0689-2d6b-7833174471b1'::uuid;

-- Query #35091 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35092 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48debdc5-0f09-89b5-bc7a-ff70b8492650'::uuid;

-- Query #35093 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48debdc5-0f09-89b5-bc7a-ff70b8492650'::uuid]);

-- Query #35094 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '48debdc5-0f09-89b5-bc7a-ff70b8492650'::uuid;

-- Query #35095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48debdc5-0f09-89b5-bc7a-ff70b8492650'::uuid, 'Imdb', 'tt0647052')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48debdc5-0f09-89b5-bc7a-ff70b8492650'::uuid, 'Tmdb', 124656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35097 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48debdc5-0f09-89b5-bc7a-ff70b8492650'::uuid, 'TvMaze', 67169)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35098 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48debdc5-0f09-89b5-bc7a-ff70b8492650'::uuid, 'Tvdb', 229025)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35099 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48debdc5-0f09-89b5-bc7a-ff70b8492650'::uuid, 'TvRage', 114991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48debdc5-0f09-89b5-bc7a-ff70b8492650'::uuid, 'trakt', 140470)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48debdc5-0f09-89b5-bc7a-ff70b8492650'::uuid, 'TmdbCollection', 124656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35102 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48debdc5-0f09-89b5-bc7a-ff70b8492650'::uuid;

-- Query #35103 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '48debdc5-0f09-89b5-bc7a-ff70b8492650'::uuid;

-- Query #35104 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['48debdc5-0f09-89b5-bc7a-ff70b8492650'::uuid]);

-- Query #35105 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '48debdc5-0f09-89b5-bc7a-ff70b8492650'::uuid;

-- Query #35106 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35107 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99da7395-a8f0-334d-10fd-7f1055652421'::uuid;

-- Query #35108 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99da7395-a8f0-334d-10fd-7f1055652421'::uuid]);

-- Query #35109 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '99da7395-a8f0-334d-10fd-7f1055652421'::uuid;

-- Query #35110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99da7395-a8f0-334d-10fd-7f1055652421'::uuid, 'TmdbCollection', 124812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35111 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99da7395-a8f0-334d-10fd-7f1055652421'::uuid, 'Imdb', 'tt0647120')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35112 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99da7395-a8f0-334d-10fd-7f1055652421'::uuid, 'Tmdb', 124812)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99da7395-a8f0-334d-10fd-7f1055652421'::uuid, 'TvMaze', 67180)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35114 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99da7395-a8f0-334d-10fd-7f1055652421'::uuid, 'Tvdb', 229036)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35115 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99da7395-a8f0-334d-10fd-7f1055652421'::uuid, 'TvRage', 115002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99da7395-a8f0-334d-10fd-7f1055652421'::uuid, 'trakt', 140481)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35117 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99da7395-a8f0-334d-10fd-7f1055652421'::uuid;

-- Query #35118 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '99da7395-a8f0-334d-10fd-7f1055652421'::uuid;

-- Query #35119 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['99da7395-a8f0-334d-10fd-7f1055652421'::uuid]);

-- Query #35120 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '99da7395-a8f0-334d-10fd-7f1055652421'::uuid;

-- Query #35121 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35122 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6c57f89-c524-c10b-e489-b21ef77399e1'::uuid;

-- Query #35123 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6c57f89-c524-c10b-e489-b21ef77399e1'::uuid]);

-- Query #35124 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e6c57f89-c524-c10b-e489-b21ef77399e1'::uuid;

-- Query #35125 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6c57f89-c524-c10b-e489-b21ef77399e1'::uuid, 'Imdb', 'tt0647055')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6c57f89-c524-c10b-e489-b21ef77399e1'::uuid, 'Tmdb', 124669)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35127 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6c57f89-c524-c10b-e489-b21ef77399e1'::uuid, 'TvMaze', 67171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35128 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6c57f89-c524-c10b-e489-b21ef77399e1'::uuid, 'Tvdb', 229027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35129 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6c57f89-c524-c10b-e489-b21ef77399e1'::uuid, 'TvRage', 114993)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35130 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6c57f89-c524-c10b-e489-b21ef77399e1'::uuid, 'trakt', 140472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6c57f89-c524-c10b-e489-b21ef77399e1'::uuid, 'TmdbCollection', 124669)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35132 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6c57f89-c524-c10b-e489-b21ef77399e1'::uuid;

-- Query #35133 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e6c57f89-c524-c10b-e489-b21ef77399e1'::uuid;

-- Query #35134 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e6c57f89-c524-c10b-e489-b21ef77399e1'::uuid]);

-- Query #35135 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e6c57f89-c524-c10b-e489-b21ef77399e1'::uuid;

-- Query #35136 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35137 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f6e6bd4-7d61-c4b5-284f-f21b3e647cea'::uuid;

-- Query #35138 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0f6e6bd4-7d61-c4b5-284f-f21b3e647cea'::uuid]);

-- Query #35139 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0f6e6bd4-7d61-c4b5-284f-f21b3e647cea'::uuid;

-- Query #35140 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f6e6bd4-7d61-c4b5-284f-f21b3e647cea'::uuid, 'TmdbCollection', 124880)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35141 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f6e6bd4-7d61-c4b5-284f-f21b3e647cea'::uuid, 'Imdb', 'tt0647057')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35142 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f6e6bd4-7d61-c4b5-284f-f21b3e647cea'::uuid, 'Tmdb', 124880)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35143 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f6e6bd4-7d61-c4b5-284f-f21b3e647cea'::uuid, 'TvMaze', 67189)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35144 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f6e6bd4-7d61-c4b5-284f-f21b3e647cea'::uuid, 'Tvdb', 229045)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f6e6bd4-7d61-c4b5-284f-f21b3e647cea'::uuid, 'TvRage', 115011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0f6e6bd4-7d61-c4b5-284f-f21b3e647cea'::uuid, 'trakt', 140490)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35147 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f6e6bd4-7d61-c4b5-284f-f21b3e647cea'::uuid;

-- Query #35148 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0f6e6bd4-7d61-c4b5-284f-f21b3e647cea'::uuid;

-- Query #35149 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0f6e6bd4-7d61-c4b5-284f-f21b3e647cea'::uuid]);

-- Query #35150 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0f6e6bd4-7d61-c4b5-284f-f21b3e647cea'::uuid;

-- Query #35151 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35152 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '172a3a5c-1454-80ee-2ecb-03c8f71c3489'::uuid;

-- Query #35153 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #35154 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['172a3a5c-1454-80ee-2ecb-03c8f71c3489'::uuid]);

-- Query #35155 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '172a3a5c-1454-80ee-2ecb-03c8f71c3489'::uuid;

-- Query #35156 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('172a3a5c-1454-80ee-2ecb-03c8f71c3489'::uuid, 'Imdb', 'tt0647071')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35157 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('172a3a5c-1454-80ee-2ecb-03c8f71c3489'::uuid, 'Tmdb', 124734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('172a3a5c-1454-80ee-2ecb-03c8f71c3489'::uuid, 'TvMaze', 67174)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35159 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('172a3a5c-1454-80ee-2ecb-03c8f71c3489'::uuid, 'Tvdb', 229030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('172a3a5c-1454-80ee-2ecb-03c8f71c3489'::uuid, 'TvRage', 114996)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('172a3a5c-1454-80ee-2ecb-03c8f71c3489'::uuid, 'trakt', 140475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('172a3a5c-1454-80ee-2ecb-03c8f71c3489'::uuid, 'TmdbCollection', 124734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35163 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '172a3a5c-1454-80ee-2ecb-03c8f71c3489'::uuid;

-- Query #35164 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '172a3a5c-1454-80ee-2ecb-03c8f71c3489'::uuid;

-- Query #35165 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['172a3a5c-1454-80ee-2ecb-03c8f71c3489'::uuid]);

-- Query #35166 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '172a3a5c-1454-80ee-2ecb-03c8f71c3489'::uuid;

-- Query #35167 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35168 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f72cb700-9fa5-a1c4-3ac2-eb70647c5aff'::uuid;

-- Query #35169 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f72cb700-9fa5-a1c4-3ac2-eb70647c5aff'::uuid]);

-- Query #35170 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f72cb700-9fa5-a1c4-3ac2-eb70647c5aff'::uuid;

-- Query #35171 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f72cb700-9fa5-a1c4-3ac2-eb70647c5aff'::uuid, 'TmdbCollection', 124860)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35172 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f72cb700-9fa5-a1c4-3ac2-eb70647c5aff'::uuid, 'Imdb', 'tt0647077')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35173 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f72cb700-9fa5-a1c4-3ac2-eb70647c5aff'::uuid, 'Tmdb', 124860)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35174 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f72cb700-9fa5-a1c4-3ac2-eb70647c5aff'::uuid, 'TvMaze', 67185)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f72cb700-9fa5-a1c4-3ac2-eb70647c5aff'::uuid, 'Tvdb', 229041)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f72cb700-9fa5-a1c4-3ac2-eb70647c5aff'::uuid, 'TvRage', 115007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f72cb700-9fa5-a1c4-3ac2-eb70647c5aff'::uuid, 'trakt', 140486)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35178 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f72cb700-9fa5-a1c4-3ac2-eb70647c5aff'::uuid;

-- Query #35179 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f72cb700-9fa5-a1c4-3ac2-eb70647c5aff'::uuid;

-- Query #35180 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f72cb700-9fa5-a1c4-3ac2-eb70647c5aff'::uuid]);

-- Query #35181 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f72cb700-9fa5-a1c4-3ac2-eb70647c5aff'::uuid;

-- Query #35182 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35183 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '320a7420-03fa-312c-b997-5e83528d840e'::uuid;

-- Query #35184 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['320a7420-03fa-312c-b997-5e83528d840e'::uuid]);

-- Query #35185 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '320a7420-03fa-312c-b997-5e83528d840e'::uuid;

-- Query #35186 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('320a7420-03fa-312c-b997-5e83528d840e'::uuid, 'TvRage', 115006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35187 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('320a7420-03fa-312c-b997-5e83528d840e'::uuid, 'trakt', 140485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35188 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('320a7420-03fa-312c-b997-5e83528d840e'::uuid, 'TmdbCollection', 124856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('320a7420-03fa-312c-b997-5e83528d840e'::uuid, 'Imdb', 'tt0647079')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('320a7420-03fa-312c-b997-5e83528d840e'::uuid, 'Tmdb', 124856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('320a7420-03fa-312c-b997-5e83528d840e'::uuid, 'TvMaze', 67184)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('320a7420-03fa-312c-b997-5e83528d840e'::uuid, 'Tvdb', 229040)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35193 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '320a7420-03fa-312c-b997-5e83528d840e'::uuid;

-- Query #35194 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '320a7420-03fa-312c-b997-5e83528d840e'::uuid;

-- Query #35195 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['320a7420-03fa-312c-b997-5e83528d840e'::uuid]);

-- Query #35196 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '320a7420-03fa-312c-b997-5e83528d840e'::uuid;

-- Query #35197 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35198 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f43976e3-fab5-eb5b-1ecc-bd09929b5c8c'::uuid;

-- Query #35199 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f43976e3-fab5-eb5b-1ecc-bd09929b5c8c'::uuid]);

-- Query #35200 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f43976e3-fab5-eb5b-1ecc-bd09929b5c8c'::uuid;

-- Query #35201 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f43976e3-fab5-eb5b-1ecc-bd09929b5c8c'::uuid, 'TmdbCollection', 124850)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35202 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f43976e3-fab5-eb5b-1ecc-bd09929b5c8c'::uuid, 'Imdb', 'tt0647081')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35203 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f43976e3-fab5-eb5b-1ecc-bd09929b5c8c'::uuid, 'Tmdb', 124850)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35204 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f43976e3-fab5-eb5b-1ecc-bd09929b5c8c'::uuid, 'TvMaze', 67183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f43976e3-fab5-eb5b-1ecc-bd09929b5c8c'::uuid, 'Tvdb', 229039)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f43976e3-fab5-eb5b-1ecc-bd09929b5c8c'::uuid, 'TvRage', 115005)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f43976e3-fab5-eb5b-1ecc-bd09929b5c8c'::uuid, 'trakt', 140484)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35208 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f43976e3-fab5-eb5b-1ecc-bd09929b5c8c'::uuid;

-- Query #35209 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f43976e3-fab5-eb5b-1ecc-bd09929b5c8c'::uuid;

-- Query #35210 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f43976e3-fab5-eb5b-1ecc-bd09929b5c8c'::uuid]);

-- Query #35211 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f43976e3-fab5-eb5b-1ecc-bd09929b5c8c'::uuid;

-- Query #35212 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35213 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '66395a40-e4d4-36c0-cffe-4728f5300d27'::uuid;

-- Query #35214 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['66395a40-e4d4-36c0-cffe-4728f5300d27'::uuid]);

-- Query #35215 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '66395a40-e4d4-36c0-cffe-4728f5300d27'::uuid;

-- Query #35216 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66395a40-e4d4-36c0-cffe-4728f5300d27'::uuid, 'TmdbCollection', 124776)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66395a40-e4d4-36c0-cffe-4728f5300d27'::uuid, 'Imdb', 'tt0647088')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66395a40-e4d4-36c0-cffe-4728f5300d27'::uuid, 'Tmdb', 124776)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66395a40-e4d4-36c0-cffe-4728f5300d27'::uuid, 'TvMaze', 67176)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66395a40-e4d4-36c0-cffe-4728f5300d27'::uuid, 'Tvdb', 229032)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66395a40-e4d4-36c0-cffe-4728f5300d27'::uuid, 'TvRage', 114998)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('66395a40-e4d4-36c0-cffe-4728f5300d27'::uuid, 'trakt', 140477)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35223 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '66395a40-e4d4-36c0-cffe-4728f5300d27'::uuid;

-- Query #35224 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '66395a40-e4d4-36c0-cffe-4728f5300d27'::uuid;

-- Query #35225 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['66395a40-e4d4-36c0-cffe-4728f5300d27'::uuid]);

-- Query #35226 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '66395a40-e4d4-36c0-cffe-4728f5300d27'::uuid;

-- Query #35227 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35228 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '72469cb3-f3b3-0fc3-b599-c986edebac44'::uuid;

-- Query #35229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72469cb3-f3b3-0fc3-b599-c986edebac44'::uuid]);

-- Query #35230 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '72469cb3-f3b3-0fc3-b599-c986edebac44'::uuid;

-- Query #35231 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72469cb3-f3b3-0fc3-b599-c986edebac44'::uuid, 'TmdbCollection', 124805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72469cb3-f3b3-0fc3-b599-c986edebac44'::uuid, 'Imdb', 'tt0647093')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72469cb3-f3b3-0fc3-b599-c986edebac44'::uuid, 'Tmdb', 124805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72469cb3-f3b3-0fc3-b599-c986edebac44'::uuid, 'TvMaze', 67178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72469cb3-f3b3-0fc3-b599-c986edebac44'::uuid, 'Tvdb', 229034)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72469cb3-f3b3-0fc3-b599-c986edebac44'::uuid, 'TvRage', 115000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72469cb3-f3b3-0fc3-b599-c986edebac44'::uuid, 'trakt', 140479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35238 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '72469cb3-f3b3-0fc3-b599-c986edebac44'::uuid;

-- Query #35239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '72469cb3-f3b3-0fc3-b599-c986edebac44'::uuid;

-- Query #35240 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['72469cb3-f3b3-0fc3-b599-c986edebac44'::uuid]);

-- Query #35241 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '72469cb3-f3b3-0fc3-b599-c986edebac44'::uuid;

-- Query #35242 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a56dbb44-025d-58ac-ffaa-15a8e8ff132d'::uuid;

-- Query #35244 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a56dbb44-025d-58ac-ffaa-15a8e8ff132d'::uuid]);

-- Query #35245 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a56dbb44-025d-58ac-ffaa-15a8e8ff132d'::uuid;

-- Query #35246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a56dbb44-025d-58ac-ffaa-15a8e8ff132d'::uuid, 'Imdb', 'tt0647098')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a56dbb44-025d-58ac-ffaa-15a8e8ff132d'::uuid, 'TvRage', 115012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a56dbb44-025d-58ac-ffaa-15a8e8ff132d'::uuid, 'TvMaze', 67190)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a56dbb44-025d-58ac-ffaa-15a8e8ff132d'::uuid, 'Tvdb', 229046)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35250 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a56dbb44-025d-58ac-ffaa-15a8e8ff132d'::uuid;

-- Query #35251 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a56dbb44-025d-58ac-ffaa-15a8e8ff132d'::uuid;

-- Query #35252 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a56dbb44-025d-58ac-ffaa-15a8e8ff132d'::uuid]);

-- Query #35253 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a56dbb44-025d-58ac-ffaa-15a8e8ff132d'::uuid;

-- Query #35254 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35255 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4cdbc695-ffbd-8e70-2f66-7ec7748d4c0e'::uuid;

-- Query #35256 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4cdbc695-ffbd-8e70-2f66-7ec7748d4c0e'::uuid]);

-- Query #35257 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4cdbc695-ffbd-8e70-2f66-7ec7748d4c0e'::uuid;

-- Query #35258 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cdbc695-ffbd-8e70-2f66-7ec7748d4c0e'::uuid, 'Imdb', 'tt0647099')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35259 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cdbc695-ffbd-8e70-2f66-7ec7748d4c0e'::uuid, 'Tmdb', 124774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35260 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cdbc695-ffbd-8e70-2f66-7ec7748d4c0e'::uuid, 'TvMaze', 67175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cdbc695-ffbd-8e70-2f66-7ec7748d4c0e'::uuid, 'Tvdb', 229031)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cdbc695-ffbd-8e70-2f66-7ec7748d4c0e'::uuid, 'TvRage', 114997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cdbc695-ffbd-8e70-2f66-7ec7748d4c0e'::uuid, 'trakt', 140476)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cdbc695-ffbd-8e70-2f66-7ec7748d4c0e'::uuid, 'TmdbCollection', 124774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35265 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4cdbc695-ffbd-8e70-2f66-7ec7748d4c0e'::uuid;

-- Query #35266 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4cdbc695-ffbd-8e70-2f66-7ec7748d4c0e'::uuid;

-- Query #35267 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4cdbc695-ffbd-8e70-2f66-7ec7748d4c0e'::uuid]);

-- Query #35268 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4cdbc695-ffbd-8e70-2f66-7ec7748d4c0e'::uuid;

-- Query #35269 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35270 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a3c9a62-083b-b990-030e-6c5e3bb0271c'::uuid;

-- Query #35271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a3c9a62-083b-b990-030e-6c5e3bb0271c'::uuid]);

-- Query #35272 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7a3c9a62-083b-b990-030e-6c5e3bb0271c'::uuid;

-- Query #35273 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a3c9a62-083b-b990-030e-6c5e3bb0271c'::uuid, 'TmdbCollection', 124887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a3c9a62-083b-b990-030e-6c5e3bb0271c'::uuid, 'Imdb', 'tt0647129')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a3c9a62-083b-b990-030e-6c5e3bb0271c'::uuid, 'Tmdb', 124887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a3c9a62-083b-b990-030e-6c5e3bb0271c'::uuid, 'TvMaze', 67177)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a3c9a62-083b-b990-030e-6c5e3bb0271c'::uuid, 'Tvdb', 229033)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a3c9a62-083b-b990-030e-6c5e3bb0271c'::uuid, 'TvRage', 114999)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a3c9a62-083b-b990-030e-6c5e3bb0271c'::uuid, 'trakt', 140478)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35280 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a3c9a62-083b-b990-030e-6c5e3bb0271c'::uuid;

-- Query #35281 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7a3c9a62-083b-b990-030e-6c5e3bb0271c'::uuid;

-- Query #35282 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7a3c9a62-083b-b990-030e-6c5e3bb0271c'::uuid]);

-- Query #35283 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7a3c9a62-083b-b990-030e-6c5e3bb0271c'::uuid;

-- Query #35284 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35285 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bfb421bb-a055-22ba-3776-965e81cd7763'::uuid;

-- Query #35286 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bfb421bb-a055-22ba-3776-965e81cd7763'::uuid]);

-- Query #35287 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bfb421bb-a055-22ba-3776-965e81cd7763'::uuid;

-- Query #35288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfb421bb-a055-22ba-3776-965e81cd7763'::uuid, 'Imdb', 'tt0647032')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfb421bb-a055-22ba-3776-965e81cd7763'::uuid, 'Tmdb', 124809)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfb421bb-a055-22ba-3776-965e81cd7763'::uuid, 'TvMaze', 67179)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfb421bb-a055-22ba-3776-965e81cd7763'::uuid, 'Tvdb', 229035)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfb421bb-a055-22ba-3776-965e81cd7763'::uuid, 'TvRage', 115001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfb421bb-a055-22ba-3776-965e81cd7763'::uuid, 'trakt', 140480)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bfb421bb-a055-22ba-3776-965e81cd7763'::uuid, 'TmdbCollection', 124809)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35295 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bfb421bb-a055-22ba-3776-965e81cd7763'::uuid;

-- Query #35296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bfb421bb-a055-22ba-3776-965e81cd7763'::uuid;

-- Query #35297 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bfb421bb-a055-22ba-3776-965e81cd7763'::uuid]);

-- Query #35298 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bfb421bb-a055-22ba-3776-965e81cd7763'::uuid;

-- Query #35299 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35300 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b0f1c8a6-1849-2cac-7718-07e363e60954'::uuid;

-- Query #35301 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b0f1c8a6-1849-2cac-7718-07e363e60954'::uuid]);

-- Query #35302 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b0f1c8a6-1849-2cac-7718-07e363e60954'::uuid;

-- Query #35303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0f1c8a6-1849-2cac-7718-07e363e60954'::uuid, 'TmdbCollection', 124816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0f1c8a6-1849-2cac-7718-07e363e60954'::uuid, 'Imdb', 'tt0647136')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0f1c8a6-1849-2cac-7718-07e363e60954'::uuid, 'Tmdb', 124816)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0f1c8a6-1849-2cac-7718-07e363e60954'::uuid, 'TvMaze', 67181)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0f1c8a6-1849-2cac-7718-07e363e60954'::uuid, 'Tvdb', 229037)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0f1c8a6-1849-2cac-7718-07e363e60954'::uuid, 'TvRage', 115003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0f1c8a6-1849-2cac-7718-07e363e60954'::uuid, 'trakt', 140482)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35310 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b0f1c8a6-1849-2cac-7718-07e363e60954'::uuid;

-- Query #35311 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b0f1c8a6-1849-2cac-7718-07e363e60954'::uuid;

-- Query #35312 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b0f1c8a6-1849-2cac-7718-07e363e60954'::uuid]);

-- Query #35313 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b0f1c8a6-1849-2cac-7718-07e363e60954'::uuid;

-- Query #35314 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35315 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '06148ad3-23dd-f8ae-0eb0-89f46d1c0aa5'::uuid;

-- Query #35316 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06148ad3-23dd-f8ae-0eb0-89f46d1c0aa5'::uuid]);

-- Query #35317 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '06148ad3-23dd-f8ae-0eb0-89f46d1c0aa5'::uuid;

-- Query #35318 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06148ad3-23dd-f8ae-0eb0-89f46d1c0aa5'::uuid, 'Imdb', 'tt0647035')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06148ad3-23dd-f8ae-0eb0-89f46d1c0aa5'::uuid, 'TvRage', 115019)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06148ad3-23dd-f8ae-0eb0-89f46d1c0aa5'::uuid, 'TvMaze', 67197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('06148ad3-23dd-f8ae-0eb0-89f46d1c0aa5'::uuid, 'Tvdb', 229053)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35322 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '06148ad3-23dd-f8ae-0eb0-89f46d1c0aa5'::uuid;

-- Query #35323 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '06148ad3-23dd-f8ae-0eb0-89f46d1c0aa5'::uuid;

-- Query #35324 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['06148ad3-23dd-f8ae-0eb0-89f46d1c0aa5'::uuid]);

-- Query #35325 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '06148ad3-23dd-f8ae-0eb0-89f46d1c0aa5'::uuid;

-- Query #35326 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35327 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd144044d-b098-0ca4-4bdb-70b33be2df00'::uuid;

-- Query #35328 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d144044d-b098-0ca4-4bdb-70b33be2df00'::uuid]);

-- Query #35329 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd144044d-b098-0ca4-4bdb-70b33be2df00'::uuid;

-- Query #35330 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d144044d-b098-0ca4-4bdb-70b33be2df00'::uuid, 'Imdb', 'tt0647038')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d144044d-b098-0ca4-4bdb-70b33be2df00'::uuid, 'TvRage', 115016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d144044d-b098-0ca4-4bdb-70b33be2df00'::uuid, 'TvMaze', 67194)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35333 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d144044d-b098-0ca4-4bdb-70b33be2df00'::uuid, 'Tvdb', 229050)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35334 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd144044d-b098-0ca4-4bdb-70b33be2df00'::uuid;

-- Query #35335 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd144044d-b098-0ca4-4bdb-70b33be2df00'::uuid;

-- Query #35336 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d144044d-b098-0ca4-4bdb-70b33be2df00'::uuid]);

-- Query #35337 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd144044d-b098-0ca4-4bdb-70b33be2df00'::uuid;

-- Query #35338 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35339 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e888c3c-3325-ca7a-9fc4-35be8751355d'::uuid;

-- Query #35340 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e888c3c-3325-ca7a-9fc4-35be8751355d'::uuid]);

-- Query #35341 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8e888c3c-3325-ca7a-9fc4-35be8751355d'::uuid;

-- Query #35342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e888c3c-3325-ca7a-9fc4-35be8751355d'::uuid, 'Imdb', 'tt0647043')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35343 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e888c3c-3325-ca7a-9fc4-35be8751355d'::uuid, 'TvRage', 115017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35344 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e888c3c-3325-ca7a-9fc4-35be8751355d'::uuid, 'TvMaze', 67195)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8e888c3c-3325-ca7a-9fc4-35be8751355d'::uuid, 'Tvdb', 229051)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35346 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e888c3c-3325-ca7a-9fc4-35be8751355d'::uuid;

-- Query #35347 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8e888c3c-3325-ca7a-9fc4-35be8751355d'::uuid;

-- Query #35348 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8e888c3c-3325-ca7a-9fc4-35be8751355d'::uuid]);

-- Query #35349 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8e888c3c-3325-ca7a-9fc4-35be8751355d'::uuid;

-- Query #35350 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35351 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba15b01c-5daf-825a-d352-10b95f8f65e5'::uuid;

-- Query #35352 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba15b01c-5daf-825a-d352-10b95f8f65e5'::uuid]);

-- Query #35353 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ba15b01c-5daf-825a-d352-10b95f8f65e5'::uuid;

-- Query #35354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba15b01c-5daf-825a-d352-10b95f8f65e5'::uuid, 'Imdb', 'tt0647119')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba15b01c-5daf-825a-d352-10b95f8f65e5'::uuid, 'TvRage', 115025)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba15b01c-5daf-825a-d352-10b95f8f65e5'::uuid, 'TvMaze', 67203)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba15b01c-5daf-825a-d352-10b95f8f65e5'::uuid, 'Tvdb', 229059)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35358 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba15b01c-5daf-825a-d352-10b95f8f65e5'::uuid;

-- Query #35359 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ba15b01c-5daf-825a-d352-10b95f8f65e5'::uuid;

-- Query #35360 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ba15b01c-5daf-825a-d352-10b95f8f65e5'::uuid]);

-- Query #35361 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ba15b01c-5daf-825a-d352-10b95f8f65e5'::uuid;

-- Query #35362 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35363 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f67d9fd5-95cb-ac02-10f0-9ad0f06683d7'::uuid;

-- Query #35364 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f67d9fd5-95cb-ac02-10f0-9ad0f06683d7'::uuid]);

-- Query #35365 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f67d9fd5-95cb-ac02-10f0-9ad0f06683d7'::uuid;

-- Query #35366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f67d9fd5-95cb-ac02-10f0-9ad0f06683d7'::uuid, 'Imdb', 'tt0647066')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f67d9fd5-95cb-ac02-10f0-9ad0f06683d7'::uuid, 'TvRage', 115029)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f67d9fd5-95cb-ac02-10f0-9ad0f06683d7'::uuid, 'TvMaze', 67207)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f67d9fd5-95cb-ac02-10f0-9ad0f06683d7'::uuid, 'Tvdb', 2588861)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f67d9fd5-95cb-ac02-10f0-9ad0f06683d7'::uuid;

-- Query #35371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f67d9fd5-95cb-ac02-10f0-9ad0f06683d7'::uuid;

-- Query #35372 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f67d9fd5-95cb-ac02-10f0-9ad0f06683d7'::uuid]);

-- Query #35373 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f67d9fd5-95cb-ac02-10f0-9ad0f06683d7'::uuid;

-- Query #35374 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35375 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca74eeae-be8b-876c-550b-168f2773b4d1'::uuid;

-- Query #35376 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ca74eeae-be8b-876c-550b-168f2773b4d1'::uuid]);

-- Query #35377 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ca74eeae-be8b-876c-550b-168f2773b4d1'::uuid;

-- Query #35378 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca74eeae-be8b-876c-550b-168f2773b4d1'::uuid, 'Imdb', 'tt0647068')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35379 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca74eeae-be8b-876c-550b-168f2773b4d1'::uuid, 'TvRage', 115021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca74eeae-be8b-876c-550b-168f2773b4d1'::uuid, 'TvMaze', 67199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca74eeae-be8b-876c-550b-168f2773b4d1'::uuid, 'Tvdb', 229055)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35382 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca74eeae-be8b-876c-550b-168f2773b4d1'::uuid;

-- Query #35383 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ca74eeae-be8b-876c-550b-168f2773b4d1'::uuid;

-- Query #35384 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ca74eeae-be8b-876c-550b-168f2773b4d1'::uuid]);

-- Query #35385 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ca74eeae-be8b-876c-550b-168f2773b4d1'::uuid;

-- Query #35386 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35387 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce1b5e01-84be-2a6a-d6e1-39bd9697fccf'::uuid;

-- Query #35388 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce1b5e01-84be-2a6a-d6e1-39bd9697fccf'::uuid]);

-- Query #35389 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ce1b5e01-84be-2a6a-d6e1-39bd9697fccf'::uuid;

-- Query #35390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce1b5e01-84be-2a6a-d6e1-39bd9697fccf'::uuid, 'Imdb', 'tt0647074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce1b5e01-84be-2a6a-d6e1-39bd9697fccf'::uuid, 'TvRage', 115020)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce1b5e01-84be-2a6a-d6e1-39bd9697fccf'::uuid, 'TvMaze', 67198)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35393 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce1b5e01-84be-2a6a-d6e1-39bd9697fccf'::uuid, 'Tvdb', 229054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35394 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce1b5e01-84be-2a6a-d6e1-39bd9697fccf'::uuid;

-- Query #35395 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ce1b5e01-84be-2a6a-d6e1-39bd9697fccf'::uuid;

-- Query #35396 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ce1b5e01-84be-2a6a-d6e1-39bd9697fccf'::uuid]);

-- Query #35397 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ce1b5e01-84be-2a6a-d6e1-39bd9697fccf'::uuid;

-- Query #35398 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35399 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95b9ae57-71d6-734a-8b1a-b2a9e2247c28'::uuid;

-- Query #35400 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95b9ae57-71d6-734a-8b1a-b2a9e2247c28'::uuid]);

-- Query #35401 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '95b9ae57-71d6-734a-8b1a-b2a9e2247c28'::uuid;

-- Query #35402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95b9ae57-71d6-734a-8b1a-b2a9e2247c28'::uuid, 'Imdb', 'tt0647076')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95b9ae57-71d6-734a-8b1a-b2a9e2247c28'::uuid, 'TvRage', 115015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95b9ae57-71d6-734a-8b1a-b2a9e2247c28'::uuid, 'TvMaze', 67193)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('95b9ae57-71d6-734a-8b1a-b2a9e2247c28'::uuid, 'Tvdb', 229049)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35406 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '95b9ae57-71d6-734a-8b1a-b2a9e2247c28'::uuid;

-- Query #35407 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '95b9ae57-71d6-734a-8b1a-b2a9e2247c28'::uuid;

-- Query #35408 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['95b9ae57-71d6-734a-8b1a-b2a9e2247c28'::uuid]);

-- Query #35409 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '95b9ae57-71d6-734a-8b1a-b2a9e2247c28'::uuid;

-- Query #35410 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35411 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b481b27e-ca22-902c-171d-81bdee75ca2c'::uuid;

-- Query #35412 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b481b27e-ca22-902c-171d-81bdee75ca2c'::uuid]);

-- Query #35413 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b481b27e-ca22-902c-171d-81bdee75ca2c'::uuid;

-- Query #35414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b481b27e-ca22-902c-171d-81bdee75ca2c'::uuid, 'Imdb', 'tt0647080')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b481b27e-ca22-902c-171d-81bdee75ca2c'::uuid, 'TvRage', 115013)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b481b27e-ca22-902c-171d-81bdee75ca2c'::uuid, 'TvMaze', 67191)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b481b27e-ca22-902c-171d-81bdee75ca2c'::uuid, 'Tvdb', 229047)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35418 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b481b27e-ca22-902c-171d-81bdee75ca2c'::uuid;

-- Query #35419 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b481b27e-ca22-902c-171d-81bdee75ca2c'::uuid;

-- Query #35420 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b481b27e-ca22-902c-171d-81bdee75ca2c'::uuid]);

-- Query #35421 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b481b27e-ca22-902c-171d-81bdee75ca2c'::uuid;

-- Query #35422 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35423 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8d960376-3d0a-4965-406d-58024201f0d8'::uuid;

-- Query #35424 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8d960376-3d0a-4965-406d-58024201f0d8'::uuid]);

-- Query #35425 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8d960376-3d0a-4965-406d-58024201f0d8'::uuid;

-- Query #35426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d960376-3d0a-4965-406d-58024201f0d8'::uuid, 'Imdb', 'tt0647082')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d960376-3d0a-4965-406d-58024201f0d8'::uuid, 'TvRage', 115024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d960376-3d0a-4965-406d-58024201f0d8'::uuid, 'TvMaze', 67202)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d960376-3d0a-4965-406d-58024201f0d8'::uuid, 'Tvdb', 229058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35430 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8d960376-3d0a-4965-406d-58024201f0d8'::uuid;

-- Query #35431 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8d960376-3d0a-4965-406d-58024201f0d8'::uuid;

-- Query #35432 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8d960376-3d0a-4965-406d-58024201f0d8'::uuid]);

-- Query #35433 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8d960376-3d0a-4965-406d-58024201f0d8'::uuid;

-- Query #35434 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35435 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d1b8074-9a72-5b60-7d28-f27819c96be1'::uuid;

-- Query #35436 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9d1b8074-9a72-5b60-7d28-f27819c96be1'::uuid]);

-- Query #35437 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9d1b8074-9a72-5b60-7d28-f27819c96be1'::uuid;

-- Query #35438 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d1b8074-9a72-5b60-7d28-f27819c96be1'::uuid, 'Imdb', 'tt0647086')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35439 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d1b8074-9a72-5b60-7d28-f27819c96be1'::uuid, 'TvRage', 115032)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35440 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d1b8074-9a72-5b60-7d28-f27819c96be1'::uuid, 'TvMaze', 67210)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d1b8074-9a72-5b60-7d28-f27819c96be1'::uuid, 'Tvdb', 229066)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35442 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d1b8074-9a72-5b60-7d28-f27819c96be1'::uuid;

-- Query #35443 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9d1b8074-9a72-5b60-7d28-f27819c96be1'::uuid;

-- Query #35444 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9d1b8074-9a72-5b60-7d28-f27819c96be1'::uuid]);

-- Query #35445 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9d1b8074-9a72-5b60-7d28-f27819c96be1'::uuid;

-- Query #35446 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35447 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70e0a6c6-5f14-54c5-eeb6-969df0f717ae'::uuid;

-- Query #35448 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70e0a6c6-5f14-54c5-eeb6-969df0f717ae'::uuid]);

-- Query #35449 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '70e0a6c6-5f14-54c5-eeb6-969df0f717ae'::uuid;

-- Query #35450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70e0a6c6-5f14-54c5-eeb6-969df0f717ae'::uuid, 'Imdb', 'tt0647089')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70e0a6c6-5f14-54c5-eeb6-969df0f717ae'::uuid, 'TvRage', 115018)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35452 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70e0a6c6-5f14-54c5-eeb6-969df0f717ae'::uuid, 'TvMaze', 67196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35453 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70e0a6c6-5f14-54c5-eeb6-969df0f717ae'::uuid, 'Tvdb', 229052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35454 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70e0a6c6-5f14-54c5-eeb6-969df0f717ae'::uuid;

-- Query #35455 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '70e0a6c6-5f14-54c5-eeb6-969df0f717ae'::uuid;

-- Query #35456 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['70e0a6c6-5f14-54c5-eeb6-969df0f717ae'::uuid]);

-- Query #35457 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '70e0a6c6-5f14-54c5-eeb6-969df0f717ae'::uuid;

-- Query #35458 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35459 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1380a28-7bda-efc3-fc5d-73c1d06eb5d8'::uuid;

-- Query #35460 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e1380a28-7bda-efc3-fc5d-73c1d06eb5d8'::uuid]);

-- Query #35461 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e1380a28-7bda-efc3-fc5d-73c1d06eb5d8'::uuid;

-- Query #35462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1380a28-7bda-efc3-fc5d-73c1d06eb5d8'::uuid, 'Imdb', 'tt0647095')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1380a28-7bda-efc3-fc5d-73c1d06eb5d8'::uuid, 'TvRage', 115023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1380a28-7bda-efc3-fc5d-73c1d06eb5d8'::uuid, 'TvMaze', 67201)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e1380a28-7bda-efc3-fc5d-73c1d06eb5d8'::uuid, 'Tvdb', 229057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35466 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1380a28-7bda-efc3-fc5d-73c1d06eb5d8'::uuid;

-- Query #35467 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e1380a28-7bda-efc3-fc5d-73c1d06eb5d8'::uuid;

-- Query #35468 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e1380a28-7bda-efc3-fc5d-73c1d06eb5d8'::uuid]);

-- Query #35469 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e1380a28-7bda-efc3-fc5d-73c1d06eb5d8'::uuid;

-- Query #35470 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35471 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df53533b-ec18-0645-f8d9-200eca8a7baf'::uuid;

-- Query #35472 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df53533b-ec18-0645-f8d9-200eca8a7baf'::uuid]);

-- Query #35473 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'df53533b-ec18-0645-f8d9-200eca8a7baf'::uuid;

-- Query #35474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df53533b-ec18-0645-f8d9-200eca8a7baf'::uuid, 'Imdb', 'tt0647097')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df53533b-ec18-0645-f8d9-200eca8a7baf'::uuid, 'TvRage', 115031)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df53533b-ec18-0645-f8d9-200eca8a7baf'::uuid, 'TvMaze', 67209)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35477 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df53533b-ec18-0645-f8d9-200eca8a7baf'::uuid, 'Tvdb', 229065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35478 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df53533b-ec18-0645-f8d9-200eca8a7baf'::uuid;

-- Query #35479 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'df53533b-ec18-0645-f8d9-200eca8a7baf'::uuid;

-- Query #35480 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['df53533b-ec18-0645-f8d9-200eca8a7baf'::uuid]);

-- Query #35481 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'df53533b-ec18-0645-f8d9-200eca8a7baf'::uuid;

-- Query #35482 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35483 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd36e3215-8a64-b795-0354-73d432c08fd2'::uuid;

-- Query #35484 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d36e3215-8a64-b795-0354-73d432c08fd2'::uuid]);

-- Query #35485 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd36e3215-8a64-b795-0354-73d432c08fd2'::uuid;

-- Query #35486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d36e3215-8a64-b795-0354-73d432c08fd2'::uuid, 'Imdb', 'tt0647105')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d36e3215-8a64-b795-0354-73d432c08fd2'::uuid, 'TvRage', 115027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d36e3215-8a64-b795-0354-73d432c08fd2'::uuid, 'TvMaze', 67205)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d36e3215-8a64-b795-0354-73d432c08fd2'::uuid, 'Tvdb', 229061)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35490 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd36e3215-8a64-b795-0354-73d432c08fd2'::uuid;

-- Query #35491 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd36e3215-8a64-b795-0354-73d432c08fd2'::uuid;

-- Query #35492 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d36e3215-8a64-b795-0354-73d432c08fd2'::uuid]);

-- Query #35493 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd36e3215-8a64-b795-0354-73d432c08fd2'::uuid;

-- Query #35494 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35495 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f72800ac-63be-444a-b7fa-6adb8a991f70'::uuid;

-- Query #35496 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f72800ac-63be-444a-b7fa-6adb8a991f70'::uuid]);

-- Query #35497 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f72800ac-63be-444a-b7fa-6adb8a991f70'::uuid;

-- Query #35498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f72800ac-63be-444a-b7fa-6adb8a991f70'::uuid, 'Imdb', 'tt0647109')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f72800ac-63be-444a-b7fa-6adb8a991f70'::uuid, 'TvRage', 115014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f72800ac-63be-444a-b7fa-6adb8a991f70'::uuid, 'TvMaze', 67192)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f72800ac-63be-444a-b7fa-6adb8a991f70'::uuid, 'Tvdb', 229048)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35502 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f72800ac-63be-444a-b7fa-6adb8a991f70'::uuid;

-- Query #35503 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f72800ac-63be-444a-b7fa-6adb8a991f70'::uuid;

-- Query #35504 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f72800ac-63be-444a-b7fa-6adb8a991f70'::uuid]);

-- Query #35505 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f72800ac-63be-444a-b7fa-6adb8a991f70'::uuid;

-- Query #35506 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35507 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ae03d4cb-89b0-1079-b260-63ee38b83d47'::uuid;

-- Query #35508 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ae03d4cb-89b0-1079-b260-63ee38b83d47'::uuid]);

-- Query #35509 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ae03d4cb-89b0-1079-b260-63ee38b83d47'::uuid;

-- Query #35510 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae03d4cb-89b0-1079-b260-63ee38b83d47'::uuid, 'Imdb', 'tt0647131')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35511 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae03d4cb-89b0-1079-b260-63ee38b83d47'::uuid, 'TvRage', 115022)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae03d4cb-89b0-1079-b260-63ee38b83d47'::uuid, 'TvMaze', 67200)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae03d4cb-89b0-1079-b260-63ee38b83d47'::uuid, 'Tvdb', 229056)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35514 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ae03d4cb-89b0-1079-b260-63ee38b83d47'::uuid;

-- Query #35515 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ae03d4cb-89b0-1079-b260-63ee38b83d47'::uuid;

-- Query #35516 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ae03d4cb-89b0-1079-b260-63ee38b83d47'::uuid]);

-- Query #35517 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ae03d4cb-89b0-1079-b260-63ee38b83d47'::uuid;

-- Query #35518 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35519 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '04c67261-3438-5ad1-13cb-55530d015859'::uuid;

-- Query #35520 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['04c67261-3438-5ad1-13cb-55530d015859'::uuid]);

-- Query #35521 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '04c67261-3438-5ad1-13cb-55530d015859'::uuid;

-- Query #35522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04c67261-3438-5ad1-13cb-55530d015859'::uuid, 'Imdb', 'tt0647132')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04c67261-3438-5ad1-13cb-55530d015859'::uuid, 'TvMaze', 67211)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('04c67261-3438-5ad1-13cb-55530d015859'::uuid, 'Tvdb', 229067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35525 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '04c67261-3438-5ad1-13cb-55530d015859'::uuid;

-- Query #35526 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '04c67261-3438-5ad1-13cb-55530d015859'::uuid;

-- Query #35527 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['04c67261-3438-5ad1-13cb-55530d015859'::uuid]);

-- Query #35528 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '04c67261-3438-5ad1-13cb-55530d015859'::uuid;

-- Query #35529 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35530 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #35531 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca784384-2598-08bc-afc0-5ee09a4c9601'::uuid;

-- Query #35532 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ca784384-2598-08bc-afc0-5ee09a4c9601'::uuid]);

-- Query #35533 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ca784384-2598-08bc-afc0-5ee09a4c9601'::uuid;

-- Query #35534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca784384-2598-08bc-afc0-5ee09a4c9601'::uuid, 'Imdb', 'tt0647134')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca784384-2598-08bc-afc0-5ee09a4c9601'::uuid, 'TvRage', 115028)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca784384-2598-08bc-afc0-5ee09a4c9601'::uuid, 'TvMaze', 67206)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca784384-2598-08bc-afc0-5ee09a4c9601'::uuid, 'Tvdb', 229062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35538 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca784384-2598-08bc-afc0-5ee09a4c9601'::uuid;

-- Query #35539 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ca784384-2598-08bc-afc0-5ee09a4c9601'::uuid;

-- Query #35540 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ca784384-2598-08bc-afc0-5ee09a4c9601'::uuid]);

-- Query #35541 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ca784384-2598-08bc-afc0-5ee09a4c9601'::uuid;

-- Query #35542 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35543 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a1d43ee-0cd2-a5d9-5274-03fbc3e6482a'::uuid;

-- Query #35544 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a1d43ee-0cd2-a5d9-5274-03fbc3e6482a'::uuid]);

-- Query #35545 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8a1d43ee-0cd2-a5d9-5274-03fbc3e6482a'::uuid;

-- Query #35546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a1d43ee-0cd2-a5d9-5274-03fbc3e6482a'::uuid, 'Imdb', 'tt0647140')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a1d43ee-0cd2-a5d9-5274-03fbc3e6482a'::uuid, 'TvRage', 115030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a1d43ee-0cd2-a5d9-5274-03fbc3e6482a'::uuid, 'TvMaze', 67208)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a1d43ee-0cd2-a5d9-5274-03fbc3e6482a'::uuid, 'Tvdb', 2588931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35550 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a1d43ee-0cd2-a5d9-5274-03fbc3e6482a'::uuid;

-- Query #35551 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8a1d43ee-0cd2-a5d9-5274-03fbc3e6482a'::uuid;

-- Query #35552 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8a1d43ee-0cd2-a5d9-5274-03fbc3e6482a'::uuid]);

-- Query #35553 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8a1d43ee-0cd2-a5d9-5274-03fbc3e6482a'::uuid;

-- Query #35554 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35555 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid;

-- Query #35556 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid]);

-- Query #35557 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid;

-- Query #35558 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, 'Tmdb', 124898)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35559 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, 'trakt', 140398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, 'Tvdb', 956401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, 'TmdbCollection', 124898)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35562 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid;

-- Query #35563 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid;

-- Query #35564 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid]);

-- Query #35565 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid;

-- Query #35566 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid;

-- Query #35568 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid]);

-- Query #35569 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid;

-- Query #35570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'Tmdb', 124900)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'trakt', 140400)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35572 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'Tvdb', 956421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35573 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'TmdbCollection', 124900)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35574 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid;

-- Query #35575 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid;

-- Query #35576 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid]);

-- Query #35577 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid;

-- Query #35578 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35579 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid;

-- Query #35580 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid]);

-- Query #35581 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid;

-- Query #35582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, 'Tmdb', 124896)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, 'trakt', 140399)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, 'Tvdb', 956411)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, 'TmdbCollection', 124896)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid;

-- Query #35587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid;

-- Query #35588 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid]);

-- Query #35589 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid;

-- Query #35590 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07d553da-e547-189a-d0f1-317337aa270c'::uuid;

-- Query #35592 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07d553da-e547-189a-d0f1-317337aa270c'::uuid]);

-- Query #35593 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '07d553da-e547-189a-d0f1-317337aa270c'::uuid;

-- Query #35594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07d553da-e547-189a-d0f1-317337aa270c'::uuid, 'Imdb', 'tt0647132')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07d553da-e547-189a-d0f1-317337aa270c'::uuid, 'TvMaze', 67211)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07d553da-e547-189a-d0f1-317337aa270c'::uuid, 'Tvdb', 956391)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35597 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07d553da-e547-189a-d0f1-317337aa270c'::uuid;

-- Query #35598 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '07d553da-e547-189a-d0f1-317337aa270c'::uuid;

-- Query #35599 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+drug crime', '6+miami, florida', '6+police detective', '6+police procedural', '6+undercover agent']);

-- Query #35600 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['07d553da-e547-189a-d0f1-317337aa270c'::uuid]);

-- Query #35601 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '07d553da-e547-189a-d0f1-317337aa270c'::uuid;

-- Query #35602 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35603 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid;

-- Query #35604 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid]);

-- Query #35605 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid;

-- Query #35606 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid, 'Imdb', 'tt0647132')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35607 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid, 'Tmdb', 124894)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35608 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid, 'trakt', 140397)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35609 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid, 'Tvdb', 956391)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid, 'TmdbCollection', 124894)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35611 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid;

-- Query #35612 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid;

-- Query #35613 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid]);

-- Query #35614 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid;

-- Query #35615 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid, '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35616 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2a4b6b90-20ab-5f2c-bbe5-a03d0492f980'::uuid
ORDER BY b."SortName";

-- Query #35617 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cb236de9-05f0-842d-882b-d8b8b8f27cac'::uuid
ORDER BY b."SortName";

-- Query #35618 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2455084e-7db1-5156-ca61-d890839ddb46'::uuid
ORDER BY b."SortName";

-- Query #35619 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'efa73726-307e-48ca-4ec5-942867be9093'::uuid
ORDER BY b."SortName";

-- Query #35620 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1be4ed4b-09bf-1e14-24e0-d77ae9644273'::uuid
ORDER BY b."SortName";

-- Query #35621 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '845682ff-fc75-42a8-34d3-77184b9b4f7b'::uuid
ORDER BY b."SortName";

-- Query #35622 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dacaf7a0-0c6b-b430-68d9-8602dd62aa42'::uuid
ORDER BY b."SortName";

-- Query #35623 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, '07d553da-e547-189a-d0f1-317337aa270c'::uuid, '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid])
ORDER BY b."Id";

-- Query #35624 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, '07d553da-e547-189a-d0f1-317337aa270c'::uuid, '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid])
ORDER BY b."Id";

-- Query #35625 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, '07d553da-e547-189a-d0f1-317337aa270c'::uuid, '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid])
ORDER BY b."Id";

-- Query #35626 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, '07d553da-e547-189a-d0f1-317337aa270c'::uuid, '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid])
ORDER BY b."Id";

-- Query #35627 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['e0b401ec-0245-29a1-a03d-4d9390b5e9ea'::uuid, '1666d0a9-d4c9-0c80-1d1d-70f60b10e7e5'::uuid, 'd1f0a3cf-8c27-0876-2b15-7ef29e77a709'::uuid, '07d553da-e547-189a-d0f1-317337aa270c'::uuid, '3ac3c8de-c291-290b-4574-50b1e78e919a'::uuid])
ORDER BY b."Id";

-- Query #35628 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '2a4b6b9020ab5f2cbbe5a03d0492f980'
ORDER BY b."SortName", b."Name";

-- Query #35629 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid
ORDER BY b."SortName";

-- Query #35630 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid])
ORDER BY b."Id";

-- Query #35631 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid])
ORDER BY b."Id";

-- Query #35632 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid])
ORDER BY b."Id";

-- Query #35633 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid])
ORDER BY b."Id";

-- Query #35634 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid])
ORDER BY b."Id";

-- Query #35635 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8281171f-a944-9515-11e2-f75d2c815e01'::uuid
ORDER BY b."SortName";

-- Query #35636 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid
ORDER BY b."SortName";

-- Query #35637 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid
ORDER BY b."SortName";

-- Query #35638 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid
ORDER BY b."SortName";

-- Query #35639 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid
ORDER BY b."SortName";

-- Query #35640 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid;

-- Query #35641 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid]);

-- Query #35642 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid;

-- Query #35643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, 'eidr', '10.5240/392C-B284-62C0-7393-6C12-Q')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, 'facebook', 'MillionLittleThingsABC/')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, 'Imdb', 'tt7608248')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35646 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, 'instagram', 'millionlittlethingsabc/')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, 'official website', 'https://abc.com/shows/a-million-little-things')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35648 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, 'reddit', 'AMillionLittleThings/')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35649 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, 'Tmdb', 81499)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35650 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, 'TmdbCollection', 81499)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, 'Tvdb', 350667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35652 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, 'TvMaze', 34601)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, 'wikidata', 'Q53765029')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, 'Zap2It', 'SH02970520')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35655 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid;

-- Query #35656 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid;

-- Query #35657 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid]);

-- Query #35658 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid;

-- Query #35659 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35660 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '5d129a55171100d3854d0c454a5f8c70'
ORDER BY b."SortName", b."Name";

-- Query #35661 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid
ORDER BY b."SortName";

-- Query #35662 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid])
ORDER BY b."Id";

-- Query #35663 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid])
ORDER BY b."Id";

-- Query #35664 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid])
ORDER BY b."Id";

-- Query #35665 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid])
ORDER BY b."Id";

-- Query #35666 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid])
ORDER BY b."Id";

-- Query #35667 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8281171f-a944-9515-11e2-f75d2c815e01'::uuid
ORDER BY b."SortName";

-- Query #35668 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid
ORDER BY b."SortName";

-- Query #35669 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid
ORDER BY b."SortName";

-- Query #35670 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid
ORDER BY b."SortName";

-- Query #35671 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid
ORDER BY b."SortName";

-- Query #35672 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '5d129a55171100d3854d0c454a5f8c70'
ORDER BY b."SortName", b."Name";

-- Query #35673 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid;

-- Query #35674 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid]);

-- Query #35675 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid;

-- Query #35676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'TmdbCollection', 81499)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'Tvdb', 350667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35678 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'TvMaze', 34601)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35679 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'Tmdb', 81499)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35680 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'Imdb', 'tt7608248')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35681 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'eidr', '10.5240/392C-B284-62C0-7393-6C12-Q')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35682 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'Zap2It', 'SH02970520')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35683 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'wikidata', 'Q53765029')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35684 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid;

-- Query #35685 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid;

-- Query #35686 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid]);

-- Query #35687 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid;

-- Query #35688 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35689 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '5d129a55171100d3854d0c454a5f8c70'
ORDER BY b."SortName", b."Name";

-- Query #35690 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid;

-- Query #35691 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid]);

-- Query #35692 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid;

-- Query #35693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'Tvdb', 350667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35694 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'TvMaze', 34601)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35695 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'Tmdb', 81499)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35696 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'Imdb', 'tt7608248')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35697 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'eidr', '10.5240/392C-B284-62C0-7393-6C12-Q')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35698 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'Zap2It', 'SH02970520')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35699 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'wikidata', 'Q53765029')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'TmdbCollection', 81499)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35701 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid;

-- Query #35702 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid;

-- Query #35703 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid]);

-- Query #35704 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid;

-- Query #35705 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35706 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b05c2cfe-5a08-eedd-8e3a-d6d259893e38'::uuid;

-- Query #35707 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b05c2cfe-5a08-eedd-8e3a-d6d259893e38'::uuid]);

-- Query #35708 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b05c2cfe-5a08-eedd-8e3a-d6d259893e38'::uuid;

-- Query #35709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b05c2cfe-5a08-eedd-8e3a-d6d259893e38'::uuid, 'Imdb', 'tt8726112')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b05c2cfe-5a08-eedd-8e3a-d6d259893e38'::uuid, 'Tmdb', 1573970)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b05c2cfe-5a08-eedd-8e3a-d6d259893e38'::uuid, 'trakt', 3105445)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35712 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b05c2cfe-5a08-eedd-8e3a-d6d259893e38'::uuid, 'TvMaze', 1518455)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b05c2cfe-5a08-eedd-8e3a-d6d259893e38'::uuid, 'Tvdb', 6780374)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b05c2cfe-5a08-eedd-8e3a-d6d259893e38'::uuid, 'TmdbCollection', 1573970)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35715 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b05c2cfe-5a08-eedd-8e3a-d6d259893e38'::uuid;

-- Query #35716 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b05c2cfe-5a08-eedd-8e3a-d6d259893e38'::uuid;

-- Query #35717 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b05c2cfe-5a08-eedd-8e3a-d6d259893e38'::uuid]);

-- Query #35718 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b05c2cfe-5a08-eedd-8e3a-d6d259893e38'::uuid;

-- Query #35719 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35720 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b02fc882-0ab3-524b-83f5-053c49322fcc'::uuid;

-- Query #35721 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b02fc882-0ab3-524b-83f5-053c49322fcc'::uuid]);

-- Query #35722 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b02fc882-0ab3-524b-83f5-053c49322fcc'::uuid;

-- Query #35723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b02fc882-0ab3-524b-83f5-053c49322fcc'::uuid, 'Imdb', 'tt9201410')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b02fc882-0ab3-524b-83f5-053c49322fcc'::uuid, 'Tmdb', 1627960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b02fc882-0ab3-524b-83f5-053c49322fcc'::uuid, 'trakt', 3240023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35726 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b02fc882-0ab3-524b-83f5-053c49322fcc'::uuid, 'TvMaze', 1563182)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35727 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b02fc882-0ab3-524b-83f5-053c49322fcc'::uuid, 'Tvdb', 6905340)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35728 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b02fc882-0ab3-524b-83f5-053c49322fcc'::uuid, 'TmdbCollection', 1627960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35729 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b02fc882-0ab3-524b-83f5-053c49322fcc'::uuid;

-- Query #35730 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b02fc882-0ab3-524b-83f5-053c49322fcc'::uuid;

-- Query #35731 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b02fc882-0ab3-524b-83f5-053c49322fcc'::uuid]);

-- Query #35732 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b02fc882-0ab3-524b-83f5-053c49322fcc'::uuid;

-- Query #35733 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35734 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a80548d-57b9-2500-5978-ce2dbef22611'::uuid;

-- Query #35735 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #35736 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a80548d-57b9-2500-5978-ce2dbef22611'::uuid]);

-- Query #35737 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8a80548d-57b9-2500-5978-ce2dbef22611'::uuid;

-- Query #35738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a80548d-57b9-2500-5978-ce2dbef22611'::uuid, 'Imdb', 'tt9201414')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a80548d-57b9-2500-5978-ce2dbef22611'::uuid, 'Tmdb', 1660233)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a80548d-57b9-2500-5978-ce2dbef22611'::uuid, 'trakt', 3274413)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35741 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a80548d-57b9-2500-5978-ce2dbef22611'::uuid, 'TvMaze', 1572572)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35742 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a80548d-57b9-2500-5978-ce2dbef22611'::uuid, 'Tvdb', 6976677)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35743 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a80548d-57b9-2500-5978-ce2dbef22611'::uuid, 'TmdbCollection', 1660233)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35744 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a80548d-57b9-2500-5978-ce2dbef22611'::uuid;

-- Query #35745 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8a80548d-57b9-2500-5978-ce2dbef22611'::uuid;

-- Query #35746 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8a80548d-57b9-2500-5978-ce2dbef22611'::uuid]);

-- Query #35747 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8a80548d-57b9-2500-5978-ce2dbef22611'::uuid;

-- Query #35748 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35749 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b43be8ae-ab9a-d6ee-9dd9-ce407363d3d1'::uuid;

-- Query #35750 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b43be8ae-ab9a-d6ee-9dd9-ce407363d3d1'::uuid]);

-- Query #35751 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b43be8ae-ab9a-d6ee-9dd9-ce407363d3d1'::uuid;

-- Query #35752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b43be8ae-ab9a-d6ee-9dd9-ce407363d3d1'::uuid, 'Imdb', 'tt9201404')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35753 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b43be8ae-ab9a-d6ee-9dd9-ce407363d3d1'::uuid, 'Tmdb', 1615075)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b43be8ae-ab9a-d6ee-9dd9-ce407363d3d1'::uuid, 'trakt', 3228322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b43be8ae-ab9a-d6ee-9dd9-ce407363d3d1'::uuid, 'TvMaze', 1530877)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b43be8ae-ab9a-d6ee-9dd9-ce407363d3d1'::uuid, 'Tvdb', 6896948)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35757 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b43be8ae-ab9a-d6ee-9dd9-ce407363d3d1'::uuid, 'TmdbCollection', 1615075)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35758 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b43be8ae-ab9a-d6ee-9dd9-ce407363d3d1'::uuid;

-- Query #35759 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b43be8ae-ab9a-d6ee-9dd9-ce407363d3d1'::uuid;

-- Query #35760 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b43be8ae-ab9a-d6ee-9dd9-ce407363d3d1'::uuid]);

-- Query #35761 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b43be8ae-ab9a-d6ee-9dd9-ce407363d3d1'::uuid;

-- Query #35762 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35763 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '33a4d0c7-c311-bd09-afd3-0ef8f3e61c6d'::uuid;

-- Query #35764 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['33a4d0c7-c311-bd09-afd3-0ef8f3e61c6d'::uuid]);

-- Query #35765 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '33a4d0c7-c311-bd09-afd3-0ef8f3e61c6d'::uuid;

-- Query #35766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33a4d0c7-c311-bd09-afd3-0ef8f3e61c6d'::uuid, 'Imdb', 'tt8933392')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33a4d0c7-c311-bd09-afd3-0ef8f3e61c6d'::uuid, 'Tmdb', 1589343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33a4d0c7-c311-bd09-afd3-0ef8f3e61c6d'::uuid, 'trakt', 3165227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33a4d0c7-c311-bd09-afd3-0ef8f3e61c6d'::uuid, 'TvMaze', 1530254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33a4d0c7-c311-bd09-afd3-0ef8f3e61c6d'::uuid, 'Tvdb', 6843716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35771 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33a4d0c7-c311-bd09-afd3-0ef8f3e61c6d'::uuid, 'TmdbCollection', 1589343)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35772 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '33a4d0c7-c311-bd09-afd3-0ef8f3e61c6d'::uuid;

-- Query #35773 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '33a4d0c7-c311-bd09-afd3-0ef8f3e61c6d'::uuid;

-- Query #35774 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['33a4d0c7-c311-bd09-afd3-0ef8f3e61c6d'::uuid]);

-- Query #35775 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '33a4d0c7-c311-bd09-afd3-0ef8f3e61c6d'::uuid;

-- Query #35776 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35777 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e5e4305-2439-7fa0-f31b-2e25bbc223d4'::uuid;

-- Query #35778 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5e5e4305-2439-7fa0-f31b-2e25bbc223d4'::uuid]);

-- Query #35779 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5e5e4305-2439-7fa0-f31b-2e25bbc223d4'::uuid;

-- Query #35780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e5e4305-2439-7fa0-f31b-2e25bbc223d4'::uuid, 'Imdb', 'tt8933394')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e5e4305-2439-7fa0-f31b-2e25bbc223d4'::uuid, 'Tmdb', 1592250)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e5e4305-2439-7fa0-f31b-2e25bbc223d4'::uuid, 'trakt', 3165229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e5e4305-2439-7fa0-f31b-2e25bbc223d4'::uuid, 'TvMaze', 1530872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e5e4305-2439-7fa0-f31b-2e25bbc223d4'::uuid, 'Tvdb', 6852446)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5e5e4305-2439-7fa0-f31b-2e25bbc223d4'::uuid, 'TmdbCollection', 1592250)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35786 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5e5e4305-2439-7fa0-f31b-2e25bbc223d4'::uuid;

-- Query #35787 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5e5e4305-2439-7fa0-f31b-2e25bbc223d4'::uuid;

-- Query #35788 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5e5e4305-2439-7fa0-f31b-2e25bbc223d4'::uuid]);

-- Query #35789 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5e5e4305-2439-7fa0-f31b-2e25bbc223d4'::uuid;

-- Query #35790 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35791 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7b636c9-ac16-7191-7a40-73163e191861'::uuid;

-- Query #35792 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e7b636c9-ac16-7191-7a40-73163e191861'::uuid]);

-- Query #35793 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e7b636c9-ac16-7191-7a40-73163e191861'::uuid;

-- Query #35794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7b636c9-ac16-7191-7a40-73163e191861'::uuid, 'Imdb', 'tt9201424')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7b636c9-ac16-7191-7a40-73163e191861'::uuid, 'Tmdb', 1703153)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7b636c9-ac16-7191-7a40-73163e191861'::uuid, 'trakt', 3359618)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7b636c9-ac16-7191-7a40-73163e191861'::uuid, 'TvMaze', 1580841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7b636c9-ac16-7191-7a40-73163e191861'::uuid, 'Tvdb', 7021147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35799 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7b636c9-ac16-7191-7a40-73163e191861'::uuid, 'TmdbCollection', 1703153)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35800 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7b636c9-ac16-7191-7a40-73163e191861'::uuid;

-- Query #35801 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e7b636c9-ac16-7191-7a40-73163e191861'::uuid;

-- Query #35802 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e7b636c9-ac16-7191-7a40-73163e191861'::uuid]);

-- Query #35803 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e7b636c9-ac16-7191-7a40-73163e191861'::uuid;

-- Query #35804 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35805 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '224fa9f8-e7ca-73ca-926c-84160c9f61e1'::uuid;

-- Query #35806 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['224fa9f8-e7ca-73ca-926c-84160c9f61e1'::uuid]);

-- Query #35807 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '224fa9f8-e7ca-73ca-926c-84160c9f61e1'::uuid;

-- Query #35808 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('224fa9f8-e7ca-73ca-926c-84160c9f61e1'::uuid, 'Imdb', 'tt9162998')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('224fa9f8-e7ca-73ca-926c-84160c9f61e1'::uuid, 'Tmdb', 1601210)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('224fa9f8-e7ca-73ca-926c-84160c9f61e1'::uuid, 'trakt', 3200929)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35811 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('224fa9f8-e7ca-73ca-926c-84160c9f61e1'::uuid, 'TvMaze', 1530874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35812 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('224fa9f8-e7ca-73ca-926c-84160c9f61e1'::uuid, 'Tvdb', 6869294)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35813 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('224fa9f8-e7ca-73ca-926c-84160c9f61e1'::uuid, 'TmdbCollection', 1601210)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35814 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '224fa9f8-e7ca-73ca-926c-84160c9f61e1'::uuid;

-- Query #35815 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '224fa9f8-e7ca-73ca-926c-84160c9f61e1'::uuid;

-- Query #35816 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['224fa9f8-e7ca-73ca-926c-84160c9f61e1'::uuid]);

-- Query #35817 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '224fa9f8-e7ca-73ca-926c-84160c9f61e1'::uuid;

-- Query #35818 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35819 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6ba055b2-57d3-be8d-646f-153961c67819'::uuid;

-- Query #35820 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6ba055b2-57d3-be8d-646f-153961c67819'::uuid]);

-- Query #35821 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6ba055b2-57d3-be8d-646f-153961c67819'::uuid;

-- Query #35822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ba055b2-57d3-be8d-646f-153961c67819'::uuid, 'Imdb', 'tt9201406')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35823 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ba055b2-57d3-be8d-646f-153961c67819'::uuid, 'Tmdb', 1624067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ba055b2-57d3-be8d-646f-153961c67819'::uuid, 'trakt', 3240022)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ba055b2-57d3-be8d-646f-153961c67819'::uuid, 'TvMaze', 1565243)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ba055b2-57d3-be8d-646f-153961c67819'::uuid, 'Tvdb', 6905338)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ba055b2-57d3-be8d-646f-153961c67819'::uuid, 'TmdbCollection', 1624067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35828 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6ba055b2-57d3-be8d-646f-153961c67819'::uuid;

-- Query #35829 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6ba055b2-57d3-be8d-646f-153961c67819'::uuid;

-- Query #35830 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6ba055b2-57d3-be8d-646f-153961c67819'::uuid]);

-- Query #35831 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6ba055b2-57d3-be8d-646f-153961c67819'::uuid;

-- Query #35832 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35833 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e615691c-f72a-42b3-71a5-90c3820d01fd'::uuid;

-- Query #35834 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e615691c-f72a-42b3-71a5-90c3820d01fd'::uuid]);

-- Query #35835 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e615691c-f72a-42b3-71a5-90c3820d01fd'::uuid;

-- Query #35836 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e615691c-f72a-42b3-71a5-90c3820d01fd'::uuid, 'Imdb', 'tt8712558')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e615691c-f72a-42b3-71a5-90c3820d01fd'::uuid, 'Tmdb', 1544196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e615691c-f72a-42b3-71a5-90c3820d01fd'::uuid, 'trakt', 3094069)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e615691c-f72a-42b3-71a5-90c3820d01fd'::uuid, 'TvMaze', 1501082)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e615691c-f72a-42b3-71a5-90c3820d01fd'::uuid, 'Tvdb', 6770369)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35841 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e615691c-f72a-42b3-71a5-90c3820d01fd'::uuid, 'TmdbCollection', 1544196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35842 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e615691c-f72a-42b3-71a5-90c3820d01fd'::uuid;

-- Query #35843 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e615691c-f72a-42b3-71a5-90c3820d01fd'::uuid;

-- Query #35844 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e615691c-f72a-42b3-71a5-90c3820d01fd'::uuid]);

-- Query #35845 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e615691c-f72a-42b3-71a5-90c3820d01fd'::uuid;

-- Query #35846 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35847 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '890611f4-82ba-19a7-6049-8139eb62eb76'::uuid;

-- Query #35848 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['890611f4-82ba-19a7-6049-8139eb62eb76'::uuid]);

-- Query #35849 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '890611f4-82ba-19a7-6049-8139eb62eb76'::uuid;

-- Query #35850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('890611f4-82ba-19a7-6049-8139eb62eb76'::uuid, 'Imdb', 'tt9201420')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('890611f4-82ba-19a7-6049-8139eb62eb76'::uuid, 'Tmdb', 1695390)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('890611f4-82ba-19a7-6049-8139eb62eb76'::uuid, 'trakt', 3343079)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('890611f4-82ba-19a7-6049-8139eb62eb76'::uuid, 'TvMaze', 1580839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('890611f4-82ba-19a7-6049-8139eb62eb76'::uuid, 'Tvdb', 7007614)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('890611f4-82ba-19a7-6049-8139eb62eb76'::uuid, 'TmdbCollection', 1695390)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35856 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '890611f4-82ba-19a7-6049-8139eb62eb76'::uuid;

-- Query #35857 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '890611f4-82ba-19a7-6049-8139eb62eb76'::uuid;

-- Query #35858 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['890611f4-82ba-19a7-6049-8139eb62eb76'::uuid]);

-- Query #35859 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '890611f4-82ba-19a7-6049-8139eb62eb76'::uuid;

-- Query #35860 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35861 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '65b6ddae-aff3-a09d-7cd2-d9a030025b4c'::uuid;

-- Query #35862 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65b6ddae-aff3-a09d-7cd2-d9a030025b4c'::uuid]);

-- Query #35863 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '65b6ddae-aff3-a09d-7cd2-d9a030025b4c'::uuid;

-- Query #35864 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65b6ddae-aff3-a09d-7cd2-d9a030025b4c'::uuid, 'Imdb', 'tt9201422')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35865 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65b6ddae-aff3-a09d-7cd2-d9a030025b4c'::uuid, 'Tmdb', 1703152)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65b6ddae-aff3-a09d-7cd2-d9a030025b4c'::uuid, 'trakt', 3359617)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65b6ddae-aff3-a09d-7cd2-d9a030025b4c'::uuid, 'TvMaze', 1580840)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35868 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65b6ddae-aff3-a09d-7cd2-d9a030025b4c'::uuid, 'Tvdb', 7021146)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35869 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65b6ddae-aff3-a09d-7cd2-d9a030025b4c'::uuid, 'TmdbCollection', 1703152)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35870 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '65b6ddae-aff3-a09d-7cd2-d9a030025b4c'::uuid;

-- Query #35871 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '65b6ddae-aff3-a09d-7cd2-d9a030025b4c'::uuid;

-- Query #35872 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['65b6ddae-aff3-a09d-7cd2-d9a030025b4c'::uuid]);

-- Query #35873 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '65b6ddae-aff3-a09d-7cd2-d9a030025b4c'::uuid;

-- Query #35874 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35875 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0cab483-60fe-9d6b-fdb8-3ea6ba0224ea'::uuid;

-- Query #35876 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0cab483-60fe-9d6b-fdb8-3ea6ba0224ea'::uuid]);

-- Query #35877 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a0cab483-60fe-9d6b-fdb8-3ea6ba0224ea'::uuid;

-- Query #35878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0cab483-60fe-9d6b-fdb8-3ea6ba0224ea'::uuid, 'Imdb', 'tt8871404')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0cab483-60fe-9d6b-fdb8-3ea6ba0224ea'::uuid, 'Tmdb', 1589342)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0cab483-60fe-9d6b-fdb8-3ea6ba0224ea'::uuid, 'trakt', 3165225)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0cab483-60fe-9d6b-fdb8-3ea6ba0224ea'::uuid, 'TvMaze', 1530253)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0cab483-60fe-9d6b-fdb8-3ea6ba0224ea'::uuid, 'Tvdb', 6835379)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0cab483-60fe-9d6b-fdb8-3ea6ba0224ea'::uuid, 'TmdbCollection', 1589342)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35884 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0cab483-60fe-9d6b-fdb8-3ea6ba0224ea'::uuid;

-- Query #35885 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a0cab483-60fe-9d6b-fdb8-3ea6ba0224ea'::uuid;

-- Query #35886 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a0cab483-60fe-9d6b-fdb8-3ea6ba0224ea'::uuid]);

-- Query #35887 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a0cab483-60fe-9d6b-fdb8-3ea6ba0224ea'::uuid;

-- Query #35888 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35889 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '146c4ca1-493b-548a-f86a-cd41461c0ec1'::uuid;

-- Query #35890 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['146c4ca1-493b-548a-f86a-cd41461c0ec1'::uuid]);

-- Query #35891 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '146c4ca1-493b-548a-f86a-cd41461c0ec1'::uuid;

-- Query #35892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('146c4ca1-493b-548a-f86a-cd41461c0ec1'::uuid, 'Imdb', 'tt9201412')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('146c4ca1-493b-548a-f86a-cd41461c0ec1'::uuid, 'Tmdb', 1660233)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('146c4ca1-493b-548a-f86a-cd41461c0ec1'::uuid, 'trakt', 3274413)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35895 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('146c4ca1-493b-548a-f86a-cd41461c0ec1'::uuid, 'TvMaze', 1580836)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('146c4ca1-493b-548a-f86a-cd41461c0ec1'::uuid, 'Tvdb', 6938425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('146c4ca1-493b-548a-f86a-cd41461c0ec1'::uuid, 'TmdbCollection', 1660233)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35898 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '146c4ca1-493b-548a-f86a-cd41461c0ec1'::uuid;

-- Query #35899 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '146c4ca1-493b-548a-f86a-cd41461c0ec1'::uuid;

-- Query #35900 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['146c4ca1-493b-548a-f86a-cd41461c0ec1'::uuid]);

-- Query #35901 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '146c4ca1-493b-548a-f86a-cd41461c0ec1'::uuid;

-- Query #35902 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35903 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ed2e3b9-c3c2-b4cc-d8b3-80956092cd46'::uuid;

-- Query #35904 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ed2e3b9-c3c2-b4cc-d8b3-80956092cd46'::uuid]);

-- Query #35905 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8ed2e3b9-c3c2-b4cc-d8b3-80956092cd46'::uuid;

-- Query #35906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ed2e3b9-c3c2-b4cc-d8b3-80956092cd46'::uuid, 'Imdb', 'tt9201418')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ed2e3b9-c3c2-b4cc-d8b3-80956092cd46'::uuid, 'Tmdb', 1677227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ed2e3b9-c3c2-b4cc-d8b3-80956092cd46'::uuid, 'trakt', 3328209)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ed2e3b9-c3c2-b4cc-d8b3-80956092cd46'::uuid, 'TvMaze', 1580838)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ed2e3b9-c3c2-b4cc-d8b3-80956092cd46'::uuid, 'Tvdb', 6996374)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ed2e3b9-c3c2-b4cc-d8b3-80956092cd46'::uuid, 'TmdbCollection', 1677227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35912 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ed2e3b9-c3c2-b4cc-d8b3-80956092cd46'::uuid;

-- Query #35913 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8ed2e3b9-c3c2-b4cc-d8b3-80956092cd46'::uuid;

-- Query #35914 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8ed2e3b9-c3c2-b4cc-d8b3-80956092cd46'::uuid]);

-- Query #35915 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8ed2e3b9-c3c2-b4cc-d8b3-80956092cd46'::uuid;

-- Query #35916 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35917 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1e201cf4-fc1b-85a1-fa7a-482ca3f46359'::uuid;

-- Query #35918 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1e201cf4-fc1b-85a1-fa7a-482ca3f46359'::uuid]);

-- Query #35919 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1e201cf4-fc1b-85a1-fa7a-482ca3f46359'::uuid;

-- Query #35920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1e201cf4-fc1b-85a1-fa7a-482ca3f46359'::uuid, 'Imdb', 'tt9201416')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1e201cf4-fc1b-85a1-fa7a-482ca3f46359'::uuid, 'Tmdb', 1675689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1e201cf4-fc1b-85a1-fa7a-482ca3f46359'::uuid, 'trakt', 3322463)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1e201cf4-fc1b-85a1-fa7a-482ca3f46359'::uuid, 'TvMaze', 1580837)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1e201cf4-fc1b-85a1-fa7a-482ca3f46359'::uuid, 'Tvdb', 6991569)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1e201cf4-fc1b-85a1-fa7a-482ca3f46359'::uuid, 'TmdbCollection', 1675689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35926 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1e201cf4-fc1b-85a1-fa7a-482ca3f46359'::uuid;

-- Query #35927 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1e201cf4-fc1b-85a1-fa7a-482ca3f46359'::uuid;

-- Query #35928 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1e201cf4-fc1b-85a1-fa7a-482ca3f46359'::uuid]);

-- Query #35929 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1e201cf4-fc1b-85a1-fa7a-482ca3f46359'::uuid;

-- Query #35930 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35931 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a00ad72-062b-8860-bf88-f779a4febdc9'::uuid;

-- Query #35932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a00ad72-062b-8860-bf88-f779a4febdc9'::uuid]);

-- Query #35933 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4a00ad72-062b-8860-bf88-f779a4febdc9'::uuid;

-- Query #35934 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a00ad72-062b-8860-bf88-f779a4febdc9'::uuid, 'Imdb', 'tt9036816')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a00ad72-062b-8860-bf88-f779a4febdc9'::uuid, 'Tmdb', 1601209)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a00ad72-062b-8860-bf88-f779a4febdc9'::uuid, 'trakt', 3165230)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a00ad72-062b-8860-bf88-f779a4febdc9'::uuid, 'TvMaze', 1530873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a00ad72-062b-8860-bf88-f779a4febdc9'::uuid, 'Tvdb', 6862167)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a00ad72-062b-8860-bf88-f779a4febdc9'::uuid, 'TmdbCollection', 1601209)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35940 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a00ad72-062b-8860-bf88-f779a4febdc9'::uuid;

-- Query #35941 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4a00ad72-062b-8860-bf88-f779a4febdc9'::uuid;

-- Query #35942 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4a00ad72-062b-8860-bf88-f779a4febdc9'::uuid]);

-- Query #35943 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4a00ad72-062b-8860-bf88-f779a4febdc9'::uuid;

-- Query #35944 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35945 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa40e6c4-30d1-8451-8411-996613ccc358'::uuid;

-- Query #35946 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aa40e6c4-30d1-8451-8411-996613ccc358'::uuid]);

-- Query #35947 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'aa40e6c4-30d1-8451-8411-996613ccc358'::uuid;

-- Query #35948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa40e6c4-30d1-8451-8411-996613ccc358'::uuid, 'Imdb', 'tt11786452')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa40e6c4-30d1-8451-8411-996613ccc358'::uuid, 'Tmdb', 2169692)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa40e6c4-30d1-8451-8411-996613ccc358'::uuid, 'trakt', 4003067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa40e6c4-30d1-8451-8411-996613ccc358'::uuid, 'TvMaze', 1801293)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa40e6c4-30d1-8451-8411-996613ccc358'::uuid, 'Tvdb', 7590826)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa40e6c4-30d1-8451-8411-996613ccc358'::uuid, 'TmdbCollection', 2169692)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa40e6c4-30d1-8451-8411-996613ccc358'::uuid;

-- Query #35955 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'aa40e6c4-30d1-8451-8411-996613ccc358'::uuid;

-- Query #35956 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['aa40e6c4-30d1-8451-8411-996613ccc358'::uuid]);

-- Query #35957 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'aa40e6c4-30d1-8451-8411-996613ccc358'::uuid;

-- Query #35958 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35959 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '692a6ffe-77de-68b5-e5e2-e07f9e04aeba'::uuid;

-- Query #35960 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['692a6ffe-77de-68b5-e5e2-e07f9e04aeba'::uuid]);

-- Query #35961 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '692a6ffe-77de-68b5-e5e2-e07f9e04aeba'::uuid;

-- Query #35962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('692a6ffe-77de-68b5-e5e2-e07f9e04aeba'::uuid, 'Imdb', 'tt9728114')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('692a6ffe-77de-68b5-e5e2-e07f9e04aeba'::uuid, 'Tmdb', 1878098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35964 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('692a6ffe-77de-68b5-e5e2-e07f9e04aeba'::uuid, 'trakt', 3547911)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('692a6ffe-77de-68b5-e5e2-e07f9e04aeba'::uuid, 'TvMaze', 1667398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('692a6ffe-77de-68b5-e5e2-e07f9e04aeba'::uuid, 'Tvdb', 7207515)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('692a6ffe-77de-68b5-e5e2-e07f9e04aeba'::uuid, 'TmdbCollection', 1878098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35968 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '692a6ffe-77de-68b5-e5e2-e07f9e04aeba'::uuid;

-- Query #35969 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '692a6ffe-77de-68b5-e5e2-e07f9e04aeba'::uuid;

-- Query #35970 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['692a6ffe-77de-68b5-e5e2-e07f9e04aeba'::uuid]);

-- Query #35971 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '692a6ffe-77de-68b5-e5e2-e07f9e04aeba'::uuid;

-- Query #35972 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35973 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4c452f8c-aa8b-47f8-ea99-9cb7f655af17'::uuid;

-- Query #35974 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4c452f8c-aa8b-47f8-ea99-9cb7f655af17'::uuid]);

-- Query #35975 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4c452f8c-aa8b-47f8-ea99-9cb7f655af17'::uuid;

-- Query #35976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c452f8c-aa8b-47f8-ea99-9cb7f655af17'::uuid, 'Imdb', 'tt11676012')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c452f8c-aa8b-47f8-ea99-9cb7f655af17'::uuid, 'Tmdb', 2064178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c452f8c-aa8b-47f8-ea99-9cb7f655af17'::uuid, 'trakt', 3968060)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c452f8c-aa8b-47f8-ea99-9cb7f655af17'::uuid, 'TvMaze', 1794204)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c452f8c-aa8b-47f8-ea99-9cb7f655af17'::uuid, 'Tvdb', 7564096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c452f8c-aa8b-47f8-ea99-9cb7f655af17'::uuid, 'TmdbCollection', 2064178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4c452f8c-aa8b-47f8-ea99-9cb7f655af17'::uuid;

-- Query #35983 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4c452f8c-aa8b-47f8-ea99-9cb7f655af17'::uuid;

-- Query #35984 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4c452f8c-aa8b-47f8-ea99-9cb7f655af17'::uuid]);

-- Query #35985 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4c452f8c-aa8b-47f8-ea99-9cb7f655af17'::uuid;

-- Query #35986 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #35987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd3c1df63-8676-79eb-ff28-e602a40c1779'::uuid;

-- Query #35988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3c1df63-8676-79eb-ff28-e602a40c1779'::uuid]);

-- Query #35989 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd3c1df63-8676-79eb-ff28-e602a40c1779'::uuid;

-- Query #35990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3c1df63-8676-79eb-ff28-e602a40c1779'::uuid, 'Imdb', 'tt11182148')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3c1df63-8676-79eb-ff28-e602a40c1779'::uuid, 'Tmdb', 1973789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3c1df63-8676-79eb-ff28-e602a40c1779'::uuid, 'trakt', 3784047)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3c1df63-8676-79eb-ff28-e602a40c1779'::uuid, 'TvMaze', 1744896)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3c1df63-8676-79eb-ff28-e602a40c1779'::uuid, 'Tvdb', 7423537)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3c1df63-8676-79eb-ff28-e602a40c1779'::uuid, 'TmdbCollection', 1973789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #35996 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd3c1df63-8676-79eb-ff28-e602a40c1779'::uuid;

-- Query #35997 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd3c1df63-8676-79eb-ff28-e602a40c1779'::uuid;

-- Query #35998 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d3c1df63-8676-79eb-ff28-e602a40c1779'::uuid]);

-- Query #35999 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd3c1df63-8676-79eb-ff28-e602a40c1779'::uuid;

-- Query #36000 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36001 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd289bec-e156-4aa8-bbaf-8c25944f8d01'::uuid;

-- Query #36002 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd289bec-e156-4aa8-bbaf-8c25944f8d01'::uuid]);

-- Query #36003 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dd289bec-e156-4aa8-bbaf-8c25944f8d01'::uuid;

-- Query #36004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd289bec-e156-4aa8-bbaf-8c25944f8d01'::uuid, 'Imdb', 'tt10465966')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36005 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd289bec-e156-4aa8-bbaf-8c25944f8d01'::uuid, 'Tmdb', 1932384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36006 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd289bec-e156-4aa8-bbaf-8c25944f8d01'::uuid, 'trakt', 3547912)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd289bec-e156-4aa8-bbaf-8c25944f8d01'::uuid, 'TvMaze', 1714747)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd289bec-e156-4aa8-bbaf-8c25944f8d01'::uuid, 'Tvdb', 7298892)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd289bec-e156-4aa8-bbaf-8c25944f8d01'::uuid, 'TmdbCollection', 1932384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36010 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd289bec-e156-4aa8-bbaf-8c25944f8d01'::uuid;

-- Query #36011 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dd289bec-e156-4aa8-bbaf-8c25944f8d01'::uuid;

-- Query #36012 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dd289bec-e156-4aa8-bbaf-8c25944f8d01'::uuid]);

-- Query #36013 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dd289bec-e156-4aa8-bbaf-8c25944f8d01'::uuid;

-- Query #36014 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36015 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '19e695ff-145b-fcaf-f4e7-f6252c71c9e0'::uuid;

-- Query #36016 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['19e695ff-145b-fcaf-f4e7-f6252c71c9e0'::uuid]);

-- Query #36017 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '19e695ff-145b-fcaf-f4e7-f6252c71c9e0'::uuid;

-- Query #36018 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19e695ff-145b-fcaf-f4e7-f6252c71c9e0'::uuid, 'Imdb', 'tt11300920')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19e695ff-145b-fcaf-f4e7-f6252c71c9e0'::uuid, 'Tmdb', 2064177)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36020 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19e695ff-145b-fcaf-f4e7-f6252c71c9e0'::uuid, 'trakt', 3918096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36021 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19e695ff-145b-fcaf-f4e7-f6252c71c9e0'::uuid, 'TvMaze', 1790668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36022 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19e695ff-145b-fcaf-f4e7-f6252c71c9e0'::uuid, 'Tvdb', 7526396)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36023 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('19e695ff-145b-fcaf-f4e7-f6252c71c9e0'::uuid, 'TmdbCollection', 2064177)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36024 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '19e695ff-145b-fcaf-f4e7-f6252c71c9e0'::uuid;

-- Query #36025 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '19e695ff-145b-fcaf-f4e7-f6252c71c9e0'::uuid;

-- Query #36026 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['19e695ff-145b-fcaf-f4e7-f6252c71c9e0'::uuid]);

-- Query #36027 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '19e695ff-145b-fcaf-f4e7-f6252c71c9e0'::uuid;

-- Query #36028 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36029 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3307e6f0-9f25-571d-3418-0fc3de14fb84'::uuid;

-- Query #36030 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #36031 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3307e6f0-9f25-571d-3418-0fc3de14fb84'::uuid]);

-- Query #36032 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3307e6f0-9f25-571d-3418-0fc3de14fb84'::uuid;

-- Query #36033 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3307e6f0-9f25-571d-3418-0fc3de14fb84'::uuid, 'Imdb', 'tt11071772')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36034 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3307e6f0-9f25-571d-3418-0fc3de14fb84'::uuid, 'Tmdb', 1993556)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3307e6f0-9f25-571d-3418-0fc3de14fb84'::uuid, 'trakt', 3809186)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3307e6f0-9f25-571d-3418-0fc3de14fb84'::uuid, 'TvMaze', 1760437)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3307e6f0-9f25-571d-3418-0fc3de14fb84'::uuid, 'Tvdb', 7445409)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3307e6f0-9f25-571d-3418-0fc3de14fb84'::uuid, 'TmdbCollection', 1993556)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36039 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3307e6f0-9f25-571d-3418-0fc3de14fb84'::uuid;

-- Query #36040 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3307e6f0-9f25-571d-3418-0fc3de14fb84'::uuid;

-- Query #36041 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3307e6f0-9f25-571d-3418-0fc3de14fb84'::uuid]);

-- Query #36042 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3307e6f0-9f25-571d-3418-0fc3de14fb84'::uuid;

-- Query #36043 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36044 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd97acae6-3689-06b2-1652-11b70e3a8460'::uuid;

-- Query #36045 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d97acae6-3689-06b2-1652-11b70e3a8460'::uuid]);

-- Query #36046 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd97acae6-3689-06b2-1652-11b70e3a8460'::uuid;

-- Query #36047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d97acae6-3689-06b2-1652-11b70e3a8460'::uuid, 'Imdb', 'tt11770832')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d97acae6-3689-06b2-1652-11b70e3a8460'::uuid, 'Tmdb', 2169691)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d97acae6-3689-06b2-1652-11b70e3a8460'::uuid, 'trakt', 3985299)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d97acae6-3689-06b2-1652-11b70e3a8460'::uuid, 'TvMaze', 1798809)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d97acae6-3689-06b2-1652-11b70e3a8460'::uuid, 'Tvdb', 7579074)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d97acae6-3689-06b2-1652-11b70e3a8460'::uuid, 'TmdbCollection', 2169691)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36053 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd97acae6-3689-06b2-1652-11b70e3a8460'::uuid;

-- Query #36054 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd97acae6-3689-06b2-1652-11b70e3a8460'::uuid;

-- Query #36055 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d97acae6-3689-06b2-1652-11b70e3a8460'::uuid]);

-- Query #36056 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd97acae6-3689-06b2-1652-11b70e3a8460'::uuid;

-- Query #36057 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36058 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '93a871db-5981-c55d-5868-db33570991e0'::uuid;

-- Query #36059 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['93a871db-5981-c55d-5868-db33570991e0'::uuid]);

-- Query #36060 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '93a871db-5981-c55d-5868-db33570991e0'::uuid;

-- Query #36061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93a871db-5981-c55d-5868-db33570991e0'::uuid, 'Imdb', 'tt10746488')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93a871db-5981-c55d-5868-db33570991e0'::uuid, 'Tmdb', 1932385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93a871db-5981-c55d-5868-db33570991e0'::uuid, 'trakt', 3713943)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93a871db-5981-c55d-5868-db33570991e0'::uuid, 'TvMaze', 1717290)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93a871db-5981-c55d-5868-db33570991e0'::uuid, 'Tvdb', 7362595)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93a871db-5981-c55d-5868-db33570991e0'::uuid, 'TmdbCollection', 1932385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36067 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '93a871db-5981-c55d-5868-db33570991e0'::uuid;

-- Query #36068 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '93a871db-5981-c55d-5868-db33570991e0'::uuid;

-- Query #36069 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['93a871db-5981-c55d-5868-db33570991e0'::uuid]);

-- Query #36070 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '93a871db-5981-c55d-5868-db33570991e0'::uuid;

-- Query #36071 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36072 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '73eaca17-37c3-034f-a566-b87770acbe50'::uuid;

-- Query #36073 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['73eaca17-37c3-034f-a566-b87770acbe50'::uuid]);

-- Query #36074 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '73eaca17-37c3-034f-a566-b87770acbe50'::uuid;

-- Query #36075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73eaca17-37c3-034f-a566-b87770acbe50'::uuid, 'Imdb', 'tt11833310')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73eaca17-37c3-034f-a566-b87770acbe50'::uuid, 'Tmdb', 2177372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36077 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73eaca17-37c3-034f-a566-b87770acbe50'::uuid, 'trakt', 4012668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36078 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73eaca17-37c3-034f-a566-b87770acbe50'::uuid, 'TvMaze', 1806275)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36079 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73eaca17-37c3-034f-a566-b87770acbe50'::uuid, 'Tvdb', 7599928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('73eaca17-37c3-034f-a566-b87770acbe50'::uuid, 'TmdbCollection', 2177372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36081 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '73eaca17-37c3-034f-a566-b87770acbe50'::uuid;

-- Query #36082 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '73eaca17-37c3-034f-a566-b87770acbe50'::uuid;

-- Query #36083 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['73eaca17-37c3-034f-a566-b87770acbe50'::uuid]);

-- Query #36084 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '73eaca17-37c3-034f-a566-b87770acbe50'::uuid;

-- Query #36085 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36086 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b4a4312-1ab2-27cd-6070-408dc18a69e7'::uuid;

-- Query #36087 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b4a4312-1ab2-27cd-6070-408dc18a69e7'::uuid]);

-- Query #36088 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0b4a4312-1ab2-27cd-6070-408dc18a69e7'::uuid;

-- Query #36089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4a4312-1ab2-27cd-6070-408dc18a69e7'::uuid, 'Imdb', 'tt11833306')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4a4312-1ab2-27cd-6070-408dc18a69e7'::uuid, 'Tmdb', 2177371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4a4312-1ab2-27cd-6070-408dc18a69e7'::uuid, 'trakt', 4012667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4a4312-1ab2-27cd-6070-408dc18a69e7'::uuid, 'TvMaze', 1805599)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4a4312-1ab2-27cd-6070-408dc18a69e7'::uuid, 'Tvdb', 7599924)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b4a4312-1ab2-27cd-6070-408dc18a69e7'::uuid, 'TmdbCollection', 2177371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36095 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b4a4312-1ab2-27cd-6070-408dc18a69e7'::uuid;

-- Query #36096 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0b4a4312-1ab2-27cd-6070-408dc18a69e7'::uuid;

-- Query #36097 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0b4a4312-1ab2-27cd-6070-408dc18a69e7'::uuid]);

-- Query #36098 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0b4a4312-1ab2-27cd-6070-408dc18a69e7'::uuid;

-- Query #36099 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36100 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '75a0d2a1-c7d6-cfba-0044-4d5d9fe4f290'::uuid;

-- Query #36101 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['75a0d2a1-c7d6-cfba-0044-4d5d9fe4f290'::uuid]);

-- Query #36102 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '75a0d2a1-c7d6-cfba-0044-4d5d9fe4f290'::uuid;

-- Query #36103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75a0d2a1-c7d6-cfba-0044-4d5d9fe4f290'::uuid, 'Imdb', 'tt10939208')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75a0d2a1-c7d6-cfba-0044-4d5d9fe4f290'::uuid, 'Tmdb', 1939841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75a0d2a1-c7d6-cfba-0044-4d5d9fe4f290'::uuid, 'trakt', 3739876)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75a0d2a1-c7d6-cfba-0044-4d5d9fe4f290'::uuid, 'TvMaze', 1722462)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75a0d2a1-c7d6-cfba-0044-4d5d9fe4f290'::uuid, 'Tvdb', 7381604)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75a0d2a1-c7d6-cfba-0044-4d5d9fe4f290'::uuid, 'TmdbCollection', 1939841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36109 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '75a0d2a1-c7d6-cfba-0044-4d5d9fe4f290'::uuid;

-- Query #36110 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '75a0d2a1-c7d6-cfba-0044-4d5d9fe4f290'::uuid;

-- Query #36111 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['75a0d2a1-c7d6-cfba-0044-4d5d9fe4f290'::uuid]);

-- Query #36112 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '75a0d2a1-c7d6-cfba-0044-4d5d9fe4f290'::uuid;

-- Query #36113 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36114 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3c6ca9c-f9ef-3fd3-c153-1bc945389136'::uuid;

-- Query #36115 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b3c6ca9c-f9ef-3fd3-c153-1bc945389136'::uuid]);

-- Query #36116 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b3c6ca9c-f9ef-3fd3-c153-1bc945389136'::uuid;

-- Query #36117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3c6ca9c-f9ef-3fd3-c153-1bc945389136'::uuid, 'Imdb', 'tt11723874')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3c6ca9c-f9ef-3fd3-c153-1bc945389136'::uuid, 'Tmdb', 2157254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3c6ca9c-f9ef-3fd3-c153-1bc945389136'::uuid, 'trakt', 3985298)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3c6ca9c-f9ef-3fd3-c153-1bc945389136'::uuid, 'TvMaze', 1796271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3c6ca9c-f9ef-3fd3-c153-1bc945389136'::uuid, 'Tvdb', 7577475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3c6ca9c-f9ef-3fd3-c153-1bc945389136'::uuid, 'TmdbCollection', 2157254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36123 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3c6ca9c-f9ef-3fd3-c153-1bc945389136'::uuid;

-- Query #36124 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b3c6ca9c-f9ef-3fd3-c153-1bc945389136'::uuid;

-- Query #36125 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b3c6ca9c-f9ef-3fd3-c153-1bc945389136'::uuid]);

-- Query #36126 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b3c6ca9c-f9ef-3fd3-c153-1bc945389136'::uuid;

-- Query #36127 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36128 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74020ab1-2473-fd81-7634-0ff25f6a8ca0'::uuid;

-- Query #36129 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['74020ab1-2473-fd81-7634-0ff25f6a8ca0'::uuid]);

-- Query #36130 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '74020ab1-2473-fd81-7634-0ff25f6a8ca0'::uuid;

-- Query #36131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74020ab1-2473-fd81-7634-0ff25f6a8ca0'::uuid, 'Imdb', 'tt11182116')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74020ab1-2473-fd81-7634-0ff25f6a8ca0'::uuid, 'Tmdb', 1965819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74020ab1-2473-fd81-7634-0ff25f6a8ca0'::uuid, 'trakt', 3768349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74020ab1-2473-fd81-7634-0ff25f6a8ca0'::uuid, 'TvMaze', 1737625)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74020ab1-2473-fd81-7634-0ff25f6a8ca0'::uuid, 'Tvdb', 7407241)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74020ab1-2473-fd81-7634-0ff25f6a8ca0'::uuid, 'TmdbCollection', 1965819)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36137 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74020ab1-2473-fd81-7634-0ff25f6a8ca0'::uuid;

-- Query #36138 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '74020ab1-2473-fd81-7634-0ff25f6a8ca0'::uuid;

-- Query #36139 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['74020ab1-2473-fd81-7634-0ff25f6a8ca0'::uuid]);

-- Query #36140 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '74020ab1-2473-fd81-7634-0ff25f6a8ca0'::uuid;

-- Query #36141 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36142 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c94019c3-bb7f-d3fb-de7e-21846fdd48c3'::uuid;

-- Query #36143 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c94019c3-bb7f-d3fb-de7e-21846fdd48c3'::uuid]);

-- Query #36144 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c94019c3-bb7f-d3fb-de7e-21846fdd48c3'::uuid;

-- Query #36145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c94019c3-bb7f-d3fb-de7e-21846fdd48c3'::uuid, 'Imdb', 'tt11833314')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c94019c3-bb7f-d3fb-de7e-21846fdd48c3'::uuid, 'Tmdb', 2185439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c94019c3-bb7f-d3fb-de7e-21846fdd48c3'::uuid, 'trakt', 4014554)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c94019c3-bb7f-d3fb-de7e-21846fdd48c3'::uuid, 'TvMaze', 1806277)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c94019c3-bb7f-d3fb-de7e-21846fdd48c3'::uuid, 'Tvdb', 7601339)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c94019c3-bb7f-d3fb-de7e-21846fdd48c3'::uuid, 'TmdbCollection', 2185439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36151 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c94019c3-bb7f-d3fb-de7e-21846fdd48c3'::uuid;

-- Query #36152 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c94019c3-bb7f-d3fb-de7e-21846fdd48c3'::uuid;

-- Query #36153 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c94019c3-bb7f-d3fb-de7e-21846fdd48c3'::uuid]);

-- Query #36154 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c94019c3-bb7f-d3fb-de7e-21846fdd48c3'::uuid;

-- Query #36155 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36156 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '34dbc53f-28b6-b027-788a-72343bd56169'::uuid;

-- Query #36157 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['34dbc53f-28b6-b027-788a-72343bd56169'::uuid]);

-- Query #36158 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '34dbc53f-28b6-b027-788a-72343bd56169'::uuid;

-- Query #36159 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34dbc53f-28b6-b027-788a-72343bd56169'::uuid, 'Imdb', 'tt11235616')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34dbc53f-28b6-b027-788a-72343bd56169'::uuid, 'Tmdb', 1977186)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34dbc53f-28b6-b027-788a-72343bd56169'::uuid, 'trakt', 3799803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34dbc53f-28b6-b027-788a-72343bd56169'::uuid, 'TvMaze', 1749385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34dbc53f-28b6-b027-788a-72343bd56169'::uuid, 'Tvdb', 7436907)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34dbc53f-28b6-b027-788a-72343bd56169'::uuid, 'TmdbCollection', 1977186)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36165 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '34dbc53f-28b6-b027-788a-72343bd56169'::uuid;

-- Query #36166 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '34dbc53f-28b6-b027-788a-72343bd56169'::uuid;

-- Query #36167 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['34dbc53f-28b6-b027-788a-72343bd56169'::uuid]);

-- Query #36168 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '34dbc53f-28b6-b027-788a-72343bd56169'::uuid;

-- Query #36169 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36170 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e0f9968e-ee9f-d298-0ef6-797c1b6ffd98'::uuid;

-- Query #36171 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e0f9968e-ee9f-d298-0ef6-797c1b6ffd98'::uuid]);

-- Query #36172 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e0f9968e-ee9f-d298-0ef6-797c1b6ffd98'::uuid;

-- Query #36173 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0f9968e-ee9f-d298-0ef6-797c1b6ffd98'::uuid, 'Imdb', 'tt11125868')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36174 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0f9968e-ee9f-d298-0ef6-797c1b6ffd98'::uuid, 'Tmdb', 1965818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0f9968e-ee9f-d298-0ef6-797c1b6ffd98'::uuid, 'trakt', 3768348)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0f9968e-ee9f-d298-0ef6-797c1b6ffd98'::uuid, 'TvMaze', 1732289)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0f9968e-ee9f-d298-0ef6-797c1b6ffd98'::uuid, 'Tvdb', 7407240)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e0f9968e-ee9f-d298-0ef6-797c1b6ffd98'::uuid, 'TmdbCollection', 1965818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36179 | logged_duration_ms=2 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e0f9968e-ee9f-d298-0ef6-797c1b6ffd98'::uuid;

-- Query #36180 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e0f9968e-ee9f-d298-0ef6-797c1b6ffd98'::uuid;

-- Query #36181 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e0f9968e-ee9f-d298-0ef6-797c1b6ffd98'::uuid]);

-- Query #36182 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e0f9968e-ee9f-d298-0ef6-797c1b6ffd98'::uuid;

-- Query #36183 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36184 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '877628f2-98a7-eeda-ba4a-d5f8f6a8498d'::uuid;

-- Query #36185 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['877628f2-98a7-eeda-ba4a-d5f8f6a8498d'::uuid]);

-- Query #36186 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '877628f2-98a7-eeda-ba4a-d5f8f6a8498d'::uuid;

-- Query #36187 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877628f2-98a7-eeda-ba4a-d5f8f6a8498d'::uuid, 'Imdb', 'tt11317416')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36188 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877628f2-98a7-eeda-ba4a-d5f8f6a8498d'::uuid, 'Tmdb', 2049792)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877628f2-98a7-eeda-ba4a-d5f8f6a8498d'::uuid, 'trakt', 3918093)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877628f2-98a7-eeda-ba4a-d5f8f6a8498d'::uuid, 'TvMaze', 1788160)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877628f2-98a7-eeda-ba4a-d5f8f6a8498d'::uuid, 'Tvdb', 7526394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877628f2-98a7-eeda-ba4a-d5f8f6a8498d'::uuid, 'TmdbCollection', 2049792)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36193 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '877628f2-98a7-eeda-ba4a-d5f8f6a8498d'::uuid;

-- Query #36194 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '877628f2-98a7-eeda-ba4a-d5f8f6a8498d'::uuid;

-- Query #36195 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['877628f2-98a7-eeda-ba4a-d5f8f6a8498d'::uuid]);

-- Query #36196 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '877628f2-98a7-eeda-ba4a-d5f8f6a8498d'::uuid;

-- Query #36197 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36198 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88bcda0e-73bb-6cf9-7e0c-8d3fd1f21273'::uuid;

-- Query #36199 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['88bcda0e-73bb-6cf9-7e0c-8d3fd1f21273'::uuid]);

-- Query #36200 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '88bcda0e-73bb-6cf9-7e0c-8d3fd1f21273'::uuid;

-- Query #36201 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88bcda0e-73bb-6cf9-7e0c-8d3fd1f21273'::uuid, 'Imdb', 'tt12810568')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36202 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88bcda0e-73bb-6cf9-7e0c-8d3fd1f21273'::uuid, 'Tmdb', 2457896)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36203 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88bcda0e-73bb-6cf9-7e0c-8d3fd1f21273'::uuid, 'trakt', 4457335)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36204 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88bcda0e-73bb-6cf9-7e0c-8d3fd1f21273'::uuid, 'TvMaze', 1931401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36205 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88bcda0e-73bb-6cf9-7e0c-8d3fd1f21273'::uuid, 'Tvdb', 7941510)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36206 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88bcda0e-73bb-6cf9-7e0c-8d3fd1f21273'::uuid, 'TmdbCollection', 2457896)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36207 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('88bcda0e-73bb-6cf9-7e0c-8d3fd1f21273'::uuid, 'official website', 'https://bit.ly/36Z3uvo')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36208 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '88bcda0e-73bb-6cf9-7e0c-8d3fd1f21273'::uuid;

-- Query #36209 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '88bcda0e-73bb-6cf9-7e0c-8d3fd1f21273'::uuid;

-- Query #36210 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['88bcda0e-73bb-6cf9-7e0c-8d3fd1f21273'::uuid]);

-- Query #36211 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '88bcda0e-73bb-6cf9-7e0c-8d3fd1f21273'::uuid;

-- Query #36212 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36213 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '43bef3cb-72fd-b0d2-bf89-bf9c55172e75'::uuid;

-- Query #36214 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['43bef3cb-72fd-b0d2-bf89-bf9c55172e75'::uuid]);

-- Query #36215 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '43bef3cb-72fd-b0d2-bf89-bf9c55172e75'::uuid;

-- Query #36216 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43bef3cb-72fd-b0d2-bf89-bf9c55172e75'::uuid, 'official website', 'https://bit.ly/3ysWYKc')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43bef3cb-72fd-b0d2-bf89-bf9c55172e75'::uuid, 'TmdbCollection', 2915479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43bef3cb-72fd-b0d2-bf89-bf9c55172e75'::uuid, 'Imdb', 'tt14419744')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43bef3cb-72fd-b0d2-bf89-bf9c55172e75'::uuid, 'Tmdb', 2915479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43bef3cb-72fd-b0d2-bf89-bf9c55172e75'::uuid, 'trakt', 5140532)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43bef3cb-72fd-b0d2-bf89-bf9c55172e75'::uuid, 'TvMaze', 2065918)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('43bef3cb-72fd-b0d2-bf89-bf9c55172e75'::uuid, 'Tvdb', 8347150)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36223 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '43bef3cb-72fd-b0d2-bf89-bf9c55172e75'::uuid;

-- Query #36224 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '43bef3cb-72fd-b0d2-bf89-bf9c55172e75'::uuid;

-- Query #36225 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['43bef3cb-72fd-b0d2-bf89-bf9c55172e75'::uuid]);

-- Query #36226 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '43bef3cb-72fd-b0d2-bf89-bf9c55172e75'::uuid;

-- Query #36227 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36228 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dcd364df-414f-af74-b01c-58435b2755f2'::uuid;

-- Query #36229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcd364df-414f-af74-b01c-58435b2755f2'::uuid]);

-- Query #36230 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dcd364df-414f-af74-b01c-58435b2755f2'::uuid;

-- Query #36231 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd364df-414f-af74-b01c-58435b2755f2'::uuid, 'Imdb', 'tt14597252')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd364df-414f-af74-b01c-58435b2755f2'::uuid, 'Tmdb', 3007853)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd364df-414f-af74-b01c-58435b2755f2'::uuid, 'TvMaze', 2095806)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd364df-414f-af74-b01c-58435b2755f2'::uuid, 'Tvdb', 8398099)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd364df-414f-af74-b01c-58435b2755f2'::uuid, 'trakt', 5204325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd364df-414f-af74-b01c-58435b2755f2'::uuid, 'eidr', '10.5240/0817-A768-0390-933E-117F-F')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcd364df-414f-af74-b01c-58435b2755f2'::uuid, 'TmdbCollection', 3007853)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36238 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dcd364df-414f-af74-b01c-58435b2755f2'::uuid;

-- Query #36239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dcd364df-414f-af74-b01c-58435b2755f2'::uuid;

-- Query #36240 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dcd364df-414f-af74-b01c-58435b2755f2'::uuid]);

-- Query #36241 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dcd364df-414f-af74-b01c-58435b2755f2'::uuid;

-- Query #36242 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ad36cd75-0207-d396-c09e-77609ef4d072'::uuid;

-- Query #36244 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad36cd75-0207-d396-c09e-77609ef4d072'::uuid]);

-- Query #36245 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ad36cd75-0207-d396-c09e-77609ef4d072'::uuid;

-- Query #36246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad36cd75-0207-d396-c09e-77609ef4d072'::uuid, 'Imdb', 'tt13236286')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad36cd75-0207-d396-c09e-77609ef4d072'::uuid, 'Tmdb', 2533329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad36cd75-0207-d396-c09e-77609ef4d072'::uuid, 'trakt', 4572035)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad36cd75-0207-d396-c09e-77609ef4d072'::uuid, 'TvMaze', 1972380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad36cd75-0207-d396-c09e-77609ef4d072'::uuid, 'Tvdb', 8027482)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad36cd75-0207-d396-c09e-77609ef4d072'::uuid, 'official website', 'https://bit.ly/3oBFXYm')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad36cd75-0207-d396-c09e-77609ef4d072'::uuid, 'TmdbCollection', 2533329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36253 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ad36cd75-0207-d396-c09e-77609ef4d072'::uuid;

-- Query #36254 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ad36cd75-0207-d396-c09e-77609ef4d072'::uuid;

-- Query #36255 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ad36cd75-0207-d396-c09e-77609ef4d072'::uuid]);

-- Query #36256 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ad36cd75-0207-d396-c09e-77609ef4d072'::uuid;

-- Query #36257 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '90aa8220-63ce-db84-f3a9-3917f3d62334'::uuid;

-- Query #36259 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90aa8220-63ce-db84-f3a9-3917f3d62334'::uuid]);

-- Query #36260 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '90aa8220-63ce-db84-f3a9-3917f3d62334'::uuid;

-- Query #36261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90aa8220-63ce-db84-f3a9-3917f3d62334'::uuid, 'official website', 'https://bit.ly/342y8D0')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90aa8220-63ce-db84-f3a9-3917f3d62334'::uuid, 'TmdbCollection', 2915481)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90aa8220-63ce-db84-f3a9-3917f3d62334'::uuid, 'Imdb', 'tt14154354')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90aa8220-63ce-db84-f3a9-3917f3d62334'::uuid, 'Tmdb', 2915481)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90aa8220-63ce-db84-f3a9-3917f3d62334'::uuid, 'trakt', 5140535)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90aa8220-63ce-db84-f3a9-3917f3d62334'::uuid, 'TvMaze', 2076456)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36267 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90aa8220-63ce-db84-f3a9-3917f3d62334'::uuid, 'Tvdb', 8384388)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36268 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '90aa8220-63ce-db84-f3a9-3917f3d62334'::uuid;

-- Query #36269 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '90aa8220-63ce-db84-f3a9-3917f3d62334'::uuid;

-- Query #36270 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['90aa8220-63ce-db84-f3a9-3917f3d62334'::uuid]);

-- Query #36271 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '90aa8220-63ce-db84-f3a9-3917f3d62334'::uuid;

-- Query #36272 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36273 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a2e0b10-2def-9f19-300a-b479416eca4a'::uuid;

-- Query #36274 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3a2e0b10-2def-9f19-300a-b479416eca4a'::uuid]);

-- Query #36275 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3a2e0b10-2def-9f19-300a-b479416eca4a'::uuid;

-- Query #36276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a2e0b10-2def-9f19-300a-b479416eca4a'::uuid, 'Imdb', 'tt14302610')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a2e0b10-2def-9f19-300a-b479416eca4a'::uuid, 'Tmdb', 2850211)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a2e0b10-2def-9f19-300a-b479416eca4a'::uuid, 'trakt', 5051165)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a2e0b10-2def-9f19-300a-b479416eca4a'::uuid, 'TvMaze', 2049606)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a2e0b10-2def-9f19-300a-b479416eca4a'::uuid, 'Tvdb', 8304605)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a2e0b10-2def-9f19-300a-b479416eca4a'::uuid, 'official website', 'https://bit.ly/2PIdkx7')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36282 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a2e0b10-2def-9f19-300a-b479416eca4a'::uuid, 'TmdbCollection', 2850211)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36283 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a2e0b10-2def-9f19-300a-b479416eca4a'::uuid;

-- Query #36284 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3a2e0b10-2def-9f19-300a-b479416eca4a'::uuid;

-- Query #36285 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3a2e0b10-2def-9f19-300a-b479416eca4a'::uuid]);

-- Query #36286 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3a2e0b10-2def-9f19-300a-b479416eca4a'::uuid;

-- Query #36287 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36288 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '85340b0d-1f83-cc88-406b-859ebafff13f'::uuid;

-- Query #36289 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85340b0d-1f83-cc88-406b-859ebafff13f'::uuid]);

-- Query #36290 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '85340b0d-1f83-cc88-406b-859ebafff13f'::uuid;

-- Query #36291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85340b0d-1f83-cc88-406b-859ebafff13f'::uuid, 'Imdb', 'tt14082220')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85340b0d-1f83-cc88-406b-859ebafff13f'::uuid, 'Tmdb', 2799046)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85340b0d-1f83-cc88-406b-859ebafff13f'::uuid, 'trakt', 4910841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85340b0d-1f83-cc88-406b-859ebafff13f'::uuid, 'TvMaze', 2038928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85340b0d-1f83-cc88-406b-859ebafff13f'::uuid, 'Tvdb', 8228862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36296 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85340b0d-1f83-cc88-406b-859ebafff13f'::uuid, 'official website', 'https://bit.ly/3u0rlEP')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36297 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85340b0d-1f83-cc88-406b-859ebafff13f'::uuid, 'TmdbCollection', 2799046)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36298 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '85340b0d-1f83-cc88-406b-859ebafff13f'::uuid;

-- Query #36299 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '85340b0d-1f83-cc88-406b-859ebafff13f'::uuid;

-- Query #36300 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['85340b0d-1f83-cc88-406b-859ebafff13f'::uuid]);

-- Query #36301 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '85340b0d-1f83-cc88-406b-859ebafff13f'::uuid;

-- Query #36302 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36303 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8f007b7-1884-0560-5553-3c573e5bb678'::uuid;

-- Query #36304 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8f007b7-1884-0560-5553-3c573e5bb678'::uuid]);

-- Query #36305 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f8f007b7-1884-0560-5553-3c573e5bb678'::uuid;

-- Query #36306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8f007b7-1884-0560-5553-3c573e5bb678'::uuid, 'Imdb', 'tt13394282')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8f007b7-1884-0560-5553-3c573e5bb678'::uuid, 'Tmdb', 2686140)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8f007b7-1884-0560-5553-3c573e5bb678'::uuid, 'trakt', 4601041)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8f007b7-1884-0560-5553-3c573e5bb678'::uuid, 'TvMaze', 1987987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8f007b7-1884-0560-5553-3c573e5bb678'::uuid, 'Tvdb', 8053690)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8f007b7-1884-0560-5553-3c573e5bb678'::uuid, 'official website', 'http://bit.ly/30JQirk')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36312 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8f007b7-1884-0560-5553-3c573e5bb678'::uuid, 'TmdbCollection', 2686140)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36313 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8f007b7-1884-0560-5553-3c573e5bb678'::uuid;

-- Query #36314 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f8f007b7-1884-0560-5553-3c573e5bb678'::uuid;

-- Query #36315 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f8f007b7-1884-0560-5553-3c573e5bb678'::uuid]);

-- Query #36316 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f8f007b7-1884-0560-5553-3c573e5bb678'::uuid;

-- Query #36317 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36318 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b639ec3c-84a6-4363-4324-a92697cb16d2'::uuid;

-- Query #36319 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b639ec3c-84a6-4363-4324-a92697cb16d2'::uuid]);

-- Query #36320 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b639ec3c-84a6-4363-4324-a92697cb16d2'::uuid;

-- Query #36321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b639ec3c-84a6-4363-4324-a92697cb16d2'::uuid, 'Imdb', 'tt14444864')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b639ec3c-84a6-4363-4324-a92697cb16d2'::uuid, 'Tmdb', 2948031)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b639ec3c-84a6-4363-4324-a92697cb16d2'::uuid, 'trakt', 5163145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b639ec3c-84a6-4363-4324-a92697cb16d2'::uuid, 'TvMaze', 2085363)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b639ec3c-84a6-4363-4324-a92697cb16d2'::uuid, 'Tvdb', 8398097)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b639ec3c-84a6-4363-4324-a92697cb16d2'::uuid, 'TmdbCollection', 2948031)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36327 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b639ec3c-84a6-4363-4324-a92697cb16d2'::uuid;

-- Query #36328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b639ec3c-84a6-4363-4324-a92697cb16d2'::uuid;

-- Query #36329 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b639ec3c-84a6-4363-4324-a92697cb16d2'::uuid]);

-- Query #36330 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b639ec3c-84a6-4363-4324-a92697cb16d2'::uuid;

-- Query #36331 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36332 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59220f30-c8d4-8e3f-67a9-4453e158d3ea'::uuid;

-- Query #36333 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59220f30-c8d4-8e3f-67a9-4453e158d3ea'::uuid]);

-- Query #36334 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '59220f30-c8d4-8e3f-67a9-4453e158d3ea'::uuid;

-- Query #36335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59220f30-c8d4-8e3f-67a9-4453e158d3ea'::uuid, 'Imdb', 'tt14252912')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59220f30-c8d4-8e3f-67a9-4453e158d3ea'::uuid, 'Tmdb', 2803604)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59220f30-c8d4-8e3f-67a9-4453e158d3ea'::uuid, 'trakt', 4921360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59220f30-c8d4-8e3f-67a9-4453e158d3ea'::uuid, 'TvMaze', 2045736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36339 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #36340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59220f30-c8d4-8e3f-67a9-4453e158d3ea'::uuid, 'Tvdb', 8280719)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59220f30-c8d4-8e3f-67a9-4453e158d3ea'::uuid, 'official website', 'https://bit.ly/3dx9qio')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59220f30-c8d4-8e3f-67a9-4453e158d3ea'::uuid, 'TmdbCollection', 2803604)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36343 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59220f30-c8d4-8e3f-67a9-4453e158d3ea'::uuid;

-- Query #36344 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '59220f30-c8d4-8e3f-67a9-4453e158d3ea'::uuid;

-- Query #36345 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['59220f30-c8d4-8e3f-67a9-4453e158d3ea'::uuid]);

-- Query #36346 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '59220f30-c8d4-8e3f-67a9-4453e158d3ea'::uuid;

-- Query #36347 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36348 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb09ea3a-bb8f-3675-dc7b-9cc0b259f0f4'::uuid;

-- Query #36349 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb09ea3a-bb8f-3675-dc7b-9cc0b259f0f4'::uuid]);

-- Query #36350 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fb09ea3a-bb8f-3675-dc7b-9cc0b259f0f4'::uuid;

-- Query #36351 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb09ea3a-bb8f-3675-dc7b-9cc0b259f0f4'::uuid, 'Imdb', 'tt13236290')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb09ea3a-bb8f-3675-dc7b-9cc0b259f0f4'::uuid, 'Tmdb', 2563134)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb09ea3a-bb8f-3675-dc7b-9cc0b259f0f4'::uuid, 'trakt', 4572036)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb09ea3a-bb8f-3675-dc7b-9cc0b259f0f4'::uuid, 'TvMaze', 1972381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb09ea3a-bb8f-3675-dc7b-9cc0b259f0f4'::uuid, 'Tvdb', 8027485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb09ea3a-bb8f-3675-dc7b-9cc0b259f0f4'::uuid, 'official website', 'http://bit.ly/3rTC2rQ')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb09ea3a-bb8f-3675-dc7b-9cc0b259f0f4'::uuid, 'TmdbCollection', 2563134)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36358 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb09ea3a-bb8f-3675-dc7b-9cc0b259f0f4'::uuid;

-- Query #36359 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fb09ea3a-bb8f-3675-dc7b-9cc0b259f0f4'::uuid;

-- Query #36360 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fb09ea3a-bb8f-3675-dc7b-9cc0b259f0f4'::uuid]);

-- Query #36361 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fb09ea3a-bb8f-3675-dc7b-9cc0b259f0f4'::uuid;

-- Query #36362 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36363 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07678f76-bf03-2a84-a74b-dbe645bb7622'::uuid;

-- Query #36364 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07678f76-bf03-2a84-a74b-dbe645bb7622'::uuid]);

-- Query #36365 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '07678f76-bf03-2a84-a74b-dbe645bb7622'::uuid;

-- Query #36366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07678f76-bf03-2a84-a74b-dbe645bb7622'::uuid, 'Imdb', 'tt14202590')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07678f76-bf03-2a84-a74b-dbe645bb7622'::uuid, 'Tmdb', 2803603)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07678f76-bf03-2a84-a74b-dbe645bb7622'::uuid, 'trakt', 4921355)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07678f76-bf03-2a84-a74b-dbe645bb7622'::uuid, 'TvMaze', 2042665)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07678f76-bf03-2a84-a74b-dbe645bb7622'::uuid, 'Tvdb', 8261848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07678f76-bf03-2a84-a74b-dbe645bb7622'::uuid, 'official website', 'https://bit.ly/3w4t2TA')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('07678f76-bf03-2a84-a74b-dbe645bb7622'::uuid, 'TmdbCollection', 2803603)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36373 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07678f76-bf03-2a84-a74b-dbe645bb7622'::uuid;

-- Query #36374 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '07678f76-bf03-2a84-a74b-dbe645bb7622'::uuid;

-- Query #36375 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['07678f76-bf03-2a84-a74b-dbe645bb7622'::uuid]);

-- Query #36376 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '07678f76-bf03-2a84-a74b-dbe645bb7622'::uuid;

-- Query #36377 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36378 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba159c92-3218-492b-4314-788dac455656'::uuid;

-- Query #36379 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba159c92-3218-492b-4314-788dac455656'::uuid]);

-- Query #36380 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ba159c92-3218-492b-4314-788dac455656'::uuid;

-- Query #36381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba159c92-3218-492b-4314-788dac455656'::uuid, 'Imdb', 'tt14578708')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba159c92-3218-492b-4314-788dac455656'::uuid, 'Tmdb', 2948030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba159c92-3218-492b-4314-788dac455656'::uuid, 'trakt', 5163144)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba159c92-3218-492b-4314-788dac455656'::uuid, 'TvMaze', 2079603)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba159c92-3218-492b-4314-788dac455656'::uuid, 'Tvdb', 8398096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba159c92-3218-492b-4314-788dac455656'::uuid, 'official website', 'https://bit.ly/3bGcOHI')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba159c92-3218-492b-4314-788dac455656'::uuid, 'TmdbCollection', 2948030)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36388 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba159c92-3218-492b-4314-788dac455656'::uuid;

-- Query #36389 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ba159c92-3218-492b-4314-788dac455656'::uuid;

-- Query #36390 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ba159c92-3218-492b-4314-788dac455656'::uuid]);

-- Query #36391 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ba159c92-3218-492b-4314-788dac455656'::uuid;

-- Query #36392 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36393 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18fff30c-4d39-63b1-991c-53ee585395b0'::uuid;

-- Query #36394 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['18fff30c-4d39-63b1-991c-53ee585395b0'::uuid]);

-- Query #36395 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '18fff30c-4d39-63b1-991c-53ee585395b0'::uuid;

-- Query #36396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18fff30c-4d39-63b1-991c-53ee585395b0'::uuid, 'Imdb', 'tt13236278')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18fff30c-4d39-63b1-991c-53ee585395b0'::uuid, 'Tmdb', 2533328)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18fff30c-4d39-63b1-991c-53ee585395b0'::uuid, 'trakt', 4505853)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18fff30c-4d39-63b1-991c-53ee585395b0'::uuid, 'TvMaze', 1968982)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18fff30c-4d39-63b1-991c-53ee585395b0'::uuid, 'Tvdb', 7982909)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18fff30c-4d39-63b1-991c-53ee585395b0'::uuid, 'official website', 'https://bit.ly/2JXSgzF')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18fff30c-4d39-63b1-991c-53ee585395b0'::uuid, 'TmdbCollection', 2533328)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36403 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18fff30c-4d39-63b1-991c-53ee585395b0'::uuid;

-- Query #36404 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '18fff30c-4d39-63b1-991c-53ee585395b0'::uuid;

-- Query #36405 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['18fff30c-4d39-63b1-991c-53ee585395b0'::uuid]);

-- Query #36406 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '18fff30c-4d39-63b1-991c-53ee585395b0'::uuid;

-- Query #36407 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36408 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c797c678-2e63-2ca0-2b68-06c21d475aff'::uuid;

-- Query #36409 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c797c678-2e63-2ca0-2b68-06c21d475aff'::uuid]);

-- Query #36410 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c797c678-2e63-2ca0-2b68-06c21d475aff'::uuid;

-- Query #36411 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c797c678-2e63-2ca0-2b68-06c21d475aff'::uuid, 'Imdb', 'tt19432864')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36412 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c797c678-2e63-2ca0-2b68-06c21d475aff'::uuid, 'Tmdb', 3663412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c797c678-2e63-2ca0-2b68-06c21d475aff'::uuid, 'TvMaze', 2309493)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c797c678-2e63-2ca0-2b68-06c21d475aff'::uuid, 'Tvdb', 9035613)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c797c678-2e63-2ca0-2b68-06c21d475aff'::uuid, 'trakt', 6046485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c797c678-2e63-2ca0-2b68-06c21d475aff'::uuid, 'eidr', '10.5240/571E-774D-6D48-F429-BF6B-J')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c797c678-2e63-2ca0-2b68-06c21d475aff'::uuid, 'TmdbCollection', 3663412)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36418 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c797c678-2e63-2ca0-2b68-06c21d475aff'::uuid;

-- Query #36419 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c797c678-2e63-2ca0-2b68-06c21d475aff'::uuid;

-- Query #36420 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c797c678-2e63-2ca0-2b68-06c21d475aff'::uuid]);

-- Query #36421 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c797c678-2e63-2ca0-2b68-06c21d475aff'::uuid;

-- Query #36422 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36423 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13ee1621-549f-1c9b-6f30-ba62649f0a3c'::uuid;

-- Query #36424 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13ee1621-549f-1c9b-6f30-ba62649f0a3c'::uuid]);

-- Query #36425 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '13ee1621-549f-1c9b-6f30-ba62649f0a3c'::uuid;

-- Query #36426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13ee1621-549f-1c9b-6f30-ba62649f0a3c'::uuid, 'Imdb', 'tt15573484')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13ee1621-549f-1c9b-6f30-ba62649f0a3c'::uuid, 'Tmdb', 3374309)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13ee1621-549f-1c9b-6f30-ba62649f0a3c'::uuid, 'TvMaze', 2228733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13ee1621-549f-1c9b-6f30-ba62649f0a3c'::uuid, 'Tvdb', 8948985)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13ee1621-549f-1c9b-6f30-ba62649f0a3c'::uuid, 'trakt', 5735759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13ee1621-549f-1c9b-6f30-ba62649f0a3c'::uuid, 'eidr', '10.5240/B978-0CA2-9AB3-3D93-98DC-V')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13ee1621-549f-1c9b-6f30-ba62649f0a3c'::uuid, 'TmdbCollection', 3374309)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36433 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13ee1621-549f-1c9b-6f30-ba62649f0a3c'::uuid;

-- Query #36434 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '13ee1621-549f-1c9b-6f30-ba62649f0a3c'::uuid;

-- Query #36435 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['13ee1621-549f-1c9b-6f30-ba62649f0a3c'::uuid]);

-- Query #36436 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '13ee1621-549f-1c9b-6f30-ba62649f0a3c'::uuid;

-- Query #36437 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36438 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14e7566b-761a-5804-dbd9-816d746495c0'::uuid;

-- Query #36439 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14e7566b-761a-5804-dbd9-816d746495c0'::uuid]);

-- Query #36440 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '14e7566b-761a-5804-dbd9-816d746495c0'::uuid;

-- Query #36441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e7566b-761a-5804-dbd9-816d746495c0'::uuid, 'TmdbCollection', 3277420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e7566b-761a-5804-dbd9-816d746495c0'::uuid, 'Imdb', 'tt15573410')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e7566b-761a-5804-dbd9-816d746495c0'::uuid, 'Tmdb', 3277420)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e7566b-761a-5804-dbd9-816d746495c0'::uuid, 'TvMaze', 2189699)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e7566b-761a-5804-dbd9-816d746495c0'::uuid, 'Tvdb', 8755663)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e7566b-761a-5804-dbd9-816d746495c0'::uuid, 'trakt', 5611250)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14e7566b-761a-5804-dbd9-816d746495c0'::uuid, 'eidr', '10.5240/C6C5-161C-C50D-25BE-6131-L')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36448 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14e7566b-761a-5804-dbd9-816d746495c0'::uuid;

-- Query #36449 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '14e7566b-761a-5804-dbd9-816d746495c0'::uuid;

-- Query #36450 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['14e7566b-761a-5804-dbd9-816d746495c0'::uuid]);

-- Query #36451 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '14e7566b-761a-5804-dbd9-816d746495c0'::uuid;

-- Query #36452 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36453 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d4d9222-2062-446c-f879-089bb0fc2f7a'::uuid;

-- Query #36454 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d4d9222-2062-446c-f879-089bb0fc2f7a'::uuid]);

-- Query #36455 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4d4d9222-2062-446c-f879-089bb0fc2f7a'::uuid;

-- Query #36456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d4d9222-2062-446c-f879-089bb0fc2f7a'::uuid, 'Imdb', 'tt14661426')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d4d9222-2062-446c-f879-089bb0fc2f7a'::uuid, 'Tmdb', 3076764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d4d9222-2062-446c-f879-089bb0fc2f7a'::uuid, 'TvMaze', 2131794)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36459 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d4d9222-2062-446c-f879-089bb0fc2f7a'::uuid, 'Tvdb', 8554867)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36460 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d4d9222-2062-446c-f879-089bb0fc2f7a'::uuid, 'trakt', 5306715)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d4d9222-2062-446c-f879-089bb0fc2f7a'::uuid, 'eidr', '10.5240/F928-AF17-23FF-2631-8081-J')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d4d9222-2062-446c-f879-089bb0fc2f7a'::uuid, 'TmdbCollection', 3076764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36463 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d4d9222-2062-446c-f879-089bb0fc2f7a'::uuid;

-- Query #36464 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4d4d9222-2062-446c-f879-089bb0fc2f7a'::uuid;

-- Query #36465 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4d4d9222-2062-446c-f879-089bb0fc2f7a'::uuid]);

-- Query #36466 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4d4d9222-2062-446c-f879-089bb0fc2f7a'::uuid;

-- Query #36467 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36468 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b3ae661-fcd9-78b5-c8fa-f10a395af50a'::uuid;

-- Query #36469 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b3ae661-fcd9-78b5-c8fa-f10a395af50a'::uuid]);

-- Query #36470 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1b3ae661-fcd9-78b5-c8fa-f10a395af50a'::uuid;

-- Query #36471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b3ae661-fcd9-78b5-c8fa-f10a395af50a'::uuid, 'Imdb', 'tt19047634')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b3ae661-fcd9-78b5-c8fa-f10a395af50a'::uuid, 'Tmdb', 3624707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36473 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b3ae661-fcd9-78b5-c8fa-f10a395af50a'::uuid, 'TvMaze', 2301065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b3ae661-fcd9-78b5-c8fa-f10a395af50a'::uuid, 'Tvdb', 9035611)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36475 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b3ae661-fcd9-78b5-c8fa-f10a395af50a'::uuid, 'trakt', 6003098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b3ae661-fcd9-78b5-c8fa-f10a395af50a'::uuid, 'eidr', '10.5240/82B7-5C8A-6AEF-5728-DA38-T')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36477 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b3ae661-fcd9-78b5-c8fa-f10a395af50a'::uuid, 'TmdbCollection', 3624707)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36478 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b3ae661-fcd9-78b5-c8fa-f10a395af50a'::uuid;

-- Query #36479 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1b3ae661-fcd9-78b5-c8fa-f10a395af50a'::uuid;

-- Query #36480 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1b3ae661-fcd9-78b5-c8fa-f10a395af50a'::uuid]);

-- Query #36481 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1b3ae661-fcd9-78b5-c8fa-f10a395af50a'::uuid;

-- Query #36482 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36483 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55616b8e-9e73-dbe5-1eae-207f19d21a90'::uuid;

-- Query #36484 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['55616b8e-9e73-dbe5-1eae-207f19d21a90'::uuid]);

-- Query #36485 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '55616b8e-9e73-dbe5-1eae-207f19d21a90'::uuid;

-- Query #36486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55616b8e-9e73-dbe5-1eae-207f19d21a90'::uuid, 'Imdb', 'tt18396482')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36487 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55616b8e-9e73-dbe5-1eae-207f19d21a90'::uuid, 'Tmdb', 3549727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36488 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55616b8e-9e73-dbe5-1eae-207f19d21a90'::uuid, 'TvMaze', 2288730)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55616b8e-9e73-dbe5-1eae-207f19d21a90'::uuid, 'Tvdb', 9035609)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55616b8e-9e73-dbe5-1eae-207f19d21a90'::uuid, 'trakt', 5948743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55616b8e-9e73-dbe5-1eae-207f19d21a90'::uuid, 'eidr', '10.5240/AFAA-BA50-B0B2-C444-0EAE-L')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55616b8e-9e73-dbe5-1eae-207f19d21a90'::uuid, 'TmdbCollection', 3549727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36493 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55616b8e-9e73-dbe5-1eae-207f19d21a90'::uuid;

-- Query #36494 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '55616b8e-9e73-dbe5-1eae-207f19d21a90'::uuid;

-- Query #36495 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['55616b8e-9e73-dbe5-1eae-207f19d21a90'::uuid]);

-- Query #36496 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '55616b8e-9e73-dbe5-1eae-207f19d21a90'::uuid;

-- Query #36497 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36498 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cd28c7f1-c033-4e77-7bd1-51cd44749d6a'::uuid;

-- Query #36499 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cd28c7f1-c033-4e77-7bd1-51cd44749d6a'::uuid]);

-- Query #36500 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cd28c7f1-c033-4e77-7bd1-51cd44749d6a'::uuid;

-- Query #36501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd28c7f1-c033-4e77-7bd1-51cd44749d6a'::uuid, 'Imdb', 'tt15475318')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd28c7f1-c033-4e77-7bd1-51cd44749d6a'::uuid, 'Tmdb', 3175255)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd28c7f1-c033-4e77-7bd1-51cd44749d6a'::uuid, 'TvMaze', 2172291)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36504 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd28c7f1-c033-4e77-7bd1-51cd44749d6a'::uuid, 'Tvdb', 8696987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd28c7f1-c033-4e77-7bd1-51cd44749d6a'::uuid, 'trakt', 5432397)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd28c7f1-c033-4e77-7bd1-51cd44749d6a'::uuid, 'eidr', '10.5240/D41B-5B24-3248-3AE5-E1C2-O')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36507 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd28c7f1-c033-4e77-7bd1-51cd44749d6a'::uuid, 'TmdbCollection', 3175255)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36508 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cd28c7f1-c033-4e77-7bd1-51cd44749d6a'::uuid;

-- Query #36509 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cd28c7f1-c033-4e77-7bd1-51cd44749d6a'::uuid;

-- Query #36510 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cd28c7f1-c033-4e77-7bd1-51cd44749d6a'::uuid]);

-- Query #36511 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cd28c7f1-c033-4e77-7bd1-51cd44749d6a'::uuid;

-- Query #36512 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36513 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6de4fb23-b78d-0b01-cf17-b207730879bc'::uuid;

-- Query #36514 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6de4fb23-b78d-0b01-cf17-b207730879bc'::uuid]);

-- Query #36515 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6de4fb23-b78d-0b01-cf17-b207730879bc'::uuid;

-- Query #36516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6de4fb23-b78d-0b01-cf17-b207730879bc'::uuid, 'Imdb', 'tt19432874')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6de4fb23-b78d-0b01-cf17-b207730879bc'::uuid, 'Tmdb', 3697615)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6de4fb23-b78d-0b01-cf17-b207730879bc'::uuid, 'TvMaze', 2317874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6de4fb23-b78d-0b01-cf17-b207730879bc'::uuid, 'Tvdb', 9092815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6de4fb23-b78d-0b01-cf17-b207730879bc'::uuid, 'trakt', 6085254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6de4fb23-b78d-0b01-cf17-b207730879bc'::uuid, 'eidr', '10.5240/E01E-0CCD-B535-7134-58F5-O')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6de4fb23-b78d-0b01-cf17-b207730879bc'::uuid, 'tv maze', 2317874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6de4fb23-b78d-0b01-cf17-b207730879bc'::uuid, 'TmdbCollection', 3697615)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36524 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6de4fb23-b78d-0b01-cf17-b207730879bc'::uuid;

-- Query #36525 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6de4fb23-b78d-0b01-cf17-b207730879bc'::uuid;

-- Query #36526 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6de4fb23-b78d-0b01-cf17-b207730879bc'::uuid]);

-- Query #36527 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6de4fb23-b78d-0b01-cf17-b207730879bc'::uuid;

-- Query #36528 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36529 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fad5343b-e4af-4fc7-015e-d560c128628e'::uuid;

-- Query #36530 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fad5343b-e4af-4fc7-015e-d560c128628e'::uuid]);

-- Query #36531 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fad5343b-e4af-4fc7-015e-d560c128628e'::uuid;

-- Query #36532 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fad5343b-e4af-4fc7-015e-d560c128628e'::uuid, 'Imdb', 'tt19403482')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fad5343b-e4af-4fc7-015e-d560c128628e'::uuid, 'Tmdb', 3663409)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fad5343b-e4af-4fc7-015e-d560c128628e'::uuid, 'TvMaze', 2305480)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fad5343b-e4af-4fc7-015e-d560c128628e'::uuid, 'Tvdb', 9035612)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fad5343b-e4af-4fc7-015e-d560c128628e'::uuid, 'trakt', 6046484)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fad5343b-e4af-4fc7-015e-d560c128628e'::uuid, 'eidr', '10.5240/016F-6EC0-A934-1109-48D5-Y')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fad5343b-e4af-4fc7-015e-d560c128628e'::uuid, 'TmdbCollection', 3663409)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36539 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fad5343b-e4af-4fc7-015e-d560c128628e'::uuid;

-- Query #36540 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fad5343b-e4af-4fc7-015e-d560c128628e'::uuid;

-- Query #36541 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fad5343b-e4af-4fc7-015e-d560c128628e'::uuid]);

-- Query #36542 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fad5343b-e4af-4fc7-015e-d560c128628e'::uuid;

-- Query #36543 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36544 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d49db1f-1af3-f157-92d0-176ec9f10032'::uuid;

-- Query #36545 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d49db1f-1af3-f157-92d0-176ec9f10032'::uuid]);

-- Query #36546 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4d49db1f-1af3-f157-92d0-176ec9f10032'::uuid;

-- Query #36547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d49db1f-1af3-f157-92d0-176ec9f10032'::uuid, 'Imdb', 'tt18329928')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d49db1f-1af3-f157-92d0-176ec9f10032'::uuid, 'Tmdb', 3524817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d49db1f-1af3-f157-92d0-176ec9f10032'::uuid, 'TvMaze', 2284741)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d49db1f-1af3-f157-92d0-176ec9f10032'::uuid, 'Tvdb', 8948988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d49db1f-1af3-f157-92d0-176ec9f10032'::uuid, 'trakt', 5933052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36552 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d49db1f-1af3-f157-92d0-176ec9f10032'::uuid, 'eidr', '10.5240/FEE1-CF21-38C3-0B6A-C15D-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36553 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d49db1f-1af3-f157-92d0-176ec9f10032'::uuid, 'TmdbCollection', 3524817)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36554 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d49db1f-1af3-f157-92d0-176ec9f10032'::uuid;

-- Query #36555 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4d49db1f-1af3-f157-92d0-176ec9f10032'::uuid;

-- Query #36556 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4d49db1f-1af3-f157-92d0-176ec9f10032'::uuid]);

-- Query #36557 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4d49db1f-1af3-f157-92d0-176ec9f10032'::uuid;

-- Query #36558 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36559 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6372128d-adba-9c4f-9306-faf593486357'::uuid;

-- Query #36560 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6372128d-adba-9c4f-9306-faf593486357'::uuid]);

-- Query #36561 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6372128d-adba-9c4f-9306-faf593486357'::uuid;

-- Query #36562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6372128d-adba-9c4f-9306-faf593486357'::uuid, 'Imdb', 'tt15432588')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36563 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6372128d-adba-9c4f-9306-faf593486357'::uuid, 'Tmdb', 3175254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6372128d-adba-9c4f-9306-faf593486357'::uuid, 'TvMaze', 2166450)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6372128d-adba-9c4f-9306-faf593486357'::uuid, 'Tvdb', 8674424)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6372128d-adba-9c4f-9306-faf593486357'::uuid, 'trakt', 5432396)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36567 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6372128d-adba-9c4f-9306-faf593486357'::uuid, 'eidr', '10.5240/4F86-DB89-1194-BEDF-5932-3')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36568 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6372128d-adba-9c4f-9306-faf593486357'::uuid, 'TmdbCollection', 3175254)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36569 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6372128d-adba-9c4f-9306-faf593486357'::uuid;

-- Query #36570 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6372128d-adba-9c4f-9306-faf593486357'::uuid;

-- Query #36571 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6372128d-adba-9c4f-9306-faf593486357'::uuid]);

-- Query #36572 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6372128d-adba-9c4f-9306-faf593486357'::uuid;

-- Query #36573 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36574 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'adf65db3-a66c-a735-8f1e-09119a25d1df'::uuid;

-- Query #36575 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['adf65db3-a66c-a735-8f1e-09119a25d1df'::uuid]);

-- Query #36576 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'adf65db3-a66c-a735-8f1e-09119a25d1df'::uuid;

-- Query #36577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('adf65db3-a66c-a735-8f1e-09119a25d1df'::uuid, 'Imdb', 'tt19432870')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36578 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('adf65db3-a66c-a735-8f1e-09119a25d1df'::uuid, 'Tmdb', 3697611)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('adf65db3-a66c-a735-8f1e-09119a25d1df'::uuid, 'TvMaze', 2317873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36580 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('adf65db3-a66c-a735-8f1e-09119a25d1df'::uuid, 'Tvdb', 9092814)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('adf65db3-a66c-a735-8f1e-09119a25d1df'::uuid, 'trakt', 6085253)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('adf65db3-a66c-a735-8f1e-09119a25d1df'::uuid, 'eidr', '10.5240/BD64-414A-2CE1-42CD-8B27-Q')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('adf65db3-a66c-a735-8f1e-09119a25d1df'::uuid, 'tv maze', 2317873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('adf65db3-a66c-a735-8f1e-09119a25d1df'::uuid, 'TmdbCollection', 3697611)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36585 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'adf65db3-a66c-a735-8f1e-09119a25d1df'::uuid;

-- Query #36586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'adf65db3-a66c-a735-8f1e-09119a25d1df'::uuid;

-- Query #36587 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['adf65db3-a66c-a735-8f1e-09119a25d1df'::uuid]);

-- Query #36588 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'adf65db3-a66c-a735-8f1e-09119a25d1df'::uuid;

-- Query #36589 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36590 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e53027fa-dde7-714a-7fa2-3d93b0ebe382'::uuid;

-- Query #36591 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e53027fa-dde7-714a-7fa2-3d93b0ebe382'::uuid]);

-- Query #36592 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e53027fa-dde7-714a-7fa2-3d93b0ebe382'::uuid;

-- Query #36593 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e53027fa-dde7-714a-7fa2-3d93b0ebe382'::uuid, 'Imdb', 'tt18310866')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e53027fa-dde7-714a-7fa2-3d93b0ebe382'::uuid, 'Tmdb', 3510718)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e53027fa-dde7-714a-7fa2-3d93b0ebe382'::uuid, 'TvMaze', 2279046)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e53027fa-dde7-714a-7fa2-3d93b0ebe382'::uuid, 'Tvdb', 8948987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e53027fa-dde7-714a-7fa2-3d93b0ebe382'::uuid, 'trakt', 5933049)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e53027fa-dde7-714a-7fa2-3d93b0ebe382'::uuid, 'eidr', '10.5240/1BAA-9A59-2D29-57A6-13E0-F')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e53027fa-dde7-714a-7fa2-3d93b0ebe382'::uuid, 'TmdbCollection', 3510718)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36600 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e53027fa-dde7-714a-7fa2-3d93b0ebe382'::uuid;

-- Query #36601 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e53027fa-dde7-714a-7fa2-3d93b0ebe382'::uuid;

-- Query #36602 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e53027fa-dde7-714a-7fa2-3d93b0ebe382'::uuid]);

-- Query #36603 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e53027fa-dde7-714a-7fa2-3d93b0ebe382'::uuid;

-- Query #36604 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36605 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '121f4ce4-ab6a-ea15-97a9-5288d35d59d1'::uuid;

-- Query #36606 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['121f4ce4-ab6a-ea15-97a9-5288d35d59d1'::uuid]);

-- Query #36607 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '121f4ce4-ab6a-ea15-97a9-5288d35d59d1'::uuid;

-- Query #36608 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('121f4ce4-ab6a-ea15-97a9-5288d35d59d1'::uuid, 'Imdb', 'tt15518452')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36609 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('121f4ce4-ab6a-ea15-97a9-5288d35d59d1'::uuid, 'Tmdb', 3175256)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('121f4ce4-ab6a-ea15-97a9-5288d35d59d1'::uuid, 'TvMaze', 2178714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('121f4ce4-ab6a-ea15-97a9-5288d35d59d1'::uuid, 'Tvdb', 8696988)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('121f4ce4-ab6a-ea15-97a9-5288d35d59d1'::uuid, 'trakt', 5432398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('121f4ce4-ab6a-ea15-97a9-5288d35d59d1'::uuid, 'eidr', '10.5240/4C46-2D7E-9E9D-B04A-A9EA-X')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36614 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('121f4ce4-ab6a-ea15-97a9-5288d35d59d1'::uuid, 'TmdbCollection', 3175256)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36615 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '121f4ce4-ab6a-ea15-97a9-5288d35d59d1'::uuid;

-- Query #36616 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '121f4ce4-ab6a-ea15-97a9-5288d35d59d1'::uuid;

-- Query #36617 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['121f4ce4-ab6a-ea15-97a9-5288d35d59d1'::uuid]);

-- Query #36618 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '121f4ce4-ab6a-ea15-97a9-5288d35d59d1'::uuid;

-- Query #36619 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36620 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dc29ad38-08c2-6fb0-cd3d-944d283ae361'::uuid;

-- Query #36621 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dc29ad38-08c2-6fb0-cd3d-944d283ae361'::uuid]);

-- Query #36622 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dc29ad38-08c2-6fb0-cd3d-944d283ae361'::uuid;

-- Query #36623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc29ad38-08c2-6fb0-cd3d-944d283ae361'::uuid, 'Imdb', 'tt18952270')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc29ad38-08c2-6fb0-cd3d-944d283ae361'::uuid, 'Tmdb', 3606246)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36625 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc29ad38-08c2-6fb0-cd3d-944d283ae361'::uuid, 'TvMaze', 2297667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc29ad38-08c2-6fb0-cd3d-944d283ae361'::uuid, 'Tvdb', 9035610)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc29ad38-08c2-6fb0-cd3d-944d283ae361'::uuid, 'trakt', 5976689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36628 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc29ad38-08c2-6fb0-cd3d-944d283ae361'::uuid, 'eidr', '10.5240/0143-C178-84F8-9CE0-6B7F-N')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36629 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dc29ad38-08c2-6fb0-cd3d-944d283ae361'::uuid, 'TmdbCollection', 3606246)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36630 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dc29ad38-08c2-6fb0-cd3d-944d283ae361'::uuid;

-- Query #36631 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dc29ad38-08c2-6fb0-cd3d-944d283ae361'::uuid;

-- Query #36632 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dc29ad38-08c2-6fb0-cd3d-944d283ae361'::uuid]);

-- Query #36633 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dc29ad38-08c2-6fb0-cd3d-944d283ae361'::uuid;

-- Query #36634 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36635 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c9f1802-acf0-228a-2420-87f24d166a81'::uuid;

-- Query #36636 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c9f1802-acf0-228a-2420-87f24d166a81'::uuid]);

-- Query #36637 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2c9f1802-acf0-228a-2420-87f24d166a81'::uuid;

-- Query #36638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c9f1802-acf0-228a-2420-87f24d166a81'::uuid, 'TmdbCollection', 3291538)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c9f1802-acf0-228a-2420-87f24d166a81'::uuid, 'Imdb', 'tt15573444')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c9f1802-acf0-228a-2420-87f24d166a81'::uuid, 'Tmdb', 3291538)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c9f1802-acf0-228a-2420-87f24d166a81'::uuid, 'TvMaze', 2190001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36642 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c9f1802-acf0-228a-2420-87f24d166a81'::uuid, 'Tvdb', 8789721)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36643 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c9f1802-acf0-228a-2420-87f24d166a81'::uuid, 'trakt', 5631156)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c9f1802-acf0-228a-2420-87f24d166a81'::uuid, 'eidr', '10.5240/6809-696D-FDA4-2031-F7E7-A')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36645 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c9f1802-acf0-228a-2420-87f24d166a81'::uuid;

-- Query #36646 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2c9f1802-acf0-228a-2420-87f24d166a81'::uuid;

-- Query #36647 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2c9f1802-acf0-228a-2420-87f24d166a81'::uuid]);

-- Query #36648 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2c9f1802-acf0-228a-2420-87f24d166a81'::uuid;

-- Query #36649 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36650 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'be604f21-c85a-8487-de83-648162c02fee'::uuid;

-- Query #36651 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be604f21-c85a-8487-de83-648162c02fee'::uuid]);

-- Query #36652 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'be604f21-c85a-8487-de83-648162c02fee'::uuid;

-- Query #36653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be604f21-c85a-8487-de83-648162c02fee'::uuid, 'Imdb', 'tt19432866')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36654 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be604f21-c85a-8487-de83-648162c02fee'::uuid, 'Tmdb', 3697608)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36655 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be604f21-c85a-8487-de83-648162c02fee'::uuid, 'TvMaze', 2312962)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be604f21-c85a-8487-de83-648162c02fee'::uuid, 'Tvdb', 9092813)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be604f21-c85a-8487-de83-648162c02fee'::uuid, 'trakt', 6085252)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be604f21-c85a-8487-de83-648162c02fee'::uuid, 'eidr', '10.5240/BF81-E279-1C21-C0ED-E9EA-Y')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('be604f21-c85a-8487-de83-648162c02fee'::uuid, 'TmdbCollection', 3697608)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'be604f21-c85a-8487-de83-648162c02fee'::uuid;

-- Query #36661 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'be604f21-c85a-8487-de83-648162c02fee'::uuid;

-- Query #36662 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['be604f21-c85a-8487-de83-648162c02fee'::uuid]);

-- Query #36663 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'be604f21-c85a-8487-de83-648162c02fee'::uuid;

-- Query #36664 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36665 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9cb6bb17-39c0-7339-feb4-e68cf3ab125c'::uuid;

-- Query #36666 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cb6bb17-39c0-7339-feb4-e68cf3ab125c'::uuid]);

-- Query #36667 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9cb6bb17-39c0-7339-feb4-e68cf3ab125c'::uuid;

-- Query #36668 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9cb6bb17-39c0-7339-feb4-e68cf3ab125c'::uuid, 'Imdb', 'tt15573460')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9cb6bb17-39c0-7339-feb4-e68cf3ab125c'::uuid, 'Tmdb', 3312296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9cb6bb17-39c0-7339-feb4-e68cf3ab125c'::uuid, 'TvMaze', 2205223)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9cb6bb17-39c0-7339-feb4-e68cf3ab125c'::uuid, 'Tvdb', 8789728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9cb6bb17-39c0-7339-feb4-e68cf3ab125c'::uuid, 'trakt', 5665761)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9cb6bb17-39c0-7339-feb4-e68cf3ab125c'::uuid, 'eidr', '10.5240/42DA-02F5-FF75-D2E7-892E-Q')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9cb6bb17-39c0-7339-feb4-e68cf3ab125c'::uuid, 'TmdbCollection', 3312296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36675 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9cb6bb17-39c0-7339-feb4-e68cf3ab125c'::uuid;

-- Query #36676 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9cb6bb17-39c0-7339-feb4-e68cf3ab125c'::uuid;

-- Query #36677 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9cb6bb17-39c0-7339-feb4-e68cf3ab125c'::uuid]);

-- Query #36678 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9cb6bb17-39c0-7339-feb4-e68cf3ab125c'::uuid;

-- Query #36679 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36680 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c3559b49-0501-a84d-382d-595b901bce4f'::uuid;

-- Query #36681 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3559b49-0501-a84d-382d-595b901bce4f'::uuid]);

-- Query #36682 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c3559b49-0501-a84d-382d-595b901bce4f'::uuid;

-- Query #36683 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3559b49-0501-a84d-382d-595b901bce4f'::uuid, 'Imdb', 'tt18273452')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36684 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3559b49-0501-a84d-382d-595b901bce4f'::uuid, 'Tmdb', 3510717)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36685 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #36686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3559b49-0501-a84d-382d-595b901bce4f'::uuid, 'TvMaze', 2273809)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3559b49-0501-a84d-382d-595b901bce4f'::uuid, 'Tvdb', 8948986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3559b49-0501-a84d-382d-595b901bce4f'::uuid, 'trakt', 5933047)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3559b49-0501-a84d-382d-595b901bce4f'::uuid, 'eidr', '10.5240/4C41-92ED-DFEE-49E5-E7C7-0')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c3559b49-0501-a84d-382d-595b901bce4f'::uuid, 'TmdbCollection', 3510717)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36691 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c3559b49-0501-a84d-382d-595b901bce4f'::uuid;

-- Query #36692 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c3559b49-0501-a84d-382d-595b901bce4f'::uuid;

-- Query #36693 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c3559b49-0501-a84d-382d-595b901bce4f'::uuid]);

-- Query #36694 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c3559b49-0501-a84d-382d-595b901bce4f'::uuid;

-- Query #36695 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36696 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b69efcb9-f191-b88f-50c7-23b045066d11'::uuid;

-- Query #36697 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b69efcb9-f191-b88f-50c7-23b045066d11'::uuid]);

-- Query #36698 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b69efcb9-f191-b88f-50c7-23b045066d11'::uuid;

-- Query #36699 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b69efcb9-f191-b88f-50c7-23b045066d11'::uuid, 'Imdb', 'tt15573472')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b69efcb9-f191-b88f-50c7-23b045066d11'::uuid, 'Tmdb', 3312299)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b69efcb9-f191-b88f-50c7-23b045066d11'::uuid, 'TvMaze', 2205224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b69efcb9-f191-b88f-50c7-23b045066d11'::uuid, 'Tvdb', 8789729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b69efcb9-f191-b88f-50c7-23b045066d11'::uuid, 'trakt', 5665764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b69efcb9-f191-b88f-50c7-23b045066d11'::uuid, 'eidr', '10.5240/1639-5167-029E-ACC6-C2F9-E')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b69efcb9-f191-b88f-50c7-23b045066d11'::uuid, 'TmdbCollection', 3312299)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36706 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b69efcb9-f191-b88f-50c7-23b045066d11'::uuid;

-- Query #36707 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b69efcb9-f191-b88f-50c7-23b045066d11'::uuid;

-- Query #36708 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b69efcb9-f191-b88f-50c7-23b045066d11'::uuid]);

-- Query #36709 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b69efcb9-f191-b88f-50c7-23b045066d11'::uuid;

-- Query #36710 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36711 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb412d79-10ee-3cd0-6ed1-328fef0dbf22'::uuid;

-- Query #36712 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb412d79-10ee-3cd0-6ed1-328fef0dbf22'::uuid]);

-- Query #36713 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fb412d79-10ee-3cd0-6ed1-328fef0dbf22'::uuid;

-- Query #36714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb412d79-10ee-3cd0-6ed1-328fef0dbf22'::uuid, 'Imdb', 'tt26688469')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb412d79-10ee-3cd0-6ed1-328fef0dbf22'::uuid, 'Tmdb', 4125194)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb412d79-10ee-3cd0-6ed1-328fef0dbf22'::uuid, 'TvMaze', 2476639)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb412d79-10ee-3cd0-6ed1-328fef0dbf22'::uuid, 'Tvdb', 9444633)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb412d79-10ee-3cd0-6ed1-328fef0dbf22'::uuid, 'trakt', 7050587)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb412d79-10ee-3cd0-6ed1-328fef0dbf22'::uuid, 'eidr', '10.5240/D0AF-DAF3-4A0B-AF9E-15C0-A')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb412d79-10ee-3cd0-6ed1-328fef0dbf22'::uuid, 'TmdbCollection', 4125194)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36721 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb412d79-10ee-3cd0-6ed1-328fef0dbf22'::uuid;

-- Query #36722 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fb412d79-10ee-3cd0-6ed1-328fef0dbf22'::uuid;

-- Query #36723 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fb412d79-10ee-3cd0-6ed1-328fef0dbf22'::uuid]);

-- Query #36724 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fb412d79-10ee-3cd0-6ed1-328fef0dbf22'::uuid;

-- Query #36725 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36726 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4c84c461-030f-4842-dfd0-b3bbae633782'::uuid;

-- Query #36727 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4c84c461-030f-4842-dfd0-b3bbae633782'::uuid]);

-- Query #36728 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4c84c461-030f-4842-dfd0-b3bbae633782'::uuid;

-- Query #36729 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c84c461-030f-4842-dfd0-b3bbae633782'::uuid, 'Imdb', 'tt27136049')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36730 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c84c461-030f-4842-dfd0-b3bbae633782'::uuid, 'Tmdb', 4125217)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36731 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c84c461-030f-4842-dfd0-b3bbae633782'::uuid, 'TvMaze', 2502440)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36732 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c84c461-030f-4842-dfd0-b3bbae633782'::uuid, 'Tvdb', 9502392)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36733 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c84c461-030f-4842-dfd0-b3bbae633782'::uuid, 'trakt', 7050636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c84c461-030f-4842-dfd0-b3bbae633782'::uuid, 'eidr', '10.5240/02FD-52A7-7D6F-F61F-D5F3-D')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c84c461-030f-4842-dfd0-b3bbae633782'::uuid, 'TmdbCollection', 4125217)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36736 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4c84c461-030f-4842-dfd0-b3bbae633782'::uuid;

-- Query #36737 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4c84c461-030f-4842-dfd0-b3bbae633782'::uuid;

-- Query #36738 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4c84c461-030f-4842-dfd0-b3bbae633782'::uuid]);

-- Query #36739 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4c84c461-030f-4842-dfd0-b3bbae633782'::uuid;

-- Query #36740 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36741 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '701d7bb3-c240-d74c-cce0-757364e6626e'::uuid;

-- Query #36742 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['701d7bb3-c240-d74c-cce0-757364e6626e'::uuid]);

-- Query #36743 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '701d7bb3-c240-d74c-cce0-757364e6626e'::uuid;

-- Query #36744 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('701d7bb3-c240-d74c-cce0-757364e6626e'::uuid, 'Imdb', 'tt27235350')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('701d7bb3-c240-d74c-cce0-757364e6626e'::uuid, 'Tmdb', 4125224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('701d7bb3-c240-d74c-cce0-757364e6626e'::uuid, 'TvMaze', 2506930)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('701d7bb3-c240-d74c-cce0-757364e6626e'::uuid, 'Tvdb', 9502393)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('701d7bb3-c240-d74c-cce0-757364e6626e'::uuid, 'trakt', 7050652)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('701d7bb3-c240-d74c-cce0-757364e6626e'::uuid, 'eidr', '10.5240/B1E3-8687-9E19-3A11-0F67-8')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('701d7bb3-c240-d74c-cce0-757364e6626e'::uuid, 'TmdbCollection', 4125224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36751 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '701d7bb3-c240-d74c-cce0-757364e6626e'::uuid;

-- Query #36752 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '701d7bb3-c240-d74c-cce0-757364e6626e'::uuid;

-- Query #36753 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['701d7bb3-c240-d74c-cce0-757364e6626e'::uuid]);

-- Query #36754 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '701d7bb3-c240-d74c-cce0-757364e6626e'::uuid;

-- Query #36755 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36756 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e461c98-9c1c-abdc-92c6-c53dbd072066'::uuid;

-- Query #36757 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e461c98-9c1c-abdc-92c6-c53dbd072066'::uuid]);

-- Query #36758 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2e461c98-9c1c-abdc-92c6-c53dbd072066'::uuid;

-- Query #36759 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e461c98-9c1c-abdc-92c6-c53dbd072066'::uuid, 'Imdb', 'tt27235360')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36760 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e461c98-9c1c-abdc-92c6-c53dbd072066'::uuid, 'Tmdb', 4174550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36761 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e461c98-9c1c-abdc-92c6-c53dbd072066'::uuid, 'TvMaze', 2508617)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36762 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e461c98-9c1c-abdc-92c6-c53dbd072066'::uuid, 'Tvdb', 9558253)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36763 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e461c98-9c1c-abdc-92c6-c53dbd072066'::uuid, 'trakt', 7269732)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36764 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e461c98-9c1c-abdc-92c6-c53dbd072066'::uuid, 'eidr', '10.5240/8748-6D39-57BD-C748-8E05-7')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e461c98-9c1c-abdc-92c6-c53dbd072066'::uuid, 'TmdbCollection', 4174550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36766 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e461c98-9c1c-abdc-92c6-c53dbd072066'::uuid;

-- Query #36767 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2e461c98-9c1c-abdc-92c6-c53dbd072066'::uuid;

-- Query #36768 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2e461c98-9c1c-abdc-92c6-c53dbd072066'::uuid]);

-- Query #36769 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2e461c98-9c1c-abdc-92c6-c53dbd072066'::uuid;

-- Query #36770 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36771 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '510c0d0b-85a9-d60a-739c-eeb5e7c20036'::uuid;

-- Query #36772 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['510c0d0b-85a9-d60a-739c-eeb5e7c20036'::uuid]);

-- Query #36773 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '510c0d0b-85a9-d60a-739c-eeb5e7c20036'::uuid;

-- Query #36774 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('510c0d0b-85a9-d60a-739c-eeb5e7c20036'::uuid, 'Imdb', 'tt20228676')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('510c0d0b-85a9-d60a-739c-eeb5e7c20036'::uuid, 'Tmdb', 4044550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('510c0d0b-85a9-d60a-739c-eeb5e7c20036'::uuid, 'TvMaze', 2427409)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('510c0d0b-85a9-d60a-739c-eeb5e7c20036'::uuid, 'Tvdb', 9444630)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('510c0d0b-85a9-d60a-739c-eeb5e7c20036'::uuid, 'trakt', 6859841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('510c0d0b-85a9-d60a-739c-eeb5e7c20036'::uuid, 'eidr', '10.5240/1D38-B45D-FFD2-F613-28B9-Y')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('510c0d0b-85a9-d60a-739c-eeb5e7c20036'::uuid, 'tv maze', 2427409)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('510c0d0b-85a9-d60a-739c-eeb5e7c20036'::uuid, 'TmdbCollection', 4044550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36782 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '510c0d0b-85a9-d60a-739c-eeb5e7c20036'::uuid;

-- Query #36783 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '510c0d0b-85a9-d60a-739c-eeb5e7c20036'::uuid;

-- Query #36784 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['510c0d0b-85a9-d60a-739c-eeb5e7c20036'::uuid]);

-- Query #36785 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '510c0d0b-85a9-d60a-739c-eeb5e7c20036'::uuid;

-- Query #36786 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36787 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e4412ed6-858e-1912-f101-3a5c3f6171c8'::uuid;

-- Query #36788 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e4412ed6-858e-1912-f101-3a5c3f6171c8'::uuid]);

-- Query #36789 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e4412ed6-858e-1912-f101-3a5c3f6171c8'::uuid;

-- Query #36790 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4412ed6-858e-1912-f101-3a5c3f6171c8'::uuid, 'Imdb', 'tt27235369')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36791 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4412ed6-858e-1912-f101-3a5c3f6171c8'::uuid, 'Tmdb', 4363052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4412ed6-858e-1912-f101-3a5c3f6171c8'::uuid, 'trakt', 7324275)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36793 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4412ed6-858e-1912-f101-3a5c3f6171c8'::uuid, 'TvMaze', 2510849)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4412ed6-858e-1912-f101-3a5c3f6171c8'::uuid, 'Tvdb', 9502397)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e4412ed6-858e-1912-f101-3a5c3f6171c8'::uuid, 'TmdbCollection', 4363052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36796 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e4412ed6-858e-1912-f101-3a5c3f6171c8'::uuid;

-- Query #36797 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e4412ed6-858e-1912-f101-3a5c3f6171c8'::uuid;

-- Query #36798 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e4412ed6-858e-1912-f101-3a5c3f6171c8'::uuid]);

-- Query #36799 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e4412ed6-858e-1912-f101-3a5c3f6171c8'::uuid;

-- Query #36800 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36801 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7dc1713a-525c-b734-3545-4d84d1f3e6b5'::uuid;

-- Query #36802 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7dc1713a-525c-b734-3545-4d84d1f3e6b5'::uuid]);

-- Query #36803 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7dc1713a-525c-b734-3545-4d84d1f3e6b5'::uuid;

-- Query #36804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7dc1713a-525c-b734-3545-4d84d1f3e6b5'::uuid, 'Imdb', 'tt27235356')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7dc1713a-525c-b734-3545-4d84d1f3e6b5'::uuid, 'Tmdb', 4125229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7dc1713a-525c-b734-3545-4d84d1f3e6b5'::uuid, 'TvMaze', 2508616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7dc1713a-525c-b734-3545-4d84d1f3e6b5'::uuid, 'Tvdb', 9502394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36808 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7dc1713a-525c-b734-3545-4d84d1f3e6b5'::uuid, 'trakt', 7050662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7dc1713a-525c-b734-3545-4d84d1f3e6b5'::uuid, 'eidr', '10.5240/3260-83F5-F456-2A9C-83B2-2')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7dc1713a-525c-b734-3545-4d84d1f3e6b5'::uuid, 'TmdbCollection', 4125229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36811 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7dc1713a-525c-b734-3545-4d84d1f3e6b5'::uuid;

-- Query #36812 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7dc1713a-525c-b734-3545-4d84d1f3e6b5'::uuid;

-- Query #36813 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7dc1713a-525c-b734-3545-4d84d1f3e6b5'::uuid]);

-- Query #36814 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7dc1713a-525c-b734-3545-4d84d1f3e6b5'::uuid;

-- Query #36815 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36816 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd02e72b9-41e6-2513-d9ec-a0a6833987af'::uuid;

-- Query #36817 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d02e72b9-41e6-2513-d9ec-a0a6833987af'::uuid]);

-- Query #36818 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd02e72b9-41e6-2513-d9ec-a0a6833987af'::uuid;

-- Query #36819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d02e72b9-41e6-2513-d9ec-a0a6833987af'::uuid, 'Imdb', 'tt26936101')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d02e72b9-41e6-2513-d9ec-a0a6833987af'::uuid, 'Tmdb', 4125212)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d02e72b9-41e6-2513-d9ec-a0a6833987af'::uuid, 'TvMaze', 2498359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d02e72b9-41e6-2513-d9ec-a0a6833987af'::uuid, 'Tvdb', 9502379)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36823 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d02e72b9-41e6-2513-d9ec-a0a6833987af'::uuid, 'trakt', 7050620)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d02e72b9-41e6-2513-d9ec-a0a6833987af'::uuid, 'eidr', '10.5240/016F-7756-4D19-BF5A-125F-S')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d02e72b9-41e6-2513-d9ec-a0a6833987af'::uuid, 'TmdbCollection', 4125212)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36826 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd02e72b9-41e6-2513-d9ec-a0a6833987af'::uuid;

-- Query #36827 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd02e72b9-41e6-2513-d9ec-a0a6833987af'::uuid;

-- Query #36828 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d02e72b9-41e6-2513-d9ec-a0a6833987af'::uuid]);

-- Query #36829 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd02e72b9-41e6-2513-d9ec-a0a6833987af'::uuid;

-- Query #36830 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36831 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'faef5d47-c61f-c898-c37a-24754021cf1f'::uuid;

-- Query #36832 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['faef5d47-c61f-c898-c37a-24754021cf1f'::uuid]);

-- Query #36833 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'faef5d47-c61f-c898-c37a-24754021cf1f'::uuid;

-- Query #36834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faef5d47-c61f-c898-c37a-24754021cf1f'::uuid, 'Imdb', 'tt26542437')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faef5d47-c61f-c898-c37a-24754021cf1f'::uuid, 'Tmdb', 4125185)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36836 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faef5d47-c61f-c898-c37a-24754021cf1f'::uuid, 'TvMaze', 2476636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faef5d47-c61f-c898-c37a-24754021cf1f'::uuid, 'Tvdb', 9444631)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faef5d47-c61f-c898-c37a-24754021cf1f'::uuid, 'trakt', 7050569)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faef5d47-c61f-c898-c37a-24754021cf1f'::uuid, 'eidr', '10.5240/B695-D05F-9FCF-DCAD-79D7-G')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36840 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('faef5d47-c61f-c898-c37a-24754021cf1f'::uuid, 'TmdbCollection', 4125185)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36841 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'faef5d47-c61f-c898-c37a-24754021cf1f'::uuid;

-- Query #36842 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'faef5d47-c61f-c898-c37a-24754021cf1f'::uuid;

-- Query #36843 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['faef5d47-c61f-c898-c37a-24754021cf1f'::uuid]);

-- Query #36844 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'faef5d47-c61f-c898-c37a-24754021cf1f'::uuid;

-- Query #36845 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36846 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5313be59-9133-7371-867f-314836016bc9'::uuid;

-- Query #36847 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5313be59-9133-7371-867f-314836016bc9'::uuid]);

-- Query #36848 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5313be59-9133-7371-867f-314836016bc9'::uuid;

-- Query #36849 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5313be59-9133-7371-867f-314836016bc9'::uuid, 'Imdb', 'tt27235363')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5313be59-9133-7371-867f-314836016bc9'::uuid, 'Tmdb', 4357818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5313be59-9133-7371-867f-314836016bc9'::uuid, 'trakt', 7324271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36852 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5313be59-9133-7371-867f-314836016bc9'::uuid, 'TvMaze', 2510848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36853 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5313be59-9133-7371-867f-314836016bc9'::uuid, 'Tvdb', 9502395)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36854 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5313be59-9133-7371-867f-314836016bc9'::uuid, 'TmdbCollection', 4357818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36855 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5313be59-9133-7371-867f-314836016bc9'::uuid;

-- Query #36856 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5313be59-9133-7371-867f-314836016bc9'::uuid;

-- Query #36857 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5313be59-9133-7371-867f-314836016bc9'::uuid]);

-- Query #36858 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5313be59-9133-7371-867f-314836016bc9'::uuid;

-- Query #36859 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid, '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36860 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5d129a55-1711-00d3-854d-0c454a5f8c70'::uuid
ORDER BY b."SortName";

-- Query #36861 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid])
ORDER BY b."Id";

-- Query #36862 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid])
ORDER BY b."Id";

-- Query #36863 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid])
ORDER BY b."Id";

-- Query #36864 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid])
ORDER BY b."Id";

-- Query #36865 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['8281171f-a944-9515-11e2-f75d2c815e01'::uuid, '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid, 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid, 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid, '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid])
ORDER BY b."Id";

-- Query #36866 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8281171f-a944-9515-11e2-f75d2c815e01'::uuid
ORDER BY b."SortName";

-- Query #36867 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2412aff2-4f83-66e1-f442-02f81c3439d6'::uuid
ORDER BY b."SortName";

-- Query #36868 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e33e14f6-a34b-749d-8586-c3c90712ab89'::uuid
ORDER BY b."SortName";

-- Query #36869 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ad4b2e6c-ea3d-036b-832f-cf7f28ff50e5'::uuid
ORDER BY b."SortName";

-- Query #36870 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '05f966d2-68c7-2b93-deed-23afb7f39f1b'::uuid
ORDER BY b."SortName";

-- Query #36871 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '5d129a55171100d3854d0c454a5f8c70'
ORDER BY b."SortName", b."Name";

-- Query #36872 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid
ORDER BY b."SortName";

-- Query #36873 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid])
ORDER BY b."Id";

-- Query #36874 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid])
ORDER BY b."Id";

-- Query #36875 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid])
ORDER BY b."Id";

-- Query #36876 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid])
ORDER BY b."Id";

-- Query #36877 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid])
ORDER BY b."Id";

-- Query #36878 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid
ORDER BY b."SortName";

-- Query #36879 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid
ORDER BY b."SortName";

-- Query #36880 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid;

-- Query #36881 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid]);

-- Query #36882 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid;

-- Query #36883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, 'Imdb', 'tt5290382')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, 'Tmdb', 67744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, 'TmdbCollection', 67744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, 'Tvdb', 328708)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, 'TvMaze', 10822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, 'wikidata', 'Q25340152')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36889 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid;

-- Query #36890 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid;

-- Query #36891 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid]);

-- Query #36892 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid;

-- Query #36893 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36894 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'cc782fb75df27302e60f38e1d70a6d66'
ORDER BY b."SortName", b."Name";

-- Query #36895 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid
ORDER BY b."SortName";

-- Query #36896 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid])
ORDER BY b."Id";

-- Query #36897 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid])
ORDER BY b."Id";

-- Query #36898 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid])
ORDER BY b."Id";

-- Query #36899 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid])
ORDER BY b."Id";

-- Query #36900 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid])
ORDER BY b."Id";

-- Query #36901 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid
ORDER BY b."SortName";

-- Query #36902 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid
ORDER BY b."SortName";

-- Query #36903 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'cc782fb75df27302e60f38e1d70a6d66'
ORDER BY b."SortName", b."Name";

-- Query #36904 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid;

-- Query #36905 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid]);

-- Query #36906 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid;

-- Query #36907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'Tvdb', 328708)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'Tmdb', 67744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'Imdb', 'tt5290382')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36910 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'wikidata', 'Q25340152')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'TvMaze', 10822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'TmdbCollection', 67744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36913 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid;

-- Query #36914 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid;

-- Query #36915 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid]);

-- Query #36916 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid;

-- Query #36917 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36918 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'cc782fb75df27302e60f38e1d70a6d66'
ORDER BY b."SortName", b."Name";

-- Query #36919 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid;

-- Query #36920 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c882da6a-a926-c882-457a-68ac2bfd7119'::uuid]);

-- Query #36921 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid;

-- Query #36922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c882da6a-a926-c882-457a-68ac2bfd7119'::uuid, 'Tvdb', 328708)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c882da6a-a926-c882-457a-68ac2bfd7119'::uuid, 'Tmdb', 67744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c882da6a-a926-c882-457a-68ac2bfd7119'::uuid, 'Imdb', 'tt5290382')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c882da6a-a926-c882-457a-68ac2bfd7119'::uuid, 'wikidata', 'Q25340152')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c882da6a-a926-c882-457a-68ac2bfd7119'::uuid, 'TvMaze', 10822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c882da6a-a926-c882-457a-68ac2bfd7119'::uuid, 'TmdbCollection', 67744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36928 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid;

-- Query #36929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid;

-- Query #36930 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c882da6a-a926-c882-457a-68ac2bfd7119'::uuid]);

-- Query #36931 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid;

-- Query #36932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36933 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '333572e4-e802-7267-6ca0-58fc8ee4bd4a'::uuid;

-- Query #36934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['333572e4-e802-7267-6ca0-58fc8ee4bd4a'::uuid]);

-- Query #36935 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '333572e4-e802-7267-6ca0-58fc8ee4bd4a'::uuid;

-- Query #36936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('333572e4-e802-7267-6ca0-58fc8ee4bd4a'::uuid, 'Imdb', 'tt5534132')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('333572e4-e802-7267-6ca0-58fc8ee4bd4a'::uuid, 'Tmdb', 1337906)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('333572e4-e802-7267-6ca0-58fc8ee4bd4a'::uuid, 'trakt', 2509584)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('333572e4-e802-7267-6ca0-58fc8ee4bd4a'::uuid, 'TvMaze', 1086661)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('333572e4-e802-7267-6ca0-58fc8ee4bd4a'::uuid, 'Tvdb', 6124070)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36941 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('333572e4-e802-7267-6ca0-58fc8ee4bd4a'::uuid, 'TmdbCollection', 1337906)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36942 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '333572e4-e802-7267-6ca0-58fc8ee4bd4a'::uuid;

-- Query #36943 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '333572e4-e802-7267-6ca0-58fc8ee4bd4a'::uuid;

-- Query #36944 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['333572e4-e802-7267-6ca0-58fc8ee4bd4a'::uuid]);

-- Query #36945 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '333572e4-e802-7267-6ca0-58fc8ee4bd4a'::uuid;

-- Query #36946 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36947 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '297e55ec-b77d-2e99-589a-c68497976f53'::uuid;

-- Query #36948 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['297e55ec-b77d-2e99-589a-c68497976f53'::uuid]);

-- Query #36949 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '297e55ec-b77d-2e99-589a-c68497976f53'::uuid;

-- Query #36950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('297e55ec-b77d-2e99-589a-c68497976f53'::uuid, 'Imdb', 'tt5760298')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('297e55ec-b77d-2e99-589a-c68497976f53'::uuid, 'Tmdb', 1379139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('297e55ec-b77d-2e99-589a-c68497976f53'::uuid, 'trakt', 2509585)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('297e55ec-b77d-2e99-589a-c68497976f53'::uuid, 'TvMaze', 1212625)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36954 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('297e55ec-b77d-2e99-589a-c68497976f53'::uuid, 'Tvdb', 6166171)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36955 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('297e55ec-b77d-2e99-589a-c68497976f53'::uuid, 'TmdbCollection', 1379139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36956 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '297e55ec-b77d-2e99-589a-c68497976f53'::uuid;

-- Query #36957 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '297e55ec-b77d-2e99-589a-c68497976f53'::uuid;

-- Query #36958 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['297e55ec-b77d-2e99-589a-c68497976f53'::uuid]);

-- Query #36959 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '297e55ec-b77d-2e99-589a-c68497976f53'::uuid;

-- Query #36960 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36961 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #36962 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4011af5b-1ae3-0d96-cfc6-db1917088b45'::uuid;

-- Query #36963 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4011af5b-1ae3-0d96-cfc6-db1917088b45'::uuid]);

-- Query #36964 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4011af5b-1ae3-0d96-cfc6-db1917088b45'::uuid;

-- Query #36965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4011af5b-1ae3-0d96-cfc6-db1917088b45'::uuid, 'Imdb', 'tt6132782')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4011af5b-1ae3-0d96-cfc6-db1917088b45'::uuid, 'Tmdb', 1379140)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4011af5b-1ae3-0d96-cfc6-db1917088b45'::uuid, 'trakt', 2509586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4011af5b-1ae3-0d96-cfc6-db1917088b45'::uuid, 'TvMaze', 1326099)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36969 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4011af5b-1ae3-0d96-cfc6-db1917088b45'::uuid, 'Tvdb', 6166172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36970 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4011af5b-1ae3-0d96-cfc6-db1917088b45'::uuid, 'TmdbCollection', 1379140)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36971 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4011af5b-1ae3-0d96-cfc6-db1917088b45'::uuid;

-- Query #36972 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4011af5b-1ae3-0d96-cfc6-db1917088b45'::uuid;

-- Query #36973 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4011af5b-1ae3-0d96-cfc6-db1917088b45'::uuid]);

-- Query #36974 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4011af5b-1ae3-0d96-cfc6-db1917088b45'::uuid;

-- Query #36975 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36976 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3cec223f-e00c-9abd-4b85-cdd0dc7873a4'::uuid;

-- Query #36977 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3cec223f-e00c-9abd-4b85-cdd0dc7873a4'::uuid]);

-- Query #36978 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3cec223f-e00c-9abd-4b85-cdd0dc7873a4'::uuid;

-- Query #36979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cec223f-e00c-9abd-4b85-cdd0dc7873a4'::uuid, 'Imdb', 'tt6321280')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cec223f-e00c-9abd-4b85-cdd0dc7873a4'::uuid, 'Tmdb', 1379142)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cec223f-e00c-9abd-4b85-cdd0dc7873a4'::uuid, 'trakt', 2509587)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cec223f-e00c-9abd-4b85-cdd0dc7873a4'::uuid, 'TvMaze', 1326475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cec223f-e00c-9abd-4b85-cdd0dc7873a4'::uuid, 'Tvdb', 6166173)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36984 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cec223f-e00c-9abd-4b85-cdd0dc7873a4'::uuid, 'TmdbCollection', 1379142)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36985 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3cec223f-e00c-9abd-4b85-cdd0dc7873a4'::uuid;

-- Query #36986 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3cec223f-e00c-9abd-4b85-cdd0dc7873a4'::uuid;

-- Query #36987 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3cec223f-e00c-9abd-4b85-cdd0dc7873a4'::uuid]);

-- Query #36988 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3cec223f-e00c-9abd-4b85-cdd0dc7873a4'::uuid;

-- Query #36989 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #36990 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd1a8e6af-adba-c92e-bf44-adf103113229'::uuid;

-- Query #36991 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1a8e6af-adba-c92e-bf44-adf103113229'::uuid]);

-- Query #36992 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd1a8e6af-adba-c92e-bf44-adf103113229'::uuid;

-- Query #36993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1a8e6af-adba-c92e-bf44-adf103113229'::uuid, 'Imdb', 'tt6321282')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1a8e6af-adba-c92e-bf44-adf103113229'::uuid, 'Tmdb', 1379143)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1a8e6af-adba-c92e-bf44-adf103113229'::uuid, 'trakt', 2509588)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1a8e6af-adba-c92e-bf44-adf103113229'::uuid, 'TvMaze', 1326476)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1a8e6af-adba-c92e-bf44-adf103113229'::uuid, 'Tvdb', 6166174)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36998 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1a8e6af-adba-c92e-bf44-adf103113229'::uuid, 'TmdbCollection', 1379143)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #36999 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd1a8e6af-adba-c92e-bf44-adf103113229'::uuid;

-- Query #37000 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd1a8e6af-adba-c92e-bf44-adf103113229'::uuid;

-- Query #37001 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d1a8e6af-adba-c92e-bf44-adf103113229'::uuid]);

-- Query #37002 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd1a8e6af-adba-c92e-bf44-adf103113229'::uuid;

-- Query #37003 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37004 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5e13474-16c7-3224-b3a3-cd1a67eec1d5'::uuid;

-- Query #37005 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5e13474-16c7-3224-b3a3-cd1a67eec1d5'::uuid]);

-- Query #37006 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e5e13474-16c7-3224-b3a3-cd1a67eec1d5'::uuid;

-- Query #37007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5e13474-16c7-3224-b3a3-cd1a67eec1d5'::uuid, 'Imdb', 'tt5824790')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5e13474-16c7-3224-b3a3-cd1a67eec1d5'::uuid, 'Tmdb', 1379145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37009 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5e13474-16c7-3224-b3a3-cd1a67eec1d5'::uuid, 'trakt', 2509590)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5e13474-16c7-3224-b3a3-cd1a67eec1d5'::uuid, 'TvMaze', 1326478)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5e13474-16c7-3224-b3a3-cd1a67eec1d5'::uuid, 'Tvdb', 6166176)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5e13474-16c7-3224-b3a3-cd1a67eec1d5'::uuid, 'TmdbCollection', 1379145)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37013 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5e13474-16c7-3224-b3a3-cd1a67eec1d5'::uuid;

-- Query #37014 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e5e13474-16c7-3224-b3a3-cd1a67eec1d5'::uuid;

-- Query #37015 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e5e13474-16c7-3224-b3a3-cd1a67eec1d5'::uuid]);

-- Query #37016 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e5e13474-16c7-3224-b3a3-cd1a67eec1d5'::uuid;

-- Query #37017 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37018 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '34735bb3-5eeb-6260-bdfd-2acde604ca36'::uuid;

-- Query #37019 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['34735bb3-5eeb-6260-bdfd-2acde604ca36'::uuid]);

-- Query #37020 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '34735bb3-5eeb-6260-bdfd-2acde604ca36'::uuid;

-- Query #37021 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34735bb3-5eeb-6260-bdfd-2acde604ca36'::uuid, 'Imdb', 'tt5824794')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37022 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34735bb3-5eeb-6260-bdfd-2acde604ca36'::uuid, 'Tmdb', 1379146)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37023 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34735bb3-5eeb-6260-bdfd-2acde604ca36'::uuid, 'trakt', 2509591)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34735bb3-5eeb-6260-bdfd-2acde604ca36'::uuid, 'TvMaze', 1326479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34735bb3-5eeb-6260-bdfd-2acde604ca36'::uuid, 'Tvdb', 6166177)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('34735bb3-5eeb-6260-bdfd-2acde604ca36'::uuid, 'TmdbCollection', 1379146)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37027 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '34735bb3-5eeb-6260-bdfd-2acde604ca36'::uuid;

-- Query #37028 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '34735bb3-5eeb-6260-bdfd-2acde604ca36'::uuid;

-- Query #37029 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['34735bb3-5eeb-6260-bdfd-2acde604ca36'::uuid]);

-- Query #37030 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '34735bb3-5eeb-6260-bdfd-2acde604ca36'::uuid;

-- Query #37031 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37032 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab00e0fe-75be-2b3b-f2f7-7959f80e5d87'::uuid;

-- Query #37033 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab00e0fe-75be-2b3b-f2f7-7959f80e5d87'::uuid]);

-- Query #37034 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ab00e0fe-75be-2b3b-f2f7-7959f80e5d87'::uuid;

-- Query #37035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab00e0fe-75be-2b3b-f2f7-7959f80e5d87'::uuid, 'Imdb', 'tt6113642')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab00e0fe-75be-2b3b-f2f7-7959f80e5d87'::uuid, 'Tmdb', 1379147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab00e0fe-75be-2b3b-f2f7-7959f80e5d87'::uuid, 'trakt', 2509592)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab00e0fe-75be-2b3b-f2f7-7959f80e5d87'::uuid, 'TvMaze', 1326480)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37039 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab00e0fe-75be-2b3b-f2f7-7959f80e5d87'::uuid, 'Tvdb', 6166178)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37040 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab00e0fe-75be-2b3b-f2f7-7959f80e5d87'::uuid, 'TmdbCollection', 1379147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37041 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab00e0fe-75be-2b3b-f2f7-7959f80e5d87'::uuid;

-- Query #37042 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ab00e0fe-75be-2b3b-f2f7-7959f80e5d87'::uuid;

-- Query #37043 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ab00e0fe-75be-2b3b-f2f7-7959f80e5d87'::uuid]);

-- Query #37044 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ab00e0fe-75be-2b3b-f2f7-7959f80e5d87'::uuid;

-- Query #37045 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37046 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29fe3169-0dc4-fe58-3da5-68dd3abad949'::uuid;

-- Query #37047 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29fe3169-0dc4-fe58-3da5-68dd3abad949'::uuid]);

-- Query #37048 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '29fe3169-0dc4-fe58-3da5-68dd3abad949'::uuid;

-- Query #37049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29fe3169-0dc4-fe58-3da5-68dd3abad949'::uuid, 'Imdb', 'tt6053616')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29fe3169-0dc4-fe58-3da5-68dd3abad949'::uuid, 'Tmdb', 1379148)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29fe3169-0dc4-fe58-3da5-68dd3abad949'::uuid, 'trakt', 2509593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29fe3169-0dc4-fe58-3da5-68dd3abad949'::uuid, 'TvMaze', 1326481)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37053 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29fe3169-0dc4-fe58-3da5-68dd3abad949'::uuid, 'Tvdb', 6166179)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37054 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29fe3169-0dc4-fe58-3da5-68dd3abad949'::uuid, 'TmdbCollection', 1379148)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37055 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29fe3169-0dc4-fe58-3da5-68dd3abad949'::uuid;

-- Query #37056 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '29fe3169-0dc4-fe58-3da5-68dd3abad949'::uuid;

-- Query #37057 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['29fe3169-0dc4-fe58-3da5-68dd3abad949'::uuid]);

-- Query #37058 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '29fe3169-0dc4-fe58-3da5-68dd3abad949'::uuid;

-- Query #37059 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37060 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a6ab6363-8e33-8782-dc08-e6fa1d76c93b'::uuid;

-- Query #37061 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6ab6363-8e33-8782-dc08-e6fa1d76c93b'::uuid]);

-- Query #37062 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a6ab6363-8e33-8782-dc08-e6fa1d76c93b'::uuid;

-- Query #37063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6ab6363-8e33-8782-dc08-e6fa1d76c93b'::uuid, 'Imdb', 'tt6885982')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6ab6363-8e33-8782-dc08-e6fa1d76c93b'::uuid, 'Tmdb', 1848886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6ab6363-8e33-8782-dc08-e6fa1d76c93b'::uuid, 'trakt', 3618450)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6ab6363-8e33-8782-dc08-e6fa1d76c93b'::uuid, 'TvMaze', 1661944)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37067 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6ab6363-8e33-8782-dc08-e6fa1d76c93b'::uuid, 'Tvdb', 7277003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6ab6363-8e33-8782-dc08-e6fa1d76c93b'::uuid, 'TmdbCollection', 1848886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37069 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a6ab6363-8e33-8782-dc08-e6fa1d76c93b'::uuid;

-- Query #37070 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a6ab6363-8e33-8782-dc08-e6fa1d76c93b'::uuid;

-- Query #37071 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a6ab6363-8e33-8782-dc08-e6fa1d76c93b'::uuid]);

-- Query #37072 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a6ab6363-8e33-8782-dc08-e6fa1d76c93b'::uuid;

-- Query #37073 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c882da6a-a926-c882-457a-68ac2bfd7119'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37074 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fefb74e2-f6dc-3136-9561-7722254da04f'::uuid;

-- Query #37075 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fefb74e2-f6dc-3136-9561-7722254da04f'::uuid]);

-- Query #37076 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fefb74e2-f6dc-3136-9561-7722254da04f'::uuid;

-- Query #37077 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fefb74e2-f6dc-3136-9561-7722254da04f'::uuid, 'Imdb', 'tt7740610')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37078 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fefb74e2-f6dc-3136-9561-7722254da04f'::uuid, 'Tmdb', 1855001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37079 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fefb74e2-f6dc-3136-9561-7722254da04f'::uuid, 'trakt', 3658586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fefb74e2-f6dc-3136-9561-7722254da04f'::uuid, 'TvMaze', 1664116)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37081 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fefb74e2-f6dc-3136-9561-7722254da04f'::uuid, 'Tvdb', 7314583)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37082 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fefb74e2-f6dc-3136-9561-7722254da04f'::uuid, 'TmdbCollection', 1855001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fefb74e2-f6dc-3136-9561-7722254da04f'::uuid;

-- Query #37084 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fefb74e2-f6dc-3136-9561-7722254da04f'::uuid;

-- Query #37085 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fefb74e2-f6dc-3136-9561-7722254da04f'::uuid]);

-- Query #37086 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fefb74e2-f6dc-3136-9561-7722254da04f'::uuid;

-- Query #37087 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c882da6a-a926-c882-457a-68ac2bfd7119'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37088 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '466d5df6-3df1-6cfb-deff-5f81fa491897'::uuid;

-- Query #37089 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['466d5df6-3df1-6cfb-deff-5f81fa491897'::uuid]);

-- Query #37090 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '466d5df6-3df1-6cfb-deff-5f81fa491897'::uuid;

-- Query #37091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('466d5df6-3df1-6cfb-deff-5f81fa491897'::uuid, 'Imdb', 'tt7995810')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('466d5df6-3df1-6cfb-deff-5f81fa491897'::uuid, 'Tmdb', 1855003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('466d5df6-3df1-6cfb-deff-5f81fa491897'::uuid, 'trakt', 3658588)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('466d5df6-3df1-6cfb-deff-5f81fa491897'::uuid, 'TvMaze', 1664118)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('466d5df6-3df1-6cfb-deff-5f81fa491897'::uuid, 'Tvdb', 7314587)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('466d5df6-3df1-6cfb-deff-5f81fa491897'::uuid, 'TmdbCollection', 1855003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37097 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '466d5df6-3df1-6cfb-deff-5f81fa491897'::uuid;

-- Query #37098 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '466d5df6-3df1-6cfb-deff-5f81fa491897'::uuid;

-- Query #37099 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['466d5df6-3df1-6cfb-deff-5f81fa491897'::uuid]);

-- Query #37100 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '466d5df6-3df1-6cfb-deff-5f81fa491897'::uuid;

-- Query #37101 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c882da6a-a926-c882-457a-68ac2bfd7119'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37102 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dcb0cec4-2aec-6a73-8260-9d42c9307961'::uuid;

-- Query #37103 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcb0cec4-2aec-6a73-8260-9d42c9307961'::uuid]);

-- Query #37104 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dcb0cec4-2aec-6a73-8260-9d42c9307961'::uuid;

-- Query #37105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcb0cec4-2aec-6a73-8260-9d42c9307961'::uuid, 'Imdb', 'tt7995814')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcb0cec4-2aec-6a73-8260-9d42c9307961'::uuid, 'Tmdb', 1855004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcb0cec4-2aec-6a73-8260-9d42c9307961'::uuid, 'trakt', 3658589)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcb0cec4-2aec-6a73-8260-9d42c9307961'::uuid, 'TvMaze', 1664119)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcb0cec4-2aec-6a73-8260-9d42c9307961'::uuid, 'Tvdb', 7314589)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dcb0cec4-2aec-6a73-8260-9d42c9307961'::uuid, 'TmdbCollection', 1855004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37111 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dcb0cec4-2aec-6a73-8260-9d42c9307961'::uuid;

-- Query #37112 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dcb0cec4-2aec-6a73-8260-9d42c9307961'::uuid;

-- Query #37113 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dcb0cec4-2aec-6a73-8260-9d42c9307961'::uuid]);

-- Query #37114 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dcb0cec4-2aec-6a73-8260-9d42c9307961'::uuid;

-- Query #37115 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c882da6a-a926-c882-457a-68ac2bfd7119'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37116 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0abedfc0-a014-e090-7785-f0a93cf26e0c'::uuid;

-- Query #37117 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0abedfc0-a014-e090-7785-f0a93cf26e0c'::uuid]);

-- Query #37118 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0abedfc0-a014-e090-7785-f0a93cf26e0c'::uuid;

-- Query #37119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0abedfc0-a014-e090-7785-f0a93cf26e0c'::uuid, 'Imdb', 'tt7996258')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37120 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0abedfc0-a014-e090-7785-f0a93cf26e0c'::uuid, 'Tmdb', 1855005)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37121 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0abedfc0-a014-e090-7785-f0a93cf26e0c'::uuid, 'trakt', 3658590)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0abedfc0-a014-e090-7785-f0a93cf26e0c'::uuid, 'TvMaze', 1664120)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0abedfc0-a014-e090-7785-f0a93cf26e0c'::uuid, 'Tvdb', 7314590)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0abedfc0-a014-e090-7785-f0a93cf26e0c'::uuid, 'TmdbCollection', 1855005)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37125 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0abedfc0-a014-e090-7785-f0a93cf26e0c'::uuid;

-- Query #37126 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0abedfc0-a014-e090-7785-f0a93cf26e0c'::uuid;

-- Query #37127 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0abedfc0-a014-e090-7785-f0a93cf26e0c'::uuid]);

-- Query #37128 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0abedfc0-a014-e090-7785-f0a93cf26e0c'::uuid;

-- Query #37129 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c882da6a-a926-c882-457a-68ac2bfd7119'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37130 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0f528e7-b034-d80f-383f-a28336422f74'::uuid;

-- Query #37131 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0f528e7-b034-d80f-383f-a28336422f74'::uuid]);

-- Query #37132 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a0f528e7-b034-d80f-383f-a28336422f74'::uuid;

-- Query #37133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0f528e7-b034-d80f-383f-a28336422f74'::uuid, 'Imdb', 'tt7996262')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37134 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0f528e7-b034-d80f-383f-a28336422f74'::uuid, 'Tmdb', 1855006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0f528e7-b034-d80f-383f-a28336422f74'::uuid, 'trakt', 3658591)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0f528e7-b034-d80f-383f-a28336422f74'::uuid, 'TvMaze', 1664121)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0f528e7-b034-d80f-383f-a28336422f74'::uuid, 'Tvdb', 7314592)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0f528e7-b034-d80f-383f-a28336422f74'::uuid, 'TmdbCollection', 1855006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37139 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0f528e7-b034-d80f-383f-a28336422f74'::uuid;

-- Query #37140 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a0f528e7-b034-d80f-383f-a28336422f74'::uuid;

-- Query #37141 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a0f528e7-b034-d80f-383f-a28336422f74'::uuid]);

-- Query #37142 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a0f528e7-b034-d80f-383f-a28336422f74'::uuid;

-- Query #37143 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c882da6a-a926-c882-457a-68ac2bfd7119'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37144 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4766e6ce-9cc8-b364-f1b1-f5525a3d7086'::uuid;

-- Query #37145 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4766e6ce-9cc8-b364-f1b1-f5525a3d7086'::uuid]);

-- Query #37146 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4766e6ce-9cc8-b364-f1b1-f5525a3d7086'::uuid;

-- Query #37147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4766e6ce-9cc8-b364-f1b1-f5525a3d7086'::uuid, 'Imdb', 'tt7802830')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4766e6ce-9cc8-b364-f1b1-f5525a3d7086'::uuid, 'Tmdb', 1855007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4766e6ce-9cc8-b364-f1b1-f5525a3d7086'::uuid, 'trakt', 3658592)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4766e6ce-9cc8-b364-f1b1-f5525a3d7086'::uuid, 'TvMaze', 1664122)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4766e6ce-9cc8-b364-f1b1-f5525a3d7086'::uuid, 'Tvdb', 7314594)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4766e6ce-9cc8-b364-f1b1-f5525a3d7086'::uuid, 'TmdbCollection', 1855007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37153 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4766e6ce-9cc8-b364-f1b1-f5525a3d7086'::uuid;

-- Query #37154 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4766e6ce-9cc8-b364-f1b1-f5525a3d7086'::uuid;

-- Query #37155 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4766e6ce-9cc8-b364-f1b1-f5525a3d7086'::uuid]);

-- Query #37156 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4766e6ce-9cc8-b364-f1b1-f5525a3d7086'::uuid;

-- Query #37157 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c882da6a-a926-c882-457a-68ac2bfd7119'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37158 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid;

-- Query #37159 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid]);

-- Query #37160 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid;

-- Query #37161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid, 'Imdb', 'tt10731012')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid, 'Tmdb', 1891024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid, 'trakt', 3668872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid, 'TvMaze', 1697718)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid, 'Tvdb', 7323041)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid, 'TmdbCollection', 1891024)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37167 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid;

-- Query #37168 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid;

-- Query #37169 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid]);

-- Query #37170 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid;

-- Query #37171 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c882da6a-a926-c882-457a-68ac2bfd7119'::uuid, 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37172 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cc782fb7-5df2-7302-e60f-38e1d70a6d66'::uuid
ORDER BY b."SortName";

-- Query #37173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid])
ORDER BY b."Id";

-- Query #37174 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid])
ORDER BY b."Id";

-- Query #37175 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid])
ORDER BY b."Id";

-- Query #37176 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid])
ORDER BY b."Id";

-- Query #37177 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid, 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid])
ORDER BY b."Id";

-- Query #37178 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bd8279dd-eee4-a400-a8ad-8bdd5bb20f9a'::uuid
ORDER BY b."SortName";

-- Query #37179 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c882da6a-a926-c882-457a-68ac2bfd7119'::uuid
ORDER BY b."SortName";

-- Query #37180 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'cc782fb75df27302e60f38e1d70a6d66'
ORDER BY b."SortName", b."Name";

-- Query #37181 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '874e6810-a565-53a4-73fe-59d2e371d771'::uuid
ORDER BY b."SortName";

-- Query #37182 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid])
ORDER BY b."Id";

-- Query #37183 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid])
ORDER BY b."Id";

-- Query #37184 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid])
ORDER BY b."Id";

-- Query #37185 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid])
ORDER BY b."Id";

-- Query #37186 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid])
ORDER BY b."Id";

-- Query #37187 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid
ORDER BY b."SortName";

-- Query #37188 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '874e6810-a565-53a4-73fe-59d2e371d771'::uuid;

-- Query #37189 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['874e6810-a565-53a4-73fe-59d2e371d771'::uuid]);

-- Query #37190 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '874e6810-a565-53a4-73fe-59d2e371d771'::uuid;

-- Query #37191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('874e6810-a565-53a4-73fe-59d2e371d771'::uuid, 'Imdb', 'tt4450826')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('874e6810-a565-53a4-73fe-59d2e371d771'::uuid, 'Tmdb', 63175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('874e6810-a565-53a4-73fe-59d2e371d771'::uuid, 'TmdbCollection', 63175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('874e6810-a565-53a4-73fe-59d2e371d771'::uuid, 'Tvdb', 295680)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('874e6810-a565-53a4-73fe-59d2e371d771'::uuid, 'TvMaze', 1858)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('874e6810-a565-53a4-73fe-59d2e371d771'::uuid, 'TvRage', 44909)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('874e6810-a565-53a4-73fe-59d2e371d771'::uuid, 'wikidata', 'Q19904394')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('874e6810-a565-53a4-73fe-59d2e371d771'::uuid, 'Zap2It', 'EP02183790')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37199 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '874e6810-a565-53a4-73fe-59d2e371d771'::uuid;

-- Query #37200 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '874e6810-a565-53a4-73fe-59d2e371d771'::uuid;

-- Query #37201 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['874e6810-a565-53a4-73fe-59d2e371d771'::uuid]);

-- Query #37202 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '874e6810-a565-53a4-73fe-59d2e371d771'::uuid;

-- Query #37203 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37204 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '874e6810a56553a473fe59d2e371d771'
ORDER BY b."SortName", b."Name";

-- Query #37205 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '874e6810-a565-53a4-73fe-59d2e371d771'::uuid
ORDER BY b."SortName";

-- Query #37206 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid])
ORDER BY b."Id";

-- Query #37207 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid])
ORDER BY b."Id";

-- Query #37208 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid])
ORDER BY b."Id";

-- Query #37209 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid])
ORDER BY b."Id";

-- Query #37210 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid])
ORDER BY b."Id";

-- Query #37211 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid
ORDER BY b."SortName";

-- Query #37212 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '874e6810a56553a473fe59d2e371d771'
ORDER BY b."SortName", b."Name";

-- Query #37213 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid;

-- Query #37214 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid]);

-- Query #37215 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid;

-- Query #37216 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, 'TmdbCollection', 63175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, 'Tvdb', 295680)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, 'Tmdb', 63175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, 'Imdb', 'tt4450826')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, 'TvMaze', 1858)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37221 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, 'TvRage', 44909)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37222 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, 'Zap2It', 'EP02183790')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37223 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, 'wikidata', 'Q19904394')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37224 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid;

-- Query #37225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid;

-- Query #37226 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid]);

-- Query #37227 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid;

-- Query #37228 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['874e6810-a565-53a4-73fe-59d2e371d771'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37229 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55b2e1fa-741e-b020-712b-271559c32320'::uuid;

-- Query #37230 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['55b2e1fa-741e-b020-712b-271559c32320'::uuid]);

-- Query #37231 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '55b2e1fa-741e-b020-712b-271559c32320'::uuid;

-- Query #37232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55b2e1fa-741e-b020-712b-271559c32320'::uuid, 'Imdb', 'tt5087536')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55b2e1fa-741e-b020-712b-271559c32320'::uuid, 'Tmdb', 1134778)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55b2e1fa-741e-b020-712b-271559c32320'::uuid, 'trakt', 2040387)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55b2e1fa-741e-b020-712b-271559c32320'::uuid, 'TvMaze', 406822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55b2e1fa-741e-b020-712b-271559c32320'::uuid, 'Tvdb', 5385407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55b2e1fa-741e-b020-712b-271559c32320'::uuid, 'TmdbCollection', 1134778)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37238 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55b2e1fa-741e-b020-712b-271559c32320'::uuid;

-- Query #37239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '55b2e1fa-741e-b020-712b-271559c32320'::uuid;

-- Query #37240 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['55b2e1fa-741e-b020-712b-271559c32320'::uuid]);

-- Query #37241 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '55b2e1fa-741e-b020-712b-271559c32320'::uuid;

-- Query #37242 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, '874e6810-a565-53a4-73fe-59d2e371d771'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid;

-- Query #37244 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid]);

-- Query #37245 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid;

-- Query #37246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid, 'Imdb', 'tt5120048')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid, 'Tmdb', 1134780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid, 'trakt', 2045612)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid, 'TvMaze', 409133)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid, 'Tvdb', 5391896)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid, 'TmdbCollection', 1134780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37252 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid;

-- Query #37253 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid;

-- Query #37254 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid]);

-- Query #37255 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid;

-- Query #37256 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, '874e6810-a565-53a4-73fe-59d2e371d771'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37257 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #37258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0b4812c-0baa-6fd8-ed1f-81dd5dc55a3f'::uuid;

-- Query #37259 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0b4812c-0baa-6fd8-ed1f-81dd5dc55a3f'::uuid]);

-- Query #37260 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a0b4812c-0baa-6fd8-ed1f-81dd5dc55a3f'::uuid;

-- Query #37261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0b4812c-0baa-6fd8-ed1f-81dd5dc55a3f'::uuid, 'Imdb', 'tt4976026')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0b4812c-0baa-6fd8-ed1f-81dd5dc55a3f'::uuid, 'Tmdb', 1131688)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0b4812c-0baa-6fd8-ed1f-81dd5dc55a3f'::uuid, 'trakt', 1992297)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0b4812c-0baa-6fd8-ed1f-81dd5dc55a3f'::uuid, 'TvMaze', 353002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0b4812c-0baa-6fd8-ed1f-81dd5dc55a3f'::uuid, 'Tvdb', 5334843)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a0b4812c-0baa-6fd8-ed1f-81dd5dc55a3f'::uuid, 'TmdbCollection', 1131688)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a0b4812c-0baa-6fd8-ed1f-81dd5dc55a3f'::uuid;

-- Query #37268 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a0b4812c-0baa-6fd8-ed1f-81dd5dc55a3f'::uuid;

-- Query #37269 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a0b4812c-0baa-6fd8-ed1f-81dd5dc55a3f'::uuid]);

-- Query #37270 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a0b4812c-0baa-6fd8-ed1f-81dd5dc55a3f'::uuid;

-- Query #37271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, '874e6810-a565-53a4-73fe-59d2e371d771'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '49a86adc-11c8-f849-03bd-db31e58f3166'::uuid;

-- Query #37273 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49a86adc-11c8-f849-03bd-db31e58f3166'::uuid]);

-- Query #37274 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '49a86adc-11c8-f849-03bd-db31e58f3166'::uuid;

-- Query #37275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49a86adc-11c8-f849-03bd-db31e58f3166'::uuid, 'Imdb', 'tt4967418')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49a86adc-11c8-f849-03bd-db31e58f3166'::uuid, 'Tmdb', 1109587)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49a86adc-11c8-f849-03bd-db31e58f3166'::uuid, 'trakt', 1967786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49a86adc-11c8-f849-03bd-db31e58f3166'::uuid, 'TvMaze', 215358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49a86adc-11c8-f849-03bd-db31e58f3166'::uuid, 'Tvdb', 5314609)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49a86adc-11c8-f849-03bd-db31e58f3166'::uuid, 'TmdbCollection', 1109587)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37281 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '49a86adc-11c8-f849-03bd-db31e58f3166'::uuid;

-- Query #37282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '49a86adc-11c8-f849-03bd-db31e58f3166'::uuid;

-- Query #37283 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['49a86adc-11c8-f849-03bd-db31e58f3166'::uuid]);

-- Query #37284 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '49a86adc-11c8-f849-03bd-db31e58f3166'::uuid;

-- Query #37285 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, '874e6810-a565-53a4-73fe-59d2e371d771'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37286 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b4bcfe3-c52a-166a-6d1b-90d11711043c'::uuid;

-- Query #37287 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8b4bcfe3-c52a-166a-6d1b-90d11711043c'::uuid]);

-- Query #37288 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8b4bcfe3-c52a-166a-6d1b-90d11711043c'::uuid;

-- Query #37289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b4bcfe3-c52a-166a-6d1b-90d11711043c'::uuid, 'Imdb', 'tt4961460')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b4bcfe3-c52a-166a-6d1b-90d11711043c'::uuid, 'Tmdb', 1107197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b4bcfe3-c52a-166a-6d1b-90d11711043c'::uuid, 'trakt', 1961184)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b4bcfe3-c52a-166a-6d1b-90d11711043c'::uuid, 'TvMaze', 215357)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b4bcfe3-c52a-166a-6d1b-90d11711043c'::uuid, 'Tvdb', 5307009)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b4bcfe3-c52a-166a-6d1b-90d11711043c'::uuid, 'TmdbCollection', 1107197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37295 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b4bcfe3-c52a-166a-6d1b-90d11711043c'::uuid;

-- Query #37296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8b4bcfe3-c52a-166a-6d1b-90d11711043c'::uuid;

-- Query #37297 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8b4bcfe3-c52a-166a-6d1b-90d11711043c'::uuid]);

-- Query #37298 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8b4bcfe3-c52a-166a-6d1b-90d11711043c'::uuid;

-- Query #37299 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, '874e6810-a565-53a4-73fe-59d2e371d771'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37300 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5dfee1fe-3b64-03cf-6484-bd0e4a9fe9e9'::uuid;

-- Query #37301 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5dfee1fe-3b64-03cf-6484-bd0e4a9fe9e9'::uuid]);

-- Query #37302 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5dfee1fe-3b64-03cf-6484-bd0e4a9fe9e9'::uuid;

-- Query #37303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5dfee1fe-3b64-03cf-6484-bd0e4a9fe9e9'::uuid, 'Imdb', 'tt5047894')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5dfee1fe-3b64-03cf-6484-bd0e4a9fe9e9'::uuid, 'Tmdb', 1131694)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5dfee1fe-3b64-03cf-6484-bd0e4a9fe9e9'::uuid, 'trakt', 1992299)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5dfee1fe-3b64-03cf-6484-bd0e4a9fe9e9'::uuid, 'TvMaze', 377749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5dfee1fe-3b64-03cf-6484-bd0e4a9fe9e9'::uuid, 'Tvdb', 5334842)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5dfee1fe-3b64-03cf-6484-bd0e4a9fe9e9'::uuid, 'TmdbCollection', 1131694)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37309 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5dfee1fe-3b64-03cf-6484-bd0e4a9fe9e9'::uuid;

-- Query #37310 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5dfee1fe-3b64-03cf-6484-bd0e4a9fe9e9'::uuid;

-- Query #37311 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5dfee1fe-3b64-03cf-6484-bd0e4a9fe9e9'::uuid]);

-- Query #37312 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5dfee1fe-3b64-03cf-6484-bd0e4a9fe9e9'::uuid;

-- Query #37313 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, '874e6810-a565-53a4-73fe-59d2e371d771'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37314 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '081b2771-4049-895b-de6e-72218bcb3405'::uuid;

-- Query #37315 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['081b2771-4049-895b-de6e-72218bcb3405'::uuid]);

-- Query #37316 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '081b2771-4049-895b-de6e-72218bcb3405'::uuid;

-- Query #37317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081b2771-4049-895b-de6e-72218bcb3405'::uuid, 'Imdb', 'tt5100986')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37318 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081b2771-4049-895b-de6e-72218bcb3405'::uuid, 'Tmdb', 1134779)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081b2771-4049-895b-de6e-72218bcb3405'::uuid, 'trakt', 2045611)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081b2771-4049-895b-de6e-72218bcb3405'::uuid, 'TvMaze', 409134)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081b2771-4049-895b-de6e-72218bcb3405'::uuid, 'Tvdb', 5391895)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081b2771-4049-895b-de6e-72218bcb3405'::uuid, 'TmdbCollection', 1134779)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37323 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '081b2771-4049-895b-de6e-72218bcb3405'::uuid;

-- Query #37324 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '081b2771-4049-895b-de6e-72218bcb3405'::uuid;

-- Query #37325 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['081b2771-4049-895b-de6e-72218bcb3405'::uuid]);

-- Query #37326 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '081b2771-4049-895b-de6e-72218bcb3405'::uuid;

-- Query #37327 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, '874e6810-a565-53a4-73fe-59d2e371d771'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f81b9690-0402-7565-b14a-da007611cdba'::uuid;

-- Query #37329 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f81b9690-0402-7565-b14a-da007611cdba'::uuid]);

-- Query #37330 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f81b9690-0402-7565-b14a-da007611cdba'::uuid;

-- Query #37331 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f81b9690-0402-7565-b14a-da007611cdba'::uuid, 'Imdb', 'tt4950186')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37332 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f81b9690-0402-7565-b14a-da007611cdba'::uuid, 'Tmdb', 1106257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37333 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f81b9690-0402-7565-b14a-da007611cdba'::uuid, 'trakt', 1961183)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f81b9690-0402-7565-b14a-da007611cdba'::uuid, 'TvMaze', 215356)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f81b9690-0402-7565-b14a-da007611cdba'::uuid, 'Tvdb', 5307008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f81b9690-0402-7565-b14a-da007611cdba'::uuid, 'TmdbCollection', 1106257)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37337 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f81b9690-0402-7565-b14a-da007611cdba'::uuid;

-- Query #37338 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f81b9690-0402-7565-b14a-da007611cdba'::uuid;

-- Query #37339 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f81b9690-0402-7565-b14a-da007611cdba'::uuid]);

-- Query #37340 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f81b9690-0402-7565-b14a-da007611cdba'::uuid;

-- Query #37341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, '874e6810-a565-53a4-73fe-59d2e371d771'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37342 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5595a7df-9d85-ba2a-b1bc-041463665877'::uuid;

-- Query #37343 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5595a7df-9d85-ba2a-b1bc-041463665877'::uuid]);

-- Query #37344 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5595a7df-9d85-ba2a-b1bc-041463665877'::uuid;

-- Query #37345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5595a7df-9d85-ba2a-b1bc-041463665877'::uuid, 'Imdb', 'tt4980444')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5595a7df-9d85-ba2a-b1bc-041463665877'::uuid, 'Tmdb', 1114398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37347 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5595a7df-9d85-ba2a-b1bc-041463665877'::uuid, 'trakt', 1980242)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37348 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5595a7df-9d85-ba2a-b1bc-041463665877'::uuid, 'TvMaze', 316115)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37349 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5595a7df-9d85-ba2a-b1bc-041463665877'::uuid, 'Tvdb', 5325155)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37350 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5595a7df-9d85-ba2a-b1bc-041463665877'::uuid, 'TmdbCollection', 1114398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37351 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5595a7df-9d85-ba2a-b1bc-041463665877'::uuid;

-- Query #37352 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5595a7df-9d85-ba2a-b1bc-041463665877'::uuid;

-- Query #37353 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5595a7df-9d85-ba2a-b1bc-041463665877'::uuid]);

-- Query #37354 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5595a7df-9d85-ba2a-b1bc-041463665877'::uuid;

-- Query #37355 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid, '874e6810-a565-53a4-73fe-59d2e371d771'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37356 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '874e6810-a565-53a4-73fe-59d2e371d771'::uuid
ORDER BY b."SortName";

-- Query #37357 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid])
ORDER BY b."Id";

-- Query #37358 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid])
ORDER BY b."Id";

-- Query #37359 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid])
ORDER BY b."Id";

-- Query #37360 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid])
ORDER BY b."Id";

-- Query #37361 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid])
ORDER BY b."Id";

-- Query #37362 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a9a5790b-bfc4-737d-832a-92ee74de4a67'::uuid
ORDER BY b."SortName";

-- Query #37363 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '874e6810a56553a473fe59d2e371d771'
ORDER BY b."SortName", b."Name";

-- Query #37364 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0e52e40a-3e1a-bc6d-2a4e-322a5b017931'::uuid
ORDER BY b."SortName";

-- Query #37365 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0aead774-d758-3e84-0aba-c415977969ac'::uuid])
ORDER BY b."Id";

-- Query #37366 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0aead774-d758-3e84-0aba-c415977969ac'::uuid])
ORDER BY b."Id";

-- Query #37367 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['0aead774-d758-3e84-0aba-c415977969ac'::uuid])
ORDER BY b."Id";

-- Query #37368 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0aead774-d758-3e84-0aba-c415977969ac'::uuid])
ORDER BY b."Id";

-- Query #37369 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['0aead774-d758-3e84-0aba-c415977969ac'::uuid])
ORDER BY b."Id";

-- Query #37370 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0aead774-d758-3e84-0aba-c415977969ac'::uuid
ORDER BY b."SortName";

-- Query #37371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e52e40a-3e1a-bc6d-2a4e-322a5b017931'::uuid;

-- Query #37372 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0e52e40a-3e1a-bc6d-2a4e-322a5b017931'::uuid]);

-- Query #37373 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0e52e40a-3e1a-bc6d-2a4e-322a5b017931'::uuid;

-- Query #37374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e52e40a-3e1a-bc6d-2a4e-322a5b017931'::uuid, 'Imdb', 'tt8160014')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37375 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e52e40a-3e1a-bc6d-2a4e-322a5b017931'::uuid, 'Tmdb', 78583)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37376 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e52e40a-3e1a-bc6d-2a4e-322a5b017931'::uuid, 'TmdbCollection', 78583)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37377 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e52e40a-3e1a-bc6d-2a4e-322a5b017931'::uuid, 'Tvdb', 342937)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37378 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0e52e40a-3e1a-bc6d-2a4e-322a5b017931'::uuid, 'TvMaze', 35818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37379 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0e52e40a-3e1a-bc6d-2a4e-322a5b017931'::uuid;

-- Query #37380 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0e52e40a-3e1a-bc6d-2a4e-322a5b017931'::uuid;

-- Query #37381 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0e52e40a-3e1a-bc6d-2a4e-322a5b017931'::uuid]);

-- Query #37382 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."ItemValuesMap"
WHERE "ItemId" = '0e52e40a-3e1a-bc6d-2a4e-322a5b017931'::uuid AND "ItemValueId" = '678c6afd-bccd-49dc-b262-a368480b9796'::uuid;

-- Query #37383 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid
ORDER BY b."SortName";

-- Query #37384 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid])
ORDER BY b."Id";

-- Query #37385 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid])
ORDER BY b."Id";

-- Query #37386 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid])
ORDER BY b."Id";

-- Query #37387 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid])
ORDER BY b."Id";

-- Query #37388 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid])
ORDER BY b."Id";

-- Query #37389 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid
ORDER BY b."SortName";

-- Query #37390 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid
ORDER BY b."SortName";

-- Query #37391 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid
ORDER BY b."SortName";

-- Query #37392 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid
ORDER BY b."SortName";

-- Query #37393 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid;

-- Query #37394 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid]);

-- Query #37395 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid;

-- Query #37396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, 'Imdb', 'tt2295809')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, 'Tmdb', 43856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, 'TmdbCollection', 43856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, 'Tvdb', 259054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, 'TvMaze', 199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, 'TvRage', 30882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, 'wikidata', 'Q901850')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, 'Zap2It', 'EP01568288')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37404 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid;

-- Query #37405 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid;

-- Query #37406 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid]);

-- Query #37407 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid;

-- Query #37408 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37409 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '1ad7af0ba2d51fa737362738a4365a64'
ORDER BY b."SortName", b."Name";

-- Query #37410 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid
ORDER BY b."SortName";

-- Query #37411 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid])
ORDER BY b."Id";

-- Query #37412 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid])
ORDER BY b."Id";

-- Query #37413 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid])
ORDER BY b."Id";

-- Query #37414 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid])
ORDER BY b."Id";

-- Query #37415 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid])
ORDER BY b."Id";

-- Query #37416 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid
ORDER BY b."SortName";

-- Query #37417 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid
ORDER BY b."SortName";

-- Query #37418 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid
ORDER BY b."SortName";

-- Query #37419 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid
ORDER BY b."SortName";

-- Query #37420 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '1ad7af0ba2d51fa737362738a4365a64'
ORDER BY b."SortName", b."Name";

-- Query #37421 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid;

-- Query #37422 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid]);

-- Query #37423 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid;

-- Query #37424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'TmdbCollection', 43856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'Tvdb', 259054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'Tmdb', 43856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'Imdb', 'tt2295809')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'TvMaze', 199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'TvRage', 30882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'Zap2It', 'EP01568288')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'wikidata', 'Q901850')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37432 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid;

-- Query #37433 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid;

-- Query #37434 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+cheating', '6+extramarital affair', '6+relationship problems']);

-- Query #37435 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid]);

-- Query #37436 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid;

-- Query #37437 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37438 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '1ad7af0ba2d51fa737362738a4365a64'
ORDER BY b."SortName", b."Name";

-- Query #37439 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid;

-- Query #37440 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid]);

-- Query #37441 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid;

-- Query #37442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, 'TmdbCollection', 43856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, 'Tvdb', 259054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, 'Tmdb', 43856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, 'Imdb', 'tt2295809')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, 'TvMaze', 199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, 'TvRage', 30882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, 'Zap2It', 'EP01568288')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37449 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, 'wikidata', 'Q901850')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37450 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid;

-- Query #37451 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid;

-- Query #37452 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+cheating', '6+extramarital affair', '6+relationship problems']);

-- Query #37453 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid]);

-- Query #37454 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid;

-- Query #37455 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37456 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '1ad7af0ba2d51fa737362738a4365a64'
ORDER BY b."SortName", b."Name";

-- Query #37457 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #37458 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid;

-- Query #37459 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid]);

-- Query #37460 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid;

-- Query #37461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, 'wikidata', 'Q901850')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, 'TmdbCollection', 43856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, 'Tvdb', 259054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, 'Tmdb', 43856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, 'Imdb', 'tt2295809')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37466 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, 'TvMaze', 199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, 'TvRage', 30882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37468 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, 'Zap2It', 'EP01568288')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37469 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid;

-- Query #37470 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid;

-- Query #37471 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+cheating', '6+extramarital affair', '6+relationship problems']);

-- Query #37472 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid]);

-- Query #37473 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid;

-- Query #37474 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37475 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '1ad7af0ba2d51fa737362738a4365a64'
ORDER BY b."SortName", b."Name";

-- Query #37476 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid;

-- Query #37477 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid]);

-- Query #37478 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid;

-- Query #37479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, 'Tvdb', 259054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, 'Tmdb', 43856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, 'Imdb', 'tt2295809')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, 'TvMaze', 199)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, 'TvRage', 30882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37484 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, 'Zap2It', 'EP01568288')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, 'wikidata', 'Q901850')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37486 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, 'TmdbCollection', 43856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37487 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid;

-- Query #37488 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid;

-- Query #37489 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+cheating', '6+extramarital affair', '6+relationship problems']);

-- Query #37490 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid]);

-- Query #37491 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid;

-- Query #37492 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37493 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '532c4339-0a3b-f7ff-b4dd-f649653ba332'::uuid;

-- Query #37494 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['532c4339-0a3b-f7ff-b4dd-f649653ba332'::uuid]);

-- Query #37495 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '532c4339-0a3b-f7ff-b4dd-f649653ba332'::uuid;

-- Query #37496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('532c4339-0a3b-f7ff-b4dd-f649653ba332'::uuid, 'Imdb', 'tt2435470')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('532c4339-0a3b-f7ff-b4dd-f649653ba332'::uuid, 'Tmdb', 890473)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('532c4339-0a3b-f7ff-b4dd-f649653ba332'::uuid, 'trakt', 897791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('532c4339-0a3b-f7ff-b4dd-f649653ba332'::uuid, 'TvMaze', 13317)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('532c4339-0a3b-f7ff-b4dd-f649653ba332'::uuid, 'Tvdb', 4489211)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('532c4339-0a3b-f7ff-b4dd-f649653ba332'::uuid, 'TmdbCollection', 890473)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37502 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '532c4339-0a3b-f7ff-b4dd-f649653ba332'::uuid;

-- Query #37503 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '532c4339-0a3b-f7ff-b4dd-f649653ba332'::uuid;

-- Query #37504 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['532c4339-0a3b-f7ff-b4dd-f649653ba332'::uuid]);

-- Query #37505 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '532c4339-0a3b-f7ff-b4dd-f649653ba332'::uuid;

-- Query #37506 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37507 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b7e8741-f01d-ac99-6f9b-80c40ed85c1f'::uuid;

-- Query #37508 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b7e8741-f01d-ac99-6f9b-80c40ed85c1f'::uuid]);

-- Query #37509 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1b7e8741-f01d-ac99-6f9b-80c40ed85c1f'::uuid;

-- Query #37510 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b7e8741-f01d-ac99-6f9b-80c40ed85c1f'::uuid, 'Imdb', 'tt2386520')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37511 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b7e8741-f01d-ac99-6f9b-80c40ed85c1f'::uuid, 'Tmdb', 890469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b7e8741-f01d-ac99-6f9b-80c40ed85c1f'::uuid, 'trakt', 897787)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b7e8741-f01d-ac99-6f9b-80c40ed85c1f'::uuid, 'TvMaze', 13313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b7e8741-f01d-ac99-6f9b-80c40ed85c1f'::uuid, 'Tvdb', 4489207)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37515 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b7e8741-f01d-ac99-6f9b-80c40ed85c1f'::uuid, 'TmdbCollection', 890469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37516 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b7e8741-f01d-ac99-6f9b-80c40ed85c1f'::uuid;

-- Query #37517 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1b7e8741-f01d-ac99-6f9b-80c40ed85c1f'::uuid;

-- Query #37518 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1b7e8741-f01d-ac99-6f9b-80c40ed85c1f'::uuid]);

-- Query #37519 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1b7e8741-f01d-ac99-6f9b-80c40ed85c1f'::uuid;

-- Query #37520 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37521 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3cd32138-c2f2-cd5d-3ee1-d9ddb9f7d90c'::uuid;

-- Query #37522 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3cd32138-c2f2-cd5d-3ee1-d9ddb9f7d90c'::uuid]);

-- Query #37523 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3cd32138-c2f2-cd5d-3ee1-d9ddb9f7d90c'::uuid;

-- Query #37524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cd32138-c2f2-cd5d-3ee1-d9ddb9f7d90c'::uuid, 'Imdb', 'tt2402354')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37525 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cd32138-c2f2-cd5d-3ee1-d9ddb9f7d90c'::uuid, 'Tmdb', 890472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37526 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cd32138-c2f2-cd5d-3ee1-d9ddb9f7d90c'::uuid, 'trakt', 897789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37527 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cd32138-c2f2-cd5d-3ee1-d9ddb9f7d90c'::uuid, 'TvMaze', 13315)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37528 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cd32138-c2f2-cd5d-3ee1-d9ddb9f7d90c'::uuid, 'Tvdb', 4489209)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37529 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cd32138-c2f2-cd5d-3ee1-d9ddb9f7d90c'::uuid, 'TmdbCollection', 890472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37530 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3cd32138-c2f2-cd5d-3ee1-d9ddb9f7d90c'::uuid;

-- Query #37531 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3cd32138-c2f2-cd5d-3ee1-d9ddb9f7d90c'::uuid;

-- Query #37532 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3cd32138-c2f2-cd5d-3ee1-d9ddb9f7d90c'::uuid]);

-- Query #37533 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3cd32138-c2f2-cd5d-3ee1-d9ddb9f7d90c'::uuid;

-- Query #37534 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37535 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b7f53c56-f96d-d85e-8d19-9bdc12a5a970'::uuid;

-- Query #37536 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7f53c56-f96d-d85e-8d19-9bdc12a5a970'::uuid]);

-- Query #37537 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b7f53c56-f96d-d85e-8d19-9bdc12a5a970'::uuid;

-- Query #37538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7f53c56-f96d-d85e-8d19-9bdc12a5a970'::uuid, 'Imdb', 'tt2562896')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37539 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7f53c56-f96d-d85e-8d19-9bdc12a5a970'::uuid, 'Tmdb', 890470)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37540 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7f53c56-f96d-d85e-8d19-9bdc12a5a970'::uuid, 'trakt', 897795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37541 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7f53c56-f96d-d85e-8d19-9bdc12a5a970'::uuid, 'TvMaze', 13321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37542 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7f53c56-f96d-d85e-8d19-9bdc12a5a970'::uuid, 'Tvdb', 4489215)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37543 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7f53c56-f96d-d85e-8d19-9bdc12a5a970'::uuid, 'TmdbCollection', 890470)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37544 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b7f53c56-f96d-d85e-8d19-9bdc12a5a970'::uuid;

-- Query #37545 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b7f53c56-f96d-d85e-8d19-9bdc12a5a970'::uuid;

-- Query #37546 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b7f53c56-f96d-d85e-8d19-9bdc12a5a970'::uuid]);

-- Query #37547 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b7f53c56-f96d-d85e-8d19-9bdc12a5a970'::uuid;

-- Query #37548 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37549 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7866a5c-3fcc-6031-dcbf-4eb50c1d01f4'::uuid;

-- Query #37550 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e7866a5c-3fcc-6031-dcbf-4eb50c1d01f4'::uuid]);

-- Query #37551 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e7866a5c-3fcc-6031-dcbf-4eb50c1d01f4'::uuid;

-- Query #37552 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7866a5c-3fcc-6031-dcbf-4eb50c1d01f4'::uuid, 'Imdb', 'tt2463914')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37553 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7866a5c-3fcc-6031-dcbf-4eb50c1d01f4'::uuid, 'Tmdb', 890475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37554 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7866a5c-3fcc-6031-dcbf-4eb50c1d01f4'::uuid, 'trakt', 897793)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7866a5c-3fcc-6031-dcbf-4eb50c1d01f4'::uuid, 'TvMaze', 13319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37556 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7866a5c-3fcc-6031-dcbf-4eb50c1d01f4'::uuid, 'Tvdb', 4489213)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37557 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7866a5c-3fcc-6031-dcbf-4eb50c1d01f4'::uuid, 'TmdbCollection', 890475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37558 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7866a5c-3fcc-6031-dcbf-4eb50c1d01f4'::uuid;

-- Query #37559 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e7866a5c-3fcc-6031-dcbf-4eb50c1d01f4'::uuid;

-- Query #37560 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e7866a5c-3fcc-6031-dcbf-4eb50c1d01f4'::uuid]);

-- Query #37561 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e7866a5c-3fcc-6031-dcbf-4eb50c1d01f4'::uuid;

-- Query #37562 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37563 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0fbb2a97-20fa-ad6b-8b5c-245db211726a'::uuid;

-- Query #37564 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0fbb2a97-20fa-ad6b-8b5c-245db211726a'::uuid]);

-- Query #37565 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0fbb2a97-20fa-ad6b-8b5c-245db211726a'::uuid;

-- Query #37566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fbb2a97-20fa-ad6b-8b5c-245db211726a'::uuid, 'Imdb', 'tt2562894')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37567 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fbb2a97-20fa-ad6b-8b5c-245db211726a'::uuid, 'Tmdb', 890477)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37568 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fbb2a97-20fa-ad6b-8b5c-245db211726a'::uuid, 'trakt', 897797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37569 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fbb2a97-20fa-ad6b-8b5c-245db211726a'::uuid, 'TvMaze', 13323)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37570 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fbb2a97-20fa-ad6b-8b5c-245db211726a'::uuid, 'Tvdb', 4553426)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fbb2a97-20fa-ad6b-8b5c-245db211726a'::uuid, 'TmdbCollection', 890477)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37572 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0fbb2a97-20fa-ad6b-8b5c-245db211726a'::uuid;

-- Query #37573 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0fbb2a97-20fa-ad6b-8b5c-245db211726a'::uuid;

-- Query #37574 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0fbb2a97-20fa-ad6b-8b5c-245db211726a'::uuid]);

-- Query #37575 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0fbb2a97-20fa-ad6b-8b5c-245db211726a'::uuid;

-- Query #37576 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37577 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f659909-4fec-a0fc-d102-f371b55b105a'::uuid;

-- Query #37578 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f659909-4fec-a0fc-d102-f371b55b105a'::uuid]);

-- Query #37579 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9f659909-4fec-a0fc-d102-f371b55b105a'::uuid;

-- Query #37580 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f659909-4fec-a0fc-d102-f371b55b105a'::uuid, 'Imdb', 'tt2488626')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f659909-4fec-a0fc-d102-f371b55b105a'::uuid, 'Tmdb', 890478)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37582 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f659909-4fec-a0fc-d102-f371b55b105a'::uuid, 'trakt', 897794)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f659909-4fec-a0fc-d102-f371b55b105a'::uuid, 'TvMaze', 13320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f659909-4fec-a0fc-d102-f371b55b105a'::uuid, 'Tvdb', 4489214)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f659909-4fec-a0fc-d102-f371b55b105a'::uuid, 'TmdbCollection', 890478)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f659909-4fec-a0fc-d102-f371b55b105a'::uuid;

-- Query #37587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9f659909-4fec-a0fc-d102-f371b55b105a'::uuid;

-- Query #37588 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9f659909-4fec-a0fc-d102-f371b55b105a'::uuid]);

-- Query #37589 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9f659909-4fec-a0fc-d102-f371b55b105a'::uuid;

-- Query #37590 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ae0497c7-ab75-b86d-118c-765fdf38f81c'::uuid;

-- Query #37592 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ae0497c7-ab75-b86d-118c-765fdf38f81c'::uuid]);

-- Query #37593 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ae0497c7-ab75-b86d-118c-765fdf38f81c'::uuid;

-- Query #37594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae0497c7-ab75-b86d-118c-765fdf38f81c'::uuid, 'Imdb', 'tt2326624')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae0497c7-ab75-b86d-118c-765fdf38f81c'::uuid, 'Tmdb', 890468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae0497c7-ab75-b86d-118c-765fdf38f81c'::uuid, 'trakt', 897786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae0497c7-ab75-b86d-118c-765fdf38f81c'::uuid, 'TvMaze', 13312)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae0497c7-ab75-b86d-118c-765fdf38f81c'::uuid, 'Tvdb', 4489206)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ae0497c7-ab75-b86d-118c-765fdf38f81c'::uuid, 'TmdbCollection', 890468)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37600 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ae0497c7-ab75-b86d-118c-765fdf38f81c'::uuid;

-- Query #37601 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ae0497c7-ab75-b86d-118c-765fdf38f81c'::uuid;

-- Query #37602 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ae0497c7-ab75-b86d-118c-765fdf38f81c'::uuid]);

-- Query #37603 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ae0497c7-ab75-b86d-118c-765fdf38f81c'::uuid;

-- Query #37604 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37605 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e681b684-b8c5-6d10-dccc-5ae1b07ec0da'::uuid;

-- Query #37606 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e681b684-b8c5-6d10-dccc-5ae1b07ec0da'::uuid]);

-- Query #37607 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e681b684-b8c5-6d10-dccc-5ae1b07ec0da'::uuid;

-- Query #37608 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e681b684-b8c5-6d10-dccc-5ae1b07ec0da'::uuid, 'Imdb', 'tt2312059')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37609 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e681b684-b8c5-6d10-dccc-5ae1b07ec0da'::uuid, 'Tmdb', 890467)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e681b684-b8c5-6d10-dccc-5ae1b07ec0da'::uuid, 'trakt', 897785)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e681b684-b8c5-6d10-dccc-5ae1b07ec0da'::uuid, 'TvMaze', 13311)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e681b684-b8c5-6d10-dccc-5ae1b07ec0da'::uuid, 'Tvdb', 4337888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e681b684-b8c5-6d10-dccc-5ae1b07ec0da'::uuid, 'TmdbCollection', 890467)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37614 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e681b684-b8c5-6d10-dccc-5ae1b07ec0da'::uuid;

-- Query #37615 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e681b684-b8c5-6d10-dccc-5ae1b07ec0da'::uuid;

-- Query #37616 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e681b684-b8c5-6d10-dccc-5ae1b07ec0da'::uuid]);

-- Query #37617 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e681b684-b8c5-6d10-dccc-5ae1b07ec0da'::uuid;

-- Query #37618 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37619 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a1f8903-f883-3552-9a12-8724afecbb22'::uuid;

-- Query #37620 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a1f8903-f883-3552-9a12-8724afecbb22'::uuid]);

-- Query #37621 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7a1f8903-f883-3552-9a12-8724afecbb22'::uuid;

-- Query #37622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a1f8903-f883-3552-9a12-8724afecbb22'::uuid, 'Imdb', 'tt2459470')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a1f8903-f883-3552-9a12-8724afecbb22'::uuid, 'Tmdb', 890476)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a1f8903-f883-3552-9a12-8724afecbb22'::uuid, 'trakt', 897792)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37625 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a1f8903-f883-3552-9a12-8724afecbb22'::uuid, 'TvMaze', 13318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37626 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a1f8903-f883-3552-9a12-8724afecbb22'::uuid, 'Tvdb', 4489212)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37627 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a1f8903-f883-3552-9a12-8724afecbb22'::uuid, 'TmdbCollection', 890476)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37628 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a1f8903-f883-3552-9a12-8724afecbb22'::uuid;

-- Query #37629 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7a1f8903-f883-3552-9a12-8724afecbb22'::uuid;

-- Query #37630 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7a1f8903-f883-3552-9a12-8724afecbb22'::uuid]);

-- Query #37631 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7a1f8903-f883-3552-9a12-8724afecbb22'::uuid;

-- Query #37632 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37633 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a7fbfa43-d693-6694-d084-2dea851e70d3'::uuid;

-- Query #37634 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a7fbfa43-d693-6694-d084-2dea851e70d3'::uuid]);

-- Query #37635 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a7fbfa43-d693-6694-d084-2dea851e70d3'::uuid;

-- Query #37636 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7fbfa43-d693-6694-d084-2dea851e70d3'::uuid, 'Imdb', 'tt2517526')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7fbfa43-d693-6694-d084-2dea851e70d3'::uuid, 'Tmdb', 890479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7fbfa43-d693-6694-d084-2dea851e70d3'::uuid, 'trakt', 897796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7fbfa43-d693-6694-d084-2dea851e70d3'::uuid, 'TvMaze', 13322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37640 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7fbfa43-d693-6694-d084-2dea851e70d3'::uuid, 'Tvdb', 4553425)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37641 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7fbfa43-d693-6694-d084-2dea851e70d3'::uuid, 'TmdbCollection', 890479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37642 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a7fbfa43-d693-6694-d084-2dea851e70d3'::uuid;

-- Query #37643 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a7fbfa43-d693-6694-d084-2dea851e70d3'::uuid;

-- Query #37644 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a7fbfa43-d693-6694-d084-2dea851e70d3'::uuid]);

-- Query #37645 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a7fbfa43-d693-6694-d084-2dea851e70d3'::uuid;

-- Query #37646 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37647 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b660d391-6858-73b3-87ba-a086ca94f942'::uuid;

-- Query #37648 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b660d391-6858-73b3-87ba-a086ca94f942'::uuid]);

-- Query #37649 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b660d391-6858-73b3-87ba-a086ca94f942'::uuid;

-- Query #37650 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b660d391-6858-73b3-87ba-a086ca94f942'::uuid, 'Imdb', 'tt3227104')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b660d391-6858-73b3-87ba-a086ca94f942'::uuid, 'TvMaze', 13331)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37652 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b660d391-6858-73b3-87ba-a086ca94f942'::uuid, 'Tvdb', 4887406)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b660d391-6858-73b3-87ba-a086ca94f942'::uuid, 'TvRage', 1065579042)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37654 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b660d391-6858-73b3-87ba-a086ca94f942'::uuid;

-- Query #37655 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b660d391-6858-73b3-87ba-a086ca94f942'::uuid;

-- Query #37656 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b660d391-6858-73b3-87ba-a086ca94f942'::uuid]);

-- Query #37657 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b660d391-6858-73b3-87ba-a086ca94f942'::uuid;

-- Query #37658 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2aef3af-a6f9-0391-a771-40849a5e7698'::uuid;

-- Query #37660 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2aef3af-a6f9-0391-a771-40849a5e7698'::uuid]);

-- Query #37661 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f2aef3af-a6f9-0391-a771-40849a5e7698'::uuid;

-- Query #37662 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2aef3af-a6f9-0391-a771-40849a5e7698'::uuid, 'Imdb', 'tt3215280')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37663 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2aef3af-a6f9-0391-a771-40849a5e7698'::uuid, 'Tmdb', 990230)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37664 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2aef3af-a6f9-0391-a771-40849a5e7698'::uuid, 'TvMaze', 13325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37665 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2aef3af-a6f9-0391-a771-40849a5e7698'::uuid, 'Tvdb', 4856956)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37666 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2aef3af-a6f9-0391-a771-40849a5e7698'::uuid, 'TvRage', 1065527136)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37667 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2aef3af-a6f9-0391-a771-40849a5e7698'::uuid, 'trakt', 897799)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37668 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2aef3af-a6f9-0391-a771-40849a5e7698'::uuid, 'TmdbCollection', 990230)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37669 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2aef3af-a6f9-0391-a771-40849a5e7698'::uuid;

-- Query #37670 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f2aef3af-a6f9-0391-a771-40849a5e7698'::uuid;

-- Query #37671 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f2aef3af-a6f9-0391-a771-40849a5e7698'::uuid]);

-- Query #37672 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f2aef3af-a6f9-0391-a771-40849a5e7698'::uuid;

-- Query #37673 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37674 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e671a4c9-07ba-0d52-c397-33940771bc7e'::uuid;

-- Query #37675 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e671a4c9-07ba-0d52-c397-33940771bc7e'::uuid]);

-- Query #37676 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e671a4c9-07ba-0d52-c397-33940771bc7e'::uuid;

-- Query #37677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e671a4c9-07ba-0d52-c397-33940771bc7e'::uuid, 'trakt', 897807)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37678 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e671a4c9-07ba-0d52-c397-33940771bc7e'::uuid, 'TmdbCollection', 990222)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37679 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e671a4c9-07ba-0d52-c397-33940771bc7e'::uuid, 'Imdb', 'tt3227112')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37680 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e671a4c9-07ba-0d52-c397-33940771bc7e'::uuid, 'Tmdb', 990222)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37681 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e671a4c9-07ba-0d52-c397-33940771bc7e'::uuid, 'TvMaze', 13333)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37682 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e671a4c9-07ba-0d52-c397-33940771bc7e'::uuid, 'Tvdb', 4887408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37683 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e671a4c9-07ba-0d52-c397-33940771bc7e'::uuid, 'TvRage', 1065579054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37684 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e671a4c9-07ba-0d52-c397-33940771bc7e'::uuid;

-- Query #37685 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e671a4c9-07ba-0d52-c397-33940771bc7e'::uuid;

-- Query #37686 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e671a4c9-07ba-0d52-c397-33940771bc7e'::uuid]);

-- Query #37687 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e671a4c9-07ba-0d52-c397-33940771bc7e'::uuid;

-- Query #37688 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37689 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c46d789c-5b6f-e6e2-eefc-4c85cf723843'::uuid;

-- Query #37690 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c46d789c-5b6f-e6e2-eefc-4c85cf723843'::uuid]);

-- Query #37691 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c46d789c-5b6f-e6e2-eefc-4c85cf723843'::uuid;

-- Query #37692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c46d789c-5b6f-e6e2-eefc-4c85cf723843'::uuid, 'TmdbCollection', 990221)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c46d789c-5b6f-e6e2-eefc-4c85cf723843'::uuid, 'Imdb', 'tt3227110')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37694 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c46d789c-5b6f-e6e2-eefc-4c85cf723843'::uuid, 'Tmdb', 990221)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37695 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c46d789c-5b6f-e6e2-eefc-4c85cf723843'::uuid, 'TvMaze', 13334)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37696 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c46d789c-5b6f-e6e2-eefc-4c85cf723843'::uuid, 'Tvdb', 4887409)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37697 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c46d789c-5b6f-e6e2-eefc-4c85cf723843'::uuid, 'TvRage', 1065579056)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37698 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c46d789c-5b6f-e6e2-eefc-4c85cf723843'::uuid, 'trakt', 897808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37699 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c46d789c-5b6f-e6e2-eefc-4c85cf723843'::uuid;

-- Query #37700 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c46d789c-5b6f-e6e2-eefc-4c85cf723843'::uuid;

-- Query #37701 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c46d789c-5b6f-e6e2-eefc-4c85cf723843'::uuid]);

-- Query #37702 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c46d789c-5b6f-e6e2-eefc-4c85cf723843'::uuid;

-- Query #37703 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37704 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd9406e4-1384-ab3e-cfa3-f07e5ba907da'::uuid;

-- Query #37705 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd9406e4-1384-ab3e-cfa3-f07e5ba907da'::uuid]);

-- Query #37706 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dd9406e4-1384-ab3e-cfa3-f07e5ba907da'::uuid;

-- Query #37707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd9406e4-1384-ab3e-cfa3-f07e5ba907da'::uuid, 'Imdb', 'tt3227108')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd9406e4-1384-ab3e-cfa3-f07e5ba907da'::uuid, 'TvMaze', 13332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd9406e4-1384-ab3e-cfa3-f07e5ba907da'::uuid, 'Tvdb', 4887407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd9406e4-1384-ab3e-cfa3-f07e5ba907da'::uuid, 'TvRage', 1065579051)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37711 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd9406e4-1384-ab3e-cfa3-f07e5ba907da'::uuid;

-- Query #37712 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dd9406e4-1384-ab3e-cfa3-f07e5ba907da'::uuid;

-- Query #37713 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dd9406e4-1384-ab3e-cfa3-f07e5ba907da'::uuid]);

-- Query #37714 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dd9406e4-1384-ab3e-cfa3-f07e5ba907da'::uuid;

-- Query #37715 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37716 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b958e400-3e5f-a3e1-3d55-4fd616027fa2'::uuid;

-- Query #37717 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b958e400-3e5f-a3e1-3d55-4fd616027fa2'::uuid]);

-- Query #37718 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b958e400-3e5f-a3e1-3d55-4fd616027fa2'::uuid;

-- Query #37719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b958e400-3e5f-a3e1-3d55-4fd616027fa2'::uuid, 'Imdb', 'tt3227098')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b958e400-3e5f-a3e1-3d55-4fd616027fa2'::uuid, 'Tmdb', 990228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b958e400-3e5f-a3e1-3d55-4fd616027fa2'::uuid, 'TvMaze', 13327)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b958e400-3e5f-a3e1-3d55-4fd616027fa2'::uuid, 'Tvdb', 4856958)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b958e400-3e5f-a3e1-3d55-4fd616027fa2'::uuid, 'TvRage', 1065579038)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b958e400-3e5f-a3e1-3d55-4fd616027fa2'::uuid, 'trakt', 897801)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b958e400-3e5f-a3e1-3d55-4fd616027fa2'::uuid, 'TmdbCollection', 990228)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37726 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b958e400-3e5f-a3e1-3d55-4fd616027fa2'::uuid;

-- Query #37727 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b958e400-3e5f-a3e1-3d55-4fd616027fa2'::uuid;

-- Query #37728 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b958e400-3e5f-a3e1-3d55-4fd616027fa2'::uuid]);

-- Query #37729 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b958e400-3e5f-a3e1-3d55-4fd616027fa2'::uuid;

-- Query #37730 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37731 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '348f8dfb-a24b-af84-5846-d7fd5a9c131c'::uuid;

-- Query #37732 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['348f8dfb-a24b-af84-5846-d7fd5a9c131c'::uuid]);

-- Query #37733 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '348f8dfb-a24b-af84-5846-d7fd5a9c131c'::uuid;

-- Query #37734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('348f8dfb-a24b-af84-5846-d7fd5a9c131c'::uuid, 'Imdb', 'tt3215278')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('348f8dfb-a24b-af84-5846-d7fd5a9c131c'::uuid, 'Tmdb', 990229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('348f8dfb-a24b-af84-5846-d7fd5a9c131c'::uuid, 'TvMaze', 13326)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('348f8dfb-a24b-af84-5846-d7fd5a9c131c'::uuid, 'Tvdb', 4856957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('348f8dfb-a24b-af84-5846-d7fd5a9c131c'::uuid, 'TvRage', 1065527137)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('348f8dfb-a24b-af84-5846-d7fd5a9c131c'::uuid, 'trakt', 897800)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('348f8dfb-a24b-af84-5846-d7fd5a9c131c'::uuid, 'TmdbCollection', 990229)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37741 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '348f8dfb-a24b-af84-5846-d7fd5a9c131c'::uuid;

-- Query #37742 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '348f8dfb-a24b-af84-5846-d7fd5a9c131c'::uuid;

-- Query #37743 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['348f8dfb-a24b-af84-5846-d7fd5a9c131c'::uuid]);

-- Query #37744 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '348f8dfb-a24b-af84-5846-d7fd5a9c131c'::uuid;

-- Query #37745 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37746 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #37747 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3eadd8bc-4213-8098-9edb-be5a45f78930'::uuid;

-- Query #37748 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3eadd8bc-4213-8098-9edb-be5a45f78930'::uuid]);

-- Query #37749 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3eadd8bc-4213-8098-9edb-be5a45f78930'::uuid;

-- Query #37750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3eadd8bc-4213-8098-9edb-be5a45f78930'::uuid, 'TmdbCollection', 990227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3eadd8bc-4213-8098-9edb-be5a45f78930'::uuid, 'Imdb', 'tt3227102')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37752 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3eadd8bc-4213-8098-9edb-be5a45f78930'::uuid, 'Tmdb', 990227)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37753 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3eadd8bc-4213-8098-9edb-be5a45f78930'::uuid, 'TvMaze', 13328)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37754 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3eadd8bc-4213-8098-9edb-be5a45f78930'::uuid, 'Tvdb', 4856959)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3eadd8bc-4213-8098-9edb-be5a45f78930'::uuid, 'TvRage', 1065579039)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3eadd8bc-4213-8098-9edb-be5a45f78930'::uuid, 'trakt', 897802)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3eadd8bc-4213-8098-9edb-be5a45f78930'::uuid;

-- Query #37758 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3eadd8bc-4213-8098-9edb-be5a45f78930'::uuid;

-- Query #37759 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3eadd8bc-4213-8098-9edb-be5a45f78930'::uuid]);

-- Query #37760 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3eadd8bc-4213-8098-9edb-be5a45f78930'::uuid;

-- Query #37761 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37762 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '119e2b5a-885d-e1d0-d25e-c3a1dfcc7c09'::uuid;

-- Query #37763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['119e2b5a-885d-e1d0-d25e-c3a1dfcc7c09'::uuid]);

-- Query #37764 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '119e2b5a-885d-e1d0-d25e-c3a1dfcc7c09'::uuid;

-- Query #37765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('119e2b5a-885d-e1d0-d25e-c3a1dfcc7c09'::uuid, 'Imdb', 'tt3215284')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('119e2b5a-885d-e1d0-d25e-c3a1dfcc7c09'::uuid, 'Tmdb', 990231)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('119e2b5a-885d-e1d0-d25e-c3a1dfcc7c09'::uuid, 'TvMaze', 13324)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('119e2b5a-885d-e1d0-d25e-c3a1dfcc7c09'::uuid, 'Tvdb', 4757667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('119e2b5a-885d-e1d0-d25e-c3a1dfcc7c09'::uuid, 'TvRage', 1065454861)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37770 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('119e2b5a-885d-e1d0-d25e-c3a1dfcc7c09'::uuid, 'trakt', 897798)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37771 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('119e2b5a-885d-e1d0-d25e-c3a1dfcc7c09'::uuid, 'TmdbCollection', 990231)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37772 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '119e2b5a-885d-e1d0-d25e-c3a1dfcc7c09'::uuid;

-- Query #37773 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '119e2b5a-885d-e1d0-d25e-c3a1dfcc7c09'::uuid;

-- Query #37774 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['119e2b5a-885d-e1d0-d25e-c3a1dfcc7c09'::uuid]);

-- Query #37775 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '119e2b5a-885d-e1d0-d25e-c3a1dfcc7c09'::uuid;

-- Query #37776 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37777 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a44f3bad-0388-6a91-ac20-6a1a864fc4fb'::uuid;

-- Query #37778 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a44f3bad-0388-6a91-ac20-6a1a864fc4fb'::uuid]);

-- Query #37779 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a44f3bad-0388-6a91-ac20-6a1a864fc4fb'::uuid;

-- Query #37780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a44f3bad-0388-6a91-ac20-6a1a864fc4fb'::uuid, 'Imdb', 'tt3227114')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a44f3bad-0388-6a91-ac20-6a1a864fc4fb'::uuid, 'TvMaze', 13335)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37782 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a44f3bad-0388-6a91-ac20-6a1a864fc4fb'::uuid, 'Tvdb', 4887410)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37783 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a44f3bad-0388-6a91-ac20-6a1a864fc4fb'::uuid, 'TvRage', 1065579057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37784 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a44f3bad-0388-6a91-ac20-6a1a864fc4fb'::uuid;

-- Query #37785 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a44f3bad-0388-6a91-ac20-6a1a864fc4fb'::uuid;

-- Query #37786 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a44f3bad-0388-6a91-ac20-6a1a864fc4fb'::uuid]);

-- Query #37787 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a44f3bad-0388-6a91-ac20-6a1a864fc4fb'::uuid;

-- Query #37788 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '983c54af-353e-cac2-e324-9f6bb2afff5b'::uuid;

-- Query #37790 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['983c54af-353e-cac2-e324-9f6bb2afff5b'::uuid]);

-- Query #37791 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '983c54af-353e-cac2-e324-9f6bb2afff5b'::uuid;

-- Query #37792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('983c54af-353e-cac2-e324-9f6bb2afff5b'::uuid, 'Imdb', 'tt3227116')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37793 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('983c54af-353e-cac2-e324-9f6bb2afff5b'::uuid, 'TvMaze', 13336)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('983c54af-353e-cac2-e324-9f6bb2afff5b'::uuid, 'Tvdb', 4887413)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('983c54af-353e-cac2-e324-9f6bb2afff5b'::uuid, 'TvRage', 1065579069)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37796 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '983c54af-353e-cac2-e324-9f6bb2afff5b'::uuid;

-- Query #37797 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '983c54af-353e-cac2-e324-9f6bb2afff5b'::uuid;

-- Query #37798 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['983c54af-353e-cac2-e324-9f6bb2afff5b'::uuid]);

-- Query #37799 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '983c54af-353e-cac2-e324-9f6bb2afff5b'::uuid;

-- Query #37800 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37801 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f037e300-fbd0-1f31-8f58-cb5a4e505808'::uuid;

-- Query #37802 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f037e300-fbd0-1f31-8f58-cb5a4e505808'::uuid]);

-- Query #37803 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f037e300-fbd0-1f31-8f58-cb5a4e505808'::uuid;

-- Query #37804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f037e300-fbd0-1f31-8f58-cb5a4e505808'::uuid, 'trakt', 897803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f037e300-fbd0-1f31-8f58-cb5a4e505808'::uuid, 'TmdbCollection', 990226)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f037e300-fbd0-1f31-8f58-cb5a4e505808'::uuid, 'Imdb', 'tt3227106')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37807 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f037e300-fbd0-1f31-8f58-cb5a4e505808'::uuid, 'Tmdb', 990226)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37808 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f037e300-fbd0-1f31-8f58-cb5a4e505808'::uuid, 'TvMaze', 13329)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f037e300-fbd0-1f31-8f58-cb5a4e505808'::uuid, 'Tvdb', 4856960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f037e300-fbd0-1f31-8f58-cb5a4e505808'::uuid, 'TvRage', 1065579040)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37811 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f037e300-fbd0-1f31-8f58-cb5a4e505808'::uuid;

-- Query #37812 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f037e300-fbd0-1f31-8f58-cb5a4e505808'::uuid;

-- Query #37813 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f037e300-fbd0-1f31-8f58-cb5a4e505808'::uuid]);

-- Query #37814 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f037e300-fbd0-1f31-8f58-cb5a4e505808'::uuid;

-- Query #37815 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37816 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3117bce8-0f94-79ef-b7b3-b49ff8599a18'::uuid;

-- Query #37817 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3117bce8-0f94-79ef-b7b3-b49ff8599a18'::uuid]);

-- Query #37818 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3117bce8-0f94-79ef-b7b3-b49ff8599a18'::uuid;

-- Query #37819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3117bce8-0f94-79ef-b7b3-b49ff8599a18'::uuid, 'Imdb', 'tt3227100')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3117bce8-0f94-79ef-b7b3-b49ff8599a18'::uuid, 'TvMaze', 13330)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3117bce8-0f94-79ef-b7b3-b49ff8599a18'::uuid, 'Tvdb', 4887405)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3117bce8-0f94-79ef-b7b3-b49ff8599a18'::uuid, 'TvRage', 1065579041)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37823 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3117bce8-0f94-79ef-b7b3-b49ff8599a18'::uuid;

-- Query #37824 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3117bce8-0f94-79ef-b7b3-b49ff8599a18'::uuid;

-- Query #37825 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3117bce8-0f94-79ef-b7b3-b49ff8599a18'::uuid]);

-- Query #37826 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3117bce8-0f94-79ef-b7b3-b49ff8599a18'::uuid;

-- Query #37827 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37828 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8fdd120c-8a0e-2cb9-117c-8ed097259c7c'::uuid;

-- Query #37829 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8fdd120c-8a0e-2cb9-117c-8ed097259c7c'::uuid]);

-- Query #37830 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8fdd120c-8a0e-2cb9-117c-8ed097259c7c'::uuid;

-- Query #37831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8fdd120c-8a0e-2cb9-117c-8ed097259c7c'::uuid, 'Imdb', 'tt4075872')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8fdd120c-8a0e-2cb9-117c-8ed097259c7c'::uuid, 'TvMaze', 182882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8fdd120c-8a0e-2cb9-117c-8ed097259c7c'::uuid, 'Tvdb', 5253500)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8fdd120c-8a0e-2cb9-117c-8ed097259c7c'::uuid, 'TvRage', 1065835789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37835 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8fdd120c-8a0e-2cb9-117c-8ed097259c7c'::uuid;

-- Query #37836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8fdd120c-8a0e-2cb9-117c-8ed097259c7c'::uuid;

-- Query #37837 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8fdd120c-8a0e-2cb9-117c-8ed097259c7c'::uuid]);

-- Query #37838 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8fdd120c-8a0e-2cb9-117c-8ed097259c7c'::uuid;

-- Query #37839 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37840 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '759c3e11-578a-51bc-4170-bb2b2a48257f'::uuid;

-- Query #37841 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['759c3e11-578a-51bc-4170-bb2b2a48257f'::uuid]);

-- Query #37842 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '759c3e11-578a-51bc-4170-bb2b2a48257f'::uuid;

-- Query #37843 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('759c3e11-578a-51bc-4170-bb2b2a48257f'::uuid, 'Imdb', 'tt4075856')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('759c3e11-578a-51bc-4170-bb2b2a48257f'::uuid, 'Tmdb', 1076749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37845 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('759c3e11-578a-51bc-4170-bb2b2a48257f'::uuid, 'TvMaze', 153472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('759c3e11-578a-51bc-4170-bb2b2a48257f'::uuid, 'Tvdb', 5188647)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37847 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('759c3e11-578a-51bc-4170-bb2b2a48257f'::uuid, 'TvRage', 1065758469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37848 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('759c3e11-578a-51bc-4170-bb2b2a48257f'::uuid, 'trakt', 1823777)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37849 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('759c3e11-578a-51bc-4170-bb2b2a48257f'::uuid, 'TmdbCollection', 1076749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37850 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '759c3e11-578a-51bc-4170-bb2b2a48257f'::uuid;

-- Query #37851 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '759c3e11-578a-51bc-4170-bb2b2a48257f'::uuid;

-- Query #37852 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+cheating', '6+extramarital affair', '6+relationship problems']);

-- Query #37853 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['759c3e11-578a-51bc-4170-bb2b2a48257f'::uuid]);

-- Query #37854 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '759c3e11-578a-51bc-4170-bb2b2a48257f'::uuid;

-- Query #37855 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37856 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b7d4f781-3db5-ba5b-d20a-bae2efaaa06b'::uuid;

-- Query #37857 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7d4f781-3db5-ba5b-d20a-bae2efaaa06b'::uuid]);

-- Query #37858 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b7d4f781-3db5-ba5b-d20a-bae2efaaa06b'::uuid;

-- Query #37859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7d4f781-3db5-ba5b-d20a-bae2efaaa06b'::uuid, 'Imdb', 'tt4075888')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7d4f781-3db5-ba5b-d20a-bae2efaaa06b'::uuid, 'TvMaze', 203895)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b7d4f781-3db5-ba5b-d20a-bae2efaaa06b'::uuid, 'Tvdb', 5253506)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37862 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b7d4f781-3db5-ba5b-d20a-bae2efaaa06b'::uuid;

-- Query #37863 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b7d4f781-3db5-ba5b-d20a-bae2efaaa06b'::uuid;

-- Query #37864 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b7d4f781-3db5-ba5b-d20a-bae2efaaa06b'::uuid]);

-- Query #37865 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b7d4f781-3db5-ba5b-d20a-bae2efaaa06b'::uuid;

-- Query #37866 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37867 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b5e511ac-90cf-5427-f2ec-2d140450518b'::uuid;

-- Query #37868 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5e511ac-90cf-5427-f2ec-2d140450518b'::uuid]);

-- Query #37869 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b5e511ac-90cf-5427-f2ec-2d140450518b'::uuid;

-- Query #37870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5e511ac-90cf-5427-f2ec-2d140450518b'::uuid, 'Tvdb', 5253504)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37871 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5e511ac-90cf-5427-f2ec-2d140450518b'::uuid, 'Imdb', 'tt4075884')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5e511ac-90cf-5427-f2ec-2d140450518b'::uuid, 'TvMaze', 200714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37873 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b5e511ac-90cf-5427-f2ec-2d140450518b'::uuid;

-- Query #37874 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b5e511ac-90cf-5427-f2ec-2d140450518b'::uuid;

-- Query #37875 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b5e511ac-90cf-5427-f2ec-2d140450518b'::uuid]);

-- Query #37876 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b5e511ac-90cf-5427-f2ec-2d140450518b'::uuid;

-- Query #37877 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37878 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '501e1873-f980-9103-6b17-1497c451316c'::uuid;

-- Query #37879 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['501e1873-f980-9103-6b17-1497c451316c'::uuid]);

-- Query #37880 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '501e1873-f980-9103-6b17-1497c451316c'::uuid;

-- Query #37881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('501e1873-f980-9103-6b17-1497c451316c'::uuid, 'TmdbCollection', 1077663)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('501e1873-f980-9103-6b17-1497c451316c'::uuid, 'Imdb', 'tt4075866')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('501e1873-f980-9103-6b17-1497c451316c'::uuid, 'Tmdb', 1077663)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('501e1873-f980-9103-6b17-1497c451316c'::uuid, 'TvMaze', 176888)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('501e1873-f980-9103-6b17-1497c451316c'::uuid, 'Tvdb', 5253001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('501e1873-f980-9103-6b17-1497c451316c'::uuid, 'TvRage', 1065827037)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('501e1873-f980-9103-6b17-1497c451316c'::uuid, 'trakt', 1901635)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37888 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '501e1873-f980-9103-6b17-1497c451316c'::uuid;

-- Query #37889 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '501e1873-f980-9103-6b17-1497c451316c'::uuid;

-- Query #37890 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['501e1873-f980-9103-6b17-1497c451316c'::uuid]);

-- Query #37891 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '501e1873-f980-9103-6b17-1497c451316c'::uuid;

-- Query #37892 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37893 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '27d094ec-e1fb-76f4-695f-8684c5334bb7'::uuid;

-- Query #37894 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['27d094ec-e1fb-76f4-695f-8684c5334bb7'::uuid]);

-- Query #37895 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '27d094ec-e1fb-76f4-695f-8684c5334bb7'::uuid;

-- Query #37896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27d094ec-e1fb-76f4-695f-8684c5334bb7'::uuid, 'Imdb', 'tt4075874')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27d094ec-e1fb-76f4-695f-8684c5334bb7'::uuid, 'Tmdb', 1081680)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27d094ec-e1fb-76f4-695f-8684c5334bb7'::uuid, 'TvMaze', 181513)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37899 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27d094ec-e1fb-76f4-695f-8684c5334bb7'::uuid, 'Tvdb', 5253499)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37900 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27d094ec-e1fb-76f4-695f-8684c5334bb7'::uuid, 'TvRage', 1065829800)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37901 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27d094ec-e1fb-76f4-695f-8684c5334bb7'::uuid, 'trakt', 1901637)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27d094ec-e1fb-76f4-695f-8684c5334bb7'::uuid, 'TmdbCollection', 1081680)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37903 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '27d094ec-e1fb-76f4-695f-8684c5334bb7'::uuid;

-- Query #37904 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '27d094ec-e1fb-76f4-695f-8684c5334bb7'::uuid;

-- Query #37905 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['27d094ec-e1fb-76f4-695f-8684c5334bb7'::uuid]);

-- Query #37906 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '27d094ec-e1fb-76f4-695f-8684c5334bb7'::uuid;

-- Query #37907 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37908 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6be5d0f1-50f8-0577-73de-828eaa6d81e2'::uuid;

-- Query #37909 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6be5d0f1-50f8-0577-73de-828eaa6d81e2'::uuid]);

-- Query #37910 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6be5d0f1-50f8-0577-73de-828eaa6d81e2'::uuid;

-- Query #37911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6be5d0f1-50f8-0577-73de-828eaa6d81e2'::uuid, 'Imdb', 'tt4075870')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6be5d0f1-50f8-0577-73de-828eaa6d81e2'::uuid, 'TvMaze', 182883)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6be5d0f1-50f8-0577-73de-828eaa6d81e2'::uuid, 'Tvdb', 5253501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6be5d0f1-50f8-0577-73de-828eaa6d81e2'::uuid, 'TvRage', 1065835790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6be5d0f1-50f8-0577-73de-828eaa6d81e2'::uuid;

-- Query #37916 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6be5d0f1-50f8-0577-73de-828eaa6d81e2'::uuid;

-- Query #37917 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6be5d0f1-50f8-0577-73de-828eaa6d81e2'::uuid]);

-- Query #37918 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6be5d0f1-50f8-0577-73de-828eaa6d81e2'::uuid;

-- Query #37919 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37920 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c0b8c31-cc71-a171-e715-79d5dec23f8f'::uuid;

-- Query #37921 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9c0b8c31-cc71-a171-e715-79d5dec23f8f'::uuid]);

-- Query #37922 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9c0b8c31-cc71-a171-e715-79d5dec23f8f'::uuid;

-- Query #37923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c0b8c31-cc71-a171-e715-79d5dec23f8f'::uuid, 'TmdbCollection', 1076856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c0b8c31-cc71-a171-e715-79d5dec23f8f'::uuid, 'Imdb', 'tt4075868')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c0b8c31-cc71-a171-e715-79d5dec23f8f'::uuid, 'Tmdb', 1076856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c0b8c31-cc71-a171-e715-79d5dec23f8f'::uuid, 'TvMaze', 166102)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c0b8c31-cc71-a171-e715-79d5dec23f8f'::uuid, 'Tvdb', 5248392)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37928 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c0b8c31-cc71-a171-e715-79d5dec23f8f'::uuid, 'TvRage', 1065823089)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37929 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c0b8c31-cc71-a171-e715-79d5dec23f8f'::uuid, 'trakt', 1895251)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37930 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c0b8c31-cc71-a171-e715-79d5dec23f8f'::uuid;

-- Query #37931 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9c0b8c31-cc71-a171-e715-79d5dec23f8f'::uuid;

-- Query #37932 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9c0b8c31-cc71-a171-e715-79d5dec23f8f'::uuid]);

-- Query #37933 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9c0b8c31-cc71-a171-e715-79d5dec23f8f'::uuid;

-- Query #37934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37935 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74cd9079-34f7-4d52-8f3c-c0d51eef0a74'::uuid;

-- Query #37936 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['74cd9079-34f7-4d52-8f3c-c0d51eef0a74'::uuid]);

-- Query #37937 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '74cd9079-34f7-4d52-8f3c-c0d51eef0a74'::uuid;

-- Query #37938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74cd9079-34f7-4d52-8f3c-c0d51eef0a74'::uuid, 'Imdb', 'tt4075890')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74cd9079-34f7-4d52-8f3c-c0d51eef0a74'::uuid, 'TvMaze', 203449)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37940 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('74cd9079-34f7-4d52-8f3c-c0d51eef0a74'::uuid, 'Tvdb', 5253505)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37941 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74cd9079-34f7-4d52-8f3c-c0d51eef0a74'::uuid;

-- Query #37942 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '74cd9079-34f7-4d52-8f3c-c0d51eef0a74'::uuid;

-- Query #37943 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['74cd9079-34f7-4d52-8f3c-c0d51eef0a74'::uuid]);

-- Query #37944 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '74cd9079-34f7-4d52-8f3c-c0d51eef0a74'::uuid;

-- Query #37945 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37946 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5242c5f-a8d9-1222-89ac-04889f98420d'::uuid;

-- Query #37947 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5242c5f-a8d9-1222-89ac-04889f98420d'::uuid]);

-- Query #37948 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e5242c5f-a8d9-1222-89ac-04889f98420d'::uuid;

-- Query #37949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5242c5f-a8d9-1222-89ac-04889f98420d'::uuid, 'Imdb', 'tt4075864')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5242c5f-a8d9-1222-89ac-04889f98420d'::uuid, 'TvMaze', 177758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5242c5f-a8d9-1222-89ac-04889f98420d'::uuid, 'Tvdb', 5253498)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e5242c5f-a8d9-1222-89ac-04889f98420d'::uuid, 'TvRage', 1065828088)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37953 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e5242c5f-a8d9-1222-89ac-04889f98420d'::uuid;

-- Query #37954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e5242c5f-a8d9-1222-89ac-04889f98420d'::uuid;

-- Query #37955 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e5242c5f-a8d9-1222-89ac-04889f98420d'::uuid]);

-- Query #37956 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e5242c5f-a8d9-1222-89ac-04889f98420d'::uuid;

-- Query #37957 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37958 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '22f58866-ed7c-4dfb-6ae4-fba88aacdeb9'::uuid;

-- Query #37959 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['22f58866-ed7c-4dfb-6ae4-fba88aacdeb9'::uuid]);

-- Query #37960 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '22f58866-ed7c-4dfb-6ae4-fba88aacdeb9'::uuid;

-- Query #37961 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22f58866-ed7c-4dfb-6ae4-fba88aacdeb9'::uuid, 'Imdb', 'tt4075882')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37962 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22f58866-ed7c-4dfb-6ae4-fba88aacdeb9'::uuid, 'TvMaze', 190119)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22f58866-ed7c-4dfb-6ae4-fba88aacdeb9'::uuid, 'Tvdb', 5253502)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37964 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22f58866-ed7c-4dfb-6ae4-fba88aacdeb9'::uuid, 'TvRage', 1065845621)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37965 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '22f58866-ed7c-4dfb-6ae4-fba88aacdeb9'::uuid;

-- Query #37966 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '22f58866-ed7c-4dfb-6ae4-fba88aacdeb9'::uuid;

-- Query #37967 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['22f58866-ed7c-4dfb-6ae4-fba88aacdeb9'::uuid]);

-- Query #37968 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '22f58866-ed7c-4dfb-6ae4-fba88aacdeb9'::uuid;

-- Query #37969 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37970 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29ccbbab-a1dc-837f-4f12-8314de26fe54'::uuid;

-- Query #37971 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29ccbbab-a1dc-837f-4f12-8314de26fe54'::uuid]);

-- Query #37972 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '29ccbbab-a1dc-837f-4f12-8314de26fe54'::uuid;

-- Query #37973 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29ccbbab-a1dc-837f-4f12-8314de26fe54'::uuid, 'Imdb', 'tt4075880')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37974 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29ccbbab-a1dc-837f-4f12-8314de26fe54'::uuid, 'TvMaze', 201215)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37975 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29ccbbab-a1dc-837f-4f12-8314de26fe54'::uuid, 'Tvdb', 5253503)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37976 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29ccbbab-a1dc-837f-4f12-8314de26fe54'::uuid, 'TvRage', 1065850017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37977 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29ccbbab-a1dc-837f-4f12-8314de26fe54'::uuid;

-- Query #37978 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '29ccbbab-a1dc-837f-4f12-8314de26fe54'::uuid;

-- Query #37979 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['29ccbbab-a1dc-837f-4f12-8314de26fe54'::uuid]);

-- Query #37980 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '29ccbbab-a1dc-837f-4f12-8314de26fe54'::uuid;

-- Query #37981 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a329289-7a26-cdd1-d723-d3fab8d51f21'::uuid;

-- Query #37983 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a329289-7a26-cdd1-d723-d3fab8d51f21'::uuid]);

-- Query #37984 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6a329289-7a26-cdd1-d723-d3fab8d51f21'::uuid;

-- Query #37985 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a329289-7a26-cdd1-d723-d3fab8d51f21'::uuid, 'Imdb', 'tt5058570')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37986 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a329289-7a26-cdd1-d723-d3fab8d51f21'::uuid, 'TvMaze', 900599)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37987 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6a329289-7a26-cdd1-d723-d3fab8d51f21'::uuid, 'Tvdb', 5727242)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37988 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6a329289-7a26-cdd1-d723-d3fab8d51f21'::uuid;

-- Query #37989 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6a329289-7a26-cdd1-d723-d3fab8d51f21'::uuid;

-- Query #37990 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6a329289-7a26-cdd1-d723-d3fab8d51f21'::uuid]);

-- Query #37991 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6a329289-7a26-cdd1-d723-d3fab8d51f21'::uuid;

-- Query #37992 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #37993 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb47d356-a1c7-4f24-0b20-4ae5825abae5'::uuid;

-- Query #37994 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb47d356-a1c7-4f24-0b20-4ae5825abae5'::uuid]);

-- Query #37995 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eb47d356-a1c7-4f24-0b20-4ae5825abae5'::uuid;

-- Query #37996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb47d356-a1c7-4f24-0b20-4ae5825abae5'::uuid, 'Imdb', 'tt5058548')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37997 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb47d356-a1c7-4f24-0b20-4ae5825abae5'::uuid, 'Tmdb', 1201908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37998 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb47d356-a1c7-4f24-0b20-4ae5825abae5'::uuid, 'trakt', 2234570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #37999 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb47d356-a1c7-4f24-0b20-4ae5825abae5'::uuid, 'TvMaze', 831129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38000 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb47d356-a1c7-4f24-0b20-4ae5825abae5'::uuid, 'Tvdb', 5646604)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb47d356-a1c7-4f24-0b20-4ae5825abae5'::uuid, 'TmdbCollection', 1201908)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38002 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb47d356-a1c7-4f24-0b20-4ae5825abae5'::uuid;

-- Query #38003 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eb47d356-a1c7-4f24-0b20-4ae5825abae5'::uuid;

-- Query #38004 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eb47d356-a1c7-4f24-0b20-4ae5825abae5'::uuid]);

-- Query #38005 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eb47d356-a1c7-4f24-0b20-4ae5825abae5'::uuid;

-- Query #38006 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38007 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '32ae10cb-fd36-ce6c-0b43-e467c7058add'::uuid;

-- Query #38008 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['32ae10cb-fd36-ce6c-0b43-e467c7058add'::uuid]);

-- Query #38009 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '32ae10cb-fd36-ce6c-0b43-e467c7058add'::uuid;

-- Query #38010 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32ae10cb-fd36-ce6c-0b43-e467c7058add'::uuid, 'Tvdb', 5677821)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32ae10cb-fd36-ce6c-0b43-e467c7058add'::uuid, 'Imdb', 'tt5058560')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('32ae10cb-fd36-ce6c-0b43-e467c7058add'::uuid, 'TvMaze', 874051)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38013 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '32ae10cb-fd36-ce6c-0b43-e467c7058add'::uuid;

-- Query #38014 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '32ae10cb-fd36-ce6c-0b43-e467c7058add'::uuid;

-- Query #38015 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['32ae10cb-fd36-ce6c-0b43-e467c7058add'::uuid]);

-- Query #38016 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '32ae10cb-fd36-ce6c-0b43-e467c7058add'::uuid;

-- Query #38017 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38018 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dce11e58-da28-e6d2-5c0b-54e3bff248b5'::uuid;

-- Query #38019 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dce11e58-da28-e6d2-5c0b-54e3bff248b5'::uuid]);

-- Query #38020 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dce11e58-da28-e6d2-5c0b-54e3bff248b5'::uuid;

-- Query #38021 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dce11e58-da28-e6d2-5c0b-54e3bff248b5'::uuid, 'TvMaze', 887167)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38022 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dce11e58-da28-e6d2-5c0b-54e3bff248b5'::uuid, 'Tvdb', 5707077)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38023 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dce11e58-da28-e6d2-5c0b-54e3bff248b5'::uuid;

-- Query #38024 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dce11e58-da28-e6d2-5c0b-54e3bff248b5'::uuid;

-- Query #38025 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+cheating', '6+extramarital affair', '6+relationship problems']);

-- Query #38026 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dce11e58-da28-e6d2-5c0b-54e3bff248b5'::uuid]);

-- Query #38027 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dce11e58-da28-e6d2-5c0b-54e3bff248b5'::uuid;

-- Query #38028 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38029 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd88b0d16-c119-7492-e8d9-0d4ea0983821'::uuid;

-- Query #38030 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d88b0d16-c119-7492-e8d9-0d4ea0983821'::uuid]);

-- Query #38031 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd88b0d16-c119-7492-e8d9-0d4ea0983821'::uuid;

-- Query #38032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d88b0d16-c119-7492-e8d9-0d4ea0983821'::uuid, 'TvMaze', 893360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38033 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d88b0d16-c119-7492-e8d9-0d4ea0983821'::uuid, 'Tvdb', 5710429)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38034 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd88b0d16-c119-7492-e8d9-0d4ea0983821'::uuid;

-- Query #38035 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd88b0d16-c119-7492-e8d9-0d4ea0983821'::uuid;

-- Query #38036 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+cheating', '6+extramarital affair', '6+relationship problems']);

-- Query #38037 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d88b0d16-c119-7492-e8d9-0d4ea0983821'::uuid]);

-- Query #38038 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd88b0d16-c119-7492-e8d9-0d4ea0983821'::uuid;

-- Query #38039 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38040 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce5f2866-2eb9-7342-2e6a-265172989010'::uuid;

-- Query #38041 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce5f2866-2eb9-7342-2e6a-265172989010'::uuid]);

-- Query #38042 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ce5f2866-2eb9-7342-2e6a-265172989010'::uuid;

-- Query #38043 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce5f2866-2eb9-7342-2e6a-265172989010'::uuid, 'TmdbCollection', 1196048)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38044 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce5f2866-2eb9-7342-2e6a-265172989010'::uuid, 'Imdb', 'tt5058538')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce5f2866-2eb9-7342-2e6a-265172989010'::uuid, 'Tmdb', 1196048)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce5f2866-2eb9-7342-2e6a-265172989010'::uuid, 'TvMaze', 801596)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce5f2866-2eb9-7342-2e6a-265172989010'::uuid, 'Tvdb', 5613134)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce5f2866-2eb9-7342-2e6a-265172989010'::uuid, 'TvRage', 1065936187)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ce5f2866-2eb9-7342-2e6a-265172989010'::uuid, 'trakt', 2234566)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38050 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce5f2866-2eb9-7342-2e6a-265172989010'::uuid;

-- Query #38051 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ce5f2866-2eb9-7342-2e6a-265172989010'::uuid;

-- Query #38052 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ce5f2866-2eb9-7342-2e6a-265172989010'::uuid]);

-- Query #38053 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ce5f2866-2eb9-7342-2e6a-265172989010'::uuid;

-- Query #38054 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38055 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9ffd86e-5690-51d3-58c2-bd862a400308'::uuid;

-- Query #38056 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9ffd86e-5690-51d3-58c2-bd862a400308'::uuid]);

-- Query #38057 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f9ffd86e-5690-51d3-58c2-bd862a400308'::uuid;

-- Query #38058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9ffd86e-5690-51d3-58c2-bd862a400308'::uuid, 'Imdb', 'tt5058536')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9ffd86e-5690-51d3-58c2-bd862a400308'::uuid, 'Tmdb', 1196047)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9ffd86e-5690-51d3-58c2-bd862a400308'::uuid, 'TvMaze', 730977)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9ffd86e-5690-51d3-58c2-bd862a400308'::uuid, 'Tvdb', 5523058)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9ffd86e-5690-51d3-58c2-bd862a400308'::uuid, 'TvRage', 1065923759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9ffd86e-5690-51d3-58c2-bd862a400308'::uuid, 'trakt', 2162098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f9ffd86e-5690-51d3-58c2-bd862a400308'::uuid, 'TmdbCollection', 1196047)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38065 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f9ffd86e-5690-51d3-58c2-bd862a400308'::uuid;

-- Query #38066 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f9ffd86e-5690-51d3-58c2-bd862a400308'::uuid;

-- Query #38067 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f9ffd86e-5690-51d3-58c2-bd862a400308'::uuid]);

-- Query #38068 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f9ffd86e-5690-51d3-58c2-bd862a400308'::uuid;

-- Query #38069 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38070 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7b231d3-b6a5-b8b1-6f8b-bd17241e6b8e'::uuid;

-- Query #38071 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7b231d3-b6a5-b8b1-6f8b-bd17241e6b8e'::uuid]);

-- Query #38072 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c7b231d3-b6a5-b8b1-6f8b-bd17241e6b8e'::uuid;

-- Query #38073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7b231d3-b6a5-b8b1-6f8b-bd17241e6b8e'::uuid, 'Imdb', 'tt5058564')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7b231d3-b6a5-b8b1-6f8b-bd17241e6b8e'::uuid, 'TvMaze', 880556)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7b231d3-b6a5-b8b1-6f8b-bd17241e6b8e'::uuid, 'Tvdb', 5697716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38076 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7b231d3-b6a5-b8b1-6f8b-bd17241e6b8e'::uuid;

-- Query #38077 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c7b231d3-b6a5-b8b1-6f8b-bd17241e6b8e'::uuid;

-- Query #38078 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c7b231d3-b6a5-b8b1-6f8b-bd17241e6b8e'::uuid]);

-- Query #38079 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c7b231d3-b6a5-b8b1-6f8b-bd17241e6b8e'::uuid;

-- Query #38080 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38081 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #38082 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e24760fc-0324-9f2d-f957-a774122c6e31'::uuid;

-- Query #38083 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e24760fc-0324-9f2d-f957-a774122c6e31'::uuid]);

-- Query #38084 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e24760fc-0324-9f2d-f957-a774122c6e31'::uuid;

-- Query #38085 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24760fc-0324-9f2d-f957-a774122c6e31'::uuid, 'Imdb', 'tt5058568')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38086 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24760fc-0324-9f2d-f957-a774122c6e31'::uuid, 'TvMaze', 900600)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e24760fc-0324-9f2d-f957-a774122c6e31'::uuid, 'Tvdb', 5719864)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38088 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e24760fc-0324-9f2d-f957-a774122c6e31'::uuid;

-- Query #38089 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e24760fc-0324-9f2d-f957-a774122c6e31'::uuid;

-- Query #38090 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e24760fc-0324-9f2d-f957-a774122c6e31'::uuid]);

-- Query #38091 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e24760fc-0324-9f2d-f957-a774122c6e31'::uuid;

-- Query #38092 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38093 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c696e1ac-1ece-9608-1ad5-ff81201d6521'::uuid;

-- Query #38094 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c696e1ac-1ece-9608-1ad5-ff81201d6521'::uuid]);

-- Query #38095 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c696e1ac-1ece-9608-1ad5-ff81201d6521'::uuid;

-- Query #38096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c696e1ac-1ece-9608-1ad5-ff81201d6521'::uuid, 'Imdb', 'tt5058556')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38097 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c696e1ac-1ece-9608-1ad5-ff81201d6521'::uuid, 'TvMaze', 844372)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38098 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c696e1ac-1ece-9608-1ad5-ff81201d6521'::uuid, 'Tvdb', 5677795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38099 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c696e1ac-1ece-9608-1ad5-ff81201d6521'::uuid;

-- Query #38100 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c696e1ac-1ece-9608-1ad5-ff81201d6521'::uuid;

-- Query #38101 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c696e1ac-1ece-9608-1ad5-ff81201d6521'::uuid]);

-- Query #38102 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c696e1ac-1ece-9608-1ad5-ff81201d6521'::uuid;

-- Query #38103 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38104 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd4c1ae13-5f8a-da1c-b0dd-2f99ea334f54'::uuid;

-- Query #38105 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d4c1ae13-5f8a-da1c-b0dd-2f99ea334f54'::uuid]);

-- Query #38106 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd4c1ae13-5f8a-da1c-b0dd-2f99ea334f54'::uuid;

-- Query #38107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4c1ae13-5f8a-da1c-b0dd-2f99ea334f54'::uuid, 'Imdb', 'tt5058542')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4c1ae13-5f8a-da1c-b0dd-2f99ea334f54'::uuid, 'Tmdb', 1198106)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38109 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4c1ae13-5f8a-da1c-b0dd-2f99ea334f54'::uuid, 'TvMaze', 821616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38110 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4c1ae13-5f8a-da1c-b0dd-2f99ea334f54'::uuid, 'Tvdb', 5635995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38111 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4c1ae13-5f8a-da1c-b0dd-2f99ea334f54'::uuid, 'TvRage', 1065940891)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38112 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4c1ae13-5f8a-da1c-b0dd-2f99ea334f54'::uuid, 'trakt', 2234569)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d4c1ae13-5f8a-da1c-b0dd-2f99ea334f54'::uuid, 'TmdbCollection', 1198106)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38114 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd4c1ae13-5f8a-da1c-b0dd-2f99ea334f54'::uuid;

-- Query #38115 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd4c1ae13-5f8a-da1c-b0dd-2f99ea334f54'::uuid;

-- Query #38116 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d4c1ae13-5f8a-da1c-b0dd-2f99ea334f54'::uuid]);

-- Query #38117 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd4c1ae13-5f8a-da1c-b0dd-2f99ea334f54'::uuid;

-- Query #38118 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38119 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '35a03f5e-6915-1b59-3af2-57bd3a43e31c'::uuid;

-- Query #38120 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['35a03f5e-6915-1b59-3af2-57bd3a43e31c'::uuid]);

-- Query #38121 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '35a03f5e-6915-1b59-3af2-57bd3a43e31c'::uuid;

-- Query #38122 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a03f5e-6915-1b59-3af2-57bd3a43e31c'::uuid, 'Imdb', 'tt5058552')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38123 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a03f5e-6915-1b59-3af2-57bd3a43e31c'::uuid, 'TvMaze', 831131)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35a03f5e-6915-1b59-3af2-57bd3a43e31c'::uuid, 'Tvdb', 5668050)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38125 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '35a03f5e-6915-1b59-3af2-57bd3a43e31c'::uuid;

-- Query #38126 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '35a03f5e-6915-1b59-3af2-57bd3a43e31c'::uuid;

-- Query #38127 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['35a03f5e-6915-1b59-3af2-57bd3a43e31c'::uuid]);

-- Query #38128 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '35a03f5e-6915-1b59-3af2-57bd3a43e31c'::uuid;

-- Query #38129 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid, '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38130 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1ad7af0b-a2d5-1fa7-3736-2738a4365a64'::uuid
ORDER BY b."SortName";

-- Query #38131 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid])
ORDER BY b."Id";

-- Query #38132 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid])
ORDER BY b."Id";

-- Query #38133 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid])
ORDER BY b."Id";

-- Query #38134 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid])
ORDER BY b."Id";

-- Query #38135 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid, 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid, '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid, '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid])
ORDER BY b."Id";

-- Query #38136 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1f59819-579c-846a-cf8d-4eab141cf3c5'::uuid
ORDER BY b."SortName";

-- Query #38137 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f21e3efb-df31-30fc-acde-341bfd2bf5f4'::uuid
ORDER BY b."SortName";

-- Query #38138 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c989e85-4c3b-f31c-70af-9bb364f7a662'::uuid
ORDER BY b."SortName";

-- Query #38139 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '29a4a3f3-0402-52a9-3672-b154623e9b57'::uuid
ORDER BY b."SortName";

-- Query #38140 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '1ad7af0ba2d51fa737362738a4365a64'
ORDER BY b."SortName", b."Name";

-- Query #38141 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid
ORDER BY b."SortName";

-- Query #38142 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid
ORDER BY b."SortName";

-- Query #38143 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '837aeabc-3a66-fff9-4812-79fca548bb25'::uuid
ORDER BY b."SortName";

-- Query #38144 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '82f96915-738a-8656-0cc3-925fea3f51ee'::uuid
ORDER BY b."SortName";

-- Query #38145 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid
ORDER BY b."SortName";

-- Query #38146 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid
ORDER BY b."SortName";

-- Query #38147 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid
ORDER BY b."SortName";

-- Query #38148 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid
ORDER BY b."SortName";

-- Query #38149 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '00da74dd-1686-d116-b373-6e87b785e83f'::uuid
ORDER BY b."SortName";

-- Query #38150 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid
ORDER BY b."SortName";

-- Query #38151 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid
ORDER BY b."SortName";

-- Query #38152 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid
ORDER BY b."SortName";

-- Query #38153 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid;

-- Query #38154 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid]);

-- Query #38155 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid;

-- Query #38156 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, 'facebook', 'ModernFamily')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38157 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, 'Imdb', 'tt1442437')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, 'instagram', 'abcmodernfam')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38159 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, 'reddit', 'Modern_Family')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, 'Tmdb', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38161 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, 'TmdbCollection', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38162 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, 'Tvdb', 95011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38163 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, 'TvMaze', 80)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, 'TvRage', 22622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, 'wikidata', 'Q16756')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, 'x (twitter)', 'ModernFam')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, 'Zap2It', 'EP01158124')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38168 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid;

-- Query #38169 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid;

-- Query #38170 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid]);

-- Query #38171 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid;

-- Query #38172 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38173 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'dfef76ef2c8e43081b545948dcbbde1c'
ORDER BY b."SortName", b."Name";

-- Query #38174 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid
ORDER BY b."SortName";

-- Query #38175 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid
ORDER BY b."SortName";

-- Query #38176 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '837aeabc-3a66-fff9-4812-79fca548bb25'::uuid
ORDER BY b."SortName";

-- Query #38177 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '82f96915-738a-8656-0cc3-925fea3f51ee'::uuid
ORDER BY b."SortName";

-- Query #38178 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid
ORDER BY b."SortName";

-- Query #38179 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid
ORDER BY b."SortName";

-- Query #38180 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid
ORDER BY b."SortName";

-- Query #38181 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid
ORDER BY b."SortName";

-- Query #38182 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '00da74dd-1686-d116-b373-6e87b785e83f'::uuid
ORDER BY b."SortName";

-- Query #38183 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid
ORDER BY b."SortName";

-- Query #38184 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid
ORDER BY b."SortName";

-- Query #38185 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid
ORDER BY b."SortName";

-- Query #38186 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'dfef76ef2c8e43081b545948dcbbde1c'
ORDER BY b."SortName", b."Name";

-- Query #38187 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid;

-- Query #38188 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid]);

-- Query #38189 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid;

-- Query #38190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'TmdbCollection', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'Tvdb', 95011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'Tmdb', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'Imdb', 'tt1442437')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'TvMaze', 80)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38195 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'TvRage', 22622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38196 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'Zap2It', 'EP01158124')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'wikidata', 'Q16756')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38198 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid;

-- Query #38199 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid;

-- Query #38200 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+blended family', '6+breaking the fourth wall', '6+family', '6+family relationships', '6+sitcom']);

-- Query #38201 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid]);

-- Query #38202 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid;

-- Query #38203 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38204 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'dfef76ef2c8e43081b545948dcbbde1c'
ORDER BY b."SortName", b."Name";

-- Query #38205 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '837aeabc-3a66-fff9-4812-79fca548bb25'::uuid;

-- Query #38206 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid]);

-- Query #38207 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '837aeabc-3a66-fff9-4812-79fca548bb25'::uuid;

-- Query #38208 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'TmdbCollection', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38209 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'Tvdb', 95011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38210 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'Tmdb', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38211 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'Imdb', 'tt1442437')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'TvMaze', 80)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'TvRage', 22622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'Zap2It', 'EP01158124')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'wikidata', 'Q16756')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38216 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '837aeabc-3a66-fff9-4812-79fca548bb25'::uuid;

-- Query #38217 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '837aeabc-3a66-fff9-4812-79fca548bb25'::uuid;

-- Query #38218 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+blended family', '6+breaking the fourth wall', '6+family', '6+family relationships', '6+sitcom']);

-- Query #38219 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid]);

-- Query #38220 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '837aeabc-3a66-fff9-4812-79fca548bb25'::uuid;

-- Query #38221 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38222 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'dfef76ef2c8e43081b545948dcbbde1c'
ORDER BY b."SortName", b."Name";

-- Query #38223 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #38224 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82f96915-738a-8656-0cc3-925fea3f51ee'::uuid;

-- Query #38225 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid]);

-- Query #38226 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82f96915-738a-8656-0cc3-925fea3f51ee'::uuid;

-- Query #38227 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'TmdbCollection', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'Tvdb', 95011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'Tmdb', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38230 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'Imdb', 'tt1442437')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38231 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'TvMaze', 80)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'TvRage', 22622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'Zap2It', 'EP01158124')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'wikidata', 'Q16756')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38235 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82f96915-738a-8656-0cc3-925fea3f51ee'::uuid;

-- Query #38236 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82f96915-738a-8656-0cc3-925fea3f51ee'::uuid;

-- Query #38237 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+blended family', '6+breaking the fourth wall', '6+family', '6+family relationships', '6+sitcom']);

-- Query #38238 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid]);

-- Query #38239 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '82f96915-738a-8656-0cc3-925fea3f51ee'::uuid;

-- Query #38240 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38241 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'dfef76ef2c8e43081b545948dcbbde1c'
ORDER BY b."SortName", b."Name";

-- Query #38242 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid;

-- Query #38243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid]);

-- Query #38244 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid;

-- Query #38245 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'Tvdb', 95011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'Tmdb', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'Imdb', 'tt1442437')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'TvMaze', 80)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'TvRage', 22622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'Zap2It', 'EP01158124')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'wikidata', 'Q16756')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'TmdbCollection', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38253 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid;

-- Query #38254 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid;

-- Query #38255 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+blended family', '6+breaking the fourth wall', '6+family', '6+family relationships', '6+sitcom']);

-- Query #38256 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid]);

-- Query #38257 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid;

-- Query #38258 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38259 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'dfef76ef2c8e43081b545948dcbbde1c'
ORDER BY b."SortName", b."Name";

-- Query #38260 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid;

-- Query #38261 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid]);

-- Query #38262 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid;

-- Query #38263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'Tvdb', 95011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'Tmdb', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'Imdb', 'tt1442437')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'TvMaze', 80)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38267 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'TvRage', 22622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'Zap2It', 'EP01158124')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'wikidata', 'Q16756')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'TmdbCollection', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38271 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid;

-- Query #38272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid;

-- Query #38273 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+blended family', '6+breaking the fourth wall', '6+family', '6+family relationships', '6+sitcom']);

-- Query #38274 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid]);

-- Query #38275 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid;

-- Query #38276 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38277 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'dfef76ef2c8e43081b545948dcbbde1c'
ORDER BY b."SortName", b."Name";

-- Query #38278 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid;

-- Query #38279 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid]);

-- Query #38280 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid;

-- Query #38281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'wikidata', 'Q16756')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38282 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'TmdbCollection', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38283 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'Tvdb', 95011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38284 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'Tmdb', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38285 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'Imdb', 'tt1442437')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38286 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'TvMaze', 80)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38287 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'TvRage', 22622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'Zap2It', 'EP01158124')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38289 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid;

-- Query #38290 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid;

-- Query #38291 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+blended family', '6+breaking the fourth wall', '6+family', '6+family relationships', '6+sitcom']);

-- Query #38292 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid]);

-- Query #38293 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid;

-- Query #38294 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38295 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'dfef76ef2c8e43081b545948dcbbde1c'
ORDER BY b."SortName", b."Name";

-- Query #38296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid;

-- Query #38297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid]);

-- Query #38298 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid;

-- Query #38299 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'TmdbCollection', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'Tvdb', 95011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38301 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'Tmdb', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'Imdb', 'tt1442437')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'TvMaze', 80)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'TvRage', 22622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'Zap2It', 'EP01158124')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'wikidata', 'Q16756')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38307 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid;

-- Query #38308 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid;

-- Query #38309 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+blended family', '6+breaking the fourth wall', '6+family', '6+family relationships', '6+sitcom']);

-- Query #38310 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid]);

-- Query #38311 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid;

-- Query #38312 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38313 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'dfef76ef2c8e43081b545948dcbbde1c'
ORDER BY b."SortName", b."Name";

-- Query #38314 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '00da74dd-1686-d116-b373-6e87b785e83f'::uuid;

-- Query #38315 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid]);

-- Query #38316 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '00da74dd-1686-d116-b373-6e87b785e83f'::uuid;

-- Query #38317 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'TmdbCollection', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38318 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'Tvdb', 95011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38319 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'Tmdb', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38320 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'Imdb', 'tt1442437')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'TvMaze', 80)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'TvRage', 22622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'Zap2It', 'EP01158124')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'wikidata', 'Q16756')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38325 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '00da74dd-1686-d116-b373-6e87b785e83f'::uuid;

-- Query #38326 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '00da74dd-1686-d116-b373-6e87b785e83f'::uuid;

-- Query #38327 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+blended family', '6+breaking the fourth wall', '6+family', '6+family relationships', '6+sitcom']);

-- Query #38328 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid]);

-- Query #38329 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '00da74dd-1686-d116-b373-6e87b785e83f'::uuid;

-- Query #38330 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38331 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'dfef76ef2c8e43081b545948dcbbde1c'
ORDER BY b."SortName", b."Name";

-- Query #38332 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid;

-- Query #38333 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid]);

-- Query #38334 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid;

-- Query #38335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'Tvdb', 95011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'Tmdb', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'Imdb', 'tt1442437')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'TvMaze', 80)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'TvRage', 22622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'Zap2It', 'EP01158124')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'wikidata', 'Q16756')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'TmdbCollection', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38343 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid;

-- Query #38344 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid;

-- Query #38345 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+blended family', '6+breaking the fourth wall', '6+family', '6+family relationships', '6+sitcom']);

-- Query #38346 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid]);

-- Query #38347 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid;

-- Query #38348 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38349 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'dfef76ef2c8e43081b545948dcbbde1c'
ORDER BY b."SortName", b."Name";

-- Query #38350 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid;

-- Query #38351 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid]);

-- Query #38352 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid;

-- Query #38353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'Tvdb', 95011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'Tmdb', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'Imdb', 'tt1442437')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'TvMaze', 80)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'TvRage', 22622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'Zap2It', 'EP01158124')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'wikidata', 'Q16756')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38360 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'TmdbCollection', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38361 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid;

-- Query #38362 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid;

-- Query #38363 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+blended family', '6+breaking the fourth wall', '6+family', '6+family relationships', '6+sitcom']);

-- Query #38364 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid]);

-- Query #38365 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid;

-- Query #38366 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38367 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'dfef76ef2c8e43081b545948dcbbde1c'
ORDER BY b."SortName", b."Name";

-- Query #38368 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid;

-- Query #38369 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid]);

-- Query #38370 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid;

-- Query #38371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'TmdbCollection', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'Tvdb', 95011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'Tmdb', 1421)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'Imdb', 'tt1442437')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38375 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'TvMaze', 80)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38376 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'TvRage', 22622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38377 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'Zap2It', 'EP01158124')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38378 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'wikidata', 'Q16756')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38379 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid;

-- Query #38380 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid;

-- Query #38381 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+blended family', '6+breaking the fourth wall', '6+family', '6+family relationships', '6+sitcom']);

-- Query #38382 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid]);

-- Query #38383 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid;

-- Query #38384 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38385 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d6b05b8-4b51-556c-5349-ffcd7f1fbfac'::uuid;

-- Query #38386 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d6b05b8-4b51-556c-5349-ffcd7f1fbfac'::uuid]);

-- Query #38387 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1d6b05b8-4b51-556c-5349-ffcd7f1fbfac'::uuid;

-- Query #38388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d6b05b8-4b51-556c-5349-ffcd7f1fbfac'::uuid, 'Imdb', 'tt1643884')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38389 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d6b05b8-4b51-556c-5349-ffcd7f1fbfac'::uuid, 'Tmdb', 64959)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d6b05b8-4b51-556c-5349-ffcd7f1fbfac'::uuid, 'TmdbCollection', 64959)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d6b05b8-4b51-556c-5349-ffcd7f1fbfac'::uuid, 'trakt', 75762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d6b05b8-4b51-556c-5349-ffcd7f1fbfac'::uuid, 'Tvdb', 2106501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38393 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d6b05b8-4b51-556c-5349-ffcd7f1fbfac'::uuid, 'TvMaze', 4555)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38394 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d6b05b8-4b51-556c-5349-ffcd7f1fbfac'::uuid, 'TvRage', 1064920067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38395 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d6b05b8-4b51-556c-5349-ffcd7f1fbfac'::uuid;

-- Query #38396 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1d6b05b8-4b51-556c-5349-ffcd7f1fbfac'::uuid;

-- Query #38397 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1d6b05b8-4b51-556c-5349-ffcd7f1fbfac'::uuid]);

-- Query #38398 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1d6b05b8-4b51-556c-5349-ffcd7f1fbfac'::uuid;

-- Query #38399 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38400 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ec4831a-3003-2196-47c7-48799ffd3fdf'::uuid;

-- Query #38401 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ec4831a-3003-2196-47c7-48799ffd3fdf'::uuid]);

-- Query #38402 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8ec4831a-3003-2196-47c7-48799ffd3fdf'::uuid;

-- Query #38403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ec4831a-3003-2196-47c7-48799ffd3fdf'::uuid, 'Imdb', 'tt1625484')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ec4831a-3003-2196-47c7-48799ffd3fdf'::uuid, 'Tmdb', 64964)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ec4831a-3003-2196-47c7-48799ffd3fdf'::uuid, 'TmdbCollection', 64964)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38406 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #38407 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ec4831a-3003-2196-47c7-48799ffd3fdf'::uuid, 'trakt', 75760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38408 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ec4831a-3003-2196-47c7-48799ffd3fdf'::uuid, 'Tvdb', 1911511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38409 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8ec4831a-3003-2196-47c7-48799ffd3fdf'::uuid, 'TvMaze', 4550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38410 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ec4831a-3003-2196-47c7-48799ffd3fdf'::uuid;

-- Query #38411 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8ec4831a-3003-2196-47c7-48799ffd3fdf'::uuid;

-- Query #38412 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8ec4831a-3003-2196-47c7-48799ffd3fdf'::uuid]);

-- Query #38413 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8ec4831a-3003-2196-47c7-48799ffd3fdf'::uuid;

-- Query #38414 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38415 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70cf6791-8409-9695-d2ee-4151191623e3'::uuid;

-- Query #38416 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70cf6791-8409-9695-d2ee-4151191623e3'::uuid]);

-- Query #38417 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '70cf6791-8409-9695-d2ee-4151191623e3'::uuid;

-- Query #38418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70cf6791-8409-9695-d2ee-4151191623e3'::uuid, 'Imdb', 'tt1492032')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38419 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70cf6791-8409-9695-d2ee-4151191623e3'::uuid, 'Tmdb', 64966)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38420 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70cf6791-8409-9695-d2ee-4151191623e3'::uuid, 'TmdbCollection', 64966)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38421 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70cf6791-8409-9695-d2ee-4151191623e3'::uuid, 'trakt', 75742)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38422 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70cf6791-8409-9695-d2ee-4151191623e3'::uuid, 'Tvdb', 1084191)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38423 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70cf6791-8409-9695-d2ee-4151191623e3'::uuid, 'TvMaze', 4514)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38424 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70cf6791-8409-9695-d2ee-4151191623e3'::uuid;

-- Query #38425 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '70cf6791-8409-9695-d2ee-4151191623e3'::uuid;

-- Query #38426 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['70cf6791-8409-9695-d2ee-4151191623e3'::uuid]);

-- Query #38427 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '70cf6791-8409-9695-d2ee-4151191623e3'::uuid;

-- Query #38428 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38429 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3cbb5bfc-9e15-1c0c-a473-2f400b9d4be2'::uuid;

-- Query #38430 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3cbb5bfc-9e15-1c0c-a473-2f400b9d4be2'::uuid]);

-- Query #38431 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3cbb5bfc-9e15-1c0c-a473-2f400b9d4be2'::uuid;

-- Query #38432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cbb5bfc-9e15-1c0c-a473-2f400b9d4be2'::uuid, 'Imdb', 'tt1530593')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cbb5bfc-9e15-1c0c-a473-2f400b9d4be2'::uuid, 'Tmdb', 64953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cbb5bfc-9e15-1c0c-a473-2f400b9d4be2'::uuid, 'TmdbCollection', 64953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cbb5bfc-9e15-1c0c-a473-2f400b9d4be2'::uuid, 'trakt', 75745)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cbb5bfc-9e15-1c0c-a473-2f400b9d4be2'::uuid, 'Tvdb', 1084221)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38437 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cbb5bfc-9e15-1c0c-a473-2f400b9d4be2'::uuid, 'TvMaze', 4520)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38438 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3cbb5bfc-9e15-1c0c-a473-2f400b9d4be2'::uuid, 'TvRage', 1064863681)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38439 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3cbb5bfc-9e15-1c0c-a473-2f400b9d4be2'::uuid;

-- Query #38440 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3cbb5bfc-9e15-1c0c-a473-2f400b9d4be2'::uuid;

-- Query #38441 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3cbb5bfc-9e15-1c0c-a473-2f400b9d4be2'::uuid]);

-- Query #38442 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3cbb5bfc-9e15-1c0c-a473-2f400b9d4be2'::uuid;

-- Query #38443 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38444 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3803ce17-f635-f0c5-30cf-041f1b82a4b2'::uuid;

-- Query #38445 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3803ce17-f635-f0c5-30cf-041f1b82a4b2'::uuid]);

-- Query #38446 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3803ce17-f635-f0c5-30cf-041f1b82a4b2'::uuid;

-- Query #38447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3803ce17-f635-f0c5-30cf-041f1b82a4b2'::uuid, 'Imdb', 'tt1520618')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3803ce17-f635-f0c5-30cf-041f1b82a4b2'::uuid, 'Tmdb', 64954)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38449 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3803ce17-f635-f0c5-30cf-041f1b82a4b2'::uuid, 'TmdbCollection', 64954)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3803ce17-f635-f0c5-30cf-041f1b82a4b2'::uuid, 'trakt', 75743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3803ce17-f635-f0c5-30cf-041f1b82a4b2'::uuid, 'Tvdb', 1084201)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38452 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3803ce17-f635-f0c5-30cf-041f1b82a4b2'::uuid, 'TvMaze', 4516)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38453 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3803ce17-f635-f0c5-30cf-041f1b82a4b2'::uuid, 'TvRage', 1064837884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38454 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3803ce17-f635-f0c5-30cf-041f1b82a4b2'::uuid;

-- Query #38455 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3803ce17-f635-f0c5-30cf-041f1b82a4b2'::uuid;

-- Query #38456 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3803ce17-f635-f0c5-30cf-041f1b82a4b2'::uuid]);

-- Query #38457 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3803ce17-f635-f0c5-30cf-041f1b82a4b2'::uuid;

-- Query #38458 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38459 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9be20582-97de-908c-aa83-dae901f86d43'::uuid;

-- Query #38460 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9be20582-97de-908c-aa83-dae901f86d43'::uuid]);

-- Query #38461 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9be20582-97de-908c-aa83-dae901f86d43'::uuid;

-- Query #38462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9be20582-97de-908c-aa83-dae901f86d43'::uuid, 'Imdb', 'tt1530594')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9be20582-97de-908c-aa83-dae901f86d43'::uuid, 'Tmdb', 64970)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38464 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9be20582-97de-908c-aa83-dae901f86d43'::uuid, 'TmdbCollection', 64970)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38465 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9be20582-97de-908c-aa83-dae901f86d43'::uuid, 'trakt', 75747)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38466 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9be20582-97de-908c-aa83-dae901f86d43'::uuid, 'Tvdb', 1268461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9be20582-97de-908c-aa83-dae901f86d43'::uuid, 'TvMaze', 4525)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38468 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9be20582-97de-908c-aa83-dae901f86d43'::uuid;

-- Query #38469 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9be20582-97de-908c-aa83-dae901f86d43'::uuid;

-- Query #38470 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9be20582-97de-908c-aa83-dae901f86d43'::uuid]);

-- Query #38471 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9be20582-97de-908c-aa83-dae901f86d43'::uuid;

-- Query #38472 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38473 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cabd0542-4dc1-03ee-edf9-acd2bc044c8b'::uuid;

-- Query #38474 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cabd0542-4dc1-03ee-edf9-acd2bc044c8b'::uuid]);

-- Query #38475 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cabd0542-4dc1-03ee-edf9-acd2bc044c8b'::uuid;

-- Query #38476 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cabd0542-4dc1-03ee-edf9-acd2bc044c8b'::uuid, 'Imdb', 'tt1624700')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38477 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cabd0542-4dc1-03ee-edf9-acd2bc044c8b'::uuid, 'Tmdb', 64963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38478 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cabd0542-4dc1-03ee-edf9-acd2bc044c8b'::uuid, 'TmdbCollection', 64963)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cabd0542-4dc1-03ee-edf9-acd2bc044c8b'::uuid, 'trakt', 75764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cabd0542-4dc1-03ee-edf9-acd2bc044c8b'::uuid, 'Tvdb', 2106521)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cabd0542-4dc1-03ee-edf9-acd2bc044c8b'::uuid, 'TvMaze', 4559)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38482 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cabd0542-4dc1-03ee-edf9-acd2bc044c8b'::uuid, 'TvRage', 1064920065)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38483 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cabd0542-4dc1-03ee-edf9-acd2bc044c8b'::uuid;

-- Query #38484 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cabd0542-4dc1-03ee-edf9-acd2bc044c8b'::uuid;

-- Query #38485 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cabd0542-4dc1-03ee-edf9-acd2bc044c8b'::uuid]);

-- Query #38486 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cabd0542-4dc1-03ee-edf9-acd2bc044c8b'::uuid;

-- Query #38487 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38488 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'caec51b0-6200-be25-5006-52a3680b2df3'::uuid;

-- Query #38489 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['caec51b0-6200-be25-5006-52a3680b2df3'::uuid]);

-- Query #38490 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'caec51b0-6200-be25-5006-52a3680b2df3'::uuid;

-- Query #38491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caec51b0-6200-be25-5006-52a3680b2df3'::uuid, 'Imdb', 'tt1569106')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caec51b0-6200-be25-5006-52a3680b2df3'::uuid, 'Tmdb', 64974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caec51b0-6200-be25-5006-52a3680b2df3'::uuid, 'TmdbCollection', 64974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caec51b0-6200-be25-5006-52a3680b2df3'::uuid, 'trakt', 75753)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38495 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caec51b0-6200-be25-5006-52a3680b2df3'::uuid, 'Tvdb', 1559011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('caec51b0-6200-be25-5006-52a3680b2df3'::uuid, 'TvMaze', 4537)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38497 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'caec51b0-6200-be25-5006-52a3680b2df3'::uuid;

-- Query #38498 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'caec51b0-6200-be25-5006-52a3680b2df3'::uuid;

-- Query #38499 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['caec51b0-6200-be25-5006-52a3680b2df3'::uuid]);

-- Query #38500 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'caec51b0-6200-be25-5006-52a3680b2df3'::uuid;

-- Query #38501 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38502 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48e24217-0ee3-c530-62bc-a5915c60fca8'::uuid;

-- Query #38503 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48e24217-0ee3-c530-62bc-a5915c60fca8'::uuid]);

-- Query #38504 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '48e24217-0ee3-c530-62bc-a5915c60fca8'::uuid;

-- Query #38505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48e24217-0ee3-c530-62bc-a5915c60fca8'::uuid, 'Imdb', 'tt1528496')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48e24217-0ee3-c530-62bc-a5915c60fca8'::uuid, 'Tmdb', 64975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38507 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48e24217-0ee3-c530-62bc-a5915c60fca8'::uuid, 'TmdbCollection', 64975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38508 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48e24217-0ee3-c530-62bc-a5915c60fca8'::uuid, 'trakt', 75749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38509 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48e24217-0ee3-c530-62bc-a5915c60fca8'::uuid, 'Tvdb', 1302241)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38510 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('48e24217-0ee3-c530-62bc-a5915c60fca8'::uuid, 'TvMaze', 4528)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38511 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48e24217-0ee3-c530-62bc-a5915c60fca8'::uuid;

-- Query #38512 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '48e24217-0ee3-c530-62bc-a5915c60fca8'::uuid;

-- Query #38513 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['48e24217-0ee3-c530-62bc-a5915c60fca8'::uuid]);

-- Query #38514 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '48e24217-0ee3-c530-62bc-a5915c60fca8'::uuid;

-- Query #38515 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38516 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '97dcc99a-80df-3d4c-2f75-655c0fef7d1e'::uuid;

-- Query #38517 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['97dcc99a-80df-3d4c-2f75-655c0fef7d1e'::uuid]);

-- Query #38518 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '97dcc99a-80df-3d4c-2f75-655c0fef7d1e'::uuid;

-- Query #38519 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97dcc99a-80df-3d4c-2f75-655c0fef7d1e'::uuid, 'Imdb', 'tt1617483')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38520 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97dcc99a-80df-3d4c-2f75-655c0fef7d1e'::uuid, 'Tmdb', 64956)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38521 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97dcc99a-80df-3d4c-2f75-655c0fef7d1e'::uuid, 'TmdbCollection', 64956)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97dcc99a-80df-3d4c-2f75-655c0fef7d1e'::uuid, 'trakt', 75759)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97dcc99a-80df-3d4c-2f75-655c0fef7d1e'::uuid, 'Tvdb', 1846451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97dcc99a-80df-3d4c-2f75-655c0fef7d1e'::uuid, 'TvMaze', 4548)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38525 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '97dcc99a-80df-3d4c-2f75-655c0fef7d1e'::uuid;

-- Query #38526 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '97dcc99a-80df-3d4c-2f75-655c0fef7d1e'::uuid;

-- Query #38527 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['97dcc99a-80df-3d4c-2f75-655c0fef7d1e'::uuid]);

-- Query #38528 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '97dcc99a-80df-3d4c-2f75-655c0fef7d1e'::uuid;

-- Query #38529 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38530 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e56286c8-f580-f853-3e33-226b07640e43'::uuid;

-- Query #38531 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e56286c8-f580-f853-3e33-226b07640e43'::uuid]);

-- Query #38532 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e56286c8-f580-f853-3e33-226b07640e43'::uuid;

-- Query #38533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e56286c8-f580-f853-3e33-226b07640e43'::uuid, 'Imdb', 'tt1530595')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e56286c8-f580-f853-3e33-226b07640e43'::uuid, 'Tmdb', 64967)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e56286c8-f580-f853-3e33-226b07640e43'::uuid, 'TmdbCollection', 64967)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e56286c8-f580-f853-3e33-226b07640e43'::uuid, 'trakt', 75748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38537 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e56286c8-f580-f853-3e33-226b07640e43'::uuid, 'Tvdb', 1302231)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e56286c8-f580-f853-3e33-226b07640e43'::uuid, 'TvMaze', 4526)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38539 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e56286c8-f580-f853-3e33-226b07640e43'::uuid;

-- Query #38540 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e56286c8-f580-f853-3e33-226b07640e43'::uuid;

-- Query #38541 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e56286c8-f580-f853-3e33-226b07640e43'::uuid]);

-- Query #38542 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e56286c8-f580-f853-3e33-226b07640e43'::uuid;

-- Query #38543 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38544 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '081fe9ca-8515-1254-b4c1-178919dd1ea5'::uuid;

-- Query #38545 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['081fe9ca-8515-1254-b4c1-178919dd1ea5'::uuid]);

-- Query #38546 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '081fe9ca-8515-1254-b4c1-178919dd1ea5'::uuid;

-- Query #38547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081fe9ca-8515-1254-b4c1-178919dd1ea5'::uuid, 'Imdb', 'tt1643885')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38548 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081fe9ca-8515-1254-b4c1-178919dd1ea5'::uuid, 'Tmdb', 64962)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081fe9ca-8515-1254-b4c1-178919dd1ea5'::uuid, 'TmdbCollection', 64962)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081fe9ca-8515-1254-b4c1-178919dd1ea5'::uuid, 'trakt', 75763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081fe9ca-8515-1254-b4c1-178919dd1ea5'::uuid, 'Tvdb', 2106511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38552 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081fe9ca-8515-1254-b4c1-178919dd1ea5'::uuid, 'TvMaze', 4557)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38553 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('081fe9ca-8515-1254-b4c1-178919dd1ea5'::uuid, 'TvRage', 1064920066)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38554 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '081fe9ca-8515-1254-b4c1-178919dd1ea5'::uuid;

-- Query #38555 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '081fe9ca-8515-1254-b4c1-178919dd1ea5'::uuid;

-- Query #38556 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['081fe9ca-8515-1254-b4c1-178919dd1ea5'::uuid]);

-- Query #38557 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '081fe9ca-8515-1254-b4c1-178919dd1ea5'::uuid;

-- Query #38558 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38559 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18032a62-8fc3-7c14-3e93-8df8ba9e05f3'::uuid;

-- Query #38560 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['18032a62-8fc3-7c14-3e93-8df8ba9e05f3'::uuid]);

-- Query #38561 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '18032a62-8fc3-7c14-3e93-8df8ba9e05f3'::uuid;

-- Query #38562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18032a62-8fc3-7c14-3e93-8df8ba9e05f3'::uuid, 'Imdb', 'tt1523089')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38563 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18032a62-8fc3-7c14-3e93-8df8ba9e05f3'::uuid, 'Tmdb', 64969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18032a62-8fc3-7c14-3e93-8df8ba9e05f3'::uuid, 'TmdbCollection', 64969)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38565 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18032a62-8fc3-7c14-3e93-8df8ba9e05f3'::uuid, 'trakt', 75744)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18032a62-8fc3-7c14-3e93-8df8ba9e05f3'::uuid, 'Tvdb', 1084211)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38567 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18032a62-8fc3-7c14-3e93-8df8ba9e05f3'::uuid, 'TvMaze', 4518)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38568 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18032a62-8fc3-7c14-3e93-8df8ba9e05f3'::uuid;

-- Query #38569 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '18032a62-8fc3-7c14-3e93-8df8ba9e05f3'::uuid;

-- Query #38570 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['18032a62-8fc3-7c14-3e93-8df8ba9e05f3'::uuid]);

-- Query #38571 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '18032a62-8fc3-7c14-3e93-8df8ba9e05f3'::uuid;

-- Query #38572 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38573 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '325d9bd3-73b6-27c9-5ba1-f0f2446f050b'::uuid;

-- Query #38574 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['325d9bd3-73b6-27c9-5ba1-f0f2446f050b'::uuid]);

-- Query #38575 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '325d9bd3-73b6-27c9-5ba1-f0f2446f050b'::uuid;

-- Query #38576 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('325d9bd3-73b6-27c9-5ba1-f0f2446f050b'::uuid, 'Imdb', 'tt1580159')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('325d9bd3-73b6-27c9-5ba1-f0f2446f050b'::uuid, 'Tmdb', 64973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38578 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('325d9bd3-73b6-27c9-5ba1-f0f2446f050b'::uuid, 'TmdbCollection', 64973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('325d9bd3-73b6-27c9-5ba1-f0f2446f050b'::uuid, 'trakt', 75754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38580 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('325d9bd3-73b6-27c9-5ba1-f0f2446f050b'::uuid, 'Tvdb', 1559121)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38581 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('325d9bd3-73b6-27c9-5ba1-f0f2446f050b'::uuid, 'TvMaze', 4539)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38582 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '325d9bd3-73b6-27c9-5ba1-f0f2446f050b'::uuid;

-- Query #38583 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '325d9bd3-73b6-27c9-5ba1-f0f2446f050b'::uuid;

-- Query #38584 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['325d9bd3-73b6-27c9-5ba1-f0f2446f050b'::uuid]);

-- Query #38585 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '325d9bd3-73b6-27c9-5ba1-f0f2446f050b'::uuid;

-- Query #38586 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf6744e3-061f-2fc0-cfbc-be190f1d1cc2'::uuid;

-- Query #38588 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf6744e3-061f-2fc0-cfbc-be190f1d1cc2'::uuid]);

-- Query #38589 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cf6744e3-061f-2fc0-cfbc-be190f1d1cc2'::uuid;

-- Query #38590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf6744e3-061f-2fc0-cfbc-be190f1d1cc2'::uuid, 'Imdb', 'tt1583904')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf6744e3-061f-2fc0-cfbc-be190f1d1cc2'::uuid, 'Tmdb', 64957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38592 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf6744e3-061f-2fc0-cfbc-be190f1d1cc2'::uuid, 'TmdbCollection', 64957)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38593 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf6744e3-061f-2fc0-cfbc-be190f1d1cc2'::uuid, 'trakt', 75755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf6744e3-061f-2fc0-cfbc-be190f1d1cc2'::uuid, 'Tvdb', 1635111)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cf6744e3-061f-2fc0-cfbc-be190f1d1cc2'::uuid, 'TvMaze', 4541)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38596 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf6744e3-061f-2fc0-cfbc-be190f1d1cc2'::uuid;

-- Query #38597 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cf6744e3-061f-2fc0-cfbc-be190f1d1cc2'::uuid;

-- Query #38598 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cf6744e3-061f-2fc0-cfbc-be190f1d1cc2'::uuid]);

-- Query #38599 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cf6744e3-061f-2fc0-cfbc-be190f1d1cc2'::uuid;

-- Query #38600 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38601 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e4ed090-9f05-1c07-2f90-1d3332a9c883'::uuid;

-- Query #38602 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e4ed090-9f05-1c07-2f90-1d3332a9c883'::uuid]);

-- Query #38603 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2e4ed090-9f05-1c07-2f90-1d3332a9c883'::uuid;

-- Query #38604 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e4ed090-9f05-1c07-2f90-1d3332a9c883'::uuid, 'Imdb', 'tt1523088')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38605 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e4ed090-9f05-1c07-2f90-1d3332a9c883'::uuid, 'Tmdb', 64968)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38606 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e4ed090-9f05-1c07-2f90-1d3332a9c883'::uuid, 'TmdbCollection', 64968)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38607 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e4ed090-9f05-1c07-2f90-1d3332a9c883'::uuid, 'trakt', 75746)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38608 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e4ed090-9f05-1c07-2f90-1d3332a9c883'::uuid, 'Tvdb', 1199791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38609 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2e4ed090-9f05-1c07-2f90-1d3332a9c883'::uuid, 'TvMaze', 4522)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38610 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e4ed090-9f05-1c07-2f90-1d3332a9c883'::uuid;

-- Query #38611 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2e4ed090-9f05-1c07-2f90-1d3332a9c883'::uuid;

-- Query #38612 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2e4ed090-9f05-1c07-2f90-1d3332a9c883'::uuid]);

-- Query #38613 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2e4ed090-9f05-1c07-2f90-1d3332a9c883'::uuid;

-- Query #38614 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38615 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f4a4bc94-ccd9-8d97-d1b4-9a667c62afea'::uuid;

-- Query #38616 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4a4bc94-ccd9-8d97-d1b4-9a667c62afea'::uuid]);

-- Query #38617 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f4a4bc94-ccd9-8d97-d1b4-9a667c62afea'::uuid;

-- Query #38618 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4a4bc94-ccd9-8d97-d1b4-9a667c62afea'::uuid, 'Imdb', 'tt1615677')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38619 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4a4bc94-ccd9-8d97-d1b4-9a667c62afea'::uuid, 'Tmdb', 64952)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38620 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4a4bc94-ccd9-8d97-d1b4-9a667c62afea'::uuid, 'TmdbCollection', 64952)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38621 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4a4bc94-ccd9-8d97-d1b4-9a667c62afea'::uuid, 'trakt', 75758)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4a4bc94-ccd9-8d97-d1b4-9a667c62afea'::uuid, 'Tvdb', 1846441)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4a4bc94-ccd9-8d97-d1b4-9a667c62afea'::uuid, 'TvMaze', 4546)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4a4bc94-ccd9-8d97-d1b4-9a667c62afea'::uuid, 'TvRage', 1064900454)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38625 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f4a4bc94-ccd9-8d97-d1b4-9a667c62afea'::uuid;

-- Query #38626 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f4a4bc94-ccd9-8d97-d1b4-9a667c62afea'::uuid;

-- Query #38627 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f4a4bc94-ccd9-8d97-d1b4-9a667c62afea'::uuid]);

-- Query #38628 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f4a4bc94-ccd9-8d97-d1b4-9a667c62afea'::uuid;

-- Query #38629 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38630 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0300aead-aefc-1845-f205-cf9539e63aba'::uuid;

-- Query #38631 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0300aead-aefc-1845-f205-cf9539e63aba'::uuid]);

-- Query #38632 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0300aead-aefc-1845-f205-cf9539e63aba'::uuid;

-- Query #38633 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0300aead-aefc-1845-f205-cf9539e63aba'::uuid, 'Imdb', 'tt1596476')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0300aead-aefc-1845-f205-cf9539e63aba'::uuid, 'Tmdb', 64960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38635 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0300aead-aefc-1845-f205-cf9539e63aba'::uuid, 'TmdbCollection', 64960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38636 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0300aead-aefc-1845-f205-cf9539e63aba'::uuid, 'trakt', 75757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0300aead-aefc-1845-f205-cf9539e63aba'::uuid, 'Tvdb', 1793921)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38638 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0300aead-aefc-1845-f205-cf9539e63aba'::uuid, 'TvMaze', 4544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0300aead-aefc-1845-f205-cf9539e63aba'::uuid, 'TvRage', 1064888728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38640 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0300aead-aefc-1845-f205-cf9539e63aba'::uuid;

-- Query #38641 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0300aead-aefc-1845-f205-cf9539e63aba'::uuid;

-- Query #38642 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0300aead-aefc-1845-f205-cf9539e63aba'::uuid]);

-- Query #38643 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0300aead-aefc-1845-f205-cf9539e63aba'::uuid;

-- Query #38644 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38645 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cd38823c-fb93-faff-3220-dd458febcbca'::uuid;

-- Query #38646 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cd38823c-fb93-faff-3220-dd458febcbca'::uuid]);

-- Query #38647 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cd38823c-fb93-faff-3220-dd458febcbca'::uuid;

-- Query #38648 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd38823c-fb93-faff-3220-dd458febcbca'::uuid, 'Imdb', 'tt1536241')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38649 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd38823c-fb93-faff-3220-dd458febcbca'::uuid, 'Tmdb', 64958)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38650 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd38823c-fb93-faff-3220-dd458febcbca'::uuid, 'TmdbCollection', 64958)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38651 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd38823c-fb93-faff-3220-dd458febcbca'::uuid, 'trakt', 75750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38652 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd38823c-fb93-faff-3220-dd458febcbca'::uuid, 'Tvdb', 1333741)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38653 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd38823c-fb93-faff-3220-dd458febcbca'::uuid, 'TvMaze', 4530)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38654 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cd38823c-fb93-faff-3220-dd458febcbca'::uuid;

-- Query #38655 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cd38823c-fb93-faff-3220-dd458febcbca'::uuid;

-- Query #38656 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cd38823c-fb93-faff-3220-dd458febcbca'::uuid]);

-- Query #38657 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cd38823c-fb93-faff-3220-dd458febcbca'::uuid;

-- Query #38658 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebf071d7-7abd-9685-804f-2de265d8fb2c'::uuid;

-- Query #38660 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ebf071d7-7abd-9685-804f-2de265d8fb2c'::uuid]);

-- Query #38661 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ebf071d7-7abd-9685-804f-2de265d8fb2c'::uuid;

-- Query #38662 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf071d7-7abd-9685-804f-2de265d8fb2c'::uuid, 'Imdb', 'tt1536765')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38663 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf071d7-7abd-9685-804f-2de265d8fb2c'::uuid, 'Tmdb', 64971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38664 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf071d7-7abd-9685-804f-2de265d8fb2c'::uuid, 'TmdbCollection', 64971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38665 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf071d7-7abd-9685-804f-2de265d8fb2c'::uuid, 'trakt', 75751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38666 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf071d7-7abd-9685-804f-2de265d8fb2c'::uuid, 'Tvdb', 1333751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38667 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebf071d7-7abd-9685-804f-2de265d8fb2c'::uuid, 'TvMaze', 4532)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38668 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebf071d7-7abd-9685-804f-2de265d8fb2c'::uuid;

-- Query #38669 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ebf071d7-7abd-9685-804f-2de265d8fb2c'::uuid;

-- Query #38670 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ebf071d7-7abd-9685-804f-2de265d8fb2c'::uuid]);

-- Query #38671 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ebf071d7-7abd-9685-804f-2de265d8fb2c'::uuid;

-- Query #38672 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38673 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '877fa26a-847c-c51c-a27c-0116db13103b'::uuid;

-- Query #38674 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['877fa26a-847c-c51c-a27c-0116db13103b'::uuid]);

-- Query #38675 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '877fa26a-847c-c51c-a27c-0116db13103b'::uuid;

-- Query #38676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877fa26a-847c-c51c-a27c-0116db13103b'::uuid, 'Imdb', 'tt1627448')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877fa26a-847c-c51c-a27c-0116db13103b'::uuid, 'Tmdb', 64990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38678 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877fa26a-847c-c51c-a27c-0116db13103b'::uuid, 'TmdbCollection', 64990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38679 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877fa26a-847c-c51c-a27c-0116db13103b'::uuid, 'trakt', 75778)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38680 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877fa26a-847c-c51c-a27c-0116db13103b'::uuid, 'Tvdb', 3409591)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38681 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('877fa26a-847c-c51c-a27c-0116db13103b'::uuid, 'TvMaze', 4586)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38682 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '877fa26a-847c-c51c-a27c-0116db13103b'::uuid;

-- Query #38683 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '877fa26a-847c-c51c-a27c-0116db13103b'::uuid;

-- Query #38684 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['877fa26a-847c-c51c-a27c-0116db13103b'::uuid]);

-- Query #38685 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '877fa26a-847c-c51c-a27c-0116db13103b'::uuid;

-- Query #38686 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38687 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd50d9d16-4821-7989-9992-a8b57e5749c4'::uuid;

-- Query #38688 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d50d9d16-4821-7989-9992-a8b57e5749c4'::uuid]);

-- Query #38689 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd50d9d16-4821-7989-9992-a8b57e5749c4'::uuid;

-- Query #38690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d50d9d16-4821-7989-9992-a8b57e5749c4'::uuid, 'Imdb', 'tt1627452')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d50d9d16-4821-7989-9992-a8b57e5749c4'::uuid, 'Tmdb', 64994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38692 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d50d9d16-4821-7989-9992-a8b57e5749c4'::uuid, 'TmdbCollection', 64994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38693 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d50d9d16-4821-7989-9992-a8b57e5749c4'::uuid, 'trakt', 75782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38694 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d50d9d16-4821-7989-9992-a8b57e5749c4'::uuid, 'Tvdb', 3852441)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38695 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d50d9d16-4821-7989-9992-a8b57e5749c4'::uuid, 'TvMaze', 4595)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38696 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd50d9d16-4821-7989-9992-a8b57e5749c4'::uuid;

-- Query #38697 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd50d9d16-4821-7989-9992-a8b57e5749c4'::uuid;

-- Query #38698 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d50d9d16-4821-7989-9992-a8b57e5749c4'::uuid]);

-- Query #38699 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd50d9d16-4821-7989-9992-a8b57e5749c4'::uuid;

-- Query #38700 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38701 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7c1959ae-6964-bf4f-da48-d39741c6b00e'::uuid;

-- Query #38702 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7c1959ae-6964-bf4f-da48-d39741c6b00e'::uuid]);

-- Query #38703 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7c1959ae-6964-bf4f-da48-d39741c6b00e'::uuid;

-- Query #38704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c1959ae-6964-bf4f-da48-d39741c6b00e'::uuid, 'Imdb', 'tt1627458')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c1959ae-6964-bf4f-da48-d39741c6b00e'::uuid, 'Tmdb', 64981)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c1959ae-6964-bf4f-da48-d39741c6b00e'::uuid, 'TmdbCollection', 64981)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38707 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c1959ae-6964-bf4f-da48-d39741c6b00e'::uuid, 'trakt', 75771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38708 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c1959ae-6964-bf4f-da48-d39741c6b00e'::uuid, 'Tvdb', 2969521)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38709 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c1959ae-6964-bf4f-da48-d39741c6b00e'::uuid, 'TvMaze', 4573)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38710 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c1959ae-6964-bf4f-da48-d39741c6b00e'::uuid, 'TvRage', 1064986469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38711 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7c1959ae-6964-bf4f-da48-d39741c6b00e'::uuid;

-- Query #38712 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7c1959ae-6964-bf4f-da48-d39741c6b00e'::uuid;

-- Query #38713 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7c1959ae-6964-bf4f-da48-d39741c6b00e'::uuid]);

-- Query #38714 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7c1959ae-6964-bf4f-da48-d39741c6b00e'::uuid;

-- Query #38715 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38716 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #38717 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7956ad34-05f9-9788-b809-cce0bb0c6e70'::uuid;

-- Query #38718 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7956ad34-05f9-9788-b809-cce0bb0c6e70'::uuid]);

-- Query #38719 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7956ad34-05f9-9788-b809-cce0bb0c6e70'::uuid;

-- Query #38720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7956ad34-05f9-9788-b809-cce0bb0c6e70'::uuid, 'Imdb', 'tt1779206')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7956ad34-05f9-9788-b809-cce0bb0c6e70'::uuid, 'Tmdb', 64985)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7956ad34-05f9-9788-b809-cce0bb0c6e70'::uuid, 'TmdbCollection', 64985)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7956ad34-05f9-9788-b809-cce0bb0c6e70'::uuid, 'trakt', 75774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7956ad34-05f9-9788-b809-cce0bb0c6e70'::uuid, 'Tvdb', 2969511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38725 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7956ad34-05f9-9788-b809-cce0bb0c6e70'::uuid, 'TvMaze', 4579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38726 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7956ad34-05f9-9788-b809-cce0bb0c6e70'::uuid;

-- Query #38727 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7956ad34-05f9-9788-b809-cce0bb0c6e70'::uuid;

-- Query #38728 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7956ad34-05f9-9788-b809-cce0bb0c6e70'::uuid]);

-- Query #38729 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7956ad34-05f9-9788-b809-cce0bb0c6e70'::uuid;

-- Query #38730 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38731 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8853ee33-2606-4ac1-a768-5b9d2650579f'::uuid;

-- Query #38732 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8853ee33-2606-4ac1-a768-5b9d2650579f'::uuid]);

-- Query #38733 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8853ee33-2606-4ac1-a768-5b9d2650579f'::uuid;

-- Query #38734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8853ee33-2606-4ac1-a768-5b9d2650579f'::uuid, 'Imdb', 'tt1627443')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8853ee33-2606-4ac1-a768-5b9d2650579f'::uuid, 'Tmdb', 64979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8853ee33-2606-4ac1-a768-5b9d2650579f'::uuid, 'TmdbCollection', 64979)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8853ee33-2606-4ac1-a768-5b9d2650579f'::uuid, 'trakt', 75767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8853ee33-2606-4ac1-a768-5b9d2650579f'::uuid, 'Tvdb', 2888511)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8853ee33-2606-4ac1-a768-5b9d2650579f'::uuid, 'TvMaze', 4564)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38740 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8853ee33-2606-4ac1-a768-5b9d2650579f'::uuid, 'TvRage', 1064975830)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38741 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8853ee33-2606-4ac1-a768-5b9d2650579f'::uuid;

-- Query #38742 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8853ee33-2606-4ac1-a768-5b9d2650579f'::uuid;

-- Query #38743 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8853ee33-2606-4ac1-a768-5b9d2650579f'::uuid]);

-- Query #38744 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8853ee33-2606-4ac1-a768-5b9d2650579f'::uuid;

-- Query #38745 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38746 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d674eaa-6301-c183-96d6-6e8f316b23ff'::uuid;

-- Query #38747 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d674eaa-6301-c183-96d6-6e8f316b23ff'::uuid]);

-- Query #38748 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4d674eaa-6301-c183-96d6-6e8f316b23ff'::uuid;

-- Query #38749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d674eaa-6301-c183-96d6-6e8f316b23ff'::uuid, 'Imdb', 'tt1627457')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d674eaa-6301-c183-96d6-6e8f316b23ff'::uuid, 'Tvdb', 4078473)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d674eaa-6301-c183-96d6-6e8f316b23ff'::uuid, 'TvMaze', 4603)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38752 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d674eaa-6301-c183-96d6-6e8f316b23ff'::uuid;

-- Query #38753 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4d674eaa-6301-c183-96d6-6e8f316b23ff'::uuid;

-- Query #38754 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4d674eaa-6301-c183-96d6-6e8f316b23ff'::uuid]);

-- Query #38755 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4d674eaa-6301-c183-96d6-6e8f316b23ff'::uuid;

-- Query #38756 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd3d6d574-682f-e503-d2b6-fd976b76fe9c'::uuid;

-- Query #38758 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3d6d574-682f-e503-d2b6-fd976b76fe9c'::uuid]);

-- Query #38759 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd3d6d574-682f-e503-d2b6-fd976b76fe9c'::uuid;

-- Query #38760 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3d6d574-682f-e503-d2b6-fd976b76fe9c'::uuid, 'Imdb', 'tt1627464')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38761 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3d6d574-682f-e503-d2b6-fd976b76fe9c'::uuid, 'Tmdb', 64982)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38762 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3d6d574-682f-e503-d2b6-fd976b76fe9c'::uuid, 'TmdbCollection', 64982)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38763 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3d6d574-682f-e503-d2b6-fd976b76fe9c'::uuid, 'trakt', 75770)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38764 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3d6d574-682f-e503-d2b6-fd976b76fe9c'::uuid, 'Tvdb', 2922931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3d6d574-682f-e503-d2b6-fd976b76fe9c'::uuid, 'TvMaze', 4570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d3d6d574-682f-e503-d2b6-fd976b76fe9c'::uuid, 'TvRage', 1064984396)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38767 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd3d6d574-682f-e503-d2b6-fd976b76fe9c'::uuid;

-- Query #38768 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd3d6d574-682f-e503-d2b6-fd976b76fe9c'::uuid;

-- Query #38769 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d3d6d574-682f-e503-d2b6-fd976b76fe9c'::uuid]);

-- Query #38770 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd3d6d574-682f-e503-d2b6-fd976b76fe9c'::uuid;

-- Query #38771 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38772 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1c688e1-dbf2-77a8-5287-956a94c12302'::uuid;

-- Query #38773 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a1c688e1-dbf2-77a8-5287-956a94c12302'::uuid]);

-- Query #38774 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a1c688e1-dbf2-77a8-5287-956a94c12302'::uuid;

-- Query #38775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1c688e1-dbf2-77a8-5287-956a94c12302'::uuid, 'Imdb', 'tt1627459')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1c688e1-dbf2-77a8-5287-956a94c12302'::uuid, 'Tmdb', 64978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1c688e1-dbf2-77a8-5287-956a94c12302'::uuid, 'TmdbCollection', 64978)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1c688e1-dbf2-77a8-5287-956a94c12302'::uuid, 'trakt', 75766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1c688e1-dbf2-77a8-5287-956a94c12302'::uuid, 'Tvdb', 2832631)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1c688e1-dbf2-77a8-5287-956a94c12302'::uuid, 'TvMaze', 4563)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1c688e1-dbf2-77a8-5287-956a94c12302'::uuid, 'TvRage', 1064975829)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38782 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1c688e1-dbf2-77a8-5287-956a94c12302'::uuid;

-- Query #38783 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a1c688e1-dbf2-77a8-5287-956a94c12302'::uuid;

-- Query #38784 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a1c688e1-dbf2-77a8-5287-956a94c12302'::uuid]);

-- Query #38785 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a1c688e1-dbf2-77a8-5287-956a94c12302'::uuid;

-- Query #38786 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38787 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21c1c755-a6c5-6cfe-07f9-5000bbb95ab9'::uuid;

-- Query #38788 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['21c1c755-a6c5-6cfe-07f9-5000bbb95ab9'::uuid]);

-- Query #38789 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '21c1c755-a6c5-6cfe-07f9-5000bbb95ab9'::uuid;

-- Query #38790 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21c1c755-a6c5-6cfe-07f9-5000bbb95ab9'::uuid, 'Imdb', 'tt1627445')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38791 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21c1c755-a6c5-6cfe-07f9-5000bbb95ab9'::uuid, 'Tmdb', 64984)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21c1c755-a6c5-6cfe-07f9-5000bbb95ab9'::uuid, 'TmdbCollection', 64984)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38793 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21c1c755-a6c5-6cfe-07f9-5000bbb95ab9'::uuid, 'trakt', 75772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38794 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21c1c755-a6c5-6cfe-07f9-5000bbb95ab9'::uuid, 'Tvdb', 3053051)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38795 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21c1c755-a6c5-6cfe-07f9-5000bbb95ab9'::uuid, 'TvMaze', 4575)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38796 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21c1c755-a6c5-6cfe-07f9-5000bbb95ab9'::uuid;

-- Query #38797 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '21c1c755-a6c5-6cfe-07f9-5000bbb95ab9'::uuid;

-- Query #38798 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['21c1c755-a6c5-6cfe-07f9-5000bbb95ab9'::uuid]);

-- Query #38799 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '21c1c755-a6c5-6cfe-07f9-5000bbb95ab9'::uuid;

-- Query #38800 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38801 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d5a0d6f-591f-0637-c72c-2d11342f3c00'::uuid;

-- Query #38802 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d5a0d6f-591f-0637-c72c-2d11342f3c00'::uuid]);

-- Query #38803 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4d5a0d6f-591f-0637-c72c-2d11342f3c00'::uuid;

-- Query #38804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d5a0d6f-591f-0637-c72c-2d11342f3c00'::uuid, 'Imdb', 'tt1627456')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38805 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d5a0d6f-591f-0637-c72c-2d11342f3c00'::uuid, 'Tvdb', 4078472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38806 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4d5a0d6f-591f-0637-c72c-2d11342f3c00'::uuid, 'TvMaze', 4601)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38807 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4d5a0d6f-591f-0637-c72c-2d11342f3c00'::uuid;

-- Query #38808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4d5a0d6f-591f-0637-c72c-2d11342f3c00'::uuid;

-- Query #38809 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4d5a0d6f-591f-0637-c72c-2d11342f3c00'::uuid]);

-- Query #38810 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4d5a0d6f-591f-0637-c72c-2d11342f3c00'::uuid;

-- Query #38811 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38812 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96d068e3-2796-905c-2ebf-be1aa17568b8'::uuid;

-- Query #38813 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['96d068e3-2796-905c-2ebf-be1aa17568b8'::uuid]);

-- Query #38814 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '96d068e3-2796-905c-2ebf-be1aa17568b8'::uuid;

-- Query #38815 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96d068e3-2796-905c-2ebf-be1aa17568b8'::uuid, 'Imdb', 'tt1627462')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38816 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96d068e3-2796-905c-2ebf-be1aa17568b8'::uuid, 'Tmdb', 64983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38817 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96d068e3-2796-905c-2ebf-be1aa17568b8'::uuid, 'TmdbCollection', 64983)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38818 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96d068e3-2796-905c-2ebf-be1aa17568b8'::uuid, 'trakt', 75773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38819 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96d068e3-2796-905c-2ebf-be1aa17568b8'::uuid, 'Tvdb', 3053061)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96d068e3-2796-905c-2ebf-be1aa17568b8'::uuid, 'TvMaze', 4577)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96d068e3-2796-905c-2ebf-be1aa17568b8'::uuid, 'TvRage', 1064990966)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38822 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96d068e3-2796-905c-2ebf-be1aa17568b8'::uuid;

-- Query #38823 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '96d068e3-2796-905c-2ebf-be1aa17568b8'::uuid;

-- Query #38824 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['96d068e3-2796-905c-2ebf-be1aa17568b8'::uuid]);

-- Query #38825 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '96d068e3-2796-905c-2ebf-be1aa17568b8'::uuid;

-- Query #38826 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38827 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'daf62fc8-b8e4-f3ae-727d-afe89905c45d'::uuid;

-- Query #38828 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['daf62fc8-b8e4-f3ae-727d-afe89905c45d'::uuid]);

-- Query #38829 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'daf62fc8-b8e4-f3ae-727d-afe89905c45d'::uuid;

-- Query #38830 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('daf62fc8-b8e4-f3ae-727d-afe89905c45d'::uuid, 'Imdb', 'tt1627453')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38831 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('daf62fc8-b8e4-f3ae-727d-afe89905c45d'::uuid, 'Tmdb', 64996)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('daf62fc8-b8e4-f3ae-727d-afe89905c45d'::uuid, 'TmdbCollection', 64996)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('daf62fc8-b8e4-f3ae-727d-afe89905c45d'::uuid, 'trakt', 75783)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('daf62fc8-b8e4-f3ae-727d-afe89905c45d'::uuid, 'Tvdb', 3852451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('daf62fc8-b8e4-f3ae-727d-afe89905c45d'::uuid, 'TvMaze', 4597)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'daf62fc8-b8e4-f3ae-727d-afe89905c45d'::uuid;

-- Query #38837 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'daf62fc8-b8e4-f3ae-727d-afe89905c45d'::uuid;

-- Query #38838 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['daf62fc8-b8e4-f3ae-727d-afe89905c45d'::uuid]);

-- Query #38839 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'daf62fc8-b8e4-f3ae-727d-afe89905c45d'::uuid;

-- Query #38840 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38841 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f871fa1c-5314-fc54-d9ec-83713dc9c449'::uuid;

-- Query #38842 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f871fa1c-5314-fc54-d9ec-83713dc9c449'::uuid]);

-- Query #38843 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f871fa1c-5314-fc54-d9ec-83713dc9c449'::uuid;

-- Query #38844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f871fa1c-5314-fc54-d9ec-83713dc9c449'::uuid, 'Imdb', 'tt1627460')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38845 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f871fa1c-5314-fc54-d9ec-83713dc9c449'::uuid, 'Tmdb', 64976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f871fa1c-5314-fc54-d9ec-83713dc9c449'::uuid, 'TmdbCollection', 64976)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38847 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f871fa1c-5314-fc54-d9ec-83713dc9c449'::uuid, 'trakt', 75765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38848 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f871fa1c-5314-fc54-d9ec-83713dc9c449'::uuid, 'Tvdb', 2452161)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38849 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f871fa1c-5314-fc54-d9ec-83713dc9c449'::uuid, 'TvMaze', 4561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f871fa1c-5314-fc54-d9ec-83713dc9c449'::uuid, 'TvRage', 1064957278)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38851 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f871fa1c-5314-fc54-d9ec-83713dc9c449'::uuid;

-- Query #38852 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f871fa1c-5314-fc54-d9ec-83713dc9c449'::uuid;

-- Query #38853 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f871fa1c-5314-fc54-d9ec-83713dc9c449'::uuid]);

-- Query #38854 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f871fa1c-5314-fc54-d9ec-83713dc9c449'::uuid;

-- Query #38855 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38856 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b217f28d-78ec-408a-063b-b63f02bd9e86'::uuid;

-- Query #38857 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b217f28d-78ec-408a-063b-b63f02bd9e86'::uuid]);

-- Query #38858 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b217f28d-78ec-408a-063b-b63f02bd9e86'::uuid;

-- Query #38859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b217f28d-78ec-408a-063b-b63f02bd9e86'::uuid, 'Imdb', 'tt1900348')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b217f28d-78ec-408a-063b-b63f02bd9e86'::uuid, 'Tvdb', 4078475)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b217f28d-78ec-408a-063b-b63f02bd9e86'::uuid, 'TvMaze', 4606)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38862 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b217f28d-78ec-408a-063b-b63f02bd9e86'::uuid;

-- Query #38863 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b217f28d-78ec-408a-063b-b63f02bd9e86'::uuid;

-- Query #38864 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b217f28d-78ec-408a-063b-b63f02bd9e86'::uuid]);

-- Query #38865 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b217f28d-78ec-408a-063b-b63f02bd9e86'::uuid;

-- Query #38866 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38867 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bc2e0835-25ac-df16-6eed-d6fe57438f0e'::uuid;

-- Query #38868 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bc2e0835-25ac-df16-6eed-d6fe57438f0e'::uuid]);

-- Query #38869 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bc2e0835-25ac-df16-6eed-d6fe57438f0e'::uuid;

-- Query #38870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc2e0835-25ac-df16-6eed-d6fe57438f0e'::uuid, 'Imdb', 'tt1627444')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38871 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc2e0835-25ac-df16-6eed-d6fe57438f0e'::uuid, 'Tmdb', 64986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc2e0835-25ac-df16-6eed-d6fe57438f0e'::uuid, 'TmdbCollection', 64986)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc2e0835-25ac-df16-6eed-d6fe57438f0e'::uuid, 'trakt', 75776)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38874 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc2e0835-25ac-df16-6eed-d6fe57438f0e'::uuid, 'Tvdb', 3186451)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38875 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bc2e0835-25ac-df16-6eed-d6fe57438f0e'::uuid, 'TvMaze', 4582)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38876 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bc2e0835-25ac-df16-6eed-d6fe57438f0e'::uuid;

-- Query #38877 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bc2e0835-25ac-df16-6eed-d6fe57438f0e'::uuid;

-- Query #38878 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bc2e0835-25ac-df16-6eed-d6fe57438f0e'::uuid]);

-- Query #38879 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bc2e0835-25ac-df16-6eed-d6fe57438f0e'::uuid;

-- Query #38880 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38881 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af18967a-d2ab-4c7b-114b-8fd36d28f91a'::uuid;

-- Query #38882 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af18967a-d2ab-4c7b-114b-8fd36d28f91a'::uuid]);

-- Query #38883 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'af18967a-d2ab-4c7b-114b-8fd36d28f91a'::uuid;

-- Query #38884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af18967a-d2ab-4c7b-114b-8fd36d28f91a'::uuid, 'Imdb', 'tt1627449')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af18967a-d2ab-4c7b-114b-8fd36d28f91a'::uuid, 'Tmdb', 64989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38886 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af18967a-d2ab-4c7b-114b-8fd36d28f91a'::uuid, 'TmdbCollection', 64989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38887 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af18967a-d2ab-4c7b-114b-8fd36d28f91a'::uuid, 'trakt', 75779)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af18967a-d2ab-4c7b-114b-8fd36d28f91a'::uuid, 'Tvdb', 3609661)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('af18967a-d2ab-4c7b-114b-8fd36d28f91a'::uuid, 'TvMaze', 4588)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38890 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af18967a-d2ab-4c7b-114b-8fd36d28f91a'::uuid;

-- Query #38891 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'af18967a-d2ab-4c7b-114b-8fd36d28f91a'::uuid;

-- Query #38892 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['af18967a-d2ab-4c7b-114b-8fd36d28f91a'::uuid]);

-- Query #38893 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'af18967a-d2ab-4c7b-114b-8fd36d28f91a'::uuid;

-- Query #38894 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38895 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '972181db-4d4d-4acd-d998-919326b32943'::uuid;

-- Query #38896 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['972181db-4d4d-4acd-d998-919326b32943'::uuid]);

-- Query #38897 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '972181db-4d4d-4acd-d998-919326b32943'::uuid;

-- Query #38898 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('972181db-4d4d-4acd-d998-919326b32943'::uuid, 'Imdb', 'tt1836487')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38899 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('972181db-4d4d-4acd-d998-919326b32943'::uuid, 'Tmdb', 64992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38900 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('972181db-4d4d-4acd-d998-919326b32943'::uuid, 'TmdbCollection', 64992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38901 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('972181db-4d4d-4acd-d998-919326b32943'::uuid, 'trakt', 75780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('972181db-4d4d-4acd-d998-919326b32943'::uuid, 'Tvdb', 3609671)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('972181db-4d4d-4acd-d998-919326b32943'::uuid, 'TvMaze', 4591)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38904 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '972181db-4d4d-4acd-d998-919326b32943'::uuid;

-- Query #38905 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '972181db-4d4d-4acd-d998-919326b32943'::uuid;

-- Query #38906 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['972181db-4d4d-4acd-d998-919326b32943'::uuid]);

-- Query #38907 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '972181db-4d4d-4acd-d998-919326b32943'::uuid;

-- Query #38908 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38909 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '864040fc-f2ac-ff1f-ad09-a3f673c4bd6b'::uuid;

-- Query #38910 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['864040fc-f2ac-ff1f-ad09-a3f673c4bd6b'::uuid]);

-- Query #38911 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '864040fc-f2ac-ff1f-ad09-a3f673c4bd6b'::uuid;

-- Query #38912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('864040fc-f2ac-ff1f-ad09-a3f673c4bd6b'::uuid, 'Imdb', 'tt1900347')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('864040fc-f2ac-ff1f-ad09-a3f673c4bd6b'::uuid, 'Tvdb', 4078474)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('864040fc-f2ac-ff1f-ad09-a3f673c4bd6b'::uuid, 'TvMaze', 4605)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '864040fc-f2ac-ff1f-ad09-a3f673c4bd6b'::uuid;

-- Query #38916 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '864040fc-f2ac-ff1f-ad09-a3f673c4bd6b'::uuid;

-- Query #38917 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['864040fc-f2ac-ff1f-ad09-a3f673c4bd6b'::uuid]);

-- Query #38918 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '864040fc-f2ac-ff1f-ad09-a3f673c4bd6b'::uuid;

-- Query #38919 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38920 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '835a3a84-881c-f079-5a0a-e38294852a65'::uuid;

-- Query #38921 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['835a3a84-881c-f079-5a0a-e38294852a65'::uuid]);

-- Query #38922 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '835a3a84-881c-f079-5a0a-e38294852a65'::uuid;

-- Query #38923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('835a3a84-881c-f079-5a0a-e38294852a65'::uuid, 'Imdb', 'tt1627446')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('835a3a84-881c-f079-5a0a-e38294852a65'::uuid, 'Tmdb', 64987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('835a3a84-881c-f079-5a0a-e38294852a65'::uuid, 'TmdbCollection', 64987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('835a3a84-881c-f079-5a0a-e38294852a65'::uuid, 'trakt', 75775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('835a3a84-881c-f079-5a0a-e38294852a65'::uuid, 'Tvdb', 2969501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38928 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('835a3a84-881c-f079-5a0a-e38294852a65'::uuid, 'TvMaze', 4581)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '835a3a84-881c-f079-5a0a-e38294852a65'::uuid;

-- Query #38930 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '835a3a84-881c-f079-5a0a-e38294852a65'::uuid;

-- Query #38931 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['835a3a84-881c-f079-5a0a-e38294852a65'::uuid]);

-- Query #38932 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '835a3a84-881c-f079-5a0a-e38294852a65'::uuid;

-- Query #38933 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38934 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa33c7c4-2429-2873-949b-3f1a27e05ac9'::uuid;

-- Query #38935 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aa33c7c4-2429-2873-949b-3f1a27e05ac9'::uuid]);

-- Query #38936 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'aa33c7c4-2429-2873-949b-3f1a27e05ac9'::uuid;

-- Query #38937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa33c7c4-2429-2873-949b-3f1a27e05ac9'::uuid, 'Imdb', 'tt1627455')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa33c7c4-2429-2873-949b-3f1a27e05ac9'::uuid, 'Tvdb', 3852461)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38939 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aa33c7c4-2429-2873-949b-3f1a27e05ac9'::uuid, 'TvMaze', 4599)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38940 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa33c7c4-2429-2873-949b-3f1a27e05ac9'::uuid;

-- Query #38941 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'aa33c7c4-2429-2873-949b-3f1a27e05ac9'::uuid;

-- Query #38942 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['aa33c7c4-2429-2873-949b-3f1a27e05ac9'::uuid]);

-- Query #38943 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'aa33c7c4-2429-2873-949b-3f1a27e05ac9'::uuid;

-- Query #38944 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38945 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99fdb982-231e-487a-dd41-c0edf454a9c9'::uuid;

-- Query #38946 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99fdb982-231e-487a-dd41-c0edf454a9c9'::uuid]);

-- Query #38947 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '99fdb982-231e-487a-dd41-c0edf454a9c9'::uuid;

-- Query #38948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99fdb982-231e-487a-dd41-c0edf454a9c9'::uuid, 'Imdb', 'tt1627454')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99fdb982-231e-487a-dd41-c0edf454a9c9'::uuid, 'Tmdb', 64977)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38950 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99fdb982-231e-487a-dd41-c0edf454a9c9'::uuid, 'TmdbCollection', 64977)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38951 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99fdb982-231e-487a-dd41-c0edf454a9c9'::uuid, 'trakt', 75768)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38952 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99fdb982-231e-487a-dd41-c0edf454a9c9'::uuid, 'Tvdb', 2888521)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99fdb982-231e-487a-dd41-c0edf454a9c9'::uuid, 'TvMaze', 4567)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38954 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99fdb982-231e-487a-dd41-c0edf454a9c9'::uuid, 'TvRage', 1064977443)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38955 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99fdb982-231e-487a-dd41-c0edf454a9c9'::uuid;

-- Query #38956 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '99fdb982-231e-487a-dd41-c0edf454a9c9'::uuid;

-- Query #38957 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['99fdb982-231e-487a-dd41-c0edf454a9c9'::uuid]);

-- Query #38958 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '99fdb982-231e-487a-dd41-c0edf454a9c9'::uuid;

-- Query #38959 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38960 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5ec419a-eeb6-a9b4-59a7-21e5d073f7ce'::uuid;

-- Query #38961 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a5ec419a-eeb6-a9b4-59a7-21e5d073f7ce'::uuid]);

-- Query #38962 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a5ec419a-eeb6-a9b4-59a7-21e5d073f7ce'::uuid;

-- Query #38963 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5ec419a-eeb6-a9b4-59a7-21e5d073f7ce'::uuid, 'Imdb', 'tt1841231')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38964 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5ec419a-eeb6-a9b4-59a7-21e5d073f7ce'::uuid, 'Tmdb', 64991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5ec419a-eeb6-a9b4-59a7-21e5d073f7ce'::uuid, 'TmdbCollection', 64991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5ec419a-eeb6-a9b4-59a7-21e5d073f7ce'::uuid, 'trakt', 75781)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5ec419a-eeb6-a9b4-59a7-21e5d073f7ce'::uuid, 'Tvdb', 3609681)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5ec419a-eeb6-a9b4-59a7-21e5d073f7ce'::uuid, 'TvMaze', 4593)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38969 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5ec419a-eeb6-a9b4-59a7-21e5d073f7ce'::uuid;

-- Query #38970 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a5ec419a-eeb6-a9b4-59a7-21e5d073f7ce'::uuid;

-- Query #38971 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a5ec419a-eeb6-a9b4-59a7-21e5d073f7ce'::uuid]);

-- Query #38972 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a5ec419a-eeb6-a9b4-59a7-21e5d073f7ce'::uuid;

-- Query #38973 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38974 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df4645dc-0917-63e7-5826-f5f9d0b91268'::uuid;

-- Query #38975 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df4645dc-0917-63e7-5826-f5f9d0b91268'::uuid]);

-- Query #38976 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'df4645dc-0917-63e7-5826-f5f9d0b91268'::uuid;

-- Query #38977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df4645dc-0917-63e7-5826-f5f9d0b91268'::uuid, 'Imdb', 'tt1627461')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df4645dc-0917-63e7-5826-f5f9d0b91268'::uuid, 'Tmdb', 64980)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df4645dc-0917-63e7-5826-f5f9d0b91268'::uuid, 'TmdbCollection', 64980)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df4645dc-0917-63e7-5826-f5f9d0b91268'::uuid, 'trakt', 75769)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df4645dc-0917-63e7-5826-f5f9d0b91268'::uuid, 'Tvdb', 2923031)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df4645dc-0917-63e7-5826-f5f9d0b91268'::uuid, 'TvMaze', 4568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('df4645dc-0917-63e7-5826-f5f9d0b91268'::uuid, 'TvRage', 1064977444)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38984 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df4645dc-0917-63e7-5826-f5f9d0b91268'::uuid;

-- Query #38985 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'df4645dc-0917-63e7-5826-f5f9d0b91268'::uuid;

-- Query #38986 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['df4645dc-0917-63e7-5826-f5f9d0b91268'::uuid]);

-- Query #38987 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'df4645dc-0917-63e7-5826-f5f9d0b91268'::uuid;

-- Query #38988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['837aeabc-3a66-fff9-4812-79fca548bb25'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #38989 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd79ae665-a301-a3ca-f53d-536e7f1f7631'::uuid;

-- Query #38990 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d79ae665-a301-a3ca-f53d-536e7f1f7631'::uuid]);

-- Query #38991 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd79ae665-a301-a3ca-f53d-536e7f1f7631'::uuid;

-- Query #38992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d79ae665-a301-a3ca-f53d-536e7f1f7631'::uuid, 'Imdb', 'tt2089249')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d79ae665-a301-a3ca-f53d-536e7f1f7631'::uuid, 'Tvdb', 4193566)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d79ae665-a301-a3ca-f53d-536e7f1f7631'::uuid, 'TvMaze', 4622)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #38995 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd79ae665-a301-a3ca-f53d-536e7f1f7631'::uuid;

-- Query #38996 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd79ae665-a301-a3ca-f53d-536e7f1f7631'::uuid;

-- Query #38997 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d79ae665-a301-a3ca-f53d-536e7f1f7631'::uuid]);

-- Query #38998 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd79ae665-a301-a3ca-f53d-536e7f1f7631'::uuid;

-- Query #38999 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39000 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '65a41653-0554-4311-6b50-344ada12070f'::uuid;

-- Query #39001 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65a41653-0554-4311-6b50-344ada12070f'::uuid]);

-- Query #39002 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '65a41653-0554-4311-6b50-344ada12070f'::uuid;

-- Query #39003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65a41653-0554-4311-6b50-344ada12070f'::uuid, 'Imdb', 'tt2209159')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65a41653-0554-4311-6b50-344ada12070f'::uuid, 'Tvdb', 4250534)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39005 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('65a41653-0554-4311-6b50-344ada12070f'::uuid, 'TvMaze', 4637)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39006 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '65a41653-0554-4311-6b50-344ada12070f'::uuid;

-- Query #39007 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '65a41653-0554-4311-6b50-344ada12070f'::uuid;

-- Query #39008 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['65a41653-0554-4311-6b50-344ada12070f'::uuid]);

-- Query #39009 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '65a41653-0554-4311-6b50-344ada12070f'::uuid;

-- Query #39010 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39011 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ee9dc7fd-e1d7-9d67-0793-9906e695e9cd'::uuid;

-- Query #39012 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ee9dc7fd-e1d7-9d67-0793-9906e695e9cd'::uuid]);

-- Query #39013 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ee9dc7fd-e1d7-9d67-0793-9906e695e9cd'::uuid;

-- Query #39014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee9dc7fd-e1d7-9d67-0793-9906e695e9cd'::uuid, 'Imdb', 'tt2358075')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee9dc7fd-e1d7-9d67-0793-9906e695e9cd'::uuid, 'Tvdb', 4292720)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ee9dc7fd-e1d7-9d67-0793-9906e695e9cd'::uuid, 'TvMaze', 4654)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39017 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ee9dc7fd-e1d7-9d67-0793-9906e695e9cd'::uuid;

-- Query #39018 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ee9dc7fd-e1d7-9d67-0793-9906e695e9cd'::uuid;

-- Query #39019 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ee9dc7fd-e1d7-9d67-0793-9906e695e9cd'::uuid]);

-- Query #39020 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ee9dc7fd-e1d7-9d67-0793-9906e695e9cd'::uuid;

-- Query #39021 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39022 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb454d46-9b54-a3b4-210d-2b7bb59852e7'::uuid;

-- Query #39023 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb454d46-9b54-a3b4-210d-2b7bb59852e7'::uuid]);

-- Query #39024 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cb454d46-9b54-a3b4-210d-2b7bb59852e7'::uuid;

-- Query #39025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb454d46-9b54-a3b4-210d-2b7bb59852e7'::uuid, 'Imdb', 'tt2342897')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb454d46-9b54-a3b4-210d-2b7bb59852e7'::uuid, 'Tvdb', 4292718)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb454d46-9b54-a3b4-210d-2b7bb59852e7'::uuid, 'TvMaze', 4650)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39028 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb454d46-9b54-a3b4-210d-2b7bb59852e7'::uuid;

-- Query #39029 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cb454d46-9b54-a3b4-210d-2b7bb59852e7'::uuid;

-- Query #39030 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cb454d46-9b54-a3b4-210d-2b7bb59852e7'::uuid]);

-- Query #39031 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cb454d46-9b54-a3b4-210d-2b7bb59852e7'::uuid;

-- Query #39032 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39033 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b53142c-be85-e8ce-7709-448afbddde6b'::uuid;

-- Query #39034 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b53142c-be85-e8ce-7709-448afbddde6b'::uuid]);

-- Query #39035 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5b53142c-be85-e8ce-7709-448afbddde6b'::uuid;

-- Query #39036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b53142c-be85-e8ce-7709-448afbddde6b'::uuid, 'Imdb', 'tt2065470')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b53142c-be85-e8ce-7709-448afbddde6b'::uuid, 'Tvdb', 4160113)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b53142c-be85-e8ce-7709-448afbddde6b'::uuid, 'TvMaze', 4614)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39039 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b53142c-be85-e8ce-7709-448afbddde6b'::uuid;

-- Query #39040 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5b53142c-be85-e8ce-7709-448afbddde6b'::uuid;

-- Query #39041 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5b53142c-be85-e8ce-7709-448afbddde6b'::uuid]);

-- Query #39042 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5b53142c-be85-e8ce-7709-448afbddde6b'::uuid;

-- Query #39043 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39044 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fa6ab870-4991-72de-1bde-db24d532a981'::uuid;

-- Query #39045 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #39046 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa6ab870-4991-72de-1bde-db24d532a981'::uuid]);

-- Query #39047 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fa6ab870-4991-72de-1bde-db24d532a981'::uuid;

-- Query #39048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa6ab870-4991-72de-1bde-db24d532a981'::uuid, 'Imdb', 'tt2047147')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa6ab870-4991-72de-1bde-db24d532a981'::uuid, 'Tvdb', 4122276)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fa6ab870-4991-72de-1bde-db24d532a981'::uuid, 'TvMaze', 4609)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39051 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fa6ab870-4991-72de-1bde-db24d532a981'::uuid;

-- Query #39052 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fa6ab870-4991-72de-1bde-db24d532a981'::uuid;

-- Query #39053 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fa6ab870-4991-72de-1bde-db24d532a981'::uuid]);

-- Query #39054 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fa6ab870-4991-72de-1bde-db24d532a981'::uuid;

-- Query #39055 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39056 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '02c417ee-cdab-9511-f20f-26011ae54023'::uuid;

-- Query #39057 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02c417ee-cdab-9511-f20f-26011ae54023'::uuid]);

-- Query #39058 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '02c417ee-cdab-9511-f20f-26011ae54023'::uuid;

-- Query #39059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('02c417ee-cdab-9511-f20f-26011ae54023'::uuid, 'Imdb', 'tt2110811')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('02c417ee-cdab-9511-f20f-26011ae54023'::uuid, 'Tvdb', 4225526)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('02c417ee-cdab-9511-f20f-26011ae54023'::uuid, 'TvMaze', 4631)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39062 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '02c417ee-cdab-9511-f20f-26011ae54023'::uuid;

-- Query #39063 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '02c417ee-cdab-9511-f20f-26011ae54023'::uuid;

-- Query #39064 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['02c417ee-cdab-9511-f20f-26011ae54023'::uuid]);

-- Query #39065 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '02c417ee-cdab-9511-f20f-26011ae54023'::uuid;

-- Query #39066 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39067 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6f971b2e-2a12-df8a-db1e-9248454a696e'::uuid;

-- Query #39068 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6f971b2e-2a12-df8a-db1e-9248454a696e'::uuid]);

-- Query #39069 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6f971b2e-2a12-df8a-db1e-9248454a696e'::uuid;

-- Query #39070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6f971b2e-2a12-df8a-db1e-9248454a696e'::uuid, 'Imdb', 'tt2305713')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6f971b2e-2a12-df8a-db1e-9248454a696e'::uuid, 'Tvdb', 4288456)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6f971b2e-2a12-df8a-db1e-9248454a696e'::uuid, 'TvMaze', 4644)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39073 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6f971b2e-2a12-df8a-db1e-9248454a696e'::uuid;

-- Query #39074 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6f971b2e-2a12-df8a-db1e-9248454a696e'::uuid;

-- Query #39075 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6f971b2e-2a12-df8a-db1e-9248454a696e'::uuid]);

-- Query #39076 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6f971b2e-2a12-df8a-db1e-9248454a696e'::uuid;

-- Query #39077 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39078 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '344253d1-ad43-b9c5-c413-9ab8e5ba0ecc'::uuid;

-- Query #39079 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['344253d1-ad43-b9c5-c413-9ab8e5ba0ecc'::uuid]);

-- Query #39080 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '344253d1-ad43-b9c5-c413-9ab8e5ba0ecc'::uuid;

-- Query #39081 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('344253d1-ad43-b9c5-c413-9ab8e5ba0ecc'::uuid, 'Imdb', 'tt2096098')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39082 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('344253d1-ad43-b9c5-c413-9ab8e5ba0ecc'::uuid, 'Tvdb', 4207557)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39083 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('344253d1-ad43-b9c5-c413-9ab8e5ba0ecc'::uuid, 'TvMaze', 4626)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39084 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '344253d1-ad43-b9c5-c413-9ab8e5ba0ecc'::uuid;

-- Query #39085 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '344253d1-ad43-b9c5-c413-9ab8e5ba0ecc'::uuid;

-- Query #39086 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['344253d1-ad43-b9c5-c413-9ab8e5ba0ecc'::uuid]);

-- Query #39087 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '344253d1-ad43-b9c5-c413-9ab8e5ba0ecc'::uuid;

-- Query #39088 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39089 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2abce8ae-77fe-a40a-493a-56db28c72b93'::uuid;

-- Query #39090 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2abce8ae-77fe-a40a-493a-56db28c72b93'::uuid]);

-- Query #39091 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2abce8ae-77fe-a40a-493a-56db28c72b93'::uuid;

-- Query #39092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2abce8ae-77fe-a40a-493a-56db28c72b93'::uuid, 'Imdb', 'tt2081815')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2abce8ae-77fe-a40a-493a-56db28c72b93'::uuid, 'Tvdb', 4160115)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2abce8ae-77fe-a40a-493a-56db28c72b93'::uuid, 'TvMaze', 4618)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39095 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2abce8ae-77fe-a40a-493a-56db28c72b93'::uuid;

-- Query #39096 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2abce8ae-77fe-a40a-493a-56db28c72b93'::uuid;

-- Query #39097 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2abce8ae-77fe-a40a-493a-56db28c72b93'::uuid]);

-- Query #39098 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2abce8ae-77fe-a40a-493a-56db28c72b93'::uuid;

-- Query #39099 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39100 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b4b0c08-ea2b-847e-948a-37625c74f83a'::uuid;

-- Query #39101 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8b4b0c08-ea2b-847e-948a-37625c74f83a'::uuid]);

-- Query #39102 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8b4b0c08-ea2b-847e-948a-37625c74f83a'::uuid;

-- Query #39103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b4b0c08-ea2b-847e-948a-37625c74f83a'::uuid, 'Imdb', 'tt2064470')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b4b0c08-ea2b-847e-948a-37625c74f83a'::uuid, 'Tvdb', 4160114)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b4b0c08-ea2b-847e-948a-37625c74f83a'::uuid, 'TvMaze', 4616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39106 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b4b0c08-ea2b-847e-948a-37625c74f83a'::uuid;

-- Query #39107 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8b4b0c08-ea2b-847e-948a-37625c74f83a'::uuid;

-- Query #39108 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8b4b0c08-ea2b-847e-948a-37625c74f83a'::uuid]);

-- Query #39109 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8b4b0c08-ea2b-847e-948a-37625c74f83a'::uuid;

-- Query #39110 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39111 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bafdd944-a39c-056f-19f1-575615fc3688'::uuid;

-- Query #39112 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bafdd944-a39c-056f-19f1-575615fc3688'::uuid]);

-- Query #39113 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bafdd944-a39c-056f-19f1-575615fc3688'::uuid;

-- Query #39114 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bafdd944-a39c-056f-19f1-575615fc3688'::uuid, 'Imdb', 'tt2305715')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39115 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bafdd944-a39c-056f-19f1-575615fc3688'::uuid, 'Tvdb', 4292716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bafdd944-a39c-056f-19f1-575615fc3688'::uuid, 'TvMaze', 4646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39117 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bafdd944-a39c-056f-19f1-575615fc3688'::uuid;

-- Query #39118 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bafdd944-a39c-056f-19f1-575615fc3688'::uuid;

-- Query #39119 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bafdd944-a39c-056f-19f1-575615fc3688'::uuid]);

-- Query #39120 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bafdd944-a39c-056f-19f1-575615fc3688'::uuid;

-- Query #39121 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39122 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c1fab23-012a-ac5b-8f15-ec45fb881ced'::uuid;

-- Query #39123 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c1fab23-012a-ac5b-8f15-ec45fb881ced'::uuid]);

-- Query #39124 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1c1fab23-012a-ac5b-8f15-ec45fb881ced'::uuid;

-- Query #39125 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c1fab23-012a-ac5b-8f15-ec45fb881ced'::uuid, 'Imdb', 'tt2244103')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c1fab23-012a-ac5b-8f15-ec45fb881ced'::uuid, 'Tvdb', 4265454)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39127 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1c1fab23-012a-ac5b-8f15-ec45fb881ced'::uuid, 'TvMaze', 4641)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39128 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c1fab23-012a-ac5b-8f15-ec45fb881ced'::uuid;

-- Query #39129 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1c1fab23-012a-ac5b-8f15-ec45fb881ced'::uuid;

-- Query #39130 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1c1fab23-012a-ac5b-8f15-ec45fb881ced'::uuid]);

-- Query #39131 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1c1fab23-012a-ac5b-8f15-ec45fb881ced'::uuid;

-- Query #39132 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39133 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a8759f9-9493-b1be-db21-e2636b258ee4'::uuid;

-- Query #39134 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a8759f9-9493-b1be-db21-e2636b258ee4'::uuid]);

-- Query #39135 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7a8759f9-9493-b1be-db21-e2636b258ee4'::uuid;

-- Query #39136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a8759f9-9493-b1be-db21-e2636b258ee4'::uuid, 'Imdb', 'tt2105660')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a8759f9-9493-b1be-db21-e2636b258ee4'::uuid, 'Tvdb', 4218074)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39138 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a8759f9-9493-b1be-db21-e2636b258ee4'::uuid, 'TvMaze', 4628)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39139 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a8759f9-9493-b1be-db21-e2636b258ee4'::uuid;

-- Query #39140 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7a8759f9-9493-b1be-db21-e2636b258ee4'::uuid;

-- Query #39141 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7a8759f9-9493-b1be-db21-e2636b258ee4'::uuid]);

-- Query #39142 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7a8759f9-9493-b1be-db21-e2636b258ee4'::uuid;

-- Query #39143 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39144 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e72047f1-3d63-df3b-bdb5-a676b0b14572'::uuid;

-- Query #39145 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e72047f1-3d63-df3b-bdb5-a676b0b14572'::uuid]);

-- Query #39146 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e72047f1-3d63-df3b-bdb5-a676b0b14572'::uuid;

-- Query #39147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e72047f1-3d63-df3b-bdb5-a676b0b14572'::uuid, 'Imdb', 'tt2181257')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e72047f1-3d63-df3b-bdb5-a676b0b14572'::uuid, 'Tvdb', 4241477)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e72047f1-3d63-df3b-bdb5-a676b0b14572'::uuid, 'TvMaze', 4633)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39150 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e72047f1-3d63-df3b-bdb5-a676b0b14572'::uuid;

-- Query #39151 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e72047f1-3d63-df3b-bdb5-a676b0b14572'::uuid;

-- Query #39152 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e72047f1-3d63-df3b-bdb5-a676b0b14572'::uuid]);

-- Query #39153 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e72047f1-3d63-df3b-bdb5-a676b0b14572'::uuid;

-- Query #39154 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39155 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd85bbb76-d99e-0faa-c6a6-596e23789dbc'::uuid;

-- Query #39156 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d85bbb76-d99e-0faa-c6a6-596e23789dbc'::uuid]);

-- Query #39157 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd85bbb76-d99e-0faa-c6a6-596e23789dbc'::uuid;

-- Query #39158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d85bbb76-d99e-0faa-c6a6-596e23789dbc'::uuid, 'Imdb', 'tt2189485')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39159 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d85bbb76-d99e-0faa-c6a6-596e23789dbc'::uuid, 'Tvdb', 4241478)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39160 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d85bbb76-d99e-0faa-c6a6-596e23789dbc'::uuid, 'TvMaze', 4635)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39161 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd85bbb76-d99e-0faa-c6a6-596e23789dbc'::uuid;

-- Query #39162 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd85bbb76-d99e-0faa-c6a6-596e23789dbc'::uuid;

-- Query #39163 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d85bbb76-d99e-0faa-c6a6-596e23789dbc'::uuid]);

-- Query #39164 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd85bbb76-d99e-0faa-c6a6-596e23789dbc'::uuid;

-- Query #39165 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39166 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cdf26c15-6955-b759-0f4e-4785cb5cbd9f'::uuid;

-- Query #39167 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdf26c15-6955-b759-0f4e-4785cb5cbd9f'::uuid]);

-- Query #39168 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cdf26c15-6955-b759-0f4e-4785cb5cbd9f'::uuid;

-- Query #39169 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdf26c15-6955-b759-0f4e-4785cb5cbd9f'::uuid, 'Imdb', 'tt1983675')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39170 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdf26c15-6955-b759-0f4e-4785cb5cbd9f'::uuid, 'Tvdb', 4160112)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39171 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdf26c15-6955-b759-0f4e-4785cb5cbd9f'::uuid, 'TvMaze', 4612)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cdf26c15-6955-b759-0f4e-4785cb5cbd9f'::uuid;

-- Query #39173 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cdf26c15-6955-b759-0f4e-4785cb5cbd9f'::uuid;

-- Query #39174 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cdf26c15-6955-b759-0f4e-4785cb5cbd9f'::uuid]);

-- Query #39175 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cdf26c15-6955-b759-0f4e-4785cb5cbd9f'::uuid;

-- Query #39176 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39177 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a4a2ea1-239c-da6b-6fcd-43c0bb218704'::uuid;

-- Query #39178 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a4a2ea1-239c-da6b-6fcd-43c0bb218704'::uuid]);

-- Query #39179 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7a4a2ea1-239c-da6b-6fcd-43c0bb218704'::uuid;

-- Query #39180 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a4a2ea1-239c-da6b-6fcd-43c0bb218704'::uuid, 'Imdb', 'tt2247703')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39181 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a4a2ea1-239c-da6b-6fcd-43c0bb218704'::uuid, 'Tvdb', 4292717)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39182 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a4a2ea1-239c-da6b-6fcd-43c0bb218704'::uuid, 'TvMaze', 4648)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39183 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a4a2ea1-239c-da6b-6fcd-43c0bb218704'::uuid;

-- Query #39184 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7a4a2ea1-239c-da6b-6fcd-43c0bb218704'::uuid;

-- Query #39185 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7a4a2ea1-239c-da6b-6fcd-43c0bb218704'::uuid]);

-- Query #39186 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7a4a2ea1-239c-da6b-6fcd-43c0bb218704'::uuid;

-- Query #39187 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39188 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3fe74013-c5b9-7a52-e403-5e02e3c155ce'::uuid;

-- Query #39189 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3fe74013-c5b9-7a52-e403-5e02e3c155ce'::uuid]);

-- Query #39190 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3fe74013-c5b9-7a52-e403-5e02e3c155ce'::uuid;

-- Query #39191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3fe74013-c5b9-7a52-e403-5e02e3c155ce'::uuid, 'Imdb', 'tt2087341')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3fe74013-c5b9-7a52-e403-5e02e3c155ce'::uuid, 'Tvdb', 4194103)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3fe74013-c5b9-7a52-e403-5e02e3c155ce'::uuid, 'TvMaze', 4624)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39194 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3fe74013-c5b9-7a52-e403-5e02e3c155ce'::uuid;

-- Query #39195 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3fe74013-c5b9-7a52-e403-5e02e3c155ce'::uuid;

-- Query #39196 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3fe74013-c5b9-7a52-e403-5e02e3c155ce'::uuid]);

-- Query #39197 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3fe74013-c5b9-7a52-e403-5e02e3c155ce'::uuid;

-- Query #39198 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39199 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a842c38a-b0c0-4676-9b4b-2782660e0de0'::uuid;

-- Query #39200 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a842c38a-b0c0-4676-9b4b-2782660e0de0'::uuid]);

-- Query #39201 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a842c38a-b0c0-4676-9b4b-2782660e0de0'::uuid;

-- Query #39202 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a842c38a-b0c0-4676-9b4b-2782660e0de0'::uuid, 'Imdb', 'tt2239817')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39203 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a842c38a-b0c0-4676-9b4b-2782660e0de0'::uuid, 'Tvdb', 4265455)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39204 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a842c38a-b0c0-4676-9b4b-2782660e0de0'::uuid, 'TvMaze', 4643)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39205 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a842c38a-b0c0-4676-9b4b-2782660e0de0'::uuid;

-- Query #39206 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a842c38a-b0c0-4676-9b4b-2782660e0de0'::uuid;

-- Query #39207 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a842c38a-b0c0-4676-9b4b-2782660e0de0'::uuid]);

-- Query #39208 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a842c38a-b0c0-4676-9b4b-2782660e0de0'::uuid;

-- Query #39209 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39210 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c9aa966b-85c2-8adf-4597-b65d680dfbff'::uuid;

-- Query #39211 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c9aa966b-85c2-8adf-4597-b65d680dfbff'::uuid]);

-- Query #39212 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c9aa966b-85c2-8adf-4597-b65d680dfbff'::uuid;

-- Query #39213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9aa966b-85c2-8adf-4597-b65d680dfbff'::uuid, 'Imdb', 'tt2303805')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9aa966b-85c2-8adf-4597-b65d680dfbff'::uuid, 'Tvdb', 4292719)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9aa966b-85c2-8adf-4597-b65d680dfbff'::uuid, 'TvMaze', 4652)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39216 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c9aa966b-85c2-8adf-4597-b65d680dfbff'::uuid;

-- Query #39217 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c9aa966b-85c2-8adf-4597-b65d680dfbff'::uuid;

-- Query #39218 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c9aa966b-85c2-8adf-4597-b65d680dfbff'::uuid]);

-- Query #39219 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c9aa966b-85c2-8adf-4597-b65d680dfbff'::uuid;

-- Query #39220 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39221 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a3351d01-4239-e618-4144-719a18ba346e'::uuid;

-- Query #39222 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a3351d01-4239-e618-4144-719a18ba346e'::uuid]);

-- Query #39223 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a3351d01-4239-e618-4144-719a18ba346e'::uuid;

-- Query #39224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a3351d01-4239-e618-4144-719a18ba346e'::uuid, 'Imdb', 'tt2089248')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39225 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a3351d01-4239-e618-4144-719a18ba346e'::uuid, 'Tvdb', 4190839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39226 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a3351d01-4239-e618-4144-719a18ba346e'::uuid, 'TvMaze', 4620)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39227 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a3351d01-4239-e618-4144-719a18ba346e'::uuid;

-- Query #39228 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a3351d01-4239-e618-4144-719a18ba346e'::uuid;

-- Query #39229 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a3351d01-4239-e618-4144-719a18ba346e'::uuid]);

-- Query #39230 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a3351d01-4239-e618-4144-719a18ba346e'::uuid;

-- Query #39231 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82f96915-738a-8656-0cc3-925fea3f51ee'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39232 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '178f28f2-3dad-336e-84eb-75038c9db713'::uuid;

-- Query #39233 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['178f28f2-3dad-336e-84eb-75038c9db713'::uuid]);

-- Query #39234 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '178f28f2-3dad-336e-84eb-75038c9db713'::uuid;

-- Query #39235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('178f28f2-3dad-336e-84eb-75038c9db713'::uuid, 'Imdb', 'tt2488644')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('178f28f2-3dad-336e-84eb-75038c9db713'::uuid, 'Tvdb', 4410870)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('178f28f2-3dad-336e-84eb-75038c9db713'::uuid, 'TvMaze', 4667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39238 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '178f28f2-3dad-336e-84eb-75038c9db713'::uuid;

-- Query #39239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '178f28f2-3dad-336e-84eb-75038c9db713'::uuid;

-- Query #39240 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['178f28f2-3dad-336e-84eb-75038c9db713'::uuid]);

-- Query #39241 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '178f28f2-3dad-336e-84eb-75038c9db713'::uuid;

-- Query #39242 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '818b2f6c-8dfa-7966-68e7-acf319db46e7'::uuid;

-- Query #39244 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['818b2f6c-8dfa-7966-68e7-acf319db46e7'::uuid]);

-- Query #39245 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '818b2f6c-8dfa-7966-68e7-acf319db46e7'::uuid;

-- Query #39246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('818b2f6c-8dfa-7966-68e7-acf319db46e7'::uuid, 'Imdb', 'tt2708166')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('818b2f6c-8dfa-7966-68e7-acf319db46e7'::uuid, 'Tvdb', 4458664)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('818b2f6c-8dfa-7966-68e7-acf319db46e7'::uuid, 'TvMaze', 4686)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39249 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '818b2f6c-8dfa-7966-68e7-acf319db46e7'::uuid;

-- Query #39250 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '818b2f6c-8dfa-7966-68e7-acf319db46e7'::uuid;

-- Query #39251 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['818b2f6c-8dfa-7966-68e7-acf319db46e7'::uuid]);

-- Query #39252 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '818b2f6c-8dfa-7966-68e7-acf319db46e7'::uuid;

-- Query #39253 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39254 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c609976d-130f-f251-5c90-875186b6ba92'::uuid;

-- Query #39255 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c609976d-130f-f251-5c90-875186b6ba92'::uuid]);

-- Query #39256 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c609976d-130f-f251-5c90-875186b6ba92'::uuid;

-- Query #39257 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c609976d-130f-f251-5c90-875186b6ba92'::uuid, 'Imdb', 'tt2573094')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39258 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c609976d-130f-f251-5c90-875186b6ba92'::uuid, 'Tvdb', 4458665)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39259 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c609976d-130f-f251-5c90-875186b6ba92'::uuid, 'TvMaze', 4688)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39260 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c609976d-130f-f251-5c90-875186b6ba92'::uuid;

-- Query #39261 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c609976d-130f-f251-5c90-875186b6ba92'::uuid;

-- Query #39262 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c609976d-130f-f251-5c90-875186b6ba92'::uuid]);

-- Query #39263 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c609976d-130f-f251-5c90-875186b6ba92'::uuid;

-- Query #39264 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39265 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1d7ba8e-a3d4-76f2-fff6-2d29f473e9ca'::uuid;

-- Query #39266 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a1d7ba8e-a3d4-76f2-fff6-2d29f473e9ca'::uuid]);

-- Query #39267 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a1d7ba8e-a3d4-76f2-fff6-2d29f473e9ca'::uuid;

-- Query #39268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1d7ba8e-a3d4-76f2-fff6-2d29f473e9ca'::uuid, 'Imdb', 'tt2397171')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39269 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1d7ba8e-a3d4-76f2-fff6-2d29f473e9ca'::uuid, 'Tvdb', 4341944)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1d7ba8e-a3d4-76f2-fff6-2d29f473e9ca'::uuid, 'TvMaze', 4656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39271 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1d7ba8e-a3d4-76f2-fff6-2d29f473e9ca'::uuid;

-- Query #39272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a1d7ba8e-a3d4-76f2-fff6-2d29f473e9ca'::uuid;

-- Query #39273 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a1d7ba8e-a3d4-76f2-fff6-2d29f473e9ca'::uuid]);

-- Query #39274 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a1d7ba8e-a3d4-76f2-fff6-2d29f473e9ca'::uuid;

-- Query #39275 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39276 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bba44ed8-05a8-418b-654b-92987b960d30'::uuid;

-- Query #39277 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bba44ed8-05a8-418b-654b-92987b960d30'::uuid]);

-- Query #39278 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bba44ed8-05a8-418b-654b-92987b960d30'::uuid;

-- Query #39279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bba44ed8-05a8-418b-654b-92987b960d30'::uuid, 'Imdb', 'tt2404438')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bba44ed8-05a8-418b-654b-92987b960d30'::uuid, 'Tvdb', 4401052)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bba44ed8-05a8-418b-654b-92987b960d30'::uuid, 'TvMaze', 4662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bba44ed8-05a8-418b-654b-92987b960d30'::uuid;

-- Query #39283 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bba44ed8-05a8-418b-654b-92987b960d30'::uuid;

-- Query #39284 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bba44ed8-05a8-418b-654b-92987b960d30'::uuid]);

-- Query #39285 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bba44ed8-05a8-418b-654b-92987b960d30'::uuid;

-- Query #39286 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39287 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78e3cdd5-cc90-e5e6-3826-70508b994d1b'::uuid;

-- Query #39288 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78e3cdd5-cc90-e5e6-3826-70508b994d1b'::uuid]);

-- Query #39289 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '78e3cdd5-cc90-e5e6-3826-70508b994d1b'::uuid;

-- Query #39290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78e3cdd5-cc90-e5e6-3826-70508b994d1b'::uuid, 'Imdb', 'tt2716564')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78e3cdd5-cc90-e5e6-3826-70508b994d1b'::uuid, 'Tvdb', 4507305)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('78e3cdd5-cc90-e5e6-3826-70508b994d1b'::uuid, 'TvMaze', 4696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39293 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78e3cdd5-cc90-e5e6-3826-70508b994d1b'::uuid;

-- Query #39294 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '78e3cdd5-cc90-e5e6-3826-70508b994d1b'::uuid;

-- Query #39295 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['78e3cdd5-cc90-e5e6-3826-70508b994d1b'::uuid]);

-- Query #39296 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '78e3cdd5-cc90-e5e6-3826-70508b994d1b'::uuid;

-- Query #39297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39298 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c02e425-b250-74f3-5865-75e0ab341227'::uuid;

-- Query #39299 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c02e425-b250-74f3-5865-75e0ab341227'::uuid]);

-- Query #39300 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2c02e425-b250-74f3-5865-75e0ab341227'::uuid;

-- Query #39301 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c02e425-b250-74f3-5865-75e0ab341227'::uuid, 'Imdb', 'tt2543110')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c02e425-b250-74f3-5865-75e0ab341227'::uuid, 'Tvdb', 4429606)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c02e425-b250-74f3-5865-75e0ab341227'::uuid, 'TvMaze', 4673)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39304 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c02e425-b250-74f3-5865-75e0ab341227'::uuid;

-- Query #39305 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2c02e425-b250-74f3-5865-75e0ab341227'::uuid;

-- Query #39306 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2c02e425-b250-74f3-5865-75e0ab341227'::uuid]);

-- Query #39307 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2c02e425-b250-74f3-5865-75e0ab341227'::uuid;

-- Query #39308 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39309 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9dbff226-71df-c3c4-a5a0-6b4d1ce651fc'::uuid;

-- Query #39310 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9dbff226-71df-c3c4-a5a0-6b4d1ce651fc'::uuid]);

-- Query #39311 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9dbff226-71df-c3c4-a5a0-6b4d1ce651fc'::uuid;

-- Query #39312 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dbff226-71df-c3c4-a5a0-6b4d1ce651fc'::uuid, 'Imdb', 'tt2799078')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39313 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dbff226-71df-c3c4-a5a0-6b4d1ce651fc'::uuid, 'Tvdb', 4507304)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9dbff226-71df-c3c4-a5a0-6b4d1ce651fc'::uuid, 'TvMaze', 4694)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39315 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9dbff226-71df-c3c4-a5a0-6b4d1ce651fc'::uuid;

-- Query #39316 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9dbff226-71df-c3c4-a5a0-6b4d1ce651fc'::uuid;

-- Query #39317 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9dbff226-71df-c3c4-a5a0-6b4d1ce651fc'::uuid]);

-- Query #39318 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9dbff226-71df-c3c4-a5a0-6b4d1ce651fc'::uuid;

-- Query #39319 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39320 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd631b015-f463-724d-92a8-39aed94537e5'::uuid;

-- Query #39321 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d631b015-f463-724d-92a8-39aed94537e5'::uuid]);

-- Query #39322 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd631b015-f463-724d-92a8-39aed94537e5'::uuid;

-- Query #39323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d631b015-f463-724d-92a8-39aed94537e5'::uuid, 'Imdb', 'tt2517458')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d631b015-f463-724d-92a8-39aed94537e5'::uuid, 'Tvdb', 4437762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d631b015-f463-724d-92a8-39aed94537e5'::uuid, 'TvMaze', 4680)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39326 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd631b015-f463-724d-92a8-39aed94537e5'::uuid;

-- Query #39327 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd631b015-f463-724d-92a8-39aed94537e5'::uuid;

-- Query #39328 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d631b015-f463-724d-92a8-39aed94537e5'::uuid]);

-- Query #39329 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd631b015-f463-724d-92a8-39aed94537e5'::uuid;

-- Query #39330 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39331 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cdeac11a-7c29-ff39-699c-db508c95acdd'::uuid;

-- Query #39332 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdeac11a-7c29-ff39-699c-db508c95acdd'::uuid]);

-- Query #39333 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cdeac11a-7c29-ff39-699c-db508c95acdd'::uuid;

-- Query #39334 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdeac11a-7c29-ff39-699c-db508c95acdd'::uuid, 'Imdb', 'tt2799086')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdeac11a-7c29-ff39-699c-db508c95acdd'::uuid, 'Tvdb', 4507303)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cdeac11a-7c29-ff39-699c-db508c95acdd'::uuid, 'TvMaze', 4692)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39337 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cdeac11a-7c29-ff39-699c-db508c95acdd'::uuid;

-- Query #39338 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cdeac11a-7c29-ff39-699c-db508c95acdd'::uuid;

-- Query #39339 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cdeac11a-7c29-ff39-699c-db508c95acdd'::uuid]);

-- Query #39340 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cdeac11a-7c29-ff39-699c-db508c95acdd'::uuid;

-- Query #39341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39342 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b870681-2650-4a13-a333-32ac252d40de'::uuid;

-- Query #39343 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b870681-2650-4a13-a333-32ac252d40de'::uuid]);

-- Query #39344 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0b870681-2650-4a13-a333-32ac252d40de'::uuid;

-- Query #39345 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b870681-2650-4a13-a333-32ac252d40de'::uuid, 'Imdb', 'tt2814070')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b870681-2650-4a13-a333-32ac252d40de'::uuid, 'Tvdb', 4525367)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39347 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b870681-2650-4a13-a333-32ac252d40de'::uuid, 'TvMaze', 4699)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39348 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b870681-2650-4a13-a333-32ac252d40de'::uuid;

-- Query #39349 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0b870681-2650-4a13-a333-32ac252d40de'::uuid;

-- Query #39350 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0b870681-2650-4a13-a333-32ac252d40de'::uuid]);

-- Query #39351 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0b870681-2650-4a13-a333-32ac252d40de'::uuid;

-- Query #39352 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39353 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b40f1e3-29e1-56fb-9e4e-8b8204eca967'::uuid;

-- Query #39354 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8b40f1e3-29e1-56fb-9e4e-8b8204eca967'::uuid]);

-- Query #39355 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8b40f1e3-29e1-56fb-9e4e-8b8204eca967'::uuid;

-- Query #39356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b40f1e3-29e1-56fb-9e4e-8b8204eca967'::uuid, 'Imdb', 'tt2770826')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b40f1e3-29e1-56fb-9e4e-8b8204eca967'::uuid, 'Tvdb', 4525368)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8b40f1e3-29e1-56fb-9e4e-8b8204eca967'::uuid, 'TvMaze', 4701)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39359 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b40f1e3-29e1-56fb-9e4e-8b8204eca967'::uuid;

-- Query #39360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8b40f1e3-29e1-56fb-9e4e-8b8204eca967'::uuid;

-- Query #39361 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8b40f1e3-29e1-56fb-9e4e-8b8204eca967'::uuid]);

-- Query #39362 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8b40f1e3-29e1-56fb-9e4e-8b8204eca967'::uuid;

-- Query #39363 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39364 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '79396d0c-b105-f1d5-dd36-cad606f8f2ca'::uuid;

-- Query #39365 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['79396d0c-b105-f1d5-dd36-cad606f8f2ca'::uuid]);

-- Query #39366 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '79396d0c-b105-f1d5-dd36-cad606f8f2ca'::uuid;

-- Query #39367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('79396d0c-b105-f1d5-dd36-cad606f8f2ca'::uuid, 'Imdb', 'tt2691640')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('79396d0c-b105-f1d5-dd36-cad606f8f2ca'::uuid, 'Tvdb', 4453934)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39369 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #39370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('79396d0c-b105-f1d5-dd36-cad606f8f2ca'::uuid, 'TvMaze', 4684)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '79396d0c-b105-f1d5-dd36-cad606f8f2ca'::uuid;

-- Query #39372 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '79396d0c-b105-f1d5-dd36-cad606f8f2ca'::uuid;

-- Query #39373 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['79396d0c-b105-f1d5-dd36-cad606f8f2ca'::uuid]);

-- Query #39374 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '79396d0c-b105-f1d5-dd36-cad606f8f2ca'::uuid;

-- Query #39375 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39376 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '69cce761-77f4-8d50-2156-6ae3f337bd90'::uuid;

-- Query #39377 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['69cce761-77f4-8d50-2156-6ae3f337bd90'::uuid]);

-- Query #39378 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '69cce761-77f4-8d50-2156-6ae3f337bd90'::uuid;

-- Query #39379 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69cce761-77f4-8d50-2156-6ae3f337bd90'::uuid, 'Imdb', 'tt2488652')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69cce761-77f4-8d50-2156-6ae3f337bd90'::uuid, 'Tvdb', 4420015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('69cce761-77f4-8d50-2156-6ae3f337bd90'::uuid, 'TvMaze', 4669)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39382 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '69cce761-77f4-8d50-2156-6ae3f337bd90'::uuid;

-- Query #39383 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '69cce761-77f4-8d50-2156-6ae3f337bd90'::uuid;

-- Query #39384 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['69cce761-77f4-8d50-2156-6ae3f337bd90'::uuid]);

-- Query #39385 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '69cce761-77f4-8d50-2156-6ae3f337bd90'::uuid;

-- Query #39386 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39387 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67b687a0-ba8c-61fd-b228-ebf6226ccd2c'::uuid;

-- Query #39388 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67b687a0-ba8c-61fd-b228-ebf6226ccd2c'::uuid]);

-- Query #39389 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '67b687a0-ba8c-61fd-b228-ebf6226ccd2c'::uuid;

-- Query #39390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67b687a0-ba8c-61fd-b228-ebf6226ccd2c'::uuid, 'Imdb', 'tt2720510')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67b687a0-ba8c-61fd-b228-ebf6226ccd2c'::uuid, 'Tvdb', 4507306)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67b687a0-ba8c-61fd-b228-ebf6226ccd2c'::uuid, 'TvMaze', 4698)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39393 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67b687a0-ba8c-61fd-b228-ebf6226ccd2c'::uuid;

-- Query #39394 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '67b687a0-ba8c-61fd-b228-ebf6226ccd2c'::uuid;

-- Query #39395 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['67b687a0-ba8c-61fd-b228-ebf6226ccd2c'::uuid]);

-- Query #39396 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '67b687a0-ba8c-61fd-b228-ebf6226ccd2c'::uuid;

-- Query #39397 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39398 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a2699a2-acd8-3e77-620f-245e6360584c'::uuid;

-- Query #39399 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a2699a2-acd8-3e77-620f-245e6360584c'::uuid]);

-- Query #39400 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7a2699a2-acd8-3e77-620f-245e6360584c'::uuid;

-- Query #39401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a2699a2-acd8-3e77-620f-245e6360584c'::uuid, 'Imdb', 'tt2586840')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a2699a2-acd8-3e77-620f-245e6360584c'::uuid, 'Tvdb', 4429607)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a2699a2-acd8-3e77-620f-245e6360584c'::uuid, 'TvMaze', 4675)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39404 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a2699a2-acd8-3e77-620f-245e6360584c'::uuid;

-- Query #39405 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7a2699a2-acd8-3e77-620f-245e6360584c'::uuid;

-- Query #39406 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7a2699a2-acd8-3e77-620f-245e6360584c'::uuid]);

-- Query #39407 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7a2699a2-acd8-3e77-620f-245e6360584c'::uuid;

-- Query #39408 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39409 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fad857d4-579d-58c3-45b7-1ed1be3f63d1'::uuid;

-- Query #39410 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fad857d4-579d-58c3-45b7-1ed1be3f63d1'::uuid]);

-- Query #39411 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fad857d4-579d-58c3-45b7-1ed1be3f63d1'::uuid;

-- Query #39412 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fad857d4-579d-58c3-45b7-1ed1be3f63d1'::uuid, 'Imdb', 'tt2393824')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fad857d4-579d-58c3-45b7-1ed1be3f63d1'::uuid, 'Tvdb', 4401053)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fad857d4-579d-58c3-45b7-1ed1be3f63d1'::uuid, 'TvMaze', 4663)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39415 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fad857d4-579d-58c3-45b7-1ed1be3f63d1'::uuid;

-- Query #39416 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fad857d4-579d-58c3-45b7-1ed1be3f63d1'::uuid;

-- Query #39417 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fad857d4-579d-58c3-45b7-1ed1be3f63d1'::uuid]);

-- Query #39418 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fad857d4-579d-58c3-45b7-1ed1be3f63d1'::uuid;

-- Query #39419 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39420 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59d11ebd-85a3-c840-538e-c9213f8e8ae2'::uuid;

-- Query #39421 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59d11ebd-85a3-c840-538e-c9213f8e8ae2'::uuid]);

-- Query #39422 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '59d11ebd-85a3-c840-538e-c9213f8e8ae2'::uuid;

-- Query #39423 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59d11ebd-85a3-c840-538e-c9213f8e8ae2'::uuid, 'Imdb', 'tt2507294')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59d11ebd-85a3-c840-538e-c9213f8e8ae2'::uuid, 'Tvdb', 4429608)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59d11ebd-85a3-c840-538e-c9213f8e8ae2'::uuid, 'TvMaze', 4678)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39426 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59d11ebd-85a3-c840-538e-c9213f8e8ae2'::uuid;

-- Query #39427 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '59d11ebd-85a3-c840-538e-c9213f8e8ae2'::uuid;

-- Query #39428 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['59d11ebd-85a3-c840-538e-c9213f8e8ae2'::uuid]);

-- Query #39429 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '59d11ebd-85a3-c840-538e-c9213f8e8ae2'::uuid;

-- Query #39430 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39431 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2244f251-a7db-d1c5-e515-c81a29d93bac'::uuid;

-- Query #39432 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2244f251-a7db-d1c5-e515-c81a29d93bac'::uuid]);

-- Query #39433 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2244f251-a7db-d1c5-e515-c81a29d93bac'::uuid;

-- Query #39434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2244f251-a7db-d1c5-e515-c81a29d93bac'::uuid, 'Imdb', 'tt2360776')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2244f251-a7db-d1c5-e515-c81a29d93bac'::uuid, 'Tvdb', 4401050)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2244f251-a7db-d1c5-e515-c81a29d93bac'::uuid, 'TvMaze', 4658)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39437 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2244f251-a7db-d1c5-e515-c81a29d93bac'::uuid;

-- Query #39438 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2244f251-a7db-d1c5-e515-c81a29d93bac'::uuid;

-- Query #39439 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2244f251-a7db-d1c5-e515-c81a29d93bac'::uuid]);

-- Query #39440 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2244f251-a7db-d1c5-e515-c81a29d93bac'::uuid;

-- Query #39441 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39442 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '573685ba-667f-b878-2d8b-16eb420e6b59'::uuid;

-- Query #39443 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['573685ba-667f-b878-2d8b-16eb420e6b59'::uuid]);

-- Query #39444 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '573685ba-667f-b878-2d8b-16eb420e6b59'::uuid;

-- Query #39445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('573685ba-667f-b878-2d8b-16eb420e6b59'::uuid, 'Imdb', 'tt2568884')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('573685ba-667f-b878-2d8b-16eb420e6b59'::uuid, 'Tvdb', 4437763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('573685ba-667f-b878-2d8b-16eb420e6b59'::uuid, 'TvMaze', 4682)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39448 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '573685ba-667f-b878-2d8b-16eb420e6b59'::uuid;

-- Query #39449 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '573685ba-667f-b878-2d8b-16eb420e6b59'::uuid;

-- Query #39450 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['573685ba-667f-b878-2d8b-16eb420e6b59'::uuid]);

-- Query #39451 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '573685ba-667f-b878-2d8b-16eb420e6b59'::uuid;

-- Query #39452 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39453 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a2258506-616f-be9c-4d3e-0eb219fef259'::uuid;

-- Query #39454 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a2258506-616f-be9c-4d3e-0eb219fef259'::uuid]);

-- Query #39455 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a2258506-616f-be9c-4d3e-0eb219fef259'::uuid;

-- Query #39456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2258506-616f-be9c-4d3e-0eb219fef259'::uuid, 'Imdb', 'tt2362724')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2258506-616f-be9c-4d3e-0eb219fef259'::uuid, 'Tvdb', 4401051)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2258506-616f-be9c-4d3e-0eb219fef259'::uuid, 'TvMaze', 4660)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39459 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a2258506-616f-be9c-4d3e-0eb219fef259'::uuid;

-- Query #39460 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a2258506-616f-be9c-4d3e-0eb219fef259'::uuid;

-- Query #39461 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a2258506-616f-be9c-4d3e-0eb219fef259'::uuid]);

-- Query #39462 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a2258506-616f-be9c-4d3e-0eb219fef259'::uuid;

-- Query #39463 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39464 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a96f69ed-9c41-f4c4-00f2-01953f367511'::uuid;

-- Query #39465 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a96f69ed-9c41-f4c4-00f2-01953f367511'::uuid]);

-- Query #39466 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a96f69ed-9c41-f4c4-00f2-01953f367511'::uuid;

-- Query #39467 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a96f69ed-9c41-f4c4-00f2-01953f367511'::uuid, 'Imdb', 'tt2459378')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39468 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a96f69ed-9c41-f4c4-00f2-01953f367511'::uuid, 'Tvdb', 4420016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a96f69ed-9c41-f4c4-00f2-01953f367511'::uuid, 'TvMaze', 4671)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39470 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a96f69ed-9c41-f4c4-00f2-01953f367511'::uuid;

-- Query #39471 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a96f69ed-9c41-f4c4-00f2-01953f367511'::uuid;

-- Query #39472 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a96f69ed-9c41-f4c4-00f2-01953f367511'::uuid]);

-- Query #39473 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a96f69ed-9c41-f4c4-00f2-01953f367511'::uuid;

-- Query #39474 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39475 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '448221ff-d5b5-5848-da3c-8520a295d657'::uuid;

-- Query #39476 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['448221ff-d5b5-5848-da3c-8520a295d657'::uuid]);

-- Query #39477 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '448221ff-d5b5-5848-da3c-8520a295d657'::uuid;

-- Query #39478 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('448221ff-d5b5-5848-da3c-8520a295d657'::uuid, 'Imdb', 'tt2586848')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('448221ff-d5b5-5848-da3c-8520a295d657'::uuid, 'Tvdb', 4507302)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('448221ff-d5b5-5848-da3c-8520a295d657'::uuid, 'TvMaze', 4690)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39481 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '448221ff-d5b5-5848-da3c-8520a295d657'::uuid;

-- Query #39482 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '448221ff-d5b5-5848-da3c-8520a295d657'::uuid;

-- Query #39483 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['448221ff-d5b5-5848-da3c-8520a295d657'::uuid]);

-- Query #39484 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '448221ff-d5b5-5848-da3c-8520a295d657'::uuid;

-- Query #39485 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39486 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7c52c398-fcd6-c5d5-1867-fa11caf4e7d0'::uuid;

-- Query #39487 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7c52c398-fcd6-c5d5-1867-fa11caf4e7d0'::uuid]);

-- Query #39488 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7c52c398-fcd6-c5d5-1867-fa11caf4e7d0'::uuid;

-- Query #39489 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c52c398-fcd6-c5d5-1867-fa11caf4e7d0'::uuid, 'Imdb', 'tt2488642')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c52c398-fcd6-c5d5-1867-fa11caf4e7d0'::uuid, 'Tvdb', 4401054)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c52c398-fcd6-c5d5-1867-fa11caf4e7d0'::uuid, 'TvMaze', 4665)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39492 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7c52c398-fcd6-c5d5-1867-fa11caf4e7d0'::uuid;

-- Query #39493 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7c52c398-fcd6-c5d5-1867-fa11caf4e7d0'::uuid;

-- Query #39494 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7c52c398-fcd6-c5d5-1867-fa11caf4e7d0'::uuid]);

-- Query #39495 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7c52c398-fcd6-c5d5-1867-fa11caf4e7d0'::uuid;

-- Query #39496 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39497 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2c36ff8-0cc1-467e-3592-320b6d259e72'::uuid;

-- Query #39498 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2c36ff8-0cc1-467e-3592-320b6d259e72'::uuid]);

-- Query #39499 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f2c36ff8-0cc1-467e-3592-320b6d259e72'::uuid;

-- Query #39500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2c36ff8-0cc1-467e-3592-320b6d259e72'::uuid, 'Imdb', 'tt3344996')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2c36ff8-0cc1-467e-3592-320b6d259e72'::uuid, 'Tvdb', 4702118)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2c36ff8-0cc1-467e-3592-320b6d259e72'::uuid, 'TvMaze', 4723)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39503 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2c36ff8-0cc1-467e-3592-320b6d259e72'::uuid;

-- Query #39504 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f2c36ff8-0cc1-467e-3592-320b6d259e72'::uuid;

-- Query #39505 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f2c36ff8-0cc1-467e-3592-320b6d259e72'::uuid]);

-- Query #39506 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f2c36ff8-0cc1-467e-3592-320b6d259e72'::uuid;

-- Query #39507 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39508 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2692661d-8900-e5dc-0afe-6ceedea66712'::uuid;

-- Query #39509 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2692661d-8900-e5dc-0afe-6ceedea66712'::uuid]);

-- Query #39510 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2692661d-8900-e5dc-0afe-6ceedea66712'::uuid;

-- Query #39511 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2692661d-8900-e5dc-0afe-6ceedea66712'::uuid, 'Imdb', 'tt3675476')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2692661d-8900-e5dc-0afe-6ceedea66712'::uuid, 'Tvdb', 4818752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2692661d-8900-e5dc-0afe-6ceedea66712'::uuid, 'TvMaze', 4732)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39514 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2692661d-8900-e5dc-0afe-6ceedea66712'::uuid;

-- Query #39515 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2692661d-8900-e5dc-0afe-6ceedea66712'::uuid;

-- Query #39516 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2692661d-8900-e5dc-0afe-6ceedea66712'::uuid]);

-- Query #39517 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2692661d-8900-e5dc-0afe-6ceedea66712'::uuid;

-- Query #39518 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39519 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31fe9d25-dab4-3291-7602-443f7ada4aab'::uuid;

-- Query #39520 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['31fe9d25-dab4-3291-7602-443f7ada4aab'::uuid]);

-- Query #39521 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '31fe9d25-dab4-3291-7602-443f7ada4aab'::uuid;

-- Query #39522 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31fe9d25-dab4-3291-7602-443f7ada4aab'::uuid, 'Imdb', 'tt3266712')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31fe9d25-dab4-3291-7602-443f7ada4aab'::uuid, 'Tvdb', 4711143)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31fe9d25-dab4-3291-7602-443f7ada4aab'::uuid, 'TvMaze', 4719)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39525 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31fe9d25-dab4-3291-7602-443f7ada4aab'::uuid;

-- Query #39526 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '31fe9d25-dab4-3291-7602-443f7ada4aab'::uuid;

-- Query #39527 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['31fe9d25-dab4-3291-7602-443f7ada4aab'::uuid]);

-- Query #39528 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '31fe9d25-dab4-3291-7602-443f7ada4aab'::uuid;

-- Query #39529 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39530 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '370b9ea7-9972-52fc-7d14-d40edeb36db2'::uuid;

-- Query #39531 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['370b9ea7-9972-52fc-7d14-d40edeb36db2'::uuid]);

-- Query #39532 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '370b9ea7-9972-52fc-7d14-d40edeb36db2'::uuid;

-- Query #39533 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('370b9ea7-9972-52fc-7d14-d40edeb36db2'::uuid, 'Imdb', 'tt3293410')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('370b9ea7-9972-52fc-7d14-d40edeb36db2'::uuid, 'Tvdb', 4702011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('370b9ea7-9972-52fc-7d14-d40edeb36db2'::uuid, 'TvMaze', 4718)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39536 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '370b9ea7-9972-52fc-7d14-d40edeb36db2'::uuid;

-- Query #39537 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '370b9ea7-9972-52fc-7d14-d40edeb36db2'::uuid;

-- Query #39538 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['370b9ea7-9972-52fc-7d14-d40edeb36db2'::uuid]);

-- Query #39539 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '370b9ea7-9972-52fc-7d14-d40edeb36db2'::uuid;

-- Query #39540 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39541 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44cce234-6fdd-ae72-551c-cb95394ae8f8'::uuid;

-- Query #39542 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['44cce234-6fdd-ae72-551c-cb95394ae8f8'::uuid]);

-- Query #39543 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '44cce234-6fdd-ae72-551c-cb95394ae8f8'::uuid;

-- Query #39544 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44cce234-6fdd-ae72-551c-cb95394ae8f8'::uuid, 'Imdb', 'tt3292104')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44cce234-6fdd-ae72-551c-cb95394ae8f8'::uuid, 'Tvdb', 4678722)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('44cce234-6fdd-ae72-551c-cb95394ae8f8'::uuid, 'TvMaze', 4715)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39547 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '44cce234-6fdd-ae72-551c-cb95394ae8f8'::uuid;

-- Query #39548 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '44cce234-6fdd-ae72-551c-cb95394ae8f8'::uuid;

-- Query #39549 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['44cce234-6fdd-ae72-551c-cb95394ae8f8'::uuid]);

-- Query #39550 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '44cce234-6fdd-ae72-551c-cb95394ae8f8'::uuid;

-- Query #39551 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39552 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd11256b0-06bb-175a-e503-790b10462620'::uuid;

-- Query #39553 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d11256b0-06bb-175a-e503-790b10462620'::uuid]);

-- Query #39554 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd11256b0-06bb-175a-e503-790b10462620'::uuid;

-- Query #39555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d11256b0-06bb-175a-e503-790b10462620'::uuid, 'Imdb', 'tt3183992')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39556 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d11256b0-06bb-175a-e503-790b10462620'::uuid, 'Tvdb', 4654700)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39557 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d11256b0-06bb-175a-e503-790b10462620'::uuid, 'TvMaze', 4709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39558 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd11256b0-06bb-175a-e503-790b10462620'::uuid;

-- Query #39559 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd11256b0-06bb-175a-e503-790b10462620'::uuid;

-- Query #39560 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d11256b0-06bb-175a-e503-790b10462620'::uuid]);

-- Query #39561 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd11256b0-06bb-175a-e503-790b10462620'::uuid;

-- Query #39562 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39563 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '28f39cd8-262a-afa7-96eb-f8153dd310de'::uuid;

-- Query #39564 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['28f39cd8-262a-afa7-96eb-f8153dd310de'::uuid]);

-- Query #39565 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '28f39cd8-262a-afa7-96eb-f8153dd310de'::uuid;

-- Query #39566 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f39cd8-262a-afa7-96eb-f8153dd310de'::uuid, 'Imdb', 'tt3508790')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39567 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f39cd8-262a-afa7-96eb-f8153dd310de'::uuid, 'Tvdb', 4777104)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39568 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('28f39cd8-262a-afa7-96eb-f8153dd310de'::uuid, 'TvMaze', 4727)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39569 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '28f39cd8-262a-afa7-96eb-f8153dd310de'::uuid;

-- Query #39570 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '28f39cd8-262a-afa7-96eb-f8153dd310de'::uuid;

-- Query #39571 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['28f39cd8-262a-afa7-96eb-f8153dd310de'::uuid]);

-- Query #39572 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '28f39cd8-262a-afa7-96eb-f8153dd310de'::uuid;

-- Query #39573 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39574 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3f0fe4ee-7443-fa08-5ee7-6348861b8860'::uuid;

-- Query #39575 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3f0fe4ee-7443-fa08-5ee7-6348861b8860'::uuid]);

-- Query #39576 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3f0fe4ee-7443-fa08-5ee7-6348861b8860'::uuid;

-- Query #39577 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f0fe4ee-7443-fa08-5ee7-6348861b8860'::uuid, 'Imdb', 'tt3116354')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39578 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f0fe4ee-7443-fa08-5ee7-6348861b8860'::uuid, 'Tvdb', 4635001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3f0fe4ee-7443-fa08-5ee7-6348861b8860'::uuid, 'TvMaze', 4705)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39580 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3f0fe4ee-7443-fa08-5ee7-6348861b8860'::uuid;

-- Query #39581 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3f0fe4ee-7443-fa08-5ee7-6348861b8860'::uuid;

-- Query #39582 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3f0fe4ee-7443-fa08-5ee7-6348861b8860'::uuid]);

-- Query #39583 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3f0fe4ee-7443-fa08-5ee7-6348861b8860'::uuid;

-- Query #39584 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39585 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd249dd78-60fc-857b-3b11-b91168e6be16'::uuid;

-- Query #39586 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d249dd78-60fc-857b-3b11-b91168e6be16'::uuid]);

-- Query #39587 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd249dd78-60fc-857b-3b11-b91168e6be16'::uuid;

-- Query #39588 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d249dd78-60fc-857b-3b11-b91168e6be16'::uuid, 'Imdb', 'tt3508796')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d249dd78-60fc-857b-3b11-b91168e6be16'::uuid, 'Tvdb', 4818751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d249dd78-60fc-857b-3b11-b91168e6be16'::uuid, 'TvMaze', 4731)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd249dd78-60fc-857b-3b11-b91168e6be16'::uuid;

-- Query #39592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd249dd78-60fc-857b-3b11-b91168e6be16'::uuid;

-- Query #39593 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d249dd78-60fc-857b-3b11-b91168e6be16'::uuid]);

-- Query #39594 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd249dd78-60fc-857b-3b11-b91168e6be16'::uuid;

-- Query #39595 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39596 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '33dbecae-049c-a5c6-0f40-4409183be398'::uuid;

-- Query #39597 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['33dbecae-049c-a5c6-0f40-4409183be398'::uuid]);

-- Query #39598 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '33dbecae-049c-a5c6-0f40-4409183be398'::uuid;

-- Query #39599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33dbecae-049c-a5c6-0f40-4409183be398'::uuid, 'Imdb', 'tt3267504')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33dbecae-049c-a5c6-0f40-4409183be398'::uuid, 'Tvdb', 4678715)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33dbecae-049c-a5c6-0f40-4409183be398'::uuid, 'TvMaze', 4713)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39602 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '33dbecae-049c-a5c6-0f40-4409183be398'::uuid;

-- Query #39603 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '33dbecae-049c-a5c6-0f40-4409183be398'::uuid;

-- Query #39604 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['33dbecae-049c-a5c6-0f40-4409183be398'::uuid]);

-- Query #39605 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '33dbecae-049c-a5c6-0f40-4409183be398'::uuid;

-- Query #39606 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39607 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b0d8b350-4ffe-eef0-0916-e4a468b21c58'::uuid;

-- Query #39608 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b0d8b350-4ffe-eef0-0916-e4a468b21c58'::uuid]);

-- Query #39609 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b0d8b350-4ffe-eef0-0916-e4a468b21c58'::uuid;

-- Query #39610 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0d8b350-4ffe-eef0-0916-e4a468b21c58'::uuid, 'Imdb', 'tt3410066')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0d8b350-4ffe-eef0-0916-e4a468b21c58'::uuid, 'Tvdb', 4777103)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b0d8b350-4ffe-eef0-0916-e4a468b21c58'::uuid, 'TvMaze', 4726)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39613 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b0d8b350-4ffe-eef0-0916-e4a468b21c58'::uuid;

-- Query #39614 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b0d8b350-4ffe-eef0-0916-e4a468b21c58'::uuid;

-- Query #39615 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b0d8b350-4ffe-eef0-0916-e4a468b21c58'::uuid]);

-- Query #39616 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b0d8b350-4ffe-eef0-0916-e4a468b21c58'::uuid;

-- Query #39617 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39618 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a75008f8-13f9-5ad1-710a-747a44458f67'::uuid;

-- Query #39619 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a75008f8-13f9-5ad1-710a-747a44458f67'::uuid]);

-- Query #39620 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a75008f8-13f9-5ad1-710a-747a44458f67'::uuid;

-- Query #39621 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a75008f8-13f9-5ad1-710a-747a44458f67'::uuid, 'Imdb', 'tt3508788')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a75008f8-13f9-5ad1-710a-747a44458f67'::uuid, 'Tvdb', 4818750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a75008f8-13f9-5ad1-710a-747a44458f67'::uuid, 'TvMaze', 4730)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39624 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a75008f8-13f9-5ad1-710a-747a44458f67'::uuid;

-- Query #39625 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a75008f8-13f9-5ad1-710a-747a44458f67'::uuid;

-- Query #39626 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a75008f8-13f9-5ad1-710a-747a44458f67'::uuid]);

-- Query #39627 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a75008f8-13f9-5ad1-710a-747a44458f67'::uuid;

-- Query #39628 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39629 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb46fa0d-63ff-2b80-8084-983c68bab117'::uuid;

-- Query #39630 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb46fa0d-63ff-2b80-8084-983c68bab117'::uuid]);

-- Query #39631 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cb46fa0d-63ff-2b80-8084-983c68bab117'::uuid;

-- Query #39632 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb46fa0d-63ff-2b80-8084-983c68bab117'::uuid, 'Imdb', 'tt3237940')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39633 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb46fa0d-63ff-2b80-8084-983c68bab117'::uuid, 'Tvdb', 4659007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb46fa0d-63ff-2b80-8084-983c68bab117'::uuid, 'TvMaze', 4711)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39635 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb46fa0d-63ff-2b80-8084-983c68bab117'::uuid;

-- Query #39636 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cb46fa0d-63ff-2b80-8084-983c68bab117'::uuid;

-- Query #39637 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cb46fa0d-63ff-2b80-8084-983c68bab117'::uuid]);

-- Query #39638 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cb46fa0d-63ff-2b80-8084-983c68bab117'::uuid;

-- Query #39639 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39640 | logged_duration_ms=13 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T22:25:18.3613033Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #39641 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '63546230-44f5-12fc-18c7-e8b0926198fd'::uuid;

-- Query #39642 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #39643 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['63546230-44f5-12fc-18c7-e8b0926198fd'::uuid]);

-- Query #39644 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '63546230-44f5-12fc-18c7-e8b0926198fd'::uuid;

-- Query #39645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63546230-44f5-12fc-18c7-e8b0926198fd'::uuid, 'Imdb', 'tt3684716')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39646 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63546230-44f5-12fc-18c7-e8b0926198fd'::uuid, 'Tvdb', 4818754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('63546230-44f5-12fc-18c7-e8b0926198fd'::uuid, 'TvMaze', 4734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39648 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '63546230-44f5-12fc-18c7-e8b0926198fd'::uuid;

-- Query #39649 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '63546230-44f5-12fc-18c7-e8b0926198fd'::uuid;

-- Query #39650 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['63546230-44f5-12fc-18c7-e8b0926198fd'::uuid]);

-- Query #39651 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '63546230-44f5-12fc-18c7-e8b0926198fd'::uuid;

-- Query #39652 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39653 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dbe14b4d-0e8f-5fb4-fc90-4aa8eeeb013e'::uuid;

-- Query #39654 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dbe14b4d-0e8f-5fb4-fc90-4aa8eeeb013e'::uuid]);

-- Query #39655 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dbe14b4d-0e8f-5fb4-fc90-4aa8eeeb013e'::uuid;

-- Query #39656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbe14b4d-0e8f-5fb4-fc90-4aa8eeeb013e'::uuid, 'Imdb', 'tt3335562')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbe14b4d-0e8f-5fb4-fc90-4aa8eeeb013e'::uuid, 'Tvdb', 4711144)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbe14b4d-0e8f-5fb4-fc90-4aa8eeeb013e'::uuid, 'TvMaze', 4722)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dbe14b4d-0e8f-5fb4-fc90-4aa8eeeb013e'::uuid;

-- Query #39660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dbe14b4d-0e8f-5fb4-fc90-4aa8eeeb013e'::uuid;

-- Query #39661 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dbe14b4d-0e8f-5fb4-fc90-4aa8eeeb013e'::uuid]);

-- Query #39662 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dbe14b4d-0e8f-5fb4-fc90-4aa8eeeb013e'::uuid;

-- Query #39663 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39664 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e220745c-c59f-5efa-daab-0582708caf23'::uuid;

-- Query #39665 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e220745c-c59f-5efa-daab-0582708caf23'::uuid]);

-- Query #39666 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e220745c-c59f-5efa-daab-0582708caf23'::uuid;

-- Query #39667 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e220745c-c59f-5efa-daab-0582708caf23'::uuid, 'Imdb', 'tt3508792')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39668 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e220745c-c59f-5efa-daab-0582708caf23'::uuid, 'Tvdb', 4808013)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e220745c-c59f-5efa-daab-0582708caf23'::uuid, 'TvMaze', 4729)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39670 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e220745c-c59f-5efa-daab-0582708caf23'::uuid;

-- Query #39671 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e220745c-c59f-5efa-daab-0582708caf23'::uuid;

-- Query #39672 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e220745c-c59f-5efa-daab-0582708caf23'::uuid]);

-- Query #39673 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e220745c-c59f-5efa-daab-0582708caf23'::uuid;

-- Query #39674 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39675 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18aaae8c-cf5f-6eeb-0a85-f97f02b1326a'::uuid;

-- Query #39676 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['18aaae8c-cf5f-6eeb-0a85-f97f02b1326a'::uuid]);

-- Query #39677 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '18aaae8c-cf5f-6eeb-0a85-f97f02b1326a'::uuid;

-- Query #39678 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18aaae8c-cf5f-6eeb-0a85-f97f02b1326a'::uuid, 'Imdb', 'tt3684710')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39679 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18aaae8c-cf5f-6eeb-0a85-f97f02b1326a'::uuid, 'Tvdb', 4818753)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39680 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18aaae8c-cf5f-6eeb-0a85-f97f02b1326a'::uuid, 'TvMaze', 4733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39681 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18aaae8c-cf5f-6eeb-0a85-f97f02b1326a'::uuid;

-- Query #39682 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '18aaae8c-cf5f-6eeb-0a85-f97f02b1326a'::uuid;

-- Query #39683 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['18aaae8c-cf5f-6eeb-0a85-f97f02b1326a'::uuid]);

-- Query #39684 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '18aaae8c-cf5f-6eeb-0a85-f97f02b1326a'::uuid;

-- Query #39685 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39686 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b016131b-81c6-c439-75d6-e9b5443f0324'::uuid;

-- Query #39687 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b016131b-81c6-c439-75d6-e9b5443f0324'::uuid]);

-- Query #39688 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b016131b-81c6-c439-75d6-e9b5443f0324'::uuid;

-- Query #39689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b016131b-81c6-c439-75d6-e9b5443f0324'::uuid, 'Imdb', 'tt3508794')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b016131b-81c6-c439-75d6-e9b5443f0324'::uuid, 'Tvdb', 4777105)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b016131b-81c6-c439-75d6-e9b5443f0324'::uuid, 'TvMaze', 4728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39692 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b016131b-81c6-c439-75d6-e9b5443f0324'::uuid;

-- Query #39693 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b016131b-81c6-c439-75d6-e9b5443f0324'::uuid;

-- Query #39694 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b016131b-81c6-c439-75d6-e9b5443f0324'::uuid]);

-- Query #39695 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b016131b-81c6-c439-75d6-e9b5443f0324'::uuid;

-- Query #39696 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39697 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99f223d9-a76e-77be-7afa-28b2f0b2d13d'::uuid;

-- Query #39698 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99f223d9-a76e-77be-7afa-28b2f0b2d13d'::uuid]);

-- Query #39699 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '99f223d9-a76e-77be-7afa-28b2f0b2d13d'::uuid;

-- Query #39700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99f223d9-a76e-77be-7afa-28b2f0b2d13d'::uuid, 'Imdb', 'tt2911820')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99f223d9-a76e-77be-7afa-28b2f0b2d13d'::uuid, 'Tvdb', 4611479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99f223d9-a76e-77be-7afa-28b2f0b2d13d'::uuid, 'TvMaze', 4703)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39703 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99f223d9-a76e-77be-7afa-28b2f0b2d13d'::uuid;

-- Query #39704 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '99f223d9-a76e-77be-7afa-28b2f0b2d13d'::uuid;

-- Query #39705 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['99f223d9-a76e-77be-7afa-28b2f0b2d13d'::uuid]);

-- Query #39706 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '99f223d9-a76e-77be-7afa-28b2f0b2d13d'::uuid;

-- Query #39707 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39708 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '193eb586-122d-f63c-50f8-9bb6a875a05f'::uuid;

-- Query #39709 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['193eb586-122d-f63c-50f8-9bb6a875a05f'::uuid]);

-- Query #39710 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '193eb586-122d-f63c-50f8-9bb6a875a05f'::uuid;

-- Query #39711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('193eb586-122d-f63c-50f8-9bb6a875a05f'::uuid, 'Imdb', 'tt3410062')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39712 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('193eb586-122d-f63c-50f8-9bb6a875a05f'::uuid, 'Tvdb', 4735556)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('193eb586-122d-f63c-50f8-9bb6a875a05f'::uuid, 'TvMaze', 4725)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39714 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '193eb586-122d-f63c-50f8-9bb6a875a05f'::uuid;

-- Query #39715 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '193eb586-122d-f63c-50f8-9bb6a875a05f'::uuid;

-- Query #39716 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['193eb586-122d-f63c-50f8-9bb6a875a05f'::uuid]);

-- Query #39717 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '193eb586-122d-f63c-50f8-9bb6a875a05f'::uuid;

-- Query #39718 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39719 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f83db489-f1db-f7a7-89f9-836913187fc6'::uuid;

-- Query #39720 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f83db489-f1db-f7a7-89f9-836913187fc6'::uuid]);

-- Query #39721 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f83db489-f1db-f7a7-89f9-836913187fc6'::uuid;

-- Query #39722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f83db489-f1db-f7a7-89f9-836913187fc6'::uuid, 'Imdb', 'tt3328416')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f83db489-f1db-f7a7-89f9-836913187fc6'::uuid, 'Tvdb', 4731166)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f83db489-f1db-f7a7-89f9-836913187fc6'::uuid, 'TvMaze', 4724)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39725 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f83db489-f1db-f7a7-89f9-836913187fc6'::uuid;

-- Query #39726 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f83db489-f1db-f7a7-89f9-836913187fc6'::uuid;

-- Query #39727 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f83db489-f1db-f7a7-89f9-836913187fc6'::uuid]);

-- Query #39728 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f83db489-f1db-f7a7-89f9-836913187fc6'::uuid;

-- Query #39729 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39730 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87bbfe49-4947-c31a-8518-e4c63114c614'::uuid;

-- Query #39731 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87bbfe49-4947-c31a-8518-e4c63114c614'::uuid]);

-- Query #39732 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '87bbfe49-4947-c31a-8518-e4c63114c614'::uuid;

-- Query #39733 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87bbfe49-4947-c31a-8518-e4c63114c614'::uuid, 'Imdb', 'tt3588986')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87bbfe49-4947-c31a-8518-e4c63114c614'::uuid, 'Tvdb', 4818755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87bbfe49-4947-c31a-8518-e4c63114c614'::uuid, 'TvMaze', 4735)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39736 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87bbfe49-4947-c31a-8518-e4c63114c614'::uuid;

-- Query #39737 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '87bbfe49-4947-c31a-8518-e4c63114c614'::uuid;

-- Query #39738 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['87bbfe49-4947-c31a-8518-e4c63114c614'::uuid]);

-- Query #39739 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '87bbfe49-4947-c31a-8518-e4c63114c614'::uuid;

-- Query #39740 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39741 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '46e38f81-ae2a-175d-8765-06a8830de4f7'::uuid;

-- Query #39742 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46e38f81-ae2a-175d-8765-06a8830de4f7'::uuid]);

-- Query #39743 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '46e38f81-ae2a-175d-8765-06a8830de4f7'::uuid;

-- Query #39744 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46e38f81-ae2a-175d-8765-06a8830de4f7'::uuid, 'Imdb', 'tt3687550')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46e38f81-ae2a-175d-8765-06a8830de4f7'::uuid, 'Tvdb', 4818756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('46e38f81-ae2a-175d-8765-06a8830de4f7'::uuid, 'TvMaze', 4736)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39747 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '46e38f81-ae2a-175d-8765-06a8830de4f7'::uuid;

-- Query #39748 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '46e38f81-ae2a-175d-8765-06a8830de4f7'::uuid;

-- Query #39749 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['46e38f81-ae2a-175d-8765-06a8830de4f7'::uuid]);

-- Query #39750 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '46e38f81-ae2a-175d-8765-06a8830de4f7'::uuid;

-- Query #39751 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39752 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6bd88a7e-a202-3bcd-02a1-fa5f3592b789'::uuid;

-- Query #39753 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6bd88a7e-a202-3bcd-02a1-fa5f3592b789'::uuid]);

-- Query #39754 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6bd88a7e-a202-3bcd-02a1-fa5f3592b789'::uuid;

-- Query #39755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bd88a7e-a202-3bcd-02a1-fa5f3592b789'::uuid, 'Imdb', 'tt4464094')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bd88a7e-a202-3bcd-02a1-fa5f3592b789'::uuid, 'Tvdb', 5160956)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39757 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6bd88a7e-a202-3bcd-02a1-fa5f3592b789'::uuid, 'TvMaze', 154112)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39758 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6bd88a7e-a202-3bcd-02a1-fa5f3592b789'::uuid;

-- Query #39759 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6bd88a7e-a202-3bcd-02a1-fa5f3592b789'::uuid;

-- Query #39760 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6bd88a7e-a202-3bcd-02a1-fa5f3592b789'::uuid]);

-- Query #39761 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6bd88a7e-a202-3bcd-02a1-fa5f3592b789'::uuid;

-- Query #39762 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39763 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '716c6036-ae13-aff2-8f3c-cedbc4481852'::uuid;

-- Query #39764 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['716c6036-ae13-aff2-8f3c-cedbc4481852'::uuid]);

-- Query #39765 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '716c6036-ae13-aff2-8f3c-cedbc4481852'::uuid;

-- Query #39766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('716c6036-ae13-aff2-8f3c-cedbc4481852'::uuid, 'Imdb', 'tt4071558')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('716c6036-ae13-aff2-8f3c-cedbc4481852'::uuid, 'Tvdb', 4986304)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('716c6036-ae13-aff2-8f3c-cedbc4481852'::uuid, 'TvMaze', 4739)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('716c6036-ae13-aff2-8f3c-cedbc4481852'::uuid, 'TvRage', 1065676569)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39770 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '716c6036-ae13-aff2-8f3c-cedbc4481852'::uuid;

-- Query #39771 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '716c6036-ae13-aff2-8f3c-cedbc4481852'::uuid;

-- Query #39772 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['716c6036-ae13-aff2-8f3c-cedbc4481852'::uuid]);

-- Query #39773 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '716c6036-ae13-aff2-8f3c-cedbc4481852'::uuid;

-- Query #39774 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39775 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9cd8ef4e-8f04-245c-ad0b-c30fc9cc4d07'::uuid;

-- Query #39776 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cd8ef4e-8f04-245c-ad0b-c30fc9cc4d07'::uuid]);

-- Query #39777 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9cd8ef4e-8f04-245c-ad0b-c30fc9cc4d07'::uuid;

-- Query #39778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9cd8ef4e-8f04-245c-ad0b-c30fc9cc4d07'::uuid, 'Imdb', 'tt4389744')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9cd8ef4e-8f04-245c-ad0b-c30fc9cc4d07'::uuid, 'Tvdb', 5105147)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9cd8ef4e-8f04-245c-ad0b-c30fc9cc4d07'::uuid, 'TvMaze', 123081)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9cd8ef4e-8f04-245c-ad0b-c30fc9cc4d07'::uuid, 'TvRage', 1065746564)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39782 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9cd8ef4e-8f04-245c-ad0b-c30fc9cc4d07'::uuid;

-- Query #39783 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9cd8ef4e-8f04-245c-ad0b-c30fc9cc4d07'::uuid;

-- Query #39784 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9cd8ef4e-8f04-245c-ad0b-c30fc9cc4d07'::uuid]);

-- Query #39785 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9cd8ef4e-8f04-245c-ad0b-c30fc9cc4d07'::uuid;

-- Query #39786 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39787 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '83225941-2e3e-970b-1107-b4fdeeb8b7dc'::uuid;

-- Query #39788 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['83225941-2e3e-970b-1107-b4fdeeb8b7dc'::uuid]);

-- Query #39789 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '83225941-2e3e-970b-1107-b4fdeeb8b7dc'::uuid;

-- Query #39790 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83225941-2e3e-970b-1107-b4fdeeb8b7dc'::uuid, 'Imdb', 'tt4464092')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39791 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83225941-2e3e-970b-1107-b4fdeeb8b7dc'::uuid, 'Tvdb', 5160955)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('83225941-2e3e-970b-1107-b4fdeeb8b7dc'::uuid, 'TvMaze', 154111)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39793 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '83225941-2e3e-970b-1107-b4fdeeb8b7dc'::uuid;

-- Query #39794 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '83225941-2e3e-970b-1107-b4fdeeb8b7dc'::uuid;

-- Query #39795 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['83225941-2e3e-970b-1107-b4fdeeb8b7dc'::uuid]);

-- Query #39796 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '83225941-2e3e-970b-1107-b4fdeeb8b7dc'::uuid;

-- Query #39797 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39798 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59faf975-e848-7929-e3a1-9869eebbc3da'::uuid;

-- Query #39799 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59faf975-e848-7929-e3a1-9869eebbc3da'::uuid]);

-- Query #39800 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '59faf975-e848-7929-e3a1-9869eebbc3da'::uuid;

-- Query #39801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59faf975-e848-7929-e3a1-9869eebbc3da'::uuid, 'Imdb', 'tt4303618')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59faf975-e848-7929-e3a1-9869eebbc3da'::uuid, 'Tvdb', 5059740)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59faf975-e848-7929-e3a1-9869eebbc3da'::uuid, 'TvMaze', 91984)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('59faf975-e848-7929-e3a1-9869eebbc3da'::uuid, 'TvRage', 1065732175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39805 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59faf975-e848-7929-e3a1-9869eebbc3da'::uuid;

-- Query #39806 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '59faf975-e848-7929-e3a1-9869eebbc3da'::uuid;

-- Query #39807 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['59faf975-e848-7929-e3a1-9869eebbc3da'::uuid]);

-- Query #39808 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '59faf975-e848-7929-e3a1-9869eebbc3da'::uuid;

-- Query #39809 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39810 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5070cf45-963e-cde8-55dd-164d2e1e97a2'::uuid;

-- Query #39811 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5070cf45-963e-cde8-55dd-164d2e1e97a2'::uuid]);

-- Query #39812 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5070cf45-963e-cde8-55dd-164d2e1e97a2'::uuid;

-- Query #39813 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5070cf45-963e-cde8-55dd-164d2e1e97a2'::uuid, 'Imdb', 'tt4063326')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39814 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5070cf45-963e-cde8-55dd-164d2e1e97a2'::uuid, 'Tvdb', 4986303)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39815 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5070cf45-963e-cde8-55dd-164d2e1e97a2'::uuid, 'TvMaze', 4738)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39816 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5070cf45-963e-cde8-55dd-164d2e1e97a2'::uuid, 'TvRage', 1065673283)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39817 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5070cf45-963e-cde8-55dd-164d2e1e97a2'::uuid;

-- Query #39818 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5070cf45-963e-cde8-55dd-164d2e1e97a2'::uuid;

-- Query #39819 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5070cf45-963e-cde8-55dd-164d2e1e97a2'::uuid]);

-- Query #39820 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5070cf45-963e-cde8-55dd-164d2e1e97a2'::uuid;

-- Query #39821 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39822 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a34a985e-b1be-1c4c-0f1b-0aaf85303a4b'::uuid;

-- Query #39823 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a34a985e-b1be-1c4c-0f1b-0aaf85303a4b'::uuid]);

-- Query #39824 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a34a985e-b1be-1c4c-0f1b-0aaf85303a4b'::uuid;

-- Query #39825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a34a985e-b1be-1c4c-0f1b-0aaf85303a4b'::uuid, 'Imdb', 'tt4389742')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a34a985e-b1be-1c4c-0f1b-0aaf85303a4b'::uuid, 'Tvdb', 5105146)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a34a985e-b1be-1c4c-0f1b-0aaf85303a4b'::uuid, 'TvMaze', 123080)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39828 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a34a985e-b1be-1c4c-0f1b-0aaf85303a4b'::uuid, 'TvRage', 1065746563)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39829 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a34a985e-b1be-1c4c-0f1b-0aaf85303a4b'::uuid;

-- Query #39830 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a34a985e-b1be-1c4c-0f1b-0aaf85303a4b'::uuid;

-- Query #39831 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a34a985e-b1be-1c4c-0f1b-0aaf85303a4b'::uuid]);

-- Query #39832 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a34a985e-b1be-1c4c-0f1b-0aaf85303a4b'::uuid;

-- Query #39833 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39834 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '33727d87-c9be-82b4-f09d-dbb5754b596f'::uuid;

-- Query #39835 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['33727d87-c9be-82b4-f09d-dbb5754b596f'::uuid]);

-- Query #39836 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '33727d87-c9be-82b4-f09d-dbb5754b596f'::uuid;

-- Query #39837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33727d87-c9be-82b4-f09d-dbb5754b596f'::uuid, 'Imdb', 'tt4464078')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33727d87-c9be-82b4-f09d-dbb5754b596f'::uuid, 'Tvdb', 5122791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33727d87-c9be-82b4-f09d-dbb5754b596f'::uuid, 'TvMaze', 142388)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39840 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '33727d87-c9be-82b4-f09d-dbb5754b596f'::uuid;

-- Query #39841 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '33727d87-c9be-82b4-f09d-dbb5754b596f'::uuid;

-- Query #39842 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['33727d87-c9be-82b4-f09d-dbb5754b596f'::uuid]);

-- Query #39843 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '33727d87-c9be-82b4-f09d-dbb5754b596f'::uuid;

-- Query #39844 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39845 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '26f398cd-b83d-69e9-5a77-88681d386d75'::uuid;

-- Query #39846 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['26f398cd-b83d-69e9-5a77-88681d386d75'::uuid]);

-- Query #39847 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '26f398cd-b83d-69e9-5a77-88681d386d75'::uuid;

-- Query #39848 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('26f398cd-b83d-69e9-5a77-88681d386d75'::uuid, 'Imdb', 'tt4241440')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39849 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('26f398cd-b83d-69e9-5a77-88681d386d75'::uuid, 'Tvdb', 5041941)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('26f398cd-b83d-69e9-5a77-88681d386d75'::uuid, 'TvMaze', 57562)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39851 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('26f398cd-b83d-69e9-5a77-88681d386d75'::uuid, 'TvRage', 1065722172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39852 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '26f398cd-b83d-69e9-5a77-88681d386d75'::uuid;

-- Query #39853 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '26f398cd-b83d-69e9-5a77-88681d386d75'::uuid;

-- Query #39854 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['26f398cd-b83d-69e9-5a77-88681d386d75'::uuid]);

-- Query #39855 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '26f398cd-b83d-69e9-5a77-88681d386d75'::uuid;

-- Query #39856 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39857 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bcc7cc99-0b3d-0074-175d-629eb9a47e8e'::uuid;

-- Query #39858 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcc7cc99-0b3d-0074-175d-629eb9a47e8e'::uuid]);

-- Query #39859 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bcc7cc99-0b3d-0074-175d-629eb9a47e8e'::uuid;

-- Query #39860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcc7cc99-0b3d-0074-175d-629eb9a47e8e'::uuid, 'Imdb', 'tt4132862')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcc7cc99-0b3d-0074-175d-629eb9a47e8e'::uuid, 'Tvdb', 5016604)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39862 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcc7cc99-0b3d-0074-175d-629eb9a47e8e'::uuid, 'TvMaze', 14548)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39863 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bcc7cc99-0b3d-0074-175d-629eb9a47e8e'::uuid, 'TvRage', 1065687815)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39864 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bcc7cc99-0b3d-0074-175d-629eb9a47e8e'::uuid;

-- Query #39865 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bcc7cc99-0b3d-0074-175d-629eb9a47e8e'::uuid;

-- Query #39866 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bcc7cc99-0b3d-0074-175d-629eb9a47e8e'::uuid]);

-- Query #39867 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bcc7cc99-0b3d-0074-175d-629eb9a47e8e'::uuid;

-- Query #39868 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39869 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82442e9c-eeee-b72c-2d28-208923f06894'::uuid;

-- Query #39870 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82442e9c-eeee-b72c-2d28-208923f06894'::uuid]);

-- Query #39871 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82442e9c-eeee-b72c-2d28-208923f06894'::uuid;

-- Query #39872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82442e9c-eeee-b72c-2d28-208923f06894'::uuid, 'Imdb', 'tt4464080')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39873 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82442e9c-eeee-b72c-2d28-208923f06894'::uuid, 'Tvdb', 5160953)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39874 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82442e9c-eeee-b72c-2d28-208923f06894'::uuid, 'TvMaze', 153479)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39875 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82442e9c-eeee-b72c-2d28-208923f06894'::uuid;

-- Query #39876 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82442e9c-eeee-b72c-2d28-208923f06894'::uuid;

-- Query #39877 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82442e9c-eeee-b72c-2d28-208923f06894'::uuid]);

-- Query #39878 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '82442e9c-eeee-b72c-2d28-208923f06894'::uuid;

-- Query #39879 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39880 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9cc9ce9f-3df5-fe21-c46e-a6459e4b1f59'::uuid;

-- Query #39881 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cc9ce9f-3df5-fe21-c46e-a6459e4b1f59'::uuid]);

-- Query #39882 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9cc9ce9f-3df5-fe21-c46e-a6459e4b1f59'::uuid;

-- Query #39883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9cc9ce9f-3df5-fe21-c46e-a6459e4b1f59'::uuid, 'Imdb', 'tt4454702')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39884 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9cc9ce9f-3df5-fe21-c46e-a6459e4b1f59'::uuid, 'Tvdb', 5122793)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39885 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9cc9ce9f-3df5-fe21-c46e-a6459e4b1f59'::uuid, 'TvMaze', 153337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39886 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9cc9ce9f-3df5-fe21-c46e-a6459e4b1f59'::uuid;

-- Query #39887 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9cc9ce9f-3df5-fe21-c46e-a6459e4b1f59'::uuid;

-- Query #39888 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9cc9ce9f-3df5-fe21-c46e-a6459e4b1f59'::uuid]);

-- Query #39889 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9cc9ce9f-3df5-fe21-c46e-a6459e4b1f59'::uuid;

-- Query #39890 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39891 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '93b8ad62-1593-4838-9fac-91d3c563a77d'::uuid;

-- Query #39892 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['93b8ad62-1593-4838-9fac-91d3c563a77d'::uuid]);

-- Query #39893 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '93b8ad62-1593-4838-9fac-91d3c563a77d'::uuid;

-- Query #39894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93b8ad62-1593-4838-9fac-91d3c563a77d'::uuid, 'Imdb', 'tt3722370')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39895 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93b8ad62-1593-4838-9fac-91d3c563a77d'::uuid, 'Tvdb', 4933960)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39896 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93b8ad62-1593-4838-9fac-91d3c563a77d'::uuid, 'TvMaze', 4737)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39897 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('93b8ad62-1593-4838-9fac-91d3c563a77d'::uuid, 'TvRage', 1065608485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39898 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '93b8ad62-1593-4838-9fac-91d3c563a77d'::uuid;

-- Query #39899 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '93b8ad62-1593-4838-9fac-91d3c563a77d'::uuid;

-- Query #39900 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['93b8ad62-1593-4838-9fac-91d3c563a77d'::uuid]);

-- Query #39901 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '93b8ad62-1593-4838-9fac-91d3c563a77d'::uuid;

-- Query #39902 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39903 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '025e31c7-77c0-1b08-00b9-d3362c9f545b'::uuid;

-- Query #39904 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['025e31c7-77c0-1b08-00b9-d3362c9f545b'::uuid]);

-- Query #39905 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '025e31c7-77c0-1b08-00b9-d3362c9f545b'::uuid;

-- Query #39906 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('025e31c7-77c0-1b08-00b9-d3362c9f545b'::uuid, 'Imdb', 'tt4085200')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39907 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('025e31c7-77c0-1b08-00b9-d3362c9f545b'::uuid, 'Tvdb', 5005438)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39908 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('025e31c7-77c0-1b08-00b9-d3362c9f545b'::uuid, 'TvMaze', 12550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39909 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('025e31c7-77c0-1b08-00b9-d3362c9f545b'::uuid, 'TvRage', 1065681856)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39910 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '025e31c7-77c0-1b08-00b9-d3362c9f545b'::uuid;

-- Query #39911 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '025e31c7-77c0-1b08-00b9-d3362c9f545b'::uuid;

-- Query #39912 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['025e31c7-77c0-1b08-00b9-d3362c9f545b'::uuid]);

-- Query #39913 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '025e31c7-77c0-1b08-00b9-d3362c9f545b'::uuid;

-- Query #39914 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39915 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #39916 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5fb508df-2e3f-1e5b-fe5d-5f90566ca37c'::uuid;

-- Query #39917 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5fb508df-2e3f-1e5b-fe5d-5f90566ca37c'::uuid]);

-- Query #39918 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5fb508df-2e3f-1e5b-fe5d-5f90566ca37c'::uuid;

-- Query #39919 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5fb508df-2e3f-1e5b-fe5d-5f90566ca37c'::uuid, 'Imdb', 'tt4464088')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39920 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5fb508df-2e3f-1e5b-fe5d-5f90566ca37c'::uuid, 'Tvdb', 5160954)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39921 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5fb508df-2e3f-1e5b-fe5d-5f90566ca37c'::uuid, 'TvMaze', 154110)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39922 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5fb508df-2e3f-1e5b-fe5d-5f90566ca37c'::uuid;

-- Query #39923 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5fb508df-2e3f-1e5b-fe5d-5f90566ca37c'::uuid;

-- Query #39924 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5fb508df-2e3f-1e5b-fe5d-5f90566ca37c'::uuid]);

-- Query #39925 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5fb508df-2e3f-1e5b-fe5d-5f90566ca37c'::uuid;

-- Query #39926 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39927 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58dd1685-48cd-ab1d-3007-57e7029b2770'::uuid;

-- Query #39928 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58dd1685-48cd-ab1d-3007-57e7029b2770'::uuid]);

-- Query #39929 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '58dd1685-48cd-ab1d-3007-57e7029b2770'::uuid;

-- Query #39930 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58dd1685-48cd-ab1d-3007-57e7029b2770'::uuid, 'Imdb', 'tt4166966')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39931 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58dd1685-48cd-ab1d-3007-57e7029b2770'::uuid, 'Tvdb', 5029272)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39932 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58dd1685-48cd-ab1d-3007-57e7029b2770'::uuid, 'TvMaze', 38910)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39933 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('58dd1685-48cd-ab1d-3007-57e7029b2770'::uuid, 'TvRage', 1065697315)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39934 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58dd1685-48cd-ab1d-3007-57e7029b2770'::uuid;

-- Query #39935 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '58dd1685-48cd-ab1d-3007-57e7029b2770'::uuid;

-- Query #39936 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['58dd1685-48cd-ab1d-3007-57e7029b2770'::uuid]);

-- Query #39937 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '58dd1685-48cd-ab1d-3007-57e7029b2770'::uuid;

-- Query #39938 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39939 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f44c0474-effa-b15a-71c9-d7c26f668bfb'::uuid;

-- Query #39940 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f44c0474-effa-b15a-71c9-d7c26f668bfb'::uuid]);

-- Query #39941 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f44c0474-effa-b15a-71c9-d7c26f668bfb'::uuid;

-- Query #39942 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f44c0474-effa-b15a-71c9-d7c26f668bfb'::uuid, 'Imdb', 'tt4389738')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39943 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f44c0474-effa-b15a-71c9-d7c26f668bfb'::uuid, 'Tvdb', 5069879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39944 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f44c0474-effa-b15a-71c9-d7c26f668bfb'::uuid, 'TvMaze', 122995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39945 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f44c0474-effa-b15a-71c9-d7c26f668bfb'::uuid;

-- Query #39946 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f44c0474-effa-b15a-71c9-d7c26f668bfb'::uuid;

-- Query #39947 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f44c0474-effa-b15a-71c9-d7c26f668bfb'::uuid]);

-- Query #39948 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f44c0474-effa-b15a-71c9-d7c26f668bfb'::uuid;

-- Query #39949 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39950 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f10a50ca-bcdf-1661-9ee7-6867ae4e5be7'::uuid;

-- Query #39951 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f10a50ca-bcdf-1661-9ee7-6867ae4e5be7'::uuid]);

-- Query #39952 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f10a50ca-bcdf-1661-9ee7-6867ae4e5be7'::uuid;

-- Query #39953 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f10a50ca-bcdf-1661-9ee7-6867ae4e5be7'::uuid, 'Imdb', 'tt4464076')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39954 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f10a50ca-bcdf-1661-9ee7-6867ae4e5be7'::uuid, 'Tvdb', 5122790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39955 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f10a50ca-bcdf-1661-9ee7-6867ae4e5be7'::uuid, 'TvMaze', 142387)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39956 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f10a50ca-bcdf-1661-9ee7-6867ae4e5be7'::uuid, 'TvRage', 1065760565)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39957 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f10a50ca-bcdf-1661-9ee7-6867ae4e5be7'::uuid;

-- Query #39958 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f10a50ca-bcdf-1661-9ee7-6867ae4e5be7'::uuid;

-- Query #39959 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f10a50ca-bcdf-1661-9ee7-6867ae4e5be7'::uuid]);

-- Query #39960 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f10a50ca-bcdf-1661-9ee7-6867ae4e5be7'::uuid;

-- Query #39961 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39962 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e05dbe8a-df05-063d-9348-b21210376811'::uuid;

-- Query #39963 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e05dbe8a-df05-063d-9348-b21210376811'::uuid]);

-- Query #39964 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e05dbe8a-df05-063d-9348-b21210376811'::uuid;

-- Query #39965 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e05dbe8a-df05-063d-9348-b21210376811'::uuid, 'Imdb', 'tt4203910')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39966 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e05dbe8a-df05-063d-9348-b21210376811'::uuid, 'Tvdb', 5041939)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e05dbe8a-df05-063d-9348-b21210376811'::uuid, 'TvMaze', 45303)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e05dbe8a-df05-063d-9348-b21210376811'::uuid, 'TvRage', 1065714502)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39969 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e05dbe8a-df05-063d-9348-b21210376811'::uuid;

-- Query #39970 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e05dbe8a-df05-063d-9348-b21210376811'::uuid;

-- Query #39971 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e05dbe8a-df05-063d-9348-b21210376811'::uuid]);

-- Query #39972 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e05dbe8a-df05-063d-9348-b21210376811'::uuid;

-- Query #39973 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39974 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab7f3612-e2d0-4e95-e970-c6d0fa4d7eb1'::uuid;

-- Query #39975 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab7f3612-e2d0-4e95-e970-c6d0fa4d7eb1'::uuid]);

-- Query #39976 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ab7f3612-e2d0-4e95-e970-c6d0fa4d7eb1'::uuid;

-- Query #39977 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab7f3612-e2d0-4e95-e970-c6d0fa4d7eb1'::uuid, 'Imdb', 'tt4102996')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab7f3612-e2d0-4e95-e970-c6d0fa4d7eb1'::uuid, 'Tvdb', 5010893)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab7f3612-e2d0-4e95-e970-c6d0fa4d7eb1'::uuid, 'TvMaze', 14021)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ab7f3612-e2d0-4e95-e970-c6d0fa4d7eb1'::uuid, 'TvRage', 1065684151)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39981 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ab7f3612-e2d0-4e95-e970-c6d0fa4d7eb1'::uuid;

-- Query #39982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ab7f3612-e2d0-4e95-e970-c6d0fa4d7eb1'::uuid;

-- Query #39983 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ab7f3612-e2d0-4e95-e970-c6d0fa4d7eb1'::uuid]);

-- Query #39984 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ab7f3612-e2d0-4e95-e970-c6d0fa4d7eb1'::uuid;

-- Query #39985 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39986 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '503bd6a9-6ce5-efd3-327a-37bab0e4497b'::uuid;

-- Query #39987 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['503bd6a9-6ce5-efd3-327a-37bab0e4497b'::uuid]);

-- Query #39988 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '503bd6a9-6ce5-efd3-327a-37bab0e4497b'::uuid;

-- Query #39989 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('503bd6a9-6ce5-efd3-327a-37bab0e4497b'::uuid, 'Imdb', 'tt5200458')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('503bd6a9-6ce5-efd3-327a-37bab0e4497b'::uuid, 'TvRage', 1065886107)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('503bd6a9-6ce5-efd3-327a-37bab0e4497b'::uuid, 'TvMaze', 587027)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('503bd6a9-6ce5-efd3-327a-37bab0e4497b'::uuid, 'Tvdb', 5482601)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #39993 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '503bd6a9-6ce5-efd3-327a-37bab0e4497b'::uuid;

-- Query #39994 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '503bd6a9-6ce5-efd3-327a-37bab0e4497b'::uuid;

-- Query #39995 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['503bd6a9-6ce5-efd3-327a-37bab0e4497b'::uuid]);

-- Query #39996 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '503bd6a9-6ce5-efd3-327a-37bab0e4497b'::uuid;

-- Query #39997 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #39998 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '68120ed0-7151-6ec0-a798-72a23a195317'::uuid;

-- Query #39999 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68120ed0-7151-6ec0-a798-72a23a195317'::uuid]);

-- Query #40000 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '68120ed0-7151-6ec0-a798-72a23a195317'::uuid;

-- Query #40001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68120ed0-7151-6ec0-a798-72a23a195317'::uuid, 'Imdb', 'tt5197990')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68120ed0-7151-6ec0-a798-72a23a195317'::uuid, 'TvRage', 1065880753)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68120ed0-7151-6ec0-a798-72a23a195317'::uuid, 'TvMaze', 402673)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('68120ed0-7151-6ec0-a798-72a23a195317'::uuid, 'Tvdb', 5374719)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40005 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '68120ed0-7151-6ec0-a798-72a23a195317'::uuid;

-- Query #40006 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '68120ed0-7151-6ec0-a798-72a23a195317'::uuid;

-- Query #40007 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['68120ed0-7151-6ec0-a798-72a23a195317'::uuid]);

-- Query #40008 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '68120ed0-7151-6ec0-a798-72a23a195317'::uuid;

-- Query #40009 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40010 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '77e39cf4-e443-577c-6adf-66b7734fe5db'::uuid;

-- Query #40011 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77e39cf4-e443-577c-6adf-66b7734fe5db'::uuid]);

-- Query #40012 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '77e39cf4-e443-577c-6adf-66b7734fe5db'::uuid;

-- Query #40013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77e39cf4-e443-577c-6adf-66b7734fe5db'::uuid, 'Imdb', 'tt5056418')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77e39cf4-e443-577c-6adf-66b7734fe5db'::uuid, 'TvRage', 1065880748)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77e39cf4-e443-577c-6adf-66b7734fe5db'::uuid, 'TvMaze', 240883)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40016 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('77e39cf4-e443-577c-6adf-66b7734fe5db'::uuid, 'Tvdb', 5333807)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40017 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '77e39cf4-e443-577c-6adf-66b7734fe5db'::uuid;

-- Query #40018 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '77e39cf4-e443-577c-6adf-66b7734fe5db'::uuid;

-- Query #40019 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['77e39cf4-e443-577c-6adf-66b7734fe5db'::uuid]);

-- Query #40020 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '77e39cf4-e443-577c-6adf-66b7734fe5db'::uuid;

-- Query #40021 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40022 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dbf68980-52c2-cff1-ec67-e816b39d54c9'::uuid;

-- Query #40023 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dbf68980-52c2-cff1-ec67-e816b39d54c9'::uuid]);

-- Query #40024 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dbf68980-52c2-cff1-ec67-e816b39d54c9'::uuid;

-- Query #40025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbf68980-52c2-cff1-ec67-e816b39d54c9'::uuid, 'Imdb', 'tt5357382')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbf68980-52c2-cff1-ec67-e816b39d54c9'::uuid, 'TvRage', 1065898654)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40027 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbf68980-52c2-cff1-ec67-e816b39d54c9'::uuid, 'TvMaze', 622466)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40028 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dbf68980-52c2-cff1-ec67-e816b39d54c9'::uuid, 'Tvdb', 5509579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40029 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dbf68980-52c2-cff1-ec67-e816b39d54c9'::uuid;

-- Query #40030 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dbf68980-52c2-cff1-ec67-e816b39d54c9'::uuid;

-- Query #40031 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dbf68980-52c2-cff1-ec67-e816b39d54c9'::uuid]);

-- Query #40032 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dbf68980-52c2-cff1-ec67-e816b39d54c9'::uuid;

-- Query #40033 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40034 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e42927d7-5131-8432-b519-5d8a93312245'::uuid;

-- Query #40035 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e42927d7-5131-8432-b519-5d8a93312245'::uuid]);

-- Query #40036 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e42927d7-5131-8432-b519-5d8a93312245'::uuid;

-- Query #40037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e42927d7-5131-8432-b519-5d8a93312245'::uuid, 'Imdb', 'tt5357400')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40038 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e42927d7-5131-8432-b519-5d8a93312245'::uuid, 'TvMaze', 694550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40039 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e42927d7-5131-8432-b519-5d8a93312245'::uuid, 'Tvdb', 5571503)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40040 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e42927d7-5131-8432-b519-5d8a93312245'::uuid;

-- Query #40041 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e42927d7-5131-8432-b519-5d8a93312245'::uuid;

-- Query #40042 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e42927d7-5131-8432-b519-5d8a93312245'::uuid]);

-- Query #40043 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e42927d7-5131-8432-b519-5d8a93312245'::uuid;

-- Query #40044 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40045 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5be6122f-36b4-2e85-0ece-2c60de0d9435'::uuid;

-- Query #40046 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5be6122f-36b4-2e85-0ece-2c60de0d9435'::uuid]);

-- Query #40047 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5be6122f-36b4-2e85-0ece-2c60de0d9435'::uuid;

-- Query #40048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5be6122f-36b4-2e85-0ece-2c60de0d9435'::uuid, 'Imdb', 'tt4941946')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5be6122f-36b4-2e85-0ece-2c60de0d9435'::uuid, 'TvRage', 1065857472)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5be6122f-36b4-2e85-0ece-2c60de0d9435'::uuid, 'TvMaze', 204207)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5be6122f-36b4-2e85-0ece-2c60de0d9435'::uuid, 'Tvdb', 5307012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40052 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5be6122f-36b4-2e85-0ece-2c60de0d9435'::uuid;

-- Query #40053 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5be6122f-36b4-2e85-0ece-2c60de0d9435'::uuid;

-- Query #40054 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5be6122f-36b4-2e85-0ece-2c60de0d9435'::uuid]);

-- Query #40055 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5be6122f-36b4-2e85-0ece-2c60de0d9435'::uuid;

-- Query #40056 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40057 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3adc9886-dd86-9e2a-a213-d1dd40360cf8'::uuid;

-- Query #40058 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3adc9886-dd86-9e2a-a213-d1dd40360cf8'::uuid]);

-- Query #40059 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3adc9886-dd86-9e2a-a213-d1dd40360cf8'::uuid;

-- Query #40060 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3adc9886-dd86-9e2a-a213-d1dd40360cf8'::uuid, 'Imdb', 'tt5357406')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3adc9886-dd86-9e2a-a213-d1dd40360cf8'::uuid, 'TvMaze', 694551)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3adc9886-dd86-9e2a-a213-d1dd40360cf8'::uuid, 'Tvdb', 5571504)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40063 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3adc9886-dd86-9e2a-a213-d1dd40360cf8'::uuid;

-- Query #40064 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3adc9886-dd86-9e2a-a213-d1dd40360cf8'::uuid;

-- Query #40065 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3adc9886-dd86-9e2a-a213-d1dd40360cf8'::uuid]);

-- Query #40066 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3adc9886-dd86-9e2a-a213-d1dd40360cf8'::uuid;

-- Query #40067 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40068 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9da658e1-1588-e2cc-2ff2-412edf6fe504'::uuid;

-- Query #40069 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9da658e1-1588-e2cc-2ff2-412edf6fe504'::uuid]);

-- Query #40070 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9da658e1-1588-e2cc-2ff2-412edf6fe504'::uuid;

-- Query #40071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9da658e1-1588-e2cc-2ff2-412edf6fe504'::uuid, 'Imdb', 'tt5357386')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9da658e1-1588-e2cc-2ff2-412edf6fe504'::uuid, 'TvMaze', 643431)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9da658e1-1588-e2cc-2ff2-412edf6fe504'::uuid, 'Tvdb', 5542501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40074 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9da658e1-1588-e2cc-2ff2-412edf6fe504'::uuid;

-- Query #40075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9da658e1-1588-e2cc-2ff2-412edf6fe504'::uuid;

-- Query #40076 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9da658e1-1588-e2cc-2ff2-412edf6fe504'::uuid]);

-- Query #40077 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9da658e1-1588-e2cc-2ff2-412edf6fe504'::uuid;

-- Query #40078 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40079 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1872fa28-3c2a-259d-59ae-751198c9f06c'::uuid;

-- Query #40080 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1872fa28-3c2a-259d-59ae-751198c9f06c'::uuid]);

-- Query #40081 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1872fa28-3c2a-259d-59ae-751198c9f06c'::uuid;

-- Query #40082 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1872fa28-3c2a-259d-59ae-751198c9f06c'::uuid, 'Tvdb', 5483437)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40083 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1872fa28-3c2a-259d-59ae-751198c9f06c'::uuid, 'Imdb', 'tt5265080')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40084 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1872fa28-3c2a-259d-59ae-751198c9f06c'::uuid, 'TvRage', 1065894818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40085 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1872fa28-3c2a-259d-59ae-751198c9f06c'::uuid, 'TvMaze', 614393)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40086 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1872fa28-3c2a-259d-59ae-751198c9f06c'::uuid;

-- Query #40087 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1872fa28-3c2a-259d-59ae-751198c9f06c'::uuid;

-- Query #40088 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1872fa28-3c2a-259d-59ae-751198c9f06c'::uuid]);

-- Query #40089 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1872fa28-3c2a-259d-59ae-751198c9f06c'::uuid;

-- Query #40090 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40091 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cd23efd4-dc11-1cc4-1045-725e4ffe6358'::uuid;

-- Query #40092 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cd23efd4-dc11-1cc4-1045-725e4ffe6358'::uuid]);

-- Query #40093 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cd23efd4-dc11-1cc4-1045-725e4ffe6358'::uuid;

-- Query #40094 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd23efd4-dc11-1cc4-1045-725e4ffe6358'::uuid, 'Imdb', 'tt5357396')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40095 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd23efd4-dc11-1cc4-1045-725e4ffe6358'::uuid, 'TvMaze', 663419)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40096 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd23efd4-dc11-1cc4-1045-725e4ffe6358'::uuid, 'Tvdb', 5557197)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40097 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cd23efd4-dc11-1cc4-1045-725e4ffe6358'::uuid;

-- Query #40098 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cd23efd4-dc11-1cc4-1045-725e4ffe6358'::uuid;

-- Query #40099 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cd23efd4-dc11-1cc4-1045-725e4ffe6358'::uuid]);

-- Query #40100 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cd23efd4-dc11-1cc4-1045-725e4ffe6358'::uuid;

-- Query #40101 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40102 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a747e62b-ab6b-b8a4-fd6c-bfd0bfa59e44'::uuid;

-- Query #40103 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a747e62b-ab6b-b8a4-fd6c-bfd0bfa59e44'::uuid]);

-- Query #40104 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a747e62b-ab6b-b8a4-fd6c-bfd0bfa59e44'::uuid;

-- Query #40105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a747e62b-ab6b-b8a4-fd6c-bfd0bfa59e44'::uuid, 'Imdb', 'tt5143558')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40106 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a747e62b-ab6b-b8a4-fd6c-bfd0bfa59e44'::uuid, 'TvRage', 1065880751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40107 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a747e62b-ab6b-b8a4-fd6c-bfd0bfa59e44'::uuid, 'TvMaze', 240886)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40108 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a747e62b-ab6b-b8a4-fd6c-bfd0bfa59e44'::uuid, 'Tvdb', 5333810)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40109 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a747e62b-ab6b-b8a4-fd6c-bfd0bfa59e44'::uuid;

-- Query #40110 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a747e62b-ab6b-b8a4-fd6c-bfd0bfa59e44'::uuid;

-- Query #40111 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a747e62b-ab6b-b8a4-fd6c-bfd0bfa59e44'::uuid]);

-- Query #40112 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a747e62b-ab6b-b8a4-fd6c-bfd0bfa59e44'::uuid;

-- Query #40113 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40114 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '25719c7e-68e3-88d5-80d8-659a24be97e9'::uuid;

-- Query #40115 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25719c7e-68e3-88d5-80d8-659a24be97e9'::uuid]);

-- Query #40116 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '25719c7e-68e3-88d5-80d8-659a24be97e9'::uuid;

-- Query #40117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25719c7e-68e3-88d5-80d8-659a24be97e9'::uuid, 'Imdb', 'tt5357390')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25719c7e-68e3-88d5-80d8-659a24be97e9'::uuid, 'TvMaze', 663418)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25719c7e-68e3-88d5-80d8-659a24be97e9'::uuid, 'Tvdb', 5557196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40120 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '25719c7e-68e3-88d5-80d8-659a24be97e9'::uuid;

-- Query #40121 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '25719c7e-68e3-88d5-80d8-659a24be97e9'::uuid;

-- Query #40122 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['25719c7e-68e3-88d5-80d8-659a24be97e9'::uuid]);

-- Query #40123 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '25719c7e-68e3-88d5-80d8-659a24be97e9'::uuid;

-- Query #40124 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40125 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3c5af9b-c064-5d57-1ee2-a7b04f580d38'::uuid;

-- Query #40126 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3c5af9b-c064-5d57-1ee2-a7b04f580d38'::uuid]);

-- Query #40127 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f3c5af9b-c064-5d57-1ee2-a7b04f580d38'::uuid;

-- Query #40128 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3c5af9b-c064-5d57-1ee2-a7b04f580d38'::uuid, 'Imdb', 'tt5042714')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40129 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3c5af9b-c064-5d57-1ee2-a7b04f580d38'::uuid, 'TvRage', 1065880755)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40130 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3c5af9b-c064-5d57-1ee2-a7b04f580d38'::uuid, 'TvMaze', 486872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f3c5af9b-c064-5d57-1ee2-a7b04f580d38'::uuid, 'Tvdb', 5374722)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40132 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3c5af9b-c064-5d57-1ee2-a7b04f580d38'::uuid;

-- Query #40133 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f3c5af9b-c064-5d57-1ee2-a7b04f580d38'::uuid;

-- Query #40134 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f3c5af9b-c064-5d57-1ee2-a7b04f580d38'::uuid]);

-- Query #40135 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f3c5af9b-c064-5d57-1ee2-a7b04f580d38'::uuid;

-- Query #40136 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40137 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81110bf6-f086-3d70-eb33-79e85f077355'::uuid;

-- Query #40138 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['81110bf6-f086-3d70-eb33-79e85f077355'::uuid]);

-- Query #40139 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '81110bf6-f086-3d70-eb33-79e85f077355'::uuid;

-- Query #40140 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81110bf6-f086-3d70-eb33-79e85f077355'::uuid, 'Imdb', 'tt5357398')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40141 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81110bf6-f086-3d70-eb33-79e85f077355'::uuid, 'TvMaze', 694548)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40142 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81110bf6-f086-3d70-eb33-79e85f077355'::uuid, 'Tvdb', 5571502)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40143 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81110bf6-f086-3d70-eb33-79e85f077355'::uuid;

-- Query #40144 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '81110bf6-f086-3d70-eb33-79e85f077355'::uuid;

-- Query #40145 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['81110bf6-f086-3d70-eb33-79e85f077355'::uuid]);

-- Query #40146 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '81110bf6-f086-3d70-eb33-79e85f077355'::uuid;

-- Query #40147 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40148 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f241d23c-f409-02ec-4735-47be39261915'::uuid;

-- Query #40149 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f241d23c-f409-02ec-4735-47be39261915'::uuid]);

-- Query #40150 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f241d23c-f409-02ec-4735-47be39261915'::uuid;

-- Query #40151 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f241d23c-f409-02ec-4735-47be39261915'::uuid, 'Tvdb', 5333808)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40152 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f241d23c-f409-02ec-4735-47be39261915'::uuid, 'Imdb', 'tt5015956')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40153 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f241d23c-f409-02ec-4735-47be39261915'::uuid, 'TvRage', 1065880749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40154 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f241d23c-f409-02ec-4735-47be39261915'::uuid, 'TvMaze', 240884)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40155 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f241d23c-f409-02ec-4735-47be39261915'::uuid;

-- Query #40156 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f241d23c-f409-02ec-4735-47be39261915'::uuid;

-- Query #40157 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f241d23c-f409-02ec-4735-47be39261915'::uuid]);

-- Query #40158 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f241d23c-f409-02ec-4735-47be39261915'::uuid;

-- Query #40159 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40160 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #40161 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e5e2619-26bd-48c7-e550-f65851069269'::uuid;

-- Query #40162 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e5e2619-26bd-48c7-e550-f65851069269'::uuid]);

-- Query #40163 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3e5e2619-26bd-48c7-e550-f65851069269'::uuid;

-- Query #40164 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e5e2619-26bd-48c7-e550-f65851069269'::uuid, 'Imdb', 'tt5042722')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40165 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e5e2619-26bd-48c7-e550-f65851069269'::uuid, 'TvRage', 1065880756)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e5e2619-26bd-48c7-e550-f65851069269'::uuid, 'TvMaze', 538528)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e5e2619-26bd-48c7-e550-f65851069269'::uuid, 'Tvdb', 5406724)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40168 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e5e2619-26bd-48c7-e550-f65851069269'::uuid;

-- Query #40169 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3e5e2619-26bd-48c7-e550-f65851069269'::uuid;

-- Query #40170 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3e5e2619-26bd-48c7-e550-f65851069269'::uuid]);

-- Query #40171 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3e5e2619-26bd-48c7-e550-f65851069269'::uuid;

-- Query #40172 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40173 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ae34505-2396-16aa-7f25-76b1032bde82'::uuid;

-- Query #40174 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ae34505-2396-16aa-7f25-76b1032bde82'::uuid]);

-- Query #40175 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1ae34505-2396-16aa-7f25-76b1032bde82'::uuid;

-- Query #40176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ae34505-2396-16aa-7f25-76b1032bde82'::uuid, 'Imdb', 'tt5259588')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ae34505-2396-16aa-7f25-76b1032bde82'::uuid, 'TvRage', 1065892520)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ae34505-2396-16aa-7f25-76b1032bde82'::uuid, 'TvMaze', 574471)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40179 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1ae34505-2396-16aa-7f25-76b1032bde82'::uuid, 'Tvdb', 5482602)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40180 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ae34505-2396-16aa-7f25-76b1032bde82'::uuid;

-- Query #40181 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1ae34505-2396-16aa-7f25-76b1032bde82'::uuid;

-- Query #40182 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1ae34505-2396-16aa-7f25-76b1032bde82'::uuid]);

-- Query #40183 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1ae34505-2396-16aa-7f25-76b1032bde82'::uuid;

-- Query #40184 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40185 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14ecbd1f-3e90-03aa-f527-4928c9c8ad8c'::uuid;

-- Query #40186 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14ecbd1f-3e90-03aa-f527-4928c9c8ad8c'::uuid]);

-- Query #40187 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '14ecbd1f-3e90-03aa-f527-4928c9c8ad8c'::uuid;

-- Query #40188 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14ecbd1f-3e90-03aa-f527-4928c9c8ad8c'::uuid, 'Imdb', 'tt4695160')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14ecbd1f-3e90-03aa-f527-4928c9c8ad8c'::uuid, 'TvRage', 1065823629)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14ecbd1f-3e90-03aa-f527-4928c9c8ad8c'::uuid, 'TvMaze', 204206)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('14ecbd1f-3e90-03aa-f527-4928c9c8ad8c'::uuid, 'Tvdb', 5248993)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40192 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14ecbd1f-3e90-03aa-f527-4928c9c8ad8c'::uuid;

-- Query #40193 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '14ecbd1f-3e90-03aa-f527-4928c9c8ad8c'::uuid;

-- Query #40194 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['14ecbd1f-3e90-03aa-f527-4928c9c8ad8c'::uuid]);

-- Query #40195 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '14ecbd1f-3e90-03aa-f527-4928c9c8ad8c'::uuid;

-- Query #40196 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40197 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13ce0552-64c5-29c9-3c8b-1e1bf5aa1558'::uuid;

-- Query #40198 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13ce0552-64c5-29c9-3c8b-1e1bf5aa1558'::uuid]);

-- Query #40199 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '13ce0552-64c5-29c9-3c8b-1e1bf5aa1558'::uuid;

-- Query #40200 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13ce0552-64c5-29c9-3c8b-1e1bf5aa1558'::uuid, 'Imdb', 'tt5244906')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40201 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13ce0552-64c5-29c9-3c8b-1e1bf5aa1558'::uuid, 'TvRage', 1065888821)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40202 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13ce0552-64c5-29c9-3c8b-1e1bf5aa1558'::uuid, 'TvMaze', 574774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40203 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13ce0552-64c5-29c9-3c8b-1e1bf5aa1558'::uuid, 'Tvdb', 5482600)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40204 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13ce0552-64c5-29c9-3c8b-1e1bf5aa1558'::uuid;

-- Query #40205 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '13ce0552-64c5-29c9-3c8b-1e1bf5aa1558'::uuid;

-- Query #40206 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['13ce0552-64c5-29c9-3c8b-1e1bf5aa1558'::uuid]);

-- Query #40207 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '13ce0552-64c5-29c9-3c8b-1e1bf5aa1558'::uuid;

-- Query #40208 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40209 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36ec7024-de42-ec7d-0b77-75be114b1b7f'::uuid;

-- Query #40210 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['36ec7024-de42-ec7d-0b77-75be114b1b7f'::uuid]);

-- Query #40211 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '36ec7024-de42-ec7d-0b77-75be114b1b7f'::uuid;

-- Query #40212 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36ec7024-de42-ec7d-0b77-75be114b1b7f'::uuid, 'Imdb', 'tt5115000')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40213 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36ec7024-de42-ec7d-0b77-75be114b1b7f'::uuid, 'TvRage', 1065880750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36ec7024-de42-ec7d-0b77-75be114b1b7f'::uuid, 'TvMaze', 240885)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('36ec7024-de42-ec7d-0b77-75be114b1b7f'::uuid, 'Tvdb', 5333809)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40216 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36ec7024-de42-ec7d-0b77-75be114b1b7f'::uuid;

-- Query #40217 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '36ec7024-de42-ec7d-0b77-75be114b1b7f'::uuid;

-- Query #40218 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['36ec7024-de42-ec7d-0b77-75be114b1b7f'::uuid]);

-- Query #40219 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '36ec7024-de42-ec7d-0b77-75be114b1b7f'::uuid;

-- Query #40220 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40221 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf821d8c-6920-205b-2066-cc428838fe7a'::uuid;

-- Query #40222 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf821d8c-6920-205b-2066-cc428838fe7a'::uuid]);

-- Query #40223 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bf821d8c-6920-205b-2066-cc428838fe7a'::uuid;

-- Query #40224 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf821d8c-6920-205b-2066-cc428838fe7a'::uuid, 'Imdb', 'tt5209922')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40225 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf821d8c-6920-205b-2066-cc428838fe7a'::uuid, 'TvRage', 1065880754)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40226 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf821d8c-6920-205b-2066-cc428838fe7a'::uuid, 'TvMaze', 402674)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40227 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf821d8c-6920-205b-2066-cc428838fe7a'::uuid, 'Tvdb', 5374721)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40228 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf821d8c-6920-205b-2066-cc428838fe7a'::uuid;

-- Query #40229 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bf821d8c-6920-205b-2066-cc428838fe7a'::uuid;

-- Query #40230 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bf821d8c-6920-205b-2066-cc428838fe7a'::uuid]);

-- Query #40231 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bf821d8c-6920-205b-2066-cc428838fe7a'::uuid;

-- Query #40232 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40233 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55beeb5c-d801-ecd2-efe8-dd31b2af77b9'::uuid;

-- Query #40234 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['55beeb5c-d801-ecd2-efe8-dd31b2af77b9'::uuid]);

-- Query #40235 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '55beeb5c-d801-ecd2-efe8-dd31b2af77b9'::uuid;

-- Query #40236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55beeb5c-d801-ecd2-efe8-dd31b2af77b9'::uuid, 'Imdb', 'tt6189510')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40237 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55beeb5c-d801-ecd2-efe8-dd31b2af77b9'::uuid, 'TvMaze', 989608)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40238 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55beeb5c-d801-ecd2-efe8-dd31b2af77b9'::uuid, 'Tvdb', 5840610)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55beeb5c-d801-ecd2-efe8-dd31b2af77b9'::uuid;

-- Query #40240 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '55beeb5c-d801-ecd2-efe8-dd31b2af77b9'::uuid;

-- Query #40241 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['55beeb5c-d801-ecd2-efe8-dd31b2af77b9'::uuid]);

-- Query #40242 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '55beeb5c-d801-ecd2-efe8-dd31b2af77b9'::uuid;

-- Query #40243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4e59fa7-31b0-63d6-b02f-b874c8ea985c'::uuid;

-- Query #40245 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c4e59fa7-31b0-63d6-b02f-b874c8ea985c'::uuid]);

-- Query #40246 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c4e59fa7-31b0-63d6-b02f-b874c8ea985c'::uuid;

-- Query #40247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4e59fa7-31b0-63d6-b02f-b874c8ea985c'::uuid, 'Imdb', 'tt6412100')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4e59fa7-31b0-63d6-b02f-b874c8ea985c'::uuid, 'TvMaze', 1075115)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4e59fa7-31b0-63d6-b02f-b874c8ea985c'::uuid, 'Tvdb', 5979426)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40250 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4e59fa7-31b0-63d6-b02f-b874c8ea985c'::uuid;

-- Query #40251 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c4e59fa7-31b0-63d6-b02f-b874c8ea985c'::uuid;

-- Query #40252 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c4e59fa7-31b0-63d6-b02f-b874c8ea985c'::uuid]);

-- Query #40253 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c4e59fa7-31b0-63d6-b02f-b874c8ea985c'::uuid;

-- Query #40254 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40255 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef19dc2d-10d8-7529-b01b-c6e8c0f165f7'::uuid;

-- Query #40256 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef19dc2d-10d8-7529-b01b-c6e8c0f165f7'::uuid]);

-- Query #40257 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ef19dc2d-10d8-7529-b01b-c6e8c0f165f7'::uuid;

-- Query #40258 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef19dc2d-10d8-7529-b01b-c6e8c0f165f7'::uuid, 'Imdb', 'tt5042724')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40259 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef19dc2d-10d8-7529-b01b-c6e8c0f165f7'::uuid, 'TvMaze', 927172)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40260 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ef19dc2d-10d8-7529-b01b-c6e8c0f165f7'::uuid, 'Tvdb', 5734358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40261 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ef19dc2d-10d8-7529-b01b-c6e8c0f165f7'::uuid;

-- Query #40262 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ef19dc2d-10d8-7529-b01b-c6e8c0f165f7'::uuid;

-- Query #40263 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ef19dc2d-10d8-7529-b01b-c6e8c0f165f7'::uuid]);

-- Query #40264 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ef19dc2d-10d8-7529-b01b-c6e8c0f165f7'::uuid;

-- Query #40265 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40266 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'acbcd3c7-2a20-dde6-7b56-9c1d72be745d'::uuid;

-- Query #40267 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['acbcd3c7-2a20-dde6-7b56-9c1d72be745d'::uuid]);

-- Query #40268 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'acbcd3c7-2a20-dde6-7b56-9c1d72be745d'::uuid;

-- Query #40269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acbcd3c7-2a20-dde6-7b56-9c1d72be745d'::uuid, 'Imdb', 'tt6264670')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40270 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acbcd3c7-2a20-dde6-7b56-9c1d72be745d'::uuid, 'TvMaze', 1049354)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40271 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('acbcd3c7-2a20-dde6-7b56-9c1d72be745d'::uuid, 'Tvdb', 5966852)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'acbcd3c7-2a20-dde6-7b56-9c1d72be745d'::uuid;

-- Query #40273 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'acbcd3c7-2a20-dde6-7b56-9c1d72be745d'::uuid;

-- Query #40274 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['acbcd3c7-2a20-dde6-7b56-9c1d72be745d'::uuid]);

-- Query #40275 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'acbcd3c7-2a20-dde6-7b56-9c1d72be745d'::uuid;

-- Query #40276 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40277 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2423bfe5-c646-abd4-0989-d454e22be094'::uuid;

-- Query #40278 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2423bfe5-c646-abd4-0989-d454e22be094'::uuid]);

-- Query #40279 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2423bfe5-c646-abd4-0989-d454e22be094'::uuid;

-- Query #40280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2423bfe5-c646-abd4-0989-d454e22be094'::uuid, 'Imdb', 'tt6300120')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2423bfe5-c646-abd4-0989-d454e22be094'::uuid, 'TvMaze', 1043408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40282 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2423bfe5-c646-abd4-0989-d454e22be094'::uuid, 'Tvdb', 5924667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40283 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2423bfe5-c646-abd4-0989-d454e22be094'::uuid;

-- Query #40284 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2423bfe5-c646-abd4-0989-d454e22be094'::uuid;

-- Query #40285 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2423bfe5-c646-abd4-0989-d454e22be094'::uuid]);

-- Query #40286 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2423bfe5-c646-abd4-0989-d454e22be094'::uuid;

-- Query #40287 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40288 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '718ab1c3-0c47-cd4b-899c-e0e208ce3f43'::uuid;

-- Query #40289 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['718ab1c3-0c47-cd4b-899c-e0e208ce3f43'::uuid]);

-- Query #40290 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '718ab1c3-0c47-cd4b-899c-e0e208ce3f43'::uuid;

-- Query #40291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('718ab1c3-0c47-cd4b-899c-e0e208ce3f43'::uuid, 'Imdb', 'tt6412096')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('718ab1c3-0c47-cd4b-899c-e0e208ce3f43'::uuid, 'TvMaze', 1056995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('718ab1c3-0c47-cd4b-899c-e0e208ce3f43'::uuid, 'Tvdb', 5930403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40294 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '718ab1c3-0c47-cd4b-899c-e0e208ce3f43'::uuid;

-- Query #40295 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '718ab1c3-0c47-cd4b-899c-e0e208ce3f43'::uuid;

-- Query #40296 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['718ab1c3-0c47-cd4b-899c-e0e208ce3f43'::uuid]);

-- Query #40297 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '718ab1c3-0c47-cd4b-899c-e0e208ce3f43'::uuid;

-- Query #40298 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40299 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1bdfdb5-0df0-2304-c188-8611f14dcc4a'::uuid;

-- Query #40300 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a1bdfdb5-0df0-2304-c188-8611f14dcc4a'::uuid]);

-- Query #40301 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a1bdfdb5-0df0-2304-c188-8611f14dcc4a'::uuid;

-- Query #40302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1bdfdb5-0df0-2304-c188-8611f14dcc4a'::uuid, 'Imdb', 'tt6421472')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1bdfdb5-0df0-2304-c188-8611f14dcc4a'::uuid, 'TvMaze', 1096408)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a1bdfdb5-0df0-2304-c188-8611f14dcc4a'::uuid, 'Tvdb', 6006044)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40305 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1bdfdb5-0df0-2304-c188-8611f14dcc4a'::uuid;

-- Query #40306 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a1bdfdb5-0df0-2304-c188-8611f14dcc4a'::uuid;

-- Query #40307 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a1bdfdb5-0df0-2304-c188-8611f14dcc4a'::uuid]);

-- Query #40308 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a1bdfdb5-0df0-2304-c188-8611f14dcc4a'::uuid;

-- Query #40309 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40310 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4fffc9b-81bb-0582-bea4-f339f04a03e0'::uuid;

-- Query #40311 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c4fffc9b-81bb-0582-bea4-f339f04a03e0'::uuid]);

-- Query #40312 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c4fffc9b-81bb-0582-bea4-f339f04a03e0'::uuid;

-- Query #40313 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4fffc9b-81bb-0582-bea4-f339f04a03e0'::uuid, 'Imdb', 'tt6421474')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4fffc9b-81bb-0582-bea4-f339f04a03e0'::uuid, 'TvMaze', 1096485)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40315 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4fffc9b-81bb-0582-bea4-f339f04a03e0'::uuid, 'Tvdb', 6006045)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40316 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4fffc9b-81bb-0582-bea4-f339f04a03e0'::uuid;

-- Query #40317 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c4fffc9b-81bb-0582-bea4-f339f04a03e0'::uuid;

-- Query #40318 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c4fffc9b-81bb-0582-bea4-f339f04a03e0'::uuid]);

-- Query #40319 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c4fffc9b-81bb-0582-bea4-f339f04a03e0'::uuid;

-- Query #40320 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40321 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a1887ff-2fd5-b829-405b-dfffecc326fb'::uuid;

-- Query #40322 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a1887ff-2fd5-b829-405b-dfffecc326fb'::uuid]);

-- Query #40323 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4a1887ff-2fd5-b829-405b-dfffecc326fb'::uuid;

-- Query #40324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a1887ff-2fd5-b829-405b-dfffecc326fb'::uuid, 'Imdb', 'tt6074546')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a1887ff-2fd5-b829-405b-dfffecc326fb'::uuid, 'TvMaze', 968579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a1887ff-2fd5-b829-405b-dfffecc326fb'::uuid, 'Tvdb', 5796551)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40327 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a1887ff-2fd5-b829-405b-dfffecc326fb'::uuid;

-- Query #40328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4a1887ff-2fd5-b829-405b-dfffecc326fb'::uuid;

-- Query #40329 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4a1887ff-2fd5-b829-405b-dfffecc326fb'::uuid]);

-- Query #40330 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4a1887ff-2fd5-b829-405b-dfffecc326fb'::uuid;

-- Query #40331 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40332 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f38307eb-bfc0-6d94-67c9-a2ec53e09829'::uuid;

-- Query #40333 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f38307eb-bfc0-6d94-67c9-a2ec53e09829'::uuid]);

-- Query #40334 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f38307eb-bfc0-6d94-67c9-a2ec53e09829'::uuid;

-- Query #40335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f38307eb-bfc0-6d94-67c9-a2ec53e09829'::uuid, 'Imdb', 'tt5915114')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f38307eb-bfc0-6d94-67c9-a2ec53e09829'::uuid, 'TvMaze', 1096488)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f38307eb-bfc0-6d94-67c9-a2ec53e09829'::uuid, 'Tvdb', 6006048)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40338 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f38307eb-bfc0-6d94-67c9-a2ec53e09829'::uuid;

-- Query #40339 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f38307eb-bfc0-6d94-67c9-a2ec53e09829'::uuid;

-- Query #40340 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f38307eb-bfc0-6d94-67c9-a2ec53e09829'::uuid]);

-- Query #40341 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f38307eb-bfc0-6d94-67c9-a2ec53e09829'::uuid;

-- Query #40342 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40343 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3bf0cd0e-a3f6-240a-58c4-3734ff709ed7'::uuid;

-- Query #40344 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3bf0cd0e-a3f6-240a-58c4-3734ff709ed7'::uuid]);

-- Query #40345 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3bf0cd0e-a3f6-240a-58c4-3734ff709ed7'::uuid;

-- Query #40346 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bf0cd0e-a3f6-240a-58c4-3734ff709ed7'::uuid, 'Imdb', 'tt6074728')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40347 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bf0cd0e-a3f6-240a-58c4-3734ff709ed7'::uuid, 'TvMaze', 933244)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40348 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3bf0cd0e-a3f6-240a-58c4-3734ff709ed7'::uuid, 'Tvdb', 5734360)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40349 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3bf0cd0e-a3f6-240a-58c4-3734ff709ed7'::uuid;

-- Query #40350 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3bf0cd0e-a3f6-240a-58c4-3734ff709ed7'::uuid;

-- Query #40351 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3bf0cd0e-a3f6-240a-58c4-3734ff709ed7'::uuid]);

-- Query #40352 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3bf0cd0e-a3f6-240a-58c4-3734ff709ed7'::uuid;

-- Query #40353 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40354 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb2242ca-99ec-e3e1-2cb7-dc62acd05a92'::uuid;

-- Query #40355 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb2242ca-99ec-e3e1-2cb7-dc62acd05a92'::uuid]);

-- Query #40356 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cb2242ca-99ec-e3e1-2cb7-dc62acd05a92'::uuid;

-- Query #40357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb2242ca-99ec-e3e1-2cb7-dc62acd05a92'::uuid, 'Imdb', 'tt6320554')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb2242ca-99ec-e3e1-2cb7-dc62acd05a92'::uuid, 'TvMaze', 1066921)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb2242ca-99ec-e3e1-2cb7-dc62acd05a92'::uuid, 'Tvdb', 5944376)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb2242ca-99ec-e3e1-2cb7-dc62acd05a92'::uuid;

-- Query #40361 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cb2242ca-99ec-e3e1-2cb7-dc62acd05a92'::uuid;

-- Query #40362 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cb2242ca-99ec-e3e1-2cb7-dc62acd05a92'::uuid]);

-- Query #40363 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cb2242ca-99ec-e3e1-2cb7-dc62acd05a92'::uuid;

-- Query #40364 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40365 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7698e3fe-e7e4-9701-034d-5868c9d72247'::uuid;

-- Query #40366 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7698e3fe-e7e4-9701-034d-5868c9d72247'::uuid]);

-- Query #40367 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7698e3fe-e7e4-9701-034d-5868c9d72247'::uuid;

-- Query #40368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7698e3fe-e7e4-9701-034d-5868c9d72247'::uuid, 'Imdb', 'tt6421476')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7698e3fe-e7e4-9701-034d-5868c9d72247'::uuid, 'TvMaze', 1085952)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7698e3fe-e7e4-9701-034d-5868c9d72247'::uuid, 'Tvdb', 5987956)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7698e3fe-e7e4-9701-034d-5868c9d72247'::uuid;

-- Query #40372 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7698e3fe-e7e4-9701-034d-5868c9d72247'::uuid;

-- Query #40373 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7698e3fe-e7e4-9701-034d-5868c9d72247'::uuid]);

-- Query #40374 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7698e3fe-e7e4-9701-034d-5868c9d72247'::uuid;

-- Query #40375 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40376 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '53d80d8b-2f30-44a3-3079-e359a8b572a3'::uuid;

-- Query #40377 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53d80d8b-2f30-44a3-3079-e359a8b572a3'::uuid]);

-- Query #40378 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '53d80d8b-2f30-44a3-3079-e359a8b572a3'::uuid;

-- Query #40379 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53d80d8b-2f30-44a3-3079-e359a8b572a3'::uuid, 'Imdb', 'tt6199718')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53d80d8b-2f30-44a3-3079-e359a8b572a3'::uuid, 'TvMaze', 1010377)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('53d80d8b-2f30-44a3-3079-e359a8b572a3'::uuid, 'Tvdb', 5880092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40382 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '53d80d8b-2f30-44a3-3079-e359a8b572a3'::uuid;

-- Query #40383 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '53d80d8b-2f30-44a3-3079-e359a8b572a3'::uuid;

-- Query #40384 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['53d80d8b-2f30-44a3-3079-e359a8b572a3'::uuid]);

-- Query #40385 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '53d80d8b-2f30-44a3-3079-e359a8b572a3'::uuid;

-- Query #40386 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40387 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b187350-a993-6a8b-99ac-51f3e94a0fe4'::uuid;

-- Query #40388 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b187350-a993-6a8b-99ac-51f3e94a0fe4'::uuid]);

-- Query #40389 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5b187350-a993-6a8b-99ac-51f3e94a0fe4'::uuid;

-- Query #40390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b187350-a993-6a8b-99ac-51f3e94a0fe4'::uuid, 'Imdb', 'tt6300118')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b187350-a993-6a8b-99ac-51f3e94a0fe4'::uuid, 'TvMaze', 1023454)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5b187350-a993-6a8b-99ac-51f3e94a0fe4'::uuid, 'Tvdb', 5897071)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40393 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5b187350-a993-6a8b-99ac-51f3e94a0fe4'::uuid;

-- Query #40394 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5b187350-a993-6a8b-99ac-51f3e94a0fe4'::uuid;

-- Query #40395 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5b187350-a993-6a8b-99ac-51f3e94a0fe4'::uuid]);

-- Query #40396 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5b187350-a993-6a8b-99ac-51f3e94a0fe4'::uuid;

-- Query #40397 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40398 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '536d7b9f-c2b7-fb03-3c33-a6554a5d2796'::uuid;

-- Query #40399 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['536d7b9f-c2b7-fb03-3c33-a6554a5d2796'::uuid]);

-- Query #40400 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '536d7b9f-c2b7-fb03-3c33-a6554a5d2796'::uuid;

-- Query #40401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('536d7b9f-c2b7-fb03-3c33-a6554a5d2796'::uuid, 'Imdb', 'tt6254222')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('536d7b9f-c2b7-fb03-3c33-a6554a5d2796'::uuid, 'TvMaze', 995845)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('536d7b9f-c2b7-fb03-3c33-a6554a5d2796'::uuid, 'Tvdb', 5840611)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40404 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '536d7b9f-c2b7-fb03-3c33-a6554a5d2796'::uuid;

-- Query #40405 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #40406 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '536d7b9f-c2b7-fb03-3c33-a6554a5d2796'::uuid;

-- Query #40407 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['536d7b9f-c2b7-fb03-3c33-a6554a5d2796'::uuid]);

-- Query #40408 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '536d7b9f-c2b7-fb03-3c33-a6554a5d2796'::uuid;

-- Query #40409 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40410 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca6e170e-3898-9d42-1944-266746aa995a'::uuid;

-- Query #40411 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ca6e170e-3898-9d42-1944-266746aa995a'::uuid]);

-- Query #40412 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ca6e170e-3898-9d42-1944-266746aa995a'::uuid;

-- Query #40413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca6e170e-3898-9d42-1944-266746aa995a'::uuid, 'Imdb', 'tt5530750')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca6e170e-3898-9d42-1944-266746aa995a'::uuid, 'TvMaze', 848211)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ca6e170e-3898-9d42-1944-266746aa995a'::uuid, 'Tvdb', 5857673)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40416 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca6e170e-3898-9d42-1944-266746aa995a'::uuid;

-- Query #40417 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ca6e170e-3898-9d42-1944-266746aa995a'::uuid;

-- Query #40418 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ca6e170e-3898-9d42-1944-266746aa995a'::uuid]);

-- Query #40419 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ca6e170e-3898-9d42-1944-266746aa995a'::uuid;

-- Query #40420 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40421 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb7a3380-56ba-1845-d575-ad3e92c778bb'::uuid;

-- Query #40422 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb7a3380-56ba-1845-d575-ad3e92c778bb'::uuid]);

-- Query #40423 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eb7a3380-56ba-1845-d575-ad3e92c778bb'::uuid;

-- Query #40424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb7a3380-56ba-1845-d575-ad3e92c778bb'::uuid, 'Imdb', 'tt6184702')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb7a3380-56ba-1845-d575-ad3e92c778bb'::uuid, 'TvMaze', 967332)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb7a3380-56ba-1845-d575-ad3e92c778bb'::uuid, 'Tvdb', 5796552)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40427 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb7a3380-56ba-1845-d575-ad3e92c778bb'::uuid;

-- Query #40428 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eb7a3380-56ba-1845-d575-ad3e92c778bb'::uuid;

-- Query #40429 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eb7a3380-56ba-1845-d575-ad3e92c778bb'::uuid]);

-- Query #40430 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eb7a3380-56ba-1845-d575-ad3e92c778bb'::uuid;

-- Query #40431 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40432 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '605398fc-d115-3dc0-4997-0cbc69f1393d'::uuid;

-- Query #40433 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['605398fc-d115-3dc0-4997-0cbc69f1393d'::uuid]);

-- Query #40434 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '605398fc-d115-3dc0-4997-0cbc69f1393d'::uuid;

-- Query #40435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('605398fc-d115-3dc0-4997-0cbc69f1393d'::uuid, 'Imdb', 'tt6014414')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('605398fc-d115-3dc0-4997-0cbc69f1393d'::uuid, 'TvMaze', 927173)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40437 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('605398fc-d115-3dc0-4997-0cbc69f1393d'::uuid, 'Tvdb', 5734359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40438 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '605398fc-d115-3dc0-4997-0cbc69f1393d'::uuid;

-- Query #40439 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '605398fc-d115-3dc0-4997-0cbc69f1393d'::uuid;

-- Query #40440 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['605398fc-d115-3dc0-4997-0cbc69f1393d'::uuid]);

-- Query #40441 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '605398fc-d115-3dc0-4997-0cbc69f1393d'::uuid;

-- Query #40442 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00da74dd-1686-d116-b373-6e87b785e83f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40443 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7bfb1a8d-8466-5d80-de34-8bd9b044aa22'::uuid;

-- Query #40444 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7bfb1a8d-8466-5d80-de34-8bd9b044aa22'::uuid]);

-- Query #40445 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7bfb1a8d-8466-5d80-de34-8bd9b044aa22'::uuid;

-- Query #40446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bfb1a8d-8466-5d80-de34-8bd9b044aa22'::uuid, 'Imdb', 'tt7578286')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bfb1a8d-8466-5d80-de34-8bd9b044aa22'::uuid, 'TvMaze', 1353393)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7bfb1a8d-8466-5d80-de34-8bd9b044aa22'::uuid, 'Tvdb', 6409273)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40449 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7bfb1a8d-8466-5d80-de34-8bd9b044aa22'::uuid;

-- Query #40450 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7bfb1a8d-8466-5d80-de34-8bd9b044aa22'::uuid;

-- Query #40451 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7bfb1a8d-8466-5d80-de34-8bd9b044aa22'::uuid]);

-- Query #40452 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7bfb1a8d-8466-5d80-de34-8bd9b044aa22'::uuid;

-- Query #40453 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40454 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '855c6233-0c9d-d1f5-f090-173222ea27cb'::uuid;

-- Query #40455 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['855c6233-0c9d-d1f5-f090-173222ea27cb'::uuid]);

-- Query #40456 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '855c6233-0c9d-d1f5-f090-173222ea27cb'::uuid;

-- Query #40457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('855c6233-0c9d-d1f5-f090-173222ea27cb'::uuid, 'Imdb', 'tt7339922')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('855c6233-0c9d-d1f5-f090-173222ea27cb'::uuid, 'TvMaze', 1315094)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40459 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('855c6233-0c9d-d1f5-f090-173222ea27cb'::uuid, 'Tvdb', 6333658)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40460 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '855c6233-0c9d-d1f5-f090-173222ea27cb'::uuid;

-- Query #40461 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '855c6233-0c9d-d1f5-f090-173222ea27cb'::uuid;

-- Query #40462 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['855c6233-0c9d-d1f5-f090-173222ea27cb'::uuid]);

-- Query #40463 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '855c6233-0c9d-d1f5-f090-173222ea27cb'::uuid;

-- Query #40464 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40465 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b84a06e8-8a31-6ccd-56fe-29b6b188e9a5'::uuid;

-- Query #40466 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b84a06e8-8a31-6ccd-56fe-29b6b188e9a5'::uuid]);

-- Query #40467 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b84a06e8-8a31-6ccd-56fe-29b6b188e9a5'::uuid;

-- Query #40468 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b84a06e8-8a31-6ccd-56fe-29b6b188e9a5'::uuid, 'Imdb', 'tt7822384')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b84a06e8-8a31-6ccd-56fe-29b6b188e9a5'::uuid, 'TvMaze', 1431750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b84a06e8-8a31-6ccd-56fe-29b6b188e9a5'::uuid, 'Tvdb', 6618581)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40471 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b84a06e8-8a31-6ccd-56fe-29b6b188e9a5'::uuid;

-- Query #40472 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b84a06e8-8a31-6ccd-56fe-29b6b188e9a5'::uuid;

-- Query #40473 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b84a06e8-8a31-6ccd-56fe-29b6b188e9a5'::uuid]);

-- Query #40474 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b84a06e8-8a31-6ccd-56fe-29b6b188e9a5'::uuid;

-- Query #40475 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40476 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7b3c483-6dfe-e8b1-c891-9c13332021a7'::uuid;

-- Query #40477 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e7b3c483-6dfe-e8b1-c891-9c13332021a7'::uuid]);

-- Query #40478 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e7b3c483-6dfe-e8b1-c891-9c13332021a7'::uuid;

-- Query #40479 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7b3c483-6dfe-e8b1-c891-9c13332021a7'::uuid, 'Imdb', 'tt6876612')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40480 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7b3c483-6dfe-e8b1-c891-9c13332021a7'::uuid, 'TvMaze', 1447751)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40481 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e7b3c483-6dfe-e8b1-c891-9c13332021a7'::uuid, 'Tvdb', 6634128)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40482 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7b3c483-6dfe-e8b1-c891-9c13332021a7'::uuid;

-- Query #40483 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e7b3c483-6dfe-e8b1-c891-9c13332021a7'::uuid;

-- Query #40484 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e7b3c483-6dfe-e8b1-c891-9c13332021a7'::uuid]);

-- Query #40485 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e7b3c483-6dfe-e8b1-c891-9c13332021a7'::uuid;

-- Query #40486 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40487 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '08c5f747-8fb8-3c73-0cc6-460391a4dd46'::uuid;

-- Query #40488 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['08c5f747-8fb8-3c73-0cc6-460391a4dd46'::uuid]);

-- Query #40489 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '08c5f747-8fb8-3c73-0cc6-460391a4dd46'::uuid;

-- Query #40490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('08c5f747-8fb8-3c73-0cc6-460391a4dd46'::uuid, 'Imdb', 'tt7822380')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('08c5f747-8fb8-3c73-0cc6-460391a4dd46'::uuid, 'TvMaze', 1427110)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('08c5f747-8fb8-3c73-0cc6-460391a4dd46'::uuid, 'Tvdb', 6608931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40493 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '08c5f747-8fb8-3c73-0cc6-460391a4dd46'::uuid;

-- Query #40494 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '08c5f747-8fb8-3c73-0cc6-460391a4dd46'::uuid;

-- Query #40495 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['08c5f747-8fb8-3c73-0cc6-460391a4dd46'::uuid]);

-- Query #40496 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '08c5f747-8fb8-3c73-0cc6-460391a4dd46'::uuid;

-- Query #40497 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40498 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81f1b234-5357-2f48-9a2b-2f9a7c05bafc'::uuid;

-- Query #40499 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['81f1b234-5357-2f48-9a2b-2f9a7c05bafc'::uuid]);

-- Query #40500 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '81f1b234-5357-2f48-9a2b-2f9a7c05bafc'::uuid;

-- Query #40501 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81f1b234-5357-2f48-9a2b-2f9a7c05bafc'::uuid, 'Imdb', 'tt7822366')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40502 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81f1b234-5357-2f48-9a2b-2f9a7c05bafc'::uuid, 'TvMaze', 1447750)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40503 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('81f1b234-5357-2f48-9a2b-2f9a7c05bafc'::uuid, 'Tvdb', 6634127)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40504 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '81f1b234-5357-2f48-9a2b-2f9a7c05bafc'::uuid;

-- Query #40505 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '81f1b234-5357-2f48-9a2b-2f9a7c05bafc'::uuid;

-- Query #40506 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['81f1b234-5357-2f48-9a2b-2f9a7c05bafc'::uuid]);

-- Query #40507 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '81f1b234-5357-2f48-9a2b-2f9a7c05bafc'::uuid;

-- Query #40508 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40509 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09adcf38-dd23-3ed2-6a42-b83f6d25ab6d'::uuid;

-- Query #40510 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09adcf38-dd23-3ed2-6a42-b83f6d25ab6d'::uuid]);

-- Query #40511 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '09adcf38-dd23-3ed2-6a42-b83f6d25ab6d'::uuid;

-- Query #40512 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09adcf38-dd23-3ed2-6a42-b83f6d25ab6d'::uuid, 'Imdb', 'tt7768276')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40513 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09adcf38-dd23-3ed2-6a42-b83f6d25ab6d'::uuid, 'TvMaze', 1375732)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40514 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('09adcf38-dd23-3ed2-6a42-b83f6d25ab6d'::uuid, 'Tvdb', 6471904)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40515 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09adcf38-dd23-3ed2-6a42-b83f6d25ab6d'::uuid;

-- Query #40516 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '09adcf38-dd23-3ed2-6a42-b83f6d25ab6d'::uuid;

-- Query #40517 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['09adcf38-dd23-3ed2-6a42-b83f6d25ab6d'::uuid]);

-- Query #40518 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '09adcf38-dd23-3ed2-6a42-b83f6d25ab6d'::uuid;

-- Query #40519 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40520 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f5e63e97-d85e-504f-4bc5-2d40b0e8e9cf'::uuid;

-- Query #40521 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5e63e97-d85e-504f-4bc5-2d40b0e8e9cf'::uuid]);

-- Query #40522 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f5e63e97-d85e-504f-4bc5-2d40b0e8e9cf'::uuid;

-- Query #40523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f5e63e97-d85e-504f-4bc5-2d40b0e8e9cf'::uuid, 'Imdb', 'tt7476576')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f5e63e97-d85e-504f-4bc5-2d40b0e8e9cf'::uuid, 'TvMaze', 1326899)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40525 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f5e63e97-d85e-504f-4bc5-2d40b0e8e9cf'::uuid, 'Tvdb', 6366922)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40526 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f5e63e97-d85e-504f-4bc5-2d40b0e8e9cf'::uuid;

-- Query #40527 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f5e63e97-d85e-504f-4bc5-2d40b0e8e9cf'::uuid;

-- Query #40528 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f5e63e97-d85e-504f-4bc5-2d40b0e8e9cf'::uuid]);

-- Query #40529 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f5e63e97-d85e-504f-4bc5-2d40b0e8e9cf'::uuid;

-- Query #40530 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40531 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13bd6465-963b-4580-242a-d16f9c23e937'::uuid;

-- Query #40532 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13bd6465-963b-4580-242a-d16f9c23e937'::uuid]);

-- Query #40533 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '13bd6465-963b-4580-242a-d16f9c23e937'::uuid;

-- Query #40534 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13bd6465-963b-4580-242a-d16f9c23e937'::uuid, 'Imdb', 'tt6876608')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13bd6465-963b-4580-242a-d16f9c23e937'::uuid, 'TvMaze', 1282585)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40536 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('13bd6465-963b-4580-242a-d16f9c23e937'::uuid, 'Tvdb', 6215286)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40537 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13bd6465-963b-4580-242a-d16f9c23e937'::uuid;

-- Query #40538 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '13bd6465-963b-4580-242a-d16f9c23e937'::uuid;

-- Query #40539 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['13bd6465-963b-4580-242a-d16f9c23e937'::uuid]);

-- Query #40540 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '13bd6465-963b-4580-242a-d16f9c23e937'::uuid;

-- Query #40541 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40542 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '909ddd92-85e7-ee12-f410-c06760f0b9b3'::uuid;

-- Query #40543 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909ddd92-85e7-ee12-f410-c06760f0b9b3'::uuid]);

-- Query #40544 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '909ddd92-85e7-ee12-f410-c06760f0b9b3'::uuid;

-- Query #40545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909ddd92-85e7-ee12-f410-c06760f0b9b3'::uuid, 'Imdb', 'tt7822370')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40546 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909ddd92-85e7-ee12-f410-c06760f0b9b3'::uuid, 'TvMaze', 1447749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40547 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('909ddd92-85e7-ee12-f410-c06760f0b9b3'::uuid, 'Tvdb', 6634126)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40548 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '909ddd92-85e7-ee12-f410-c06760f0b9b3'::uuid;

-- Query #40549 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '909ddd92-85e7-ee12-f410-c06760f0b9b3'::uuid;

-- Query #40550 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['909ddd92-85e7-ee12-f410-c06760f0b9b3'::uuid]);

-- Query #40551 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '909ddd92-85e7-ee12-f410-c06760f0b9b3'::uuid;

-- Query #40552 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40553 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52206180-c1f4-afc7-e0da-061d2f02bb7b'::uuid;

-- Query #40554 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['52206180-c1f4-afc7-e0da-061d2f02bb7b'::uuid]);

-- Query #40555 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '52206180-c1f4-afc7-e0da-061d2f02bb7b'::uuid;

-- Query #40556 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52206180-c1f4-afc7-e0da-061d2f02bb7b'::uuid, 'Imdb', 'tt7822378')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40557 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52206180-c1f4-afc7-e0da-061d2f02bb7b'::uuid, 'TvMaze', 1422924)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40558 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('52206180-c1f4-afc7-e0da-061d2f02bb7b'::uuid, 'Tvdb', 6594244)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40559 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '52206180-c1f4-afc7-e0da-061d2f02bb7b'::uuid;

-- Query #40560 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '52206180-c1f4-afc7-e0da-061d2f02bb7b'::uuid;

-- Query #40561 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['52206180-c1f4-afc7-e0da-061d2f02bb7b'::uuid]);

-- Query #40562 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '52206180-c1f4-afc7-e0da-061d2f02bb7b'::uuid;

-- Query #40563 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40564 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f25afa38-32ec-1074-968b-8646416a0499'::uuid;

-- Query #40565 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f25afa38-32ec-1074-968b-8646416a0499'::uuid]);

-- Query #40566 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f25afa38-32ec-1074-968b-8646416a0499'::uuid;

-- Query #40567 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f25afa38-32ec-1074-968b-8646416a0499'::uuid, 'Imdb', 'tt7459358')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40568 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f25afa38-32ec-1074-968b-8646416a0499'::uuid, 'TvMaze', 1319082)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40569 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f25afa38-32ec-1074-968b-8646416a0499'::uuid, 'Tvdb', 6349783)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40570 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f25afa38-32ec-1074-968b-8646416a0499'::uuid;

-- Query #40571 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f25afa38-32ec-1074-968b-8646416a0499'::uuid;

-- Query #40572 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f25afa38-32ec-1074-968b-8646416a0499'::uuid]);

-- Query #40573 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f25afa38-32ec-1074-968b-8646416a0499'::uuid;

-- Query #40574 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40575 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b598df88-3d55-811c-810d-59b807bdee6e'::uuid;

-- Query #40576 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b598df88-3d55-811c-810d-59b807bdee6e'::uuid]);

-- Query #40577 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b598df88-3d55-811c-810d-59b807bdee6e'::uuid;

-- Query #40578 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b598df88-3d55-811c-810d-59b807bdee6e'::uuid, 'Imdb', 'tt7822362')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40579 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b598df88-3d55-811c-810d-59b807bdee6e'::uuid, 'TvMaze', 1407181)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40580 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b598df88-3d55-811c-810d-59b807bdee6e'::uuid, 'Tvdb', 6555859)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40581 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b598df88-3d55-811c-810d-59b807bdee6e'::uuid;

-- Query #40582 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b598df88-3d55-811c-810d-59b807bdee6e'::uuid;

-- Query #40583 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b598df88-3d55-811c-810d-59b807bdee6e'::uuid]);

-- Query #40584 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b598df88-3d55-811c-810d-59b807bdee6e'::uuid;

-- Query #40585 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cd27bf5e-3783-cf0d-6ed2-5e231a5802b2'::uuid;

-- Query #40587 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cd27bf5e-3783-cf0d-6ed2-5e231a5802b2'::uuid]);

-- Query #40588 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cd27bf5e-3783-cf0d-6ed2-5e231a5802b2'::uuid;

-- Query #40589 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd27bf5e-3783-cf0d-6ed2-5e231a5802b2'::uuid, 'Imdb', 'tt7514012')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd27bf5e-3783-cf0d-6ed2-5e231a5802b2'::uuid, 'TvMaze', 1331937)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cd27bf5e-3783-cf0d-6ed2-5e231a5802b2'::uuid, 'Tvdb', 6379375)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cd27bf5e-3783-cf0d-6ed2-5e231a5802b2'::uuid;

-- Query #40593 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cd27bf5e-3783-cf0d-6ed2-5e231a5802b2'::uuid;

-- Query #40594 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cd27bf5e-3783-cf0d-6ed2-5e231a5802b2'::uuid]);

-- Query #40595 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cd27bf5e-3783-cf0d-6ed2-5e231a5802b2'::uuid;

-- Query #40596 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40597 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d334a7d-9854-cffa-4511-73442110d80d'::uuid;

-- Query #40598 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9d334a7d-9854-cffa-4511-73442110d80d'::uuid]);

-- Query #40599 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9d334a7d-9854-cffa-4511-73442110d80d'::uuid;

-- Query #40600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d334a7d-9854-cffa-4511-73442110d80d'::uuid, 'Imdb', 'tt7656366')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d334a7d-9854-cffa-4511-73442110d80d'::uuid, 'TvMaze', 1357224)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9d334a7d-9854-cffa-4511-73442110d80d'::uuid, 'Tvdb', 6418140)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40603 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d334a7d-9854-cffa-4511-73442110d80d'::uuid;

-- Query #40604 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9d334a7d-9854-cffa-4511-73442110d80d'::uuid;

-- Query #40605 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9d334a7d-9854-cffa-4511-73442110d80d'::uuid]);

-- Query #40606 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9d334a7d-9854-cffa-4511-73442110d80d'::uuid;

-- Query #40607 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40608 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '792dbb7b-6bb8-ef1b-f49e-e19ebe8f8a5b'::uuid;

-- Query #40609 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['792dbb7b-6bb8-ef1b-f49e-e19ebe8f8a5b'::uuid]);

-- Query #40610 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '792dbb7b-6bb8-ef1b-f49e-e19ebe8f8a5b'::uuid;

-- Query #40611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('792dbb7b-6bb8-ef1b-f49e-e19ebe8f8a5b'::uuid, 'Imdb', 'tt7569884')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('792dbb7b-6bb8-ef1b-f49e-e19ebe8f8a5b'::uuid, 'TvMaze', 1344066)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('792dbb7b-6bb8-ef1b-f49e-e19ebe8f8a5b'::uuid, 'Tvdb', 6387902)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40614 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '792dbb7b-6bb8-ef1b-f49e-e19ebe8f8a5b'::uuid;

-- Query #40615 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '792dbb7b-6bb8-ef1b-f49e-e19ebe8f8a5b'::uuid;

-- Query #40616 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['792dbb7b-6bb8-ef1b-f49e-e19ebe8f8a5b'::uuid]);

-- Query #40617 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '792dbb7b-6bb8-ef1b-f49e-e19ebe8f8a5b'::uuid;

-- Query #40618 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40619 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '140d1fa4-ae42-8c1f-c79f-ef49bd58e211'::uuid;

-- Query #40620 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['140d1fa4-ae42-8c1f-c79f-ef49bd58e211'::uuid]);

-- Query #40621 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '140d1fa4-ae42-8c1f-c79f-ef49bd58e211'::uuid;

-- Query #40622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('140d1fa4-ae42-8c1f-c79f-ef49bd58e211'::uuid, 'Imdb', 'tt7781868')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('140d1fa4-ae42-8c1f-c79f-ef49bd58e211'::uuid, 'TvMaze', 1411846)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('140d1fa4-ae42-8c1f-c79f-ef49bd58e211'::uuid, 'Tvdb', 6512370)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40625 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '140d1fa4-ae42-8c1f-c79f-ef49bd58e211'::uuid;

-- Query #40626 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '140d1fa4-ae42-8c1f-c79f-ef49bd58e211'::uuid;

-- Query #40627 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['140d1fa4-ae42-8c1f-c79f-ef49bd58e211'::uuid]);

-- Query #40628 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '140d1fa4-ae42-8c1f-c79f-ef49bd58e211'::uuid;

-- Query #40629 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40630 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a6c9df1-13ed-30c3-b74f-747205709b47'::uuid;

-- Query #40631 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a6c9df1-13ed-30c3-b74f-747205709b47'::uuid]);

-- Query #40632 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8a6c9df1-13ed-30c3-b74f-747205709b47'::uuid;

-- Query #40633 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a6c9df1-13ed-30c3-b74f-747205709b47'::uuid, 'Imdb', 'tt8428562')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a6c9df1-13ed-30c3-b74f-747205709b47'::uuid, 'TvMaze', 1580780)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40635 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a6c9df1-13ed-30c3-b74f-747205709b47'::uuid, 'Tvdb', 6981499)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40636 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a6c9df1-13ed-30c3-b74f-747205709b47'::uuid;

-- Query #40637 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8a6c9df1-13ed-30c3-b74f-747205709b47'::uuid;

-- Query #40638 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8a6c9df1-13ed-30c3-b74f-747205709b47'::uuid]);

-- Query #40639 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8a6c9df1-13ed-30c3-b74f-747205709b47'::uuid;

-- Query #40640 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40641 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '91dcc3b1-05df-53bf-365a-a0cd726f48b1'::uuid;

-- Query #40642 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['91dcc3b1-05df-53bf-365a-a0cd726f48b1'::uuid]);

-- Query #40643 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '91dcc3b1-05df-53bf-365a-a0cd726f48b1'::uuid;

-- Query #40644 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91dcc3b1-05df-53bf-365a-a0cd726f48b1'::uuid, 'Imdb', 'tt8428638')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40645 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91dcc3b1-05df-53bf-365a-a0cd726f48b1'::uuid, 'TvMaze', 1616161)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40646 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('91dcc3b1-05df-53bf-365a-a0cd726f48b1'::uuid, 'Tvdb', 7097524)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40647 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '91dcc3b1-05df-53bf-365a-a0cd726f48b1'::uuid;

-- Query #40648 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '91dcc3b1-05df-53bf-365a-a0cd726f48b1'::uuid;

-- Query #40649 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['91dcc3b1-05df-53bf-365a-a0cd726f48b1'::uuid]);

-- Query #40650 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #40651 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '91dcc3b1-05df-53bf-365a-a0cd726f48b1'::uuid;

-- Query #40652 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40653 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aeb3c87e-61c5-dbe4-b98a-2b12da203f7c'::uuid;

-- Query #40654 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aeb3c87e-61c5-dbe4-b98a-2b12da203f7c'::uuid]);

-- Query #40655 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'aeb3c87e-61c5-dbe4-b98a-2b12da203f7c'::uuid;

-- Query #40656 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aeb3c87e-61c5-dbe4-b98a-2b12da203f7c'::uuid, 'Imdb', 'tt8428648')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40657 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aeb3c87e-61c5-dbe4-b98a-2b12da203f7c'::uuid, 'TvMaze', 1634359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40658 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aeb3c87e-61c5-dbe4-b98a-2b12da203f7c'::uuid, 'Tvdb', 7118543)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aeb3c87e-61c5-dbe4-b98a-2b12da203f7c'::uuid;

-- Query #40660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'aeb3c87e-61c5-dbe4-b98a-2b12da203f7c'::uuid;

-- Query #40661 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['aeb3c87e-61c5-dbe4-b98a-2b12da203f7c'::uuid]);

-- Query #40662 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'aeb3c87e-61c5-dbe4-b98a-2b12da203f7c'::uuid;

-- Query #40663 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40664 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e2707af-e1fa-fa8f-0796-0f05efe71300'::uuid;

-- Query #40665 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e2707af-e1fa-fa8f-0796-0f05efe71300'::uuid]);

-- Query #40666 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9e2707af-e1fa-fa8f-0796-0f05efe71300'::uuid;

-- Query #40667 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e2707af-e1fa-fa8f-0796-0f05efe71300'::uuid, 'Imdb', 'tt8428610')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40668 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e2707af-e1fa-fa8f-0796-0f05efe71300'::uuid, 'TvMaze', 1548383)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40669 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9e2707af-e1fa-fa8f-0796-0f05efe71300'::uuid, 'Tvdb', 6869296)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40670 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e2707af-e1fa-fa8f-0796-0f05efe71300'::uuid;

-- Query #40671 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9e2707af-e1fa-fa8f-0796-0f05efe71300'::uuid;

-- Query #40672 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9e2707af-e1fa-fa8f-0796-0f05efe71300'::uuid]);

-- Query #40673 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9e2707af-e1fa-fa8f-0796-0f05efe71300'::uuid;

-- Query #40674 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40675 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c903a6ac-1c2a-5241-6b0b-5192373a1e21'::uuid;

-- Query #40676 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c903a6ac-1c2a-5241-6b0b-5192373a1e21'::uuid]);

-- Query #40677 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c903a6ac-1c2a-5241-6b0b-5192373a1e21'::uuid;

-- Query #40678 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c903a6ac-1c2a-5241-6b0b-5192373a1e21'::uuid, 'Imdb', 'tt8428526')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40679 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c903a6ac-1c2a-5241-6b0b-5192373a1e21'::uuid, 'TvMaze', 1540245)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40680 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c903a6ac-1c2a-5241-6b0b-5192373a1e21'::uuid, 'Tvdb', 6856954)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40681 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c903a6ac-1c2a-5241-6b0b-5192373a1e21'::uuid;

-- Query #40682 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c903a6ac-1c2a-5241-6b0b-5192373a1e21'::uuid;

-- Query #40683 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c903a6ac-1c2a-5241-6b0b-5192373a1e21'::uuid]);

-- Query #40684 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c903a6ac-1c2a-5241-6b0b-5192373a1e21'::uuid;

-- Query #40685 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40686 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8571cb4e-028b-2db0-df32-35c7dc65fe94'::uuid;

-- Query #40687 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8571cb4e-028b-2db0-df32-35c7dc65fe94'::uuid]);

-- Query #40688 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8571cb4e-028b-2db0-df32-35c7dc65fe94'::uuid;

-- Query #40689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8571cb4e-028b-2db0-df32-35c7dc65fe94'::uuid, 'Imdb', 'tt6876616')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8571cb4e-028b-2db0-df32-35c7dc65fe94'::uuid, 'TvMaze', 1501080)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8571cb4e-028b-2db0-df32-35c7dc65fe94'::uuid, 'Tvdb', 6770317)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40692 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8571cb4e-028b-2db0-df32-35c7dc65fe94'::uuid;

-- Query #40693 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8571cb4e-028b-2db0-df32-35c7dc65fe94'::uuid;

-- Query #40694 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8571cb4e-028b-2db0-df32-35c7dc65fe94'::uuid]);

-- Query #40695 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8571cb4e-028b-2db0-df32-35c7dc65fe94'::uuid;

-- Query #40696 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40697 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ccdc729-3b9e-11af-dddd-6e6f165a54fc'::uuid;

-- Query #40698 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ccdc729-3b9e-11af-dddd-6e6f165a54fc'::uuid]);

-- Query #40699 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5ccdc729-3b9e-11af-dddd-6e6f165a54fc'::uuid;

-- Query #40700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ccdc729-3b9e-11af-dddd-6e6f165a54fc'::uuid, 'Imdb', 'tt8428532')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ccdc729-3b9e-11af-dddd-6e6f165a54fc'::uuid, 'TvMaze', 1561847)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5ccdc729-3b9e-11af-dddd-6e6f165a54fc'::uuid, 'Tvdb', 6896914)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40703 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ccdc729-3b9e-11af-dddd-6e6f165a54fc'::uuid;

-- Query #40704 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5ccdc729-3b9e-11af-dddd-6e6f165a54fc'::uuid;

-- Query #40705 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5ccdc729-3b9e-11af-dddd-6e6f165a54fc'::uuid]);

-- Query #40706 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5ccdc729-3b9e-11af-dddd-6e6f165a54fc'::uuid;

-- Query #40707 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40708 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7862333e-9c27-b74f-8d1a-ec32d99e8d63'::uuid;

-- Query #40709 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7862333e-9c27-b74f-8d1a-ec32d99e8d63'::uuid]);

-- Query #40710 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7862333e-9c27-b74f-8d1a-ec32d99e8d63'::uuid;

-- Query #40711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7862333e-9c27-b74f-8d1a-ec32d99e8d63'::uuid, 'Imdb', 'tt8428516')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40712 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7862333e-9c27-b74f-8d1a-ec32d99e8d63'::uuid, 'TvMaze', 1529395)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40713 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7862333e-9c27-b74f-8d1a-ec32d99e8d63'::uuid, 'Tvdb', 6829826)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40714 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7862333e-9c27-b74f-8d1a-ec32d99e8d63'::uuid;

-- Query #40715 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7862333e-9c27-b74f-8d1a-ec32d99e8d63'::uuid;

-- Query #40716 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7862333e-9c27-b74f-8d1a-ec32d99e8d63'::uuid]);

-- Query #40717 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7862333e-9c27-b74f-8d1a-ec32d99e8d63'::uuid;

-- Query #40718 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40719 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd800e7c2-ccc7-ab4f-4938-67ffd2777f32'::uuid;

-- Query #40720 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d800e7c2-ccc7-ab4f-4938-67ffd2777f32'::uuid]);

-- Query #40721 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd800e7c2-ccc7-ab4f-4938-67ffd2777f32'::uuid;

-- Query #40722 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d800e7c2-ccc7-ab4f-4938-67ffd2777f32'::uuid, 'Imdb', 'tt8428530')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40723 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d800e7c2-ccc7-ab4f-4938-67ffd2777f32'::uuid, 'TvMaze', 1544987)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40724 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d800e7c2-ccc7-ab4f-4938-67ffd2777f32'::uuid, 'Tvdb', 6862170)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40725 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd800e7c2-ccc7-ab4f-4938-67ffd2777f32'::uuid;

-- Query #40726 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd800e7c2-ccc7-ab4f-4938-67ffd2777f32'::uuid;

-- Query #40727 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d800e7c2-ccc7-ab4f-4938-67ffd2777f32'::uuid]);

-- Query #40728 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd800e7c2-ccc7-ab4f-4938-67ffd2777f32'::uuid;

-- Query #40729 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40730 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a81acab-9e4a-fc25-eadc-f9b83619af0c'::uuid;

-- Query #40731 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a81acab-9e4a-fc25-eadc-f9b83619af0c'::uuid]);

-- Query #40732 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9a81acab-9e4a-fc25-eadc-f9b83619af0c'::uuid;

-- Query #40733 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a81acab-9e4a-fc25-eadc-f9b83619af0c'::uuid, 'Imdb', 'tt8428548')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a81acab-9e4a-fc25-eadc-f9b83619af0c'::uuid, 'TvMaze', 1565235)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9a81acab-9e4a-fc25-eadc-f9b83619af0c'::uuid, 'Tvdb', 6906842)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40736 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a81acab-9e4a-fc25-eadc-f9b83619af0c'::uuid;

-- Query #40737 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9a81acab-9e4a-fc25-eadc-f9b83619af0c'::uuid;

-- Query #40738 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9a81acab-9e4a-fc25-eadc-f9b83619af0c'::uuid]);

-- Query #40739 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9a81acab-9e4a-fc25-eadc-f9b83619af0c'::uuid;

-- Query #40740 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40741 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '90af3885-ccf2-94d3-dd7f-4536a6be6bf4'::uuid;

-- Query #40742 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90af3885-ccf2-94d3-dd7f-4536a6be6bf4'::uuid]);

-- Query #40743 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '90af3885-ccf2-94d3-dd7f-4536a6be6bf4'::uuid;

-- Query #40744 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90af3885-ccf2-94d3-dd7f-4536a6be6bf4'::uuid, 'Imdb', 'tt8428520')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90af3885-ccf2-94d3-dd7f-4536a6be6bf4'::uuid, 'TvMaze', 1533961)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('90af3885-ccf2-94d3-dd7f-4536a6be6bf4'::uuid, 'Tvdb', 6839550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40747 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '90af3885-ccf2-94d3-dd7f-4536a6be6bf4'::uuid;

-- Query #40748 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '90af3885-ccf2-94d3-dd7f-4536a6be6bf4'::uuid;

-- Query #40749 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['90af3885-ccf2-94d3-dd7f-4536a6be6bf4'::uuid]);

-- Query #40750 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '90af3885-ccf2-94d3-dd7f-4536a6be6bf4'::uuid;

-- Query #40751 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40752 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c94d15a3-6767-823a-8fb9-b0396cab9d86'::uuid;

-- Query #40753 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c94d15a3-6767-823a-8fb9-b0396cab9d86'::uuid]);

-- Query #40754 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c94d15a3-6767-823a-8fb9-b0396cab9d86'::uuid;

-- Query #40755 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c94d15a3-6767-823a-8fb9-b0396cab9d86'::uuid, 'Imdb', 'tt8428626')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40756 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c94d15a3-6767-823a-8fb9-b0396cab9d86'::uuid, 'TvMaze', 1619946)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40757 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c94d15a3-6767-823a-8fb9-b0396cab9d86'::uuid, 'Tvdb', 7063656)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40758 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c94d15a3-6767-823a-8fb9-b0396cab9d86'::uuid, 'official website', 'https://abc.com/shows/modern-family')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40759 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c94d15a3-6767-823a-8fb9-b0396cab9d86'::uuid;

-- Query #40760 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c94d15a3-6767-823a-8fb9-b0396cab9d86'::uuid;

-- Query #40761 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c94d15a3-6767-823a-8fb9-b0396cab9d86'::uuid]);

-- Query #40762 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c94d15a3-6767-823a-8fb9-b0396cab9d86'::uuid;

-- Query #40763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40764 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffa86f96-5688-60c5-bbda-942325c264a1'::uuid;

-- Query #40765 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffa86f96-5688-60c5-bbda-942325c264a1'::uuid]);

-- Query #40766 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ffa86f96-5688-60c5-bbda-942325c264a1'::uuid;

-- Query #40767 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffa86f96-5688-60c5-bbda-942325c264a1'::uuid, 'Imdb', 'tt8428534')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffa86f96-5688-60c5-bbda-942325c264a1'::uuid, 'TvMaze', 1563149)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40769 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffa86f96-5688-60c5-bbda-942325c264a1'::uuid, 'Tvdb', 6898825)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40770 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffa86f96-5688-60c5-bbda-942325c264a1'::uuid;

-- Query #40771 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ffa86f96-5688-60c5-bbda-942325c264a1'::uuid;

-- Query #40772 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ffa86f96-5688-60c5-bbda-942325c264a1'::uuid]);

-- Query #40773 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ffa86f96-5688-60c5-bbda-942325c264a1'::uuid;

-- Query #40774 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40775 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '112fae86-f7b3-4a03-587c-8b9f00bdeb80'::uuid;

-- Query #40776 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['112fae86-f7b3-4a03-587c-8b9f00bdeb80'::uuid]);

-- Query #40777 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '112fae86-f7b3-4a03-587c-8b9f00bdeb80'::uuid;

-- Query #40778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('112fae86-f7b3-4a03-587c-8b9f00bdeb80'::uuid, 'Imdb', 'tt8428590')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('112fae86-f7b3-4a03-587c-8b9f00bdeb80'::uuid, 'TvMaze', 1600310)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('112fae86-f7b3-4a03-587c-8b9f00bdeb80'::uuid, 'Tvdb', 7017547)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40781 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '112fae86-f7b3-4a03-587c-8b9f00bdeb80'::uuid;

-- Query #40782 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '112fae86-f7b3-4a03-587c-8b9f00bdeb80'::uuid;

-- Query #40783 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['112fae86-f7b3-4a03-587c-8b9f00bdeb80'::uuid]);

-- Query #40784 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '112fae86-f7b3-4a03-587c-8b9f00bdeb80'::uuid;

-- Query #40785 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40786 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '918fb8e5-8fbf-c5fb-f011-8205240af6a0'::uuid;

-- Query #40787 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['918fb8e5-8fbf-c5fb-f011-8205240af6a0'::uuid]);

-- Query #40788 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '918fb8e5-8fbf-c5fb-f011-8205240af6a0'::uuid;

-- Query #40789 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('918fb8e5-8fbf-c5fb-f011-8205240af6a0'::uuid, 'Imdb', 'tt8428522')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40790 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('918fb8e5-8fbf-c5fb-f011-8205240af6a0'::uuid, 'TvMaze', 1537483)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40791 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('918fb8e5-8fbf-c5fb-f011-8205240af6a0'::uuid, 'Tvdb', 6847307)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40792 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '918fb8e5-8fbf-c5fb-f011-8205240af6a0'::uuid;

-- Query #40793 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '918fb8e5-8fbf-c5fb-f011-8205240af6a0'::uuid;

-- Query #40794 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['918fb8e5-8fbf-c5fb-f011-8205240af6a0'::uuid]);

-- Query #40795 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '918fb8e5-8fbf-c5fb-f011-8205240af6a0'::uuid;

-- Query #40796 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40797 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0140d55-3fbd-4542-7274-21072e7e0649'::uuid;

-- Query #40798 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d0140d55-3fbd-4542-7274-21072e7e0649'::uuid]);

-- Query #40799 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd0140d55-3fbd-4542-7274-21072e7e0649'::uuid;

-- Query #40800 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0140d55-3fbd-4542-7274-21072e7e0649'::uuid, 'Imdb', 'tt8428576')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40801 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0140d55-3fbd-4542-7274-21072e7e0649'::uuid, 'TvMaze', 1589081)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d0140d55-3fbd-4542-7274-21072e7e0649'::uuid, 'Tvdb', 6997398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40803 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0140d55-3fbd-4542-7274-21072e7e0649'::uuid;

-- Query #40804 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd0140d55-3fbd-4542-7274-21072e7e0649'::uuid;

-- Query #40805 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d0140d55-3fbd-4542-7274-21072e7e0649'::uuid]);

-- Query #40806 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd0140d55-3fbd-4542-7274-21072e7e0649'::uuid;

-- Query #40807 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f143d4c-fdce-a391-c6cf-a0bfe876823a'::uuid;

-- Query #40809 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f143d4c-fdce-a391-c6cf-a0bfe876823a'::uuid]);

-- Query #40810 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5f143d4c-fdce-a391-c6cf-a0bfe876823a'::uuid;

-- Query #40811 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f143d4c-fdce-a391-c6cf-a0bfe876823a'::uuid, 'Imdb', 'tt8428572')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40812 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f143d4c-fdce-a391-c6cf-a0bfe876823a'::uuid, 'TvMaze', 1586771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40813 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f143d4c-fdce-a391-c6cf-a0bfe876823a'::uuid, 'Tvdb', 6983867)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40814 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f143d4c-fdce-a391-c6cf-a0bfe876823a'::uuid;

-- Query #40815 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5f143d4c-fdce-a391-c6cf-a0bfe876823a'::uuid;

-- Query #40816 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5f143d4c-fdce-a391-c6cf-a0bfe876823a'::uuid]);

-- Query #40817 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5f143d4c-fdce-a391-c6cf-a0bfe876823a'::uuid;

-- Query #40818 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40819 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4e2e9ae-d816-fede-d81b-c456184140b8'::uuid;

-- Query #40820 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c4e2e9ae-d816-fede-d81b-c456184140b8'::uuid]);

-- Query #40821 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c4e2e9ae-d816-fede-d81b-c456184140b8'::uuid;

-- Query #40822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4e2e9ae-d816-fede-d81b-c456184140b8'::uuid, 'Imdb', 'tt8428622')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40823 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4e2e9ae-d816-fede-d81b-c456184140b8'::uuid, 'TvMaze', 1613349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40824 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c4e2e9ae-d816-fede-d81b-c456184140b8'::uuid, 'Tvdb', 7053239)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40825 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4e2e9ae-d816-fede-d81b-c456184140b8'::uuid;

-- Query #40826 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c4e2e9ae-d816-fede-d81b-c456184140b8'::uuid;

-- Query #40827 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c4e2e9ae-d816-fede-d81b-c456184140b8'::uuid]);

-- Query #40828 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c4e2e9ae-d816-fede-d81b-c456184140b8'::uuid;

-- Query #40829 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40830 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '98132009-4052-e352-09f1-4346348aa2de'::uuid;

-- Query #40831 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['98132009-4052-e352-09f1-4346348aa2de'::uuid]);

-- Query #40832 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '98132009-4052-e352-09f1-4346348aa2de'::uuid;

-- Query #40833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98132009-4052-e352-09f1-4346348aa2de'::uuid, 'Imdb', 'tt6876620')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98132009-4052-e352-09f1-4346348aa2de'::uuid, 'TvMaze', 1634790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('98132009-4052-e352-09f1-4346348aa2de'::uuid, 'Tvdb', 7118544)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '98132009-4052-e352-09f1-4346348aa2de'::uuid;

-- Query #40837 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '98132009-4052-e352-09f1-4346348aa2de'::uuid;

-- Query #40838 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['98132009-4052-e352-09f1-4346348aa2de'::uuid]);

-- Query #40839 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '98132009-4052-e352-09f1-4346348aa2de'::uuid;

-- Query #40840 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40841 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '651ed8c0-618e-ada0-0a46-a574cb01495c'::uuid;

-- Query #40842 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['651ed8c0-618e-ada0-0a46-a574cb01495c'::uuid]);

-- Query #40843 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '651ed8c0-618e-ada0-0a46-a574cb01495c'::uuid;

-- Query #40844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('651ed8c0-618e-ada0-0a46-a574cb01495c'::uuid, 'Imdb', 'tt8428632')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40845 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('651ed8c0-618e-ada0-0a46-a574cb01495c'::uuid, 'TvMaze', 1623417)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('651ed8c0-618e-ada0-0a46-a574cb01495c'::uuid, 'Tvdb', 7086673)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40847 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('651ed8c0-618e-ada0-0a46-a574cb01495c'::uuid, 'official website', 'https://abc.com/shows/modern-family')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40848 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '651ed8c0-618e-ada0-0a46-a574cb01495c'::uuid;

-- Query #40849 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '651ed8c0-618e-ada0-0a46-a574cb01495c'::uuid;

-- Query #40850 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['651ed8c0-618e-ada0-0a46-a574cb01495c'::uuid]);

-- Query #40851 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '651ed8c0-618e-ada0-0a46-a574cb01495c'::uuid;

-- Query #40852 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40853 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4431a4bf-92fe-14d3-7e58-7991bbe79f76'::uuid;

-- Query #40854 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4431a4bf-92fe-14d3-7e58-7991bbe79f76'::uuid]);

-- Query #40855 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4431a4bf-92fe-14d3-7e58-7991bbe79f76'::uuid;

-- Query #40856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4431a4bf-92fe-14d3-7e58-7991bbe79f76'::uuid, 'Imdb', 'tt11248114')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4431a4bf-92fe-14d3-7e58-7991bbe79f76'::uuid, 'TvMaze', 1808244)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40858 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4431a4bf-92fe-14d3-7e58-7991bbe79f76'::uuid, 'Tvdb', 7599036)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40859 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4431a4bf-92fe-14d3-7e58-7991bbe79f76'::uuid;

-- Query #40860 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4431a4bf-92fe-14d3-7e58-7991bbe79f76'::uuid;

-- Query #40861 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4431a4bf-92fe-14d3-7e58-7991bbe79f76'::uuid]);

-- Query #40862 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4431a4bf-92fe-14d3-7e58-7991bbe79f76'::uuid;

-- Query #40863 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40864 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f894d712-41af-bf53-5096-760b5f4920a0'::uuid;

-- Query #40865 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f894d712-41af-bf53-5096-760b5f4920a0'::uuid]);

-- Query #40866 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f894d712-41af-bf53-5096-760b5f4920a0'::uuid;

-- Query #40867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f894d712-41af-bf53-5096-760b5f4920a0'::uuid, 'Imdb', 'tt11248108')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40868 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f894d712-41af-bf53-5096-760b5f4920a0'::uuid, 'TvMaze', 1783803)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40869 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f894d712-41af-bf53-5096-760b5f4920a0'::uuid, 'Tvdb', 7526371)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40870 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f894d712-41af-bf53-5096-760b5f4920a0'::uuid;

-- Query #40871 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f894d712-41af-bf53-5096-760b5f4920a0'::uuid;

-- Query #40872 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f894d712-41af-bf53-5096-760b5f4920a0'::uuid]);

-- Query #40873 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f894d712-41af-bf53-5096-760b5f4920a0'::uuid;

-- Query #40874 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40875 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid;

-- Query #40876 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid]);

-- Query #40877 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid;

-- Query #40878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid, 'Imdb', 'tt11248118')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid, 'TvMaze', 1809501)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40880 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid, 'Tvdb', 7599055)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40881 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid;

-- Query #40882 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid;

-- Query #40883 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid]);

-- Query #40884 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid;

-- Query #40885 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40886 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebfeb0d0-de49-c018-eb93-9ce50f27dc17'::uuid;

-- Query #40887 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ebfeb0d0-de49-c018-eb93-9ce50f27dc17'::uuid]);

-- Query #40888 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ebfeb0d0-de49-c018-eb93-9ce50f27dc17'::uuid;

-- Query #40889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebfeb0d0-de49-c018-eb93-9ce50f27dc17'::uuid, 'Imdb', 'tt10964158')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebfeb0d0-de49-c018-eb93-9ce50f27dc17'::uuid, 'TvMaze', 1737523)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40891 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebfeb0d0-de49-c018-eb93-9ce50f27dc17'::uuid, 'Tvdb', 7407752)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40892 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebfeb0d0-de49-c018-eb93-9ce50f27dc17'::uuid;

-- Query #40893 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ebfeb0d0-de49-c018-eb93-9ce50f27dc17'::uuid;

-- Query #40894 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ebfeb0d0-de49-c018-eb93-9ce50f27dc17'::uuid]);

-- Query #40895 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ebfeb0d0-de49-c018-eb93-9ce50f27dc17'::uuid;

-- Query #40896 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40897 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #40898 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b2678165-a386-173a-723b-1732415f451c'::uuid;

-- Query #40899 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b2678165-a386-173a-723b-1732415f451c'::uuid]);

-- Query #40900 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b2678165-a386-173a-723b-1732415f451c'::uuid;

-- Query #40901 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2678165-a386-173a-723b-1732415f451c'::uuid, 'Imdb', 'tt11248116')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2678165-a386-173a-723b-1732415f451c'::uuid, 'TvMaze', 1815603)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b2678165-a386-173a-723b-1732415f451c'::uuid, 'Tvdb', 7599041)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40904 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b2678165-a386-173a-723b-1732415f451c'::uuid;

-- Query #40905 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b2678165-a386-173a-723b-1732415f451c'::uuid;

-- Query #40906 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b2678165-a386-173a-723b-1732415f451c'::uuid]);

-- Query #40907 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b2678165-a386-173a-723b-1732415f451c'::uuid;

-- Query #40908 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40909 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4c6161ff-9389-772d-c32f-973c14374e6f'::uuid;

-- Query #40910 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4c6161ff-9389-772d-c32f-973c14374e6f'::uuid]);

-- Query #40911 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4c6161ff-9389-772d-c32f-973c14374e6f'::uuid;

-- Query #40912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c6161ff-9389-772d-c32f-973c14374e6f'::uuid, 'Imdb', 'tt11248100')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c6161ff-9389-772d-c32f-973c14374e6f'::uuid, 'TvMaze', 1751971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c6161ff-9389-772d-c32f-973c14374e6f'::uuid, 'Tvdb', 7436175)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4c6161ff-9389-772d-c32f-973c14374e6f'::uuid;

-- Query #40916 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4c6161ff-9389-772d-c32f-973c14374e6f'::uuid;

-- Query #40917 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4c6161ff-9389-772d-c32f-973c14374e6f'::uuid]);

-- Query #40918 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4c6161ff-9389-772d-c32f-973c14374e6f'::uuid;

-- Query #40919 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40920 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8dbe103a-137e-b930-d8dc-a610970b4165'::uuid;

-- Query #40921 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8dbe103a-137e-b930-d8dc-a610970b4165'::uuid]);

-- Query #40922 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8dbe103a-137e-b930-d8dc-a610970b4165'::uuid;

-- Query #40923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8dbe103a-137e-b930-d8dc-a610970b4165'::uuid, 'Imdb', 'tt11022174')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8dbe103a-137e-b930-d8dc-a610970b4165'::uuid, 'TvMaze', 1732283)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8dbe103a-137e-b930-d8dc-a610970b4165'::uuid, 'Tvdb', 7406823)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40926 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8dbe103a-137e-b930-d8dc-a610970b4165'::uuid;

-- Query #40927 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8dbe103a-137e-b930-d8dc-a610970b4165'::uuid;

-- Query #40928 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8dbe103a-137e-b930-d8dc-a610970b4165'::uuid]);

-- Query #40929 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8dbe103a-137e-b930-d8dc-a610970b4165'::uuid;

-- Query #40930 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40931 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd835575-433b-810b-4387-eae9fa8b8d13'::uuid;

-- Query #40932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd835575-433b-810b-4387-eae9fa8b8d13'::uuid]);

-- Query #40933 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bd835575-433b-810b-4387-eae9fa8b8d13'::uuid;

-- Query #40934 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd835575-433b-810b-4387-eae9fa8b8d13'::uuid, 'Imdb', 'tt11224340')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd835575-433b-810b-4387-eae9fa8b8d13'::uuid, 'TvMaze', 1749373)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bd835575-433b-810b-4387-eae9fa8b8d13'::uuid, 'Tvdb', 7429725)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40937 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bd835575-433b-810b-4387-eae9fa8b8d13'::uuid;

-- Query #40938 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bd835575-433b-810b-4387-eae9fa8b8d13'::uuid;

-- Query #40939 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bd835575-433b-810b-4387-eae9fa8b8d13'::uuid]);

-- Query #40940 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bd835575-433b-810b-4387-eae9fa8b8d13'::uuid;

-- Query #40941 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40942 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd1edadfc-01a3-cfd9-846b-e2ecad319f85'::uuid;

-- Query #40943 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1edadfc-01a3-cfd9-846b-e2ecad319f85'::uuid]);

-- Query #40944 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd1edadfc-01a3-cfd9-846b-e2ecad319f85'::uuid;

-- Query #40945 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1edadfc-01a3-cfd9-846b-e2ecad319f85'::uuid, 'Imdb', 'tt11248106')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40946 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1edadfc-01a3-cfd9-846b-e2ecad319f85'::uuid, 'TvMaze', 1780062)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1edadfc-01a3-cfd9-846b-e2ecad319f85'::uuid, 'Tvdb', 7525365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40948 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd1edadfc-01a3-cfd9-846b-e2ecad319f85'::uuid;

-- Query #40949 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd1edadfc-01a3-cfd9-846b-e2ecad319f85'::uuid;

-- Query #40950 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d1edadfc-01a3-cfd9-846b-e2ecad319f85'::uuid]);

-- Query #40951 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd1edadfc-01a3-cfd9-846b-e2ecad319f85'::uuid;

-- Query #40952 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40953 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'de88b449-5f6c-62d6-5780-7cbf74c55c36'::uuid;

-- Query #40954 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['de88b449-5f6c-62d6-5780-7cbf74c55c36'::uuid]);

-- Query #40955 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'de88b449-5f6c-62d6-5780-7cbf74c55c36'::uuid;

-- Query #40956 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de88b449-5f6c-62d6-5780-7cbf74c55c36'::uuid, 'Imdb', 'tt11248110')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40957 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de88b449-5f6c-62d6-5780-7cbf74c55c36'::uuid, 'TvMaze', 1785170)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40958 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('de88b449-5f6c-62d6-5780-7cbf74c55c36'::uuid, 'Tvdb', 7528595)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40959 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'de88b449-5f6c-62d6-5780-7cbf74c55c36'::uuid;

-- Query #40960 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'de88b449-5f6c-62d6-5780-7cbf74c55c36'::uuid;

-- Query #40961 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['de88b449-5f6c-62d6-5780-7cbf74c55c36'::uuid]);

-- Query #40962 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'de88b449-5f6c-62d6-5780-7cbf74c55c36'::uuid;

-- Query #40963 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40964 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99a8f1e0-eb9a-715e-8ab9-b24ebd6385f1'::uuid;

-- Query #40965 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99a8f1e0-eb9a-715e-8ab9-b24ebd6385f1'::uuid]);

-- Query #40966 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '99a8f1e0-eb9a-715e-8ab9-b24ebd6385f1'::uuid;

-- Query #40967 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99a8f1e0-eb9a-715e-8ab9-b24ebd6385f1'::uuid, 'Imdb', 'tt10851244')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40968 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99a8f1e0-eb9a-715e-8ab9-b24ebd6385f1'::uuid, 'TvMaze', 1718927)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40969 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('99a8f1e0-eb9a-715e-8ab9-b24ebd6385f1'::uuid, 'Tvdb', 7373428)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40970 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '99a8f1e0-eb9a-715e-8ab9-b24ebd6385f1'::uuid;

-- Query #40971 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '99a8f1e0-eb9a-715e-8ab9-b24ebd6385f1'::uuid;

-- Query #40972 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['99a8f1e0-eb9a-715e-8ab9-b24ebd6385f1'::uuid]);

-- Query #40973 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '99a8f1e0-eb9a-715e-8ab9-b24ebd6385f1'::uuid;

-- Query #40974 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40975 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd5ad9c83-25d6-b2d4-fc33-2a1044c2117d'::uuid;

-- Query #40976 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d5ad9c83-25d6-b2d4-fc33-2a1044c2117d'::uuid]);

-- Query #40977 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd5ad9c83-25d6-b2d4-fc33-2a1044c2117d'::uuid;

-- Query #40978 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5ad9c83-25d6-b2d4-fc33-2a1044c2117d'::uuid, 'Imdb', 'tt11248102')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40979 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5ad9c83-25d6-b2d4-fc33-2a1044c2117d'::uuid, 'TvMaze', 1769654)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d5ad9c83-25d6-b2d4-fc33-2a1044c2117d'::uuid, 'Tvdb', 7460719)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40981 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd5ad9c83-25d6-b2d4-fc33-2a1044c2117d'::uuid;

-- Query #40982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd5ad9c83-25d6-b2d4-fc33-2a1044c2117d'::uuid;

-- Query #40983 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d5ad9c83-25d6-b2d4-fc33-2a1044c2117d'::uuid]);

-- Query #40984 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd5ad9c83-25d6-b2d4-fc33-2a1044c2117d'::uuid;

-- Query #40985 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40986 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f75d01ec-d39e-81a2-4a31-c8dc8cc87e90'::uuid;

-- Query #40987 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f75d01ec-d39e-81a2-4a31-c8dc8cc87e90'::uuid]);

-- Query #40988 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f75d01ec-d39e-81a2-4a31-c8dc8cc87e90'::uuid;

-- Query #40989 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f75d01ec-d39e-81a2-4a31-c8dc8cc87e90'::uuid, 'Imdb', 'tt10815674')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40990 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f75d01ec-d39e-81a2-4a31-c8dc8cc87e90'::uuid, 'TvMaze', 1714734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f75d01ec-d39e-81a2-4a31-c8dc8cc87e90'::uuid, 'Tvdb', 7362662)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #40992 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f75d01ec-d39e-81a2-4a31-c8dc8cc87e90'::uuid;

-- Query #40993 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f75d01ec-d39e-81a2-4a31-c8dc8cc87e90'::uuid;

-- Query #40994 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f75d01ec-d39e-81a2-4a31-c8dc8cc87e90'::uuid]);

-- Query #40995 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f75d01ec-d39e-81a2-4a31-c8dc8cc87e90'::uuid;

-- Query #40996 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #40997 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '878bb052-b26b-efbf-90b8-a40bbff99e54'::uuid;

-- Query #40998 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['878bb052-b26b-efbf-90b8-a40bbff99e54'::uuid]);

-- Query #40999 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '878bb052-b26b-efbf-90b8-a40bbff99e54'::uuid;

-- Query #41000 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('878bb052-b26b-efbf-90b8-a40bbff99e54'::uuid, 'Imdb', 'tt11248112')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41001 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('878bb052-b26b-efbf-90b8-a40bbff99e54'::uuid, 'TvMaze', 1796260)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('878bb052-b26b-efbf-90b8-a40bbff99e54'::uuid, 'Tvdb', 7575821)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41003 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '878bb052-b26b-efbf-90b8-a40bbff99e54'::uuid;

-- Query #41004 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '878bb052-b26b-efbf-90b8-a40bbff99e54'::uuid;

-- Query #41005 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['878bb052-b26b-efbf-90b8-a40bbff99e54'::uuid]);

-- Query #41006 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '878bb052-b26b-efbf-90b8-a40bbff99e54'::uuid;

-- Query #41007 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41008 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3ce18d0f-6285-a00e-5c38-08ad936a7fdd'::uuid;

-- Query #41009 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ce18d0f-6285-a00e-5c38-08ad936a7fdd'::uuid]);

-- Query #41010 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3ce18d0f-6285-a00e-5c38-08ad936a7fdd'::uuid;

-- Query #41011 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ce18d0f-6285-a00e-5c38-08ad936a7fdd'::uuid, 'Imdb', 'tt11248096')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41012 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ce18d0f-6285-a00e-5c38-08ad936a7fdd'::uuid, 'TvMaze', 1753323)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3ce18d0f-6285-a00e-5c38-08ad936a7fdd'::uuid, 'Tvdb', 7436174)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41014 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3ce18d0f-6285-a00e-5c38-08ad936a7fdd'::uuid;

-- Query #41015 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3ce18d0f-6285-a00e-5c38-08ad936a7fdd'::uuid;

-- Query #41016 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3ce18d0f-6285-a00e-5c38-08ad936a7fdd'::uuid]);

-- Query #41017 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3ce18d0f-6285-a00e-5c38-08ad936a7fdd'::uuid;

-- Query #41018 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid, 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41019 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dfef76ef-2c8e-4308-1b54-5948dcbbde1c'::uuid
ORDER BY b."SortName";

-- Query #41020 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '968ccc61-8d81-d32f-1479-cc8b4538f96f'::uuid
ORDER BY b."SortName";

-- Query #41021 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '837aeabc-3a66-fff9-4812-79fca548bb25'::uuid
ORDER BY b."SortName";

-- Query #41022 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '82f96915-738a-8656-0cc3-925fea3f51ee'::uuid
ORDER BY b."SortName";

-- Query #41023 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '419fb1ca-0d5e-4566-0551-cafa126ea09e'::uuid
ORDER BY b."SortName";

-- Query #41024 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '795e5b70-e57c-a7dd-b707-e988f4e8eb35'::uuid
ORDER BY b."SortName";

-- Query #41025 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '53a5a718-3584-8a2a-1ace-57e539c3e2d8'::uuid
ORDER BY b."SortName";

-- Query #41026 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '727c1df5-b56d-e2aa-5ad2-3636c72a129c'::uuid
ORDER BY b."SortName";

-- Query #41027 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '00da74dd-1686-d116-b373-6e87b785e83f'::uuid
ORDER BY b."SortName";

-- Query #41028 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '25f47a19-7acd-7248-92ea-f8ee7370d184'::uuid
ORDER BY b."SortName";

-- Query #41029 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7ad0dfc3-60ad-211e-79f2-1664c81c04cb'::uuid
ORDER BY b."SortName";

-- Query #41030 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd60a2b5a-4aa0-0fba-c31f-1bc6ee56266f'::uuid
ORDER BY b."SortName";

-- Query #41031 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'dfef76ef2c8e43081b545948dcbbde1c'
ORDER BY b."SortName", b."Name";

-- Query #41032 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid
ORDER BY b."SortName";

-- Query #41033 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid])
ORDER BY b."Id";

-- Query #41034 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid])
ORDER BY b."Id";

-- Query #41035 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid])
ORDER BY b."Id";

-- Query #41036 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid])
ORDER BY b."Id";

-- Query #41037 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid])
ORDER BY b."Id";

-- Query #41038 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid
ORDER BY b."SortName";

-- Query #41039 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid;

-- Query #41040 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid]);

-- Query #41041 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid;

-- Query #41042 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, 'eidr', '10.5240/FFC8-918E-1235-FB2F-BE79-6')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41043 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, 'facebook', 'moonknight')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41044 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, 'Imdb', 'tt10234724')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41045 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, 'instagram', 'themoonknight')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, 'official website', 'https://www.disneyplus.com/series/moon-knight/4S3oOF1knocS')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, 'Tmdb', 92749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, 'TmdbCollection', 92749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41049 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, 'Tvdb', 368611)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41050 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, 'TvMaze', 43518)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41051 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, 'wikidata', 'Q84712802')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41052 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, 'x (twitter)', 'moonknight')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41053 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid;

-- Query #41054 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid;

-- Query #41055 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid]);

-- Query #41056 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid;

-- Query #41057 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41058 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '21115857f3ef52fe47bf37dc20e7c945'
ORDER BY b."SortName", b."Name";

-- Query #41059 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid
ORDER BY b."SortName";

-- Query #41060 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid])
ORDER BY b."Id";

-- Query #41061 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid])
ORDER BY b."Id";

-- Query #41062 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid])
ORDER BY b."Id";

-- Query #41063 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid])
ORDER BY b."Id";

-- Query #41064 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid])
ORDER BY b."Id";

-- Query #41065 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid
ORDER BY b."SortName";

-- Query #41066 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '21115857f3ef52fe47bf37dc20e7c945'
ORDER BY b."SortName", b."Name";

-- Query #41067 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid;

-- Query #41068 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid]);

-- Query #41069 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid;

-- Query #41070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid, 'Tvdb', 368611)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41071 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid, 'Tmdb', 92749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41072 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid, 'Imdb', 'tt10234724')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41073 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid, 'TvMaze', 43518)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41074 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid, 'wikidata', 'Q84712802')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41075 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid, 'eidr', '10.5240/FFC8-918E-1235-FB2F-BE79-6')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41076 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid, 'TmdbCollection', 92749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41077 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid;

-- Query #41078 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid;

-- Query #41079 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid]);

-- Query #41080 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid;

-- Query #41081 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41082 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #41083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6df2c28-eb87-a153-c1c1-e826543ce41c'::uuid;

-- Query #41084 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6df2c28-eb87-a153-c1c1-e826543ce41c'::uuid]);

-- Query #41085 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e6df2c28-eb87-a153-c1c1-e826543ce41c'::uuid;

-- Query #41086 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6df2c28-eb87-a153-c1c1-e826543ce41c'::uuid, 'Imdb', 'tt11950098')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41087 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6df2c28-eb87-a153-c1c1-e826543ce41c'::uuid, 'Tmdb', 3453974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41088 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6df2c28-eb87-a153-c1c1-e826543ce41c'::uuid, 'trakt', 5838765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41089 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6df2c28-eb87-a153-c1c1-e826543ce41c'::uuid, 'TvMaze', 2307774)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41090 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6df2c28-eb87-a153-c1c1-e826543ce41c'::uuid, 'Tvdb', 8950496)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e6df2c28-eb87-a153-c1c1-e826543ce41c'::uuid, 'TmdbCollection', 3453974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41092 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e6df2c28-eb87-a153-c1c1-e826543ce41c'::uuid;

-- Query #41093 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e6df2c28-eb87-a153-c1c1-e826543ce41c'::uuid;

-- Query #41094 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e6df2c28-eb87-a153-c1c1-e826543ce41c'::uuid]);

-- Query #41095 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e6df2c28-eb87-a153-c1c1-e826543ce41c'::uuid;

-- Query #41096 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid, '21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41097 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bff1e394-ddbc-c78e-ac0a-8502031f52e3'::uuid;

-- Query #41098 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bff1e394-ddbc-c78e-ac0a-8502031f52e3'::uuid]);

-- Query #41099 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bff1e394-ddbc-c78e-ac0a-8502031f52e3'::uuid;

-- Query #41100 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bff1e394-ddbc-c78e-ac0a-8502031f52e3'::uuid, 'Imdb', 'tt11950096')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41101 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bff1e394-ddbc-c78e-ac0a-8502031f52e3'::uuid, 'Tmdb', 3453972)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bff1e394-ddbc-c78e-ac0a-8502031f52e3'::uuid, 'trakt', 5838763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bff1e394-ddbc-c78e-ac0a-8502031f52e3'::uuid, 'TvMaze', 2307772)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bff1e394-ddbc-c78e-ac0a-8502031f52e3'::uuid, 'Tvdb', 8950494)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41105 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bff1e394-ddbc-c78e-ac0a-8502031f52e3'::uuid, 'TmdbCollection', 3453972)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41106 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bff1e394-ddbc-c78e-ac0a-8502031f52e3'::uuid;

-- Query #41107 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bff1e394-ddbc-c78e-ac0a-8502031f52e3'::uuid;

-- Query #41108 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bff1e394-ddbc-c78e-ac0a-8502031f52e3'::uuid]);

-- Query #41109 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bff1e394-ddbc-c78e-ac0a-8502031f52e3'::uuid;

-- Query #41110 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid, '21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41111 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid;

-- Query #41112 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid]);

-- Query #41113 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid;

-- Query #41114 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid, 'Imdb', 'tt11950090')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41115 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid, 'Tmdb', 3453975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41116 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid, 'trakt', 5838766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41117 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid, 'TvMaze', 2307775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41118 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid, 'Tvdb', 8950497)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41119 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid, 'TmdbCollection', 3453975)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41120 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid;

-- Query #41121 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid;

-- Query #41122 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid]);

-- Query #41123 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid;

-- Query #41124 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid, '21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41125 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd661ed72-c7f4-49c0-5c02-f4ac73c6d3f7'::uuid;

-- Query #41126 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d661ed72-c7f4-49c0-5c02-f4ac73c6d3f7'::uuid]);

-- Query #41127 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd661ed72-c7f4-49c0-5c02-f4ac73c6d3f7'::uuid;

-- Query #41128 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d661ed72-c7f4-49c0-5c02-f4ac73c6d3f7'::uuid, 'Imdb', 'tt11950074')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41129 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d661ed72-c7f4-49c0-5c02-f4ac73c6d3f7'::uuid, 'Tmdb', 3453971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41130 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d661ed72-c7f4-49c0-5c02-f4ac73c6d3f7'::uuid, 'trakt', 5838762)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41131 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d661ed72-c7f4-49c0-5c02-f4ac73c6d3f7'::uuid, 'TvMaze', 2304469)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41132 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d661ed72-c7f4-49c0-5c02-f4ac73c6d3f7'::uuid, 'Tvdb', 8950493)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41133 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d661ed72-c7f4-49c0-5c02-f4ac73c6d3f7'::uuid, 'TmdbCollection', 3453971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41134 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd661ed72-c7f4-49c0-5c02-f4ac73c6d3f7'::uuid;

-- Query #41135 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd661ed72-c7f4-49c0-5c02-f4ac73c6d3f7'::uuid;

-- Query #41136 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d661ed72-c7f4-49c0-5c02-f4ac73c6d3f7'::uuid]);

-- Query #41137 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd661ed72-c7f4-49c0-5c02-f4ac73c6d3f7'::uuid;

-- Query #41138 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid, '21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41139 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd9c0b916-b69f-43f6-a72f-c48f77ddc61d'::uuid;

-- Query #41140 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d9c0b916-b69f-43f6-a72f-c48f77ddc61d'::uuid]);

-- Query #41141 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd9c0b916-b69f-43f6-a72f-c48f77ddc61d'::uuid;

-- Query #41142 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9c0b916-b69f-43f6-a72f-c48f77ddc61d'::uuid, 'Imdb', 'tt11950082')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41143 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9c0b916-b69f-43f6-a72f-c48f77ddc61d'::uuid, 'Tmdb', 3453973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41144 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9c0b916-b69f-43f6-a72f-c48f77ddc61d'::uuid, 'trakt', 5838764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41145 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9c0b916-b69f-43f6-a72f-c48f77ddc61d'::uuid, 'TvMaze', 2307773)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9c0b916-b69f-43f6-a72f-c48f77ddc61d'::uuid, 'Tvdb', 8950495)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d9c0b916-b69f-43f6-a72f-c48f77ddc61d'::uuid, 'TmdbCollection', 3453973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41148 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd9c0b916-b69f-43f6-a72f-c48f77ddc61d'::uuid;

-- Query #41149 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd9c0b916-b69f-43f6-a72f-c48f77ddc61d'::uuid;

-- Query #41150 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d9c0b916-b69f-43f6-a72f-c48f77ddc61d'::uuid]);

-- Query #41151 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd9c0b916-b69f-43f6-a72f-c48f77ddc61d'::uuid;

-- Query #41152 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid, '21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41153 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '21115857-f3ef-52fe-47bf-37dc20e7c945'::uuid
ORDER BY b."SortName";

-- Query #41154 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid])
ORDER BY b."Id";

-- Query #41155 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid])
ORDER BY b."Id";

-- Query #41156 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid])
ORDER BY b."Id";

-- Query #41157 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid])
ORDER BY b."Id";

-- Query #41158 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid])
ORDER BY b."Id";

-- Query #41159 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'da3a2e2b-4a00-0e68-21da-9380f957f84a'::uuid
ORDER BY b."SortName";

-- Query #41160 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '21115857f3ef52fe47bf37dc20e7c945'
ORDER BY b."SortName", b."Name";

-- Query #41161 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid
ORDER BY b."SortName";

-- Query #41162 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid])
ORDER BY b."Id";

-- Query #41163 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid])
ORDER BY b."Id";

-- Query #41164 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid])
ORDER BY b."Id";

-- Query #41165 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid])
ORDER BY b."Id";

-- Query #41166 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid])
ORDER BY b."Id";

-- Query #41167 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid
ORDER BY b."SortName";

-- Query #41168 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid
ORDER BY b."SortName";

-- Query #41169 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid;

-- Query #41170 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid]);

-- Query #41171 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid;

-- Query #41172 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, 'Imdb', 'tt1842127')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41173 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, 'Tmdb', 61579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41174 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, 'TmdbCollection', 61579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41175 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, 'Tvdb', 237951)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41176 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, 'TvMaze', 407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41177 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, 'TvRage', 28092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41178 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, 'wikidata', 'Q950355')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41179 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid;

-- Query #41180 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid;

-- Query #41181 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid]);

-- Query #41182 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid;

-- Query #41183 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41184 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '807021eac58069e4f8493a97aef8c8fa'
ORDER BY b."SortName", b."Name";

-- Query #41185 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid
ORDER BY b."SortName";

-- Query #41186 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid])
ORDER BY b."Id";

-- Query #41187 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid])
ORDER BY b."Id";

-- Query #41188 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid])
ORDER BY b."Id";

-- Query #41189 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid])
ORDER BY b."Id";

-- Query #41190 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid])
ORDER BY b."Id";

-- Query #41191 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid
ORDER BY b."SortName";

-- Query #41192 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid
ORDER BY b."SortName";

-- Query #41193 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '807021eac58069e4f8493a97aef8c8fa'
ORDER BY b."SortName", b."Name";

-- Query #41194 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid;

-- Query #41195 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid]);

-- Query #41196 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid;

-- Query #41197 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, 'TmdbCollection', 61579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41198 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, 'Tvdb', 237951)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41199 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, 'Tmdb', 61579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41200 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, 'Imdb', 'tt1842127')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41201 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, 'TvMaze', 407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41202 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, 'TvRage', 28092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41203 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, 'wikidata', 'Q950355')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41204 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid;

-- Query #41205 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid;

-- Query #41206 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on video game', '6+combat', '6+martial arts', '6+martial arts tournament']);

-- Query #41207 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid]);

-- Query #41208 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid;

-- Query #41209 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41210 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '807021eac58069e4f8493a97aef8c8fa'
ORDER BY b."SortName", b."Name";

-- Query #41211 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid;

-- Query #41212 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid]);

-- Query #41213 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid;

-- Query #41214 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, 'Tvdb', 237951)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41215 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, 'Tmdb', 61579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41216 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, 'Imdb', 'tt1842127')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, 'TvMaze', 407)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, 'TvRage', 28092)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41219 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, 'wikidata', 'Q950355')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41220 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, 'TmdbCollection', 61579)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41221 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid;

-- Query #41222 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid;

-- Query #41223 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+based on video game', '6+combat', '6+martial arts', '6+martial arts tournament']);

-- Query #41224 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid]);

-- Query #41225 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid;

-- Query #41226 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41227 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '22502597-107a-3659-c2fa-252625160d29'::uuid;

-- Query #41228 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['22502597-107a-3659-c2fa-252625160d29'::uuid]);

-- Query #41229 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '22502597-107a-3659-c2fa-252625160d29'::uuid;

-- Query #41230 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22502597-107a-3659-c2fa-252625160d29'::uuid, 'TmdbCollection', 1014865)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41231 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22502597-107a-3659-c2fa-252625160d29'::uuid, 'Imdb', 'tt1845033')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41232 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22502597-107a-3659-c2fa-252625160d29'::uuid, 'Tmdb', 1014865)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41233 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22502597-107a-3659-c2fa-252625160d29'::uuid, 'TvMaze', 39387)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41234 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22502597-107a-3659-c2fa-252625160d29'::uuid, 'Tvdb', 3848231)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41235 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22502597-107a-3659-c2fa-252625160d29'::uuid, 'TvRage', 1065034349)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41236 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('22502597-107a-3659-c2fa-252625160d29'::uuid, 'trakt', 1029613)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41237 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '22502597-107a-3659-c2fa-252625160d29'::uuid;

-- Query #41238 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '22502597-107a-3659-c2fa-252625160d29'::uuid;

-- Query #41239 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['22502597-107a-3659-c2fa-252625160d29'::uuid]);

-- Query #41240 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '22502597-107a-3659-c2fa-252625160d29'::uuid;

-- Query #41241 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41242 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4cda797e-6f62-67db-c93d-b0892c1125b7'::uuid;

-- Query #41243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4cda797e-6f62-67db-c93d-b0892c1125b7'::uuid]);

-- Query #41244 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4cda797e-6f62-67db-c93d-b0892c1125b7'::uuid;

-- Query #41245 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cda797e-6f62-67db-c93d-b0892c1125b7'::uuid, 'TmdbCollection', 1014866)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cda797e-6f62-67db-c93d-b0892c1125b7'::uuid, 'Imdb', 'tt1845035')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cda797e-6f62-67db-c93d-b0892c1125b7'::uuid, 'Tmdb', 1014866)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cda797e-6f62-67db-c93d-b0892c1125b7'::uuid, 'TvMaze', 39388)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cda797e-6f62-67db-c93d-b0892c1125b7'::uuid, 'Tvdb', 3848241)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cda797e-6f62-67db-c93d-b0892c1125b7'::uuid, 'TvRage', 1065034561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cda797e-6f62-67db-c93d-b0892c1125b7'::uuid, 'trakt', 1029720)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41252 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4cda797e-6f62-67db-c93d-b0892c1125b7'::uuid;

-- Query #41253 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4cda797e-6f62-67db-c93d-b0892c1125b7'::uuid;

-- Query #41254 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4cda797e-6f62-67db-c93d-b0892c1125b7'::uuid]);

-- Query #41255 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4cda797e-6f62-67db-c93d-b0892c1125b7'::uuid;

-- Query #41256 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41257 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb4a8681-c16e-66be-9bc9-1f79fd0ba0d7'::uuid;

-- Query #41258 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bb4a8681-c16e-66be-9bc9-1f79fd0ba0d7'::uuid]);

-- Query #41259 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bb4a8681-c16e-66be-9bc9-1f79fd0ba0d7'::uuid;

-- Query #41260 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb4a8681-c16e-66be-9bc9-1f79fd0ba0d7'::uuid, 'Imdb', 'tt1845036')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41261 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb4a8681-c16e-66be-9bc9-1f79fd0ba0d7'::uuid, 'Tmdb', 1014867)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41262 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb4a8681-c16e-66be-9bc9-1f79fd0ba0d7'::uuid, 'TvMaze', 39389)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41263 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb4a8681-c16e-66be-9bc9-1f79fd0ba0d7'::uuid, 'Tvdb', 3848261)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb4a8681-c16e-66be-9bc9-1f79fd0ba0d7'::uuid, 'TvRage', 1065034562)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb4a8681-c16e-66be-9bc9-1f79fd0ba0d7'::uuid, 'trakt', 1029791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bb4a8681-c16e-66be-9bc9-1f79fd0ba0d7'::uuid, 'TmdbCollection', 1014867)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb4a8681-c16e-66be-9bc9-1f79fd0ba0d7'::uuid;

-- Query #41268 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bb4a8681-c16e-66be-9bc9-1f79fd0ba0d7'::uuid;

-- Query #41269 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bb4a8681-c16e-66be-9bc9-1f79fd0ba0d7'::uuid]);

-- Query #41270 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bb4a8681-c16e-66be-9bc9-1f79fd0ba0d7'::uuid;

-- Query #41271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6ce588c1-27bd-68b1-250a-2b1a14912211'::uuid;

-- Query #41273 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6ce588c1-27bd-68b1-250a-2b1a14912211'::uuid]);

-- Query #41274 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6ce588c1-27bd-68b1-250a-2b1a14912211'::uuid;

-- Query #41275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ce588c1-27bd-68b1-250a-2b1a14912211'::uuid, 'TmdbCollection', 1014868)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ce588c1-27bd-68b1-250a-2b1a14912211'::uuid, 'Imdb', 'tt1845037')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41277 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ce588c1-27bd-68b1-250a-2b1a14912211'::uuid, 'Tmdb', 1014868)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41278 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ce588c1-27bd-68b1-250a-2b1a14912211'::uuid, 'TvMaze', 39390)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41279 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ce588c1-27bd-68b1-250a-2b1a14912211'::uuid, 'Tvdb', 3848271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41280 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ce588c1-27bd-68b1-250a-2b1a14912211'::uuid, 'TvRage', 1065034563)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41281 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6ce588c1-27bd-68b1-250a-2b1a14912211'::uuid, 'trakt', 1029862)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6ce588c1-27bd-68b1-250a-2b1a14912211'::uuid;

-- Query #41283 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6ce588c1-27bd-68b1-250a-2b1a14912211'::uuid;

-- Query #41284 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6ce588c1-27bd-68b1-250a-2b1a14912211'::uuid]);

-- Query #41285 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6ce588c1-27bd-68b1-250a-2b1a14912211'::uuid;

-- Query #41286 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41287 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '772c9407-f4ed-ec47-8529-6341b876febd'::uuid;

-- Query #41288 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['772c9407-f4ed-ec47-8529-6341b876febd'::uuid]);

-- Query #41289 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '772c9407-f4ed-ec47-8529-6341b876febd'::uuid;

-- Query #41290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('772c9407-f4ed-ec47-8529-6341b876febd'::uuid, 'TmdbCollection', 1014869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41291 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('772c9407-f4ed-ec47-8529-6341b876febd'::uuid, 'Imdb', 'tt1845038')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41292 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('772c9407-f4ed-ec47-8529-6341b876febd'::uuid, 'Tmdb', 1014869)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41293 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('772c9407-f4ed-ec47-8529-6341b876febd'::uuid, 'TvMaze', 39391)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41294 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('772c9407-f4ed-ec47-8529-6341b876febd'::uuid, 'Tvdb', 3848291)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41295 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('772c9407-f4ed-ec47-8529-6341b876febd'::uuid, 'TvRage', 1065034564)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41296 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('772c9407-f4ed-ec47-8529-6341b876febd'::uuid, 'trakt', 1029943)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41297 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '772c9407-f4ed-ec47-8529-6341b876febd'::uuid;

-- Query #41298 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '772c9407-f4ed-ec47-8529-6341b876febd'::uuid;

-- Query #41299 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['772c9407-f4ed-ec47-8529-6341b876febd'::uuid]);

-- Query #41300 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '772c9407-f4ed-ec47-8529-6341b876febd'::uuid;

-- Query #41301 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41302 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31736272-e092-658c-a7f3-83f9f3938a31'::uuid;

-- Query #41303 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['31736272-e092-658c-a7f3-83f9f3938a31'::uuid]);

-- Query #41304 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '31736272-e092-658c-a7f3-83f9f3938a31'::uuid;

-- Query #41305 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31736272-e092-658c-a7f3-83f9f3938a31'::uuid, 'Imdb', 'tt1845039')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41306 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31736272-e092-658c-a7f3-83f9f3938a31'::uuid, 'Tmdb', 1014870)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41307 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31736272-e092-658c-a7f3-83f9f3938a31'::uuid, 'TvMaze', 39392)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41308 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31736272-e092-658c-a7f3-83f9f3938a31'::uuid, 'Tvdb', 3848311)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41309 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31736272-e092-658c-a7f3-83f9f3938a31'::uuid, 'TvRage', 1065034565)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41310 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31736272-e092-658c-a7f3-83f9f3938a31'::uuid, 'trakt', 1030038)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41311 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31736272-e092-658c-a7f3-83f9f3938a31'::uuid, 'TmdbCollection', 1014870)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41312 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31736272-e092-658c-a7f3-83f9f3938a31'::uuid;

-- Query #41313 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '31736272-e092-658c-a7f3-83f9f3938a31'::uuid;

-- Query #41314 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['31736272-e092-658c-a7f3-83f9f3938a31'::uuid]);

-- Query #41315 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '31736272-e092-658c-a7f3-83f9f3938a31'::uuid;

-- Query #41316 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41317 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #41318 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e33b7fa-b70e-9506-b277-43f29adf5e23'::uuid;

-- Query #41319 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6e33b7fa-b70e-9506-b277-43f29adf5e23'::uuid]);

-- Query #41320 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6e33b7fa-b70e-9506-b277-43f29adf5e23'::uuid;

-- Query #41321 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e33b7fa-b70e-9506-b277-43f29adf5e23'::uuid, 'TmdbCollection', 1014872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41322 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e33b7fa-b70e-9506-b277-43f29adf5e23'::uuid, 'Imdb', 'tt1845041')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41323 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e33b7fa-b70e-9506-b277-43f29adf5e23'::uuid, 'Tmdb', 1014872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e33b7fa-b70e-9506-b277-43f29adf5e23'::uuid, 'TvMaze', 39394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e33b7fa-b70e-9506-b277-43f29adf5e23'::uuid, 'Tvdb', 3848351)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e33b7fa-b70e-9506-b277-43f29adf5e23'::uuid, 'TvRage', 1065034567)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6e33b7fa-b70e-9506-b277-43f29adf5e23'::uuid, 'trakt', 1030214)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e33b7fa-b70e-9506-b277-43f29adf5e23'::uuid;

-- Query #41329 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6e33b7fa-b70e-9506-b277-43f29adf5e23'::uuid;

-- Query #41330 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6e33b7fa-b70e-9506-b277-43f29adf5e23'::uuid]);

-- Query #41331 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6e33b7fa-b70e-9506-b277-43f29adf5e23'::uuid;

-- Query #41332 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41333 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bdad9823-bf7a-d554-6735-1783dc0c1be1'::uuid;

-- Query #41334 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bdad9823-bf7a-d554-6735-1783dc0c1be1'::uuid]);

-- Query #41335 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bdad9823-bf7a-d554-6735-1783dc0c1be1'::uuid;

-- Query #41336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdad9823-bf7a-d554-6735-1783dc0c1be1'::uuid, 'Imdb', 'tt2629976')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdad9823-bf7a-d554-6735-1783dc0c1be1'::uuid, 'Tmdb', 1014875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdad9823-bf7a-d554-6735-1783dc0c1be1'::uuid, 'TvMaze', 39397)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdad9823-bf7a-d554-6735-1783dc0c1be1'::uuid, 'Tvdb', 4660119)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdad9823-bf7a-d554-6735-1783dc0c1be1'::uuid, 'TvRage', 1065398764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41341 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdad9823-bf7a-d554-6735-1783dc0c1be1'::uuid, 'trakt', 1030546)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41342 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bdad9823-bf7a-d554-6735-1783dc0c1be1'::uuid, 'TmdbCollection', 1014875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41343 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bdad9823-bf7a-d554-6735-1783dc0c1be1'::uuid;

-- Query #41344 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bdad9823-bf7a-d554-6735-1783dc0c1be1'::uuid;

-- Query #41345 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bdad9823-bf7a-d554-6735-1783dc0c1be1'::uuid]);

-- Query #41346 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bdad9823-bf7a-d554-6735-1783dc0c1be1'::uuid;

-- Query #41347 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41348 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b2f739e-79a6-23fc-d612-8f48de507ad7'::uuid;

-- Query #41349 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7b2f739e-79a6-23fc-d612-8f48de507ad7'::uuid]);

-- Query #41350 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7b2f739e-79a6-23fc-d612-8f48de507ad7'::uuid;

-- Query #41351 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b2f739e-79a6-23fc-d612-8f48de507ad7'::uuid, 'Imdb', 'tt3351262')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41352 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b2f739e-79a6-23fc-d612-8f48de507ad7'::uuid, 'Tmdb', 1014879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41353 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b2f739e-79a6-23fc-d612-8f48de507ad7'::uuid, 'TvMaze', 39401)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41354 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b2f739e-79a6-23fc-d612-8f48de507ad7'::uuid, 'Tvdb', 4660123)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41355 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b2f739e-79a6-23fc-d612-8f48de507ad7'::uuid, 'TvRage', 1065398768)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41356 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b2f739e-79a6-23fc-d612-8f48de507ad7'::uuid, 'trakt', 1030951)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41357 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b2f739e-79a6-23fc-d612-8f48de507ad7'::uuid, 'TmdbCollection', 1014879)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41358 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b2f739e-79a6-23fc-d612-8f48de507ad7'::uuid;

-- Query #41359 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7b2f739e-79a6-23fc-d612-8f48de507ad7'::uuid;

-- Query #41360 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7b2f739e-79a6-23fc-d612-8f48de507ad7'::uuid]);

-- Query #41361 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7b2f739e-79a6-23fc-d612-8f48de507ad7'::uuid;

-- Query #41362 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41363 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8d6ae091-8054-2c9c-c211-73d5f5a7b9e3'::uuid;

-- Query #41364 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8d6ae091-8054-2c9c-c211-73d5f5a7b9e3'::uuid]);

-- Query #41365 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8d6ae091-8054-2c9c-c211-73d5f5a7b9e3'::uuid;

-- Query #41366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d6ae091-8054-2c9c-c211-73d5f5a7b9e3'::uuid, 'Imdb', 'tt3301380')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d6ae091-8054-2c9c-c211-73d5f5a7b9e3'::uuid, 'Tmdb', 1014877)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d6ae091-8054-2c9c-c211-73d5f5a7b9e3'::uuid, 'TvMaze', 39399)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d6ae091-8054-2c9c-c211-73d5f5a7b9e3'::uuid, 'Tvdb', 4660121)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d6ae091-8054-2c9c-c211-73d5f5a7b9e3'::uuid, 'TvRage', 1065398766)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41371 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d6ae091-8054-2c9c-c211-73d5f5a7b9e3'::uuid, 'trakt', 1030749)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41372 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8d6ae091-8054-2c9c-c211-73d5f5a7b9e3'::uuid, 'TmdbCollection', 1014877)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41373 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8d6ae091-8054-2c9c-c211-73d5f5a7b9e3'::uuid;

-- Query #41374 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8d6ae091-8054-2c9c-c211-73d5f5a7b9e3'::uuid;

-- Query #41375 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8d6ae091-8054-2c9c-c211-73d5f5a7b9e3'::uuid]);

-- Query #41376 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8d6ae091-8054-2c9c-c211-73d5f5a7b9e3'::uuid;

-- Query #41377 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41378 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c660b4be-95da-3f9b-a944-1b8e3278b87d'::uuid;

-- Query #41379 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c660b4be-95da-3f9b-a944-1b8e3278b87d'::uuid]);

-- Query #41380 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c660b4be-95da-3f9b-a944-1b8e3278b87d'::uuid;

-- Query #41381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c660b4be-95da-3f9b-a944-1b8e3278b87d'::uuid, 'Imdb', 'tt3338446')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41382 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c660b4be-95da-3f9b-a944-1b8e3278b87d'::uuid, 'Tmdb', 1014878)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41383 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c660b4be-95da-3f9b-a944-1b8e3278b87d'::uuid, 'TvMaze', 39400)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c660b4be-95da-3f9b-a944-1b8e3278b87d'::uuid, 'Tvdb', 4660122)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c660b4be-95da-3f9b-a944-1b8e3278b87d'::uuid, 'TvRage', 1065398767)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c660b4be-95da-3f9b-a944-1b8e3278b87d'::uuid, 'trakt', 1030850)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41387 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c660b4be-95da-3f9b-a944-1b8e3278b87d'::uuid, 'TmdbCollection', 1014878)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41388 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c660b4be-95da-3f9b-a944-1b8e3278b87d'::uuid;

-- Query #41389 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c660b4be-95da-3f9b-a944-1b8e3278b87d'::uuid;

-- Query #41390 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c660b4be-95da-3f9b-a944-1b8e3278b87d'::uuid]);

-- Query #41391 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c660b4be-95da-3f9b-a944-1b8e3278b87d'::uuid;

-- Query #41392 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41393 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e36f6956-93c2-2d87-e053-397653c27380'::uuid;

-- Query #41394 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e36f6956-93c2-2d87-e053-397653c27380'::uuid]);

-- Query #41395 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e36f6956-93c2-2d87-e053-397653c27380'::uuid;

-- Query #41396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e36f6956-93c2-2d87-e053-397653c27380'::uuid, 'Imdb', 'tt3374490')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e36f6956-93c2-2d87-e053-397653c27380'::uuid, 'Tmdb', 1014882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41398 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e36f6956-93c2-2d87-e053-397653c27380'::uuid, 'TvMaze', 39404)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41399 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e36f6956-93c2-2d87-e053-397653c27380'::uuid, 'Tvdb', 4668395)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41400 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e36f6956-93c2-2d87-e053-397653c27380'::uuid, 'TvRage', 1065398771)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41401 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e36f6956-93c2-2d87-e053-397653c27380'::uuid, 'trakt', 1031261)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e36f6956-93c2-2d87-e053-397653c27380'::uuid, 'TmdbCollection', 1014882)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41403 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e36f6956-93c2-2d87-e053-397653c27380'::uuid;

-- Query #41404 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e36f6956-93c2-2d87-e053-397653c27380'::uuid;

-- Query #41405 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e36f6956-93c2-2d87-e053-397653c27380'::uuid]);

-- Query #41406 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e36f6956-93c2-2d87-e053-397653c27380'::uuid;

-- Query #41407 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41408 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a34d578c-f0f3-88d5-0dad-d33093971898'::uuid;

-- Query #41409 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a34d578c-f0f3-88d5-0dad-d33093971898'::uuid]);

-- Query #41410 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a34d578c-f0f3-88d5-0dad-d33093971898'::uuid;

-- Query #41411 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a34d578c-f0f3-88d5-0dad-d33093971898'::uuid, 'TmdbCollection', 1014883)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41412 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a34d578c-f0f3-88d5-0dad-d33093971898'::uuid, 'Imdb', 'tt3374492')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a34d578c-f0f3-88d5-0dad-d33093971898'::uuid, 'Tmdb', 1014883)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a34d578c-f0f3-88d5-0dad-d33093971898'::uuid, 'TvMaze', 39405)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a34d578c-f0f3-88d5-0dad-d33093971898'::uuid, 'Tvdb', 4668396)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41416 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a34d578c-f0f3-88d5-0dad-d33093971898'::uuid, 'TvRage', 1065398775)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a34d578c-f0f3-88d5-0dad-d33093971898'::uuid, 'trakt', 1031352)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41418 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a34d578c-f0f3-88d5-0dad-d33093971898'::uuid;

-- Query #41419 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a34d578c-f0f3-88d5-0dad-d33093971898'::uuid;

-- Query #41420 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a34d578c-f0f3-88d5-0dad-d33093971898'::uuid]);

-- Query #41421 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a34d578c-f0f3-88d5-0dad-d33093971898'::uuid;

-- Query #41422 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41423 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8bcb0e91-f2a1-d7de-8fa4-5d3419fea73f'::uuid;

-- Query #41424 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8bcb0e91-f2a1-d7de-8fa4-5d3419fea73f'::uuid]);

-- Query #41425 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8bcb0e91-f2a1-d7de-8fa4-5d3419fea73f'::uuid;

-- Query #41426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bcb0e91-f2a1-d7de-8fa4-5d3419fea73f'::uuid, 'TmdbCollection', 1014874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41427 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bcb0e91-f2a1-d7de-8fa4-5d3419fea73f'::uuid, 'Imdb', 'tt2542864')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bcb0e91-f2a1-d7de-8fa4-5d3419fea73f'::uuid, 'Tmdb', 1014874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bcb0e91-f2a1-d7de-8fa4-5d3419fea73f'::uuid, 'TvMaze', 39396)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41430 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bcb0e91-f2a1-d7de-8fa4-5d3419fea73f'::uuid, 'Tvdb', 4375415)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41431 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bcb0e91-f2a1-d7de-8fa4-5d3419fea73f'::uuid, 'TvRage', 1065391325)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41432 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8bcb0e91-f2a1-d7de-8fa4-5d3419fea73f'::uuid, 'trakt', 1030439)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41433 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8bcb0e91-f2a1-d7de-8fa4-5d3419fea73f'::uuid;

-- Query #41434 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8bcb0e91-f2a1-d7de-8fa4-5d3419fea73f'::uuid;

-- Query #41435 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8bcb0e91-f2a1-d7de-8fa4-5d3419fea73f'::uuid]);

-- Query #41436 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8bcb0e91-f2a1-d7de-8fa4-5d3419fea73f'::uuid;

-- Query #41437 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41438 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7c8cd977-3d37-80e0-e495-0e0882c1c505'::uuid;

-- Query #41439 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7c8cd977-3d37-80e0-e495-0e0882c1c505'::uuid]);

-- Query #41440 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7c8cd977-3d37-80e0-e495-0e0882c1c505'::uuid;

-- Query #41441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c8cd977-3d37-80e0-e495-0e0882c1c505'::uuid, 'TmdbCollection', 1014880)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41442 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c8cd977-3d37-80e0-e495-0e0882c1c505'::uuid, 'Imdb', 'tt3351272')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41443 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c8cd977-3d37-80e0-e495-0e0882c1c505'::uuid, 'Tmdb', 1014880)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41444 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c8cd977-3d37-80e0-e495-0e0882c1c505'::uuid, 'TvMaze', 39402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41445 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c8cd977-3d37-80e0-e495-0e0882c1c505'::uuid, 'Tvdb', 4668393)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c8cd977-3d37-80e0-e495-0e0882c1c505'::uuid, 'TvRage', 1065398769)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7c8cd977-3d37-80e0-e495-0e0882c1c505'::uuid, 'trakt', 1031056)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41448 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7c8cd977-3d37-80e0-e495-0e0882c1c505'::uuid;

-- Query #41449 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7c8cd977-3d37-80e0-e495-0e0882c1c505'::uuid;

-- Query #41450 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7c8cd977-3d37-80e0-e495-0e0882c1c505'::uuid]);

-- Query #41451 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7c8cd977-3d37-80e0-e495-0e0882c1c505'::uuid;

-- Query #41452 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41453 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ccbea283-ee83-c3ac-d507-70dbb2519da9'::uuid;

-- Query #41454 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ccbea283-ee83-c3ac-d507-70dbb2519da9'::uuid]);

-- Query #41455 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ccbea283-ee83-c3ac-d507-70dbb2519da9'::uuid;

-- Query #41456 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ccbea283-ee83-c3ac-d507-70dbb2519da9'::uuid, 'Imdb', 'tt3361400')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ccbea283-ee83-c3ac-d507-70dbb2519da9'::uuid, 'Tmdb', 1014881)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ccbea283-ee83-c3ac-d507-70dbb2519da9'::uuid, 'TvMaze', 39403)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41459 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ccbea283-ee83-c3ac-d507-70dbb2519da9'::uuid, 'Tvdb', 4668394)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41460 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ccbea283-ee83-c3ac-d507-70dbb2519da9'::uuid, 'TvRage', 1065398770)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ccbea283-ee83-c3ac-d507-70dbb2519da9'::uuid, 'trakt', 1031168)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ccbea283-ee83-c3ac-d507-70dbb2519da9'::uuid, 'TmdbCollection', 1014881)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41463 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ccbea283-ee83-c3ac-d507-70dbb2519da9'::uuid;

-- Query #41464 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ccbea283-ee83-c3ac-d507-70dbb2519da9'::uuid;

-- Query #41465 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ccbea283-ee83-c3ac-d507-70dbb2519da9'::uuid]);

-- Query #41466 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ccbea283-ee83-c3ac-d507-70dbb2519da9'::uuid;

-- Query #41467 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid, '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41468 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '807021ea-c580-69e4-f849-3a97aef8c8fa'::uuid
ORDER BY b."SortName";

-- Query #41469 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid])
ORDER BY b."Id";

-- Query #41470 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid])
ORDER BY b."Id";

-- Query #41471 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid])
ORDER BY b."Id";

-- Query #41472 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid])
ORDER BY b."Id";

-- Query #41473 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid, '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid])
ORDER BY b."Id";

-- Query #41474 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '85255987-efca-1acb-ecb5-5d09998bcf4e'::uuid
ORDER BY b."SortName";

-- Query #41475 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1d5559cc-7015-512a-f8d6-671edd24cc37'::uuid
ORDER BY b."SortName";

-- Query #41476 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '807021eac58069e4f8493a97aef8c8fa'
ORDER BY b."SortName", b."Name";

-- Query #41477 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid
ORDER BY b."SortName";

-- Query #41478 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41479 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41480 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41481 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41482 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41483 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid
ORDER BY b."SortName";

-- Query #41484 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid
ORDER BY b."SortName";

-- Query #41485 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '60efddbf-7c73-4481-ae95-865cead86e24'::uuid
ORDER BY b."SortName";

-- Query #41486 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid
ORDER BY b."SortName";

-- Query #41487 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid;

-- Query #41488 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid]);

-- Query #41489 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid;

-- Query #41490 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid, 'facebook', 'WhoIsMrRobot')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41491 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid, 'Imdb', 'tt4158110')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41492 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid, 'instagram', 'whoismrrobot')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41493 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid, 'official website', 'https://www.usanetwork.com/mr-robot')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid, 'reddit', 'MrRobot/')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41495 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid, 'Tmdb', 62560)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid, 'TmdbCollection', 62560)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid, 'Tvdb', 289590)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid, 'TvRage', 42422)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid, 'x (twitter)', 'WhoIsMrRobot')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41500 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid;

-- Query #41501 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid;

-- Query #41502 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid]);

-- Query #41503 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid;

-- Query #41504 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41505 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '0c1954cf2d291cb791e2104712d399f7'
ORDER BY b."SortName", b."Name";

-- Query #41506 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41507 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41508 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41509 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41510 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41511 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid
ORDER BY b."SortName";

-- Query #41512 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41513 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41514 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41515 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41516 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41517 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid
ORDER BY b."SortName";

-- Query #41518 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid
ORDER BY b."SortName";

-- Query #41519 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '60efddbf-7c73-4481-ae95-865cead86e24'::uuid
ORDER BY b."SortName";

-- Query #41520 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid
ORDER BY b."SortName";

-- Query #41521 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '0c1954cf2d291cb791e2104712d399f7'
ORDER BY b."SortName", b."Name";

-- Query #41522 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid;

-- Query #41523 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid]);

-- Query #41524 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid;

-- Query #41525 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, 'Tvdb', 606757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41526 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid;

-- Query #41527 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid;

-- Query #41528 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid]);

-- Query #41529 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid;

-- Query #41530 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41531 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '0c1954cf2d291cb791e2104712d399f7'
ORDER BY b."SortName", b."Name";

-- Query #41532 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid;

-- Query #41533 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20a4ee53-6830-7898-d240-2216e062c8bc'::uuid]);

-- Query #41534 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid;

-- Query #41535 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, 'Tvdb', 664131)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41536 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid;

-- Query #41537 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid;

-- Query #41538 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['20a4ee53-6830-7898-d240-2216e062c8bc'::uuid]);

-- Query #41539 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid;

-- Query #41540 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41541 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '0c1954cf2d291cb791e2104712d399f7'
ORDER BY b."SortName", b."Name";

-- Query #41542 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60efddbf-7c73-4481-ae95-865cead86e24'::uuid;

-- Query #41543 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['60efddbf-7c73-4481-ae95-865cead86e24'::uuid]);

-- Query #41544 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '60efddbf-7c73-4481-ae95-865cead86e24'::uuid;

-- Query #41545 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('60efddbf-7c73-4481-ae95-865cead86e24'::uuid, 'Tvdb', 703652)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41546 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '60efddbf-7c73-4481-ae95-865cead86e24'::uuid;

-- Query #41547 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '60efddbf-7c73-4481-ae95-865cead86e24'::uuid;

-- Query #41548 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['60efddbf-7c73-4481-ae95-865cead86e24'::uuid]);

-- Query #41549 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '60efddbf-7c73-4481-ae95-865cead86e24'::uuid;

-- Query #41550 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41551 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '0c1954cf2d291cb791e2104712d399f7'
ORDER BY b."SortName", b."Name";

-- Query #41552 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid;

-- Query #41553 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid]);

-- Query #41554 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid;

-- Query #41555 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid, 'Tvdb', 823923)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41556 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid;

-- Query #41557 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid;

-- Query #41558 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid]);

-- Query #41559 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid;

-- Query #41560 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41561 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0c1954cf-2d29-1cb7-91e2-104712d399f7'::uuid
ORDER BY b."SortName";

-- Query #41562 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41563 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41564 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41565 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41566 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41567 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid
ORDER BY b."SortName";

-- Query #41568 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid
ORDER BY b."SortName";

-- Query #41569 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '60efddbf-7c73-4481-ae95-865cead86e24'::uuid
ORDER BY b."SortName";

-- Query #41570 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid
ORDER BY b."SortName";

-- Query #41571 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '0c1954cf2d291cb791e2104712d399f7'
ORDER BY b."SortName", b."Name";

-- Query #41572 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41573 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41574 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41575 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41576 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['37c6be23-7229-81f7-2649-c5efb5545f3c'::uuid, '20a4ee53-6830-7898-d240-2216e062c8bc'::uuid, '60efddbf-7c73-4481-ae95-865cead86e24'::uuid, '3e346ed7-5c1e-d757-080c-964b887b1b17'::uuid])
ORDER BY b."Id";

-- Query #41577 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid
ORDER BY b."SortName";

-- Query #41578 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid])
ORDER BY b."Id";

-- Query #41579 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid])
ORDER BY b."Id";

-- Query #41580 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid])
ORDER BY b."Id";

-- Query #41581 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid])
ORDER BY b."Id";

-- Query #41582 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid])
ORDER BY b."Id";

-- Query #41583 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid
ORDER BY b."SortName";

-- Query #41584 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid
ORDER BY b."SortName";

-- Query #41585 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid
ORDER BY b."SortName";

-- Query #41586 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid
ORDER BY b."SortName";

-- Query #41587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid;

-- Query #41588 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid]);

-- Query #41589 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid;

-- Query #41590 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, 'facebook', 'WhoIsMrRobot')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41591 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, 'Imdb', 'tt4158110')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41592 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, 'instagram', 'whoismrrobot')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41593 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, 'official website', 'https://www.usanetwork.com/mr-robot')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, 'reddit', 'MrRobot/')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, 'Tmdb', 62560)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, 'TmdbCollection', 62560)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, 'Tvdb', 289590)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, 'TvMaze', 1871)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, 'TvRage', 42422)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, 'wikidata', 'Q18844729')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, 'x (twitter)', 'WhoIsMrRobot')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41602 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid;

-- Query #41603 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid;

-- Query #41604 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid]);

-- Query #41605 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid;

-- Query #41606 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41607 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '4c621db715efa8f9e14408c65b5f8464'
ORDER BY b."SortName", b."Name";

-- Query #41608 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #41609 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid
ORDER BY b."SortName";

-- Query #41610 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid])
ORDER BY b."Id";

-- Query #41611 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid])
ORDER BY b."Id";

-- Query #41612 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid])
ORDER BY b."Id";

-- Query #41613 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid])
ORDER BY b."Id";

-- Query #41614 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid])
ORDER BY b."Id";

-- Query #41615 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid
ORDER BY b."SortName";

-- Query #41616 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid
ORDER BY b."SortName";

-- Query #41617 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid
ORDER BY b."SortName";

-- Query #41618 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid
ORDER BY b."SortName";

-- Query #41619 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '4c621db715efa8f9e14408c65b5f8464'
ORDER BY b."SortName", b."Name";

-- Query #41620 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid;

-- Query #41621 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid]);

-- Query #41622 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid;

-- Query #41623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, 'Tvdb', 606757)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, 'TvMaze', 6899)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41625 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, 'TmdbCollection', 62560)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41626 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid;

-- Query #41627 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid;

-- Query #41628 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid]);

-- Query #41629 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid;

-- Query #41630 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41631 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '4c621db715efa8f9e14408c65b5f8464'
ORDER BY b."SortName", b."Name";

-- Query #41632 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid;

-- Query #41633 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['979dcc97-522d-1a8b-1161-0258beda7c06'::uuid]);

-- Query #41634 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid;

-- Query #41635 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, 'Tvdb', 664131)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41636 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, 'TvMaze', 42629)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41637 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, 'TmdbCollection', 62560)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41638 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid;

-- Query #41639 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid;

-- Query #41640 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['979dcc97-522d-1a8b-1161-0258beda7c06'::uuid]);

-- Query #41641 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid;

-- Query #41642 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41643 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '4c621db715efa8f9e14408c65b5f8464'
ORDER BY b."SortName", b."Name";

-- Query #41644 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid;

-- Query #41645 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid]);

-- Query #41646 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid;

-- Query #41647 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, 'Tvdb', 703652)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41648 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, 'TvMaze', 62940)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41649 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, 'TmdbCollection', 62560)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41650 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid;

-- Query #41651 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid;

-- Query #41652 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid]);

-- Query #41653 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid;

-- Query #41654 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41655 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '4c621db715efa8f9e14408c65b5f8464'
ORDER BY b."SortName", b."Name";

-- Query #41656 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid;

-- Query #41657 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid]);

-- Query #41658 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid;

-- Query #41659 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, 'Tvdb', 823923)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41660 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, 'TvMaze', 88400)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41661 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, 'TmdbCollection', 62560)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41662 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid;

-- Query #41663 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid;

-- Query #41664 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid]);

-- Query #41665 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid;

-- Query #41666 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41667 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3da0ec0b-7617-fec3-d6e6-7b7228e9a0e7'::uuid;

-- Query #41668 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3da0ec0b-7617-fec3-d6e6-7b7228e9a0e7'::uuid]);

-- Query #41669 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3da0ec0b-7617-fec3-d6e6-7b7228e9a0e7'::uuid;

-- Query #41670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da0ec0b-7617-fec3-d6e6-7b7228e9a0e7'::uuid, 'TvRage', 1065827612)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da0ec0b-7617-fec3-d6e6-7b7228e9a0e7'::uuid, 'trakt', 1882696)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da0ec0b-7617-fec3-d6e6-7b7228e9a0e7'::uuid, 'TmdbCollection', 1071733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da0ec0b-7617-fec3-d6e6-7b7228e9a0e7'::uuid, 'Imdb', 'tt4686038')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da0ec0b-7617-fec3-d6e6-7b7228e9a0e7'::uuid, 'Tvdb', 5240604)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da0ec0b-7617-fec3-d6e6-7b7228e9a0e7'::uuid, 'Tmdb', 1071733)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3da0ec0b-7617-fec3-d6e6-7b7228e9a0e7'::uuid, 'TvMaze', 167379)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41677 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3da0ec0b-7617-fec3-d6e6-7b7228e9a0e7'::uuid;

-- Query #41678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3da0ec0b-7617-fec3-d6e6-7b7228e9a0e7'::uuid;

-- Query #41679 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3da0ec0b-7617-fec3-d6e6-7b7228e9a0e7'::uuid]);

-- Query #41680 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3da0ec0b-7617-fec3-d6e6-7b7228e9a0e7'::uuid;

-- Query #41681 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41682 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c30c125a-2cf8-20dd-abe7-96317baea8a6'::uuid;

-- Query #41683 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c30c125a-2cf8-20dd-abe7-96317baea8a6'::uuid]);

-- Query #41684 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c30c125a-2cf8-20dd-abe7-96317baea8a6'::uuid;

-- Query #41685 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c30c125a-2cf8-20dd-abe7-96317baea8a6'::uuid, 'Imdb', 'tt4730002')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41686 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c30c125a-2cf8-20dd-abe7-96317baea8a6'::uuid, 'Tvdb', 5240605)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41687 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c30c125a-2cf8-20dd-abe7-96317baea8a6'::uuid, 'Tmdb', 1073094)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41688 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c30c125a-2cf8-20dd-abe7-96317baea8a6'::uuid, 'TvMaze', 167380)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41689 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c30c125a-2cf8-20dd-abe7-96317baea8a6'::uuid, 'TvRage', 1065827613)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c30c125a-2cf8-20dd-abe7-96317baea8a6'::uuid, 'trakt', 1882697)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41691 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c30c125a-2cf8-20dd-abe7-96317baea8a6'::uuid, 'TmdbCollection', 1073094)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41692 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c30c125a-2cf8-20dd-abe7-96317baea8a6'::uuid;

-- Query #41693 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c30c125a-2cf8-20dd-abe7-96317baea8a6'::uuid;

-- Query #41694 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c30c125a-2cf8-20dd-abe7-96317baea8a6'::uuid]);

-- Query #41695 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c30c125a-2cf8-20dd-abe7-96317baea8a6'::uuid;

-- Query #41696 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41697 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62f7f821-3dd5-cf76-5df6-fba15e033a5a'::uuid;

-- Query #41698 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62f7f821-3dd5-cf76-5df6-fba15e033a5a'::uuid]);

-- Query #41699 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '62f7f821-3dd5-cf76-5df6-fba15e033a5a'::uuid;

-- Query #41700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62f7f821-3dd5-cf76-5df6-fba15e033a5a'::uuid, 'Imdb', 'tt4730012')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62f7f821-3dd5-cf76-5df6-fba15e033a5a'::uuid, 'Tvdb', 5240607)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62f7f821-3dd5-cf76-5df6-fba15e033a5a'::uuid, 'Tmdb', 1073096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62f7f821-3dd5-cf76-5df6-fba15e033a5a'::uuid, 'TvMaze', 167382)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62f7f821-3dd5-cf76-5df6-fba15e033a5a'::uuid, 'TvRage', 1065827615)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41705 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62f7f821-3dd5-cf76-5df6-fba15e033a5a'::uuid, 'trakt', 1882699)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41706 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62f7f821-3dd5-cf76-5df6-fba15e033a5a'::uuid, 'TmdbCollection', 1073096)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41707 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62f7f821-3dd5-cf76-5df6-fba15e033a5a'::uuid;

-- Query #41708 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '62f7f821-3dd5-cf76-5df6-fba15e033a5a'::uuid;

-- Query #41709 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['62f7f821-3dd5-cf76-5df6-fba15e033a5a'::uuid]);

-- Query #41710 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '62f7f821-3dd5-cf76-5df6-fba15e033a5a'::uuid;

-- Query #41711 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41712 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3d4d879-4bcd-f913-4894-b7d732e71171'::uuid;

-- Query #41713 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b3d4d879-4bcd-f913-4894-b7d732e71171'::uuid]);

-- Query #41714 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b3d4d879-4bcd-f913-4894-b7d732e71171'::uuid;

-- Query #41715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3d4d879-4bcd-f913-4894-b7d732e71171'::uuid, 'TmdbCollection', 1073097)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3d4d879-4bcd-f913-4894-b7d732e71171'::uuid, 'Imdb', 'tt4730014')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3d4d879-4bcd-f913-4894-b7d732e71171'::uuid, 'Tvdb', 5240610)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3d4d879-4bcd-f913-4894-b7d732e71171'::uuid, 'Tmdb', 1073097)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3d4d879-4bcd-f913-4894-b7d732e71171'::uuid, 'TvMaze', 167383)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3d4d879-4bcd-f913-4894-b7d732e71171'::uuid, 'TvRage', 1065827616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b3d4d879-4bcd-f913-4894-b7d732e71171'::uuid, 'trakt', 1882700)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41722 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3d4d879-4bcd-f913-4894-b7d732e71171'::uuid;

-- Query #41723 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b3d4d879-4bcd-f913-4894-b7d732e71171'::uuid;

-- Query #41724 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b3d4d879-4bcd-f913-4894-b7d732e71171'::uuid]);

-- Query #41725 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b3d4d879-4bcd-f913-4894-b7d732e71171'::uuid;

-- Query #41726 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41727 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffc780fa-5468-a622-eda4-f8f32b526cf6'::uuid;

-- Query #41728 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ffc780fa-5468-a622-eda4-f8f32b526cf6'::uuid]);

-- Query #41729 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ffc780fa-5468-a622-eda4-f8f32b526cf6'::uuid;

-- Query #41730 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffc780fa-5468-a622-eda4-f8f32b526cf6'::uuid, 'Imdb', 'tt4730018')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41731 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffc780fa-5468-a622-eda4-f8f32b526cf6'::uuid, 'Tvdb', 5240613)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41732 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffc780fa-5468-a622-eda4-f8f32b526cf6'::uuid, 'Tmdb', 1073098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41733 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffc780fa-5468-a622-eda4-f8f32b526cf6'::uuid, 'TvMaze', 167384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffc780fa-5468-a622-eda4-f8f32b526cf6'::uuid, 'TvRage', 1065827617)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffc780fa-5468-a622-eda4-f8f32b526cf6'::uuid, 'trakt', 1882701)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ffc780fa-5468-a622-eda4-f8f32b526cf6'::uuid, 'TmdbCollection', 1073098)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41737 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ffc780fa-5468-a622-eda4-f8f32b526cf6'::uuid;

-- Query #41738 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ffc780fa-5468-a622-eda4-f8f32b526cf6'::uuid;

-- Query #41739 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ffc780fa-5468-a622-eda4-f8f32b526cf6'::uuid]);

-- Query #41740 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ffc780fa-5468-a622-eda4-f8f32b526cf6'::uuid;

-- Query #41741 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41742 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bbe8cef-506d-d255-4ce7-fe47c3c933aa'::uuid;

-- Query #41743 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4bbe8cef-506d-d255-4ce7-fe47c3c933aa'::uuid]);

-- Query #41744 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4bbe8cef-506d-d255-4ce7-fe47c3c933aa'::uuid;

-- Query #41745 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bbe8cef-506d-d255-4ce7-fe47c3c933aa'::uuid, 'TmdbCollection', 1073099)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41746 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bbe8cef-506d-d255-4ce7-fe47c3c933aa'::uuid, 'Imdb', 'tt4730026')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41747 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bbe8cef-506d-d255-4ce7-fe47c3c933aa'::uuid, 'Tvdb', 5240615)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bbe8cef-506d-d255-4ce7-fe47c3c933aa'::uuid, 'Tmdb', 1073099)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bbe8cef-506d-d255-4ce7-fe47c3c933aa'::uuid, 'TvMaze', 167385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bbe8cef-506d-d255-4ce7-fe47c3c933aa'::uuid, 'TvRage', 1065827618)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bbe8cef-506d-d255-4ce7-fe47c3c933aa'::uuid, 'trakt', 1882702)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41752 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bbe8cef-506d-d255-4ce7-fe47c3c933aa'::uuid;

-- Query #41753 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4bbe8cef-506d-d255-4ce7-fe47c3c933aa'::uuid;

-- Query #41754 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4bbe8cef-506d-d255-4ce7-fe47c3c933aa'::uuid]);

-- Query #41755 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4bbe8cef-506d-d255-4ce7-fe47c3c933aa'::uuid;

-- Query #41756 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5aab456-3c0f-2a96-36e9-b959cd070cfe'::uuid;

-- Query #41758 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a5aab456-3c0f-2a96-36e9-b959cd070cfe'::uuid]);

-- Query #41759 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a5aab456-3c0f-2a96-36e9-b959cd070cfe'::uuid;

-- Query #41760 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5aab456-3c0f-2a96-36e9-b959cd070cfe'::uuid, 'TvRage', 1065827619)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41761 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5aab456-3c0f-2a96-36e9-b959cd070cfe'::uuid, 'trakt', 1882703)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41762 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5aab456-3c0f-2a96-36e9-b959cd070cfe'::uuid, 'TmdbCollection', 1073100)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41763 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5aab456-3c0f-2a96-36e9-b959cd070cfe'::uuid, 'Imdb', 'tt4799588')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41764 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5aab456-3c0f-2a96-36e9-b959cd070cfe'::uuid, 'Tvdb', 5240616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41765 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5aab456-3c0f-2a96-36e9-b959cd070cfe'::uuid, 'Tmdb', 1073100)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41766 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a5aab456-3c0f-2a96-36e9-b959cd070cfe'::uuid, 'TvMaze', 167386)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41767 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5aab456-3c0f-2a96-36e9-b959cd070cfe'::uuid;

-- Query #41768 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a5aab456-3c0f-2a96-36e9-b959cd070cfe'::uuid;

-- Query #41769 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a5aab456-3c0f-2a96-36e9-b959cd070cfe'::uuid]);

-- Query #41770 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a5aab456-3c0f-2a96-36e9-b959cd070cfe'::uuid;

-- Query #41771 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41772 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '47c732d2-3735-109f-a60a-a45f266becb3'::uuid;

-- Query #41773 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['47c732d2-3735-109f-a60a-a45f266becb3'::uuid]);

-- Query #41774 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '47c732d2-3735-109f-a60a-a45f266becb3'::uuid;

-- Query #41775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47c732d2-3735-109f-a60a-a45f266becb3'::uuid, 'Imdb', 'tt4652854')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41776 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47c732d2-3735-109f-a60a-a45f266becb3'::uuid, 'Tvdb', 5240617)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41777 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47c732d2-3735-109f-a60a-a45f266becb3'::uuid, 'Tmdb', 1078805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41778 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47c732d2-3735-109f-a60a-a45f266becb3'::uuid, 'TvMaze', 167387)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41779 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47c732d2-3735-109f-a60a-a45f266becb3'::uuid, 'TvRage', 1065827620)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41780 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47c732d2-3735-109f-a60a-a45f266becb3'::uuid, 'trakt', 1882704)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41781 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47c732d2-3735-109f-a60a-a45f266becb3'::uuid, 'TmdbCollection', 1078805)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41782 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '47c732d2-3735-109f-a60a-a45f266becb3'::uuid;

-- Query #41783 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '47c732d2-3735-109f-a60a-a45f266becb3'::uuid;

-- Query #41784 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['47c732d2-3735-109f-a60a-a45f266becb3'::uuid]);

-- Query #41785 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '47c732d2-3735-109f-a60a-a45f266becb3'::uuid;

-- Query #41786 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41787 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a89a8f4f-1731-74a6-1a78-ac2738440b4d'::uuid;

-- Query #41788 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a89a8f4f-1731-74a6-1a78-ac2738440b4d'::uuid]);

-- Query #41789 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a89a8f4f-1731-74a6-1a78-ac2738440b4d'::uuid;

-- Query #41790 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a89a8f4f-1731-74a6-1a78-ac2738440b4d'::uuid, 'Imdb', 'tt4901088')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41791 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a89a8f4f-1731-74a6-1a78-ac2738440b4d'::uuid, 'Tvdb', 5588492)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41792 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a89a8f4f-1731-74a6-1a78-ac2738440b4d'::uuid, 'TvRage', 1065930428)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41793 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a89a8f4f-1731-74a6-1a78-ac2738440b4d'::uuid, 'TvMaze', 733139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41794 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a89a8f4f-1731-74a6-1a78-ac2738440b4d'::uuid;

-- Query #41795 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a89a8f4f-1731-74a6-1a78-ac2738440b4d'::uuid;

-- Query #41796 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a89a8f4f-1731-74a6-1a78-ac2738440b4d'::uuid]);

-- Query #41797 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a89a8f4f-1731-74a6-1a78-ac2738440b4d'::uuid;

-- Query #41798 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41799 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a21a2ca9-4d59-e093-d576-536e614eca05'::uuid;

-- Query #41800 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a21a2ca9-4d59-e093-d576-536e614eca05'::uuid]);

-- Query #41801 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a21a2ca9-4d59-e093-d576-536e614eca05'::uuid;

-- Query #41802 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a21a2ca9-4d59-e093-d576-536e614eca05'::uuid, 'Imdb', 'tt5342606')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41803 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a21a2ca9-4d59-e093-d576-536e614eca05'::uuid, 'Tvdb', 5656559)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41804 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a21a2ca9-4d59-e093-d576-536e614eca05'::uuid, 'TvMaze', 830870)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41805 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a21a2ca9-4d59-e093-d576-536e614eca05'::uuid;

-- Query #41806 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a21a2ca9-4d59-e093-d576-536e614eca05'::uuid;

-- Query #41807 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a21a2ca9-4d59-e093-d576-536e614eca05'::uuid]);

-- Query #41808 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a21a2ca9-4d59-e093-d576-536e614eca05'::uuid;

-- Query #41809 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41810 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a83f33c-44a0-59fa-b740-176b1edcb60c'::uuid;

-- Query #41811 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3a83f33c-44a0-59fa-b740-176b1edcb60c'::uuid]);

-- Query #41812 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3a83f33c-44a0-59fa-b740-176b1edcb60c'::uuid;

-- Query #41813 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a83f33c-44a0-59fa-b740-176b1edcb60c'::uuid, 'Imdb', 'tt5344704')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41814 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a83f33c-44a0-59fa-b740-176b1edcb60c'::uuid, 'Tvdb', 5648919)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41815 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a83f33c-44a0-59fa-b740-176b1edcb60c'::uuid, 'TvMaze', 830871)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41816 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a83f33c-44a0-59fa-b740-176b1edcb60c'::uuid, 'eidr', '10.5240/8D37-94E4-E4E9-85F6-9AB9-J')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41817 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a83f33c-44a0-59fa-b740-176b1edcb60c'::uuid;

-- Query #41818 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3a83f33c-44a0-59fa-b740-176b1edcb60c'::uuid;

-- Query #41819 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3a83f33c-44a0-59fa-b740-176b1edcb60c'::uuid]);

-- Query #41820 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3a83f33c-44a0-59fa-b740-176b1edcb60c'::uuid;

-- Query #41821 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41822 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e8c7bda7-82a3-d7fb-4b49-a5575862caae'::uuid;

-- Query #41823 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e8c7bda7-82a3-d7fb-4b49-a5575862caae'::uuid]);

-- Query #41824 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e8c7bda7-82a3-d7fb-4b49-a5575862caae'::uuid;

-- Query #41825 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8c7bda7-82a3-d7fb-4b49-a5575862caae'::uuid, 'Imdb', 'tt5344766')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41826 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8c7bda7-82a3-d7fb-4b49-a5575862caae'::uuid, 'Tvdb', 5648920)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41827 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e8c7bda7-82a3-d7fb-4b49-a5575862caae'::uuid, 'TvMaze', 830872)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41828 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e8c7bda7-82a3-d7fb-4b49-a5575862caae'::uuid;

-- Query #41829 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e8c7bda7-82a3-d7fb-4b49-a5575862caae'::uuid;

-- Query #41830 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #41831 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e8c7bda7-82a3-d7fb-4b49-a5575862caae'::uuid]);

-- Query #41832 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e8c7bda7-82a3-d7fb-4b49-a5575862caae'::uuid;

-- Query #41833 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41834 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '369b829e-1d4c-a0ed-a8a8-e3026bd7af8b'::uuid;

-- Query #41835 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['369b829e-1d4c-a0ed-a8a8-e3026bd7af8b'::uuid]);

-- Query #41836 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '369b829e-1d4c-a0ed-a8a8-e3026bd7af8b'::uuid;

-- Query #41837 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('369b829e-1d4c-a0ed-a8a8-e3026bd7af8b'::uuid, 'Imdb', 'tt5344796')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41838 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('369b829e-1d4c-a0ed-a8a8-e3026bd7af8b'::uuid, 'Tvdb', 5669633)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('369b829e-1d4c-a0ed-a8a8-e3026bd7af8b'::uuid, 'TvMaze', 830873)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41840 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '369b829e-1d4c-a0ed-a8a8-e3026bd7af8b'::uuid;

-- Query #41841 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '369b829e-1d4c-a0ed-a8a8-e3026bd7af8b'::uuid;

-- Query #41842 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['369b829e-1d4c-a0ed-a8a8-e3026bd7af8b'::uuid]);

-- Query #41843 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '369b829e-1d4c-a0ed-a8a8-e3026bd7af8b'::uuid;

-- Query #41844 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41845 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2ca11ee0-ab0f-5a59-1463-0756f2d76f02'::uuid;

-- Query #41846 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ca11ee0-ab0f-5a59-1463-0756f2d76f02'::uuid]);

-- Query #41847 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2ca11ee0-ab0f-5a59-1463-0756f2d76f02'::uuid;

-- Query #41848 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ca11ee0-ab0f-5a59-1463-0756f2d76f02'::uuid, 'Imdb', 'tt5345894')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41849 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ca11ee0-ab0f-5a59-1463-0756f2d76f02'::uuid, 'Tvdb', 5669634)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41850 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ca11ee0-ab0f-5a59-1463-0756f2d76f02'::uuid, 'TvMaze', 830874)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41851 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2ca11ee0-ab0f-5a59-1463-0756f2d76f02'::uuid;

-- Query #41852 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2ca11ee0-ab0f-5a59-1463-0756f2d76f02'::uuid;

-- Query #41853 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2ca11ee0-ab0f-5a59-1463-0756f2d76f02'::uuid]);

-- Query #41854 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2ca11ee0-ab0f-5a59-1463-0756f2d76f02'::uuid;

-- Query #41855 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41856 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1569fdc6-6de1-9fd5-54cb-6b7745982983'::uuid;

-- Query #41857 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1569fdc6-6de1-9fd5-54cb-6b7745982983'::uuid]);

-- Query #41858 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1569fdc6-6de1-9fd5-54cb-6b7745982983'::uuid;

-- Query #41859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1569fdc6-6de1-9fd5-54cb-6b7745982983'::uuid, 'Imdb', 'tt5347278')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41860 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1569fdc6-6de1-9fd5-54cb-6b7745982983'::uuid, 'Tvdb', 5669636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41861 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1569fdc6-6de1-9fd5-54cb-6b7745982983'::uuid, 'TvMaze', 830875)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41862 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1569fdc6-6de1-9fd5-54cb-6b7745982983'::uuid;

-- Query #41863 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1569fdc6-6de1-9fd5-54cb-6b7745982983'::uuid;

-- Query #41864 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1569fdc6-6de1-9fd5-54cb-6b7745982983'::uuid]);

-- Query #41865 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1569fdc6-6de1-9fd5-54cb-6b7745982983'::uuid;

-- Query #41866 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41867 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c692bee-7a51-cd64-2ee7-445b3236e32f'::uuid;

-- Query #41868 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6c692bee-7a51-cd64-2ee7-445b3236e32f'::uuid]);

-- Query #41869 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6c692bee-7a51-cd64-2ee7-445b3236e32f'::uuid;

-- Query #41870 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c692bee-7a51-cd64-2ee7-445b3236e32f'::uuid, 'Imdb', 'tt5347318')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41871 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c692bee-7a51-cd64-2ee7-445b3236e32f'::uuid, 'Tvdb', 5669639)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41872 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('6c692bee-7a51-cd64-2ee7-445b3236e32f'::uuid, 'TvMaze', 830876)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41873 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c692bee-7a51-cd64-2ee7-445b3236e32f'::uuid;

-- Query #41874 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6c692bee-7a51-cd64-2ee7-445b3236e32f'::uuid;

-- Query #41875 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6c692bee-7a51-cd64-2ee7-445b3236e32f'::uuid]);

-- Query #41876 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '6c692bee-7a51-cd64-2ee7-445b3236e32f'::uuid;

-- Query #41877 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41878 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf5d6efe-2481-68b7-bd2c-ecc9e2fa948d'::uuid;

-- Query #41879 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf5d6efe-2481-68b7-bd2c-ecc9e2fa948d'::uuid]);

-- Query #41880 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bf5d6efe-2481-68b7-bd2c-ecc9e2fa948d'::uuid;

-- Query #41881 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf5d6efe-2481-68b7-bd2c-ecc9e2fa948d'::uuid, 'Imdb', 'tt5347322')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41882 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf5d6efe-2481-68b7-bd2c-ecc9e2fa948d'::uuid, 'Tvdb', 5669642)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41883 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf5d6efe-2481-68b7-bd2c-ecc9e2fa948d'::uuid, 'TvMaze', 830877)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41884 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf5d6efe-2481-68b7-bd2c-ecc9e2fa948d'::uuid;

-- Query #41885 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bf5d6efe-2481-68b7-bd2c-ecc9e2fa948d'::uuid;

-- Query #41886 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bf5d6efe-2481-68b7-bd2c-ecc9e2fa948d'::uuid]);

-- Query #41887 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bf5d6efe-2481-68b7-bd2c-ecc9e2fa948d'::uuid;

-- Query #41888 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41889 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '642ea054-ae96-23ba-ce5c-68547aeb5562'::uuid;

-- Query #41890 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['642ea054-ae96-23ba-ce5c-68547aeb5562'::uuid]);

-- Query #41891 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '642ea054-ae96-23ba-ce5c-68547aeb5562'::uuid;

-- Query #41892 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('642ea054-ae96-23ba-ce5c-68547aeb5562'::uuid, 'Imdb', 'tt5347330')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41893 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('642ea054-ae96-23ba-ce5c-68547aeb5562'::uuid, 'Tvdb', 5669646)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41894 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('642ea054-ae96-23ba-ce5c-68547aeb5562'::uuid, 'TvMaze', 830878)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41895 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '642ea054-ae96-23ba-ce5c-68547aeb5562'::uuid;

-- Query #41896 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '642ea054-ae96-23ba-ce5c-68547aeb5562'::uuid;

-- Query #41897 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['642ea054-ae96-23ba-ce5c-68547aeb5562'::uuid]);

-- Query #41898 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '642ea054-ae96-23ba-ce5c-68547aeb5562'::uuid;

-- Query #41899 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41900 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '097014bc-b790-24c8-52ce-3840c6d76844'::uuid;

-- Query #41901 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['097014bc-b790-24c8-52ce-3840c6d76844'::uuid]);

-- Query #41902 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '097014bc-b790-24c8-52ce-3840c6d76844'::uuid;

-- Query #41903 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('097014bc-b790-24c8-52ce-3840c6d76844'::uuid, 'Imdb', 'tt5831630')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41904 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('097014bc-b790-24c8-52ce-3840c6d76844'::uuid, 'Tvdb', 5670310)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41905 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('097014bc-b790-24c8-52ce-3840c6d76844'::uuid, 'TvMaze', 910146)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41906 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '097014bc-b790-24c8-52ce-3840c6d76844'::uuid;

-- Query #41907 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '097014bc-b790-24c8-52ce-3840c6d76844'::uuid;

-- Query #41908 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['097014bc-b790-24c8-52ce-3840c6d76844'::uuid]);

-- Query #41909 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '097014bc-b790-24c8-52ce-3840c6d76844'::uuid;

-- Query #41910 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41911 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0fe86dbd-4da1-41cb-753a-1225b5389b75'::uuid;

-- Query #41912 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0fe86dbd-4da1-41cb-753a-1225b5389b75'::uuid]);

-- Query #41913 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0fe86dbd-4da1-41cb-753a-1225b5389b75'::uuid;

-- Query #41914 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fe86dbd-4da1-41cb-753a-1225b5389b75'::uuid, 'Imdb', 'tt5970530')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41915 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fe86dbd-4da1-41cb-753a-1225b5389b75'::uuid, 'Tvdb', 6003195)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41916 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0fe86dbd-4da1-41cb-753a-1225b5389b75'::uuid, 'TvMaze', 1184709)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41917 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0fe86dbd-4da1-41cb-753a-1225b5389b75'::uuid;

-- Query #41918 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0fe86dbd-4da1-41cb-753a-1225b5389b75'::uuid;

-- Query #41919 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0fe86dbd-4da1-41cb-753a-1225b5389b75'::uuid]);

-- Query #41920 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0fe86dbd-4da1-41cb-753a-1225b5389b75'::uuid;

-- Query #41921 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41922 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1aa1bf67-3676-42ab-6f62-6b6bc15042a8'::uuid;

-- Query #41923 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1aa1bf67-3676-42ab-6f62-6b6bc15042a8'::uuid]);

-- Query #41924 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1aa1bf67-3676-42ab-6f62-6b6bc15042a8'::uuid;

-- Query #41925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1aa1bf67-3676-42ab-6f62-6b6bc15042a8'::uuid, 'Imdb', 'tt6633686')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41926 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1aa1bf67-3676-42ab-6f62-6b6bc15042a8'::uuid, 'Tvdb', 6141712)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41927 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1aa1bf67-3676-42ab-6f62-6b6bc15042a8'::uuid, 'TvMaze', 1215786)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41928 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1aa1bf67-3676-42ab-6f62-6b6bc15042a8'::uuid;

-- Query #41929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1aa1bf67-3676-42ab-6f62-6b6bc15042a8'::uuid;

-- Query #41930 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1aa1bf67-3676-42ab-6f62-6b6bc15042a8'::uuid]);

-- Query #41931 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1aa1bf67-3676-42ab-6f62-6b6bc15042a8'::uuid;

-- Query #41932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41933 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d9e0c32-29f9-ba23-0907-6f6e72dc5f4d'::uuid;

-- Query #41934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d9e0c32-29f9-ba23-0907-6f6e72dc5f4d'::uuid]);

-- Query #41935 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1d9e0c32-29f9-ba23-0907-6f6e72dc5f4d'::uuid;

-- Query #41936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d9e0c32-29f9-ba23-0907-6f6e72dc5f4d'::uuid, 'Imdb', 'tt6633688')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d9e0c32-29f9-ba23-0907-6f6e72dc5f4d'::uuid, 'Tvdb', 6141713)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41938 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1d9e0c32-29f9-ba23-0907-6f6e72dc5f4d'::uuid, 'TvMaze', 1215788)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41939 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1d9e0c32-29f9-ba23-0907-6f6e72dc5f4d'::uuid;

-- Query #41940 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1d9e0c32-29f9-ba23-0907-6f6e72dc5f4d'::uuid;

-- Query #41941 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1d9e0c32-29f9-ba23-0907-6f6e72dc5f4d'::uuid]);

-- Query #41942 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1d9e0c32-29f9-ba23-0907-6f6e72dc5f4d'::uuid;

-- Query #41943 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41944 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb90e011-3860-0b69-0a5b-a7e50f63c7f8'::uuid;

-- Query #41945 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb90e011-3860-0b69-0a5b-a7e50f63c7f8'::uuid]);

-- Query #41946 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cb90e011-3860-0b69-0a5b-a7e50f63c7f8'::uuid;

-- Query #41947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb90e011-3860-0b69-0a5b-a7e50f63c7f8'::uuid, 'Imdb', 'tt6633692')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb90e011-3860-0b69-0a5b-a7e50f63c7f8'::uuid, 'Tvdb', 6141714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('cb90e011-3860-0b69-0a5b-a7e50f63c7f8'::uuid, 'TvMaze', 1215789)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41950 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cb90e011-3860-0b69-0a5b-a7e50f63c7f8'::uuid;

-- Query #41951 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cb90e011-3860-0b69-0a5b-a7e50f63c7f8'::uuid;

-- Query #41952 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cb90e011-3860-0b69-0a5b-a7e50f63c7f8'::uuid]);

-- Query #41953 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'cb90e011-3860-0b69-0a5b-a7e50f63c7f8'::uuid;

-- Query #41954 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41955 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '33415a69-0fc0-1bfe-067d-db937c968fbb'::uuid;

-- Query #41956 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['33415a69-0fc0-1bfe-067d-db937c968fbb'::uuid]);

-- Query #41957 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '33415a69-0fc0-1bfe-067d-db937c968fbb'::uuid;

-- Query #41958 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33415a69-0fc0-1bfe-067d-db937c968fbb'::uuid, 'Imdb', 'tt6633696')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41959 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33415a69-0fc0-1bfe-067d-db937c968fbb'::uuid, 'Tvdb', 6141715)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41960 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('33415a69-0fc0-1bfe-067d-db937c968fbb'::uuid, 'TvMaze', 1215790)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41961 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '33415a69-0fc0-1bfe-067d-db937c968fbb'::uuid;

-- Query #41962 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '33415a69-0fc0-1bfe-067d-db937c968fbb'::uuid;

-- Query #41963 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['33415a69-0fc0-1bfe-067d-db937c968fbb'::uuid]);

-- Query #41964 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '33415a69-0fc0-1bfe-067d-db937c968fbb'::uuid;

-- Query #41965 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41966 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2fc70918-671e-9d1f-a909-bd92dded35e0'::uuid;

-- Query #41967 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2fc70918-671e-9d1f-a909-bd92dded35e0'::uuid]);

-- Query #41968 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2fc70918-671e-9d1f-a909-bd92dded35e0'::uuid;

-- Query #41969 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2fc70918-671e-9d1f-a909-bd92dded35e0'::uuid, 'Imdb', 'tt6635194')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41970 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2fc70918-671e-9d1f-a909-bd92dded35e0'::uuid, 'Tvdb', 6141716)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2fc70918-671e-9d1f-a909-bd92dded35e0'::uuid, 'TvMaze', 1215791)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41972 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2fc70918-671e-9d1f-a909-bd92dded35e0'::uuid;

-- Query #41973 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2fc70918-671e-9d1f-a909-bd92dded35e0'::uuid;

-- Query #41974 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2fc70918-671e-9d1f-a909-bd92dded35e0'::uuid]);

-- Query #41975 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2fc70918-671e-9d1f-a909-bd92dded35e0'::uuid;

-- Query #41976 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41977 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e298af47-be14-4259-b858-ecf3a7652a57'::uuid;

-- Query #41978 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e298af47-be14-4259-b858-ecf3a7652a57'::uuid]);

-- Query #41979 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e298af47-be14-4259-b858-ecf3a7652a57'::uuid;

-- Query #41980 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e298af47-be14-4259-b858-ecf3a7652a57'::uuid, 'Imdb', 'tt6635200')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e298af47-be14-4259-b858-ecf3a7652a57'::uuid, 'Tvdb', 6141717)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e298af47-be14-4259-b858-ecf3a7652a57'::uuid, 'TvMaze', 1215794)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41983 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e298af47-be14-4259-b858-ecf3a7652a57'::uuid;

-- Query #41984 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e298af47-be14-4259-b858-ecf3a7652a57'::uuid;

-- Query #41985 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e298af47-be14-4259-b858-ecf3a7652a57'::uuid]);

-- Query #41986 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e298af47-be14-4259-b858-ecf3a7652a57'::uuid;

-- Query #41987 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41988 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29944e24-8878-ff60-3de6-c55b1de4127c'::uuid;

-- Query #41989 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29944e24-8878-ff60-3de6-c55b1de4127c'::uuid]);

-- Query #41990 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '29944e24-8878-ff60-3de6-c55b1de4127c'::uuid;

-- Query #41991 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29944e24-8878-ff60-3de6-c55b1de4127c'::uuid, 'Imdb', 'tt6635212')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41992 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29944e24-8878-ff60-3de6-c55b1de4127c'::uuid, 'Tvdb', 6141718)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29944e24-8878-ff60-3de6-c55b1de4127c'::uuid, 'TvMaze', 1215795)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #41994 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29944e24-8878-ff60-3de6-c55b1de4127c'::uuid;

-- Query #41995 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '29944e24-8878-ff60-3de6-c55b1de4127c'::uuid;

-- Query #41996 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['29944e24-8878-ff60-3de6-c55b1de4127c'::uuid]);

-- Query #41997 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '29944e24-8878-ff60-3de6-c55b1de4127c'::uuid;

-- Query #41998 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #41999 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0de5ea56-b3b7-d5aa-cf1c-b57776f5f5ff'::uuid;

-- Query #42000 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0de5ea56-b3b7-d5aa-cf1c-b57776f5f5ff'::uuid]);

-- Query #42001 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0de5ea56-b3b7-d5aa-cf1c-b57776f5f5ff'::uuid;

-- Query #42002 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0de5ea56-b3b7-d5aa-cf1c-b57776f5f5ff'::uuid, 'Imdb', 'tt6635210')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42003 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0de5ea56-b3b7-d5aa-cf1c-b57776f5f5ff'::uuid, 'Tvdb', 6141719)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42004 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0de5ea56-b3b7-d5aa-cf1c-b57776f5f5ff'::uuid, 'TvMaze', 1215796)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42005 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0de5ea56-b3b7-d5aa-cf1c-b57776f5f5ff'::uuid;

-- Query #42006 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0de5ea56-b3b7-d5aa-cf1c-b57776f5f5ff'::uuid;

-- Query #42007 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0de5ea56-b3b7-d5aa-cf1c-b57776f5f5ff'::uuid]);

-- Query #42008 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0de5ea56-b3b7-d5aa-cf1c-b57776f5f5ff'::uuid;

-- Query #42009 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42010 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '49ce6acb-ea64-5d87-1c49-d299e682ff45'::uuid;

-- Query #42011 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['49ce6acb-ea64-5d87-1c49-d299e682ff45'::uuid]);

-- Query #42012 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '49ce6acb-ea64-5d87-1c49-d299e682ff45'::uuid;

-- Query #42013 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49ce6acb-ea64-5d87-1c49-d299e682ff45'::uuid, 'Imdb', 'tt6633682')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42014 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49ce6acb-ea64-5d87-1c49-d299e682ff45'::uuid, 'Tvdb', 6141720)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42015 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('49ce6acb-ea64-5d87-1c49-d299e682ff45'::uuid, 'TvMaze', 1215797)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42016 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '49ce6acb-ea64-5d87-1c49-d299e682ff45'::uuid;

-- Query #42017 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '49ce6acb-ea64-5d87-1c49-d299e682ff45'::uuid;

-- Query #42018 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['49ce6acb-ea64-5d87-1c49-d299e682ff45'::uuid]);

-- Query #42019 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '49ce6acb-ea64-5d87-1c49-d299e682ff45'::uuid;

-- Query #42020 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42021 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c6d6fabf-175f-fe40-af1f-f896be6580f7'::uuid;

-- Query #42022 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c6d6fabf-175f-fe40-af1f-f896be6580f7'::uuid]);

-- Query #42023 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c6d6fabf-175f-fe40-af1f-f896be6580f7'::uuid;

-- Query #42024 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6d6fabf-175f-fe40-af1f-f896be6580f7'::uuid, 'Imdb', 'tt7748418')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42025 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6d6fabf-175f-fe40-af1f-f896be6580f7'::uuid, 'Tvdb', 7337251)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42026 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c6d6fabf-175f-fe40-af1f-f896be6580f7'::uuid, 'TvMaze', 1705714)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42027 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c6d6fabf-175f-fe40-af1f-f896be6580f7'::uuid;

-- Query #42028 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c6d6fabf-175f-fe40-af1f-f896be6580f7'::uuid;

-- Query #42029 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c6d6fabf-175f-fe40-af1f-f896be6580f7'::uuid]);

-- Query #42030 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c6d6fabf-175f-fe40-af1f-f896be6580f7'::uuid;

-- Query #42031 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42032 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b0a05fb-cdf0-57aa-d1e4-d69ccdc9bd9b'::uuid;

-- Query #42033 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1b0a05fb-cdf0-57aa-d1e4-d69ccdc9bd9b'::uuid]);

-- Query #42034 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1b0a05fb-cdf0-57aa-d1e4-d69ccdc9bd9b'::uuid;

-- Query #42035 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b0a05fb-cdf0-57aa-d1e4-d69ccdc9bd9b'::uuid, 'Imdb', 'tt8084154')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42036 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b0a05fb-cdf0-57aa-d1e4-d69ccdc9bd9b'::uuid, 'Tvdb', 7388319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42037 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1b0a05fb-cdf0-57aa-d1e4-d69ccdc9bd9b'::uuid, 'TvMaze', 1723152)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42038 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1b0a05fb-cdf0-57aa-d1e4-d69ccdc9bd9b'::uuid;

-- Query #42039 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1b0a05fb-cdf0-57aa-d1e4-d69ccdc9bd9b'::uuid;

-- Query #42040 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1b0a05fb-cdf0-57aa-d1e4-d69ccdc9bd9b'::uuid]);

-- Query #42041 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1b0a05fb-cdf0-57aa-d1e4-d69ccdc9bd9b'::uuid;

-- Query #42042 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42043 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '79b3ee66-7af4-9631-4f5e-4014d683bc50'::uuid;

-- Query #42044 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['79b3ee66-7af4-9631-4f5e-4014d683bc50'::uuid]);

-- Query #42045 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '79b3ee66-7af4-9631-4f5e-4014d683bc50'::uuid;

-- Query #42046 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('79b3ee66-7af4-9631-4f5e-4014d683bc50'::uuid, 'Imdb', 'tt8084160')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42047 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('79b3ee66-7af4-9631-4f5e-4014d683bc50'::uuid, 'Tvdb', 7388320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42048 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('79b3ee66-7af4-9631-4f5e-4014d683bc50'::uuid, 'TvMaze', 1728848)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42049 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '79b3ee66-7af4-9631-4f5e-4014d683bc50'::uuid;

-- Query #42050 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '79b3ee66-7af4-9631-4f5e-4014d683bc50'::uuid;

-- Query #42051 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['79b3ee66-7af4-9631-4f5e-4014d683bc50'::uuid]);

-- Query #42052 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '79b3ee66-7af4-9631-4f5e-4014d683bc50'::uuid;

-- Query #42053 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42054 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '25042aac-176c-2889-c368-ad577f997919'::uuid;

-- Query #42055 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['25042aac-176c-2889-c368-ad577f997919'::uuid]);

-- Query #42056 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '25042aac-176c-2889-c368-ad577f997919'::uuid;

-- Query #42057 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25042aac-176c-2889-c368-ad577f997919'::uuid, 'Imdb', 'tt8084164')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42058 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25042aac-176c-2889-c368-ad577f997919'::uuid, 'Tvdb', 7405318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42059 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('25042aac-176c-2889-c368-ad577f997919'::uuid, 'TvMaze', 1733128)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42060 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '25042aac-176c-2889-c368-ad577f997919'::uuid;

-- Query #42061 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '25042aac-176c-2889-c368-ad577f997919'::uuid;

-- Query #42062 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['25042aac-176c-2889-c368-ad577f997919'::uuid]);

-- Query #42063 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '25042aac-176c-2889-c368-ad577f997919'::uuid;

-- Query #42064 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42065 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c64159f0-5f01-7867-a745-08d1fe4b4ad0'::uuid;

-- Query #42066 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c64159f0-5f01-7867-a745-08d1fe4b4ad0'::uuid]);

-- Query #42067 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c64159f0-5f01-7867-a745-08d1fe4b4ad0'::uuid;

-- Query #42068 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c64159f0-5f01-7867-a745-08d1fe4b4ad0'::uuid, 'Imdb', 'tt8084166')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42069 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c64159f0-5f01-7867-a745-08d1fe4b4ad0'::uuid, 'Tvdb', 7414838)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42070 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c64159f0-5f01-7867-a745-08d1fe4b4ad0'::uuid, 'TvMaze', 1742746)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42071 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c64159f0-5f01-7867-a745-08d1fe4b4ad0'::uuid;

-- Query #42072 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c64159f0-5f01-7867-a745-08d1fe4b4ad0'::uuid;

-- Query #42073 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c64159f0-5f01-7867-a745-08d1fe4b4ad0'::uuid]);

-- Query #42074 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c64159f0-5f01-7867-a745-08d1fe4b4ad0'::uuid;

-- Query #42075 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42076 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #42077 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a4468cb4-fecf-3df0-1d56-c1f179ff8c5b'::uuid;

-- Query #42078 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a4468cb4-fecf-3df0-1d56-c1f179ff8c5b'::uuid]);

-- Query #42079 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a4468cb4-fecf-3df0-1d56-c1f179ff8c5b'::uuid;

-- Query #42080 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4468cb4-fecf-3df0-1d56-c1f179ff8c5b'::uuid, 'Imdb', 'tt8084172')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42081 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4468cb4-fecf-3df0-1d56-c1f179ff8c5b'::uuid, 'Tvdb', 7425877)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42082 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a4468cb4-fecf-3df0-1d56-c1f179ff8c5b'::uuid, 'TvMaze', 1746057)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a4468cb4-fecf-3df0-1d56-c1f179ff8c5b'::uuid;

-- Query #42084 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a4468cb4-fecf-3df0-1d56-c1f179ff8c5b'::uuid;

-- Query #42085 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a4468cb4-fecf-3df0-1d56-c1f179ff8c5b'::uuid]);

-- Query #42086 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a4468cb4-fecf-3df0-1d56-c1f179ff8c5b'::uuid;

-- Query #42087 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42088 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a507a5b-d110-2b77-d06e-dbe72ba332f6'::uuid;

-- Query #42089 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a507a5b-d110-2b77-d06e-dbe72ba332f6'::uuid]);

-- Query #42090 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4a507a5b-d110-2b77-d06e-dbe72ba332f6'::uuid;

-- Query #42091 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a507a5b-d110-2b77-d06e-dbe72ba332f6'::uuid, 'Imdb', 'tt8084176')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a507a5b-d110-2b77-d06e-dbe72ba332f6'::uuid, 'Tvdb', 7437269)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4a507a5b-d110-2b77-d06e-dbe72ba332f6'::uuid, 'TvMaze', 1752609)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42094 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a507a5b-d110-2b77-d06e-dbe72ba332f6'::uuid;

-- Query #42095 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4a507a5b-d110-2b77-d06e-dbe72ba332f6'::uuid;

-- Query #42096 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4a507a5b-d110-2b77-d06e-dbe72ba332f6'::uuid]);

-- Query #42097 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4a507a5b-d110-2b77-d06e-dbe72ba332f6'::uuid;

-- Query #42098 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42099 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2b017a9-420e-067c-0e0e-3978d4587313'::uuid;

-- Query #42100 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2b017a9-420e-067c-0e0e-3978d4587313'::uuid]);

-- Query #42101 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f2b017a9-420e-067c-0e0e-3978d4587313'::uuid;

-- Query #42102 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2b017a9-420e-067c-0e0e-3978d4587313'::uuid, 'Imdb', 'tt8084178')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2b017a9-420e-067c-0e0e-3978d4587313'::uuid, 'Tvdb', 7448422)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f2b017a9-420e-067c-0e0e-3978d4587313'::uuid, 'TvMaze', 1754672)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42105 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2b017a9-420e-067c-0e0e-3978d4587313'::uuid;

-- Query #42106 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f2b017a9-420e-067c-0e0e-3978d4587313'::uuid;

-- Query #42107 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f2b017a9-420e-067c-0e0e-3978d4587313'::uuid]);

-- Query #42108 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f2b017a9-420e-067c-0e0e-3978d4587313'::uuid;

-- Query #42109 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42110 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5aa6a92f-0d26-ca7c-a82f-e0763a605425'::uuid;

-- Query #42111 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5aa6a92f-0d26-ca7c-a82f-e0763a605425'::uuid]);

-- Query #42112 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5aa6a92f-0d26-ca7c-a82f-e0763a605425'::uuid;

-- Query #42113 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5aa6a92f-0d26-ca7c-a82f-e0763a605425'::uuid, 'Imdb', 'tt8084180')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42114 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5aa6a92f-0d26-ca7c-a82f-e0763a605425'::uuid, 'Tvdb', 7460636)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42115 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5aa6a92f-0d26-ca7c-a82f-e0763a605425'::uuid, 'TvMaze', 1759731)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42116 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5aa6a92f-0d26-ca7c-a82f-e0763a605425'::uuid;

-- Query #42117 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5aa6a92f-0d26-ca7c-a82f-e0763a605425'::uuid;

-- Query #42118 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5aa6a92f-0d26-ca7c-a82f-e0763a605425'::uuid]);

-- Query #42119 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5aa6a92f-0d26-ca7c-a82f-e0763a605425'::uuid;

-- Query #42120 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42121 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5fb6f9b5-9ecd-9ba2-2a0a-df2091c2e053'::uuid;

-- Query #42122 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5fb6f9b5-9ecd-9ba2-2a0a-df2091c2e053'::uuid]);

-- Query #42123 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5fb6f9b5-9ecd-9ba2-2a0a-df2091c2e053'::uuid;

-- Query #42124 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5fb6f9b5-9ecd-9ba2-2a0a-df2091c2e053'::uuid, 'Imdb', 'tt8084184')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42125 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5fb6f9b5-9ecd-9ba2-2a0a-df2091c2e053'::uuid, 'Tvdb', 7464647)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42126 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5fb6f9b5-9ecd-9ba2-2a0a-df2091c2e053'::uuid, 'TvMaze', 1762039)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42127 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5fb6f9b5-9ecd-9ba2-2a0a-df2091c2e053'::uuid;

-- Query #42128 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5fb6f9b5-9ecd-9ba2-2a0a-df2091c2e053'::uuid;

-- Query #42129 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5fb6f9b5-9ecd-9ba2-2a0a-df2091c2e053'::uuid]);

-- Query #42130 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5fb6f9b5-9ecd-9ba2-2a0a-df2091c2e053'::uuid;

-- Query #42131 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42132 | logged_duration_ms=7 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eeafdc82-b520-742b-660d-b0ea3fb4f1e5'::uuid;

-- Query #42133 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eeafdc82-b520-742b-660d-b0ea3fb4f1e5'::uuid]);

-- Query #42134 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eeafdc82-b520-742b-660d-b0ea3fb4f1e5'::uuid;

-- Query #42135 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eeafdc82-b520-742b-660d-b0ea3fb4f1e5'::uuid, 'Imdb', 'tt8919312')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42136 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eeafdc82-b520-742b-660d-b0ea3fb4f1e5'::uuid, 'Tvdb', 7464648)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42137 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eeafdc82-b520-742b-660d-b0ea3fb4f1e5'::uuid, 'TvMaze', 1762040)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42138 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eeafdc82-b520-742b-660d-b0ea3fb4f1e5'::uuid;

-- Query #42139 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eeafdc82-b520-742b-660d-b0ea3fb4f1e5'::uuid;

-- Query #42140 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eeafdc82-b520-742b-660d-b0ea3fb4f1e5'::uuid]);

-- Query #42141 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eeafdc82-b520-742b-660d-b0ea3fb4f1e5'::uuid;

-- Query #42142 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42143 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid;

-- Query #42144 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid]);

-- Query #42145 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid;

-- Query #42146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid, 'Imdb', 'tt10883092')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid, 'Tvdb', 7495678)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid, 'TvMaze', 1762042)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42149 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid;

-- Query #42150 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid;

-- Query #42151 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid]);

-- Query #42152 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid;

-- Query #42153 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42154 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '71209150-03aa-707a-1f97-e31046da23f9'::uuid;

-- Query #42155 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71209150-03aa-707a-1f97-e31046da23f9'::uuid]);

-- Query #42156 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '71209150-03aa-707a-1f97-e31046da23f9'::uuid;

-- Query #42157 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71209150-03aa-707a-1f97-e31046da23f9'::uuid, 'Imdb', 'tt8919318')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42158 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71209150-03aa-707a-1f97-e31046da23f9'::uuid, 'Tvdb', 7495677)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42159 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71209150-03aa-707a-1f97-e31046da23f9'::uuid, 'TvMaze', 1762041)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42160 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '71209150-03aa-707a-1f97-e31046da23f9'::uuid;

-- Query #42161 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '71209150-03aa-707a-1f97-e31046da23f9'::uuid;

-- Query #42162 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['71209150-03aa-707a-1f97-e31046da23f9'::uuid]);

-- Query #42163 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '71209150-03aa-707a-1f97-e31046da23f9'::uuid;

-- Query #42164 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid, '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42165 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4c621db7-15ef-a8f9-e144-08c65b5f8464'::uuid
ORDER BY b."SortName";

-- Query #42166 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid])
ORDER BY b."Id";

-- Query #42167 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid])
ORDER BY b."Id";

-- Query #42168 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid])
ORDER BY b."Id";

-- Query #42169 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid])
ORDER BY b."Id";

-- Query #42170 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid, '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid, '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid, '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid])
ORDER BY b."Id";

-- Query #42171 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '87cfb670-6f01-5553-55b2-e044dd1eeef1'::uuid
ORDER BY b."SortName";

-- Query #42172 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '979dcc97-522d-1a8b-1161-0258beda7c06'::uuid
ORDER BY b."SortName";

-- Query #42173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '270c9961-8d44-4130-61bf-ee3f3e9535e5'::uuid
ORDER BY b."SortName";

-- Query #42174 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6886bdea-a135-1961-a3f7-da2910fbb7e7'::uuid
ORDER BY b."SortName";

-- Query #42175 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '4c621db715efa8f9e14408c65b5f8464'
ORDER BY b."SortName", b."Name";

-- Query #42176 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '84f4156e-0495-840a-fdd4-844bf91fba18'::uuid
ORDER BY b."SortName";

-- Query #42177 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42178 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42179 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42180 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42181 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42182 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid
ORDER BY b."SortName";

-- Query #42183 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '84f4156e-0495-840a-fdd4-844bf91fba18'::uuid;

-- Query #42184 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['84f4156e-0495-840a-fdd4-844bf91fba18'::uuid]);

-- Query #42185 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '84f4156e-0495-840a-fdd4-844bf91fba18'::uuid;

-- Query #42186 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84f4156e-0495-840a-fdd4-844bf91fba18'::uuid, 'eidr', '10.5240/EDC2-BE1C-9E17-D601-60B6-M')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42187 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84f4156e-0495-840a-fdd4-844bf91fba18'::uuid, 'Imdb', 'tt10857164')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42188 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84f4156e-0495-840a-fdd4-844bf91fba18'::uuid, 'official website', 'https://www.disneyplus.com/series/ms-marvel/45BsikoMcOOo')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84f4156e-0495-840a-fdd4-844bf91fba18'::uuid, 'Tmdb', 92782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84f4156e-0495-840a-fdd4-844bf91fba18'::uuid, 'TmdbCollection', 92782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84f4156e-0495-840a-fdd4-844bf91fba18'::uuid, 'Tvdb', 368612)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84f4156e-0495-840a-fdd4-844bf91fba18'::uuid, 'tv maze', 43519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84f4156e-0495-840a-fdd4-844bf91fba18'::uuid, 'wikidata', 'Q84712813')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42194 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('84f4156e-0495-840a-fdd4-844bf91fba18'::uuid, 'wikipedia', 'Ms._Marvel_(TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42195 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '84f4156e-0495-840a-fdd4-844bf91fba18'::uuid;

-- Query #42196 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '84f4156e-0495-840a-fdd4-844bf91fba18'::uuid;

-- Query #42197 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['84f4156e-0495-840a-fdd4-844bf91fba18'::uuid]);

-- Query #42198 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '84f4156e-0495-840a-fdd4-844bf91fba18'::uuid;

-- Query #42199 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42200 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '84f4156e0495840afdd4844bf91fba18'
ORDER BY b."SortName", b."Name";

-- Query #42201 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42202 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42203 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42204 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42205 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42206 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '84f4156e-0495-840a-fdd4-844bf91fba18'::uuid
ORDER BY b."SortName";

-- Query #42207 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42208 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42209 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42210 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42211 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42212 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid
ORDER BY b."SortName";

-- Query #42213 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '84f4156e0495840afdd4844bf91fba18'
ORDER BY b."SortName", b."Name";

-- Query #42214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid;

-- Query #42215 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid]);

-- Query #42216 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid;

-- Query #42217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid, 'Tvdb', 1909728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42218 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid;

-- Query #42219 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid;

-- Query #42220 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid]);

-- Query #42221 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid;

-- Query #42222 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['84f4156e-0495-840a-fdd4-844bf91fba18'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42223 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '84f4156e-0495-840a-fdd4-844bf91fba18'::uuid
ORDER BY b."SortName";

-- Query #42224 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42225 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42226 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42227 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42228 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid
ORDER BY b."SortName";

-- Query #42230 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '84f4156e0495840afdd4844bf91fba18'
ORDER BY b."SortName", b."Name";

-- Query #42231 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42232 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42233 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42234 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42235 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['ba27aa9a-3c8b-6777-63e3-cbcb875ebf7c'::uuid])
ORDER BY b."Id";

-- Query #42236 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid
ORDER BY b."SortName";

-- Query #42237 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid])
ORDER BY b."Id";

-- Query #42238 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid])
ORDER BY b."Id";

-- Query #42239 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid])
ORDER BY b."Id";

-- Query #42240 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid])
ORDER BY b."Id";

-- Query #42241 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid])
ORDER BY b."Id";

-- Query #42242 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid
ORDER BY b."SortName";

-- Query #42243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid;

-- Query #42244 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid]);

-- Query #42245 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid;

-- Query #42246 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, 'eidr', '10.5240/EDC2-BE1C-9E17-D601-60B6-M')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42247 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, 'Imdb', 'tt10857164')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42248 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, 'official website', 'https://www.disneyplus.com/series/ms-marvel/45BsikoMcOOo')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42249 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, 'Tmdb', 92782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42250 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, 'TmdbCollection', 92782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42251 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, 'Tvdb', 368612)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42252 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, 'tv maze', 43519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42253 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, 'TvMaze', 43519)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42254 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, 'wikidata', 'Q84712813')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42255 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, 'wikipedia', 'Ms._Marvel_(TV_series)')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42256 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid;

-- Query #42257 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid;

-- Query #42258 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid]);

-- Query #42259 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid;

-- Query #42260 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42261 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '82812c88555e6d6ae5e11f6cf84de95f'
ORDER BY b."SortName", b."Name";

-- Query #42262 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid
ORDER BY b."SortName";

-- Query #42263 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid])
ORDER BY b."Id";

-- Query #42264 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid])
ORDER BY b."Id";

-- Query #42265 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid])
ORDER BY b."Id";

-- Query #42266 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid])
ORDER BY b."Id";

-- Query #42267 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid])
ORDER BY b."Id";

-- Query #42268 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid
ORDER BY b."SortName";

-- Query #42269 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '82812c88555e6d6ae5e11f6cf84de95f'
ORDER BY b."SortName", b."Name";

-- Query #42270 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #42271 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid;

-- Query #42272 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid]);

-- Query #42273 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid;

-- Query #42274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid, 'Tvdb', 1909728)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid, 'TvMaze', 99547)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid, 'TmdbCollection', 92782)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42277 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid;

-- Query #42278 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid;

-- Query #42279 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid]);

-- Query #42280 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid;

-- Query #42281 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18b31ab3-9667-fe5e-1ac4-fb61df085110'::uuid;

-- Query #42283 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['18b31ab3-9667-fe5e-1ac4-fb61df085110'::uuid]);

-- Query #42284 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '18b31ab3-9667-fe5e-1ac4-fb61df085110'::uuid;

-- Query #42285 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18b31ab3-9667-fe5e-1ac4-fb61df085110'::uuid, 'TmdbCollection', 3603689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42286 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18b31ab3-9667-fe5e-1ac4-fb61df085110'::uuid, 'Imdb', 'tt11950110')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42287 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18b31ab3-9667-fe5e-1ac4-fb61df085110'::uuid, 'Tvdb', 8983381)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42288 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18b31ab3-9667-fe5e-1ac4-fb61df085110'::uuid, 'Tmdb', 3603689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42289 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18b31ab3-9667-fe5e-1ac4-fb61df085110'::uuid, 'trakt', 5974837)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42290 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('18b31ab3-9667-fe5e-1ac4-fb61df085110'::uuid, 'TvMaze', 2312017)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42291 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '18b31ab3-9667-fe5e-1ac4-fb61df085110'::uuid;

-- Query #42292 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '18b31ab3-9667-fe5e-1ac4-fb61df085110'::uuid;

-- Query #42293 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['18b31ab3-9667-fe5e-1ac4-fb61df085110'::uuid]);

-- Query #42294 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '18b31ab3-9667-fe5e-1ac4-fb61df085110'::uuid;

-- Query #42295 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid, '82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '945ccd1b-56e9-d2d2-2208-7de20373a54e'::uuid;

-- Query #42297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['945ccd1b-56e9-d2d2-2208-7de20373a54e'::uuid]);

-- Query #42298 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '945ccd1b-56e9-d2d2-2208-7de20373a54e'::uuid;

-- Query #42299 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('945ccd1b-56e9-d2d2-2208-7de20373a54e'::uuid, 'Imdb', 'tt11950112')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42300 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('945ccd1b-56e9-d2d2-2208-7de20373a54e'::uuid, 'Tvdb', 8983382)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42301 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('945ccd1b-56e9-d2d2-2208-7de20373a54e'::uuid, 'Tmdb', 3603690)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('945ccd1b-56e9-d2d2-2208-7de20373a54e'::uuid, 'trakt', 5974864)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('945ccd1b-56e9-d2d2-2208-7de20373a54e'::uuid, 'TvMaze', 2332737)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('945ccd1b-56e9-d2d2-2208-7de20373a54e'::uuid, 'TmdbCollection', 3603690)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42305 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '945ccd1b-56e9-d2d2-2208-7de20373a54e'::uuid;

-- Query #42306 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '945ccd1b-56e9-d2d2-2208-7de20373a54e'::uuid;

-- Query #42307 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['945ccd1b-56e9-d2d2-2208-7de20373a54e'::uuid]);

-- Query #42308 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '945ccd1b-56e9-d2d2-2208-7de20373a54e'::uuid;

-- Query #42309 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid, '82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42310 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid;

-- Query #42311 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid]);

-- Query #42312 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid;

-- Query #42313 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid, 'Imdb', 'tt11950122')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42314 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid, 'Tvdb', 8983385)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42315 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid, 'TvMaze', 2340313)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42316 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid;

-- Query #42317 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid;

-- Query #42318 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid]);

-- Query #42319 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid;

-- Query #42320 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid, '82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42321 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '965217df-b2d3-c237-9f4a-9caf6cf51e96'::uuid;

-- Query #42322 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['965217df-b2d3-c237-9f4a-9caf6cf51e96'::uuid]);

-- Query #42323 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '965217df-b2d3-c237-9f4a-9caf6cf51e96'::uuid;

-- Query #42324 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('965217df-b2d3-c237-9f4a-9caf6cf51e96'::uuid, 'Imdb', 'tt11950118')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42325 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('965217df-b2d3-c237-9f4a-9caf6cf51e96'::uuid, 'Tvdb', 8983383)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42326 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('965217df-b2d3-c237-9f4a-9caf6cf51e96'::uuid, 'TvMaze', 2332743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42327 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '965217df-b2d3-c237-9f4a-9caf6cf51e96'::uuid;

-- Query #42328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '965217df-b2d3-c237-9f4a-9caf6cf51e96'::uuid;

-- Query #42329 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['965217df-b2d3-c237-9f4a-9caf6cf51e96'::uuid]);

-- Query #42330 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '965217df-b2d3-c237-9f4a-9caf6cf51e96'::uuid;

-- Query #42331 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid, '82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42332 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b5fc1d51-0a4e-3115-c252-35061114425c'::uuid;

-- Query #42333 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5fc1d51-0a4e-3115-c252-35061114425c'::uuid]);

-- Query #42334 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b5fc1d51-0a4e-3115-c252-35061114425c'::uuid;

-- Query #42335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5fc1d51-0a4e-3115-c252-35061114425c'::uuid, 'Imdb', 'tt11950120')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5fc1d51-0a4e-3115-c252-35061114425c'::uuid, 'Tvdb', 8983384)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('b5fc1d51-0a4e-3115-c252-35061114425c'::uuid, 'TvMaze', 2340312)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42338 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b5fc1d51-0a4e-3115-c252-35061114425c'::uuid;

-- Query #42339 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b5fc1d51-0a4e-3115-c252-35061114425c'::uuid;

-- Query #42340 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b5fc1d51-0a4e-3115-c252-35061114425c'::uuid]);

-- Query #42341 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b5fc1d51-0a4e-3115-c252-35061114425c'::uuid;

-- Query #42342 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid, '82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42343 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '82812c88-555e-6d6a-e5e1-1f6cf84de95f'::uuid
ORDER BY b."SortName";

-- Query #42344 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid])
ORDER BY b."Id";

-- Query #42345 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid])
ORDER BY b."Id";

-- Query #42346 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid])
ORDER BY b."Id";

-- Query #42347 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid])
ORDER BY b."Id";

-- Query #42348 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid])
ORDER BY b."Id";

-- Query #42349 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2ac49aa7-d4ec-9abe-ef7d-a8696b2847af'::uuid
ORDER BY b."SortName";

-- Query #42350 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '82812c88555e6d6ae5e11f6cf84de95f'
ORDER BY b."SortName", b."Name";

-- Query #42351 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7fe9249f-efa0-517b-b507-29381afb52ec'::uuid
ORDER BY b."SortName";

-- Query #42352 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid])
ORDER BY b."Id";

-- Query #42353 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid])
ORDER BY b."Id";

-- Query #42354 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid])
ORDER BY b."Id";

-- Query #42355 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid])
ORDER BY b."Id";

-- Query #42356 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid])
ORDER BY b."Id";

-- Query #42357 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid
ORDER BY b."SortName";

-- Query #42358 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fe9249f-efa0-517b-b507-29381afb52ec'::uuid;

-- Query #42359 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7fe9249f-efa0-517b-b507-29381afb52ec'::uuid]);

-- Query #42360 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7fe9249f-efa0-517b-b507-29381afb52ec'::uuid;

-- Query #42361 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, 'Imdb', 'tt19853270')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42362 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, 'instagram', 'murdaughonhulu')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42363 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, 'official website', 'https://www.hulu.com/series/murdaugh-death-in-the-family-b7741f3a-15ae-42dc-b196-f810bce02f11')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42364 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, 'Tmdb', 270734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42365 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, 'TmdbCollection', 270734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42366 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, 'Tvdb', 454196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, 'tv maze', 82743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, 'TvMaze', 82743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42369 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, 'wikidata', 'Q134522725')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42370 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, 'wikipedia', 'Murdaugh:_Death_in_the_Family')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7fe9249f-efa0-517b-b507-29381afb52ec'::uuid;

-- Query #42372 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7fe9249f-efa0-517b-b507-29381afb52ec'::uuid;

-- Query #42373 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7fe9249f-efa0-517b-b507-29381afb52ec'::uuid]);

-- Query #42374 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7fe9249f-efa0-517b-b507-29381afb52ec'::uuid;

-- Query #42375 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42376 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '7fe9249fefa0517bb50729381afb52ec'
ORDER BY b."SortName", b."Name";

-- Query #42377 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7fe9249f-efa0-517b-b507-29381afb52ec'::uuid
ORDER BY b."SortName";

-- Query #42378 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid])
ORDER BY b."Id";

-- Query #42379 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid])
ORDER BY b."Id";

-- Query #42380 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid])
ORDER BY b."Id";

-- Query #42381 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid])
ORDER BY b."Id";

-- Query #42382 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid])
ORDER BY b."Id";

-- Query #42383 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid
ORDER BY b."SortName";

-- Query #42384 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '7fe9249fefa0517bb50729381afb52ec'
ORDER BY b."SortName", b."Name";

-- Query #42385 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid;

-- Query #42386 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid]);

-- Query #42387 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid;

-- Query #42388 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid, 'wikidata', 'Q134522725')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42389 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid, 'TmdbCollection', 270734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42390 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid, 'Tvdb', 454196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42391 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid, 'Tmdb', 270734)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42392 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid, 'Imdb', 'tt19853270')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42393 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid, 'TvMaze', 82743)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42394 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid;

-- Query #42395 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid;

-- Query #42396 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid]);

-- Query #42397 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid;

-- Query #42398 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42399 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f8459a5-50dc-60c3-2162-5965b4e91187'::uuid;

-- Query #42400 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f8459a5-50dc-60c3-2162-5965b4e91187'::uuid]);

-- Query #42401 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5f8459a5-50dc-60c3-2162-5965b4e91187'::uuid;

-- Query #42402 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f8459a5-50dc-60c3-2162-5965b4e91187'::uuid, 'Imdb', 'tt36693340')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42403 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f8459a5-50dc-60c3-2162-5965b4e91187'::uuid, 'TvMaze', 3363928)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42404 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5f8459a5-50dc-60c3-2162-5965b4e91187'::uuid, 'Tvdb', 11162599)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42405 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f8459a5-50dc-60c3-2162-5965b4e91187'::uuid;

-- Query #42406 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5f8459a5-50dc-60c3-2162-5965b4e91187'::uuid;

-- Query #42407 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5f8459a5-50dc-60c3-2162-5965b4e91187'::uuid]);

-- Query #42408 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5f8459a5-50dc-60c3-2162-5965b4e91187'::uuid;

-- Query #42409 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid, '7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42410 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '75e3ab17-22f6-75a1-3b76-40aaa094b7e4'::uuid;

-- Query #42411 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['75e3ab17-22f6-75a1-3b76-40aaa094b7e4'::uuid]);

-- Query #42412 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '75e3ab17-22f6-75a1-3b76-40aaa094b7e4'::uuid;

-- Query #42413 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75e3ab17-22f6-75a1-3b76-40aaa094b7e4'::uuid, 'Imdb', 'tt23649958')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42414 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75e3ab17-22f6-75a1-3b76-40aaa094b7e4'::uuid, 'TvMaze', 3363925)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42415 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('75e3ab17-22f6-75a1-3b76-40aaa094b7e4'::uuid, 'Tvdb', 10680311)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42416 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '75e3ab17-22f6-75a1-3b76-40aaa094b7e4'::uuid;

-- Query #42417 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '75e3ab17-22f6-75a1-3b76-40aaa094b7e4'::uuid;

-- Query #42418 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['75e3ab17-22f6-75a1-3b76-40aaa094b7e4'::uuid]);

-- Query #42419 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '75e3ab17-22f6-75a1-3b76-40aaa094b7e4'::uuid;

-- Query #42420 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid, '7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42421 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '286ae54a-750c-17f6-605c-171056819f19'::uuid;

-- Query #42422 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['286ae54a-750c-17f6-605c-171056819f19'::uuid]);

-- Query #42423 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '286ae54a-750c-17f6-605c-171056819f19'::uuid;

-- Query #42424 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('286ae54a-750c-17f6-605c-171056819f19'::uuid, 'Imdb', 'tt37009087')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42425 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('286ae54a-750c-17f6-605c-171056819f19'::uuid, 'TvMaze', 3363930)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42426 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('286ae54a-750c-17f6-605c-171056819f19'::uuid, 'Tvdb', 11194624)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42427 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '286ae54a-750c-17f6-605c-171056819f19'::uuid;

-- Query #42428 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '286ae54a-750c-17f6-605c-171056819f19'::uuid;

-- Query #42429 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['286ae54a-750c-17f6-605c-171056819f19'::uuid]);

-- Query #42430 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '286ae54a-750c-17f6-605c-171056819f19'::uuid;

-- Query #42431 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid, '7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42432 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1dbdc77a-245b-5a87-ff6b-3308eb44bc6a'::uuid;

-- Query #42433 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1dbdc77a-245b-5a87-ff6b-3308eb44bc6a'::uuid]);

-- Query #42434 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1dbdc77a-245b-5a87-ff6b-3308eb44bc6a'::uuid;

-- Query #42435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dbdc77a-245b-5a87-ff6b-3308eb44bc6a'::uuid, 'Imdb', 'tt36751689')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42436 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dbdc77a-245b-5a87-ff6b-3308eb44bc6a'::uuid, 'TvMaze', 3363927)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42437 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('1dbdc77a-245b-5a87-ff6b-3308eb44bc6a'::uuid, 'Tvdb', 11162598)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42438 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1dbdc77a-245b-5a87-ff6b-3308eb44bc6a'::uuid;

-- Query #42439 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1dbdc77a-245b-5a87-ff6b-3308eb44bc6a'::uuid;

-- Query #42440 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1dbdc77a-245b-5a87-ff6b-3308eb44bc6a'::uuid]);

-- Query #42441 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '1dbdc77a-245b-5a87-ff6b-3308eb44bc6a'::uuid;

-- Query #42442 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid, '7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42443 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a7af546c-f8d7-adcb-10ee-8ab634fa7bba'::uuid;

-- Query #42444 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a7af546c-f8d7-adcb-10ee-8ab634fa7bba'::uuid]);

-- Query #42445 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a7af546c-f8d7-adcb-10ee-8ab634fa7bba'::uuid;

-- Query #42446 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7af546c-f8d7-adcb-10ee-8ab634fa7bba'::uuid, 'Imdb', 'tt36967609')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42447 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7af546c-f8d7-adcb-10ee-8ab634fa7bba'::uuid, 'TvMaze', 3363926)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42448 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a7af546c-f8d7-adcb-10ee-8ab634fa7bba'::uuid, 'Tvdb', 11162597)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42449 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a7af546c-f8d7-adcb-10ee-8ab634fa7bba'::uuid;

-- Query #42450 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a7af546c-f8d7-adcb-10ee-8ab634fa7bba'::uuid;

-- Query #42451 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a7af546c-f8d7-adcb-10ee-8ab634fa7bba'::uuid]);

-- Query #42452 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a7af546c-f8d7-adcb-10ee-8ab634fa7bba'::uuid;

-- Query #42453 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid, '7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42454 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '27e84258-39aa-230b-1524-ab4164e33034'::uuid;

-- Query #42455 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['27e84258-39aa-230b-1524-ab4164e33034'::uuid]);

-- Query #42456 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '27e84258-39aa-230b-1524-ab4164e33034'::uuid;

-- Query #42457 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e84258-39aa-230b-1524-ab4164e33034'::uuid, 'Imdb', 'tt37090791')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42458 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e84258-39aa-230b-1524-ab4164e33034'::uuid, 'TvMaze', 3363931)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42459 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('27e84258-39aa-230b-1524-ab4164e33034'::uuid, 'Tvdb', 11194625)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42460 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '27e84258-39aa-230b-1524-ab4164e33034'::uuid;

-- Query #42461 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '27e84258-39aa-230b-1524-ab4164e33034'::uuid;

-- Query #42462 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['27e84258-39aa-230b-1524-ab4164e33034'::uuid]);

-- Query #42463 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '27e84258-39aa-230b-1524-ab4164e33034'::uuid;

-- Query #42464 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid, '7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42465 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #42466 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '512610aa-9f70-c2cd-aa08-776374238997'::uuid;

-- Query #42467 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['512610aa-9f70-c2cd-aa08-776374238997'::uuid]);

-- Query #42468 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '512610aa-9f70-c2cd-aa08-776374238997'::uuid;

-- Query #42469 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('512610aa-9f70-c2cd-aa08-776374238997'::uuid, 'Imdb', 'tt37157750')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42470 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('512610aa-9f70-c2cd-aa08-776374238997'::uuid, 'TvMaze', 3363929)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42471 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('512610aa-9f70-c2cd-aa08-776374238997'::uuid, 'Tvdb', 11162600)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42472 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '512610aa-9f70-c2cd-aa08-776374238997'::uuid;

-- Query #42473 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '512610aa-9f70-c2cd-aa08-776374238997'::uuid;

-- Query #42474 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['512610aa-9f70-c2cd-aa08-776374238997'::uuid]);

-- Query #42475 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '512610aa-9f70-c2cd-aa08-776374238997'::uuid;

-- Query #42476 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid, '7fe9249f-efa0-517b-b507-29381afb52ec'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42477 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7fe9249f-efa0-517b-b507-29381afb52ec'::uuid
ORDER BY b."SortName";

-- Query #42478 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid])
ORDER BY b."Id";

-- Query #42479 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid])
ORDER BY b."Id";

-- Query #42480 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid])
ORDER BY b."Id";

-- Query #42481 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid])
ORDER BY b."Id";

-- Query #42482 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid])
ORDER BY b."Id";

-- Query #42483 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '39ff53fe-455c-db3b-5e0c-3764a8640cdb'::uuid
ORDER BY b."SortName";

-- Query #42484 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '7fe9249fefa0517bb50729381afb52ec'
ORDER BY b."SortName", b."Name";

-- Query #42485 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid
ORDER BY b."SortName";

-- Query #42486 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42487 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42488 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42489 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42490 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42491 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid
ORDER BY b."SortName";

-- Query #42492 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid;

-- Query #42493 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid]);

-- Query #42494 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid;

-- Query #42495 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid, 'Imdb', 'tt13987620')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid, 'official website', 'https://www.netflix.com/title/81226889')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42497 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid, 'Tmdb', 119337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42498 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid, 'TmdbCollection', 119337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42499 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid, 'Tvdb', 396763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42500 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid, 'TvMaze', 53452)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42501 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid;

-- Query #42502 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid;

-- Query #42503 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid]);

-- Query #42504 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid;

-- Query #42505 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42506 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '4cbf868ea3176edac7e00e82c76d3a07'
ORDER BY b."SortName", b."Name";

-- Query #42507 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42508 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42509 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42510 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42511 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42512 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid
ORDER BY b."SortName";

-- Query #42513 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42514 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42515 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42516 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42517 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42518 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid
ORDER BY b."SortName";

-- Query #42519 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '4cbf868ea3176edac7e00e82c76d3a07'
ORDER BY b."SortName", b."Name";

-- Query #42520 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid;

-- Query #42521 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid]);

-- Query #42522 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid;

-- Query #42523 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid, 'TvMaze', 120204)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42524 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid, 'Tvdb', 1901406)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42525 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid;

-- Query #42526 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid;

-- Query #42527 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid]);

-- Query #42528 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid;

-- Query #42529 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42530 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid
ORDER BY b."SortName";

-- Query #42531 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42532 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42533 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42534 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42535 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42536 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid
ORDER BY b."SortName";

-- Query #42537 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '4cbf868ea3176edac7e00e82c76d3a07'
ORDER BY b."SortName", b."Name";

-- Query #42538 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42539 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42540 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42541 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42542 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['67f39b70-e456-ca2d-d5c8-c19e43567ae0'::uuid])
ORDER BY b."Id";

-- Query #42543 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid
ORDER BY b."SortName";

-- Query #42544 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42545 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42546 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42547 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42548 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42549 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid
ORDER BY b."SortName";

-- Query #42550 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42551 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42552 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42553 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42554 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42555 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid;

-- Query #42556 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid]);

-- Query #42557 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid;

-- Query #42558 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid, 'Imdb', 'tt13987620')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42559 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid, 'official website', 'https://www.netflix.com/title/81226889')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid, 'Tmdb', 119337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid, 'TmdbCollection', 119337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42562 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid, 'Tvdb', 396763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42563 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid, 'TvMaze', 53452)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42564 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid, 'wikidata', 'Q105814075')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42565 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid;

-- Query #42566 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid;

-- Query #42567 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid]);

-- Query #42568 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid;

-- Query #42569 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42570 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '7a1ba064d4e696a8690e1257274a4343'
ORDER BY b."SortName", b."Name";

-- Query #42571 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid, 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42572 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid, 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42573 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid, 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42574 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid, 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42575 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid, 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42576 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid
ORDER BY b."SortName";

-- Query #42577 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42578 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42579 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42580 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42581 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42582 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid
ORDER BY b."SortName";

-- Query #42583 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42584 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42585 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42586 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42587 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42588 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '7a1ba064d4e696a8690e1257274a4343'
ORDER BY b."SortName", b."Name";

-- Query #42589 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42590 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42591 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42592 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42593 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42594 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid;

-- Query #42595 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid]);

-- Query #42596 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid;

-- Query #42597 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid, 'Tvdb', 396763)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42598 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid, 'Tmdb', 119337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42599 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid, 'Imdb', 'tt13987620')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42600 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid, 'TvMaze', 53452)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42601 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid, 'wikidata', 'Q105814075')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42602 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid, 'TmdbCollection', 119337)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42603 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid;

-- Query #42604 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid;

-- Query #42605 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid]);

-- Query #42606 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid;

-- Query #42607 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42608 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid;

-- Query #42609 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid]);

-- Query #42610 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid;

-- Query #42611 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'Imdb', 'tt14032474')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42612 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'TvMaze', 2029023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42613 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'Tvdb', 8203616)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42614 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid;

-- Query #42615 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid;

-- Query #42616 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid]);

-- Query #42617 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid;

-- Query #42618 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid, '7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42619 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid;

-- Query #42620 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4d51fff-31e4-8844-1708-3035eb406784'::uuid]);

-- Query #42621 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid;

-- Query #42622 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4d51fff-31e4-8844-1708-3035eb406784'::uuid, 'Imdb', 'tt14032476')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42623 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4d51fff-31e4-8844-1708-3035eb406784'::uuid, 'TvMaze', 2041094)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42624 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f4d51fff-31e4-8844-1708-3035eb406784'::uuid, 'Tvdb', 8234123)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42625 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid;

-- Query #42626 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid;

-- Query #42627 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f4d51fff-31e4-8844-1708-3035eb406784'::uuid]);

-- Query #42628 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid;

-- Query #42629 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid, '7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42630 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bfba729-911f-2930-bcca-fafe810b177f'::uuid;

-- Query #42631 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4bfba729-911f-2930-bcca-fafe810b177f'::uuid]);

-- Query #42632 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4bfba729-911f-2930-bcca-fafe810b177f'::uuid;

-- Query #42633 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bfba729-911f-2930-bcca-fafe810b177f'::uuid, 'TvMaze', 2041095)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42634 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4bfba729-911f-2930-bcca-fafe810b177f'::uuid, 'Tvdb', 8234124)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42635 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4bfba729-911f-2930-bcca-fafe810b177f'::uuid;

-- Query #42636 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4bfba729-911f-2930-bcca-fafe810b177f'::uuid;

-- Query #42637 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4bfba729-911f-2930-bcca-fafe810b177f'::uuid]);

-- Query #42638 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4bfba729-911f-2930-bcca-fafe810b177f'::uuid;

-- Query #42639 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid, '7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42640 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7a1ba064-d4e6-96a8-690e-1257274a4343'::uuid
ORDER BY b."SortName";

-- Query #42641 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42642 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42643 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42644 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42645 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42646 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid
ORDER BY b."SortName";

-- Query #42647 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42648 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42649 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42650 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42651 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #42652 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '7a1ba064d4e696a8690e1257274a4343'
ORDER BY b."SortName", b."Name";

-- Query #42653 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid, 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42654 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid, 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42655 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid, 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42656 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid, 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42657 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['20a15a05-984c-dd6b-d18e-cf39e146c1c0'::uuid, 'f4d51fff-31e4-8844-1708-3035eb406784'::uuid, '4bfba729-911f-2930-bcca-fafe810b177f'::uuid, 'bf43e071-e0cf-3912-6e1a-c0b2ea956db3'::uuid])
ORDER BY b."Id";

-- Query #42658 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid
ORDER BY b."SortName";

-- Query #42659 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid])
ORDER BY b."Id";

-- Query #42660 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid])
ORDER BY b."Id";

-- Query #42661 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid])
ORDER BY b."Id";

-- Query #42662 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid])
ORDER BY b."Id";

-- Query #42663 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid])
ORDER BY b."Id";

-- Query #42664 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid
ORDER BY b."SortName";

-- Query #42665 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid
ORDER BY b."SortName";

-- Query #42666 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid
ORDER BY b."SortName";

-- Query #42667 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid;

-- Query #42668 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid]);

-- Query #42669 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid;

-- Query #42670 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, 'Imdb', 'tt2402061')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42671 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, 'Tmdb', 60129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42672 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, 'TmdbCollection', 60129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42673 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, 'Tvdb', 273402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42674 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, 'TvMaze', 300)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42675 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, 'TvRage', 35032)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42676 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, 'wikidata', 'Q14931565')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42677 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, 'Zap2It', 'EP01801926')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid;

-- Query #42679 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid;

-- Query #42680 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid]);

-- Query #42681 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid;

-- Query #42682 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42683 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '9c9dbf7a4d1e1474072be53b6ddc7017'
ORDER BY b."SortName", b."Name";

-- Query #42684 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid
ORDER BY b."SortName";

-- Query #42685 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid])
ORDER BY b."Id";

-- Query #42686 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid])
ORDER BY b."Id";

-- Query #42687 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid])
ORDER BY b."Id";

-- Query #42688 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid])
ORDER BY b."Id";

-- Query #42689 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid])
ORDER BY b."Id";

-- Query #42690 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid
ORDER BY b."SortName";

-- Query #42691 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid
ORDER BY b."SortName";

-- Query #42692 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid
ORDER BY b."SortName";

-- Query #42693 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '9c9dbf7a4d1e1474072be53b6ddc7017'
ORDER BY b."SortName", b."Name";

-- Query #42694 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid;

-- Query #42695 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid]);

-- Query #42696 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid;

-- Query #42697 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, 'wikidata', 'Q14931565')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42698 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, 'TmdbCollection', 60129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42699 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, 'Tvdb', 273402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42700 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, 'Tmdb', 60129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42701 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, 'Imdb', 'tt2402061')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42702 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, 'TvMaze', 300)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42703 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, 'TvRage', 35032)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42704 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, 'Zap2It', 'EP01801926')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42705 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid;

-- Query #42706 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid;

-- Query #42707 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid]);

-- Query #42708 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid;

-- Query #42709 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42710 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '9c9dbf7a4d1e1474072be53b6ddc7017'
ORDER BY b."SortName", b."Name";

-- Query #42711 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid;

-- Query #42712 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid]);

-- Query #42713 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid;

-- Query #42714 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'TvRage', 35032)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42715 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'wikidata', 'Q14931565')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42716 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'TmdbCollection', 60129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42717 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'Zap2It', 'EP01801926')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42718 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'Tvdb', 273402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42719 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'Tmdb', 60129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42720 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'Imdb', 'tt2402061')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42721 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'TvMaze', 300)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42722 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid;

-- Query #42723 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid;

-- Query #42724 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid]);

-- Query #42725 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid;

-- Query #42726 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42727 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '9c9dbf7a4d1e1474072be53b6ddc7017'
ORDER BY b."SortName", b."Name";

-- Query #42728 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid;

-- Query #42729 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid]);

-- Query #42730 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid;

-- Query #42731 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, 'TmdbCollection', 60129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42732 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, 'Tvdb', 273402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42733 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #42734 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, 'Tmdb', 60129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42735 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, 'Imdb', 'tt2402061')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42736 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, 'TvMaze', 300)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42737 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, 'TvRage', 35032)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42738 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, 'Zap2It', 'EP01801926')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42739 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, 'wikidata', 'Q14931565')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42740 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid;

-- Query #42741 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid;

-- Query #42742 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid]);

-- Query #42743 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid;

-- Query #42744 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42745 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7bb9ace-dc22-e603-e099-14049d8e97d1'::uuid;

-- Query #42746 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7bb9ace-dc22-e603-e099-14049d8e97d1'::uuid]);

-- Query #42747 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c7bb9ace-dc22-e603-e099-14049d8e97d1'::uuid;

-- Query #42748 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7bb9ace-dc22-e603-e099-14049d8e97d1'::uuid, 'Imdb', 'tt3707050')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42749 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7bb9ace-dc22-e603-e099-14049d8e97d1'::uuid, 'TvRage', 1065579668)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42750 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7bb9ace-dc22-e603-e099-14049d8e97d1'::uuid, 'TvMaze', 30690)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42751 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c7bb9ace-dc22-e603-e099-14049d8e97d1'::uuid, 'Tvdb', 4907700)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42752 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c7bb9ace-dc22-e603-e099-14049d8e97d1'::uuid;

-- Query #42753 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c7bb9ace-dc22-e603-e099-14049d8e97d1'::uuid;

-- Query #42754 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c7bb9ace-dc22-e603-e099-14049d8e97d1'::uuid]);

-- Query #42755 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c7bb9ace-dc22-e603-e099-14049d8e97d1'::uuid;

-- Query #42756 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5957c00d-8c13-6dbf-0f9c-a751f3c03fed'::uuid;

-- Query #42758 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5957c00d-8c13-6dbf-0f9c-a751f3c03fed'::uuid]);

-- Query #42759 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5957c00d-8c13-6dbf-0f9c-a751f3c03fed'::uuid;

-- Query #42760 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5957c00d-8c13-6dbf-0f9c-a751f3c03fed'::uuid, 'Imdb', 'tt3696858')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42761 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5957c00d-8c13-6dbf-0f9c-a751f3c03fed'::uuid, 'TvRage', 1065579667)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42762 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5957c00d-8c13-6dbf-0f9c-a751f3c03fed'::uuid, 'TvMaze', 30689)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42763 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5957c00d-8c13-6dbf-0f9c-a751f3c03fed'::uuid, 'Tvdb', 4907699)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42764 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5957c00d-8c13-6dbf-0f9c-a751f3c03fed'::uuid;

-- Query #42765 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5957c00d-8c13-6dbf-0f9c-a751f3c03fed'::uuid;

-- Query #42766 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5957c00d-8c13-6dbf-0f9c-a751f3c03fed'::uuid]);

-- Query #42767 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5957c00d-8c13-6dbf-0f9c-a751f3c03fed'::uuid;

-- Query #42768 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42769 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f9ce93a-8c52-c46e-b5a6-be0a56f41b99'::uuid;

-- Query #42770 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f9ce93a-8c52-c46e-b5a6-be0a56f41b99'::uuid]);

-- Query #42771 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9f9ce93a-8c52-c46e-b5a6-be0a56f41b99'::uuid;

-- Query #42772 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f9ce93a-8c52-c46e-b5a6-be0a56f41b99'::uuid, 'Imdb', 'tt3555988')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42773 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f9ce93a-8c52-c46e-b5a6-be0a56f41b99'::uuid, 'TvRage', 1065563841)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42774 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f9ce93a-8c52-c46e-b5a6-be0a56f41b99'::uuid, 'TvMaze', 30685)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42775 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9f9ce93a-8c52-c46e-b5a6-be0a56f41b99'::uuid, 'Tvdb', 4883445)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42776 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f9ce93a-8c52-c46e-b5a6-be0a56f41b99'::uuid;

-- Query #42777 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9f9ce93a-8c52-c46e-b5a6-be0a56f41b99'::uuid;

-- Query #42778 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9f9ce93a-8c52-c46e-b5a6-be0a56f41b99'::uuid]);

-- Query #42779 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9f9ce93a-8c52-c46e-b5a6-be0a56f41b99'::uuid;

-- Query #42780 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42781 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e0f876e-5e3f-d4dd-4ffb-7b4d2f105ad1'::uuid;

-- Query #42782 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e0f876e-5e3f-d4dd-4ffb-7b4d2f105ad1'::uuid]);

-- Query #42783 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3e0f876e-5e3f-d4dd-4ffb-7b4d2f105ad1'::uuid;

-- Query #42784 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e0f876e-5e3f-d4dd-4ffb-7b4d2f105ad1'::uuid, 'Imdb', 'tt2782378')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42785 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e0f876e-5e3f-d4dd-4ffb-7b4d2f105ad1'::uuid, 'TvRage', 1065462508)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42786 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e0f876e-5e3f-d4dd-4ffb-7b4d2f105ad1'::uuid, 'TvMaze', 30681)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42787 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3e0f876e-5e3f-d4dd-4ffb-7b4d2f105ad1'::uuid, 'Tvdb', 4662610)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42788 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e0f876e-5e3f-d4dd-4ffb-7b4d2f105ad1'::uuid;

-- Query #42789 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3e0f876e-5e3f-d4dd-4ffb-7b4d2f105ad1'::uuid;

-- Query #42790 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3e0f876e-5e3f-d4dd-4ffb-7b4d2f105ad1'::uuid]);

-- Query #42791 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3e0f876e-5e3f-d4dd-4ffb-7b4d2f105ad1'::uuid;

-- Query #42792 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42793 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba68b597-f907-84c4-041f-f97ae9f8e6d5'::uuid;

-- Query #42794 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ba68b597-f907-84c4-041f-f97ae9f8e6d5'::uuid]);

-- Query #42795 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ba68b597-f907-84c4-041f-f97ae9f8e6d5'::uuid;

-- Query #42796 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba68b597-f907-84c4-041f-f97ae9f8e6d5'::uuid, 'Imdb', 'tt3511482')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42797 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba68b597-f907-84c4-041f-f97ae9f8e6d5'::uuid, 'TvRage', 1065563842)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42798 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba68b597-f907-84c4-041f-f97ae9f8e6d5'::uuid, 'TvMaze', 30686)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42799 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ba68b597-f907-84c4-041f-f97ae9f8e6d5'::uuid, 'Tvdb', 4883446)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42800 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ba68b597-f907-84c4-041f-f97ae9f8e6d5'::uuid;

-- Query #42801 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ba68b597-f907-84c4-041f-f97ae9f8e6d5'::uuid;

-- Query #42802 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ba68b597-f907-84c4-041f-f97ae9f8e6d5'::uuid]);

-- Query #42803 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ba68b597-f907-84c4-041f-f97ae9f8e6d5'::uuid;

-- Query #42804 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42805 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '907a14f3-722d-4fc8-4156-642c787afd05'::uuid;

-- Query #42806 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['907a14f3-722d-4fc8-4156-642c787afd05'::uuid]);

-- Query #42807 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '907a14f3-722d-4fc8-4156-642c787afd05'::uuid;

-- Query #42808 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('907a14f3-722d-4fc8-4156-642c787afd05'::uuid, 'Imdb', 'tt3683468')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42809 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('907a14f3-722d-4fc8-4156-642c787afd05'::uuid, 'TvRage', 1065563843)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42810 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('907a14f3-722d-4fc8-4156-642c787afd05'::uuid, 'TvMaze', 30687)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42811 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('907a14f3-722d-4fc8-4156-642c787afd05'::uuid, 'Tvdb', 4883447)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42812 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '907a14f3-722d-4fc8-4156-642c787afd05'::uuid;

-- Query #42813 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '907a14f3-722d-4fc8-4156-642c787afd05'::uuid;

-- Query #42814 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['907a14f3-722d-4fc8-4156-642c787afd05'::uuid]);

-- Query #42815 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '907a14f3-722d-4fc8-4156-642c787afd05'::uuid;

-- Query #42816 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42817 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd1bb77a2-5eb9-e5f8-40d3-0fbc6ad32878'::uuid;

-- Query #42818 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1bb77a2-5eb9-e5f8-40d3-0fbc6ad32878'::uuid]);

-- Query #42819 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd1bb77a2-5eb9-e5f8-40d3-0fbc6ad32878'::uuid;

-- Query #42820 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1bb77a2-5eb9-e5f8-40d3-0fbc6ad32878'::uuid, 'Imdb', 'tt3511470')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42821 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1bb77a2-5eb9-e5f8-40d3-0fbc6ad32878'::uuid, 'TvRage', 1065563839)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42822 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1bb77a2-5eb9-e5f8-40d3-0fbc6ad32878'::uuid, 'TvMaze', 30683)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42823 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d1bb77a2-5eb9-e5f8-40d3-0fbc6ad32878'::uuid, 'Tvdb', 4883458)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42824 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd1bb77a2-5eb9-e5f8-40d3-0fbc6ad32878'::uuid;

-- Query #42825 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd1bb77a2-5eb9-e5f8-40d3-0fbc6ad32878'::uuid;

-- Query #42826 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d1bb77a2-5eb9-e5f8-40d3-0fbc6ad32878'::uuid]);

-- Query #42827 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd1bb77a2-5eb9-e5f8-40d3-0fbc6ad32878'::uuid;

-- Query #42828 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42829 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '310698ad-49e6-1af7-24d9-15517d71934f'::uuid;

-- Query #42830 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['310698ad-49e6-1af7-24d9-15517d71934f'::uuid]);

-- Query #42831 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '310698ad-49e6-1af7-24d9-15517d71934f'::uuid;

-- Query #42832 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('310698ad-49e6-1af7-24d9-15517d71934f'::uuid, 'Imdb', 'tt4263242')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42833 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('310698ad-49e6-1af7-24d9-15517d71934f'::uuid, 'TvRage', 1065811738)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42834 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('310698ad-49e6-1af7-24d9-15517d71934f'::uuid, 'TvMaze', 153213)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42835 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('310698ad-49e6-1af7-24d9-15517d71934f'::uuid, 'Tvdb', 5227971)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '310698ad-49e6-1af7-24d9-15517d71934f'::uuid;

-- Query #42837 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '310698ad-49e6-1af7-24d9-15517d71934f'::uuid;

-- Query #42838 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['310698ad-49e6-1af7-24d9-15517d71934f'::uuid]);

-- Query #42839 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '310698ad-49e6-1af7-24d9-15517d71934f'::uuid;

-- Query #42840 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42841 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '30eebc48-2d01-bf34-eecb-f6dfd839495d'::uuid;

-- Query #42842 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30eebc48-2d01-bf34-eecb-f6dfd839495d'::uuid]);

-- Query #42843 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '30eebc48-2d01-bf34-eecb-f6dfd839495d'::uuid;

-- Query #42844 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30eebc48-2d01-bf34-eecb-f6dfd839495d'::uuid, 'Imdb', 'tt4080550')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42845 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30eebc48-2d01-bf34-eecb-f6dfd839495d'::uuid, 'TvMaze', 181809)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42846 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('30eebc48-2d01-bf34-eecb-f6dfd839495d'::uuid, 'Tvdb', 5276989)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42847 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '30eebc48-2d01-bf34-eecb-f6dfd839495d'::uuid;

-- Query #42848 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '30eebc48-2d01-bf34-eecb-f6dfd839495d'::uuid;

-- Query #42849 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['30eebc48-2d01-bf34-eecb-f6dfd839495d'::uuid]);

-- Query #42850 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '30eebc48-2d01-bf34-eecb-f6dfd839495d'::uuid;

-- Query #42851 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42852 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf065398-927a-71d0-7870-7777a1489bb2'::uuid;

-- Query #42853 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf065398-927a-71d0-7870-7777a1489bb2'::uuid]);

-- Query #42854 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bf065398-927a-71d0-7870-7777a1489bb2'::uuid;

-- Query #42855 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf065398-927a-71d0-7870-7777a1489bb2'::uuid, 'Imdb', 'tt4263246')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42856 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf065398-927a-71d0-7870-7777a1489bb2'::uuid, 'TvMaze', 153215)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42857 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('bf065398-927a-71d0-7870-7777a1489bb2'::uuid, 'Tvdb', 5227973)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42858 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf065398-927a-71d0-7870-7777a1489bb2'::uuid;

-- Query #42859 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bf065398-927a-71d0-7870-7777a1489bb2'::uuid;

-- Query #42860 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bf065398-927a-71d0-7870-7777a1489bb2'::uuid]);

-- Query #42861 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'bf065398-927a-71d0-7870-7777a1489bb2'::uuid;

-- Query #42862 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42863 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7594d2f5-5596-2c72-86d7-96fd6fb820ed'::uuid;

-- Query #42864 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7594d2f5-5596-2c72-86d7-96fd6fb820ed'::uuid]);

-- Query #42865 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7594d2f5-5596-2c72-86d7-96fd6fb820ed'::uuid;

-- Query #42866 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7594d2f5-5596-2c72-86d7-96fd6fb820ed'::uuid, 'Imdb', 'tt4870618')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42867 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7594d2f5-5596-2c72-86d7-96fd6fb820ed'::uuid, 'TvMaze', 181810)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42868 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7594d2f5-5596-2c72-86d7-96fd6fb820ed'::uuid, 'Tvdb', 5276990)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42869 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7594d2f5-5596-2c72-86d7-96fd6fb820ed'::uuid;

-- Query #42870 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7594d2f5-5596-2c72-86d7-96fd6fb820ed'::uuid;

-- Query #42871 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7594d2f5-5596-2c72-86d7-96fd6fb820ed'::uuid]);

-- Query #42872 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7594d2f5-5596-2c72-86d7-96fd6fb820ed'::uuid;

-- Query #42873 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42874 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8e26a8c-ba68-7473-aa9a-5a57771a6702'::uuid;

-- Query #42875 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8e26a8c-ba68-7473-aa9a-5a57771a6702'::uuid]);

-- Query #42876 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f8e26a8c-ba68-7473-aa9a-5a57771a6702'::uuid;

-- Query #42877 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8e26a8c-ba68-7473-aa9a-5a57771a6702'::uuid, 'Imdb', 'tt4263248')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42878 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8e26a8c-ba68-7473-aa9a-5a57771a6702'::uuid, 'TvMaze', 153216)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42879 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f8e26a8c-ba68-7473-aa9a-5a57771a6702'::uuid, 'Tvdb', 5227974)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42880 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f8e26a8c-ba68-7473-aa9a-5a57771a6702'::uuid;

-- Query #42881 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f8e26a8c-ba68-7473-aa9a-5a57771a6702'::uuid;

-- Query #42882 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f8e26a8c-ba68-7473-aa9a-5a57771a6702'::uuid]);

-- Query #42883 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f8e26a8c-ba68-7473-aa9a-5a57771a6702'::uuid;

-- Query #42884 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42885 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55168ca7-02c2-73eb-6f87-6a31f63e8f56'::uuid;

-- Query #42886 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['55168ca7-02c2-73eb-6f87-6a31f63e8f56'::uuid]);

-- Query #42887 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '55168ca7-02c2-73eb-6f87-6a31f63e8f56'::uuid;

-- Query #42888 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55168ca7-02c2-73eb-6f87-6a31f63e8f56'::uuid, 'Imdb', 'tt4263254')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42889 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55168ca7-02c2-73eb-6f87-6a31f63e8f56'::uuid, 'TvMaze', 153218)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42890 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('55168ca7-02c2-73eb-6f87-6a31f63e8f56'::uuid, 'Tvdb', 5244359)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42891 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '55168ca7-02c2-73eb-6f87-6a31f63e8f56'::uuid;

-- Query #42892 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '55168ca7-02c2-73eb-6f87-6a31f63e8f56'::uuid;

-- Query #42893 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['55168ca7-02c2-73eb-6f87-6a31f63e8f56'::uuid]);

-- Query #42894 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '55168ca7-02c2-73eb-6f87-6a31f63e8f56'::uuid;

-- Query #42895 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42896 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8f54892d-637f-df63-9bd2-543ae7220630'::uuid;

-- Query #42897 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f54892d-637f-df63-9bd2-543ae7220630'::uuid]);

-- Query #42898 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8f54892d-637f-df63-9bd2-543ae7220630'::uuid;

-- Query #42899 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f54892d-637f-df63-9bd2-543ae7220630'::uuid, 'Imdb', 'tt4263240')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42900 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f54892d-637f-df63-9bd2-543ae7220630'::uuid, 'TvRage', 1065811737)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42901 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f54892d-637f-df63-9bd2-543ae7220630'::uuid, 'TvMaze', 153212)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42902 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8f54892d-637f-df63-9bd2-543ae7220630'::uuid, 'Tvdb', 5227970)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42903 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8f54892d-637f-df63-9bd2-543ae7220630'::uuid;

-- Query #42904 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8f54892d-637f-df63-9bd2-543ae7220630'::uuid;

-- Query #42905 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8f54892d-637f-df63-9bd2-543ae7220630'::uuid]);

-- Query #42906 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8f54892d-637f-df63-9bd2-543ae7220630'::uuid;

-- Query #42907 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42908 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5382c9be-fce3-59b8-d94f-bceb21a42d59'::uuid;

-- Query #42909 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5382c9be-fce3-59b8-d94f-bceb21a42d59'::uuid]);

-- Query #42910 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5382c9be-fce3-59b8-d94f-bceb21a42d59'::uuid;

-- Query #42911 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5382c9be-fce3-59b8-d94f-bceb21a42d59'::uuid, 'Imdb', 'tt4263252')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42912 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5382c9be-fce3-59b8-d94f-bceb21a42d59'::uuid, 'TvMaze', 153217)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42913 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5382c9be-fce3-59b8-d94f-bceb21a42d59'::uuid, 'Tvdb', 5244358)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42914 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5382c9be-fce3-59b8-d94f-bceb21a42d59'::uuid;

-- Query #42915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5382c9be-fce3-59b8-d94f-bceb21a42d59'::uuid;

-- Query #42916 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5382c9be-fce3-59b8-d94f-bceb21a42d59'::uuid]);

-- Query #42917 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5382c9be-fce3-59b8-d94f-bceb21a42d59'::uuid;

-- Query #42918 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42919 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '47ec2c1f-5468-bc59-3e78-a742bac0fd5a'::uuid;

-- Query #42920 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['47ec2c1f-5468-bc59-3e78-a742bac0fd5a'::uuid]);

-- Query #42921 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '47ec2c1f-5468-bc59-3e78-a742bac0fd5a'::uuid;

-- Query #42922 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47ec2c1f-5468-bc59-3e78-a742bac0fd5a'::uuid, 'Imdb', 'tt4034322')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42923 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47ec2c1f-5468-bc59-3e78-a742bac0fd5a'::uuid, 'TvRage', 1065777818)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42924 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47ec2c1f-5468-bc59-3e78-a742bac0fd5a'::uuid, 'TvMaze', 153075)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42925 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47ec2c1f-5468-bc59-3e78-a742bac0fd5a'::uuid, 'Tvdb', 5137478)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42926 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '47ec2c1f-5468-bc59-3e78-a742bac0fd5a'::uuid;

-- Query #42927 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '47ec2c1f-5468-bc59-3e78-a742bac0fd5a'::uuid;

-- Query #42928 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['47ec2c1f-5468-bc59-3e78-a742bac0fd5a'::uuid]);

-- Query #42929 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '47ec2c1f-5468-bc59-3e78-a742bac0fd5a'::uuid;

-- Query #42930 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42931 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '47271f7a-bc57-a0e2-64f6-742216a715fd'::uuid;

-- Query #42932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['47271f7a-bc57-a0e2-64f6-742216a715fd'::uuid]);

-- Query #42933 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '47271f7a-bc57-a0e2-64f6-742216a715fd'::uuid;

-- Query #42934 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47271f7a-bc57-a0e2-64f6-742216a715fd'::uuid, 'Imdb', 'tt5490552')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42935 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47271f7a-bc57-a0e2-64f6-742216a715fd'::uuid, 'TvRage', 1065943899)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42936 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47271f7a-bc57-a0e2-64f6-742216a715fd'::uuid, 'TvMaze', 826319)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42937 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('47271f7a-bc57-a0e2-64f6-742216a715fd'::uuid, 'Tvdb', 5637887)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42938 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '47271f7a-bc57-a0e2-64f6-742216a715fd'::uuid;

-- Query #42939 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '47271f7a-bc57-a0e2-64f6-742216a715fd'::uuid;

-- Query #42940 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['47271f7a-bc57-a0e2-64f6-742216a715fd'::uuid]);

-- Query #42941 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '47271f7a-bc57-a0e2-64f6-742216a715fd'::uuid;

-- Query #42942 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42943 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0a6b1ea-5070-fb98-ba9b-6f8fdfc73875'::uuid;

-- Query #42944 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0a6b1ea-5070-fb98-ba9b-6f8fdfc73875'::uuid]);

-- Query #42945 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c0a6b1ea-5070-fb98-ba9b-6f8fdfc73875'::uuid;

-- Query #42946 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0a6b1ea-5070-fb98-ba9b-6f8fdfc73875'::uuid, 'Imdb', 'tt5489326')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42947 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0a6b1ea-5070-fb98-ba9b-6f8fdfc73875'::uuid, 'TvRage', 1065943898)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42948 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0a6b1ea-5070-fb98-ba9b-6f8fdfc73875'::uuid, 'TvMaze', 826318)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42949 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0a6b1ea-5070-fb98-ba9b-6f8fdfc73875'::uuid, 'Tvdb', 5637877)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42950 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0a6b1ea-5070-fb98-ba9b-6f8fdfc73875'::uuid;

-- Query #42951 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c0a6b1ea-5070-fb98-ba9b-6f8fdfc73875'::uuid;

-- Query #42952 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c0a6b1ea-5070-fb98-ba9b-6f8fdfc73875'::uuid]);

-- Query #42953 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c0a6b1ea-5070-fb98-ba9b-6f8fdfc73875'::uuid;

-- Query #42954 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42955 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '937b7a38-2706-9f69-0839-12beb5a18304'::uuid;

-- Query #42956 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['937b7a38-2706-9f69-0839-12beb5a18304'::uuid]);

-- Query #42957 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '937b7a38-2706-9f69-0839-12beb5a18304'::uuid;

-- Query #42958 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('937b7a38-2706-9f69-0839-12beb5a18304'::uuid, 'Imdb', 'tt5490554')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42959 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('937b7a38-2706-9f69-0839-12beb5a18304'::uuid, 'TvRage', 1065945001)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42960 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('937b7a38-2706-9f69-0839-12beb5a18304'::uuid, 'TvMaze', 826320)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42961 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('937b7a38-2706-9f69-0839-12beb5a18304'::uuid, 'Tvdb', 5637890)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42962 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '937b7a38-2706-9f69-0839-12beb5a18304'::uuid;

-- Query #42963 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '937b7a38-2706-9f69-0839-12beb5a18304'::uuid;

-- Query #42964 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['937b7a38-2706-9f69-0839-12beb5a18304'::uuid]);

-- Query #42965 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '937b7a38-2706-9f69-0839-12beb5a18304'::uuid;

-- Query #42966 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42967 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid;

-- Query #42968 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid]);

-- Query #42969 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid;

-- Query #42970 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid, 'Imdb', 'tt5235374')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42971 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid, 'TvMaze', 863649)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42972 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid, 'Tvdb', 5650012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42973 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid;

-- Query #42974 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid;

-- Query #42975 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid]);

-- Query #42976 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid;

-- Query #42977 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42978 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62b1ab67-c328-3af4-60ed-d273c161621d'::uuid;

-- Query #42979 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62b1ab67-c328-3af4-60ed-d273c161621d'::uuid]);

-- Query #42980 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '62b1ab67-c328-3af4-60ed-d273c161621d'::uuid;

-- Query #42981 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62b1ab67-c328-3af4-60ed-d273c161621d'::uuid, 'Imdb', 'tt5490598')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42982 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62b1ab67-c328-3af4-60ed-d273c161621d'::uuid, 'TvRage', 1065945003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42983 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62b1ab67-c328-3af4-60ed-d273c161621d'::uuid, 'TvMaze', 826322)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42984 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('62b1ab67-c328-3af4-60ed-d273c161621d'::uuid, 'Tvdb', 5637892)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42985 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '62b1ab67-c328-3af4-60ed-d273c161621d'::uuid;

-- Query #42986 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '62b1ab67-c328-3af4-60ed-d273c161621d'::uuid;

-- Query #42987 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['62b1ab67-c328-3af4-60ed-d273c161621d'::uuid]);

-- Query #42988 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '62b1ab67-c328-3af4-60ed-d273c161621d'::uuid;

-- Query #42989 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #42990 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4f456a52-2cc1-bc7e-d6fa-aa7ffbc94d62'::uuid;

-- Query #42991 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f456a52-2cc1-bc7e-d6fa-aa7ffbc94d62'::uuid]);

-- Query #42992 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4f456a52-2cc1-bc7e-d6fa-aa7ffbc94d62'::uuid;

-- Query #42993 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f456a52-2cc1-bc7e-d6fa-aa7ffbc94d62'::uuid, 'Imdb', 'tt5079722')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42994 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f456a52-2cc1-bc7e-d6fa-aa7ffbc94d62'::uuid, 'TvRage', 1065923081)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42995 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f456a52-2cc1-bc7e-d6fa-aa7ffbc94d62'::uuid, 'TvMaze', 679094)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42996 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4f456a52-2cc1-bc7e-d6fa-aa7ffbc94d62'::uuid, 'Tvdb', 5566023)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #42997 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4f456a52-2cc1-bc7e-d6fa-aa7ffbc94d62'::uuid;

-- Query #42998 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4f456a52-2cc1-bc7e-d6fa-aa7ffbc94d62'::uuid;

-- Query #42999 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4f456a52-2cc1-bc7e-d6fa-aa7ffbc94d62'::uuid]);

-- Query #43000 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4f456a52-2cc1-bc7e-d6fa-aa7ffbc94d62'::uuid;

-- Query #43001 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43002 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '106deead-2561-3e4f-889a-1024e1908cbd'::uuid;

-- Query #43003 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['106deead-2561-3e4f-889a-1024e1908cbd'::uuid]);

-- Query #43004 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '106deead-2561-3e4f-889a-1024e1908cbd'::uuid;

-- Query #43005 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('106deead-2561-3e4f-889a-1024e1908cbd'::uuid, 'Imdb', 'tt5490604')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43006 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('106deead-2561-3e4f-889a-1024e1908cbd'::uuid, 'TvRage', 1065945005)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43007 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('106deead-2561-3e4f-889a-1024e1908cbd'::uuid, 'TvMaze', 836047)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43008 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('106deead-2561-3e4f-889a-1024e1908cbd'::uuid, 'Tvdb', 5650011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43009 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '106deead-2561-3e4f-889a-1024e1908cbd'::uuid;

-- Query #43010 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '106deead-2561-3e4f-889a-1024e1908cbd'::uuid;

-- Query #43011 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['106deead-2561-3e4f-889a-1024e1908cbd'::uuid]);

-- Query #43012 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '106deead-2561-3e4f-889a-1024e1908cbd'::uuid;

-- Query #43013 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43014 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb81758b-bfd4-4c54-bab7-4cbe97733bbf'::uuid;

-- Query #43015 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb81758b-bfd4-4c54-bab7-4cbe97733bbf'::uuid]);

-- Query #43016 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fb81758b-bfd4-4c54-bab7-4cbe97733bbf'::uuid;

-- Query #43017 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb81758b-bfd4-4c54-bab7-4cbe97733bbf'::uuid, 'Imdb', 'tt5490564')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43018 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb81758b-bfd4-4c54-bab7-4cbe97733bbf'::uuid, 'TvRage', 1065945002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43019 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb81758b-bfd4-4c54-bab7-4cbe97733bbf'::uuid, 'TvMaze', 826321)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43020 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb81758b-bfd4-4c54-bab7-4cbe97733bbf'::uuid, 'Tvdb', 5637891)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43021 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb81758b-bfd4-4c54-bab7-4cbe97733bbf'::uuid;

-- Query #43022 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fb81758b-bfd4-4c54-bab7-4cbe97733bbf'::uuid;

-- Query #43023 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fb81758b-bfd4-4c54-bab7-4cbe97733bbf'::uuid]);

-- Query #43024 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fb81758b-bfd4-4c54-bab7-4cbe97733bbf'::uuid;

-- Query #43025 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43026 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ab26f24-3fc0-ff31-5bbe-e28e92b0a864'::uuid;

-- Query #43027 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ab26f24-3fc0-ff31-5bbe-e28e92b0a864'::uuid]);

-- Query #43028 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0ab26f24-3fc0-ff31-5bbe-e28e92b0a864'::uuid;

-- Query #43029 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ab26f24-3fc0-ff31-5bbe-e28e92b0a864'::uuid, 'Imdb', 'tt5489324')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43030 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ab26f24-3fc0-ff31-5bbe-e28e92b0a864'::uuid, 'TvRage', 1065932195)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43031 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ab26f24-3fc0-ff31-5bbe-e28e92b0a864'::uuid, 'TvMaze', 764822)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43032 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('0ab26f24-3fc0-ff31-5bbe-e28e92b0a864'::uuid, 'Tvdb', 5612067)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43033 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0ab26f24-3fc0-ff31-5bbe-e28e92b0a864'::uuid;

-- Query #43034 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0ab26f24-3fc0-ff31-5bbe-e28e92b0a864'::uuid;

-- Query #43035 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0ab26f24-3fc0-ff31-5bbe-e28e92b0a864'::uuid]);

-- Query #43036 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '0ab26f24-3fc0-ff31-5bbe-e28e92b0a864'::uuid;

-- Query #43037 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid, '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43038 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9c9dbf7a-4d1e-1474-072b-e53b6ddc7017'::uuid
ORDER BY b."SortName";

-- Query #43039 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid])
ORDER BY b."Id";

-- Query #43040 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid])
ORDER BY b."Id";

-- Query #43041 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid])
ORDER BY b."Id";

-- Query #43042 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid])
ORDER BY b."Id";

-- Query #43043 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid, '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid, 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid])
ORDER BY b."Id";

-- Query #43044 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '87d08ccb-7b1a-5ab2-da4f-fea6ef7e9cb9'::uuid
ORDER BY b."SortName";

-- Query #43045 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0b14d321-81db-bdd7-fb33-b6661fba0e05'::uuid
ORDER BY b."SortName";

-- Query #43046 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f69d9699-62cd-0030-f87f-e2ca04ad4ab1'::uuid
ORDER BY b."SortName";

-- Query #43047 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '9c9dbf7a4d1e1474072be53b6ddc7017'
ORDER BY b."SortName", b."Name";

-- Query #43048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4ccfcda8-5721-11ab-d438-8712845bca46'::uuid
ORDER BY b."SortName";

-- Query #43049 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43050 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43051 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43052 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43053 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43054 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid
ORDER BY b."SortName";

-- Query #43055 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dd5128d7-423a-f438-336d-5409ab934301'::uuid
ORDER BY b."SortName";

-- Query #43056 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid
ORDER BY b."SortName";

-- Query #43057 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #43058 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ccfcda8-5721-11ab-d438-8712845bca46'::uuid;

-- Query #43059 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ccfcda8-5721-11ab-d438-8712845bca46'::uuid]);

-- Query #43060 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4ccfcda8-5721-11ab-d438-8712845bca46'::uuid;

-- Query #43061 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ccfcda8-5721-11ab-d438-8712845bca46'::uuid, 'Imdb', 'tt2402061')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43062 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ccfcda8-5721-11ab-d438-8712845bca46'::uuid, 'Tmdb', 60129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43063 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ccfcda8-5721-11ab-d438-8712845bca46'::uuid, 'TmdbCollection', 60129)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43064 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ccfcda8-5721-11ab-d438-8712845bca46'::uuid, 'Tvdb', 273402)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43065 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ccfcda8-5721-11ab-d438-8712845bca46'::uuid, 'TvMaze', 300)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43066 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ccfcda8-5721-11ab-d438-8712845bca46'::uuid, 'TvRage', 35032)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43067 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('4ccfcda8-5721-11ab-d438-8712845bca46'::uuid, 'Zap2It', 'EP01801926')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43068 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ccfcda8-5721-11ab-d438-8712845bca46'::uuid;

-- Query #43069 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4ccfcda8-5721-11ab-d438-8712845bca46'::uuid;

-- Query #43070 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4ccfcda8-5721-11ab-d438-8712845bca46'::uuid]);

-- Query #43071 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4ccfcda8-5721-11ab-d438-8712845bca46'::uuid;

-- Query #43072 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43073 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '4ccfcda8572111abd4388712845bca46'
ORDER BY b."SortName", b."Name";

-- Query #43074 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43075 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43076 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43077 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43078 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43079 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4ccfcda8-5721-11ab-d438-8712845bca46'::uuid
ORDER BY b."SortName";

-- Query #43080 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43081 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43082 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43083 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43084 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43085 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid
ORDER BY b."SortName";

-- Query #43086 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dd5128d7-423a-f438-336d-5409ab934301'::uuid
ORDER BY b."SortName";

-- Query #43087 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid
ORDER BY b."SortName";

-- Query #43088 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '4ccfcda8572111abd4388712845bca46'
ORDER BY b."SortName", b."Name";

-- Query #43089 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid;

-- Query #43090 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid]);

-- Query #43091 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid;

-- Query #43092 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'Tvdb', 529944)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43093 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'TvMaze', 1238)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43094 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid;

-- Query #43095 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid;

-- Query #43096 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid]);

-- Query #43097 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid;

-- Query #43098 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ccfcda8-5721-11ab-d438-8712845bca46'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43099 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '4ccfcda8572111abd4388712845bca46'
ORDER BY b."SortName", b."Name";

-- Query #43100 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd5128d7-423a-f438-336d-5409ab934301'::uuid;

-- Query #43101 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd5128d7-423a-f438-336d-5409ab934301'::uuid]);

-- Query #43102 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dd5128d7-423a-f438-336d-5409ab934301'::uuid;

-- Query #43103 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'Tvdb', 614139)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43104 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'TvMaze', 6664)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43105 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd5128d7-423a-f438-336d-5409ab934301'::uuid;

-- Query #43106 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dd5128d7-423a-f438-336d-5409ab934301'::uuid;

-- Query #43107 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dd5128d7-423a-f438-336d-5409ab934301'::uuid]);

-- Query #43108 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'dd5128d7-423a-f438-336d-5409ab934301'::uuid;

-- Query #43109 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ccfcda8-5721-11ab-d438-8712845bca46'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43110 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '4ccfcda8572111abd4388712845bca46'
ORDER BY b."SortName", b."Name";

-- Query #43111 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid;

-- Query #43112 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid]);

-- Query #43113 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid;

-- Query #43114 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid, 'Tvdb', 661672)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43115 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid, 'TvMaze', 39859)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43116 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid;

-- Query #43117 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid;

-- Query #43118 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid]);

-- Query #43119 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid;

-- Query #43120 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ccfcda8-5721-11ab-d438-8712845bca46'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43121 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4ccfcda8-5721-11ab-d438-8712845bca46'::uuid
ORDER BY b."SortName";

-- Query #43122 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43123 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43124 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43125 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43126 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43127 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid
ORDER BY b."SortName";

-- Query #43128 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dd5128d7-423a-f438-336d-5409ab934301'::uuid
ORDER BY b."SortName";

-- Query #43129 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid
ORDER BY b."SortName";

-- Query #43130 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '4ccfcda8572111abd4388712845bca46'
ORDER BY b."SortName", b."Name";

-- Query #43131 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43132 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43133 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43134 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43135 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['e99d6d5c-0865-a6d5-175c-6e76c683b223'::uuid, 'dd5128d7-423a-f438-336d-5409ab934301'::uuid, 'aaa458af-39b9-42e2-8b9a-dfd0fa598fb7'::uuid])
ORDER BY b."Id";

-- Query #43136 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7dc728f4-8902-3d1f-ee5f-faca898fb1b0'::uuid
ORDER BY b."SortName";

-- Query #43137 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3fd77a5b-68f1-170a-0d8e-b5e27958ee0b'::uuid])
ORDER BY b."Id";

-- Query #43138 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['3fd77a5b-68f1-170a-0d8e-b5e27958ee0b'::uuid])
ORDER BY b."Id";

-- Query #43139 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['3fd77a5b-68f1-170a-0d8e-b5e27958ee0b'::uuid])
ORDER BY b."Id";

-- Query #43140 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3fd77a5b-68f1-170a-0d8e-b5e27958ee0b'::uuid])
ORDER BY b."Id";

-- Query #43141 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['3fd77a5b-68f1-170a-0d8e-b5e27958ee0b'::uuid])
ORDER BY b."Id";

-- Query #43142 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3fd77a5b-68f1-170a-0d8e-b5e27958ee0b'::uuid
ORDER BY b."SortName";

-- Query #43143 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7dc728f4-8902-3d1f-ee5f-faca898fb1b0'::uuid;

-- Query #43144 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7dc728f4-8902-3d1f-ee5f-faca898fb1b0'::uuid]);

-- Query #43145 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7dc728f4-8902-3d1f-ee5f-faca898fb1b0'::uuid;

-- Query #43146 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7dc728f4-8902-3d1f-ee5f-faca898fb1b0'::uuid, 'Imdb', 'tt7293016')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43147 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7dc728f4-8902-3d1f-ee5f-faca898fb1b0'::uuid, 'Tmdb', 73538)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43148 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7dc728f4-8902-3d1f-ee5f-faca898fb1b0'::uuid, 'TmdbCollection', 73538)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43149 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7dc728f4-8902-3d1f-ee5f-faca898fb1b0'::uuid, 'Tvdb', 333271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43150 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7dc728f4-8902-3d1f-ee5f-faca898fb1b0'::uuid, 'Zap2It', 'EP02741282')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43151 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7dc728f4-8902-3d1f-ee5f-faca898fb1b0'::uuid;

-- Query #43152 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7dc728f4-8902-3d1f-ee5f-faca898fb1b0'::uuid;

-- Query #43153 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Crime', '2+Documentary', '3+A&E', '4+true crime', '6+true crime']);

-- Query #43154 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7dc728f4-8902-3d1f-ee5f-faca898fb1b0'::uuid]);

-- Query #43155 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."ItemValuesMap"
WHERE "ItemId" = '7dc728f4-8902-3d1f-ee5f-faca898fb1b0'::uuid AND "ItemValueId" = '2a949db4-fea1-4e2d-b3aa-4690d6a30637'::uuid;

-- Query #43156 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '31200b40-13ba-2466-85d0-1894117d8b6f'::uuid
ORDER BY b."SortName";

-- Query #43157 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9e076a7-3db4-1e7e-d735-f06c1898eb3b'::uuid])
ORDER BY b."Id";

-- Query #43158 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a9e076a7-3db4-1e7e-d735-f06c1898eb3b'::uuid])
ORDER BY b."Id";

-- Query #43159 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a9e076a7-3db4-1e7e-d735-f06c1898eb3b'::uuid])
ORDER BY b."Id";

-- Query #43160 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a9e076a7-3db4-1e7e-d735-f06c1898eb3b'::uuid])
ORDER BY b."Id";

-- Query #43161 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a9e076a7-3db4-1e7e-d735-f06c1898eb3b'::uuid])
ORDER BY b."Id";

-- Query #43162 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a9e076a7-3db4-1e7e-d735-f06c1898eb3b'::uuid
ORDER BY b."SortName";

-- Query #43163 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31200b40-13ba-2466-85d0-1894117d8b6f'::uuid;

-- Query #43164 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['31200b40-13ba-2466-85d0-1894117d8b6f'::uuid]);

-- Query #43165 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '31200b40-13ba-2466-85d0-1894117d8b6f'::uuid;

-- Query #43166 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31200b40-13ba-2466-85d0-1894117d8b6f'::uuid, 'Imdb', 'tt7293016')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43167 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31200b40-13ba-2466-85d0-1894117d8b6f'::uuid, 'Tmdb', 73538)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43168 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31200b40-13ba-2466-85d0-1894117d8b6f'::uuid, 'TmdbCollection', 73538)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43169 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31200b40-13ba-2466-85d0-1894117d8b6f'::uuid, 'Tvdb', 333271)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43170 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31200b40-13ba-2466-85d0-1894117d8b6f'::uuid, 'TvMaze', 30591)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43171 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31200b40-13ba-2466-85d0-1894117d8b6f'::uuid, 'wikidata', 'Q98276695')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43172 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('31200b40-13ba-2466-85d0-1894117d8b6f'::uuid, 'Zap2It', 'EP02741282')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43173 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '31200b40-13ba-2466-85d0-1894117d8b6f'::uuid;

-- Query #43174 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '31200b40-13ba-2466-85d0-1894117d8b6f'::uuid;

-- Query #43175 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['31200b40-13ba-2466-85d0-1894117d8b6f'::uuid]);

-- Query #43176 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."ItemValuesMap"
WHERE "ItemId" = '31200b40-13ba-2466-85d0-1894117d8b6f'::uuid AND "ItemValueId" = '2a949db4-fea1-4e2d-b3aa-4690d6a30637'::uuid;

-- Query #43177 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid
ORDER BY b."SortName";

-- Query #43178 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43179 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43180 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43181 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43182 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43183 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c9b97638-9a91-383e-1548-72a22a8f0907'::uuid
ORDER BY b."SortName";

-- Query #43184 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8419e177-e568-8593-b48f-c825e34d94a5'::uuid
ORDER BY b."SortName";

-- Query #43185 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid;

-- Query #43186 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid]);

-- Query #43187 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid;

-- Query #43188 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid, 'Imdb', 'tt0118266')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43189 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid, 'Tmdb', 4625)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43190 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid, 'TmdbCollection', 4625)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43191 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid, 'Tvdb', 77084)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43192 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid, 'TvMaze', 5951)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43193 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid, 'Zap2It', 'EP00238719')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43194 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid;

-- Query #43195 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid;

-- Query #43196 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid]);

-- Query #43197 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid;

-- Query #43198 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43199 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '71bed84ae6d076f3aee67c07433d4b07'
ORDER BY b."SortName", b."Name";

-- Query #43200 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43201 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43202 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43203 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43204 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43205 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid
ORDER BY b."SortName";

-- Query #43206 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43207 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43208 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43209 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43210 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43211 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c9b97638-9a91-383e-1548-72a22a8f0907'::uuid
ORDER BY b."SortName";

-- Query #43212 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8419e177-e568-8593-b48f-c825e34d94a5'::uuid
ORDER BY b."SortName";

-- Query #43213 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '71bed84ae6d076f3aee67c07433d4b07'
ORDER BY b."SortName", b."Name";

-- Query #43214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c9b97638-9a91-383e-1548-72a22a8f0907'::uuid;

-- Query #43215 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid]);

-- Query #43216 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c9b97638-9a91-383e-1548-72a22a8f0907'::uuid;

-- Query #43217 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, 'Tvdb', 12073)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43218 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, 'TvMaze', 17764)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43219 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c9b97638-9a91-383e-1548-72a22a8f0907'::uuid;

-- Query #43220 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c9b97638-9a91-383e-1548-72a22a8f0907'::uuid;

-- Query #43221 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid]);

-- Query #43222 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c9b97638-9a91-383e-1548-72a22a8f0907'::uuid;

-- Query #43223 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43224 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '71bed84ae6d076f3aee67c07433d4b07'
ORDER BY b."SortName", b."Name";

-- Query #43225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8419e177-e568-8593-b48f-c825e34d94a5'::uuid;

-- Query #43226 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8419e177-e568-8593-b48f-c825e34d94a5'::uuid]);

-- Query #43227 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8419e177-e568-8593-b48f-c825e34d94a5'::uuid;

-- Query #43228 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8419e177-e568-8593-b48f-c825e34d94a5'::uuid, 'Tvdb', 12074)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43229 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8419e177-e568-8593-b48f-c825e34d94a5'::uuid, 'TvMaze', 17765)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43230 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8419e177-e568-8593-b48f-c825e34d94a5'::uuid;

-- Query #43231 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8419e177-e568-8593-b48f-c825e34d94a5'::uuid;

-- Query #43232 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8419e177-e568-8593-b48f-c825e34d94a5'::uuid]);

-- Query #43233 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8419e177-e568-8593-b48f-c825e34d94a5'::uuid;

-- Query #43234 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43235 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '71bed84a-e6d0-76f3-aee6-7c07433d4b07'::uuid
ORDER BY b."SortName";

-- Query #43236 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43237 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43238 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43239 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43240 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43241 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c9b97638-9a91-383e-1548-72a22a8f0907'::uuid
ORDER BY b."SortName";

-- Query #43242 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8419e177-e568-8593-b48f-c825e34d94a5'::uuid
ORDER BY b."SortName";

-- Query #43243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '71bed84ae6d076f3aee67c07433d4b07'
ORDER BY b."SortName", b."Name";

-- Query #43244 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43245 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43246 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43247 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43248 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c9b97638-9a91-383e-1548-72a22a8f0907'::uuid, '8419e177-e568-8593-b48f-c825e34d94a5'::uuid])
ORDER BY b."Id";

-- Query #43249 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid
ORDER BY b."SortName";

-- Query #43250 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43251 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43252 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43253 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43254 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43255 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid
ORDER BY b."SortName";

-- Query #43256 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #43257 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #43258 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #43259 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #43260 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #43261 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid;

-- Query #43262 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid]);

-- Query #43263 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid;

-- Query #43264 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid, 'Imdb', 'tt0292858')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43265 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid, 'Tmdb', 2365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43266 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid, 'TmdbCollection', 2365)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43267 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid, 'Tvdb', 76950)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43268 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid, 'TvRage', 6400)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43269 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid, 'wikidata', 'Q7831540')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43270 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid;

-- Query #43271 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid;

-- Query #43272 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Drama', '2+Romance', '2+Science Fiction', '3+Syndication']);

-- Query #43273 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid]);

-- Query #43274 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid;

-- Query #43275 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43276 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '8a15fc71d4f5f1c5b949c9acf7c65857'
ORDER BY b."SortName", b."Name";

-- Query #43277 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid, '3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43278 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid, '3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43279 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid, '3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43280 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid, '3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43281 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid, '3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43282 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid
ORDER BY b."SortName";

-- Query #43283 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43284 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43285 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43286 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43287 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43288 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid
ORDER BY b."SortName";

-- Query #43289 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #43290 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #43291 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #43292 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #43293 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #43294 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59f08e07-0408-7eca-82c1-33199b9349cb'::uuid;

-- Query #43295 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid]);

-- Query #43296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '59f08e07-0408-7eca-82c1-33199b9349cb'::uuid;

-- Query #43297 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '59f08e07-0408-7eca-82c1-33199b9349cb'::uuid;

-- Query #43298 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '59f08e07-0408-7eca-82c1-33199b9349cb'::uuid;

-- Query #43299 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Syndication']);

-- Query #43300 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid]);

-- Query #43301 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '59f08e07-0408-7eca-82c1-33199b9349cb'::uuid;

-- Query #43302 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid, '8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43303 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #43304 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid;

-- Query #43305 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid]);

-- Query #43306 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid;

-- Query #43307 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid;

-- Query #43308 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid;

-- Query #43309 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Syndication']);

-- Query #43310 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid]);

-- Query #43311 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid;

-- Query #43312 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid, '8a15fc71-d4f5-f1c5-b949-c9acf7c65857'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43313 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid
ORDER BY b."SortName";

-- Query #43314 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #43315 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #43316 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #43317 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #43318 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #43319 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = '8a15fc71d4f5f1c5b949c9acf7c65857'
ORDER BY b."SortName", b."Name";

-- Query #43320 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid, '3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43321 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid, '3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43322 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid, '3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43323 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid, '3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43324 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['59f08e07-0408-7eca-82c1-33199b9349cb'::uuid, '3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid, '3229cb8a-fe5b-c291-b6bb-c67e69c2bfd3'::uuid])
ORDER BY b."Id";

-- Query #43325 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fb4184b0-2fff-801a-9863-f55064865072'::uuid
ORDER BY b."SortName";

-- Query #43326 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid])
ORDER BY b."Id";

-- Query #43327 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid])
ORDER BY b."Id";

-- Query #43328 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid])
ORDER BY b."Id";

-- Query #43329 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid])
ORDER BY b."Id";

-- Query #43330 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid])
ORDER BY b."Id";

-- Query #43331 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid
ORDER BY b."SortName";

-- Query #43332 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb4184b0-2fff-801a-9863-f55064865072'::uuid;

-- Query #43333 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb4184b0-2fff-801a-9863-f55064865072'::uuid]);

-- Query #43334 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fb4184b0-2fff-801a-9863-f55064865072'::uuid;

-- Query #43335 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb4184b0-2fff-801a-9863-f55064865072'::uuid, 'Imdb', 'tt0185070')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43336 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb4184b0-2fff-801a-9863-f55064865072'::uuid, 'Tmdb', 46252)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43337 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb4184b0-2fff-801a-9863-f55064865072'::uuid, 'TmdbCollection', 46252)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43338 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb4184b0-2fff-801a-9863-f55064865072'::uuid, 'Tvdb', 79760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43339 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb4184b0-2fff-801a-9863-f55064865072'::uuid, 'TvMaze', 19607)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43340 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('fb4184b0-2fff-801a-9863-f55064865072'::uuid, 'wikidata', 'Q700424')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43341 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb4184b0-2fff-801a-9863-f55064865072'::uuid;

-- Query #43342 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fb4184b0-2fff-801a-9863-f55064865072'::uuid;

-- Query #43343 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fb4184b0-2fff-801a-9863-f55064865072'::uuid]);

-- Query #43344 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'fb4184b0-2fff-801a-9863-f55064865072'::uuid;

-- Query #43345 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43346 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'fb4184b02fff801a9863f55064865072'
ORDER BY b."SortName", b."Name";

-- Query #43347 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fb4184b0-2fff-801a-9863-f55064865072'::uuid
ORDER BY b."SortName";

-- Query #43348 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid])
ORDER BY b."Id";

-- Query #43349 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid])
ORDER BY b."Id";

-- Query #43350 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid])
ORDER BY b."Id";

-- Query #43351 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid])
ORDER BY b."Id";

-- Query #43352 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid])
ORDER BY b."Id";

-- Query #43353 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid
ORDER BY b."SortName";

-- Query #43354 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'fb4184b02fff801a9863f55064865072'
ORDER BY b."SortName", b."Name";

-- Query #43355 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid;

-- Query #43356 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid]);

-- Query #43357 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid;

-- Query #43358 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'Tvdb', 79760)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43359 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'Tmdb', 46252)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43360 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'Imdb', 'tt0185070')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43361 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'TvMaze', 19607)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43362 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'wikidata', 'Q700424')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43363 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'TmdbCollection', 46252)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43364 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid;

-- Query #43365 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid;

-- Query #43366 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['6+anime', '6+mecha', '6+super robot']);

-- Query #43367 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid]);

-- Query #43368 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid;

-- Query #43369 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '538e5f3c-4812-3287-691c-4cc83b82d3ff'::uuid;

-- Query #43371 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['538e5f3c-4812-3287-691c-4cc83b82d3ff'::uuid]);

-- Query #43372 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '538e5f3c-4812-3287-691c-4cc83b82d3ff'::uuid;

-- Query #43373 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('538e5f3c-4812-3287-691c-4cc83b82d3ff'::uuid, 'Imdb', 'tt7628492')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43374 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('538e5f3c-4812-3287-691c-4cc83b82d3ff'::uuid, 'TvMaze', 880996)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43375 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('538e5f3c-4812-3287-691c-4cc83b82d3ff'::uuid, 'Tvdb', 318550)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43376 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '538e5f3c-4812-3287-691c-4cc83b82d3ff'::uuid;

-- Query #43377 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '538e5f3c-4812-3287-691c-4cc83b82d3ff'::uuid;

-- Query #43378 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['538e5f3c-4812-3287-691c-4cc83b82d3ff'::uuid]);

-- Query #43379 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '538e5f3c-4812-3287-691c-4cc83b82d3ff'::uuid;

-- Query #43380 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43381 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '10846edd-d12e-f52a-7f99-57f1312f2051'::uuid;

-- Query #43382 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10846edd-d12e-f52a-7f99-57f1312f2051'::uuid]);

-- Query #43383 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '10846edd-d12e-f52a-7f99-57f1312f2051'::uuid;

-- Query #43384 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10846edd-d12e-f52a-7f99-57f1312f2051'::uuid, 'Imdb', 'tt7628498')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43385 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10846edd-d12e-f52a-7f99-57f1312f2051'::uuid, 'TvMaze', 880999)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43386 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('10846edd-d12e-f52a-7f99-57f1312f2051'::uuid, 'Tvdb', 318553)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43387 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '10846edd-d12e-f52a-7f99-57f1312f2051'::uuid;

-- Query #43388 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '10846edd-d12e-f52a-7f99-57f1312f2051'::uuid;

-- Query #43389 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['10846edd-d12e-f52a-7f99-57f1312f2051'::uuid]);

-- Query #43390 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '10846edd-d12e-f52a-7f99-57f1312f2051'::uuid;

-- Query #43391 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43392 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '54d6354b-d31d-0718-d49b-347c786c07aa'::uuid;

-- Query #43393 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['54d6354b-d31d-0718-d49b-347c786c07aa'::uuid]);

-- Query #43394 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '54d6354b-d31d-0718-d49b-347c786c07aa'::uuid;

-- Query #43395 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54d6354b-d31d-0718-d49b-347c786c07aa'::uuid, 'Imdb', 'tt7628512')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43396 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54d6354b-d31d-0718-d49b-347c786c07aa'::uuid, 'TvMaze', 881002)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43397 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('54d6354b-d31d-0718-d49b-347c786c07aa'::uuid, 'Tvdb', 318556)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43398 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '54d6354b-d31d-0718-d49b-347c786c07aa'::uuid;

-- Query #43399 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '54d6354b-d31d-0718-d49b-347c786c07aa'::uuid;

-- Query #43400 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['54d6354b-d31d-0718-d49b-347c786c07aa'::uuid]);

-- Query #43401 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '54d6354b-d31d-0718-d49b-347c786c07aa'::uuid;

-- Query #43402 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43403 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ad207ff8-6e12-fa13-4dfc-609b8f19cabb'::uuid;

-- Query #43404 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad207ff8-6e12-fa13-4dfc-609b8f19cabb'::uuid]);

-- Query #43405 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ad207ff8-6e12-fa13-4dfc-609b8f19cabb'::uuid;

-- Query #43406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad207ff8-6e12-fa13-4dfc-609b8f19cabb'::uuid, 'Imdb', 'tt2218934')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43407 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad207ff8-6e12-fa13-4dfc-609b8f19cabb'::uuid, 'TvMaze', 880991)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43408 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ad207ff8-6e12-fa13-4dfc-609b8f19cabb'::uuid, 'Tvdb', 318545)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43409 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ad207ff8-6e12-fa13-4dfc-609b8f19cabb'::uuid;

-- Query #43410 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ad207ff8-6e12-fa13-4dfc-609b8f19cabb'::uuid;

-- Query #43411 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ad207ff8-6e12-fa13-4dfc-609b8f19cabb'::uuid]);

-- Query #43412 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ad207ff8-6e12-fa13-4dfc-609b8f19cabb'::uuid;

-- Query #43413 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43414 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a2623760-f1fe-2c25-f786-c03421f399f2'::uuid;

-- Query #43415 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a2623760-f1fe-2c25-f786-c03421f399f2'::uuid]);

-- Query #43416 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a2623760-f1fe-2c25-f786-c03421f399f2'::uuid;

-- Query #43417 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2623760-f1fe-2c25-f786-c03421f399f2'::uuid, 'Imdb', 'tt7628524')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43418 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2623760-f1fe-2c25-f786-c03421f399f2'::uuid, 'TvMaze', 881003)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43419 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a2623760-f1fe-2c25-f786-c03421f399f2'::uuid, 'Tvdb', 318557)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43420 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a2623760-f1fe-2c25-f786-c03421f399f2'::uuid;

-- Query #43421 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a2623760-f1fe-2c25-f786-c03421f399f2'::uuid;

-- Query #43422 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a2623760-f1fe-2c25-f786-c03421f399f2'::uuid]);

-- Query #43423 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a2623760-f1fe-2c25-f786-c03421f399f2'::uuid;

-- Query #43424 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43425 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a6a80ef-a140-4fe6-ceb9-050fb0048930'::uuid;

-- Query #43426 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3a6a80ef-a140-4fe6-ceb9-050fb0048930'::uuid]);

-- Query #43427 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3a6a80ef-a140-4fe6-ceb9-050fb0048930'::uuid;

-- Query #43428 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a6a80ef-a140-4fe6-ceb9-050fb0048930'::uuid, 'TvMaze', 881004)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43429 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3a6a80ef-a140-4fe6-ceb9-050fb0048930'::uuid, 'Tvdb', 318558)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43430 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a6a80ef-a140-4fe6-ceb9-050fb0048930'::uuid;

-- Query #43431 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3a6a80ef-a140-4fe6-ceb9-050fb0048930'::uuid;

-- Query #43432 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Fuji TV', '6+anime', '6+mecha', '6+super robot']);

-- Query #43433 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3a6a80ef-a140-4fe6-ceb9-050fb0048930'::uuid]);

-- Query #43434 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3a6a80ef-a140-4fe6-ceb9-050fb0048930'::uuid;

-- Query #43435 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43436 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a851634-203d-0596-ead6-fef612fdd307'::uuid;

-- Query #43437 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a851634-203d-0596-ead6-fef612fdd307'::uuid]);

-- Query #43438 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7a851634-203d-0596-ead6-fef612fdd307'::uuid;

-- Query #43439 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a851634-203d-0596-ead6-fef612fdd307'::uuid, 'Imdb', 'tt7628590')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43440 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a851634-203d-0596-ead6-fef612fdd307'::uuid, 'TvMaze', 881010)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43441 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7a851634-203d-0596-ead6-fef612fdd307'::uuid, 'Tvdb', 318564)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43442 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a851634-203d-0596-ead6-fef612fdd307'::uuid;

-- Query #43443 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7a851634-203d-0596-ead6-fef612fdd307'::uuid;

-- Query #43444 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7a851634-203d-0596-ead6-fef612fdd307'::uuid]);

-- Query #43445 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7a851634-203d-0596-ead6-fef612fdd307'::uuid;

-- Query #43446 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43447 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid;

-- Query #43448 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid]);

-- Query #43449 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid;

-- Query #43450 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid, 'Imdb', 'tt7628612')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43451 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid, 'TvMaze', 881016)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43452 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid, 'Tvdb', 318570)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43453 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid;

-- Query #43454 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid;

-- Query #43455 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid]);

-- Query #43456 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid;

-- Query #43457 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43458 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '72afc5ee-14a6-c4ba-4b10-72f6c1ac3dcd'::uuid;

-- Query #43459 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72afc5ee-14a6-c4ba-4b10-72f6c1ac3dcd'::uuid]);

-- Query #43460 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '72afc5ee-14a6-c4ba-4b10-72f6c1ac3dcd'::uuid;

-- Query #43461 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72afc5ee-14a6-c4ba-4b10-72f6c1ac3dcd'::uuid, 'Imdb', 'tt7628606')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43462 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72afc5ee-14a6-c4ba-4b10-72f6c1ac3dcd'::uuid, 'TvMaze', 881014)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43463 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('72afc5ee-14a6-c4ba-4b10-72f6c1ac3dcd'::uuid, 'Tvdb', 318568)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43464 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '72afc5ee-14a6-c4ba-4b10-72f6c1ac3dcd'::uuid;

-- Query #43465 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '72afc5ee-14a6-c4ba-4b10-72f6c1ac3dcd'::uuid;

-- Query #43466 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['72afc5ee-14a6-c4ba-4b10-72f6c1ac3dcd'::uuid]);

-- Query #43467 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '72afc5ee-14a6-c4ba-4b10-72f6c1ac3dcd'::uuid;

-- Query #43468 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43469 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '08ad958b-43bb-a8d9-1218-1f1cbec1f64d'::uuid;

-- Query #43470 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['08ad958b-43bb-a8d9-1218-1f1cbec1f64d'::uuid]);

-- Query #43471 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '08ad958b-43bb-a8d9-1218-1f1cbec1f64d'::uuid;

-- Query #43472 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('08ad958b-43bb-a8d9-1218-1f1cbec1f64d'::uuid, 'Imdb', 'tt7628494')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43473 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('08ad958b-43bb-a8d9-1218-1f1cbec1f64d'::uuid, 'TvMaze', 880997)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43474 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('08ad958b-43bb-a8d9-1218-1f1cbec1f64d'::uuid, 'Tvdb', 318551)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43475 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '08ad958b-43bb-a8d9-1218-1f1cbec1f64d'::uuid;

-- Query #43476 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '08ad958b-43bb-a8d9-1218-1f1cbec1f64d'::uuid;

-- Query #43477 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['08ad958b-43bb-a8d9-1218-1f1cbec1f64d'::uuid]);

-- Query #43478 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '08ad958b-43bb-a8d9-1218-1f1cbec1f64d'::uuid;

-- Query #43479 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43480 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96a4e043-ae53-dd04-4d25-841b5ba0402b'::uuid;

-- Query #43481 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['96a4e043-ae53-dd04-4d25-841b5ba0402b'::uuid]);

-- Query #43482 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '96a4e043-ae53-dd04-4d25-841b5ba0402b'::uuid;

-- Query #43483 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96a4e043-ae53-dd04-4d25-841b5ba0402b'::uuid, 'Imdb', 'tt7628576')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43484 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96a4e043-ae53-dd04-4d25-841b5ba0402b'::uuid, 'TvMaze', 881006)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43485 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96a4e043-ae53-dd04-4d25-841b5ba0402b'::uuid, 'Tvdb', 318560)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43486 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96a4e043-ae53-dd04-4d25-841b5ba0402b'::uuid;

-- Query #43487 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '96a4e043-ae53-dd04-4d25-841b5ba0402b'::uuid;

-- Query #43488 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['96a4e043-ae53-dd04-4d25-841b5ba0402b'::uuid]);

-- Query #43489 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '96a4e043-ae53-dd04-4d25-841b5ba0402b'::uuid;

-- Query #43490 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43491 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5c38100c-59d8-d455-6315-5c63d3c023cc'::uuid;

-- Query #43492 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c38100c-59d8-d455-6315-5c63d3c023cc'::uuid]);

-- Query #43493 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5c38100c-59d8-d455-6315-5c63d3c023cc'::uuid;

-- Query #43494 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c38100c-59d8-d455-6315-5c63d3c023cc'::uuid, 'Imdb', 'tt7628634')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43495 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c38100c-59d8-d455-6315-5c63d3c023cc'::uuid, 'TvMaze', 881015)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43496 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5c38100c-59d8-d455-6315-5c63d3c023cc'::uuid, 'Tvdb', 318569)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43497 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5c38100c-59d8-d455-6315-5c63d3c023cc'::uuid;

-- Query #43498 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5c38100c-59d8-d455-6315-5c63d3c023cc'::uuid;

-- Query #43499 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5c38100c-59d8-d455-6315-5c63d3c023cc'::uuid]);

-- Query #43500 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5c38100c-59d8-d455-6315-5c63d3c023cc'::uuid;

-- Query #43501 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43502 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b1a0a79-3c5a-9b54-c19e-567a8393ad94'::uuid;

-- Query #43503 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7b1a0a79-3c5a-9b54-c19e-567a8393ad94'::uuid]);

-- Query #43504 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7b1a0a79-3c5a-9b54-c19e-567a8393ad94'::uuid;

-- Query #43505 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b1a0a79-3c5a-9b54-c19e-567a8393ad94'::uuid, 'Imdb', 'tt7628602')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43506 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b1a0a79-3c5a-9b54-c19e-567a8393ad94'::uuid, 'TvMaze', 881013)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43507 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('7b1a0a79-3c5a-9b54-c19e-567a8393ad94'::uuid, 'Tvdb', 318567)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43508 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7b1a0a79-3c5a-9b54-c19e-567a8393ad94'::uuid;

-- Query #43509 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7b1a0a79-3c5a-9b54-c19e-567a8393ad94'::uuid;

-- Query #43510 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7b1a0a79-3c5a-9b54-c19e-567a8393ad94'::uuid]);

-- Query #43511 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '7b1a0a79-3c5a-9b54-c19e-567a8393ad94'::uuid;

-- Query #43512 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43513 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f0df622b-12cd-1179-3544-a45854c95f37'::uuid;

-- Query #43514 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f0df622b-12cd-1179-3544-a45854c95f37'::uuid]);

-- Query #43515 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f0df622b-12cd-1179-3544-a45854c95f37'::uuid;

-- Query #43516 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f0df622b-12cd-1179-3544-a45854c95f37'::uuid, 'Imdb', 'tt7628582')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43517 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f0df622b-12cd-1179-3544-a45854c95f37'::uuid, 'TvMaze', 881007)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43518 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f0df622b-12cd-1179-3544-a45854c95f37'::uuid, 'Tvdb', 318561)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43519 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f0df622b-12cd-1179-3544-a45854c95f37'::uuid;

-- Query #43520 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f0df622b-12cd-1179-3544-a45854c95f37'::uuid;

-- Query #43521 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f0df622b-12cd-1179-3544-a45854c95f37'::uuid]);

-- Query #43522 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f0df622b-12cd-1179-3544-a45854c95f37'::uuid;

-- Query #43523 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43524 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3c84a1d2-0c57-2035-6a60-668dbc26d8c9'::uuid;

-- Query #43525 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3c84a1d2-0c57-2035-6a60-668dbc26d8c9'::uuid]);

-- Query #43526 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3c84a1d2-0c57-2035-6a60-668dbc26d8c9'::uuid;

-- Query #43527 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c84a1d2-0c57-2035-6a60-668dbc26d8c9'::uuid, 'Imdb', 'tt7628486')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43528 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c84a1d2-0c57-2035-6a60-668dbc26d8c9'::uuid, 'TvMaze', 880994)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43529 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('3c84a1d2-0c57-2035-6a60-668dbc26d8c9'::uuid, 'Tvdb', 318548)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43530 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3c84a1d2-0c57-2035-6a60-668dbc26d8c9'::uuid;

-- Query #43531 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3c84a1d2-0c57-2035-6a60-668dbc26d8c9'::uuid;

-- Query #43532 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3c84a1d2-0c57-2035-6a60-668dbc26d8c9'::uuid]);

-- Query #43533 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '3c84a1d2-0c57-2035-6a60-668dbc26d8c9'::uuid;

-- Query #43534 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43535 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e016945d-64ea-0f21-4119-0e5718ca5217'::uuid;

-- Query #43536 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e016945d-64ea-0f21-4119-0e5718ca5217'::uuid]);

-- Query #43537 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e016945d-64ea-0f21-4119-0e5718ca5217'::uuid;

-- Query #43538 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e016945d-64ea-0f21-4119-0e5718ca5217'::uuid, 'Imdb', 'tt7628588')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43539 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e016945d-64ea-0f21-4119-0e5718ca5217'::uuid, 'TvMaze', 881008)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43540 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('e016945d-64ea-0f21-4119-0e5718ca5217'::uuid, 'Tvdb', 318562)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43541 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e016945d-64ea-0f21-4119-0e5718ca5217'::uuid;

-- Query #43542 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e016945d-64ea-0f21-4119-0e5718ca5217'::uuid;

-- Query #43543 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e016945d-64ea-0f21-4119-0e5718ca5217'::uuid]);

-- Query #43544 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'e016945d-64ea-0f21-4119-0e5718ca5217'::uuid;

-- Query #43545 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43546 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29858fd7-9d3a-fab2-5ffe-da01375d7643'::uuid;

-- Query #43547 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29858fd7-9d3a-fab2-5ffe-da01375d7643'::uuid]);

-- Query #43548 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '29858fd7-9d3a-fab2-5ffe-da01375d7643'::uuid;

-- Query #43549 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29858fd7-9d3a-fab2-5ffe-da01375d7643'::uuid, 'Imdb', 'tt7628806')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43550 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29858fd7-9d3a-fab2-5ffe-da01375d7643'::uuid, 'TvMaze', 880995)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43551 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('29858fd7-9d3a-fab2-5ffe-da01375d7643'::uuid, 'Tvdb', 318549)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43552 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29858fd7-9d3a-fab2-5ffe-da01375d7643'::uuid;

-- Query #43553 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '29858fd7-9d3a-fab2-5ffe-da01375d7643'::uuid;

-- Query #43554 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['29858fd7-9d3a-fab2-5ffe-da01375d7643'::uuid]);

-- Query #43555 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '29858fd7-9d3a-fab2-5ffe-da01375d7643'::uuid;

-- Query #43556 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43557 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a6c29b22-af98-dd0c-f20f-62de67afb8eb'::uuid;

-- Query #43558 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a6c29b22-af98-dd0c-f20f-62de67afb8eb'::uuid]);

-- Query #43559 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a6c29b22-af98-dd0c-f20f-62de67afb8eb'::uuid;

-- Query #43560 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6c29b22-af98-dd0c-f20f-62de67afb8eb'::uuid, 'TvMaze', 880992)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43561 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('a6c29b22-af98-dd0c-f20f-62de67afb8eb'::uuid, 'Tvdb', 318546)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43562 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a6c29b22-af98-dd0c-f20f-62de67afb8eb'::uuid;

-- Query #43563 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a6c29b22-af98-dd0c-f20f-62de67afb8eb'::uuid;

-- Query #43564 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['3+Fuji TV', '6+anime', '6+mecha', '6+super robot']);

-- Query #43565 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a6c29b22-af98-dd0c-f20f-62de67afb8eb'::uuid]);

-- Query #43566 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'a6c29b22-af98-dd0c-f20f-62de67afb8eb'::uuid;

-- Query #43567 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43568 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebbf95a3-8369-aaec-8467-0e96dccaad57'::uuid;

-- Query #43569 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ebbf95a3-8369-aaec-8467-0e96dccaad57'::uuid]);

-- Query #43570 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ebbf95a3-8369-aaec-8467-0e96dccaad57'::uuid;

-- Query #43571 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbf95a3-8369-aaec-8467-0e96dccaad57'::uuid, 'Imdb', 'tt7628546')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43572 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbf95a3-8369-aaec-8467-0e96dccaad57'::uuid, 'TvMaze', 881005)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43573 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('ebbf95a3-8369-aaec-8467-0e96dccaad57'::uuid, 'Tvdb', 318559)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43574 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ebbf95a3-8369-aaec-8467-0e96dccaad57'::uuid;

-- Query #43575 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ebbf95a3-8369-aaec-8467-0e96dccaad57'::uuid;

-- Query #43576 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ebbf95a3-8369-aaec-8467-0e96dccaad57'::uuid]);

-- Query #43577 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'ebbf95a3-8369-aaec-8467-0e96dccaad57'::uuid;

-- Query #43578 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43579 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '315d9a6f-9e8e-c385-08be-689a68552789'::uuid;

-- Query #43580 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #43581 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['315d9a6f-9e8e-c385-08be-689a68552789'::uuid]);

-- Query #43582 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '315d9a6f-9e8e-c385-08be-689a68552789'::uuid;

-- Query #43583 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('315d9a6f-9e8e-c385-08be-689a68552789'::uuid, 'Imdb', 'tt7628596')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43584 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('315d9a6f-9e8e-c385-08be-689a68552789'::uuid, 'TvMaze', 881012)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43585 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('315d9a6f-9e8e-c385-08be-689a68552789'::uuid, 'Tvdb', 318566)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '315d9a6f-9e8e-c385-08be-689a68552789'::uuid;

-- Query #43587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '315d9a6f-9e8e-c385-08be-689a68552789'::uuid;

-- Query #43588 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['315d9a6f-9e8e-c385-08be-689a68552789'::uuid]);

-- Query #43589 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '315d9a6f-9e8e-c385-08be-689a68552789'::uuid;

-- Query #43590 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd464680c-71ef-4681-1693-f3eef7cff312'::uuid;

-- Query #43592 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d464680c-71ef-4681-1693-f3eef7cff312'::uuid]);

-- Query #43593 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd464680c-71ef-4681-1693-f3eef7cff312'::uuid;

-- Query #43594 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d464680c-71ef-4681-1693-f3eef7cff312'::uuid, 'Imdb', 'tt7628610')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43595 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d464680c-71ef-4681-1693-f3eef7cff312'::uuid, 'TvMaze', 881011)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43596 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('d464680c-71ef-4681-1693-f3eef7cff312'::uuid, 'Tvdb', 318565)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43597 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd464680c-71ef-4681-1693-f3eef7cff312'::uuid;

-- Query #43598 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd464680c-71ef-4681-1693-f3eef7cff312'::uuid;

-- Query #43599 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d464680c-71ef-4681-1693-f3eef7cff312'::uuid]);

-- Query #43600 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd464680c-71ef-4681-1693-f3eef7cff312'::uuid;

-- Query #43601 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43602 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70d7a557-b4fc-6c42-c9af-e30f92df0489'::uuid;

-- Query #43603 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70d7a557-b4fc-6c42-c9af-e30f92df0489'::uuid]);

-- Query #43604 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '70d7a557-b4fc-6c42-c9af-e30f92df0489'::uuid;

-- Query #43605 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70d7a557-b4fc-6c42-c9af-e30f92df0489'::uuid, 'Imdb', 'tt7628502')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43606 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70d7a557-b4fc-6c42-c9af-e30f92df0489'::uuid, 'TvMaze', 881000)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43607 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('70d7a557-b4fc-6c42-c9af-e30f92df0489'::uuid, 'Tvdb', 318554)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43608 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70d7a557-b4fc-6c42-c9af-e30f92df0489'::uuid;

-- Query #43609 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '70d7a557-b4fc-6c42-c9af-e30f92df0489'::uuid;

-- Query #43610 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['70d7a557-b4fc-6c42-c9af-e30f92df0489'::uuid]);

-- Query #43611 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '70d7a557-b4fc-6c42-c9af-e30f92df0489'::uuid;

-- Query #43612 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid, 'fb4184b0-2fff-801a-9863-f55064865072'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'b6b43379-b23a-50a3-96cc-d1df4151ec70'::uuid]);

-- Query #43613 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fb4184b0-2fff-801a-9863-f55064865072'::uuid
ORDER BY b."SortName";

-- Query #43614 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid])
ORDER BY b."Id";

-- Query #43615 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid])
ORDER BY b."Id";

-- Query #43616 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid])
ORDER BY b."Id";

-- Query #43617 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid])
ORDER BY b."Id";

-- Query #43618 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid])
ORDER BY b."Id";

-- Query #43619 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2c527cdc-4e23-3455-3b19-f28303d78f81'::uuid
ORDER BY b."SortName";

-- Query #43620 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."SeriesPresentationUniqueKey" = 'fb4184b02fff801a9863f55064865072'
ORDER BY b."SortName", b."Name";

-- Query #43621 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #43622 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #43623 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #43624 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #43625 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Remy Zero'
ORDER BY b."SortName";

-- Query #43626 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0abc042-6354-541b-a04b-fd2291496488'::uuid])
ORDER BY b."Id";

-- Query #43627 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c0abc042-6354-541b-a04b-fd2291496488'::uuid])
ORDER BY b."Id";

-- Query #43628 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c0abc042-6354-541b-a04b-fd2291496488'::uuid])
ORDER BY b."Id";

-- Query #43629 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c0abc042-6354-541b-a04b-fd2291496488'::uuid])
ORDER BY b."Id";

-- Query #43630 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c0abc042-6354-541b-a04b-fd2291496488'::uuid])
ORDER BY b."Id";

-- Query #43631 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['69476e68-dedd-e168-5d9e-94b8df91537b'::uuid])
ORDER BY b."Id";

-- Query #43632 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['69476e68-dedd-e168-5d9e-94b8df91537b'::uuid])
ORDER BY b."Id";

-- Query #43633 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['69476e68-dedd-e168-5d9e-94b8df91537b'::uuid])
ORDER BY b."Id";

-- Query #43634 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['69476e68-dedd-e168-5d9e-94b8df91537b'::uuid])
ORDER BY b."Id";

-- Query #43635 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['69476e68-dedd-e168-5d9e-94b8df91537b'::uuid])
ORDER BY b."Id";

-- Query #43636 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0abc042-6354-541b-a04b-fd2291496488'::uuid;

-- Query #43637 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0abc042-6354-541b-a04b-fd2291496488'::uuid]);

-- Query #43638 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c0abc042-6354-541b-a04b-fd2291496488'::uuid;

-- Query #43639 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('c0abc042-6354-541b-a04b-fd2291496488'::uuid, 'MusicBrainzArtist', '848a122b-9dcc-4ff7-91b8-e4f37b8f1147'::uuid)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43640 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0abc042-6354-541b-a04b-fd2291496488'::uuid;

-- Query #43641 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c0abc042-6354-541b-a04b-fd2291496488'::uuid;

-- Query #43642 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Adventure', '2+Drama', '2+Romance', '2+Science Fiction']);

-- Query #43643 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c0abc042-6354-541b-a04b-fd2291496488'::uuid]);

-- Query #43644 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'c0abc042-6354-541b-a04b-fd2291496488'::uuid;

-- Query #43645 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY[]::text[]);

-- Query #43646 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Forensic Files'
ORDER BY b."SortName";

-- Query #43647 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ad56cbe-07e5-1f5e-e582-0834572ff81b'::uuid])
ORDER BY b."Id";

-- Query #43648 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['1ad56cbe-07e5-1f5e-e582-0834572ff81b'::uuid])
ORDER BY b."Id";

-- Query #43649 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['1ad56cbe-07e5-1f5e-e582-0834572ff81b'::uuid])
ORDER BY b."Id";

-- Query #43650 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1ad56cbe-07e5-1f5e-e582-0834572ff81b'::uuid])
ORDER BY b."Id";

-- Query #43651 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['1ad56cbe-07e5-1f5e-e582-0834572ff81b'::uuid])
ORDER BY b."Id";

-- Query #43652 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Three Stooges'
ORDER BY b."SortName";

-- Query #43653 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dc0ead8d-1c9f-de3e-6a88-df11e08a1b18'::uuid])
ORDER BY b."Id";

-- Query #43654 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['dc0ead8d-1c9f-de3e-6a88-df11e08a1b18'::uuid])
ORDER BY b."Id";

-- Query #43655 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['dc0ead8d-1c9f-de3e-6a88-df11e08a1b18'::uuid])
ORDER BY b."Id";

-- Query #43656 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dc0ead8d-1c9f-de3e-6a88-df11e08a1b18'::uuid])
ORDER BY b."Id";

-- Query #43657 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['dc0ead8d-1c9f-de3e-6a88-df11e08a1b18'::uuid])
ORDER BY b."Id";

-- Query #43658 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Gruska, Jay'
ORDER BY b."SortName";

-- Query #43659 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e13aada-3dd7-7912-5c99-47d1f314dc73'::uuid])
ORDER BY b."Id";

-- Query #43660 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['3e13aada-3dd7-7912-5c99-47d1f314dc73'::uuid])
ORDER BY b."Id";

-- Query #43661 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['3e13aada-3dd7-7912-5c99-47d1f314dc73'::uuid])
ORDER BY b."Id";

-- Query #43662 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e13aada-3dd7-7912-5c99-47d1f314dc73'::uuid])
ORDER BY b."Id";

-- Query #43663 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['3e13aada-3dd7-7912-5c99-47d1f314dc73'::uuid])
ORDER BY b."Id";

-- Query #43664 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Secret Diary Of A Call Girl'
ORDER BY b."SortName";

-- Query #43665 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e7104aa-f13d-5947-00e4-fe9388c7dd15'::uuid])
ORDER BY b."Id";

-- Query #43666 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['7e7104aa-f13d-5947-00e4-fe9388c7dd15'::uuid])
ORDER BY b."Id";

-- Query #43667 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['7e7104aa-f13d-5947-00e4-fe9388c7dd15'::uuid])
ORDER BY b."Id";

-- Query #43668 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7e7104aa-f13d-5947-00e4-fe9388c7dd15'::uuid])
ORDER BY b."Id";

-- Query #43669 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['7e7104aa-f13d-5947-00e4-fe9388c7dd15'::uuid])
ORDER BY b."Id";

-- Query #43670 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Psapp'
ORDER BY b."SortName";

-- Query #43671 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['91cd6a5f-f254-b205-d0b5-b7ec554721db'::uuid])
ORDER BY b."Id";

-- Query #43672 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['91cd6a5f-f254-b205-d0b5-b7ec554721db'::uuid])
ORDER BY b."Id";

-- Query #43673 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['91cd6a5f-f254-b205-d0b5-b7ec554721db'::uuid])
ORDER BY b."Id";

-- Query #43674 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['91cd6a5f-f254-b205-d0b5-b7ec554721db'::uuid])
ORDER BY b."Id";

-- Query #43675 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['91cd6a5f-f254-b205-d0b5-b7ec554721db'::uuid])
ORDER BY b."Id";

-- Query #43676 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Aimee Allen'
ORDER BY b."SortName";

-- Query #43677 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9210ed93-41c2-544d-7a72-99fdb0a3fdba'::uuid])
ORDER BY b."Id";

-- Query #43678 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['9210ed93-41c2-544d-7a72-99fdb0a3fdba'::uuid])
ORDER BY b."Id";

-- Query #43679 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['9210ed93-41c2-544d-7a72-99fdb0a3fdba'::uuid])
ORDER BY b."Id";

-- Query #43680 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9210ed93-41c2-544d-7a72-99fdb0a3fdba'::uuid])
ORDER BY b."Id";

-- Query #43681 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['9210ed93-41c2-544d-7a72-99fdb0a3fdba'::uuid])
ORDER BY b."Id";

-- Query #43682 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['79b561e6-7ccf-233b-6455-f816b599b2f7'::uuid])
ORDER BY b."Id";

-- Query #43683 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['79b561e6-7ccf-233b-6455-f816b599b2f7'::uuid])
ORDER BY b."Id";

-- Query #43684 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['79b561e6-7ccf-233b-6455-f816b599b2f7'::uuid])
ORDER BY b."Id";

-- Query #43685 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['79b561e6-7ccf-233b-6455-f816b599b2f7'::uuid])
ORDER BY b."Id";

-- Query #43686 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['79b561e6-7ccf-233b-6455-f816b599b2f7'::uuid])
ORDER BY b."Id";

-- Query #43687 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9210ed93-41c2-544d-7a72-99fdb0a3fdba'::uuid;

-- Query #43688 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9210ed93-41c2-544d-7a72-99fdb0a3fdba'::uuid]);

-- Query #43689 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9210ed93-41c2-544d-7a72-99fdb0a3fdba'::uuid;

-- Query #43690 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('9210ed93-41c2-544d-7a72-99fdb0a3fdba'::uuid, 'MusicBrainzArtist', '1592ba85-a12e-43eb-885c-13df6bd896b7'::uuid)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43691 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9210ed93-41c2-544d-7a72-99fdb0a3fdba'::uuid;

-- Query #43692 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9210ed93-41c2-544d-7a72-99fdb0a3fdba'::uuid;

-- Query #43693 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Action', '2+Adventure', '2+Drama', '2+Fantasy', '2+Science Fiction']);

-- Query #43694 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9210ed93-41c2-544d-7a72-99fdb0a3fdba'::uuid]);

-- Query #43695 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '9210ed93-41c2-544d-7a72-99fdb0a3fdba'::uuid;

-- Query #43696 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY[]::text[]);

-- Query #43697 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Rolfe Kent'
ORDER BY b."SortName";

-- Query #43698 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['35daaed2-4093-bd40-a515-82d189eb026e'::uuid])
ORDER BY b."Id";

-- Query #43699 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['35daaed2-4093-bd40-a515-82d189eb026e'::uuid])
ORDER BY b."Id";

-- Query #43700 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['35daaed2-4093-bd40-a515-82d189eb026e'::uuid])
ORDER BY b."Id";

-- Query #43701 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['35daaed2-4093-bd40-a515-82d189eb026e'::uuid])
ORDER BY b."Id";

-- Query #43702 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['35daaed2-4093-bd40-a515-82d189eb026e'::uuid])
ORDER BY b."Id";

-- Query #43703 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b5b3ef4-5cbe-b0a2-e5f9-74c7aa68a99a'::uuid])
ORDER BY b."Id";

-- Query #43704 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['4b5b3ef4-5cbe-b0a2-e5f9-74c7aa68a99a'::uuid])
ORDER BY b."Id";

-- Query #43705 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['4b5b3ef4-5cbe-b0a2-e5f9-74c7aa68a99a'::uuid])
ORDER BY b."Id";

-- Query #43706 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4b5b3ef4-5cbe-b0a2-e5f9-74c7aa68a99a'::uuid])
ORDER BY b."Id";

-- Query #43707 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['4b5b3ef4-5cbe-b0a2-e5f9-74c7aa68a99a'::uuid])
ORDER BY b."Id";

-- Query #43708 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '35daaed2-4093-bd40-a515-82d189eb026e'::uuid;

-- Query #43709 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['35daaed2-4093-bd40-a515-82d189eb026e'::uuid]);

-- Query #43710 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '35daaed2-4093-bd40-a515-82d189eb026e'::uuid;

-- Query #43711 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('35daaed2-4093-bd40-a515-82d189eb026e'::uuid, 'MusicBrainzArtist', 'fc31ddde-0030-4cc3-9180-5cc4e7004fef'::uuid)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43712 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '35daaed2-4093-bd40-a515-82d189eb026e'::uuid;

-- Query #43713 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '35daaed2-4093-bd40-a515-82d189eb026e'::uuid;

-- Query #43714 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Crime', '2+Drama', '2+Mystery', '2+Suspense', '2+Thriller']);

-- Query #43715 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['35daaed2-4093-bd40-a515-82d189eb026e'::uuid]);

-- Query #43716 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '35daaed2-4093-bd40-a515-82d189eb026e'::uuid;

-- Query #43717 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY[]::text[]);

-- Query #43718 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = '*TV Themes'
ORDER BY b."SortName";

-- Query #43719 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['252b4cb6-171b-60ea-d02e-5bce9c2d8d06'::uuid])
ORDER BY b."Id";

-- Query #43720 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['252b4cb6-171b-60ea-d02e-5bce9c2d8d06'::uuid])
ORDER BY b."Id";

-- Query #43721 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['252b4cb6-171b-60ea-d02e-5bce9c2d8d06'::uuid])
ORDER BY b."Id";

-- Query #43722 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['252b4cb6-171b-60ea-d02e-5bce9c2d8d06'::uuid])
ORDER BY b."Id";

-- Query #43723 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['252b4cb6-171b-60ea-d02e-5bce9c2d8d06'::uuid])
ORDER BY b."Id";

-- Query #43724 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = '(TV) Michael Giacchino'
ORDER BY b."SortName";

-- Query #43725 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80cbf6ea-cb58-7956-fd08-e7ad41a1c0b4'::uuid])
ORDER BY b."Id";

-- Query #43726 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['80cbf6ea-cb58-7956-fd08-e7ad41a1c0b4'::uuid])
ORDER BY b."Id";

-- Query #43727 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['80cbf6ea-cb58-7956-fd08-e7ad41a1c0b4'::uuid])
ORDER BY b."Id";

-- Query #43728 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['80cbf6ea-cb58-7956-fd08-e7ad41a1c0b4'::uuid])
ORDER BY b."Id";

-- Query #43729 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['80cbf6ea-cb58-7956-fd08-e7ad41a1c0b4'::uuid])
ORDER BY b."Id";

-- Query #43730 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Fall Guy'
ORDER BY b."SortName";

-- Query #43731 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5eabd4ed-c9a5-9ce8-04f0-c2d6278bc5db'::uuid])
ORDER BY b."Id";

-- Query #43732 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5eabd4ed-c9a5-9ce8-04f0-c2d6278bc5db'::uuid])
ORDER BY b."Id";

-- Query #43733 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5eabd4ed-c9a5-9ce8-04f0-c2d6278bc5db'::uuid])
ORDER BY b."Id";

-- Query #43734 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5eabd4ed-c9a5-9ce8-04f0-c2d6278bc5db'::uuid])
ORDER BY b."Id";

-- Query #43735 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5eabd4ed-c9a5-9ce8-04f0-c2d6278bc5db'::uuid])
ORDER BY b."Id";

-- Query #43736 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'TV Theme'
ORDER BY b."SortName";

-- Query #43737 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['37979595-ce70-1959-b64b-e0b502f4c918'::uuid])
ORDER BY b."Id";

-- Query #43738 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['37979595-ce70-1959-b64b-e0b502f4c918'::uuid])
ORDER BY b."Id";

-- Query #43739 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['37979595-ce70-1959-b64b-e0b502f4c918'::uuid])
ORDER BY b."Id";

-- Query #43740 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['37979595-ce70-1959-b64b-e0b502f4c918'::uuid])
ORDER BY b."Id";

-- Query #43741 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['37979595-ce70-1959-b64b-e0b502f4c918'::uuid])
ORDER BY b."Id";

-- Query #43742 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Damon Collins'
ORDER BY b."SortName";

-- Query #43743 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a26cb421-c209-344d-4b3e-8f153cdbce22'::uuid])
ORDER BY b."Id";

-- Query #43744 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a26cb421-c209-344d-4b3e-8f153cdbce22'::uuid])
ORDER BY b."Id";

-- Query #43745 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a26cb421-c209-344d-4b3e-8f153cdbce22'::uuid])
ORDER BY b."Id";

-- Query #43746 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a26cb421-c209-344d-4b3e-8f153cdbce22'::uuid])
ORDER BY b."Id";

-- Query #43747 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a26cb421-c209-344d-4b3e-8f153cdbce22'::uuid])
ORDER BY b."Id";

-- Query #43748 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Sherlock'
ORDER BY b."SortName";

-- Query #43749 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5808b0c6-7115-d85f-6f7c-676e06f69849'::uuid])
ORDER BY b."Id";

-- Query #43750 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5808b0c6-7115-d85f-6f7c-676e06f69849'::uuid])
ORDER BY b."Id";

-- Query #43751 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5808b0c6-7115-d85f-6f7c-676e06f69849'::uuid])
ORDER BY b."Id";

-- Query #43752 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5808b0c6-7115-d85f-6f7c-676e06f69849'::uuid])
ORDER BY b."Id";

-- Query #43753 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5808b0c6-7115-d85f-6f7c-676e06f69849'::uuid])
ORDER BY b."Id";

-- Query #43754 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'ES Posthumus'
ORDER BY b."SortName";

-- Query #43755 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f174219a-9248-754d-18e6-e8384b44c7cf'::uuid])
ORDER BY b."Id";

-- Query #43756 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f174219a-9248-754d-18e6-e8384b44c7cf'::uuid])
ORDER BY b."Id";

-- Query #43757 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f174219a-9248-754d-18e6-e8384b44c7cf'::uuid])
ORDER BY b."Id";

-- Query #43758 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f174219a-9248-754d-18e6-e8384b44c7cf'::uuid])
ORDER BY b."Id";

-- Query #43759 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f174219a-9248-754d-18e6-e8384b44c7cf'::uuid])
ORDER BY b."Id";

-- Query #43760 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a71ad01-baf9-29f7-43cb-62c09c044d9c'::uuid])
ORDER BY b."Id";

-- Query #43761 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['6a71ad01-baf9-29f7-43cb-62c09c044d9c'::uuid])
ORDER BY b."Id";

-- Query #43762 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['6a71ad01-baf9-29f7-43cb-62c09c044d9c'::uuid])
ORDER BY b."Id";

-- Query #43763 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6a71ad01-baf9-29f7-43cb-62c09c044d9c'::uuid])
ORDER BY b."Id";

-- Query #43764 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['6a71ad01-baf9-29f7-43cb-62c09c044d9c'::uuid])
ORDER BY b."Id";

-- Query #43765 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f174219a-9248-754d-18e6-e8384b44c7cf'::uuid;

-- Query #43766 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f174219a-9248-754d-18e6-e8384b44c7cf'::uuid]);

-- Query #43767 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f174219a-9248-754d-18e6-e8384b44c7cf'::uuid;

-- Query #43768 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f174219a-9248-754d-18e6-e8384b44c7cf'::uuid, 'MusicBrainzArtist', '391c9402-6688-4c3d-8f3d-d320d31b4de9'::uuid)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43769 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f174219a-9248-754d-18e6-e8384b44c7cf'::uuid;

-- Query #43770 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f174219a-9248-754d-18e6-e8384b44c7cf'::uuid;

-- Query #43771 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Crime', '2+Drama', '2+Mystery', '2+Thriller']);

-- Query #43772 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f174219a-9248-754d-18e6-e8384b44c7cf'::uuid]);

-- Query #43773 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f174219a-9248-754d-18e6-e8384b44c7cf'::uuid;

-- Query #43774 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY[]::text[]);

-- Query #43775 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Thunder Cats'
ORDER BY b."SortName";

-- Query #43776 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56194f29-eb5f-3574-4b2d-b30149a8b2b3'::uuid])
ORDER BY b."Id";

-- Query #43777 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['56194f29-eb5f-3574-4b2d-b30149a8b2b3'::uuid])
ORDER BY b."Id";

-- Query #43778 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['56194f29-eb5f-3574-4b2d-b30149a8b2b3'::uuid])
ORDER BY b."Id";

-- Query #43779 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['56194f29-eb5f-3574-4b2d-b30149a8b2b3'::uuid])
ORDER BY b."Id";

-- Query #43780 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['56194f29-eb5f-3574-4b2d-b30149a8b2b3'::uuid])
ORDER BY b."Id";

-- Query #43781 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Gerald Fried & Sol Kaplan'
ORDER BY b."SortName";

-- Query #43782 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9b712c5d-82a7-24ce-73af-377636745d0f'::uuid])
ORDER BY b."Id";

-- Query #43783 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['9b712c5d-82a7-24ce-73af-377636745d0f'::uuid])
ORDER BY b."Id";

-- Query #43784 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['9b712c5d-82a7-24ce-73af-377636745d0f'::uuid])
ORDER BY b."Id";

-- Query #43785 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9b712c5d-82a7-24ce-73af-377636745d0f'::uuid])
ORDER BY b."Id";

-- Query #43786 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['9b712c5d-82a7-24ce-73af-377636745d0f'::uuid])
ORDER BY b."Id";

-- Query #43787 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Ironside'
ORDER BY b."SortName";

-- Query #43788 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9c8d7531-9ccd-7819-20dc-e71ba155e112'::uuid])
ORDER BY b."Id";

-- Query #43789 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['9c8d7531-9ccd-7819-20dc-e71ba155e112'::uuid])
ORDER BY b."Id";

-- Query #43790 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['9c8d7531-9ccd-7819-20dc-e71ba155e112'::uuid])
ORDER BY b."Id";

-- Query #43791 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9c8d7531-9ccd-7819-20dc-e71ba155e112'::uuid])
ORDER BY b."Id";

-- Query #43792 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['9c8d7531-9ccd-7819-20dc-e71ba155e112'::uuid])
ORDER BY b."Id";

-- Query #43793 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dec3b1a2-65a1-1fc4-bef0-7e0bb05ec53f'::uuid])
ORDER BY b."Id";

-- Query #43794 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['dec3b1a2-65a1-1fc4-bef0-7e0bb05ec53f'::uuid])
ORDER BY b."Id";

-- Query #43795 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['dec3b1a2-65a1-1fc4-bef0-7e0bb05ec53f'::uuid])
ORDER BY b."Id";

-- Query #43796 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dec3b1a2-65a1-1fc4-bef0-7e0bb05ec53f'::uuid])
ORDER BY b."Id";

-- Query #43797 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['dec3b1a2-65a1-1fc4-bef0-7e0bb05ec53f'::uuid])
ORDER BY b."Id";

-- Query #43798 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Danny Lux'
ORDER BY b."SortName";

-- Query #43799 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['96f56f26-74e2-703e-44c8-45f55beba993'::uuid])
ORDER BY b."Id";

-- Query #43800 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['96f56f26-74e2-703e-44c8-45f55beba993'::uuid])
ORDER BY b."Id";

-- Query #43801 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['96f56f26-74e2-703e-44c8-45f55beba993'::uuid])
ORDER BY b."Id";

-- Query #43802 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['96f56f26-74e2-703e-44c8-45f55beba993'::uuid])
ORDER BY b."Id";

-- Query #43803 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['96f56f26-74e2-703e-44c8-45f55beba993'::uuid])
ORDER BY b."Id";

-- Query #43804 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3b48f20-6eca-6a17-af19-9fc0a6ca41cc'::uuid])
ORDER BY b."Id";

-- Query #43805 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f3b48f20-6eca-6a17-af19-9fc0a6ca41cc'::uuid])
ORDER BY b."Id";

-- Query #43806 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f3b48f20-6eca-6a17-af19-9fc0a6ca41cc'::uuid])
ORDER BY b."Id";

-- Query #43807 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f3b48f20-6eca-6a17-af19-9fc0a6ca41cc'::uuid])
ORDER BY b."Id";

-- Query #43808 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f3b48f20-6eca-6a17-af19-9fc0a6ca41cc'::uuid])
ORDER BY b."Id";

-- Query #43809 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96f56f26-74e2-703e-44c8-45f55beba993'::uuid;

-- Query #43810 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['96f56f26-74e2-703e-44c8-45f55beba993'::uuid]);

-- Query #43811 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '96f56f26-74e2-703e-44c8-45f55beba993'::uuid;

-- Query #43812 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('96f56f26-74e2-703e-44c8-45f55beba993'::uuid, 'MusicBrainzArtist', 'd8888f75-f744-4612-a8d7-a5ea9d5efc1e'::uuid)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43813 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96f56f26-74e2-703e-44c8-45f55beba993'::uuid;

-- Query #43814 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '96f56f26-74e2-703e-44c8-45f55beba993'::uuid;

-- Query #43815 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Comedy', '2+Crime', '2+Drama']);

-- Query #43816 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['96f56f26-74e2-703e-44c8-45f55beba993'::uuid]);

-- Query #43817 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '96f56f26-74e2-703e-44c8-45f55beba993'::uuid;

-- Query #43818 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY[]::text[]);

-- Query #43819 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Joel McNeely'
ORDER BY b."SortName";

-- Query #43820 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0051155e-c612-0ef5-954b-4f7e992f14f6'::uuid])
ORDER BY b."Id";

-- Query #43821 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0051155e-c612-0ef5-954b-4f7e992f14f6'::uuid])
ORDER BY b."Id";

-- Query #43822 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['0051155e-c612-0ef5-954b-4f7e992f14f6'::uuid])
ORDER BY b."Id";

-- Query #43823 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0051155e-c612-0ef5-954b-4f7e992f14f6'::uuid])
ORDER BY b."Id";

-- Query #43824 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['0051155e-c612-0ef5-954b-4f7e992f14f6'::uuid])
ORDER BY b."Id";

-- Query #43825 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'John'
ORDER BY b."SortName";

-- Query #43826 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d7796cf-77e2-26e4-f0be-6e5b05f45695'::uuid])
ORDER BY b."Id";

-- Query #43827 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5d7796cf-77e2-26e4-f0be-6e5b05f45695'::uuid])
ORDER BY b."Id";

-- Query #43828 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5d7796cf-77e2-26e4-f0be-6e5b05f45695'::uuid])
ORDER BY b."Id";

-- Query #43829 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5d7796cf-77e2-26e4-f0be-6e5b05f45695'::uuid])
ORDER BY b."Id";

-- Query #43830 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5d7796cf-77e2-26e4-f0be-6e5b05f45695'::uuid])
ORDER BY b."Id";

-- Query #43831 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1f2ebb00-bc9e-c622-389e-b441ea3214ba'::uuid])
ORDER BY b."Id";

-- Query #43832 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['1f2ebb00-bc9e-c622-389e-b441ea3214ba'::uuid])
ORDER BY b."Id";

-- Query #43833 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['1f2ebb00-bc9e-c622-389e-b441ea3214ba'::uuid])
ORDER BY b."Id";

-- Query #43834 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1f2ebb00-bc9e-c622-389e-b441ea3214ba'::uuid])
ORDER BY b."Id";

-- Query #43835 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['1f2ebb00-bc9e-c622-389e-b441ea3214ba'::uuid])
ORDER BY b."Id";

-- Query #43836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d7796cf-77e2-26e4-f0be-6e5b05f45695'::uuid;

-- Query #43837 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d7796cf-77e2-26e4-f0be-6e5b05f45695'::uuid]);

-- Query #43838 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5d7796cf-77e2-26e4-f0be-6e5b05f45695'::uuid;

-- Query #43839 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('5d7796cf-77e2-26e4-f0be-6e5b05f45695'::uuid, 'MusicBrainzArtist', '53b106e7-0cc6-42cc-ac95-ed8d30a3a98e'::uuid)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43840 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d7796cf-77e2-26e4-f0be-6e5b05f45695'::uuid;

-- Query #43841 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5d7796cf-77e2-26e4-f0be-6e5b05f45695'::uuid;

-- Query #43842 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5d7796cf-77e2-26e4-f0be-6e5b05f45695'::uuid]);

-- Query #43843 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '5d7796cf-77e2-26e4-f0be-6e5b05f45695'::uuid;

-- Query #43844 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY[]::text[]);

-- Query #43845 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND b."Name" = 'Will Smith'
ORDER BY b."SortName";

-- Query #43846 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['364c6f73-b2e5-faba-efc0-e34ca5acef48'::uuid])
ORDER BY b."Id";

-- Query #43847 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['364c6f73-b2e5-faba-efc0-e34ca5acef48'::uuid])
ORDER BY b."Id";

-- Query #43848 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['364c6f73-b2e5-faba-efc0-e34ca5acef48'::uuid])
ORDER BY b."Id";

-- Query #43849 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['364c6f73-b2e5-faba-efc0-e34ca5acef48'::uuid])
ORDER BY b."Id";

-- Query #43850 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['364c6f73-b2e5-faba-efc0-e34ca5acef48'::uuid])
ORDER BY b."Id";

-- Query #43851 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['571e006a-83c0-868f-f494-bfcec2984bae'::uuid])
ORDER BY b."Id";

-- Query #43852 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['571e006a-83c0-868f-f494-bfcec2984bae'::uuid])
ORDER BY b."Id";

-- Query #43853 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['571e006a-83c0-868f-f494-bfcec2984bae'::uuid])
ORDER BY b."Id";

-- Query #43854 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['571e006a-83c0-868f-f494-bfcec2984bae'::uuid])
ORDER BY b."Id";

-- Query #43855 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['571e006a-83c0-868f-f494-bfcec2984bae'::uuid])
ORDER BY b."Id";

-- Query #43856 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '364c6f73-b2e5-faba-efc0-e34ca5acef48'::uuid;

-- Query #43857 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['364c6f73-b2e5-faba-efc0-e34ca5acef48'::uuid]);

-- Query #43858 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '364c6f73-b2e5-faba-efc0-e34ca5acef48'::uuid;

-- Query #43859 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('364c6f73-b2e5-faba-efc0-e34ca5acef48'::uuid, 'MusicBrainzArtist', '5bae7081-64ef-4473-825a-38d310deb14c'::uuid)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #43860 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '364c6f73-b2e5-faba-efc0-e34ca5acef48'::uuid;

-- Query #43861 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '364c6f73-b2e5-faba-efc0-e34ca5acef48'::uuid;

-- Query #43862 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY['2+Comedy']);

-- Query #43863 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['364c6f73-b2e5-faba-efc0-e34ca5acef48'::uuid]);

-- Query #43864 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = '364c6f73-b2e5-faba-efc0-e34ca5acef48'::uuid;

-- Query #43865 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY[]::text[]);

-- Query #43866 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1231748-4040-f385-1976-fdc2050cd23b'::uuid])
ORDER BY b."Id";

-- Query #43867 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1231748-4040-f385-1976-fdc2050cd23b'::uuid])
ORDER BY b."Id";

-- Query #43868 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c1231748-4040-f385-1976-fdc2050cd23b'::uuid])
ORDER BY b."Id";

-- Query #43869 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1231748-4040-f385-1976-fdc2050cd23b'::uuid])
ORDER BY b."Id";

-- Query #43870 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1231748-4040-f385-1976-fdc2050cd23b'::uuid])
ORDER BY b."Id";

-- Query #43871 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c1231748-4040-f385-1976-fdc2050cd23b'::uuid])
ORDER BY b."Id";

-- Query #43872 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #43873 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1d1b659-31d4-c5ea-d510-b5f44d468328'::uuid;

-- Query #43874 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e1d1b659-31d4-c5ea-d510-b5f44d468328'::uuid]);

-- Query #43875 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e1d1b659-31d4-c5ea-d510-b5f44d468328'::uuid;

-- Query #43876 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e1d1b659-31d4-c5ea-d510-b5f44d468328'::uuid;

-- Query #43877 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e1d1b659-31d4-c5ea-d510-b5f44d468328'::uuid;

-- Query #43878 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #43879 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e1d1b659-31d4-c5ea-d510-b5f44d468328'::uuid]);

-- Query #43880 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5c28ff4-8358-cd3b-fb86-3c3a684ee719'::uuid, '4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid, 'cd81279b-1404-9d19-2c81-88f8513e517b'::uuid, 'd2a97635-29b7-732a-65c5-4f78e84412c1'::uuid])
ORDER BY b."Id";

-- Query #43881 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e5c28ff4-8358-cd3b-fb86-3c3a684ee719'::uuid, '4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid, 'cd81279b-1404-9d19-2c81-88f8513e517b'::uuid, 'd2a97635-29b7-732a-65c5-4f78e84412c1'::uuid])
ORDER BY b."Id";

-- Query #43882 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e5c28ff4-8358-cd3b-fb86-3c3a684ee719'::uuid, '4cbf868e-a317-6eda-c7e0-0e82c76d3a07'::uuid, 'cd81279b-1404-9d19-2c81-88f8513e517b'::uuid, 'd2a97635-29b7-732a-65c5-4f78e84412c1'::uuid])
ORDER BY b."Id";

-- Query #43883 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5c28ff4-8358-cd3b-fb86-3c3a684ee719'::uuid, '39791b52-63ed-1027-d07f-39a1aa826d24'::uuid, '02338d63-b60a-335a-4986-ee561ded2705'::uuid, '8510d346-416e-f9f9-ad7a-8eb35a2fb0e4'::uuid])
ORDER BY b."Id";

-- Query #43884 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e5c28ff4-8358-cd3b-fb86-3c3a684ee719'::uuid, '39791b52-63ed-1027-d07f-39a1aa826d24'::uuid, '02338d63-b60a-335a-4986-ee561ded2705'::uuid, '8510d346-416e-f9f9-ad7a-8eb35a2fb0e4'::uuid])
ORDER BY b."Id";

-- Query #43885 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e5c28ff4-8358-cd3b-fb86-3c3a684ee719'::uuid, '39791b52-63ed-1027-d07f-39a1aa826d24'::uuid, '02338d63-b60a-335a-4986-ee561ded2705'::uuid, '8510d346-416e-f9f9-ad7a-8eb35a2fb0e4'::uuid])
ORDER BY b."Id";

-- Query #43886 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7e6f6b83-4496-507d-c07d-b3b9623caef4'::uuid;

-- Query #43887 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e6f6b83-4496-507d-c07d-b3b9623caef4'::uuid]);

-- Query #43888 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7e6f6b83-4496-507d-c07d-b3b9623caef4'::uuid;

-- Query #43889 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7e6f6b83-4496-507d-c07d-b3b9623caef4'::uuid;

-- Query #43890 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7e6f6b83-4496-507d-c07d-b3b9623caef4'::uuid;

-- Query #43891 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #43892 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7e6f6b83-4496-507d-c07d-b3b9623caef4'::uuid]);

-- Query #43893 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a5a97170-c826-6889-f43d-0fed91402f35'::uuid, '1f8c48c5-97a0-59b5-f018-df47dee2132a'::uuid, '1330ff40-60f8-e850-68b3-96c31c79defa'::uuid, '5db36ed4-aea4-4285-713a-6c1041a395a0'::uuid])
ORDER BY b."Id";

-- Query #43894 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a5a97170-c826-6889-f43d-0fed91402f35'::uuid, '1f8c48c5-97a0-59b5-f018-df47dee2132a'::uuid, '1330ff40-60f8-e850-68b3-96c31c79defa'::uuid, '5db36ed4-aea4-4285-713a-6c1041a395a0'::uuid])
ORDER BY b."Id";

-- Query #43895 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a5a97170-c826-6889-f43d-0fed91402f35'::uuid, '1f8c48c5-97a0-59b5-f018-df47dee2132a'::uuid, '1330ff40-60f8-e850-68b3-96c31c79defa'::uuid, '5db36ed4-aea4-4285-713a-6c1041a395a0'::uuid])
ORDER BY b."Id";

-- Query #43896 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['41c828fc-97f6-fb54-8c6e-295c42b4b441'::uuid, '9a29ac2e-274f-651f-1cec-01296df18d4d'::uuid, '0a109627-7736-827c-49bd-b629f8cf0218'::uuid, '00866b13-82c1-2af6-ccbd-eef6600eaeda'::uuid])
ORDER BY b."Id";

-- Query #43897 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['41c828fc-97f6-fb54-8c6e-295c42b4b441'::uuid, '9a29ac2e-274f-651f-1cec-01296df18d4d'::uuid, '0a109627-7736-827c-49bd-b629f8cf0218'::uuid, '00866b13-82c1-2af6-ccbd-eef6600eaeda'::uuid])
ORDER BY b."Id";

-- Query #43898 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['41c828fc-97f6-fb54-8c6e-295c42b4b441'::uuid, '9a29ac2e-274f-651f-1cec-01296df18d4d'::uuid, '0a109627-7736-827c-49bd-b629f8cf0218'::uuid, '00866b13-82c1-2af6-ccbd-eef6600eaeda'::uuid])
ORDER BY b."Id";

-- Query #43899 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b9bd9a3-edda-d02f-2b75-9b4938fdd0b8'::uuid;

-- Query #43900 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8b9bd9a3-edda-d02f-2b75-9b4938fdd0b8'::uuid]);

-- Query #43901 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8b9bd9a3-edda-d02f-2b75-9b4938fdd0b8'::uuid;

-- Query #43902 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8b9bd9a3-edda-d02f-2b75-9b4938fdd0b8'::uuid;

-- Query #43903 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8b9bd9a3-edda-d02f-2b75-9b4938fdd0b8'::uuid;

-- Query #43904 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #43905 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8b9bd9a3-edda-d02f-2b75-9b4938fdd0b8'::uuid]);

-- Query #43906 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a32a8dea-d832-2eb0-00d7-342898ebeeb0'::uuid, 'f8f3a4b5-4bda-e9b1-dbfd-e3c1e2f3671a'::uuid, '67f901ea-101b-b6b8-c865-590b9dbeff7c'::uuid, '7a429951-f1e4-1244-135f-927868cb0710'::uuid])
ORDER BY b."Id";

-- Query #43907 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a32a8dea-d832-2eb0-00d7-342898ebeeb0'::uuid, 'f8f3a4b5-4bda-e9b1-dbfd-e3c1e2f3671a'::uuid, '67f901ea-101b-b6b8-c865-590b9dbeff7c'::uuid, '7a429951-f1e4-1244-135f-927868cb0710'::uuid])
ORDER BY b."Id";

-- Query #43908 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a32a8dea-d832-2eb0-00d7-342898ebeeb0'::uuid, 'f8f3a4b5-4bda-e9b1-dbfd-e3c1e2f3671a'::uuid, '67f901ea-101b-b6b8-c865-590b9dbeff7c'::uuid, '7a429951-f1e4-1244-135f-927868cb0710'::uuid])
ORDER BY b."Id";

-- Query #43909 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['71bfa36d-776a-b40d-6761-25af2e30f9b7'::uuid, '5527616b-785c-1f49-8507-c09686a4a797'::uuid, '09944777-5db8-f239-444e-676d04071e52'::uuid, '1b7ebba3-f6e9-637b-42dd-f122ad49840c'::uuid])
ORDER BY b."Id";

-- Query #43910 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['71bfa36d-776a-b40d-6761-25af2e30f9b7'::uuid, '5527616b-785c-1f49-8507-c09686a4a797'::uuid, '09944777-5db8-f239-444e-676d04071e52'::uuid, '1b7ebba3-f6e9-637b-42dd-f122ad49840c'::uuid])
ORDER BY b."Id";

-- Query #43911 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['71bfa36d-776a-b40d-6761-25af2e30f9b7'::uuid, '5527616b-785c-1f49-8507-c09686a4a797'::uuid, '09944777-5db8-f239-444e-676d04071e52'::uuid, '1b7ebba3-f6e9-637b-42dd-f122ad49840c'::uuid])
ORDER BY b."Id";

-- Query #43912 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #43913 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a64ff36d-22e0-3d84-79fb-ac2360725aea'::uuid;

-- Query #43914 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a64ff36d-22e0-3d84-79fb-ac2360725aea'::uuid]);

-- Query #43915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a64ff36d-22e0-3d84-79fb-ac2360725aea'::uuid;

-- Query #43916 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a64ff36d-22e0-3d84-79fb-ac2360725aea'::uuid;

-- Query #43917 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a64ff36d-22e0-3d84-79fb-ac2360725aea'::uuid;

-- Query #43918 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #43919 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a64ff36d-22e0-3d84-79fb-ac2360725aea'::uuid]);

-- Query #43920 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8125a078-dde7-8db8-3844-49f16c27e8dc'::uuid, '6023c3be-79aa-d616-307e-0eb4276196e2'::uuid, 'a271c691-5dee-f9ba-88c1-b843b81370bf'::uuid, 'a27bcb40-bacc-ff90-3e91-b4436e094406'::uuid])
ORDER BY b."Id";

-- Query #43921 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8125a078-dde7-8db8-3844-49f16c27e8dc'::uuid, '6023c3be-79aa-d616-307e-0eb4276196e2'::uuid, 'a271c691-5dee-f9ba-88c1-b843b81370bf'::uuid, 'a27bcb40-bacc-ff90-3e91-b4436e094406'::uuid])
ORDER BY b."Id";

-- Query #43922 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['8125a078-dde7-8db8-3844-49f16c27e8dc'::uuid, '6023c3be-79aa-d616-307e-0eb4276196e2'::uuid, 'a271c691-5dee-f9ba-88c1-b843b81370bf'::uuid, 'a27bcb40-bacc-ff90-3e91-b4436e094406'::uuid])
ORDER BY b."Id";

-- Query #43923 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f812f03-8a46-37bc-56b7-696945fbdc34'::uuid, 'b68276f3-9896-ff9d-acc4-42adea89e121'::uuid, 'c5e100d1-85ed-9b48-1be9-dd66e33c6e05'::uuid, 'bd3c36ab-b23d-85ae-cf8d-f74420104240'::uuid])
ORDER BY b."Id";

-- Query #43924 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7f812f03-8a46-37bc-56b7-696945fbdc34'::uuid, 'b68276f3-9896-ff9d-acc4-42adea89e121'::uuid, 'c5e100d1-85ed-9b48-1be9-dd66e33c6e05'::uuid, 'bd3c36ab-b23d-85ae-cf8d-f74420104240'::uuid])
ORDER BY b."Id";

-- Query #43925 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['7f812f03-8a46-37bc-56b7-696945fbdc34'::uuid, 'b68276f3-9896-ff9d-acc4-42adea89e121'::uuid, 'c5e100d1-85ed-9b48-1be9-dd66e33c6e05'::uuid, 'bd3c36ab-b23d-85ae-cf8d-f74420104240'::uuid])
ORDER BY b."Id";

-- Query #43926 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07422922-5b72-5429-2f13-1f9f49f8dcd6'::uuid;

-- Query #43927 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07422922-5b72-5429-2f13-1f9f49f8dcd6'::uuid]);

-- Query #43928 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '07422922-5b72-5429-2f13-1f9f49f8dcd6'::uuid;

-- Query #43929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07422922-5b72-5429-2f13-1f9f49f8dcd6'::uuid;

-- Query #43930 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '07422922-5b72-5429-2f13-1f9f49f8dcd6'::uuid;

-- Query #43931 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #43932 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['07422922-5b72-5429-2f13-1f9f49f8dcd6'::uuid]);

-- Query #43933 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c2b33046-9f44-28e0-c8be-71c46fbe5551'::uuid, '7ae4e5ae-a3b1-81ec-6ccb-48105882ff65'::uuid, 'e94c3381-39cd-f6c9-3b1b-4248c2abc0bb'::uuid, '85050407-7e52-c3dd-0249-4c2700c1be3c'::uuid])
ORDER BY b."Id";

-- Query #43934 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c2b33046-9f44-28e0-c8be-71c46fbe5551'::uuid, '7ae4e5ae-a3b1-81ec-6ccb-48105882ff65'::uuid, 'e94c3381-39cd-f6c9-3b1b-4248c2abc0bb'::uuid, '85050407-7e52-c3dd-0249-4c2700c1be3c'::uuid])
ORDER BY b."Id";

-- Query #43935 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c2b33046-9f44-28e0-c8be-71c46fbe5551'::uuid, '7ae4e5ae-a3b1-81ec-6ccb-48105882ff65'::uuid, 'e94c3381-39cd-f6c9-3b1b-4248c2abc0bb'::uuid, '85050407-7e52-c3dd-0249-4c2700c1be3c'::uuid])
ORDER BY b."Id";

-- Query #43936 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c5e100d1-85ed-9b48-1be9-dd66e33c6e05'::uuid, 'a27bcb40-bacc-ff90-3e91-b4436e094406'::uuid, '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, 'e94c3381-39cd-f6c9-3b1b-4248c2abc0bb'::uuid])
ORDER BY b."Id";

-- Query #43937 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c5e100d1-85ed-9b48-1be9-dd66e33c6e05'::uuid, 'a27bcb40-bacc-ff90-3e91-b4436e094406'::uuid, '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, 'e94c3381-39cd-f6c9-3b1b-4248c2abc0bb'::uuid])
ORDER BY b."Id";

-- Query #43938 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c5e100d1-85ed-9b48-1be9-dd66e33c6e05'::uuid, 'a27bcb40-bacc-ff90-3e91-b4436e094406'::uuid, '73eb51d0-4b6a-6b4a-328a-0fc42f3c43a1'::uuid, 'e94c3381-39cd-f6c9-3b1b-4248c2abc0bb'::uuid])
ORDER BY b."Id";

-- Query #43939 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #43940 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f89b4d4d-7733-020e-d272-1d8fec37f26c'::uuid;

-- Query #43941 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f89b4d4d-7733-020e-d272-1d8fec37f26c'::uuid]);

-- Query #43942 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f89b4d4d-7733-020e-d272-1d8fec37f26c'::uuid;

-- Query #43943 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f89b4d4d-7733-020e-d272-1d8fec37f26c'::uuid;

-- Query #43944 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f89b4d4d-7733-020e-d272-1d8fec37f26c'::uuid;

-- Query #43945 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #43946 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f89b4d4d-7733-020e-d272-1d8fec37f26c'::uuid]);

-- Query #43947 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fd416db3-da7e-4508-ba90-b9eff02434ac'::uuid, '24c53014-158f-868b-3daa-80384bb09d35'::uuid])
ORDER BY b."Id";

-- Query #43948 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fd416db3-da7e-4508-ba90-b9eff02434ac'::uuid, '24c53014-158f-868b-3daa-80384bb09d35'::uuid])
ORDER BY b."Id";

-- Query #43949 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['fd416db3-da7e-4508-ba90-b9eff02434ac'::uuid, '24c53014-158f-868b-3daa-80384bb09d35'::uuid])
ORDER BY b."Id";

-- Query #43950 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24c53014-158f-868b-3daa-80384bb09d35'::uuid, 'fd416db3-da7e-4508-ba90-b9eff02434ac'::uuid])
ORDER BY b."Id";

-- Query #43951 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['24c53014-158f-868b-3daa-80384bb09d35'::uuid, 'fd416db3-da7e-4508-ba90-b9eff02434ac'::uuid])
ORDER BY b."Id";

-- Query #43952 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['24c53014-158f-868b-3daa-80384bb09d35'::uuid, 'fd416db3-da7e-4508-ba90-b9eff02434ac'::uuid])
ORDER BY b."Id";

-- Query #43953 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed1edc90-e96b-1ecd-a334-2a652ebf213b'::uuid;

-- Query #43954 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed1edc90-e96b-1ecd-a334-2a652ebf213b'::uuid]);

-- Query #43955 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ed1edc90-e96b-1ecd-a334-2a652ebf213b'::uuid;

-- Query #43956 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed1edc90-e96b-1ecd-a334-2a652ebf213b'::uuid;

-- Query #43957 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ed1edc90-e96b-1ecd-a334-2a652ebf213b'::uuid;

-- Query #43958 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #43959 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ed1edc90-e96b-1ecd-a334-2a652ebf213b'::uuid]);

-- Query #43960 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70b0c591-dfc5-a9e8-901b-f458b8103bd3'::uuid, '76abb499-58fa-e0f1-67d9-39a801784cbd'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '38f3de3c-3ec8-89df-7052-953042ff4f56'::uuid])
ORDER BY b."Id";

-- Query #43961 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['70b0c591-dfc5-a9e8-901b-f458b8103bd3'::uuid, '76abb499-58fa-e0f1-67d9-39a801784cbd'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '38f3de3c-3ec8-89df-7052-953042ff4f56'::uuid])
ORDER BY b."Id";

-- Query #43962 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['70b0c591-dfc5-a9e8-901b-f458b8103bd3'::uuid, '76abb499-58fa-e0f1-67d9-39a801784cbd'::uuid, '636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '38f3de3c-3ec8-89df-7052-953042ff4f56'::uuid])
ORDER BY b."Id";

-- Query #43963 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '20d7903e-4e42-875e-62f3-b9549890950d'::uuid, '5a272bbd-2d98-95a5-6a3d-543d847b0b2c'::uuid, 'ce6bdafa-3baa-6d63-cf28-439e437c2ef4'::uuid])
ORDER BY b."Id";

-- Query #43964 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '20d7903e-4e42-875e-62f3-b9549890950d'::uuid, '5a272bbd-2d98-95a5-6a3d-543d847b0b2c'::uuid, 'ce6bdafa-3baa-6d63-cf28-439e437c2ef4'::uuid])
ORDER BY b."Id";

-- Query #43965 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['636a53c2-047a-d3e2-0b6a-6737a3d9ba35'::uuid, '20d7903e-4e42-875e-62f3-b9549890950d'::uuid, '5a272bbd-2d98-95a5-6a3d-543d847b0b2c'::uuid, 'ce6bdafa-3baa-6d63-cf28-439e437c2ef4'::uuid])
ORDER BY b."Id";

-- Query #43966 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67e5eb8a-ce07-1e11-33a9-c1c932152adb'::uuid;

-- Query #43967 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #43968 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67e5eb8a-ce07-1e11-33a9-c1c932152adb'::uuid]);

-- Query #43969 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '67e5eb8a-ce07-1e11-33a9-c1c932152adb'::uuid;

-- Query #43970 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '67e5eb8a-ce07-1e11-33a9-c1c932152adb'::uuid;

-- Query #43971 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '67e5eb8a-ce07-1e11-33a9-c1c932152adb'::uuid;

-- Query #43972 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #43973 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['67e5eb8a-ce07-1e11-33a9-c1c932152adb'::uuid]);

-- Query #43974 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9eb5e1a-81b0-9f8e-be7a-e63b61773693'::uuid, '16340d50-a148-e719-675f-980e98452fcd'::uuid, 'dc3d7c0e-2b06-194b-9b5e-42978734f4c5'::uuid, '47bb3bf5-fd81-a066-cb2a-0959adbf7214'::uuid])
ORDER BY b."Id";

-- Query #43975 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a9eb5e1a-81b0-9f8e-be7a-e63b61773693'::uuid, '16340d50-a148-e719-675f-980e98452fcd'::uuid, 'dc3d7c0e-2b06-194b-9b5e-42978734f4c5'::uuid, '47bb3bf5-fd81-a066-cb2a-0959adbf7214'::uuid])
ORDER BY b."Id";

-- Query #43976 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a9eb5e1a-81b0-9f8e-be7a-e63b61773693'::uuid, '16340d50-a148-e719-675f-980e98452fcd'::uuid, 'dc3d7c0e-2b06-194b-9b5e-42978734f4c5'::uuid, '47bb3bf5-fd81-a066-cb2a-0959adbf7214'::uuid])
ORDER BY b."Id";

-- Query #43977 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef70ca34-812b-5129-1089-07f17f530fe5'::uuid, '18f60b36-7fdd-fea9-ef34-e251943bb6a9'::uuid, '314a97fe-3d51-428e-7826-58af412d88bc'::uuid, '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid])
ORDER BY b."Id";

-- Query #43978 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ef70ca34-812b-5129-1089-07f17f530fe5'::uuid, '18f60b36-7fdd-fea9-ef34-e251943bb6a9'::uuid, '314a97fe-3d51-428e-7826-58af412d88bc'::uuid, '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid])
ORDER BY b."Id";

-- Query #43979 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['ef70ca34-812b-5129-1089-07f17f530fe5'::uuid, '18f60b36-7fdd-fea9-ef34-e251943bb6a9'::uuid, '314a97fe-3d51-428e-7826-58af412d88bc'::uuid, '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid])
ORDER BY b."Id";

-- Query #43980 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '818912eb-a0fc-399e-496b-109d438effe9'::uuid;

-- Query #43981 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['818912eb-a0fc-399e-496b-109d438effe9'::uuid]);

-- Query #43982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '818912eb-a0fc-399e-496b-109d438effe9'::uuid;

-- Query #43983 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '818912eb-a0fc-399e-496b-109d438effe9'::uuid;

-- Query #43984 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '818912eb-a0fc-399e-496b-109d438effe9'::uuid;

-- Query #43985 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #43986 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['818912eb-a0fc-399e-496b-109d438effe9'::uuid]);

-- Query #43987 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ed18a59-7990-313f-50f0-9818b6c7a306'::uuid, '5a2688bd-f265-9bf2-f1a9-3e95ccfa7a83'::uuid, '314a97fe-3d51-428e-7826-58af412d88bc'::uuid, '39791b52-63ed-1027-d07f-39a1aa826d24'::uuid])
ORDER BY b."Id";

-- Query #43988 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4ed18a59-7990-313f-50f0-9818b6c7a306'::uuid, '5a2688bd-f265-9bf2-f1a9-3e95ccfa7a83'::uuid, '314a97fe-3d51-428e-7826-58af412d88bc'::uuid, '39791b52-63ed-1027-d07f-39a1aa826d24'::uuid])
ORDER BY b."Id";

-- Query #43989 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['4ed18a59-7990-313f-50f0-9818b6c7a306'::uuid, '5a2688bd-f265-9bf2-f1a9-3e95ccfa7a83'::uuid, '314a97fe-3d51-428e-7826-58af412d88bc'::uuid, '39791b52-63ed-1027-d07f-39a1aa826d24'::uuid])
ORDER BY b."Id";

-- Query #43990 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8209a38-f6ad-6fc1-151f-2d1943a01790'::uuid, '4ed18a59-7990-313f-50f0-9818b6c7a306'::uuid, '314a97fe-3d51-428e-7826-58af412d88bc'::uuid, '39791b52-63ed-1027-d07f-39a1aa826d24'::uuid])
ORDER BY b."Id";

-- Query #43991 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a8209a38-f6ad-6fc1-151f-2d1943a01790'::uuid, '4ed18a59-7990-313f-50f0-9818b6c7a306'::uuid, '314a97fe-3d51-428e-7826-58af412d88bc'::uuid, '39791b52-63ed-1027-d07f-39a1aa826d24'::uuid])
ORDER BY b."Id";

-- Query #43992 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a8209a38-f6ad-6fc1-151f-2d1943a01790'::uuid, '4ed18a59-7990-313f-50f0-9818b6c7a306'::uuid, '314a97fe-3d51-428e-7826-58af412d88bc'::uuid, '39791b52-63ed-1027-d07f-39a1aa826d24'::uuid])
ORDER BY b."Id";

-- Query #43993 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '38d1d324-295e-7b98-8961-84f04eabec7f'::uuid;

-- Query #43994 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38d1d324-295e-7b98-8961-84f04eabec7f'::uuid]);

-- Query #43995 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '38d1d324-295e-7b98-8961-84f04eabec7f'::uuid;

-- Query #43996 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '38d1d324-295e-7b98-8961-84f04eabec7f'::uuid;

-- Query #43997 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '38d1d324-295e-7b98-8961-84f04eabec7f'::uuid;

-- Query #43998 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #43999 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['38d1d324-295e-7b98-8961-84f04eabec7f'::uuid]);

-- Query #44000 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95017bda-a22b-3269-68f5-b857ebca838e'::uuid])
ORDER BY b."Id";

-- Query #44001 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['95017bda-a22b-3269-68f5-b857ebca838e'::uuid])
ORDER BY b."Id";

-- Query #44002 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['95017bda-a22b-3269-68f5-b857ebca838e'::uuid])
ORDER BY b."Id";

-- Query #44003 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95017bda-a22b-3269-68f5-b857ebca838e'::uuid])
ORDER BY b."Id";

-- Query #44004 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['95017bda-a22b-3269-68f5-b857ebca838e'::uuid])
ORDER BY b."Id";

-- Query #44005 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['95017bda-a22b-3269-68f5-b857ebca838e'::uuid])
ORDER BY b."Id";

-- Query #44006 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c61038bf-b211-86cc-17bb-f9f6b4bd2fa9'::uuid;

-- Query #44007 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #44008 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c61038bf-b211-86cc-17bb-f9f6b4bd2fa9'::uuid]);

-- Query #44009 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c61038bf-b211-86cc-17bb-f9f6b4bd2fa9'::uuid;

-- Query #44010 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c61038bf-b211-86cc-17bb-f9f6b4bd2fa9'::uuid;

-- Query #44011 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c61038bf-b211-86cc-17bb-f9f6b4bd2fa9'::uuid;

-- Query #44012 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44013 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c61038bf-b211-86cc-17bb-f9f6b4bd2fa9'::uuid]);

-- Query #44014 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3310a5c6-ba53-d9b4-7f67-4ff0a734ab6c'::uuid, 'f057a97e-3741-78ef-7166-df5211a201d5'::uuid, '2d3993eb-131a-8ac2-e638-1bcfa3562121'::uuid, '2da63f2c-5a9d-fa9e-b133-8be64cb50ffd'::uuid])
ORDER BY b."Id";

-- Query #44015 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3310a5c6-ba53-d9b4-7f67-4ff0a734ab6c'::uuid, 'f057a97e-3741-78ef-7166-df5211a201d5'::uuid, '2d3993eb-131a-8ac2-e638-1bcfa3562121'::uuid, '2da63f2c-5a9d-fa9e-b133-8be64cb50ffd'::uuid])
ORDER BY b."Id";

-- Query #44016 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['3310a5c6-ba53-d9b4-7f67-4ff0a734ab6c'::uuid, 'f057a97e-3741-78ef-7166-df5211a201d5'::uuid, '2d3993eb-131a-8ac2-e638-1bcfa3562121'::uuid, '2da63f2c-5a9d-fa9e-b133-8be64cb50ffd'::uuid])
ORDER BY b."Id";

-- Query #44017 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b69671b-658c-afdf-565c-cb25b70d1cb1'::uuid, '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid, '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid, '7e73b6e6-6071-d8ad-040e-39b0f76955df'::uuid])
ORDER BY b."Id";

-- Query #44018 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5b69671b-658c-afdf-565c-cb25b70d1cb1'::uuid, '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid, '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid, '7e73b6e6-6071-d8ad-040e-39b0f76955df'::uuid])
ORDER BY b."Id";

-- Query #44019 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5b69671b-658c-afdf-565c-cb25b70d1cb1'::uuid, '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid, '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid, '7e73b6e6-6071-d8ad-040e-39b0f76955df'::uuid])
ORDER BY b."Id";

-- Query #44020 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a30dcc65-be22-eb3c-21c0-3f7c1c7a57d1'::uuid;

-- Query #44021 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a30dcc65-be22-eb3c-21c0-3f7c1c7a57d1'::uuid]);

-- Query #44022 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a30dcc65-be22-eb3c-21c0-3f7c1c7a57d1'::uuid;

-- Query #44023 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a30dcc65-be22-eb3c-21c0-3f7c1c7a57d1'::uuid;

-- Query #44024 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a30dcc65-be22-eb3c-21c0-3f7c1c7a57d1'::uuid;

-- Query #44025 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44026 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a30dcc65-be22-eb3c-21c0-3f7c1c7a57d1'::uuid]);

-- Query #44027 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e81fefeb-9a1d-548a-67e9-dfe837512296'::uuid, '16a3a2de-15db-9791-ad5c-0b4155cd0f11'::uuid, '84f4156e-0495-840a-fdd4-844bf91fba18'::uuid])
ORDER BY b."Id";

-- Query #44028 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e81fefeb-9a1d-548a-67e9-dfe837512296'::uuid, '16a3a2de-15db-9791-ad5c-0b4155cd0f11'::uuid, '84f4156e-0495-840a-fdd4-844bf91fba18'::uuid])
ORDER BY b."Id";

-- Query #44029 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e81fefeb-9a1d-548a-67e9-dfe837512296'::uuid, '16a3a2de-15db-9791-ad5c-0b4155cd0f11'::uuid, '84f4156e-0495-840a-fdd4-844bf91fba18'::uuid])
ORDER BY b."Id";

-- Query #44030 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e81fefeb-9a1d-548a-67e9-dfe837512296'::uuid, '16a3a2de-15db-9791-ad5c-0b4155cd0f11'::uuid, '84f4156e-0495-840a-fdd4-844bf91fba18'::uuid])
ORDER BY b."Id";

-- Query #44031 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e81fefeb-9a1d-548a-67e9-dfe837512296'::uuid, '16a3a2de-15db-9791-ad5c-0b4155cd0f11'::uuid, '84f4156e-0495-840a-fdd4-844bf91fba18'::uuid])
ORDER BY b."Id";

-- Query #44032 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e81fefeb-9a1d-548a-67e9-dfe837512296'::uuid, '16a3a2de-15db-9791-ad5c-0b4155cd0f11'::uuid, '84f4156e-0495-840a-fdd4-844bf91fba18'::uuid])
ORDER BY b."Id";

-- Query #44033 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3d621c0b-6dc1-921b-c93f-a859f7512270'::uuid;

-- Query #44034 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d621c0b-6dc1-921b-c93f-a859f7512270'::uuid]);

-- Query #44035 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3d621c0b-6dc1-921b-c93f-a859f7512270'::uuid;

-- Query #44036 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3d621c0b-6dc1-921b-c93f-a859f7512270'::uuid;

-- Query #44037 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3d621c0b-6dc1-921b-c93f-a859f7512270'::uuid;

-- Query #44038 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44039 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3d621c0b-6dc1-921b-c93f-a859f7512270'::uuid]);

-- Query #44040 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e914d1a7-61a8-8c09-5214-0a2827aa528c'::uuid, '6175fe2c-2973-93a4-b25b-6972e25b6593'::uuid, 'ff271351-6610-8d6f-6ce4-aa355f15b962'::uuid, '69aea97f-8b9d-ddb5-655d-95e11bc4a5d9'::uuid])
ORDER BY b."Id";

-- Query #44041 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e914d1a7-61a8-8c09-5214-0a2827aa528c'::uuid, '6175fe2c-2973-93a4-b25b-6972e25b6593'::uuid, 'ff271351-6610-8d6f-6ce4-aa355f15b962'::uuid, '69aea97f-8b9d-ddb5-655d-95e11bc4a5d9'::uuid])
ORDER BY b."Id";

-- Query #44042 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e914d1a7-61a8-8c09-5214-0a2827aa528c'::uuid, '6175fe2c-2973-93a4-b25b-6972e25b6593'::uuid, 'ff271351-6610-8d6f-6ce4-aa355f15b962'::uuid, '69aea97f-8b9d-ddb5-655d-95e11bc4a5d9'::uuid])
ORDER BY b."Id";

-- Query #44043 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b9f46e2f-56bc-f0b4-3502-0ba10fffa44f'::uuid, 'a11ff951-d0a9-6102-220d-a6d1f45d6f5c'::uuid, '034bfb69-2eaf-396a-e776-5377c8b35484'::uuid, '43f5c11b-bd7d-cbc0-9e08-2d04c4dc1da5'::uuid])
ORDER BY b."Id";

-- Query #44044 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b9f46e2f-56bc-f0b4-3502-0ba10fffa44f'::uuid, 'a11ff951-d0a9-6102-220d-a6d1f45d6f5c'::uuid, '034bfb69-2eaf-396a-e776-5377c8b35484'::uuid, '43f5c11b-bd7d-cbc0-9e08-2d04c4dc1da5'::uuid])
ORDER BY b."Id";

-- Query #44045 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['b9f46e2f-56bc-f0b4-3502-0ba10fffa44f'::uuid, 'a11ff951-d0a9-6102-220d-a6d1f45d6f5c'::uuid, '034bfb69-2eaf-396a-e776-5377c8b35484'::uuid, '43f5c11b-bd7d-cbc0-9e08-2d04c4dc1da5'::uuid])
ORDER BY b."Id";

-- Query #44046 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #44047 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce06903d-834d-2c34-17e0-889dd4049f3b'::uuid;

-- Query #44048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce06903d-834d-2c34-17e0-889dd4049f3b'::uuid]);

-- Query #44049 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ce06903d-834d-2c34-17e0-889dd4049f3b'::uuid;

-- Query #44050 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ce06903d-834d-2c34-17e0-889dd4049f3b'::uuid;

-- Query #44051 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ce06903d-834d-2c34-17e0-889dd4049f3b'::uuid;

-- Query #44052 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44053 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ce06903d-834d-2c34-17e0-889dd4049f3b'::uuid]);

-- Query #44054 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['baf8dc26-e427-79bd-8e0a-7a1f4e8c31cf'::uuid])
ORDER BY b."Id";

-- Query #44055 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['baf8dc26-e427-79bd-8e0a-7a1f4e8c31cf'::uuid])
ORDER BY b."Id";

-- Query #44056 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['baf8dc26-e427-79bd-8e0a-7a1f4e8c31cf'::uuid])
ORDER BY b."Id";

-- Query #44057 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['baf8dc26-e427-79bd-8e0a-7a1f4e8c31cf'::uuid])
ORDER BY b."Id";

-- Query #44058 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['baf8dc26-e427-79bd-8e0a-7a1f4e8c31cf'::uuid])
ORDER BY b."Id";

-- Query #44059 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['baf8dc26-e427-79bd-8e0a-7a1f4e8c31cf'::uuid])
ORDER BY b."Id";

-- Query #44060 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a8231f0-f909-6d5a-adc3-fbed23bc12ab'::uuid;

-- Query #44061 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7a8231f0-f909-6d5a-adc3-fbed23bc12ab'::uuid]);

-- Query #44062 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7a8231f0-f909-6d5a-adc3-fbed23bc12ab'::uuid;

-- Query #44063 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7a8231f0-f909-6d5a-adc3-fbed23bc12ab'::uuid;

-- Query #44064 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7a8231f0-f909-6d5a-adc3-fbed23bc12ab'::uuid;

-- Query #44065 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44066 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7a8231f0-f909-6d5a-adc3-fbed23bc12ab'::uuid]);

-- Query #44067 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['874e6810-a565-53a4-73fe-59d2e371d771'::uuid, '3b017562-228d-93f8-7bc2-437c694873fd'::uuid, '270ab425-ced8-f258-ab90-6ba7778885e0'::uuid, 'ce338b70-2410-8ce0-aa6d-7405fa28ce1e'::uuid])
ORDER BY b."Id";

-- Query #44068 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['874e6810-a565-53a4-73fe-59d2e371d771'::uuid, '3b017562-228d-93f8-7bc2-437c694873fd'::uuid, '270ab425-ced8-f258-ab90-6ba7778885e0'::uuid, 'ce338b70-2410-8ce0-aa6d-7405fa28ce1e'::uuid])
ORDER BY b."Id";

-- Query #44069 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['874e6810-a565-53a4-73fe-59d2e371d771'::uuid, '3b017562-228d-93f8-7bc2-437c694873fd'::uuid, '270ab425-ced8-f258-ab90-6ba7778885e0'::uuid, 'ce338b70-2410-8ce0-aa6d-7405fa28ce1e'::uuid])
ORDER BY b."Id";

-- Query #44070 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f2a558c-75c8-22d6-7f5b-a6905514dcd8'::uuid, '9941016e-325b-a87d-9744-6be2c6569b2d'::uuid, '173a9fd6-cd0b-28c4-93ef-8067fe296c35'::uuid, 'a22b6527-2a32-de05-4a0a-1d28b0a3d72e'::uuid])
ORDER BY b."Id";

-- Query #44071 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9f2a558c-75c8-22d6-7f5b-a6905514dcd8'::uuid, '9941016e-325b-a87d-9744-6be2c6569b2d'::uuid, '173a9fd6-cd0b-28c4-93ef-8067fe296c35'::uuid, 'a22b6527-2a32-de05-4a0a-1d28b0a3d72e'::uuid])
ORDER BY b."Id";

-- Query #44072 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['9f2a558c-75c8-22d6-7f5b-a6905514dcd8'::uuid, '9941016e-325b-a87d-9744-6be2c6569b2d'::uuid, '173a9fd6-cd0b-28c4-93ef-8067fe296c35'::uuid, 'a22b6527-2a32-de05-4a0a-1d28b0a3d72e'::uuid])
ORDER BY b."Id";

-- Query #44073 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4936f5b1-a6f8-4f0b-0aa2-657368a5b364'::uuid;

-- Query #44074 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4936f5b1-a6f8-4f0b-0aa2-657368a5b364'::uuid]);

-- Query #44075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4936f5b1-a6f8-4f0b-0aa2-657368a5b364'::uuid;

-- Query #44076 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4936f5b1-a6f8-4f0b-0aa2-657368a5b364'::uuid;

-- Query #44077 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4936f5b1-a6f8-4f0b-0aa2-657368a5b364'::uuid;

-- Query #44078 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #44079 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44080 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4936f5b1-a6f8-4f0b-0aa2-657368a5b364'::uuid]);

-- Query #44081 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['697887f2-8ff9-5cf7-8f34-2f08ad53d641'::uuid, '6e5748e5-f5a3-0e08-1a67-daf5e0998845'::uuid, 'd404c64d-3882-10e8-1917-7133e5455c81'::uuid, 'bc5b5d10-1817-560a-3af5-89e5ca4d555b'::uuid])
ORDER BY b."Id";

-- Query #44082 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['697887f2-8ff9-5cf7-8f34-2f08ad53d641'::uuid, '6e5748e5-f5a3-0e08-1a67-daf5e0998845'::uuid, 'd404c64d-3882-10e8-1917-7133e5455c81'::uuid, 'bc5b5d10-1817-560a-3af5-89e5ca4d555b'::uuid])
ORDER BY b."Id";

-- Query #44083 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['697887f2-8ff9-5cf7-8f34-2f08ad53d641'::uuid, '6e5748e5-f5a3-0e08-1a67-daf5e0998845'::uuid, 'd404c64d-3882-10e8-1917-7133e5455c81'::uuid, 'bc5b5d10-1817-560a-3af5-89e5ca4d555b'::uuid])
ORDER BY b."Id";

-- Query #44084 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['645a7b67-1872-7661-ca25-7d5e31b63e78'::uuid, '806b92d5-0c89-90ff-933b-c0b74e0da60c'::uuid, '75398084-4805-abf8-e709-7f7f0fc06f2b'::uuid, '4ae50bbe-0970-3f62-ff98-3b4c7c8acfe0'::uuid])
ORDER BY b."Id";

-- Query #44085 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['645a7b67-1872-7661-ca25-7d5e31b63e78'::uuid, '806b92d5-0c89-90ff-933b-c0b74e0da60c'::uuid, '75398084-4805-abf8-e709-7f7f0fc06f2b'::uuid, '4ae50bbe-0970-3f62-ff98-3b4c7c8acfe0'::uuid])
ORDER BY b."Id";

-- Query #44086 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['645a7b67-1872-7661-ca25-7d5e31b63e78'::uuid, '806b92d5-0c89-90ff-933b-c0b74e0da60c'::uuid, '75398084-4805-abf8-e709-7f7f0fc06f2b'::uuid, '4ae50bbe-0970-3f62-ff98-3b4c7c8acfe0'::uuid])
ORDER BY b."Id";

-- Query #44087 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ffc72e1-9987-e5fa-4047-c6a6870646cf'::uuid;

-- Query #44088 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ffc72e1-9987-e5fa-4047-c6a6870646cf'::uuid]);

-- Query #44089 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1ffc72e1-9987-e5fa-4047-c6a6870646cf'::uuid;

-- Query #44090 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1ffc72e1-9987-e5fa-4047-c6a6870646cf'::uuid;

-- Query #44091 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1ffc72e1-9987-e5fa-4047-c6a6870646cf'::uuid;

-- Query #44092 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44093 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1ffc72e1-9987-e5fa-4047-c6a6870646cf'::uuid]);

-- Query #44094 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6429f9a4-3413-0282-2485-688b4391581a'::uuid, '38558414-7881-5010-f0a0-c76b3b2e804f'::uuid, '3b59e38a-ece2-8076-e6c5-3bfeff404cf2'::uuid, '0187d0b1-3a72-5f05-f134-368ea10fcd46'::uuid])
ORDER BY b."Id";

-- Query #44095 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6429f9a4-3413-0282-2485-688b4391581a'::uuid, '38558414-7881-5010-f0a0-c76b3b2e804f'::uuid, '3b59e38a-ece2-8076-e6c5-3bfeff404cf2'::uuid, '0187d0b1-3a72-5f05-f134-368ea10fcd46'::uuid])
ORDER BY b."Id";

-- Query #44096 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['6429f9a4-3413-0282-2485-688b4391581a'::uuid, '38558414-7881-5010-f0a0-c76b3b2e804f'::uuid, '3b59e38a-ece2-8076-e6c5-3bfeff404cf2'::uuid, '0187d0b1-3a72-5f05-f134-368ea10fcd46'::uuid])
ORDER BY b."Id";

-- Query #44097 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3f14b9fd-f609-eedd-8a69-9fc96b4748d3'::uuid, '6429f9a4-3413-0282-2485-688b4391581a'::uuid, '3b59e38a-ece2-8076-e6c5-3bfeff404cf2'::uuid, '3d8590da-99cb-7b0d-aa38-0d6cd43184c5'::uuid])
ORDER BY b."Id";

-- Query #44098 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3f14b9fd-f609-eedd-8a69-9fc96b4748d3'::uuid, '6429f9a4-3413-0282-2485-688b4391581a'::uuid, '3b59e38a-ece2-8076-e6c5-3bfeff404cf2'::uuid, '3d8590da-99cb-7b0d-aa38-0d6cd43184c5'::uuid])
ORDER BY b."Id";

-- Query #44099 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['3f14b9fd-f609-eedd-8a69-9fc96b4748d3'::uuid, '6429f9a4-3413-0282-2485-688b4391581a'::uuid, '3b59e38a-ece2-8076-e6c5-3bfeff404cf2'::uuid, '3d8590da-99cb-7b0d-aa38-0d6cd43184c5'::uuid])
ORDER BY b."Id";

-- Query #44100 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0944f20f-a5a2-277e-6d8b-7d799050e160'::uuid;

-- Query #44101 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0944f20f-a5a2-277e-6d8b-7d799050e160'::uuid]);

-- Query #44102 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0944f20f-a5a2-277e-6d8b-7d799050e160'::uuid;

-- Query #44103 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0944f20f-a5a2-277e-6d8b-7d799050e160'::uuid;

-- Query #44104 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0944f20f-a5a2-277e-6d8b-7d799050e160'::uuid;

-- Query #44105 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44106 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0944f20f-a5a2-277e-6d8b-7d799050e160'::uuid]);

-- Query #44107 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fd416db3-da7e-4508-ba90-b9eff02434ac'::uuid, 'a7843305-e754-11fd-51bc-4259da16d457'::uuid])
ORDER BY b."Id";

-- Query #44108 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fd416db3-da7e-4508-ba90-b9eff02434ac'::uuid, 'a7843305-e754-11fd-51bc-4259da16d457'::uuid])
ORDER BY b."Id";

-- Query #44109 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['fd416db3-da7e-4508-ba90-b9eff02434ac'::uuid, 'a7843305-e754-11fd-51bc-4259da16d457'::uuid])
ORDER BY b."Id";

-- Query #44110 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fd416db3-da7e-4508-ba90-b9eff02434ac'::uuid, 'a7843305-e754-11fd-51bc-4259da16d457'::uuid])
ORDER BY b."Id";

-- Query #44111 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fd416db3-da7e-4508-ba90-b9eff02434ac'::uuid, 'a7843305-e754-11fd-51bc-4259da16d457'::uuid])
ORDER BY b."Id";

-- Query #44112 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['fd416db3-da7e-4508-ba90-b9eff02434ac'::uuid, 'a7843305-e754-11fd-51bc-4259da16d457'::uuid])
ORDER BY b."Id";

-- Query #44113 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '904fb73e-4dd0-58f3-734c-c0174af6f11e'::uuid;

-- Query #44114 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['904fb73e-4dd0-58f3-734c-c0174af6f11e'::uuid]);

-- Query #44115 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '904fb73e-4dd0-58f3-734c-c0174af6f11e'::uuid;

-- Query #44116 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '904fb73e-4dd0-58f3-734c-c0174af6f11e'::uuid;

-- Query #44117 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '904fb73e-4dd0-58f3-734c-c0174af6f11e'::uuid;

-- Query #44118 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44119 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['904fb73e-4dd0-58f3-734c-c0174af6f11e'::uuid]);

-- Query #44120 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a3d87567-d8f8-d682-b926-13531d62fb82'::uuid])
ORDER BY b."Id";

-- Query #44121 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a3d87567-d8f8-d682-b926-13531d62fb82'::uuid])
ORDER BY b."Id";

-- Query #44122 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a3d87567-d8f8-d682-b926-13531d62fb82'::uuid])
ORDER BY b."Id";

-- Query #44123 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a3d87567-d8f8-d682-b926-13531d62fb82'::uuid])
ORDER BY b."Id";

-- Query #44124 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a3d87567-d8f8-d682-b926-13531d62fb82'::uuid])
ORDER BY b."Id";

-- Query #44125 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a3d87567-d8f8-d682-b926-13531d62fb82'::uuid])
ORDER BY b."Id";

-- Query #44126 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #44127 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd7c48af0-e8a1-d29a-51c0-a52e3b28d407'::uuid;

-- Query #44128 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d7c48af0-e8a1-d29a-51c0-a52e3b28d407'::uuid]);

-- Query #44129 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd7c48af0-e8a1-d29a-51c0-a52e3b28d407'::uuid;

-- Query #44130 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd7c48af0-e8a1-d29a-51c0-a52e3b28d407'::uuid;

-- Query #44131 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd7c48af0-e8a1-d29a-51c0-a52e3b28d407'::uuid;

-- Query #44132 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44133 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d7c48af0-e8a1-d29a-51c0-a52e3b28d407'::uuid]);

-- Query #44134 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bde4bfbb-451b-3e85-68f8-da828710d848'::uuid, '17d4eb17-f7ab-e65c-54c0-cd58bf12a384'::uuid, 'dc3d7c0e-2b06-194b-9b5e-42978734f4c5'::uuid, '8a48c2e2-cd46-4427-3654-49c495365642'::uuid])
ORDER BY b."Id";

-- Query #44135 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bde4bfbb-451b-3e85-68f8-da828710d848'::uuid, '17d4eb17-f7ab-e65c-54c0-cd58bf12a384'::uuid, 'dc3d7c0e-2b06-194b-9b5e-42978734f4c5'::uuid, '8a48c2e2-cd46-4427-3654-49c495365642'::uuid])
ORDER BY b."Id";

-- Query #44136 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['bde4bfbb-451b-3e85-68f8-da828710d848'::uuid, '17d4eb17-f7ab-e65c-54c0-cd58bf12a384'::uuid, 'dc3d7c0e-2b06-194b-9b5e-42978734f4c5'::uuid, '8a48c2e2-cd46-4427-3654-49c495365642'::uuid])
ORDER BY b."Id";

-- Query #44137 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bde4bfbb-451b-3e85-68f8-da828710d848'::uuid, '8a48c2e2-cd46-4427-3654-49c495365642'::uuid, 'dc3d7c0e-2b06-194b-9b5e-42978734f4c5'::uuid, 'fc243142-9081-4d39-f689-1dbfc86fc30c'::uuid])
ORDER BY b."Id";

-- Query #44138 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bde4bfbb-451b-3e85-68f8-da828710d848'::uuid, '8a48c2e2-cd46-4427-3654-49c495365642'::uuid, 'dc3d7c0e-2b06-194b-9b5e-42978734f4c5'::uuid, 'fc243142-9081-4d39-f689-1dbfc86fc30c'::uuid])
ORDER BY b."Id";

-- Query #44139 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['bde4bfbb-451b-3e85-68f8-da828710d848'::uuid, '8a48c2e2-cd46-4427-3654-49c495365642'::uuid, 'dc3d7c0e-2b06-194b-9b5e-42978734f4c5'::uuid, 'fc243142-9081-4d39-f689-1dbfc86fc30c'::uuid])
ORDER BY b."Id";

-- Query #44140 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '53d0837f-8695-1fc1-d6b4-7876152ed79e'::uuid;

-- Query #44141 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['53d0837f-8695-1fc1-d6b4-7876152ed79e'::uuid]);

-- Query #44142 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '53d0837f-8695-1fc1-d6b4-7876152ed79e'::uuid;

-- Query #44143 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '53d0837f-8695-1fc1-d6b4-7876152ed79e'::uuid;

-- Query #44144 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '53d0837f-8695-1fc1-d6b4-7876152ed79e'::uuid;

-- Query #44145 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44146 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['53d0837f-8695-1fc1-d6b4-7876152ed79e'::uuid]);

-- Query #44147 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e24756f3-8b3d-0f4d-d514-ef4f09655097'::uuid, '29d0904e-ddbd-ebe7-ac4a-5b2138b26333'::uuid, 'e79f3f35-93df-38c7-840d-9ab950ad9946'::uuid, '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid])
ORDER BY b."Id";

-- Query #44148 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e24756f3-8b3d-0f4d-d514-ef4f09655097'::uuid, '29d0904e-ddbd-ebe7-ac4a-5b2138b26333'::uuid, 'e79f3f35-93df-38c7-840d-9ab950ad9946'::uuid, '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid])
ORDER BY b."Id";

-- Query #44149 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e24756f3-8b3d-0f4d-d514-ef4f09655097'::uuid, '29d0904e-ddbd-ebe7-ac4a-5b2138b26333'::uuid, 'e79f3f35-93df-38c7-840d-9ab950ad9946'::uuid, '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid])
ORDER BY b."Id";

-- Query #44150 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68d0e099-9508-8390-4e85-e6366a254fa0'::uuid, '0c24dc0c-d467-6855-478c-0c073807608e'::uuid, '108f63bb-0969-cff9-0c7e-56b0a7d085cd'::uuid, '20d7903e-4e42-875e-62f3-b9549890950d'::uuid])
ORDER BY b."Id";

-- Query #44151 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['68d0e099-9508-8390-4e85-e6366a254fa0'::uuid, '0c24dc0c-d467-6855-478c-0c073807608e'::uuid, '108f63bb-0969-cff9-0c7e-56b0a7d085cd'::uuid, '20d7903e-4e42-875e-62f3-b9549890950d'::uuid])
ORDER BY b."Id";

-- Query #44152 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['68d0e099-9508-8390-4e85-e6366a254fa0'::uuid, '0c24dc0c-d467-6855-478c-0c073807608e'::uuid, '108f63bb-0969-cff9-0c7e-56b0a7d085cd'::uuid, '20d7903e-4e42-875e-62f3-b9549890950d'::uuid])
ORDER BY b."Id";

-- Query #44153 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #44154 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0430d514-c35e-1f15-8fa9-3f1eeb8361ea'::uuid;

-- Query #44155 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0430d514-c35e-1f15-8fa9-3f1eeb8361ea'::uuid]);

-- Query #44156 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0430d514-c35e-1f15-8fa9-3f1eeb8361ea'::uuid;

-- Query #44157 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0430d514-c35e-1f15-8fa9-3f1eeb8361ea'::uuid;

-- Query #44158 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0430d514-c35e-1f15-8fa9-3f1eeb8361ea'::uuid;

-- Query #44159 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44160 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0430d514-c35e-1f15-8fa9-3f1eeb8361ea'::uuid]);

-- Query #44161 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08027e2-7a20-9e44-e5d3-6a8b80ff77d6'::uuid, '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886'::uuid, 'd9614f5d-bad2-c3df-1504-0d158aba605a'::uuid])
ORDER BY b."Id";

-- Query #44162 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['b08027e2-7a20-9e44-e5d3-6a8b80ff77d6'::uuid, '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886'::uuid, 'd9614f5d-bad2-c3df-1504-0d158aba605a'::uuid])
ORDER BY b."Id";

-- Query #44163 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['b08027e2-7a20-9e44-e5d3-6a8b80ff77d6'::uuid, '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886'::uuid, 'd9614f5d-bad2-c3df-1504-0d158aba605a'::uuid])
ORDER BY b."Id";

-- Query #44164 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b08027e2-7a20-9e44-e5d3-6a8b80ff77d6'::uuid, '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886'::uuid, 'd9614f5d-bad2-c3df-1504-0d158aba605a'::uuid])
ORDER BY b."Id";

-- Query #44165 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['b08027e2-7a20-9e44-e5d3-6a8b80ff77d6'::uuid, '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886'::uuid, 'd9614f5d-bad2-c3df-1504-0d158aba605a'::uuid])
ORDER BY b."Id";

-- Query #44166 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44167 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "RetentionDate" = '2026-03-14T22:26:45.6274548Z',
ItemId" = '00000000-0000-0000-0000-000000000001'::uuid
WHERE u."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44168 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44169 | logged_duration_ms=14 | timeout_s=30
DELETE FROM library."AncestorIds" AS a
WHERE a."ParentItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44170 | logged_duration_ms=2 | timeout_s=30
DELETE FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44171 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44173 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44174 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemTrailerTypes" AS b
WHERE b."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44175 | logged_duration_ms=16 | timeout_s=30
DELETE FROM library."BaseItems" AS b
WHERE b."Id" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44176 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."Chapters" AS c
WHERE c."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44177 | logged_duration_ms=2 | timeout_s=30
DELETE FROM displaypreferences."CustomItemDisplayPreferences" AS c
WHERE c."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44178 | logged_duration_ms=1 | timeout_s=30
DELETE FROM displaypreferences."ItemDisplayPreferences" AS i
WHERE i."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44179 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44180 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."KeyframeData" AS k
WHERE k."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44181 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."MediaSegments" AS m
WHERE m."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44182 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44183 | logged_duration_ms=1 | timeout_s=30
SELECT DISTINCT p."PeopleId"
FROM library."PeopleBaseItemMap" AS p
WHERE p."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44184 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."PeopleBaseItemMap" AS p
WHERE p."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44185 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."Peoples" AS p
WHERE FALSE;

-- Query #44186 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'b08027e2-7a20-9e44-e5d3-6a8b80ff77d6';

-- Query #44187 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44188 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "RetentionDate" = '2026-03-14T22:26:46.1527374Z',
ItemId" = '00000000-0000-0000-0000-000000000001'::uuid
WHERE u."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44189 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."AncestorIds" AS a
WHERE a."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44190 | logged_duration_ms=12 | timeout_s=30
DELETE FROM library."AncestorIds" AS a
WHERE a."ParentItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44191 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44192 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44193 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44194 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44195 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemTrailerTypes" AS b
WHERE b."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44196 | logged_duration_ms=15 | timeout_s=30
DELETE FROM library."BaseItems" AS b
WHERE b."Id" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44197 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."Chapters" AS c
WHERE c."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44198 | logged_duration_ms=2 | timeout_s=30
DELETE FROM displaypreferences."CustomItemDisplayPreferences" AS c
WHERE c."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44199 | logged_duration_ms=1 | timeout_s=30
DELETE FROM displaypreferences."ItemDisplayPreferences" AS i
WHERE i."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44200 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44201 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."KeyframeData" AS k
WHERE k."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44202 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."MediaSegments" AS m
WHERE m."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44203 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44204 | logged_duration_ms=1 | timeout_s=30
SELECT DISTINCT p."PeopleId"
FROM library."PeopleBaseItemMap" AS p
WHERE p."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44205 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."PeopleBaseItemMap" AS p
WHERE p."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44206 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."Peoples" AS p
WHERE FALSE;

-- Query #44207 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '4ff4fa2d-7e8d-9e75-2d1f-5b538e5f3886';

-- Query #44208 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44209 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "RetentionDate" = '2026-03-14T22:26:46.5238842Z',
ItemId" = '00000000-0000-0000-0000-000000000001'::uuid
WHERE u."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44210 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44211 | logged_duration_ms=12 | timeout_s=30
DELETE FROM library."AncestorIds" AS a
WHERE a."ParentItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44212 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44213 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44215 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44216 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemTrailerTypes" AS b
WHERE b."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44217 | logged_duration_ms=14 | timeout_s=30
DELETE FROM library."BaseItems" AS b
WHERE b."Id" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44218 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."Chapters" AS c
WHERE c."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44219 | logged_duration_ms=1 | timeout_s=30
DELETE FROM displaypreferences."CustomItemDisplayPreferences" AS c
WHERE c."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44220 | logged_duration_ms=1 | timeout_s=30
DELETE FROM displaypreferences."ItemDisplayPreferences" AS i
WHERE i."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44221 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44222 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."KeyframeData" AS k
WHERE k."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44223 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."MediaSegments" AS m
WHERE m."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44224 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44225 | logged_duration_ms=1 | timeout_s=30
SELECT DISTINCT p."PeopleId"
FROM library."PeopleBaseItemMap" AS p
WHERE p."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44226 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."PeopleBaseItemMap" AS p
WHERE p."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44227 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."Peoples" AS p
WHERE FALSE;

-- Query #44228 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'd9614f5d-bad2-c3df-1504-0d158aba605a';

-- Query #44229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03e6b706-70ee-da1d-3b6f-77308026ae38'::uuid]);

-- Query #44230 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44231 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['03e6b706-70ee-da1d-3b6f-77308026ae38'::uuid]);

-- Query #44232 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03e6b706-70ee-da1d-3b6f-77308026ae38'::uuid]);

-- Query #44233 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '03e6b706-70ee-da1d-3b6f-77308026ae38'::uuid;

-- Query #44234 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '03e6b706-70ee-da1d-3b6f-77308026ae38'::uuid;

-- Query #44235 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '03e6b706-70ee-da1d-3b6f-77308026ae38'::uuid;

-- Query #44236 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44237 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['03e6b706-70ee-da1d-3b6f-77308026ae38'::uuid]);

-- Query #44238 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['03e6b706-70ee-da1d-3b6f-77308026ae38'::uuid]);

-- Query #44239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '03e6b706-70ee-da1d-3b6f-77308026ae38'::uuid;

-- Query #44240 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '03e6b706-70ee-da1d-3b6f-77308026ae38'::uuid;

-- Query #44241 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '03e6b706-70ee-da1d-3b6f-77308026ae38'::uuid;

-- Query #44242 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44243 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['03e6b706-70ee-da1d-3b6f-77308026ae38'::uuid]);

-- Query #44244 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '03e6b706-70ee-da1d-3b6f-77308026ae38'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Action', '03e6b706-70ee-da1d-3b6f-77308026ae38'::uuid]);

-- Query #44245 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '03e6b706-70ee-da1d-3b6f-77308026ae38'::uuid;

-- Query #44246 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46af7bc7-a064-3cf7-37bc-0b607ee48f02'::uuid]);

-- Query #44247 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44248 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['46af7bc7-a064-3cf7-37bc-0b607ee48f02'::uuid]);

-- Query #44249 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46af7bc7-a064-3cf7-37bc-0b607ee48f02'::uuid]);

-- Query #44250 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '46af7bc7-a064-3cf7-37bc-0b607ee48f02'::uuid;

-- Query #44251 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '46af7bc7-a064-3cf7-37bc-0b607ee48f02'::uuid;

-- Query #44252 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '46af7bc7-a064-3cf7-37bc-0b607ee48f02'::uuid;

-- Query #44253 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44254 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['46af7bc7-a064-3cf7-37bc-0b607ee48f02'::uuid]);

-- Query #44255 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46af7bc7-a064-3cf7-37bc-0b607ee48f02'::uuid]);

-- Query #44256 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '46af7bc7-a064-3cf7-37bc-0b607ee48f02'::uuid;

-- Query #44257 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '46af7bc7-a064-3cf7-37bc-0b607ee48f02'::uuid;

-- Query #44258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '46af7bc7-a064-3cf7-37bc-0b607ee48f02'::uuid;

-- Query #44259 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44260 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['46af7bc7-a064-3cf7-37bc-0b607ee48f02'::uuid]);

-- Query #44261 | logged_duration_ms=2 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '46af7bc7-a064-3cf7-37bc-0b607ee48f02'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Adventure', '46af7bc7-a064-3cf7-37bc-0b607ee48f02'::uuid]);

-- Query #44262 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '46af7bc7-a064-3cf7-37bc-0b607ee48f02'::uuid;

-- Query #44263 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['451e67d5-c008-4a00-3a0a-864528f286f0'::uuid]);

-- Query #44264 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44265 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['451e67d5-c008-4a00-3a0a-864528f286f0'::uuid]);

-- Query #44266 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['451e67d5-c008-4a00-3a0a-864528f286f0'::uuid]);

-- Query #44267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '451e67d5-c008-4a00-3a0a-864528f286f0'::uuid;

-- Query #44268 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '451e67d5-c008-4a00-3a0a-864528f286f0'::uuid;

-- Query #44269 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '451e67d5-c008-4a00-3a0a-864528f286f0'::uuid;

-- Query #44270 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44271 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['451e67d5-c008-4a00-3a0a-864528f286f0'::uuid]);

-- Query #44272 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['451e67d5-c008-4a00-3a0a-864528f286f0'::uuid]);

-- Query #44273 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '451e67d5-c008-4a00-3a0a-864528f286f0'::uuid;

-- Query #44274 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '451e67d5-c008-4a00-3a0a-864528f286f0'::uuid;

-- Query #44275 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '451e67d5-c008-4a00-3a0a-864528f286f0'::uuid;

-- Query #44276 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44277 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['451e67d5-c008-4a00-3a0a-864528f286f0'::uuid]);

-- Query #44278 | logged_duration_ms=2 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '451e67d5-c008-4a00-3a0a-864528f286f0'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Animation', '451e67d5-c008-4a00-3a0a-864528f286f0'::uuid]);

-- Query #44279 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '451e67d5-c008-4a00-3a0a-864528f286f0'::uuid;

-- Query #44280 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['538929ef-5de9-0c3f-6b71-75f22e2ec668'::uuid]);

-- Query #44281 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44282 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['538929ef-5de9-0c3f-6b71-75f22e2ec668'::uuid]);

-- Query #44283 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['538929ef-5de9-0c3f-6b71-75f22e2ec668'::uuid]);

-- Query #44284 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '538929ef-5de9-0c3f-6b71-75f22e2ec668'::uuid;

-- Query #44285 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '538929ef-5de9-0c3f-6b71-75f22e2ec668'::uuid;

-- Query #44286 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '538929ef-5de9-0c3f-6b71-75f22e2ec668'::uuid;

-- Query #44287 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44288 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['538929ef-5de9-0c3f-6b71-75f22e2ec668'::uuid]);

-- Query #44289 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['538929ef-5de9-0c3f-6b71-75f22e2ec668'::uuid]);

-- Query #44290 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '538929ef-5de9-0c3f-6b71-75f22e2ec668'::uuid;

-- Query #44291 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '538929ef-5de9-0c3f-6b71-75f22e2ec668'::uuid;

-- Query #44292 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '538929ef-5de9-0c3f-6b71-75f22e2ec668'::uuid;

-- Query #44293 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44294 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['538929ef-5de9-0c3f-6b71-75f22e2ec668'::uuid]);

-- Query #44295 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '538929ef-5de9-0c3f-6b71-75f22e2ec668'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Anime', '538929ef-5de9-0c3f-6b71-75f22e2ec668'::uuid]);

-- Query #44296 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '538929ef-5de9-0c3f-6b71-75f22e2ec668'::uuid;

-- Query #44297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14d17ea7-ecf8-51db-23cd-6626d274d1c4'::uuid]);

-- Query #44298 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44299 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['14d17ea7-ecf8-51db-23cd-6626d274d1c4'::uuid]);

-- Query #44300 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14d17ea7-ecf8-51db-23cd-6626d274d1c4'::uuid]);

-- Query #44301 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '14d17ea7-ecf8-51db-23cd-6626d274d1c4'::uuid;

-- Query #44302 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14d17ea7-ecf8-51db-23cd-6626d274d1c4'::uuid;

-- Query #44303 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '14d17ea7-ecf8-51db-23cd-6626d274d1c4'::uuid;

-- Query #44304 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44305 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['14d17ea7-ecf8-51db-23cd-6626d274d1c4'::uuid]);

-- Query #44306 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14d17ea7-ecf8-51db-23cd-6626d274d1c4'::uuid]);

-- Query #44307 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '14d17ea7-ecf8-51db-23cd-6626d274d1c4'::uuid;

-- Query #44308 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14d17ea7-ecf8-51db-23cd-6626d274d1c4'::uuid;

-- Query #44309 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '14d17ea7-ecf8-51db-23cd-6626d274d1c4'::uuid;

-- Query #44310 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44311 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['14d17ea7-ecf8-51db-23cd-6626d274d1c4'::uuid]);

-- Query #44312 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '14d17ea7-ecf8-51db-23cd-6626d274d1c4'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Children', '14d17ea7-ecf8-51db-23cd-6626d274d1c4'::uuid]);

-- Query #44313 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '14d17ea7-ecf8-51db-23cd-6626d274d1c4'::uuid;

-- Query #44314 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ecb9c5a-cfe9-f556-d922-d71d7ccb6e7b'::uuid]);

-- Query #44315 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44316 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8ecb9c5a-cfe9-f556-d922-d71d7ccb6e7b'::uuid]);

-- Query #44317 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ecb9c5a-cfe9-f556-d922-d71d7ccb6e7b'::uuid]);

-- Query #44318 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8ecb9c5a-cfe9-f556-d922-d71d7ccb6e7b'::uuid;

-- Query #44319 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ecb9c5a-cfe9-f556-d922-d71d7ccb6e7b'::uuid;

-- Query #44320 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8ecb9c5a-cfe9-f556-d922-d71d7ccb6e7b'::uuid;

-- Query #44321 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44322 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8ecb9c5a-cfe9-f556-d922-d71d7ccb6e7b'::uuid]);

-- Query #44323 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ecb9c5a-cfe9-f556-d922-d71d7ccb6e7b'::uuid]);

-- Query #44324 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8ecb9c5a-cfe9-f556-d922-d71d7ccb6e7b'::uuid;

-- Query #44325 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8ecb9c5a-cfe9-f556-d922-d71d7ccb6e7b'::uuid;

-- Query #44326 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8ecb9c5a-cfe9-f556-d922-d71d7ccb6e7b'::uuid;

-- Query #44327 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44328 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8ecb9c5a-cfe9-f556-d922-d71d7ccb6e7b'::uuid]);

-- Query #44329 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '8ecb9c5a-cfe9-f556-d922-d71d7ccb6e7b'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Comedy', '8ecb9c5a-cfe9-f556-d922-d71d7ccb6e7b'::uuid]);

-- Query #44330 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '8ecb9c5a-cfe9-f556-d922-d71d7ccb6e7b'::uuid;

-- Query #44331 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0f344e1a-7347-4339-3995-d2b8cd7a7fef'::uuid]);

-- Query #44332 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44333 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0f344e1a-7347-4339-3995-d2b8cd7a7fef'::uuid]);

-- Query #44334 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0f344e1a-7347-4339-3995-d2b8cd7a7fef'::uuid]);

-- Query #44335 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0f344e1a-7347-4339-3995-d2b8cd7a7fef'::uuid;

-- Query #44336 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f344e1a-7347-4339-3995-d2b8cd7a7fef'::uuid;

-- Query #44337 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0f344e1a-7347-4339-3995-d2b8cd7a7fef'::uuid;

-- Query #44338 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44339 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0f344e1a-7347-4339-3995-d2b8cd7a7fef'::uuid]);

-- Query #44340 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #44341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0f344e1a-7347-4339-3995-d2b8cd7a7fef'::uuid]);

-- Query #44342 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0f344e1a-7347-4339-3995-d2b8cd7a7fef'::uuid;

-- Query #44343 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f344e1a-7347-4339-3995-d2b8cd7a7fef'::uuid;

-- Query #44344 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0f344e1a-7347-4339-3995-d2b8cd7a7fef'::uuid;

-- Query #44345 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44346 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0f344e1a-7347-4339-3995-d2b8cd7a7fef'::uuid]);

-- Query #44347 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '0f344e1a-7347-4339-3995-d2b8cd7a7fef'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Crime', '0f344e1a-7347-4339-3995-d2b8cd7a7fef'::uuid]);

-- Query #44348 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0f344e1a-7347-4339-3995-d2b8cd7a7fef'::uuid;

-- Query #44349 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c84d88f3-a13e-ad49-28fe-85df8e427c89'::uuid]);

-- Query #44350 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44351 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c84d88f3-a13e-ad49-28fe-85df8e427c89'::uuid]);

-- Query #44352 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c84d88f3-a13e-ad49-28fe-85df8e427c89'::uuid]);

-- Query #44353 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c84d88f3-a13e-ad49-28fe-85df8e427c89'::uuid;

-- Query #44354 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c84d88f3-a13e-ad49-28fe-85df8e427c89'::uuid;

-- Query #44355 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c84d88f3-a13e-ad49-28fe-85df8e427c89'::uuid;

-- Query #44356 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44357 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c84d88f3-a13e-ad49-28fe-85df8e427c89'::uuid]);

-- Query #44358 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c84d88f3-a13e-ad49-28fe-85df8e427c89'::uuid]);

-- Query #44359 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c84d88f3-a13e-ad49-28fe-85df8e427c89'::uuid;

-- Query #44360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c84d88f3-a13e-ad49-28fe-85df8e427c89'::uuid;

-- Query #44361 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c84d88f3-a13e-ad49-28fe-85df8e427c89'::uuid;

-- Query #44362 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44363 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c84d88f3-a13e-ad49-28fe-85df8e427c89'::uuid]);

-- Query #44364 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = 'c84d88f3-a13e-ad49-28fe-85df8e427c89'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Documentary', 'c84d88f3-a13e-ad49-28fe-85df8e427c89'::uuid]);

-- Query #44365 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c84d88f3-a13e-ad49-28fe-85df8e427c89'::uuid;

-- Query #44366 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fcfa7eeb-f420-aebd-d7e8-50958428e123'::uuid]);

-- Query #44367 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44368 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fcfa7eeb-f420-aebd-d7e8-50958428e123'::uuid]);

-- Query #44369 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fcfa7eeb-f420-aebd-d7e8-50958428e123'::uuid]);

-- Query #44370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fcfa7eeb-f420-aebd-d7e8-50958428e123'::uuid;

-- Query #44371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fcfa7eeb-f420-aebd-d7e8-50958428e123'::uuid;

-- Query #44372 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fcfa7eeb-f420-aebd-d7e8-50958428e123'::uuid;

-- Query #44373 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44374 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fcfa7eeb-f420-aebd-d7e8-50958428e123'::uuid]);

-- Query #44375 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fcfa7eeb-f420-aebd-d7e8-50958428e123'::uuid]);

-- Query #44376 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fcfa7eeb-f420-aebd-d7e8-50958428e123'::uuid;

-- Query #44377 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fcfa7eeb-f420-aebd-d7e8-50958428e123'::uuid;

-- Query #44378 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fcfa7eeb-f420-aebd-d7e8-50958428e123'::uuid;

-- Query #44379 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44380 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fcfa7eeb-f420-aebd-d7e8-50958428e123'::uuid]);

-- Query #44381 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = 'fcfa7eeb-f420-aebd-d7e8-50958428e123'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Drama', 'fcfa7eeb-f420-aebd-d7e8-50958428e123'::uuid]);

-- Query #44382 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'fcfa7eeb-f420-aebd-d7e8-50958428e123'::uuid;

-- Query #44383 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['778f5e9d-a106-69de-f42d-4b0cdc042c13'::uuid]);

-- Query #44384 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44385 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['778f5e9d-a106-69de-f42d-4b0cdc042c13'::uuid]);

-- Query #44386 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['778f5e9d-a106-69de-f42d-4b0cdc042c13'::uuid]);

-- Query #44387 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '778f5e9d-a106-69de-f42d-4b0cdc042c13'::uuid;

-- Query #44388 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '778f5e9d-a106-69de-f42d-4b0cdc042c13'::uuid;

-- Query #44389 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '778f5e9d-a106-69de-f42d-4b0cdc042c13'::uuid;

-- Query #44390 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44391 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['778f5e9d-a106-69de-f42d-4b0cdc042c13'::uuid]);

-- Query #44392 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['778f5e9d-a106-69de-f42d-4b0cdc042c13'::uuid]);

-- Query #44393 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '778f5e9d-a106-69de-f42d-4b0cdc042c13'::uuid;

-- Query #44394 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '778f5e9d-a106-69de-f42d-4b0cdc042c13'::uuid;

-- Query #44395 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '778f5e9d-a106-69de-f42d-4b0cdc042c13'::uuid;

-- Query #44396 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44397 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['778f5e9d-a106-69de-f42d-4b0cdc042c13'::uuid]);

-- Query #44398 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '778f5e9d-a106-69de-f42d-4b0cdc042c13'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Family', '778f5e9d-a106-69de-f42d-4b0cdc042c13'::uuid]);

-- Query #44399 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '778f5e9d-a106-69de-f42d-4b0cdc042c13'::uuid;

-- Query #44400 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['617d98e9-7dcb-5a61-94dc-d65ca2b3a5d2'::uuid]);

-- Query #44401 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44402 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['617d98e9-7dcb-5a61-94dc-d65ca2b3a5d2'::uuid]);

-- Query #44403 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['617d98e9-7dcb-5a61-94dc-d65ca2b3a5d2'::uuid]);

-- Query #44404 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '617d98e9-7dcb-5a61-94dc-d65ca2b3a5d2'::uuid;

-- Query #44405 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '617d98e9-7dcb-5a61-94dc-d65ca2b3a5d2'::uuid;

-- Query #44406 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '617d98e9-7dcb-5a61-94dc-d65ca2b3a5d2'::uuid;

-- Query #44407 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44408 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['617d98e9-7dcb-5a61-94dc-d65ca2b3a5d2'::uuid]);

-- Query #44409 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['617d98e9-7dcb-5a61-94dc-d65ca2b3a5d2'::uuid]);

-- Query #44410 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '617d98e9-7dcb-5a61-94dc-d65ca2b3a5d2'::uuid;

-- Query #44411 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '617d98e9-7dcb-5a61-94dc-d65ca2b3a5d2'::uuid;

-- Query #44412 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '617d98e9-7dcb-5a61-94dc-d65ca2b3a5d2'::uuid;

-- Query #44413 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44414 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['617d98e9-7dcb-5a61-94dc-d65ca2b3a5d2'::uuid]);

-- Query #44415 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '617d98e9-7dcb-5a61-94dc-d65ca2b3a5d2'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Fantasy', '617d98e9-7dcb-5a61-94dc-d65ca2b3a5d2'::uuid]);

-- Query #44416 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '617d98e9-7dcb-5a61-94dc-d65ca2b3a5d2'::uuid;

-- Query #44417 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['173efe75-bc50-c10d-d7eb-e39b7d963846'::uuid]);

-- Query #44418 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44419 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['173efe75-bc50-c10d-d7eb-e39b7d963846'::uuid]);

-- Query #44420 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['173efe75-bc50-c10d-d7eb-e39b7d963846'::uuid]);

-- Query #44421 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '173efe75-bc50-c10d-d7eb-e39b7d963846'::uuid;

-- Query #44422 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '173efe75-bc50-c10d-d7eb-e39b7d963846'::uuid;

-- Query #44423 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '173efe75-bc50-c10d-d7eb-e39b7d963846'::uuid;

-- Query #44424 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44425 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['173efe75-bc50-c10d-d7eb-e39b7d963846'::uuid]);

-- Query #44426 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['173efe75-bc50-c10d-d7eb-e39b7d963846'::uuid]);

-- Query #44427 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '173efe75-bc50-c10d-d7eb-e39b7d963846'::uuid;

-- Query #44428 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '173efe75-bc50-c10d-d7eb-e39b7d963846'::uuid;

-- Query #44429 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '173efe75-bc50-c10d-d7eb-e39b7d963846'::uuid;

-- Query #44430 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44431 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['173efe75-bc50-c10d-d7eb-e39b7d963846'::uuid]);

-- Query #44432 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '173efe75-bc50-c10d-d7eb-e39b7d963846'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Food', '173efe75-bc50-c10d-d7eb-e39b7d963846'::uuid]);

-- Query #44433 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '173efe75-bc50-c10d-d7eb-e39b7d963846'::uuid;

-- Query #44434 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b210adf3-2b30-9fd3-d85c-45b0171d0fc7'::uuid]);

-- Query #44435 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44436 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b210adf3-2b30-9fd3-d85c-45b0171d0fc7'::uuid]);

-- Query #44437 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b210adf3-2b30-9fd3-d85c-45b0171d0fc7'::uuid]);

-- Query #44438 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b210adf3-2b30-9fd3-d85c-45b0171d0fc7'::uuid;

-- Query #44439 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b210adf3-2b30-9fd3-d85c-45b0171d0fc7'::uuid;

-- Query #44440 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b210adf3-2b30-9fd3-d85c-45b0171d0fc7'::uuid;

-- Query #44441 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44442 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b210adf3-2b30-9fd3-d85c-45b0171d0fc7'::uuid]);

-- Query #44443 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b210adf3-2b30-9fd3-d85c-45b0171d0fc7'::uuid]);

-- Query #44444 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b210adf3-2b30-9fd3-d85c-45b0171d0fc7'::uuid;

-- Query #44445 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b210adf3-2b30-9fd3-d85c-45b0171d0fc7'::uuid;

-- Query #44446 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b210adf3-2b30-9fd3-d85c-45b0171d0fc7'::uuid;

-- Query #44447 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44448 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b210adf3-2b30-9fd3-d85c-45b0171d0fc7'::uuid]);

-- Query #44449 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = 'b210adf3-2b30-9fd3-d85c-45b0171d0fc7'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Game Show', 'b210adf3-2b30-9fd3-d85c-45b0171d0fc7'::uuid]);

-- Query #44450 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'b210adf3-2b30-9fd3-d85c-45b0171d0fc7'::uuid;

-- Query #44451 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3645154a-ab96-2677-7f60-e5ffe45c5fbb'::uuid]);

-- Query #44452 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44453 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3645154a-ab96-2677-7f60-e5ffe45c5fbb'::uuid]);

-- Query #44454 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3645154a-ab96-2677-7f60-e5ffe45c5fbb'::uuid]);

-- Query #44455 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3645154a-ab96-2677-7f60-e5ffe45c5fbb'::uuid;

-- Query #44456 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3645154a-ab96-2677-7f60-e5ffe45c5fbb'::uuid;

-- Query #44457 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3645154a-ab96-2677-7f60-e5ffe45c5fbb'::uuid;

-- Query #44458 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44459 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3645154a-ab96-2677-7f60-e5ffe45c5fbb'::uuid]);

-- Query #44460 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3645154a-ab96-2677-7f60-e5ffe45c5fbb'::uuid]);

-- Query #44461 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3645154a-ab96-2677-7f60-e5ffe45c5fbb'::uuid;

-- Query #44462 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3645154a-ab96-2677-7f60-e5ffe45c5fbb'::uuid;

-- Query #44463 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3645154a-ab96-2677-7f60-e5ffe45c5fbb'::uuid;

-- Query #44464 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44465 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3645154a-ab96-2677-7f60-e5ffe45c5fbb'::uuid]);

-- Query #44466 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '3645154a-ab96-2677-7f60-e5ffe45c5fbb'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-History', '3645154a-ab96-2677-7f60-e5ffe45c5fbb'::uuid]);

-- Query #44467 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '3645154a-ab96-2677-7f60-e5ffe45c5fbb'::uuid;

-- Query #44468 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2a62d910-442b-dd9e-b4aa-24ecd85fbad4'::uuid]);

-- Query #44469 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44470 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2a62d910-442b-dd9e-b4aa-24ecd85fbad4'::uuid]);

-- Query #44471 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2a62d910-442b-dd9e-b4aa-24ecd85fbad4'::uuid]);

-- Query #44472 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2a62d910-442b-dd9e-b4aa-24ecd85fbad4'::uuid;

-- Query #44473 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2a62d910-442b-dd9e-b4aa-24ecd85fbad4'::uuid;

-- Query #44474 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2a62d910-442b-dd9e-b4aa-24ecd85fbad4'::uuid;

-- Query #44475 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44476 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2a62d910-442b-dd9e-b4aa-24ecd85fbad4'::uuid]);

-- Query #44477 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2a62d910-442b-dd9e-b4aa-24ecd85fbad4'::uuid]);

-- Query #44478 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2a62d910-442b-dd9e-b4aa-24ecd85fbad4'::uuid;

-- Query #44479 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2a62d910-442b-dd9e-b4aa-24ecd85fbad4'::uuid;

-- Query #44480 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2a62d910-442b-dd9e-b4aa-24ecd85fbad4'::uuid;

-- Query #44481 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44482 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2a62d910-442b-dd9e-b4aa-24ecd85fbad4'::uuid]);

-- Query #44483 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '2a62d910-442b-dd9e-b4aa-24ecd85fbad4'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Home and Garden', '2a62d910-442b-dd9e-b4aa-24ecd85fbad4'::uuid]);

-- Query #44484 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '2a62d910-442b-dd9e-b4aa-24ecd85fbad4'::uuid;

-- Query #44485 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78b59fe9-f8b7-2a8c-cf63-c38144ac5627'::uuid]);

-- Query #44486 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44487 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['78b59fe9-f8b7-2a8c-cf63-c38144ac5627'::uuid]);

-- Query #44488 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78b59fe9-f8b7-2a8c-cf63-c38144ac5627'::uuid]);

-- Query #44489 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '78b59fe9-f8b7-2a8c-cf63-c38144ac5627'::uuid;

-- Query #44490 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78b59fe9-f8b7-2a8c-cf63-c38144ac5627'::uuid;

-- Query #44491 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '78b59fe9-f8b7-2a8c-cf63-c38144ac5627'::uuid;

-- Query #44492 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44493 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['78b59fe9-f8b7-2a8c-cf63-c38144ac5627'::uuid]);

-- Query #44494 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78b59fe9-f8b7-2a8c-cf63-c38144ac5627'::uuid]);

-- Query #44495 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '78b59fe9-f8b7-2a8c-cf63-c38144ac5627'::uuid;

-- Query #44496 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78b59fe9-f8b7-2a8c-cf63-c38144ac5627'::uuid;

-- Query #44497 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '78b59fe9-f8b7-2a8c-cf63-c38144ac5627'::uuid;

-- Query #44498 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44499 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['78b59fe9-f8b7-2a8c-cf63-c38144ac5627'::uuid]);

-- Query #44500 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '78b59fe9-f8b7-2a8c-cf63-c38144ac5627'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Horror', '78b59fe9-f8b7-2a8c-cf63-c38144ac5627'::uuid]);

-- Query #44501 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '78b59fe9-f8b7-2a8c-cf63-c38144ac5627'::uuid;

-- Query #44502 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d43b13d5-480c-bb6a-0a2e-dbb15377aa95'::uuid]);

-- Query #44503 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44504 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d43b13d5-480c-bb6a-0a2e-dbb15377aa95'::uuid]);

-- Query #44505 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d43b13d5-480c-bb6a-0a2e-dbb15377aa95'::uuid]);

-- Query #44506 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd43b13d5-480c-bb6a-0a2e-dbb15377aa95'::uuid;

-- Query #44507 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd43b13d5-480c-bb6a-0a2e-dbb15377aa95'::uuid;

-- Query #44508 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd43b13d5-480c-bb6a-0a2e-dbb15377aa95'::uuid;

-- Query #44509 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44510 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d43b13d5-480c-bb6a-0a2e-dbb15377aa95'::uuid]);

-- Query #44511 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d43b13d5-480c-bb6a-0a2e-dbb15377aa95'::uuid]);

-- Query #44512 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd43b13d5-480c-bb6a-0a2e-dbb15377aa95'::uuid;

-- Query #44513 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd43b13d5-480c-bb6a-0a2e-dbb15377aa95'::uuid;

-- Query #44514 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd43b13d5-480c-bb6a-0a2e-dbb15377aa95'::uuid;

-- Query #44515 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44516 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d43b13d5-480c-bb6a-0a2e-dbb15377aa95'::uuid]);

-- Query #44517 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = 'd43b13d5-480c-bb6a-0a2e-dbb15377aa95'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Mini-Series', 'd43b13d5-480c-bb6a-0a2e-dbb15377aa95'::uuid]);

-- Query #44518 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'd43b13d5-480c-bb6a-0a2e-dbb15377aa95'::uuid;

-- Query #44519 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70284834-91dc-cdc8-e03c-5ce55841d84e'::uuid]);

-- Query #44520 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44521 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['70284834-91dc-cdc8-e03c-5ce55841d84e'::uuid]);

-- Query #44522 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70284834-91dc-cdc8-e03c-5ce55841d84e'::uuid]);

-- Query #44523 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '70284834-91dc-cdc8-e03c-5ce55841d84e'::uuid;

-- Query #44524 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70284834-91dc-cdc8-e03c-5ce55841d84e'::uuid;

-- Query #44525 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '70284834-91dc-cdc8-e03c-5ce55841d84e'::uuid;

-- Query #44526 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44527 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['70284834-91dc-cdc8-e03c-5ce55841d84e'::uuid]);

-- Query #44528 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70284834-91dc-cdc8-e03c-5ce55841d84e'::uuid]);

-- Query #44529 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '70284834-91dc-cdc8-e03c-5ce55841d84e'::uuid;

-- Query #44530 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70284834-91dc-cdc8-e03c-5ce55841d84e'::uuid;

-- Query #44531 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '70284834-91dc-cdc8-e03c-5ce55841d84e'::uuid;

-- Query #44532 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44533 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['70284834-91dc-cdc8-e03c-5ce55841d84e'::uuid]);

-- Query #44534 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '70284834-91dc-cdc8-e03c-5ce55841d84e'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Musical', '70284834-91dc-cdc8-e03c-5ce55841d84e'::uuid]);

-- Query #44535 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '70284834-91dc-cdc8-e03c-5ce55841d84e'::uuid;

-- Query #44536 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d962b10d-5065-e2a4-6149-b36f75cbd709'::uuid]);

-- Query #44537 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44538 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d962b10d-5065-e2a4-6149-b36f75cbd709'::uuid]);

-- Query #44539 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d962b10d-5065-e2a4-6149-b36f75cbd709'::uuid]);

-- Query #44540 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd962b10d-5065-e2a4-6149-b36f75cbd709'::uuid;

-- Query #44541 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd962b10d-5065-e2a4-6149-b36f75cbd709'::uuid;

-- Query #44542 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd962b10d-5065-e2a4-6149-b36f75cbd709'::uuid;

-- Query #44543 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44544 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d962b10d-5065-e2a4-6149-b36f75cbd709'::uuid]);

-- Query #44545 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d962b10d-5065-e2a4-6149-b36f75cbd709'::uuid]);

-- Query #44546 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd962b10d-5065-e2a4-6149-b36f75cbd709'::uuid;

-- Query #44547 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd962b10d-5065-e2a4-6149-b36f75cbd709'::uuid;

-- Query #44548 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd962b10d-5065-e2a4-6149-b36f75cbd709'::uuid;

-- Query #44549 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44550 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d962b10d-5065-e2a4-6149-b36f75cbd709'::uuid]);

-- Query #44551 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = 'd962b10d-5065-e2a4-6149-b36f75cbd709'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Mystery', 'd962b10d-5065-e2a4-6149-b36f75cbd709'::uuid]);

-- Query #44552 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'd962b10d-5065-e2a4-6149-b36f75cbd709'::uuid;

-- Query #44553 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb02d142-edce-73d2-0e4e-8da5fcc632c8'::uuid]);

-- Query #44554 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44555 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eb02d142-edce-73d2-0e4e-8da5fcc632c8'::uuid]);

-- Query #44556 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb02d142-edce-73d2-0e4e-8da5fcc632c8'::uuid]);

-- Query #44557 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eb02d142-edce-73d2-0e4e-8da5fcc632c8'::uuid;

-- Query #44558 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb02d142-edce-73d2-0e4e-8da5fcc632c8'::uuid;

-- Query #44559 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eb02d142-edce-73d2-0e4e-8da5fcc632c8'::uuid;

-- Query #44560 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44561 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eb02d142-edce-73d2-0e4e-8da5fcc632c8'::uuid]);

-- Query #44562 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb02d142-edce-73d2-0e4e-8da5fcc632c8'::uuid]);

-- Query #44563 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eb02d142-edce-73d2-0e4e-8da5fcc632c8'::uuid;

-- Query #44564 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eb02d142-edce-73d2-0e4e-8da5fcc632c8'::uuid;

-- Query #44565 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eb02d142-edce-73d2-0e4e-8da5fcc632c8'::uuid;

-- Query #44566 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44567 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eb02d142-edce-73d2-0e4e-8da5fcc632c8'::uuid]);

-- Query #44568 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = 'eb02d142-edce-73d2-0e4e-8da5fcc632c8'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-News', 'eb02d142-edce-73d2-0e4e-8da5fcc632c8'::uuid]);

-- Query #44569 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'eb02d142-edce-73d2-0e4e-8da5fcc632c8'::uuid;

-- Query #44570 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed802dcb-db43-7dce-754c-fdf22c44820f'::uuid]);

-- Query #44571 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44572 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ed802dcb-db43-7dce-754c-fdf22c44820f'::uuid]);

-- Query #44573 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed802dcb-db43-7dce-754c-fdf22c44820f'::uuid]);

-- Query #44574 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ed802dcb-db43-7dce-754c-fdf22c44820f'::uuid;

-- Query #44575 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed802dcb-db43-7dce-754c-fdf22c44820f'::uuid;

-- Query #44576 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ed802dcb-db43-7dce-754c-fdf22c44820f'::uuid;

-- Query #44577 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44578 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ed802dcb-db43-7dce-754c-fdf22c44820f'::uuid]);

-- Query #44579 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed802dcb-db43-7dce-754c-fdf22c44820f'::uuid]);

-- Query #44580 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ed802dcb-db43-7dce-754c-fdf22c44820f'::uuid;

-- Query #44581 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ed802dcb-db43-7dce-754c-fdf22c44820f'::uuid;

-- Query #44582 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ed802dcb-db43-7dce-754c-fdf22c44820f'::uuid;

-- Query #44583 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44584 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ed802dcb-db43-7dce-754c-fdf22c44820f'::uuid]);

-- Query #44585 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = 'ed802dcb-db43-7dce-754c-fdf22c44820f'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Reality', 'ed802dcb-db43-7dce-754c-fdf22c44820f'::uuid]);

-- Query #44586 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ed802dcb-db43-7dce-754c-fdf22c44820f'::uuid;

-- Query #44587 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58e9ba65-1787-9a34-3ae9-91251c2f915f'::uuid]);

-- Query #44588 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44589 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['58e9ba65-1787-9a34-3ae9-91251c2f915f'::uuid]);

-- Query #44590 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58e9ba65-1787-9a34-3ae9-91251c2f915f'::uuid]);

-- Query #44591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '58e9ba65-1787-9a34-3ae9-91251c2f915f'::uuid;

-- Query #44592 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58e9ba65-1787-9a34-3ae9-91251c2f915f'::uuid;

-- Query #44593 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '58e9ba65-1787-9a34-3ae9-91251c2f915f'::uuid;

-- Query #44594 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44595 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['58e9ba65-1787-9a34-3ae9-91251c2f915f'::uuid]);

-- Query #44596 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58e9ba65-1787-9a34-3ae9-91251c2f915f'::uuid]);

-- Query #44597 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '58e9ba65-1787-9a34-3ae9-91251c2f915f'::uuid;

-- Query #44598 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58e9ba65-1787-9a34-3ae9-91251c2f915f'::uuid;

-- Query #44599 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '58e9ba65-1787-9a34-3ae9-91251c2f915f'::uuid;

-- Query #44600 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44601 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['58e9ba65-1787-9a34-3ae9-91251c2f915f'::uuid]);

-- Query #44602 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '58e9ba65-1787-9a34-3ae9-91251c2f915f'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Romance', '58e9ba65-1787-9a34-3ae9-91251c2f915f'::uuid]);

-- Query #44603 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '58e9ba65-1787-9a34-3ae9-91251c2f915f'::uuid;

-- Query #44604 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b9e862bb-7611-a413-597b-8262b7f3a1bc'::uuid]);

-- Query #44605 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44606 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b9e862bb-7611-a413-597b-8262b7f3a1bc'::uuid]);

-- Query #44607 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b9e862bb-7611-a413-597b-8262b7f3a1bc'::uuid]);

-- Query #44608 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b9e862bb-7611-a413-597b-8262b7f3a1bc'::uuid;

-- Query #44609 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b9e862bb-7611-a413-597b-8262b7f3a1bc'::uuid;

-- Query #44610 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b9e862bb-7611-a413-597b-8262b7f3a1bc'::uuid;

-- Query #44611 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44612 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b9e862bb-7611-a413-597b-8262b7f3a1bc'::uuid]);

-- Query #44613 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b9e862bb-7611-a413-597b-8262b7f3a1bc'::uuid]);

-- Query #44614 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b9e862bb-7611-a413-597b-8262b7f3a1bc'::uuid;

-- Query #44615 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b9e862bb-7611-a413-597b-8262b7f3a1bc'::uuid;

-- Query #44616 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b9e862bb-7611-a413-597b-8262b7f3a1bc'::uuid;

-- Query #44617 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44618 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b9e862bb-7611-a413-597b-8262b7f3a1bc'::uuid]);

-- Query #44619 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = 'b9e862bb-7611-a413-597b-8262b7f3a1bc'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Science Fiction', 'b9e862bb-7611-a413-597b-8262b7f3a1bc'::uuid]);

-- Query #44620 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'b9e862bb-7611-a413-597b-8262b7f3a1bc'::uuid;

-- Query #44621 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4dd23b70-f541-446b-b726-20fbf4459f04'::uuid]);

-- Query #44622 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44623 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4dd23b70-f541-446b-b726-20fbf4459f04'::uuid]);

-- Query #44624 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4dd23b70-f541-446b-b726-20fbf4459f04'::uuid]);

-- Query #44625 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4dd23b70-f541-446b-b726-20fbf4459f04'::uuid;

-- Query #44626 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4dd23b70-f541-446b-b726-20fbf4459f04'::uuid;

-- Query #44627 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4dd23b70-f541-446b-b726-20fbf4459f04'::uuid;

-- Query #44628 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44629 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4dd23b70-f541-446b-b726-20fbf4459f04'::uuid]);

-- Query #44630 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4dd23b70-f541-446b-b726-20fbf4459f04'::uuid]);

-- Query #44631 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4dd23b70-f541-446b-b726-20fbf4459f04'::uuid;

-- Query #44632 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4dd23b70-f541-446b-b726-20fbf4459f04'::uuid;

-- Query #44633 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4dd23b70-f541-446b-b726-20fbf4459f04'::uuid;

-- Query #44634 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44635 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4dd23b70-f541-446b-b726-20fbf4459f04'::uuid]);

-- Query #44636 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '4dd23b70-f541-446b-b726-20fbf4459f04'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Sport', '4dd23b70-f541-446b-b726-20fbf4459f04'::uuid]);

-- Query #44637 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '4dd23b70-f541-446b-b726-20fbf4459f04'::uuid;

-- Query #44638 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['006b36d2-2575-6f56-e627-12f46493767e'::uuid]);

-- Query #44639 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44640 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['006b36d2-2575-6f56-e627-12f46493767e'::uuid]);

-- Query #44641 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['006b36d2-2575-6f56-e627-12f46493767e'::uuid]);

-- Query #44642 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '006b36d2-2575-6f56-e627-12f46493767e'::uuid;

-- Query #44643 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '006b36d2-2575-6f56-e627-12f46493767e'::uuid;

-- Query #44644 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '006b36d2-2575-6f56-e627-12f46493767e'::uuid;

-- Query #44645 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44646 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['006b36d2-2575-6f56-e627-12f46493767e'::uuid]);

-- Query #44647 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['006b36d2-2575-6f56-e627-12f46493767e'::uuid]);

-- Query #44648 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '006b36d2-2575-6f56-e627-12f46493767e'::uuid;

-- Query #44649 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '006b36d2-2575-6f56-e627-12f46493767e'::uuid;

-- Query #44650 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '006b36d2-2575-6f56-e627-12f46493767e'::uuid;

-- Query #44651 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44652 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['006b36d2-2575-6f56-e627-12f46493767e'::uuid]);

-- Query #44653 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '006b36d2-2575-6f56-e627-12f46493767e'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Suspense', '006b36d2-2575-6f56-e627-12f46493767e'::uuid]);

-- Query #44654 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '006b36d2-2575-6f56-e627-12f46493767e'::uuid;

-- Query #44655 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9568e07f-c7c5-78ee-5189-616bfbc9cd07'::uuid]);

-- Query #44656 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44657 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9568e07f-c7c5-78ee-5189-616bfbc9cd07'::uuid]);

-- Query #44658 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9568e07f-c7c5-78ee-5189-616bfbc9cd07'::uuid]);

-- Query #44659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9568e07f-c7c5-78ee-5189-616bfbc9cd07'::uuid;

-- Query #44660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9568e07f-c7c5-78ee-5189-616bfbc9cd07'::uuid;

-- Query #44661 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9568e07f-c7c5-78ee-5189-616bfbc9cd07'::uuid;

-- Query #44662 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44663 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9568e07f-c7c5-78ee-5189-616bfbc9cd07'::uuid]);

-- Query #44664 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9568e07f-c7c5-78ee-5189-616bfbc9cd07'::uuid]);

-- Query #44665 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9568e07f-c7c5-78ee-5189-616bfbc9cd07'::uuid;

-- Query #44666 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9568e07f-c7c5-78ee-5189-616bfbc9cd07'::uuid;

-- Query #44667 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9568e07f-c7c5-78ee-5189-616bfbc9cd07'::uuid;

-- Query #44668 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44669 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9568e07f-c7c5-78ee-5189-616bfbc9cd07'::uuid]);

-- Query #44670 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '9568e07f-c7c5-78ee-5189-616bfbc9cd07'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Thriller', '9568e07f-c7c5-78ee-5189-616bfbc9cd07'::uuid]);

-- Query #44671 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '9568e07f-c7c5-78ee-5189-616bfbc9cd07'::uuid;

-- Query #44672 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00138acc-bf71-b535-0925-42d6753fc732'::uuid]);

-- Query #44673 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44674 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['00138acc-bf71-b535-0925-42d6753fc732'::uuid]);

-- Query #44675 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00138acc-bf71-b535-0925-42d6753fc732'::uuid]);

-- Query #44676 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '00138acc-bf71-b535-0925-42d6753fc732'::uuid;

-- Query #44677 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '00138acc-bf71-b535-0925-42d6753fc732'::uuid;

-- Query #44678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '00138acc-bf71-b535-0925-42d6753fc732'::uuid;

-- Query #44679 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44680 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['00138acc-bf71-b535-0925-42d6753fc732'::uuid]);

-- Query #44681 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00138acc-bf71-b535-0925-42d6753fc732'::uuid]);

-- Query #44682 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '00138acc-bf71-b535-0925-42d6753fc732'::uuid;

-- Query #44683 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '00138acc-bf71-b535-0925-42d6753fc732'::uuid;

-- Query #44684 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '00138acc-bf71-b535-0925-42d6753fc732'::uuid;

-- Query #44685 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44686 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['00138acc-bf71-b535-0925-42d6753fc732'::uuid]);

-- Query #44687 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '00138acc-bf71-b535-0925-42d6753fc732'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-War', '00138acc-bf71-b535-0925-42d6753fc732'::uuid]);

-- Query #44688 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '00138acc-bf71-b535-0925-42d6753fc732'::uuid;

-- Query #44689 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['772542bd-5a45-d274-1f81-d5f1f9d1af21'::uuid]);

-- Query #44690 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44691 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['772542bd-5a45-d274-1f81-d5f1f9d1af21'::uuid]);

-- Query #44692 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['772542bd-5a45-d274-1f81-d5f1f9d1af21'::uuid]);

-- Query #44693 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '772542bd-5a45-d274-1f81-d5f1f9d1af21'::uuid;

-- Query #44694 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '772542bd-5a45-d274-1f81-d5f1f9d1af21'::uuid;

-- Query #44695 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '772542bd-5a45-d274-1f81-d5f1f9d1af21'::uuid;

-- Query #44696 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44697 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['772542bd-5a45-d274-1f81-d5f1f9d1af21'::uuid]);

-- Query #44698 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['772542bd-5a45-d274-1f81-d5f1f9d1af21'::uuid]);

-- Query #44699 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '772542bd-5a45-d274-1f81-d5f1f9d1af21'::uuid;

-- Query #44700 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #44701 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '772542bd-5a45-d274-1f81-d5f1f9d1af21'::uuid;

-- Query #44702 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '772542bd-5a45-d274-1f81-d5f1f9d1af21'::uuid;

-- Query #44703 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44704 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['772542bd-5a45-d274-1f81-d5f1f9d1af21'::uuid]);

-- Query #44705 | logged_duration_ms=1 | timeout_s=30
UPDATE library."UserData" AS u
SET "ItemId" = '772542bd-5a45-d274-1f81-d5f1f9d1af21'::uuid,
RetentionDate" = NULL
WHERE u."ItemId" = '00000000-0000-0000-0000-000000000001' AND u."CustomDataKey" = ANY (ARRAY['MusicGenre-Western', '772542bd-5a45-d274-1f81-d5f1f9d1af21'::uuid]);

-- Query #44706 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '772542bd-5a45-d274-1f81-d5f1f9d1af21'::uuid;

-- Query #44707 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '336c804b-4d36-6f57-7e4a-e1f5f5e7a5ed'::uuid;

-- Query #44708 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['336c804b-4d36-6f57-7e4a-e1f5f5e7a5ed'::uuid]);

-- Query #44709 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '336c804b-4d36-6f57-7e4a-e1f5f5e7a5ed'::uuid;

-- Query #44710 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '336c804b-4d36-6f57-7e4a-e1f5f5e7a5ed'::uuid;

-- Query #44711 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '336c804b-4d36-6f57-7e4a-e1f5f5e7a5ed'::uuid;

-- Query #44712 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44713 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['336c804b-4d36-6f57-7e4a-e1f5f5e7a5ed'::uuid]);

-- Query #44714 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d4615a9-c392-f7ee-cedf-6ea05f127c5a'::uuid;

-- Query #44715 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9d4615a9-c392-f7ee-cedf-6ea05f127c5a'::uuid]);

-- Query #44716 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9d4615a9-c392-f7ee-cedf-6ea05f127c5a'::uuid;

-- Query #44717 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d4615a9-c392-f7ee-cedf-6ea05f127c5a'::uuid;

-- Query #44718 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9d4615a9-c392-f7ee-cedf-6ea05f127c5a'::uuid;

-- Query #44719 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44720 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9d4615a9-c392-f7ee-cedf-6ea05f127c5a'::uuid]);

-- Query #44721 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '75a943f8-9b63-4781-fb16-6158fee1011f'::uuid;

-- Query #44722 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['75a943f8-9b63-4781-fb16-6158fee1011f'::uuid]);

-- Query #44723 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '75a943f8-9b63-4781-fb16-6158fee1011f'::uuid;

-- Query #44724 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '75a943f8-9b63-4781-fb16-6158fee1011f'::uuid;

-- Query #44725 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '75a943f8-9b63-4781-fb16-6158fee1011f'::uuid;

-- Query #44726 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44727 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['75a943f8-9b63-4781-fb16-6158fee1011f'::uuid]);

-- Query #44728 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '428599f8-23c6-6b4d-8195-b52b7f4de717'::uuid;

-- Query #44729 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['428599f8-23c6-6b4d-8195-b52b7f4de717'::uuid]);

-- Query #44730 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '428599f8-23c6-6b4d-8195-b52b7f4de717'::uuid;

-- Query #44731 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '428599f8-23c6-6b4d-8195-b52b7f4de717'::uuid;

-- Query #44732 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '428599f8-23c6-6b4d-8195-b52b7f4de717'::uuid;

-- Query #44733 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44734 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['428599f8-23c6-6b4d-8195-b52b7f4de717'::uuid]);

-- Query #44735 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c34f43fc-0611-1189-c5cf-0e93a4f136b1'::uuid;

-- Query #44736 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c34f43fc-0611-1189-c5cf-0e93a4f136b1'::uuid]);

-- Query #44737 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c34f43fc-0611-1189-c5cf-0e93a4f136b1'::uuid;

-- Query #44738 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c34f43fc-0611-1189-c5cf-0e93a4f136b1'::uuid;

-- Query #44739 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c34f43fc-0611-1189-c5cf-0e93a4f136b1'::uuid;

-- Query #44740 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44741 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c34f43fc-0611-1189-c5cf-0e93a4f136b1'::uuid]);

-- Query #44742 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd79e2948-7cef-e713-dec7-1d22f862fb6a'::uuid;

-- Query #44743 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d79e2948-7cef-e713-dec7-1d22f862fb6a'::uuid]);

-- Query #44744 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd79e2948-7cef-e713-dec7-1d22f862fb6a'::uuid;

-- Query #44745 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd79e2948-7cef-e713-dec7-1d22f862fb6a'::uuid;

-- Query #44746 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd79e2948-7cef-e713-dec7-1d22f862fb6a'::uuid;

-- Query #44747 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44748 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d79e2948-7cef-e713-dec7-1d22f862fb6a'::uuid]);

-- Query #44749 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f17574f6-f398-145e-6c4a-f2d7f33e39bf'::uuid;

-- Query #44750 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f17574f6-f398-145e-6c4a-f2d7f33e39bf'::uuid]);

-- Query #44751 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f17574f6-f398-145e-6c4a-f2d7f33e39bf'::uuid;

-- Query #44752 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f17574f6-f398-145e-6c4a-f2d7f33e39bf'::uuid;

-- Query #44753 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f17574f6-f398-145e-6c4a-f2d7f33e39bf'::uuid;

-- Query #44754 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44755 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f17574f6-f398-145e-6c4a-f2d7f33e39bf'::uuid]);

-- Query #44756 | logged_duration_ms=140 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T22:26:52.2520590Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #44757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89a9c7d2-ebee-2f13-8e12-1d818ceaafea'::uuid;

-- Query #44758 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['89a9c7d2-ebee-2f13-8e12-1d818ceaafea'::uuid]);

-- Query #44759 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '89a9c7d2-ebee-2f13-8e12-1d818ceaafea'::uuid;

-- Query #44760 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '89a9c7d2-ebee-2f13-8e12-1d818ceaafea'::uuid;

-- Query #44761 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '89a9c7d2-ebee-2f13-8e12-1d818ceaafea'::uuid;

-- Query #44762 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44763 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['89a9c7d2-ebee-2f13-8e12-1d818ceaafea'::uuid]);

-- Query #44764 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b117c529-c8ed-94c2-8d33-bde67eab6e93'::uuid;

-- Query #44765 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b117c529-c8ed-94c2-8d33-bde67eab6e93'::uuid]);

-- Query #44766 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b117c529-c8ed-94c2-8d33-bde67eab6e93'::uuid;

-- Query #44767 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b117c529-c8ed-94c2-8d33-bde67eab6e93'::uuid;

-- Query #44768 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b117c529-c8ed-94c2-8d33-bde67eab6e93'::uuid;

-- Query #44769 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44770 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b117c529-c8ed-94c2-8d33-bde67eab6e93'::uuid]);

-- Query #44771 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14865ad0-60f0-8daa-7387-93351986b0a6'::uuid;

-- Query #44772 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14865ad0-60f0-8daa-7387-93351986b0a6'::uuid]);

-- Query #44773 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '14865ad0-60f0-8daa-7387-93351986b0a6'::uuid;

-- Query #44774 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14865ad0-60f0-8daa-7387-93351986b0a6'::uuid;

-- Query #44775 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '14865ad0-60f0-8daa-7387-93351986b0a6'::uuid;

-- Query #44776 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44777 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['14865ad0-60f0-8daa-7387-93351986b0a6'::uuid]);

-- Query #44778 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74babd5c-60db-99a3-2d24-cb0d3b9384fa'::uuid;

-- Query #44779 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['74babd5c-60db-99a3-2d24-cb0d3b9384fa'::uuid]);

-- Query #44780 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '74babd5c-60db-99a3-2d24-cb0d3b9384fa'::uuid;

-- Query #44781 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74babd5c-60db-99a3-2d24-cb0d3b9384fa'::uuid;

-- Query #44782 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '74babd5c-60db-99a3-2d24-cb0d3b9384fa'::uuid;

-- Query #44783 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44784 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['74babd5c-60db-99a3-2d24-cb0d3b9384fa'::uuid]);

-- Query #44785 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '020c8bc3-0178-7495-1be6-5017c2471815'::uuid;

-- Query #44786 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['020c8bc3-0178-7495-1be6-5017c2471815'::uuid]);

-- Query #44787 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '020c8bc3-0178-7495-1be6-5017c2471815'::uuid;

-- Query #44788 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '020c8bc3-0178-7495-1be6-5017c2471815'::uuid;

-- Query #44789 | logged_duration_ms=7 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '020c8bc3-0178-7495-1be6-5017c2471815'::uuid;

-- Query #44790 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44791 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['020c8bc3-0178-7495-1be6-5017c2471815'::uuid]);

-- Query #44792 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a8b00e5d-c84e-9b7d-1f6a-930e00b4a7bf'::uuid;

-- Query #44793 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8b00e5d-c84e-9b7d-1f6a-930e00b4a7bf'::uuid]);

-- Query #44794 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a8b00e5d-c84e-9b7d-1f6a-930e00b4a7bf'::uuid;

-- Query #44795 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a8b00e5d-c84e-9b7d-1f6a-930e00b4a7bf'::uuid;

-- Query #44796 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a8b00e5d-c84e-9b7d-1f6a-930e00b4a7bf'::uuid;

-- Query #44797 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44798 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a8b00e5d-c84e-9b7d-1f6a-930e00b4a7bf'::uuid]);

-- Query #44799 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fefb011c-5f9c-afc1-b073-821fa47d5716'::uuid;

-- Query #44800 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fefb011c-5f9c-afc1-b073-821fa47d5716'::uuid]);

-- Query #44801 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fefb011c-5f9c-afc1-b073-821fa47d5716'::uuid;

-- Query #44802 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fefb011c-5f9c-afc1-b073-821fa47d5716'::uuid;

-- Query #44803 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fefb011c-5f9c-afc1-b073-821fa47d5716'::uuid;

-- Query #44804 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44805 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fefb011c-5f9c-afc1-b073-821fa47d5716'::uuid]);

-- Query #44806 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e9d7d9e-03bb-5a04-207e-381701ba2679'::uuid;

-- Query #44807 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e9d7d9e-03bb-5a04-207e-381701ba2679'::uuid]);

-- Query #44808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2e9d7d9e-03bb-5a04-207e-381701ba2679'::uuid;

-- Query #44809 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e9d7d9e-03bb-5a04-207e-381701ba2679'::uuid;

-- Query #44810 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2e9d7d9e-03bb-5a04-207e-381701ba2679'::uuid;

-- Query #44811 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44812 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2e9d7d9e-03bb-5a04-207e-381701ba2679'::uuid]);

-- Query #44813 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1bea6c80-abc4-4bf5-36d1-5f04501988f5'::uuid;

-- Query #44814 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1bea6c80-abc4-4bf5-36d1-5f04501988f5'::uuid]);

-- Query #44815 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1bea6c80-abc4-4bf5-36d1-5f04501988f5'::uuid;

-- Query #44816 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1bea6c80-abc4-4bf5-36d1-5f04501988f5'::uuid;

-- Query #44817 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1bea6c80-abc4-4bf5-36d1-5f04501988f5'::uuid;

-- Query #44818 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44819 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1bea6c80-abc4-4bf5-36d1-5f04501988f5'::uuid]);

-- Query #44820 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd37b7686-ceef-4f2f-658c-9484a3828548'::uuid;

-- Query #44821 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d37b7686-ceef-4f2f-658c-9484a3828548'::uuid]);

-- Query #44822 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd37b7686-ceef-4f2f-658c-9484a3828548'::uuid;

-- Query #44823 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd37b7686-ceef-4f2f-658c-9484a3828548'::uuid;

-- Query #44824 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd37b7686-ceef-4f2f-658c-9484a3828548'::uuid;

-- Query #44825 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44826 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d37b7686-ceef-4f2f-658c-9484a3828548'::uuid]);

-- Query #44827 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd768073e-b214-bcb9-53c0-af3ab88c1da4'::uuid;

-- Query #44828 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d768073e-b214-bcb9-53c0-af3ab88c1da4'::uuid]);

-- Query #44829 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd768073e-b214-bcb9-53c0-af3ab88c1da4'::uuid;

-- Query #44830 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd768073e-b214-bcb9-53c0-af3ab88c1da4'::uuid;

-- Query #44831 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd768073e-b214-bcb9-53c0-af3ab88c1da4'::uuid;

-- Query #44832 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44833 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d768073e-b214-bcb9-53c0-af3ab88c1da4'::uuid]);

-- Query #44834 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7361b6dc-3de7-3a23-1b79-f53fdd0e1e92'::uuid;

-- Query #44835 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7361b6dc-3de7-3a23-1b79-f53fdd0e1e92'::uuid]);

-- Query #44836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7361b6dc-3de7-3a23-1b79-f53fdd0e1e92'::uuid;

-- Query #44837 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7361b6dc-3de7-3a23-1b79-f53fdd0e1e92'::uuid;

-- Query #44838 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7361b6dc-3de7-3a23-1b79-f53fdd0e1e92'::uuid;

-- Query #44839 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44840 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7361b6dc-3de7-3a23-1b79-f53fdd0e1e92'::uuid]);

-- Query #44841 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5fac2800-8197-11d9-ace1-368ec1bd7049'::uuid;

-- Query #44842 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5fac2800-8197-11d9-ace1-368ec1bd7049'::uuid]);

-- Query #44843 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5fac2800-8197-11d9-ace1-368ec1bd7049'::uuid;

-- Query #44844 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5fac2800-8197-11d9-ace1-368ec1bd7049'::uuid;

-- Query #44845 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5fac2800-8197-11d9-ace1-368ec1bd7049'::uuid;

-- Query #44846 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44847 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5fac2800-8197-11d9-ace1-368ec1bd7049'::uuid]);

-- Query #44848 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '799ff682-7493-b293-48b4-077e3ddb2833'::uuid;

-- Query #44849 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['799ff682-7493-b293-48b4-077e3ddb2833'::uuid]);

-- Query #44850 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '799ff682-7493-b293-48b4-077e3ddb2833'::uuid;

-- Query #44851 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '799ff682-7493-b293-48b4-077e3ddb2833'::uuid;

-- Query #44852 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '799ff682-7493-b293-48b4-077e3ddb2833'::uuid;

-- Query #44853 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44854 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['799ff682-7493-b293-48b4-077e3ddb2833'::uuid]);

-- Query #44855 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b774d6a-301c-1d9a-193b-d97bf258813f'::uuid;

-- Query #44856 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b774d6a-301c-1d9a-193b-d97bf258813f'::uuid]);

-- Query #44857 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4b774d6a-301c-1d9a-193b-d97bf258813f'::uuid;

-- Query #44858 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b774d6a-301c-1d9a-193b-d97bf258813f'::uuid;

-- Query #44859 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4b774d6a-301c-1d9a-193b-d97bf258813f'::uuid;

-- Query #44860 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44861 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4b774d6a-301c-1d9a-193b-d97bf258813f'::uuid]);

-- Query #44862 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7dbcab0c-96b0-71c2-896c-be1cff68edad'::uuid;

-- Query #44863 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7dbcab0c-96b0-71c2-896c-be1cff68edad'::uuid]);

-- Query #44864 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7dbcab0c-96b0-71c2-896c-be1cff68edad'::uuid;

-- Query #44865 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7dbcab0c-96b0-71c2-896c-be1cff68edad'::uuid;

-- Query #44866 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7dbcab0c-96b0-71c2-896c-be1cff68edad'::uuid;

-- Query #44867 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44868 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7dbcab0c-96b0-71c2-896c-be1cff68edad'::uuid]);

-- Query #44869 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a30a0f3c-0a1c-1647-d6cc-7e894fa9419c'::uuid;

-- Query #44870 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a30a0f3c-0a1c-1647-d6cc-7e894fa9419c'::uuid]);

-- Query #44871 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a30a0f3c-0a1c-1647-d6cc-7e894fa9419c'::uuid;

-- Query #44872 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a30a0f3c-0a1c-1647-d6cc-7e894fa9419c'::uuid;

-- Query #44873 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a30a0f3c-0a1c-1647-d6cc-7e894fa9419c'::uuid;

-- Query #44874 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44875 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a30a0f3c-0a1c-1647-d6cc-7e894fa9419c'::uuid]);

-- Query #44876 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2984810b-3d9c-9712-9b84-458b7259714f'::uuid;

-- Query #44877 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2984810b-3d9c-9712-9b84-458b7259714f'::uuid]);

-- Query #44878 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2984810b-3d9c-9712-9b84-458b7259714f'::uuid;

-- Query #44879 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2984810b-3d9c-9712-9b84-458b7259714f'::uuid;

-- Query #44880 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2984810b-3d9c-9712-9b84-458b7259714f'::uuid;

-- Query #44881 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44882 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2984810b-3d9c-9712-9b84-458b7259714f'::uuid]);

-- Query #44883 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '33048a4b-c039-c5bf-6fb6-7c9ac9f02756'::uuid;

-- Query #44884 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['33048a4b-c039-c5bf-6fb6-7c9ac9f02756'::uuid]);

-- Query #44885 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '33048a4b-c039-c5bf-6fb6-7c9ac9f02756'::uuid;

-- Query #44886 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '33048a4b-c039-c5bf-6fb6-7c9ac9f02756'::uuid;

-- Query #44887 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '33048a4b-c039-c5bf-6fb6-7c9ac9f02756'::uuid;

-- Query #44888 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44889 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['33048a4b-c039-c5bf-6fb6-7c9ac9f02756'::uuid]);

-- Query #44890 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cccc87e5-3ee9-f4fc-e06f-ca6c06397be8'::uuid;

-- Query #44891 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cccc87e5-3ee9-f4fc-e06f-ca6c06397be8'::uuid]);

-- Query #44892 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cccc87e5-3ee9-f4fc-e06f-ca6c06397be8'::uuid;

-- Query #44893 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cccc87e5-3ee9-f4fc-e06f-ca6c06397be8'::uuid;

-- Query #44894 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cccc87e5-3ee9-f4fc-e06f-ca6c06397be8'::uuid;

-- Query #44895 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44896 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cccc87e5-3ee9-f4fc-e06f-ca6c06397be8'::uuid]);

-- Query #44897 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '277cf3a4-451b-1874-e16e-20c4a52a3004'::uuid;

-- Query #44898 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['277cf3a4-451b-1874-e16e-20c4a52a3004'::uuid]);

-- Query #44899 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '277cf3a4-451b-1874-e16e-20c4a52a3004'::uuid;

-- Query #44900 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '277cf3a4-451b-1874-e16e-20c4a52a3004'::uuid;

-- Query #44901 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '277cf3a4-451b-1874-e16e-20c4a52a3004'::uuid;

-- Query #44902 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44903 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['277cf3a4-451b-1874-e16e-20c4a52a3004'::uuid]);

-- Query #44904 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '689ac7d1-eea9-8cdc-45ec-3d569dbef8c8'::uuid;

-- Query #44905 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['689ac7d1-eea9-8cdc-45ec-3d569dbef8c8'::uuid]);

-- Query #44906 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '689ac7d1-eea9-8cdc-45ec-3d569dbef8c8'::uuid;

-- Query #44907 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '689ac7d1-eea9-8cdc-45ec-3d569dbef8c8'::uuid;

-- Query #44908 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '689ac7d1-eea9-8cdc-45ec-3d569dbef8c8'::uuid;

-- Query #44909 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44910 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['689ac7d1-eea9-8cdc-45ec-3d569dbef8c8'::uuid]);

-- Query #44911 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd4e7de91-8271-b3ab-893d-89be118da8df'::uuid;

-- Query #44912 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d4e7de91-8271-b3ab-893d-89be118da8df'::uuid]);

-- Query #44913 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd4e7de91-8271-b3ab-893d-89be118da8df'::uuid;

-- Query #44914 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd4e7de91-8271-b3ab-893d-89be118da8df'::uuid;

-- Query #44915 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd4e7de91-8271-b3ab-893d-89be118da8df'::uuid;

-- Query #44916 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44917 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d4e7de91-8271-b3ab-893d-89be118da8df'::uuid]);

-- Query #44918 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0dbb295-8310-40dc-023f-9621e55fc297'::uuid;

-- Query #44919 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d0dbb295-8310-40dc-023f-9621e55fc297'::uuid]);

-- Query #44920 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd0dbb295-8310-40dc-023f-9621e55fc297'::uuid;

-- Query #44921 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd0dbb295-8310-40dc-023f-9621e55fc297'::uuid;

-- Query #44922 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd0dbb295-8310-40dc-023f-9621e55fc297'::uuid;

-- Query #44923 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #44924 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44925 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d0dbb295-8310-40dc-023f-9621e55fc297'::uuid]);

-- Query #44926 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '072771d9-4e42-aaf0-e27a-71f474a6482f'::uuid;

-- Query #44927 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['072771d9-4e42-aaf0-e27a-71f474a6482f'::uuid]);

-- Query #44928 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '072771d9-4e42-aaf0-e27a-71f474a6482f'::uuid;

-- Query #44929 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '072771d9-4e42-aaf0-e27a-71f474a6482f'::uuid;

-- Query #44930 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '072771d9-4e42-aaf0-e27a-71f474a6482f'::uuid;

-- Query #44931 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44932 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['072771d9-4e42-aaf0-e27a-71f474a6482f'::uuid]);

-- Query #44933 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f98c414-ff7b-e89f-b4cf-dc72cf6bf3c8'::uuid;

-- Query #44934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0f98c414-ff7b-e89f-b4cf-dc72cf6bf3c8'::uuid]);

-- Query #44935 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0f98c414-ff7b-e89f-b4cf-dc72cf6bf3c8'::uuid;

-- Query #44936 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f98c414-ff7b-e89f-b4cf-dc72cf6bf3c8'::uuid;

-- Query #44937 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0f98c414-ff7b-e89f-b4cf-dc72cf6bf3c8'::uuid;

-- Query #44938 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44939 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0f98c414-ff7b-e89f-b4cf-dc72cf6bf3c8'::uuid]);

-- Query #44940 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da8c4e8a-d6d1-1fba-2241-aebbf643bed7'::uuid;

-- Query #44941 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da8c4e8a-d6d1-1fba-2241-aebbf643bed7'::uuid]);

-- Query #44942 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'da8c4e8a-d6d1-1fba-2241-aebbf643bed7'::uuid;

-- Query #44943 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da8c4e8a-d6d1-1fba-2241-aebbf643bed7'::uuid;

-- Query #44944 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'da8c4e8a-d6d1-1fba-2241-aebbf643bed7'::uuid;

-- Query #44945 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44946 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['da8c4e8a-d6d1-1fba-2241-aebbf643bed7'::uuid]);

-- Query #44947 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b04c3da4-ef7e-9c9d-b902-011d911363d5'::uuid;

-- Query #44948 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b04c3da4-ef7e-9c9d-b902-011d911363d5'::uuid]);

-- Query #44949 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b04c3da4-ef7e-9c9d-b902-011d911363d5'::uuid;

-- Query #44950 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b04c3da4-ef7e-9c9d-b902-011d911363d5'::uuid;

-- Query #44951 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b04c3da4-ef7e-9c9d-b902-011d911363d5'::uuid;

-- Query #44952 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44953 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b04c3da4-ef7e-9c9d-b902-011d911363d5'::uuid]);

-- Query #44954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a489d8c7-11eb-6040-265e-11de6529b526'::uuid;

-- Query #44955 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a489d8c7-11eb-6040-265e-11de6529b526'::uuid]);

-- Query #44956 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a489d8c7-11eb-6040-265e-11de6529b526'::uuid;

-- Query #44957 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a489d8c7-11eb-6040-265e-11de6529b526'::uuid;

-- Query #44958 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a489d8c7-11eb-6040-265e-11de6529b526'::uuid;

-- Query #44959 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44960 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a489d8c7-11eb-6040-265e-11de6529b526'::uuid]);

-- Query #44961 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8602e550-efd6-d234-ffa5-cf8a70c77e77'::uuid;

-- Query #44962 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8602e550-efd6-d234-ffa5-cf8a70c77e77'::uuid]);

-- Query #44963 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8602e550-efd6-d234-ffa5-cf8a70c77e77'::uuid;

-- Query #44964 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8602e550-efd6-d234-ffa5-cf8a70c77e77'::uuid;

-- Query #44965 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8602e550-efd6-d234-ffa5-cf8a70c77e77'::uuid;

-- Query #44966 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44967 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8602e550-efd6-d234-ffa5-cf8a70c77e77'::uuid]);

-- Query #44968 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e509107-876e-be6a-9cdb-1ec1efd49580'::uuid;

-- Query #44969 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6e509107-876e-be6a-9cdb-1ec1efd49580'::uuid]);

-- Query #44970 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6e509107-876e-be6a-9cdb-1ec1efd49580'::uuid;

-- Query #44971 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6e509107-876e-be6a-9cdb-1ec1efd49580'::uuid;

-- Query #44972 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6e509107-876e-be6a-9cdb-1ec1efd49580'::uuid;

-- Query #44973 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44974 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6e509107-876e-be6a-9cdb-1ec1efd49580'::uuid]);

-- Query #44975 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8f145c14-bdbb-054f-14ed-2d3eeee5e5d6'::uuid;

-- Query #44976 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f145c14-bdbb-054f-14ed-2d3eeee5e5d6'::uuid]);

-- Query #44977 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8f145c14-bdbb-054f-14ed-2d3eeee5e5d6'::uuid;

-- Query #44978 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8f145c14-bdbb-054f-14ed-2d3eeee5e5d6'::uuid;

-- Query #44979 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8f145c14-bdbb-054f-14ed-2d3eeee5e5d6'::uuid;

-- Query #44980 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44981 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8f145c14-bdbb-054f-14ed-2d3eeee5e5d6'::uuid]);

-- Query #44982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9486519c-ba9f-defb-9680-3320dc83907e'::uuid;

-- Query #44983 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9486519c-ba9f-defb-9680-3320dc83907e'::uuid]);

-- Query #44984 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9486519c-ba9f-defb-9680-3320dc83907e'::uuid;

-- Query #44985 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9486519c-ba9f-defb-9680-3320dc83907e'::uuid;

-- Query #44986 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9486519c-ba9f-defb-9680-3320dc83907e'::uuid;

-- Query #44987 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44988 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9486519c-ba9f-defb-9680-3320dc83907e'::uuid]);

-- Query #44989 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4693f53-598a-2665-1435-b8cc8d1cffc0'::uuid;

-- Query #44990 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c4693f53-598a-2665-1435-b8cc8d1cffc0'::uuid]);

-- Query #44991 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c4693f53-598a-2665-1435-b8cc8d1cffc0'::uuid;

-- Query #44992 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c4693f53-598a-2665-1435-b8cc8d1cffc0'::uuid;

-- Query #44993 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c4693f53-598a-2665-1435-b8cc8d1cffc0'::uuid;

-- Query #44994 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #44995 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c4693f53-598a-2665-1435-b8cc8d1cffc0'::uuid]);

-- Query #44996 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6eb63693-08ae-6757-aad2-b4e5aa2059cc'::uuid;

-- Query #44997 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6eb63693-08ae-6757-aad2-b4e5aa2059cc'::uuid]);

-- Query #44998 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6eb63693-08ae-6757-aad2-b4e5aa2059cc'::uuid;

-- Query #44999 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6eb63693-08ae-6757-aad2-b4e5aa2059cc'::uuid;

-- Query #45000 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6eb63693-08ae-6757-aad2-b4e5aa2059cc'::uuid;

-- Query #45001 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45002 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6eb63693-08ae-6757-aad2-b4e5aa2059cc'::uuid]);

-- Query #45003 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48dc0360-39cf-3063-cac2-d43cc00bbf81'::uuid;

-- Query #45004 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48dc0360-39cf-3063-cac2-d43cc00bbf81'::uuid]);

-- Query #45005 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '48dc0360-39cf-3063-cac2-d43cc00bbf81'::uuid;

-- Query #45006 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '48dc0360-39cf-3063-cac2-d43cc00bbf81'::uuid;

-- Query #45007 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '48dc0360-39cf-3063-cac2-d43cc00bbf81'::uuid;

-- Query #45008 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45009 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['48dc0360-39cf-3063-cac2-d43cc00bbf81'::uuid]);

-- Query #45010 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '834ea51f-4f29-fc19-157b-7b9e7351728c'::uuid;

-- Query #45011 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['834ea51f-4f29-fc19-157b-7b9e7351728c'::uuid]);

-- Query #45012 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '834ea51f-4f29-fc19-157b-7b9e7351728c'::uuid;

-- Query #45013 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '834ea51f-4f29-fc19-157b-7b9e7351728c'::uuid;

-- Query #45014 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '834ea51f-4f29-fc19-157b-7b9e7351728c'::uuid;

-- Query #45015 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45016 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['834ea51f-4f29-fc19-157b-7b9e7351728c'::uuid]);

-- Query #45017 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c26f122c-63c7-2c3e-7451-324c4b422ce6'::uuid;

-- Query #45018 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c26f122c-63c7-2c3e-7451-324c4b422ce6'::uuid]);

-- Query #45019 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c26f122c-63c7-2c3e-7451-324c4b422ce6'::uuid;

-- Query #45020 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c26f122c-63c7-2c3e-7451-324c4b422ce6'::uuid;

-- Query #45021 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c26f122c-63c7-2c3e-7451-324c4b422ce6'::uuid;

-- Query #45022 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45023 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c26f122c-63c7-2c3e-7451-324c4b422ce6'::uuid]);

-- Query #45024 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2ad7881a-5736-c1ff-e76a-4b4d8e1680b3'::uuid;

-- Query #45025 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ad7881a-5736-c1ff-e76a-4b4d8e1680b3'::uuid]);

-- Query #45026 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2ad7881a-5736-c1ff-e76a-4b4d8e1680b3'::uuid;

-- Query #45027 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2ad7881a-5736-c1ff-e76a-4b4d8e1680b3'::uuid;

-- Query #45028 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2ad7881a-5736-c1ff-e76a-4b4d8e1680b3'::uuid;

-- Query #45029 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45030 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2ad7881a-5736-c1ff-e76a-4b4d8e1680b3'::uuid]);

-- Query #45031 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cdc4ab8b-8df7-162c-a868-ae3a899a95e3'::uuid;

-- Query #45032 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cdc4ab8b-8df7-162c-a868-ae3a899a95e3'::uuid]);

-- Query #45033 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cdc4ab8b-8df7-162c-a868-ae3a899a95e3'::uuid;

-- Query #45034 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cdc4ab8b-8df7-162c-a868-ae3a899a95e3'::uuid;

-- Query #45035 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cdc4ab8b-8df7-162c-a868-ae3a899a95e3'::uuid;

-- Query #45036 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45037 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cdc4ab8b-8df7-162c-a868-ae3a899a95e3'::uuid]);

-- Query #45038 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6eb8b243-4ebd-1467-1ddc-efffc3ab06f2'::uuid;

-- Query #45039 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6eb8b243-4ebd-1467-1ddc-efffc3ab06f2'::uuid]);

-- Query #45040 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6eb8b243-4ebd-1467-1ddc-efffc3ab06f2'::uuid;

-- Query #45041 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6eb8b243-4ebd-1467-1ddc-efffc3ab06f2'::uuid;

-- Query #45042 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6eb8b243-4ebd-1467-1ddc-efffc3ab06f2'::uuid;

-- Query #45043 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45044 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6eb8b243-4ebd-1467-1ddc-efffc3ab06f2'::uuid]);

-- Query #45045 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ac575e62-77ad-0936-ea7c-1d5c1a9d3d69'::uuid;

-- Query #45046 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ac575e62-77ad-0936-ea7c-1d5c1a9d3d69'::uuid]);

-- Query #45047 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ac575e62-77ad-0936-ea7c-1d5c1a9d3d69'::uuid;

-- Query #45048 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ac575e62-77ad-0936-ea7c-1d5c1a9d3d69'::uuid;

-- Query #45049 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ac575e62-77ad-0936-ea7c-1d5c1a9d3d69'::uuid;

-- Query #45050 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45051 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ac575e62-77ad-0936-ea7c-1d5c1a9d3d69'::uuid]);

-- Query #45052 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6281f0ef-1d0d-6652-544f-90d054ceeb67'::uuid;

-- Query #45053 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6281f0ef-1d0d-6652-544f-90d054ceeb67'::uuid]);

-- Query #45054 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6281f0ef-1d0d-6652-544f-90d054ceeb67'::uuid;

-- Query #45055 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6281f0ef-1d0d-6652-544f-90d054ceeb67'::uuid;

-- Query #45056 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6281f0ef-1d0d-6652-544f-90d054ceeb67'::uuid;

-- Query #45057 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45058 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6281f0ef-1d0d-6652-544f-90d054ceeb67'::uuid]);

-- Query #45059 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af69f631-9c60-44f9-1d8c-321c220c3b48'::uuid;

-- Query #45060 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af69f631-9c60-44f9-1d8c-321c220c3b48'::uuid]);

-- Query #45061 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'af69f631-9c60-44f9-1d8c-321c220c3b48'::uuid;

-- Query #45062 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'af69f631-9c60-44f9-1d8c-321c220c3b48'::uuid;

-- Query #45063 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'af69f631-9c60-44f9-1d8c-321c220c3b48'::uuid;

-- Query #45064 | logged_duration_ms=8 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45065 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['af69f631-9c60-44f9-1d8c-321c220c3b48'::uuid]);

-- Query #45066 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58e41b68-1d05-8e8e-e04b-f704883e1088'::uuid;

-- Query #45067 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58e41b68-1d05-8e8e-e04b-f704883e1088'::uuid]);

-- Query #45068 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '58e41b68-1d05-8e8e-e04b-f704883e1088'::uuid;

-- Query #45069 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '58e41b68-1d05-8e8e-e04b-f704883e1088'::uuid;

-- Query #45070 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '58e41b68-1d05-8e8e-e04b-f704883e1088'::uuid;

-- Query #45071 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45072 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['58e41b68-1d05-8e8e-e04b-f704883e1088'::uuid]);

-- Query #45073 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6147dc08-802c-4b88-3738-66b7a1b0577c'::uuid;

-- Query #45074 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6147dc08-802c-4b88-3738-66b7a1b0577c'::uuid]);

-- Query #45075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6147dc08-802c-4b88-3738-66b7a1b0577c'::uuid;

-- Query #45076 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6147dc08-802c-4b88-3738-66b7a1b0577c'::uuid;

-- Query #45077 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6147dc08-802c-4b88-3738-66b7a1b0577c'::uuid;

-- Query #45078 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45079 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6147dc08-802c-4b88-3738-66b7a1b0577c'::uuid]);

-- Query #45080 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0561086b-58b5-c49a-da81-25ec33281c27'::uuid;

-- Query #45081 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0561086b-58b5-c49a-da81-25ec33281c27'::uuid]);

-- Query #45082 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0561086b-58b5-c49a-da81-25ec33281c27'::uuid;

-- Query #45083 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0561086b-58b5-c49a-da81-25ec33281c27'::uuid;

-- Query #45084 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0561086b-58b5-c49a-da81-25ec33281c27'::uuid;

-- Query #45085 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45086 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0561086b-58b5-c49a-da81-25ec33281c27'::uuid]);

-- Query #45087 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1a7b1eb1-e5b7-435a-6ea0-0ec0214ec8a0'::uuid;

-- Query #45088 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1a7b1eb1-e5b7-435a-6ea0-0ec0214ec8a0'::uuid]);

-- Query #45089 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1a7b1eb1-e5b7-435a-6ea0-0ec0214ec8a0'::uuid;

-- Query #45090 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1a7b1eb1-e5b7-435a-6ea0-0ec0214ec8a0'::uuid;

-- Query #45091 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1a7b1eb1-e5b7-435a-6ea0-0ec0214ec8a0'::uuid;

-- Query #45092 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45093 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1a7b1eb1-e5b7-435a-6ea0-0ec0214ec8a0'::uuid]);

-- Query #45094 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07dab7be-625e-e9e2-d8df-2ffe90d6a44f'::uuid;

-- Query #45095 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07dab7be-625e-e9e2-d8df-2ffe90d6a44f'::uuid]);

-- Query #45096 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '07dab7be-625e-e9e2-d8df-2ffe90d6a44f'::uuid;

-- Query #45097 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '07dab7be-625e-e9e2-d8df-2ffe90d6a44f'::uuid;

-- Query #45098 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '07dab7be-625e-e9e2-d8df-2ffe90d6a44f'::uuid;

-- Query #45099 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45100 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['07dab7be-625e-e9e2-d8df-2ffe90d6a44f'::uuid]);

-- Query #45101 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df72eb3e-eb1a-f081-3fee-baaead3091c2'::uuid;

-- Query #45102 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df72eb3e-eb1a-f081-3fee-baaead3091c2'::uuid]);

-- Query #45103 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'df72eb3e-eb1a-f081-3fee-baaead3091c2'::uuid;

-- Query #45104 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'df72eb3e-eb1a-f081-3fee-baaead3091c2'::uuid;

-- Query #45105 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'df72eb3e-eb1a-f081-3fee-baaead3091c2'::uuid;

-- Query #45106 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45107 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['df72eb3e-eb1a-f081-3fee-baaead3091c2'::uuid]);

-- Query #45108 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '28cd532c-bc47-cbb9-26d2-be5251a3b8db'::uuid;

-- Query #45109 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['28cd532c-bc47-cbb9-26d2-be5251a3b8db'::uuid]);

-- Query #45110 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '28cd532c-bc47-cbb9-26d2-be5251a3b8db'::uuid;

-- Query #45111 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '28cd532c-bc47-cbb9-26d2-be5251a3b8db'::uuid;

-- Query #45112 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '28cd532c-bc47-cbb9-26d2-be5251a3b8db'::uuid;

-- Query #45113 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45114 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['28cd532c-bc47-cbb9-26d2-be5251a3b8db'::uuid]);

-- Query #45115 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '321d788e-f546-d366-ac2b-b333753dae8b'::uuid;

-- Query #45116 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['321d788e-f546-d366-ac2b-b333753dae8b'::uuid]);

-- Query #45117 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '321d788e-f546-d366-ac2b-b333753dae8b'::uuid;

-- Query #45118 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '321d788e-f546-d366-ac2b-b333753dae8b'::uuid;

-- Query #45119 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '321d788e-f546-d366-ac2b-b333753dae8b'::uuid;

-- Query #45120 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45121 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['321d788e-f546-d366-ac2b-b333753dae8b'::uuid]);

-- Query #45122 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70ad7fbc-d039-9e80-92b3-d68b2d843140'::uuid;

-- Query #45123 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70ad7fbc-d039-9e80-92b3-d68b2d843140'::uuid]);

-- Query #45124 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '70ad7fbc-d039-9e80-92b3-d68b2d843140'::uuid;

-- Query #45125 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '70ad7fbc-d039-9e80-92b3-d68b2d843140'::uuid;

-- Query #45126 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '70ad7fbc-d039-9e80-92b3-d68b2d843140'::uuid;

-- Query #45127 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45128 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['70ad7fbc-d039-9e80-92b3-d68b2d843140'::uuid]);

-- Query #45129 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '442db271-22a4-b9cc-7ea4-3146234b8978'::uuid;

-- Query #45130 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['442db271-22a4-b9cc-7ea4-3146234b8978'::uuid]);

-- Query #45131 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '442db271-22a4-b9cc-7ea4-3146234b8978'::uuid;

-- Query #45132 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '442db271-22a4-b9cc-7ea4-3146234b8978'::uuid;

-- Query #45133 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '442db271-22a4-b9cc-7ea4-3146234b8978'::uuid;

-- Query #45134 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45135 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['442db271-22a4-b9cc-7ea4-3146234b8978'::uuid]);

-- Query #45136 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '718dbfc9-d1e3-ee21-f56c-3996b655a949'::uuid;

-- Query #45137 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['718dbfc9-d1e3-ee21-f56c-3996b655a949'::uuid]);

-- Query #45138 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '718dbfc9-d1e3-ee21-f56c-3996b655a949'::uuid;

-- Query #45139 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '718dbfc9-d1e3-ee21-f56c-3996b655a949'::uuid;

-- Query #45140 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '718dbfc9-d1e3-ee21-f56c-3996b655a949'::uuid;

-- Query #45141 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45142 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['718dbfc9-d1e3-ee21-f56c-3996b655a949'::uuid]);

-- Query #45143 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d05d72e-8f22-3149-c656-128d57f2778b'::uuid;

-- Query #45144 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d05d72e-8f22-3149-c656-128d57f2778b'::uuid]);

-- Query #45145 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5d05d72e-8f22-3149-c656-128d57f2778b'::uuid;

-- Query #45146 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5d05d72e-8f22-3149-c656-128d57f2778b'::uuid;

-- Query #45147 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5d05d72e-8f22-3149-c656-128d57f2778b'::uuid;

-- Query #45148 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45149 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5d05d72e-8f22-3149-c656-128d57f2778b'::uuid]);

-- Query #45150 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6674cff2-2eec-af5d-5c95-a710c7c0e0f0'::uuid;

-- Query #45151 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6674cff2-2eec-af5d-5c95-a710c7c0e0f0'::uuid]);

-- Query #45152 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6674cff2-2eec-af5d-5c95-a710c7c0e0f0'::uuid;

-- Query #45153 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6674cff2-2eec-af5d-5c95-a710c7c0e0f0'::uuid;

-- Query #45154 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6674cff2-2eec-af5d-5c95-a710c7c0e0f0'::uuid;

-- Query #45155 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45156 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6674cff2-2eec-af5d-5c95-a710c7c0e0f0'::uuid]);

-- Query #45157 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bc475923-9cca-aac6-a2ec-a8d3e073657d'::uuid;

-- Query #45158 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bc475923-9cca-aac6-a2ec-a8d3e073657d'::uuid]);

-- Query #45159 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bc475923-9cca-aac6-a2ec-a8d3e073657d'::uuid;

-- Query #45160 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bc475923-9cca-aac6-a2ec-a8d3e073657d'::uuid;

-- Query #45161 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bc475923-9cca-aac6-a2ec-a8d3e073657d'::uuid;

-- Query #45162 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45163 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bc475923-9cca-aac6-a2ec-a8d3e073657d'::uuid]);

-- Query #45164 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '65b63985-636c-1392-5fe9-0a230f0acf4c'::uuid;

-- Query #45165 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65b63985-636c-1392-5fe9-0a230f0acf4c'::uuid]);

-- Query #45166 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '65b63985-636c-1392-5fe9-0a230f0acf4c'::uuid;

-- Query #45167 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '65b63985-636c-1392-5fe9-0a230f0acf4c'::uuid;

-- Query #45168 | logged_duration_ms=2 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '65b63985-636c-1392-5fe9-0a230f0acf4c'::uuid;

-- Query #45169 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45170 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['65b63985-636c-1392-5fe9-0a230f0acf4c'::uuid]);

-- Query #45171 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '42d6ad42-937c-e6cd-a2eb-dfc4a5b1f2c8'::uuid;

-- Query #45172 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42d6ad42-937c-e6cd-a2eb-dfc4a5b1f2c8'::uuid]);

-- Query #45173 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '42d6ad42-937c-e6cd-a2eb-dfc4a5b1f2c8'::uuid;

-- Query #45174 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '42d6ad42-937c-e6cd-a2eb-dfc4a5b1f2c8'::uuid;

-- Query #45175 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '42d6ad42-937c-e6cd-a2eb-dfc4a5b1f2c8'::uuid;

-- Query #45176 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45177 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['42d6ad42-937c-e6cd-a2eb-dfc4a5b1f2c8'::uuid]);

-- Query #45178 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '08064e03-e380-50e2-ab3b-f4bcccd61052'::uuid;

-- Query #45179 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['08064e03-e380-50e2-ab3b-f4bcccd61052'::uuid]);

-- Query #45180 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '08064e03-e380-50e2-ab3b-f4bcccd61052'::uuid;

-- Query #45181 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '08064e03-e380-50e2-ab3b-f4bcccd61052'::uuid;

-- Query #45182 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '08064e03-e380-50e2-ab3b-f4bcccd61052'::uuid;

-- Query #45183 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45184 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['08064e03-e380-50e2-ab3b-f4bcccd61052'::uuid]);

-- Query #45185 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b32e14cc-9321-c9cb-1d58-3abb5f5755ad'::uuid;

-- Query #45186 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b32e14cc-9321-c9cb-1d58-3abb5f5755ad'::uuid]);

-- Query #45187 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b32e14cc-9321-c9cb-1d58-3abb5f5755ad'::uuid;

-- Query #45188 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b32e14cc-9321-c9cb-1d58-3abb5f5755ad'::uuid;

-- Query #45189 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b32e14cc-9321-c9cb-1d58-3abb5f5755ad'::uuid;

-- Query #45190 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45191 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b32e14cc-9321-c9cb-1d58-3abb5f5755ad'::uuid]);

-- Query #45192 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #45193 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6886a20e-885d-6e17-9623-2f1b0291b0a4'::uuid;

-- Query #45194 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6886a20e-885d-6e17-9623-2f1b0291b0a4'::uuid]);

-- Query #45195 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6886a20e-885d-6e17-9623-2f1b0291b0a4'::uuid;

-- Query #45196 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6886a20e-885d-6e17-9623-2f1b0291b0a4'::uuid;

-- Query #45197 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6886a20e-885d-6e17-9623-2f1b0291b0a4'::uuid;

-- Query #45198 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45199 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6886a20e-885d-6e17-9623-2f1b0291b0a4'::uuid]);

-- Query #45200 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1a8ba67a-1e75-2905-7c50-ade5aaacf46a'::uuid;

-- Query #45201 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1a8ba67a-1e75-2905-7c50-ade5aaacf46a'::uuid]);

-- Query #45202 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1a8ba67a-1e75-2905-7c50-ade5aaacf46a'::uuid;

-- Query #45203 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1a8ba67a-1e75-2905-7c50-ade5aaacf46a'::uuid;

-- Query #45204 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1a8ba67a-1e75-2905-7c50-ade5aaacf46a'::uuid;

-- Query #45205 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45206 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1a8ba67a-1e75-2905-7c50-ade5aaacf46a'::uuid]);

-- Query #45207 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c46f2a5-6dfa-d4e9-8ee2-ea1ed8542ddd'::uuid;

-- Query #45208 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6c46f2a5-6dfa-d4e9-8ee2-ea1ed8542ddd'::uuid]);

-- Query #45209 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6c46f2a5-6dfa-d4e9-8ee2-ea1ed8542ddd'::uuid;

-- Query #45210 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6c46f2a5-6dfa-d4e9-8ee2-ea1ed8542ddd'::uuid;

-- Query #45211 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6c46f2a5-6dfa-d4e9-8ee2-ea1ed8542ddd'::uuid;

-- Query #45212 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45213 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6c46f2a5-6dfa-d4e9-8ee2-ea1ed8542ddd'::uuid]);

-- Query #45214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff412a16-d1f1-0159-b651-253fe2aa1e0c'::uuid;

-- Query #45215 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ff412a16-d1f1-0159-b651-253fe2aa1e0c'::uuid]);

-- Query #45216 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ff412a16-d1f1-0159-b651-253fe2aa1e0c'::uuid;

-- Query #45217 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ff412a16-d1f1-0159-b651-253fe2aa1e0c'::uuid;

-- Query #45218 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ff412a16-d1f1-0159-b651-253fe2aa1e0c'::uuid;

-- Query #45219 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45220 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ff412a16-d1f1-0159-b651-253fe2aa1e0c'::uuid]);

-- Query #45221 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a97d697a-c20f-9106-2113-c507558563f3'::uuid;

-- Query #45222 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a97d697a-c20f-9106-2113-c507558563f3'::uuid]);

-- Query #45223 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a97d697a-c20f-9106-2113-c507558563f3'::uuid;

-- Query #45224 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a97d697a-c20f-9106-2113-c507558563f3'::uuid;

-- Query #45225 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a97d697a-c20f-9106-2113-c507558563f3'::uuid;

-- Query #45226 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45227 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a97d697a-c20f-9106-2113-c507558563f3'::uuid]);

-- Query #45228 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a4e4a212-a99c-4db7-65dd-1193488eb452'::uuid;

-- Query #45229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a4e4a212-a99c-4db7-65dd-1193488eb452'::uuid]);

-- Query #45230 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a4e4a212-a99c-4db7-65dd-1193488eb452'::uuid;

-- Query #45231 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a4e4a212-a99c-4db7-65dd-1193488eb452'::uuid;

-- Query #45232 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a4e4a212-a99c-4db7-65dd-1193488eb452'::uuid;

-- Query #45233 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45234 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a4e4a212-a99c-4db7-65dd-1193488eb452'::uuid]);

-- Query #45235 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb8ac86c-ef51-1fe1-30ee-08f682a70adf'::uuid;

-- Query #45236 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bb8ac86c-ef51-1fe1-30ee-08f682a70adf'::uuid]);

-- Query #45237 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bb8ac86c-ef51-1fe1-30ee-08f682a70adf'::uuid;

-- Query #45238 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bb8ac86c-ef51-1fe1-30ee-08f682a70adf'::uuid;

-- Query #45239 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bb8ac86c-ef51-1fe1-30ee-08f682a70adf'::uuid;

-- Query #45240 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45241 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bb8ac86c-ef51-1fe1-30ee-08f682a70adf'::uuid]);

-- Query #45242 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c280ea0e-8a17-215f-964a-667ef3773132'::uuid;

-- Query #45243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c280ea0e-8a17-215f-964a-667ef3773132'::uuid]);

-- Query #45244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c280ea0e-8a17-215f-964a-667ef3773132'::uuid;

-- Query #45245 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c280ea0e-8a17-215f-964a-667ef3773132'::uuid;

-- Query #45246 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c280ea0e-8a17-215f-964a-667ef3773132'::uuid;

-- Query #45247 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45248 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c280ea0e-8a17-215f-964a-667ef3773132'::uuid]);

-- Query #45249 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4221a9a7-6917-6dce-c507-7f50ff8be838'::uuid;

-- Query #45250 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4221a9a7-6917-6dce-c507-7f50ff8be838'::uuid]);

-- Query #45251 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4221a9a7-6917-6dce-c507-7f50ff8be838'::uuid;

-- Query #45252 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4221a9a7-6917-6dce-c507-7f50ff8be838'::uuid;

-- Query #45253 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4221a9a7-6917-6dce-c507-7f50ff8be838'::uuid;

-- Query #45254 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45255 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4221a9a7-6917-6dce-c507-7f50ff8be838'::uuid]);

-- Query #45256 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '72e5d35d-d3f8-4da0-f2e9-303800946463'::uuid;

-- Query #45257 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72e5d35d-d3f8-4da0-f2e9-303800946463'::uuid]);

-- Query #45258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '72e5d35d-d3f8-4da0-f2e9-303800946463'::uuid;

-- Query #45259 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '72e5d35d-d3f8-4da0-f2e9-303800946463'::uuid;

-- Query #45260 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '72e5d35d-d3f8-4da0-f2e9-303800946463'::uuid;

-- Query #45261 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45262 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['72e5d35d-d3f8-4da0-f2e9-303800946463'::uuid]);

-- Query #45263 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '56b1ecda-b908-fe6f-f901-1a509545ca81'::uuid;

-- Query #45264 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56b1ecda-b908-fe6f-f901-1a509545ca81'::uuid]);

-- Query #45265 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '56b1ecda-b908-fe6f-f901-1a509545ca81'::uuid;

-- Query #45266 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '56b1ecda-b908-fe6f-f901-1a509545ca81'::uuid;

-- Query #45267 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '56b1ecda-b908-fe6f-f901-1a509545ca81'::uuid;

-- Query #45268 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45269 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['56b1ecda-b908-fe6f-f901-1a509545ca81'::uuid]);

-- Query #45270 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2ac48c17-387d-bb1c-03bd-77f7df913f92'::uuid;

-- Query #45271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ac48c17-387d-bb1c-03bd-77f7df913f92'::uuid]);

-- Query #45272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2ac48c17-387d-bb1c-03bd-77f7df913f92'::uuid;

-- Query #45273 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2ac48c17-387d-bb1c-03bd-77f7df913f92'::uuid;

-- Query #45274 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2ac48c17-387d-bb1c-03bd-77f7df913f92'::uuid;

-- Query #45275 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45276 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2ac48c17-387d-bb1c-03bd-77f7df913f92'::uuid]);

-- Query #45277 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'acc17097-c71f-8482-3fc6-0626073746eb'::uuid;

-- Query #45278 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['acc17097-c71f-8482-3fc6-0626073746eb'::uuid]);

-- Query #45279 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'acc17097-c71f-8482-3fc6-0626073746eb'::uuid;

-- Query #45280 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'acc17097-c71f-8482-3fc6-0626073746eb'::uuid;

-- Query #45281 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'acc17097-c71f-8482-3fc6-0626073746eb'::uuid;

-- Query #45282 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45283 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['acc17097-c71f-8482-3fc6-0626073746eb'::uuid]);

-- Query #45284 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82075948-f9d7-bee2-fadc-1485da609d67'::uuid;

-- Query #45285 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82075948-f9d7-bee2-fadc-1485da609d67'::uuid]);

-- Query #45286 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82075948-f9d7-bee2-fadc-1485da609d67'::uuid;

-- Query #45287 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82075948-f9d7-bee2-fadc-1485da609d67'::uuid;

-- Query #45288 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82075948-f9d7-bee2-fadc-1485da609d67'::uuid;

-- Query #45289 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45290 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82075948-f9d7-bee2-fadc-1485da609d67'::uuid]);

-- Query #45291 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2672ed34-a3f2-b0bb-6b42-57c2ab9875b7'::uuid;

-- Query #45292 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2672ed34-a3f2-b0bb-6b42-57c2ab9875b7'::uuid]);

-- Query #45293 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2672ed34-a3f2-b0bb-6b42-57c2ab9875b7'::uuid;

-- Query #45294 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2672ed34-a3f2-b0bb-6b42-57c2ab9875b7'::uuid;

-- Query #45295 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2672ed34-a3f2-b0bb-6b42-57c2ab9875b7'::uuid;

-- Query #45296 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45297 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2672ed34-a3f2-b0bb-6b42-57c2ab9875b7'::uuid]);

-- Query #45298 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c89ebab-3413-b7df-5ad2-d336bb74b158'::uuid;

-- Query #45299 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c89ebab-3413-b7df-5ad2-d336bb74b158'::uuid]);

-- Query #45300 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1c89ebab-3413-b7df-5ad2-d336bb74b158'::uuid;

-- Query #45301 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1c89ebab-3413-b7df-5ad2-d336bb74b158'::uuid;

-- Query #45302 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1c89ebab-3413-b7df-5ad2-d336bb74b158'::uuid;

-- Query #45303 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45304 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1c89ebab-3413-b7df-5ad2-d336bb74b158'::uuid]);

-- Query #45305 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7bf83f9e-e53d-d2b7-cf03-0244b90b4543'::uuid;

-- Query #45306 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7bf83f9e-e53d-d2b7-cf03-0244b90b4543'::uuid]);

-- Query #45307 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7bf83f9e-e53d-d2b7-cf03-0244b90b4543'::uuid;

-- Query #45308 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7bf83f9e-e53d-d2b7-cf03-0244b90b4543'::uuid;

-- Query #45309 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7bf83f9e-e53d-d2b7-cf03-0244b90b4543'::uuid;

-- Query #45310 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45311 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7bf83f9e-e53d-d2b7-cf03-0244b90b4543'::uuid]);

-- Query #45312 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '51deee1a-5321-bab8-87d3-cde5ada4c355'::uuid;

-- Query #45313 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['51deee1a-5321-bab8-87d3-cde5ada4c355'::uuid]);

-- Query #45314 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '51deee1a-5321-bab8-87d3-cde5ada4c355'::uuid;

-- Query #45315 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '51deee1a-5321-bab8-87d3-cde5ada4c355'::uuid;

-- Query #45316 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '51deee1a-5321-bab8-87d3-cde5ada4c355'::uuid;

-- Query #45317 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45318 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['51deee1a-5321-bab8-87d3-cde5ada4c355'::uuid]);

-- Query #45319 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36feee99-e14c-133f-c6f0-fb99916de6e0'::uuid;

-- Query #45320 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['36feee99-e14c-133f-c6f0-fb99916de6e0'::uuid]);

-- Query #45321 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '36feee99-e14c-133f-c6f0-fb99916de6e0'::uuid;

-- Query #45322 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '36feee99-e14c-133f-c6f0-fb99916de6e0'::uuid;

-- Query #45323 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '36feee99-e14c-133f-c6f0-fb99916de6e0'::uuid;

-- Query #45324 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45325 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['36feee99-e14c-133f-c6f0-fb99916de6e0'::uuid]);

-- Query #45326 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6482027b-86b7-c370-50cc-cffbb48ad5d4'::uuid;

-- Query #45327 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6482027b-86b7-c370-50cc-cffbb48ad5d4'::uuid]);

-- Query #45328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6482027b-86b7-c370-50cc-cffbb48ad5d4'::uuid;

-- Query #45329 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6482027b-86b7-c370-50cc-cffbb48ad5d4'::uuid;

-- Query #45330 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6482027b-86b7-c370-50cc-cffbb48ad5d4'::uuid;

-- Query #45331 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45332 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6482027b-86b7-c370-50cc-cffbb48ad5d4'::uuid]);

-- Query #45333 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1e45639e-ab0e-bc9f-cb07-b5ce30e6845d'::uuid;

-- Query #45334 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1e45639e-ab0e-bc9f-cb07-b5ce30e6845d'::uuid]);

-- Query #45335 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '1e45639e-ab0e-bc9f-cb07-b5ce30e6845d'::uuid;

-- Query #45336 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '1e45639e-ab0e-bc9f-cb07-b5ce30e6845d'::uuid;

-- Query #45337 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '1e45639e-ab0e-bc9f-cb07-b5ce30e6845d'::uuid;

-- Query #45338 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45339 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['1e45639e-ab0e-bc9f-cb07-b5ce30e6845d'::uuid]);

-- Query #45340 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c8c69183-5c5f-665e-548d-d89b93fb6674'::uuid;

-- Query #45341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c8c69183-5c5f-665e-548d-d89b93fb6674'::uuid]);

-- Query #45342 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c8c69183-5c5f-665e-548d-d89b93fb6674'::uuid;

-- Query #45343 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c8c69183-5c5f-665e-548d-d89b93fb6674'::uuid;

-- Query #45344 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c8c69183-5c5f-665e-548d-d89b93fb6674'::uuid;

-- Query #45345 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45346 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c8c69183-5c5f-665e-548d-d89b93fb6674'::uuid]);

-- Query #45347 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0986af91-66b1-85fe-abda-9024836bfdba'::uuid;

-- Query #45348 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0986af91-66b1-85fe-abda-9024836bfdba'::uuid]);

-- Query #45349 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0986af91-66b1-85fe-abda-9024836bfdba'::uuid;

-- Query #45350 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0986af91-66b1-85fe-abda-9024836bfdba'::uuid;

-- Query #45351 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0986af91-66b1-85fe-abda-9024836bfdba'::uuid;

-- Query #45352 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45353 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0986af91-66b1-85fe-abda-9024836bfdba'::uuid]);

-- Query #45354 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7442aec9-962f-295a-d87a-8ffcfb7b77e9'::uuid;

-- Query #45355 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7442aec9-962f-295a-d87a-8ffcfb7b77e9'::uuid]);

-- Query #45356 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7442aec9-962f-295a-d87a-8ffcfb7b77e9'::uuid;

-- Query #45357 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7442aec9-962f-295a-d87a-8ffcfb7b77e9'::uuid;

-- Query #45358 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7442aec9-962f-295a-d87a-8ffcfb7b77e9'::uuid;

-- Query #45359 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45360 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7442aec9-962f-295a-d87a-8ffcfb7b77e9'::uuid]);

-- Query #45361 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ca5f0f3-5c72-2840-6ca6-e16facd71bf6'::uuid;

-- Query #45362 | logged_duration_ms=9 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ca5f0f3-5c72-2840-6ca6-e16facd71bf6'::uuid]);

-- Query #45363 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4ca5f0f3-5c72-2840-6ca6-e16facd71bf6'::uuid;

-- Query #45364 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ca5f0f3-5c72-2840-6ca6-e16facd71bf6'::uuid;

-- Query #45365 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4ca5f0f3-5c72-2840-6ca6-e16facd71bf6'::uuid;

-- Query #45366 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45367 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4ca5f0f3-5c72-2840-6ca6-e16facd71bf6'::uuid]);

-- Query #45368 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b1e895e-3685-6fce-d7bc-adebe3a1106a'::uuid;

-- Query #45369 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b1e895e-3685-6fce-d7bc-adebe3a1106a'::uuid]);

-- Query #45370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2b1e895e-3685-6fce-d7bc-adebe3a1106a'::uuid;

-- Query #45371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b1e895e-3685-6fce-d7bc-adebe3a1106a'::uuid;

-- Query #45372 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2b1e895e-3685-6fce-d7bc-adebe3a1106a'::uuid;

-- Query #45373 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45374 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2b1e895e-3685-6fce-d7bc-adebe3a1106a'::uuid]);

-- Query #45375 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd026402f-0c3b-45b7-c38b-97a55984cb2d'::uuid;

-- Query #45376 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d026402f-0c3b-45b7-c38b-97a55984cb2d'::uuid]);

-- Query #45377 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd026402f-0c3b-45b7-c38b-97a55984cb2d'::uuid;

-- Query #45378 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd026402f-0c3b-45b7-c38b-97a55984cb2d'::uuid;

-- Query #45379 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd026402f-0c3b-45b7-c38b-97a55984cb2d'::uuid;

-- Query #45380 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45381 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d026402f-0c3b-45b7-c38b-97a55984cb2d'::uuid]);

-- Query #45382 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6394d03f-6a59-f62c-943f-60d588cf7307'::uuid;

-- Query #45383 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6394d03f-6a59-f62c-943f-60d588cf7307'::uuid]);

-- Query #45384 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6394d03f-6a59-f62c-943f-60d588cf7307'::uuid;

-- Query #45385 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6394d03f-6a59-f62c-943f-60d588cf7307'::uuid;

-- Query #45386 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6394d03f-6a59-f62c-943f-60d588cf7307'::uuid;

-- Query #45387 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45388 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6394d03f-6a59-f62c-943f-60d588cf7307'::uuid]);

-- Query #45389 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '649fb6fb-b3e8-aa52-9839-de2ec900215a'::uuid;

-- Query #45390 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['649fb6fb-b3e8-aa52-9839-de2ec900215a'::uuid]);

-- Query #45391 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '649fb6fb-b3e8-aa52-9839-de2ec900215a'::uuid;

-- Query #45392 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '649fb6fb-b3e8-aa52-9839-de2ec900215a'::uuid;

-- Query #45393 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '649fb6fb-b3e8-aa52-9839-de2ec900215a'::uuid;

-- Query #45394 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45395 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['649fb6fb-b3e8-aa52-9839-de2ec900215a'::uuid]);

-- Query #45396 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '08f543f1-07fa-f205-1672-94b4a265a54f'::uuid;

-- Query #45397 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['08f543f1-07fa-f205-1672-94b4a265a54f'::uuid]);

-- Query #45398 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '08f543f1-07fa-f205-1672-94b4a265a54f'::uuid;

-- Query #45399 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '08f543f1-07fa-f205-1672-94b4a265a54f'::uuid;

-- Query #45400 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '08f543f1-07fa-f205-1672-94b4a265a54f'::uuid;

-- Query #45401 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45402 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['08f543f1-07fa-f205-1672-94b4a265a54f'::uuid]);

-- Query #45403 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2df6a311-c8a0-1cba-a198-bf5ac681b257'::uuid;

-- Query #45404 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2df6a311-c8a0-1cba-a198-bf5ac681b257'::uuid]);

-- Query #45405 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2df6a311-c8a0-1cba-a198-bf5ac681b257'::uuid;

-- Query #45406 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2df6a311-c8a0-1cba-a198-bf5ac681b257'::uuid;

-- Query #45407 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2df6a311-c8a0-1cba-a198-bf5ac681b257'::uuid;

-- Query #45408 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45409 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2df6a311-c8a0-1cba-a198-bf5ac681b257'::uuid]);

-- Query #45410 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fd192b4d-9e6d-5ff2-6822-eb3ae8a20bb7'::uuid;

-- Query #45411 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fd192b4d-9e6d-5ff2-6822-eb3ae8a20bb7'::uuid]);

-- Query #45412 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fd192b4d-9e6d-5ff2-6822-eb3ae8a20bb7'::uuid;

-- Query #45413 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fd192b4d-9e6d-5ff2-6822-eb3ae8a20bb7'::uuid;

-- Query #45414 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fd192b4d-9e6d-5ff2-6822-eb3ae8a20bb7'::uuid;

-- Query #45415 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45416 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fd192b4d-9e6d-5ff2-6822-eb3ae8a20bb7'::uuid]);

-- Query #45417 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4147100f-a0fc-9dc1-62ca-b294943c53e7'::uuid;

-- Query #45418 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4147100f-a0fc-9dc1-62ca-b294943c53e7'::uuid]);

-- Query #45419 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4147100f-a0fc-9dc1-62ca-b294943c53e7'::uuid;

-- Query #45420 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4147100f-a0fc-9dc1-62ca-b294943c53e7'::uuid;

-- Query #45421 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4147100f-a0fc-9dc1-62ca-b294943c53e7'::uuid;

-- Query #45422 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45423 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4147100f-a0fc-9dc1-62ca-b294943c53e7'::uuid]);

-- Query #45424 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #45425 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3c720808-7392-7f5c-8b3c-ce4be0664d11'::uuid;

-- Query #45426 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3c720808-7392-7f5c-8b3c-ce4be0664d11'::uuid]);

-- Query #45427 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3c720808-7392-7f5c-8b3c-ce4be0664d11'::uuid;

-- Query #45428 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3c720808-7392-7f5c-8b3c-ce4be0664d11'::uuid;

-- Query #45429 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3c720808-7392-7f5c-8b3c-ce4be0664d11'::uuid;

-- Query #45430 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45431 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3c720808-7392-7f5c-8b3c-ce4be0664d11'::uuid]);

-- Query #45432 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ec52494b-ca61-f706-cb97-55eda302758d'::uuid;

-- Query #45433 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ec52494b-ca61-f706-cb97-55eda302758d'::uuid]);

-- Query #45434 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ec52494b-ca61-f706-cb97-55eda302758d'::uuid;

-- Query #45435 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ec52494b-ca61-f706-cb97-55eda302758d'::uuid;

-- Query #45436 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ec52494b-ca61-f706-cb97-55eda302758d'::uuid;

-- Query #45437 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45438 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ec52494b-ca61-f706-cb97-55eda302758d'::uuid]);

-- Query #45439 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e86105e-aa9b-ad96-d06c-8206e499c7d7'::uuid;

-- Query #45440 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e86105e-aa9b-ad96-d06c-8206e499c7d7'::uuid]);

-- Query #45441 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9e86105e-aa9b-ad96-d06c-8206e499c7d7'::uuid;

-- Query #45442 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9e86105e-aa9b-ad96-d06c-8206e499c7d7'::uuid;

-- Query #45443 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9e86105e-aa9b-ad96-d06c-8206e499c7d7'::uuid;

-- Query #45444 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45445 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9e86105e-aa9b-ad96-d06c-8206e499c7d7'::uuid]);

-- Query #45446 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9948bdbe-0dbf-f224-1aeb-e70bdec30b21'::uuid;

-- Query #45447 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9948bdbe-0dbf-f224-1aeb-e70bdec30b21'::uuid]);

-- Query #45448 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9948bdbe-0dbf-f224-1aeb-e70bdec30b21'::uuid;

-- Query #45449 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9948bdbe-0dbf-f224-1aeb-e70bdec30b21'::uuid;

-- Query #45450 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9948bdbe-0dbf-f224-1aeb-e70bdec30b21'::uuid;

-- Query #45451 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45452 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9948bdbe-0dbf-f224-1aeb-e70bdec30b21'::uuid]);

-- Query #45453 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4c761113-3e7a-fd6f-a090-089822ec8589'::uuid;

-- Query #45454 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4c761113-3e7a-fd6f-a090-089822ec8589'::uuid]);

-- Query #45455 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4c761113-3e7a-fd6f-a090-089822ec8589'::uuid;

-- Query #45456 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4c761113-3e7a-fd6f-a090-089822ec8589'::uuid;

-- Query #45457 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4c761113-3e7a-fd6f-a090-089822ec8589'::uuid;

-- Query #45458 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45459 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4c761113-3e7a-fd6f-a090-089822ec8589'::uuid]);

-- Query #45460 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a4c5f8e8-88ab-cf96-ea68-d2e86d9ba1ff'::uuid;

-- Query #45461 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a4c5f8e8-88ab-cf96-ea68-d2e86d9ba1ff'::uuid]);

-- Query #45462 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a4c5f8e8-88ab-cf96-ea68-d2e86d9ba1ff'::uuid;

-- Query #45463 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a4c5f8e8-88ab-cf96-ea68-d2e86d9ba1ff'::uuid;

-- Query #45464 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a4c5f8e8-88ab-cf96-ea68-d2e86d9ba1ff'::uuid;

-- Query #45465 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45466 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a4c5f8e8-88ab-cf96-ea68-d2e86d9ba1ff'::uuid]);

-- Query #45467 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2115406-cb6d-6b86-3e96-32051ea12339'::uuid;

-- Query #45468 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2115406-cb6d-6b86-3e96-32051ea12339'::uuid]);

-- Query #45469 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd2115406-cb6d-6b86-3e96-32051ea12339'::uuid;

-- Query #45470 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2115406-cb6d-6b86-3e96-32051ea12339'::uuid;

-- Query #45471 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd2115406-cb6d-6b86-3e96-32051ea12339'::uuid;

-- Query #45472 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45473 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d2115406-cb6d-6b86-3e96-32051ea12339'::uuid]);

-- Query #45474 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3039728-e8a3-1c32-c073-2ac36cc36281'::uuid;

-- Query #45475 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f3039728-e8a3-1c32-c073-2ac36cc36281'::uuid]);

-- Query #45476 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f3039728-e8a3-1c32-c073-2ac36cc36281'::uuid;

-- Query #45477 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f3039728-e8a3-1c32-c073-2ac36cc36281'::uuid;

-- Query #45478 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f3039728-e8a3-1c32-c073-2ac36cc36281'::uuid;

-- Query #45479 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45480 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f3039728-e8a3-1c32-c073-2ac36cc36281'::uuid]);

-- Query #45481 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '952d8850-b013-5f49-3505-df733984b372'::uuid;

-- Query #45482 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['952d8850-b013-5f49-3505-df733984b372'::uuid]);

-- Query #45483 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '952d8850-b013-5f49-3505-df733984b372'::uuid;

-- Query #45484 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '952d8850-b013-5f49-3505-df733984b372'::uuid;

-- Query #45485 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '952d8850-b013-5f49-3505-df733984b372'::uuid;

-- Query #45486 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45487 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['952d8850-b013-5f49-3505-df733984b372'::uuid]);

-- Query #45488 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b9c5f6c6-384a-a826-9be2-0611fdba42c4'::uuid;

-- Query #45489 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b9c5f6c6-384a-a826-9be2-0611fdba42c4'::uuid]);

-- Query #45490 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b9c5f6c6-384a-a826-9be2-0611fdba42c4'::uuid;

-- Query #45491 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b9c5f6c6-384a-a826-9be2-0611fdba42c4'::uuid;

-- Query #45492 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b9c5f6c6-384a-a826-9be2-0611fdba42c4'::uuid;

-- Query #45493 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45494 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b9c5f6c6-384a-a826-9be2-0611fdba42c4'::uuid]);

-- Query #45495 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc0a25f6-bf76-2cd0-0ece-740096a80a11'::uuid;

-- Query #45496 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fc0a25f6-bf76-2cd0-0ece-740096a80a11'::uuid]);

-- Query #45497 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fc0a25f6-bf76-2cd0-0ece-740096a80a11'::uuid;

-- Query #45498 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fc0a25f6-bf76-2cd0-0ece-740096a80a11'::uuid;

-- Query #45499 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fc0a25f6-bf76-2cd0-0ece-740096a80a11'::uuid;

-- Query #45500 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45501 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fc0a25f6-bf76-2cd0-0ece-740096a80a11'::uuid]);

-- Query #45502 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eec2da99-7211-cce5-e966-fdbb4090ef04'::uuid;

-- Query #45503 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eec2da99-7211-cce5-e966-fdbb4090ef04'::uuid]);

-- Query #45504 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eec2da99-7211-cce5-e966-fdbb4090ef04'::uuid;

-- Query #45505 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eec2da99-7211-cce5-e966-fdbb4090ef04'::uuid;

-- Query #45506 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eec2da99-7211-cce5-e966-fdbb4090ef04'::uuid;

-- Query #45507 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45508 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eec2da99-7211-cce5-e966-fdbb4090ef04'::uuid]);

-- Query #45509 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c6eb180a-8d9c-d900-e584-143ddd01bdbb'::uuid;

-- Query #45510 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c6eb180a-8d9c-d900-e584-143ddd01bdbb'::uuid]);

-- Query #45511 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c6eb180a-8d9c-d900-e584-143ddd01bdbb'::uuid;

-- Query #45512 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c6eb180a-8d9c-d900-e584-143ddd01bdbb'::uuid;

-- Query #45513 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c6eb180a-8d9c-d900-e584-143ddd01bdbb'::uuid;

-- Query #45514 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45515 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c6eb180a-8d9c-d900-e584-143ddd01bdbb'::uuid]);

-- Query #45516 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '97167632-84c3-acaf-2701-d3030ebfd3bf'::uuid;

-- Query #45517 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['97167632-84c3-acaf-2701-d3030ebfd3bf'::uuid]);

-- Query #45518 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '97167632-84c3-acaf-2701-d3030ebfd3bf'::uuid;

-- Query #45519 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '97167632-84c3-acaf-2701-d3030ebfd3bf'::uuid;

-- Query #45520 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '97167632-84c3-acaf-2701-d3030ebfd3bf'::uuid;

-- Query #45521 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45522 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['97167632-84c3-acaf-2701-d3030ebfd3bf'::uuid]);

-- Query #45523 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f57e73b8-c2c5-e9c1-0658-5aa0c3892b58'::uuid;

-- Query #45524 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f57e73b8-c2c5-e9c1-0658-5aa0c3892b58'::uuid]);

-- Query #45525 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f57e73b8-c2c5-e9c1-0658-5aa0c3892b58'::uuid;

-- Query #45526 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f57e73b8-c2c5-e9c1-0658-5aa0c3892b58'::uuid;

-- Query #45527 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f57e73b8-c2c5-e9c1-0658-5aa0c3892b58'::uuid;

-- Query #45528 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45529 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f57e73b8-c2c5-e9c1-0658-5aa0c3892b58'::uuid]);

-- Query #45530 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8106b722-cbd1-dc86-1a2d-71ad99b47903'::uuid;

-- Query #45531 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8106b722-cbd1-dc86-1a2d-71ad99b47903'::uuid]);

-- Query #45532 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8106b722-cbd1-dc86-1a2d-71ad99b47903'::uuid;

-- Query #45533 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8106b722-cbd1-dc86-1a2d-71ad99b47903'::uuid;

-- Query #45534 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8106b722-cbd1-dc86-1a2d-71ad99b47903'::uuid;

-- Query #45535 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45536 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8106b722-cbd1-dc86-1a2d-71ad99b47903'::uuid]);

-- Query #45537 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eaf46e1d-7ecc-9857-aea4-9c5dfffc1e1c'::uuid;

-- Query #45538 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eaf46e1d-7ecc-9857-aea4-9c5dfffc1e1c'::uuid]);

-- Query #45539 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eaf46e1d-7ecc-9857-aea4-9c5dfffc1e1c'::uuid;

-- Query #45540 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eaf46e1d-7ecc-9857-aea4-9c5dfffc1e1c'::uuid;

-- Query #45541 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eaf46e1d-7ecc-9857-aea4-9c5dfffc1e1c'::uuid;

-- Query #45542 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45543 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eaf46e1d-7ecc-9857-aea4-9c5dfffc1e1c'::uuid]);

-- Query #45544 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0cbb4e4-4c46-0f3d-160b-2411030c7883'::uuid;

-- Query #45545 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0cbb4e4-4c46-0f3d-160b-2411030c7883'::uuid]);

-- Query #45546 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c0cbb4e4-4c46-0f3d-160b-2411030c7883'::uuid;

-- Query #45547 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0cbb4e4-4c46-0f3d-160b-2411030c7883'::uuid;

-- Query #45548 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c0cbb4e4-4c46-0f3d-160b-2411030c7883'::uuid;

-- Query #45549 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45550 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c0cbb4e4-4c46-0f3d-160b-2411030c7883'::uuid]);

-- Query #45551 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa67ff5c-e487-fe23-60cd-53dd6debdf3a'::uuid;

-- Query #45552 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aa67ff5c-e487-fe23-60cd-53dd6debdf3a'::uuid]);

-- Query #45553 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'aa67ff5c-e487-fe23-60cd-53dd6debdf3a'::uuid;

-- Query #45554 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa67ff5c-e487-fe23-60cd-53dd6debdf3a'::uuid;

-- Query #45555 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'aa67ff5c-e487-fe23-60cd-53dd6debdf3a'::uuid;

-- Query #45556 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45557 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['aa67ff5c-e487-fe23-60cd-53dd6debdf3a'::uuid]);

-- Query #45558 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c39802fd-4af7-8383-c08c-5ef2056d2ca7'::uuid;

-- Query #45559 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c39802fd-4af7-8383-c08c-5ef2056d2ca7'::uuid]);

-- Query #45560 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c39802fd-4af7-8383-c08c-5ef2056d2ca7'::uuid;

-- Query #45561 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c39802fd-4af7-8383-c08c-5ef2056d2ca7'::uuid;

-- Query #45562 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c39802fd-4af7-8383-c08c-5ef2056d2ca7'::uuid;

-- Query #45563 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45564 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c39802fd-4af7-8383-c08c-5ef2056d2ca7'::uuid]);

-- Query #45565 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5cabee28-73ca-0787-11d1-dc5a59a1aded'::uuid;

-- Query #45566 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5cabee28-73ca-0787-11d1-dc5a59a1aded'::uuid]);

-- Query #45567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5cabee28-73ca-0787-11d1-dc5a59a1aded'::uuid;

-- Query #45568 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5cabee28-73ca-0787-11d1-dc5a59a1aded'::uuid;

-- Query #45569 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5cabee28-73ca-0787-11d1-dc5a59a1aded'::uuid;

-- Query #45570 | logged_duration_ms=7 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45571 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5cabee28-73ca-0787-11d1-dc5a59a1aded'::uuid]);

-- Query #45572 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd077fe1-69dd-be0c-0611-8be410ff8864'::uuid;

-- Query #45573 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd077fe1-69dd-be0c-0611-8be410ff8864'::uuid]);

-- Query #45574 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dd077fe1-69dd-be0c-0611-8be410ff8864'::uuid;

-- Query #45575 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dd077fe1-69dd-be0c-0611-8be410ff8864'::uuid;

-- Query #45576 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dd077fe1-69dd-be0c-0611-8be410ff8864'::uuid;

-- Query #45577 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45578 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dd077fe1-69dd-be0c-0611-8be410ff8864'::uuid]);

-- Query #45579 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '048e5648-4062-2afb-00fe-f910f77e5c46'::uuid;

-- Query #45580 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['048e5648-4062-2afb-00fe-f910f77e5c46'::uuid]);

-- Query #45581 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '048e5648-4062-2afb-00fe-f910f77e5c46'::uuid;

-- Query #45582 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '048e5648-4062-2afb-00fe-f910f77e5c46'::uuid;

-- Query #45583 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '048e5648-4062-2afb-00fe-f910f77e5c46'::uuid;

-- Query #45584 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45585 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['048e5648-4062-2afb-00fe-f910f77e5c46'::uuid]);

-- Query #45586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21dd8561-c357-6ab2-5e4a-5aa02271a5f0'::uuid;

-- Query #45587 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['21dd8561-c357-6ab2-5e4a-5aa02271a5f0'::uuid]);

-- Query #45588 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '21dd8561-c357-6ab2-5e4a-5aa02271a5f0'::uuid;

-- Query #45589 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '21dd8561-c357-6ab2-5e4a-5aa02271a5f0'::uuid;

-- Query #45590 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '21dd8561-c357-6ab2-5e4a-5aa02271a5f0'::uuid;

-- Query #45591 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45592 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['21dd8561-c357-6ab2-5e4a-5aa02271a5f0'::uuid]);

-- Query #45593 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8c4207cc-72fb-15af-7ce6-265d422e039d'::uuid;

-- Query #45594 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8c4207cc-72fb-15af-7ce6-265d422e039d'::uuid]);

-- Query #45595 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8c4207cc-72fb-15af-7ce6-265d422e039d'::uuid;

-- Query #45596 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8c4207cc-72fb-15af-7ce6-265d422e039d'::uuid;

-- Query #45597 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8c4207cc-72fb-15af-7ce6-265d422e039d'::uuid;

-- Query #45598 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45599 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8c4207cc-72fb-15af-7ce6-265d422e039d'::uuid]);

-- Query #45600 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d8d653f-68a2-46ef-ebd4-fd5247bf9719'::uuid;

-- Query #45601 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9d8d653f-68a2-46ef-ebd4-fd5247bf9719'::uuid]);

-- Query #45602 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9d8d653f-68a2-46ef-ebd4-fd5247bf9719'::uuid;

-- Query #45603 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9d8d653f-68a2-46ef-ebd4-fd5247bf9719'::uuid;

-- Query #45604 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9d8d653f-68a2-46ef-ebd4-fd5247bf9719'::uuid;

-- Query #45605 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45606 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9d8d653f-68a2-46ef-ebd4-fd5247bf9719'::uuid]);

-- Query #45607 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e54a9a38-4f94-94b1-2c8b-0db6d0e0d508'::uuid;

-- Query #45608 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e54a9a38-4f94-94b1-2c8b-0db6d0e0d508'::uuid]);

-- Query #45609 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e54a9a38-4f94-94b1-2c8b-0db6d0e0d508'::uuid;

-- Query #45610 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e54a9a38-4f94-94b1-2c8b-0db6d0e0d508'::uuid;

-- Query #45611 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e54a9a38-4f94-94b1-2c8b-0db6d0e0d508'::uuid;

-- Query #45612 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45613 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e54a9a38-4f94-94b1-2c8b-0db6d0e0d508'::uuid]);

-- Query #45614 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eff09c70-7d23-6cc5-f8c8-ea4daf92fbcb'::uuid;

-- Query #45615 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eff09c70-7d23-6cc5-f8c8-ea4daf92fbcb'::uuid]);

-- Query #45616 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eff09c70-7d23-6cc5-f8c8-ea4daf92fbcb'::uuid;

-- Query #45617 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eff09c70-7d23-6cc5-f8c8-ea4daf92fbcb'::uuid;

-- Query #45618 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eff09c70-7d23-6cc5-f8c8-ea4daf92fbcb'::uuid;

-- Query #45619 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45620 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eff09c70-7d23-6cc5-f8c8-ea4daf92fbcb'::uuid]);

-- Query #45621 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4f7fc5a5-98c3-3721-856c-da309bdb1287'::uuid;

-- Query #45622 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f7fc5a5-98c3-3721-856c-da309bdb1287'::uuid]);

-- Query #45623 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4f7fc5a5-98c3-3721-856c-da309bdb1287'::uuid;

-- Query #45624 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4f7fc5a5-98c3-3721-856c-da309bdb1287'::uuid;

-- Query #45625 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4f7fc5a5-98c3-3721-856c-da309bdb1287'::uuid;

-- Query #45626 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45627 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4f7fc5a5-98c3-3721-856c-da309bdb1287'::uuid]);

-- Query #45628 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c3565e57-397a-5f16-af60-5d1c30625778'::uuid;

-- Query #45629 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3565e57-397a-5f16-af60-5d1c30625778'::uuid]);

-- Query #45630 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c3565e57-397a-5f16-af60-5d1c30625778'::uuid;

-- Query #45631 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c3565e57-397a-5f16-af60-5d1c30625778'::uuid;

-- Query #45632 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c3565e57-397a-5f16-af60-5d1c30625778'::uuid;

-- Query #45633 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45634 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c3565e57-397a-5f16-af60-5d1c30625778'::uuid]);

-- Query #45635 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3430760-e9da-2000-59d3-c4bfdb816587'::uuid;

-- Query #45636 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b3430760-e9da-2000-59d3-c4bfdb816587'::uuid]);

-- Query #45637 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b3430760-e9da-2000-59d3-c4bfdb816587'::uuid;

-- Query #45638 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b3430760-e9da-2000-59d3-c4bfdb816587'::uuid;

-- Query #45639 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b3430760-e9da-2000-59d3-c4bfdb816587'::uuid;

-- Query #45640 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45641 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b3430760-e9da-2000-59d3-c4bfdb816587'::uuid]);

-- Query #45642 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3fc63208-ae63-fa64-a67d-b18e32c13476'::uuid;

-- Query #45643 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3fc63208-ae63-fa64-a67d-b18e32c13476'::uuid]);

-- Query #45644 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3fc63208-ae63-fa64-a67d-b18e32c13476'::uuid;

-- Query #45645 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3fc63208-ae63-fa64-a67d-b18e32c13476'::uuid;

-- Query #45646 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3fc63208-ae63-fa64-a67d-b18e32c13476'::uuid;

-- Query #45647 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45648 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3fc63208-ae63-fa64-a67d-b18e32c13476'::uuid]);

-- Query #45649 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9bfd9e81-864d-f89d-6a9c-829a99174e59'::uuid;

-- Query #45650 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9bfd9e81-864d-f89d-6a9c-829a99174e59'::uuid]);

-- Query #45651 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9bfd9e81-864d-f89d-6a9c-829a99174e59'::uuid;

-- Query #45652 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9bfd9e81-864d-f89d-6a9c-829a99174e59'::uuid;

-- Query #45653 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9bfd9e81-864d-f89d-6a9c-829a99174e59'::uuid;

-- Query #45654 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45655 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9bfd9e81-864d-f89d-6a9c-829a99174e59'::uuid]);

-- Query #45656 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '030a0db1-ac2b-d4e2-6258-2754c70c8c1e'::uuid;

-- Query #45657 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['030a0db1-ac2b-d4e2-6258-2754c70c8c1e'::uuid]);

-- Query #45658 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '030a0db1-ac2b-d4e2-6258-2754c70c8c1e'::uuid;

-- Query #45659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '030a0db1-ac2b-d4e2-6258-2754c70c8c1e'::uuid;

-- Query #45660 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '030a0db1-ac2b-d4e2-6258-2754c70c8c1e'::uuid;

-- Query #45661 | logged_duration_ms=7 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45662 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['030a0db1-ac2b-d4e2-6258-2754c70c8c1e'::uuid]);

-- Query #45663 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e44ea03-1200-1251-1650-ccabfd34f8c8'::uuid;

-- Query #45664 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e44ea03-1200-1251-1650-ccabfd34f8c8'::uuid]);

-- Query #45665 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8e44ea03-1200-1251-1650-ccabfd34f8c8'::uuid;

-- Query #45666 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e44ea03-1200-1251-1650-ccabfd34f8c8'::uuid;

-- Query #45667 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8e44ea03-1200-1251-1650-ccabfd34f8c8'::uuid;

-- Query #45668 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45669 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8e44ea03-1200-1251-1650-ccabfd34f8c8'::uuid]);

-- Query #45670 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '83ed83a7-515b-d7ab-ec9a-a5a22cc48b10'::uuid;

-- Query #45671 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['83ed83a7-515b-d7ab-ec9a-a5a22cc48b10'::uuid]);

-- Query #45672 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '83ed83a7-515b-d7ab-ec9a-a5a22cc48b10'::uuid;

-- Query #45673 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '83ed83a7-515b-d7ab-ec9a-a5a22cc48b10'::uuid;

-- Query #45674 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '83ed83a7-515b-d7ab-ec9a-a5a22cc48b10'::uuid;

-- Query #45675 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45676 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['83ed83a7-515b-d7ab-ec9a-a5a22cc48b10'::uuid]);

-- Query #45677 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #45678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '77e74461-b401-1534-0213-b37808053a42'::uuid;

-- Query #45679 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77e74461-b401-1534-0213-b37808053a42'::uuid]);

-- Query #45680 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '77e74461-b401-1534-0213-b37808053a42'::uuid;

-- Query #45681 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '77e74461-b401-1534-0213-b37808053a42'::uuid;

-- Query #45682 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '77e74461-b401-1534-0213-b37808053a42'::uuid;

-- Query #45683 | logged_duration_ms=6 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45684 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['77e74461-b401-1534-0213-b37808053a42'::uuid]);

-- Query #45685 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '815fb799-1fc3-2670-6aa5-f05d5767b290'::uuid;

-- Query #45686 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['815fb799-1fc3-2670-6aa5-f05d5767b290'::uuid]);

-- Query #45687 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '815fb799-1fc3-2670-6aa5-f05d5767b290'::uuid;

-- Query #45688 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '815fb799-1fc3-2670-6aa5-f05d5767b290'::uuid;

-- Query #45689 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '815fb799-1fc3-2670-6aa5-f05d5767b290'::uuid;

-- Query #45690 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45691 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['815fb799-1fc3-2670-6aa5-f05d5767b290'::uuid]);

-- Query #45692 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f594240-70d1-7d52-7750-61ff61a822b8'::uuid;

-- Query #45693 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0f594240-70d1-7d52-7750-61ff61a822b8'::uuid]);

-- Query #45694 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0f594240-70d1-7d52-7750-61ff61a822b8'::uuid;

-- Query #45695 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0f594240-70d1-7d52-7750-61ff61a822b8'::uuid;

-- Query #45696 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0f594240-70d1-7d52-7750-61ff61a822b8'::uuid;

-- Query #45697 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45698 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0f594240-70d1-7d52-7750-61ff61a822b8'::uuid]);

-- Query #45699 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c7e6773-9875-eb52-b98f-2da0d87deab7'::uuid;

-- Query #45700 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9c7e6773-9875-eb52-b98f-2da0d87deab7'::uuid]);

-- Query #45701 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9c7e6773-9875-eb52-b98f-2da0d87deab7'::uuid;

-- Query #45702 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9c7e6773-9875-eb52-b98f-2da0d87deab7'::uuid;

-- Query #45703 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9c7e6773-9875-eb52-b98f-2da0d87deab7'::uuid;

-- Query #45704 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45705 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9c7e6773-9875-eb52-b98f-2da0d87deab7'::uuid]);

-- Query #45706 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82547c7f-5581-3279-679b-a58afac39285'::uuid;

-- Query #45707 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82547c7f-5581-3279-679b-a58afac39285'::uuid]);

-- Query #45708 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82547c7f-5581-3279-679b-a58afac39285'::uuid;

-- Query #45709 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82547c7f-5581-3279-679b-a58afac39285'::uuid;

-- Query #45710 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82547c7f-5581-3279-679b-a58afac39285'::uuid;

-- Query #45711 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45712 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82547c7f-5581-3279-679b-a58afac39285'::uuid]);

-- Query #45713 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '353f6fd9-f8b8-d56c-fcab-901bcac0771a'::uuid;

-- Query #45714 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['353f6fd9-f8b8-d56c-fcab-901bcac0771a'::uuid]);

-- Query #45715 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '353f6fd9-f8b8-d56c-fcab-901bcac0771a'::uuid;

-- Query #45716 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '353f6fd9-f8b8-d56c-fcab-901bcac0771a'::uuid;

-- Query #45717 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '353f6fd9-f8b8-d56c-fcab-901bcac0771a'::uuid;

-- Query #45718 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45719 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['353f6fd9-f8b8-d56c-fcab-901bcac0771a'::uuid]);

-- Query #45720 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2bce99e-8476-e08e-d6fb-5abb301a9d88'::uuid;

-- Query #45721 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2bce99e-8476-e08e-d6fb-5abb301a9d88'::uuid]);

-- Query #45722 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e2bce99e-8476-e08e-d6fb-5abb301a9d88'::uuid;

-- Query #45723 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2bce99e-8476-e08e-d6fb-5abb301a9d88'::uuid;

-- Query #45724 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e2bce99e-8476-e08e-d6fb-5abb301a9d88'::uuid;

-- Query #45725 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45726 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e2bce99e-8476-e08e-d6fb-5abb301a9d88'::uuid]);

-- Query #45727 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fbf07644-543a-4bc7-8bc5-a2824593dc94'::uuid;

-- Query #45728 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fbf07644-543a-4bc7-8bc5-a2824593dc94'::uuid]);

-- Query #45729 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fbf07644-543a-4bc7-8bc5-a2824593dc94'::uuid;

-- Query #45730 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fbf07644-543a-4bc7-8bc5-a2824593dc94'::uuid;

-- Query #45731 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fbf07644-543a-4bc7-8bc5-a2824593dc94'::uuid;

-- Query #45732 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45733 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fbf07644-543a-4bc7-8bc5-a2824593dc94'::uuid]);

-- Query #45734 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd5695247-2285-0e92-83fe-2f05762bc8c1'::uuid;

-- Query #45735 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d5695247-2285-0e92-83fe-2f05762bc8c1'::uuid]);

-- Query #45736 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd5695247-2285-0e92-83fe-2f05762bc8c1'::uuid;

-- Query #45737 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd5695247-2285-0e92-83fe-2f05762bc8c1'::uuid;

-- Query #45738 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd5695247-2285-0e92-83fe-2f05762bc8c1'::uuid;

-- Query #45739 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45740 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d5695247-2285-0e92-83fe-2f05762bc8c1'::uuid]);

-- Query #45741 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd977205e-e21f-63eb-3b0a-c3c7d73cfcab'::uuid;

-- Query #45742 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d977205e-e21f-63eb-3b0a-c3c7d73cfcab'::uuid]);

-- Query #45743 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd977205e-e21f-63eb-3b0a-c3c7d73cfcab'::uuid;

-- Query #45744 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd977205e-e21f-63eb-3b0a-c3c7d73cfcab'::uuid;

-- Query #45745 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd977205e-e21f-63eb-3b0a-c3c7d73cfcab'::uuid;

-- Query #45746 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45747 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d977205e-e21f-63eb-3b0a-c3c7d73cfcab'::uuid]);

-- Query #45748 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '829960ab-896b-3daa-bca4-81a7c287c711'::uuid;

-- Query #45749 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['829960ab-896b-3daa-bca4-81a7c287c711'::uuid]);

-- Query #45750 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '829960ab-896b-3daa-bca4-81a7c287c711'::uuid;

-- Query #45751 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '829960ab-896b-3daa-bca4-81a7c287c711'::uuid;

-- Query #45752 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '829960ab-896b-3daa-bca4-81a7c287c711'::uuid;

-- Query #45753 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45754 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['829960ab-896b-3daa-bca4-81a7c287c711'::uuid]);

-- Query #45755 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dcc085d3-3355-8b60-b57f-549f690e5b8f'::uuid;

-- Query #45756 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcc085d3-3355-8b60-b57f-549f690e5b8f'::uuid]);

-- Query #45757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dcc085d3-3355-8b60-b57f-549f690e5b8f'::uuid;

-- Query #45758 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dcc085d3-3355-8b60-b57f-549f690e5b8f'::uuid;

-- Query #45759 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dcc085d3-3355-8b60-b57f-549f690e5b8f'::uuid;

-- Query #45760 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45761 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dcc085d3-3355-8b60-b57f-549f690e5b8f'::uuid]);

-- Query #45762 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14e54a85-b4a4-32c9-0189-257a14a17553'::uuid;

-- Query #45763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14e54a85-b4a4-32c9-0189-257a14a17553'::uuid]);

-- Query #45764 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '14e54a85-b4a4-32c9-0189-257a14a17553'::uuid;

-- Query #45765 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '14e54a85-b4a4-32c9-0189-257a14a17553'::uuid;

-- Query #45766 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '14e54a85-b4a4-32c9-0189-257a14a17553'::uuid;

-- Query #45767 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45768 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['14e54a85-b4a4-32c9-0189-257a14a17553'::uuid]);

-- Query #45769 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ecc5cb17-bfaf-15f3-6add-0198b15757f5'::uuid;

-- Query #45770 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ecc5cb17-bfaf-15f3-6add-0198b15757f5'::uuid]);

-- Query #45771 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ecc5cb17-bfaf-15f3-6add-0198b15757f5'::uuid;

-- Query #45772 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ecc5cb17-bfaf-15f3-6add-0198b15757f5'::uuid;

-- Query #45773 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ecc5cb17-bfaf-15f3-6add-0198b15757f5'::uuid;

-- Query #45774 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45775 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ecc5cb17-bfaf-15f3-6add-0198b15757f5'::uuid]);

-- Query #45776 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8cf20a9f-d262-91ea-7a70-2ec2f21a5d86'::uuid;

-- Query #45777 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cf20a9f-d262-91ea-7a70-2ec2f21a5d86'::uuid]);

-- Query #45778 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8cf20a9f-d262-91ea-7a70-2ec2f21a5d86'::uuid;

-- Query #45779 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8cf20a9f-d262-91ea-7a70-2ec2f21a5d86'::uuid;

-- Query #45780 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8cf20a9f-d262-91ea-7a70-2ec2f21a5d86'::uuid;

-- Query #45781 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45782 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8cf20a9f-d262-91ea-7a70-2ec2f21a5d86'::uuid]);

-- Query #45783 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '43558d83-62d9-45ed-1516-c363d2668525'::uuid;

-- Query #45784 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['43558d83-62d9-45ed-1516-c363d2668525'::uuid]);

-- Query #45785 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '43558d83-62d9-45ed-1516-c363d2668525'::uuid;

-- Query #45786 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '43558d83-62d9-45ed-1516-c363d2668525'::uuid;

-- Query #45787 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '43558d83-62d9-45ed-1516-c363d2668525'::uuid;

-- Query #45788 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45789 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['43558d83-62d9-45ed-1516-c363d2668525'::uuid]);

-- Query #45790 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa87d8f9-eef1-54c9-1eee-46d5945289a9'::uuid;

-- Query #45791 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aa87d8f9-eef1-54c9-1eee-46d5945289a9'::uuid]);

-- Query #45792 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'aa87d8f9-eef1-54c9-1eee-46d5945289a9'::uuid;

-- Query #45793 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aa87d8f9-eef1-54c9-1eee-46d5945289a9'::uuid;

-- Query #45794 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'aa87d8f9-eef1-54c9-1eee-46d5945289a9'::uuid;

-- Query #45795 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45796 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['aa87d8f9-eef1-54c9-1eee-46d5945289a9'::uuid]);

-- Query #45797 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92e08726-0fb8-4bbb-a21e-f249122925df'::uuid;

-- Query #45798 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92e08726-0fb8-4bbb-a21e-f249122925df'::uuid]);

-- Query #45799 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '92e08726-0fb8-4bbb-a21e-f249122925df'::uuid;

-- Query #45800 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '92e08726-0fb8-4bbb-a21e-f249122925df'::uuid;

-- Query #45801 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '92e08726-0fb8-4bbb-a21e-f249122925df'::uuid;

-- Query #45802 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45803 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['92e08726-0fb8-4bbb-a21e-f249122925df'::uuid]);

-- Query #45804 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2510ec0-36f6-f952-f0d5-c973d9643a3c'::uuid;

-- Query #45805 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2510ec0-36f6-f952-f0d5-c973d9643a3c'::uuid]);

-- Query #45806 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f2510ec0-36f6-f952-f0d5-c973d9643a3c'::uuid;

-- Query #45807 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2510ec0-36f6-f952-f0d5-c973d9643a3c'::uuid;

-- Query #45808 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f2510ec0-36f6-f952-f0d5-c973d9643a3c'::uuid;

-- Query #45809 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45810 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f2510ec0-36f6-f952-f0d5-c973d9643a3c'::uuid]);

-- Query #45811 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '531323fa-5c7e-dc9f-4d4b-5d587eba5ea9'::uuid;

-- Query #45812 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['531323fa-5c7e-dc9f-4d4b-5d587eba5ea9'::uuid]);

-- Query #45813 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '531323fa-5c7e-dc9f-4d4b-5d587eba5ea9'::uuid;

-- Query #45814 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '531323fa-5c7e-dc9f-4d4b-5d587eba5ea9'::uuid;

-- Query #45815 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '531323fa-5c7e-dc9f-4d4b-5d587eba5ea9'::uuid;

-- Query #45816 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45817 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['531323fa-5c7e-dc9f-4d4b-5d587eba5ea9'::uuid]);

-- Query #45818 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'de873e4b-4997-0a18-76ab-aa177ede4554'::uuid;

-- Query #45819 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['de873e4b-4997-0a18-76ab-aa177ede4554'::uuid]);

-- Query #45820 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'de873e4b-4997-0a18-76ab-aa177ede4554'::uuid;

-- Query #45821 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'de873e4b-4997-0a18-76ab-aa177ede4554'::uuid;

-- Query #45822 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'de873e4b-4997-0a18-76ab-aa177ede4554'::uuid;

-- Query #45823 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45824 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['de873e4b-4997-0a18-76ab-aa177ede4554'::uuid]);

-- Query #45825 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f4503fa-4f03-a33c-b49f-760c8d78445e'::uuid;

-- Query #45826 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7f4503fa-4f03-a33c-b49f-760c8d78445e'::uuid]);

-- Query #45827 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7f4503fa-4f03-a33c-b49f-760c8d78445e'::uuid;

-- Query #45828 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7f4503fa-4f03-a33c-b49f-760c8d78445e'::uuid;

-- Query #45829 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7f4503fa-4f03-a33c-b49f-760c8d78445e'::uuid;

-- Query #45830 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45831 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7f4503fa-4f03-a33c-b49f-760c8d78445e'::uuid]);

-- Query #45832 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '724680e3-acac-7b79-e49f-f2c456261b1e'::uuid;

-- Query #45833 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['724680e3-acac-7b79-e49f-f2c456261b1e'::uuid]);

-- Query #45834 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '724680e3-acac-7b79-e49f-f2c456261b1e'::uuid;

-- Query #45835 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '724680e3-acac-7b79-e49f-f2c456261b1e'::uuid;

-- Query #45836 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '724680e3-acac-7b79-e49f-f2c456261b1e'::uuid;

-- Query #45837 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45838 | logged_duration_ms=9 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['724680e3-acac-7b79-e49f-f2c456261b1e'::uuid]);

-- Query #45839 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8162e70-2ac8-8e62-00d5-2255a0ceab57'::uuid;

-- Query #45840 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8162e70-2ac8-8e62-00d5-2255a0ceab57'::uuid]);

-- Query #45841 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b8162e70-2ac8-8e62-00d5-2255a0ceab57'::uuid;

-- Query #45842 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b8162e70-2ac8-8e62-00d5-2255a0ceab57'::uuid;

-- Query #45843 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b8162e70-2ac8-8e62-00d5-2255a0ceab57'::uuid;

-- Query #45844 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45845 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b8162e70-2ac8-8e62-00d5-2255a0ceab57'::uuid]);

-- Query #45846 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a133b2da-d619-55f9-6c0f-ba68ea2940ed'::uuid;

-- Query #45847 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a133b2da-d619-55f9-6c0f-ba68ea2940ed'::uuid]);

-- Query #45848 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a133b2da-d619-55f9-6c0f-ba68ea2940ed'::uuid;

-- Query #45849 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a133b2da-d619-55f9-6c0f-ba68ea2940ed'::uuid;

-- Query #45850 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a133b2da-d619-55f9-6c0f-ba68ea2940ed'::uuid;

-- Query #45851 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45852 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a133b2da-d619-55f9-6c0f-ba68ea2940ed'::uuid]);

-- Query #45853 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e81118c1-f6ad-a13c-a077-e90dbe41bec2'::uuid;

-- Query #45854 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e81118c1-f6ad-a13c-a077-e90dbe41bec2'::uuid]);

-- Query #45855 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e81118c1-f6ad-a13c-a077-e90dbe41bec2'::uuid;

-- Query #45856 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e81118c1-f6ad-a13c-a077-e90dbe41bec2'::uuid;

-- Query #45857 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e81118c1-f6ad-a13c-a077-e90dbe41bec2'::uuid;

-- Query #45858 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45859 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e81118c1-f6ad-a13c-a077-e90dbe41bec2'::uuid]);

-- Query #45860 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '61810c77-5389-14a1-22ec-94884c99eb25'::uuid;

-- Query #45861 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['61810c77-5389-14a1-22ec-94884c99eb25'::uuid]);

-- Query #45862 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '61810c77-5389-14a1-22ec-94884c99eb25'::uuid;

-- Query #45863 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '61810c77-5389-14a1-22ec-94884c99eb25'::uuid;

-- Query #45864 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '61810c77-5389-14a1-22ec-94884c99eb25'::uuid;

-- Query #45865 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45866 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['61810c77-5389-14a1-22ec-94884c99eb25'::uuid]);

-- Query #45867 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74f959fb-6d6f-3698-35cd-32242f01df83'::uuid;

-- Query #45868 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['74f959fb-6d6f-3698-35cd-32242f01df83'::uuid]);

-- Query #45869 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '74f959fb-6d6f-3698-35cd-32242f01df83'::uuid;

-- Query #45870 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '74f959fb-6d6f-3698-35cd-32242f01df83'::uuid;

-- Query #45871 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '74f959fb-6d6f-3698-35cd-32242f01df83'::uuid;

-- Query #45872 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45873 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['74f959fb-6d6f-3698-35cd-32242f01df83'::uuid]);

-- Query #45874 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e60e6a3-714f-0fa7-8ee7-df7f111f263b'::uuid;

-- Query #45875 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e60e6a3-714f-0fa7-8ee7-df7f111f263b'::uuid]);

-- Query #45876 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8e60e6a3-714f-0fa7-8ee7-df7f111f263b'::uuid;

-- Query #45877 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e60e6a3-714f-0fa7-8ee7-df7f111f263b'::uuid;

-- Query #45878 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8e60e6a3-714f-0fa7-8ee7-df7f111f263b'::uuid;

-- Query #45879 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45880 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8e60e6a3-714f-0fa7-8ee7-df7f111f263b'::uuid]);

-- Query #45881 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '902d7b97-9357-c12b-17f4-4608d535ba70'::uuid;

-- Query #45882 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['902d7b97-9357-c12b-17f4-4608d535ba70'::uuid]);

-- Query #45883 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '902d7b97-9357-c12b-17f4-4608d535ba70'::uuid;

-- Query #45884 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '902d7b97-9357-c12b-17f4-4608d535ba70'::uuid;

-- Query #45885 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '902d7b97-9357-c12b-17f4-4608d535ba70'::uuid;

-- Query #45886 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45887 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['902d7b97-9357-c12b-17f4-4608d535ba70'::uuid]);

-- Query #45888 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'caf125a9-0c48-bd19-1c61-a53c3339606c'::uuid;

-- Query #45889 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['caf125a9-0c48-bd19-1c61-a53c3339606c'::uuid]);

-- Query #45890 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'caf125a9-0c48-bd19-1c61-a53c3339606c'::uuid;

-- Query #45891 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'caf125a9-0c48-bd19-1c61-a53c3339606c'::uuid;

-- Query #45892 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'caf125a9-0c48-bd19-1c61-a53c3339606c'::uuid;

-- Query #45893 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45894 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['caf125a9-0c48-bd19-1c61-a53c3339606c'::uuid]);

-- Query #45895 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9bba9fed-d94b-79fe-7c7d-d59f3ba814d8'::uuid;

-- Query #45896 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9bba9fed-d94b-79fe-7c7d-d59f3ba814d8'::uuid]);

-- Query #45897 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9bba9fed-d94b-79fe-7c7d-d59f3ba814d8'::uuid;

-- Query #45898 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9bba9fed-d94b-79fe-7c7d-d59f3ba814d8'::uuid;

-- Query #45899 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9bba9fed-d94b-79fe-7c7d-d59f3ba814d8'::uuid;

-- Query #45900 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45901 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9bba9fed-d94b-79fe-7c7d-d59f3ba814d8'::uuid]);

-- Query #45902 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b48fdf8d-453e-41d3-6456-ed6dfd80a4d8'::uuid;

-- Query #45903 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b48fdf8d-453e-41d3-6456-ed6dfd80a4d8'::uuid]);

-- Query #45904 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b48fdf8d-453e-41d3-6456-ed6dfd80a4d8'::uuid;

-- Query #45905 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b48fdf8d-453e-41d3-6456-ed6dfd80a4d8'::uuid;

-- Query #45906 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b48fdf8d-453e-41d3-6456-ed6dfd80a4d8'::uuid;

-- Query #45907 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45908 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b48fdf8d-453e-41d3-6456-ed6dfd80a4d8'::uuid]);

-- Query #45909 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5a573538-908d-30cb-b626-a5dfac08c57a'::uuid;

-- Query #45910 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5a573538-908d-30cb-b626-a5dfac08c57a'::uuid]);

-- Query #45911 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5a573538-908d-30cb-b626-a5dfac08c57a'::uuid;

-- Query #45912 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5a573538-908d-30cb-b626-a5dfac08c57a'::uuid;

-- Query #45913 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5a573538-908d-30cb-b626-a5dfac08c57a'::uuid;

-- Query #45914 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45915 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5a573538-908d-30cb-b626-a5dfac08c57a'::uuid]);

-- Query #45916 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8c68d0f6-0c32-929e-e201-358a372bf579'::uuid;

-- Query #45917 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8c68d0f6-0c32-929e-e201-358a372bf579'::uuid]);

-- Query #45918 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8c68d0f6-0c32-929e-e201-358a372bf579'::uuid;

-- Query #45919 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8c68d0f6-0c32-929e-e201-358a372bf579'::uuid;

-- Query #45920 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8c68d0f6-0c32-929e-e201-358a372bf579'::uuid;

-- Query #45921 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45922 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8c68d0f6-0c32-929e-e201-358a372bf579'::uuid]);

-- Query #45923 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3fe3e380-5212-a8b5-105a-d713741baf77'::uuid;

-- Query #45924 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3fe3e380-5212-a8b5-105a-d713741baf77'::uuid]);

-- Query #45925 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3fe3e380-5212-a8b5-105a-d713741baf77'::uuid;

-- Query #45926 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3fe3e380-5212-a8b5-105a-d713741baf77'::uuid;

-- Query #45927 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3fe3e380-5212-a8b5-105a-d713741baf77'::uuid;

-- Query #45928 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45929 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3fe3e380-5212-a8b5-105a-d713741baf77'::uuid]);

-- Query #45930 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd61222ce-1172-47e0-4c13-81330621a029'::uuid;

-- Query #45931 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d61222ce-1172-47e0-4c13-81330621a029'::uuid]);

-- Query #45932 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd61222ce-1172-47e0-4c13-81330621a029'::uuid;

-- Query #45933 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd61222ce-1172-47e0-4c13-81330621a029'::uuid;

-- Query #45934 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd61222ce-1172-47e0-4c13-81330621a029'::uuid;

-- Query #45935 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45936 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d61222ce-1172-47e0-4c13-81330621a029'::uuid]);

-- Query #45937 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5a9f3b3-94d3-c3d1-ef3a-940b06caa3f2'::uuid;

-- Query #45938 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a5a9f3b3-94d3-c3d1-ef3a-940b06caa3f2'::uuid]);

-- Query #45939 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a5a9f3b3-94d3-c3d1-ef3a-940b06caa3f2'::uuid;

-- Query #45940 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5a9f3b3-94d3-c3d1-ef3a-940b06caa3f2'::uuid;

-- Query #45941 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a5a9f3b3-94d3-c3d1-ef3a-940b06caa3f2'::uuid;

-- Query #45942 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45943 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a5a9f3b3-94d3-c3d1-ef3a-940b06caa3f2'::uuid]);

-- Query #45944 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd860dbb2-d468-b6ce-29d5-52d423186a94'::uuid;

-- Query #45945 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #45946 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d860dbb2-d468-b6ce-29d5-52d423186a94'::uuid]);

-- Query #45947 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd860dbb2-d468-b6ce-29d5-52d423186a94'::uuid;

-- Query #45948 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd860dbb2-d468-b6ce-29d5-52d423186a94'::uuid;

-- Query #45949 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd860dbb2-d468-b6ce-29d5-52d423186a94'::uuid;

-- Query #45950 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45951 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d860dbb2-d468-b6ce-29d5-52d423186a94'::uuid]);

-- Query #45952 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7f283ff-d9a3-c0c9-f1d7-8aadede25b7f'::uuid;

-- Query #45953 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e7f283ff-d9a3-c0c9-f1d7-8aadede25b7f'::uuid]);

-- Query #45954 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e7f283ff-d9a3-c0c9-f1d7-8aadede25b7f'::uuid;

-- Query #45955 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e7f283ff-d9a3-c0c9-f1d7-8aadede25b7f'::uuid;

-- Query #45956 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e7f283ff-d9a3-c0c9-f1d7-8aadede25b7f'::uuid;

-- Query #45957 | logged_duration_ms=7 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45958 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e7f283ff-d9a3-c0c9-f1d7-8aadede25b7f'::uuid]);

-- Query #45959 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca12ff00-1f18-1999-7fb0-53b2b9fb5897'::uuid;

-- Query #45960 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ca12ff00-1f18-1999-7fb0-53b2b9fb5897'::uuid]);

-- Query #45961 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ca12ff00-1f18-1999-7fb0-53b2b9fb5897'::uuid;

-- Query #45962 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ca12ff00-1f18-1999-7fb0-53b2b9fb5897'::uuid;

-- Query #45963 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ca12ff00-1f18-1999-7fb0-53b2b9fb5897'::uuid;

-- Query #45964 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45965 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ca12ff00-1f18-1999-7fb0-53b2b9fb5897'::uuid]);

-- Query #45966 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e56aaac7-ab0b-b0f5-f483-71be0252bab4'::uuid;

-- Query #45967 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e56aaac7-ab0b-b0f5-f483-71be0252bab4'::uuid]);

-- Query #45968 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e56aaac7-ab0b-b0f5-f483-71be0252bab4'::uuid;

-- Query #45969 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e56aaac7-ab0b-b0f5-f483-71be0252bab4'::uuid;

-- Query #45970 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e56aaac7-ab0b-b0f5-f483-71be0252bab4'::uuid;

-- Query #45971 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45972 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e56aaac7-ab0b-b0f5-f483-71be0252bab4'::uuid]);

-- Query #45973 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '889694dc-5113-0392-4568-775e88376209'::uuid;

-- Query #45974 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['889694dc-5113-0392-4568-775e88376209'::uuid]);

-- Query #45975 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '889694dc-5113-0392-4568-775e88376209'::uuid;

-- Query #45976 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '889694dc-5113-0392-4568-775e88376209'::uuid;

-- Query #45977 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '889694dc-5113-0392-4568-775e88376209'::uuid;

-- Query #45978 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45979 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['889694dc-5113-0392-4568-775e88376209'::uuid]);

-- Query #45980 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '83e74b4a-a0c7-8ad0-959e-3a2c9d2fb5b5'::uuid;

-- Query #45981 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['83e74b4a-a0c7-8ad0-959e-3a2c9d2fb5b5'::uuid]);

-- Query #45982 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '83e74b4a-a0c7-8ad0-959e-3a2c9d2fb5b5'::uuid;

-- Query #45983 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '83e74b4a-a0c7-8ad0-959e-3a2c9d2fb5b5'::uuid;

-- Query #45984 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '83e74b4a-a0c7-8ad0-959e-3a2c9d2fb5b5'::uuid;

-- Query #45985 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45986 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['83e74b4a-a0c7-8ad0-959e-3a2c9d2fb5b5'::uuid]);

-- Query #45987 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7888f290-1deb-40be-da58-da4cbb13d497'::uuid;

-- Query #45988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7888f290-1deb-40be-da58-da4cbb13d497'::uuid]);

-- Query #45989 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7888f290-1deb-40be-da58-da4cbb13d497'::uuid;

-- Query #45990 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7888f290-1deb-40be-da58-da4cbb13d497'::uuid;

-- Query #45991 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7888f290-1deb-40be-da58-da4cbb13d497'::uuid;

-- Query #45992 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #45993 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7888f290-1deb-40be-da58-da4cbb13d497'::uuid]);

-- Query #45994 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f7cebdbd-6648-44e7-004f-bb88647c944e'::uuid;

-- Query #45995 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f7cebdbd-6648-44e7-004f-bb88647c944e'::uuid]);

-- Query #45996 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f7cebdbd-6648-44e7-004f-bb88647c944e'::uuid;

-- Query #45997 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f7cebdbd-6648-44e7-004f-bb88647c944e'::uuid;

-- Query #45998 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f7cebdbd-6648-44e7-004f-bb88647c944e'::uuid;

-- Query #45999 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46000 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f7cebdbd-6648-44e7-004f-bb88647c944e'::uuid]);

-- Query #46001 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cac289b8-b410-def5-bd99-995a2f41ee58'::uuid;

-- Query #46002 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cac289b8-b410-def5-bd99-995a2f41ee58'::uuid]);

-- Query #46003 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cac289b8-b410-def5-bd99-995a2f41ee58'::uuid;

-- Query #46004 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cac289b8-b410-def5-bd99-995a2f41ee58'::uuid;

-- Query #46005 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cac289b8-b410-def5-bd99-995a2f41ee58'::uuid;

-- Query #46006 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46007 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cac289b8-b410-def5-bd99-995a2f41ee58'::uuid]);

-- Query #46008 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5b80299-b9bb-003e-14b7-8dcd55a26bee'::uuid;

-- Query #46009 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a5b80299-b9bb-003e-14b7-8dcd55a26bee'::uuid]);

-- Query #46010 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a5b80299-b9bb-003e-14b7-8dcd55a26bee'::uuid;

-- Query #46011 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5b80299-b9bb-003e-14b7-8dcd55a26bee'::uuid;

-- Query #46012 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a5b80299-b9bb-003e-14b7-8dcd55a26bee'::uuid;

-- Query #46013 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46014 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a5b80299-b9bb-003e-14b7-8dcd55a26bee'::uuid]);

-- Query #46015 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '38f50701-b39a-112b-ea47-8b41efaa04ce'::uuid;

-- Query #46016 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38f50701-b39a-112b-ea47-8b41efaa04ce'::uuid]);

-- Query #46017 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '38f50701-b39a-112b-ea47-8b41efaa04ce'::uuid;

-- Query #46018 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '38f50701-b39a-112b-ea47-8b41efaa04ce'::uuid;

-- Query #46019 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '38f50701-b39a-112b-ea47-8b41efaa04ce'::uuid;

-- Query #46020 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46021 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['38f50701-b39a-112b-ea47-8b41efaa04ce'::uuid]);

-- Query #46022 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'edffd117-ec74-3653-4d43-2391f719626b'::uuid;

-- Query #46023 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['edffd117-ec74-3653-4d43-2391f719626b'::uuid]);

-- Query #46024 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'edffd117-ec74-3653-4d43-2391f719626b'::uuid;

-- Query #46025 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'edffd117-ec74-3653-4d43-2391f719626b'::uuid;

-- Query #46026 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'edffd117-ec74-3653-4d43-2391f719626b'::uuid;

-- Query #46027 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46028 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['edffd117-ec74-3653-4d43-2391f719626b'::uuid]);

-- Query #46029 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '847fd3a2-fc65-978c-b843-eda2085c06ac'::uuid;

-- Query #46030 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['847fd3a2-fc65-978c-b843-eda2085c06ac'::uuid]);

-- Query #46031 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '847fd3a2-fc65-978c-b843-eda2085c06ac'::uuid;

-- Query #46032 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '847fd3a2-fc65-978c-b843-eda2085c06ac'::uuid;

-- Query #46033 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '847fd3a2-fc65-978c-b843-eda2085c06ac'::uuid;

-- Query #46034 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46035 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['847fd3a2-fc65-978c-b843-eda2085c06ac'::uuid]);

-- Query #46036 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96b48893-d56b-5992-7099-1d22c7a88280'::uuid;

-- Query #46037 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['96b48893-d56b-5992-7099-1d22c7a88280'::uuid]);

-- Query #46038 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '96b48893-d56b-5992-7099-1d22c7a88280'::uuid;

-- Query #46039 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '96b48893-d56b-5992-7099-1d22c7a88280'::uuid;

-- Query #46040 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '96b48893-d56b-5992-7099-1d22c7a88280'::uuid;

-- Query #46041 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46042 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['96b48893-d56b-5992-7099-1d22c7a88280'::uuid]);

-- Query #46043 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b0a503c-e630-3df0-5687-9a058ae50c94'::uuid;

-- Query #46044 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b0a503c-e630-3df0-5687-9a058ae50c94'::uuid]);

-- Query #46045 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2b0a503c-e630-3df0-5687-9a058ae50c94'::uuid;

-- Query #46046 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b0a503c-e630-3df0-5687-9a058ae50c94'::uuid;

-- Query #46047 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2b0a503c-e630-3df0-5687-9a058ae50c94'::uuid;

-- Query #46048 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46049 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2b0a503c-e630-3df0-5687-9a058ae50c94'::uuid]);

-- Query #46050 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1384420-050b-89ea-581e-04c0dd9a83a8'::uuid;

-- Query #46051 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a1384420-050b-89ea-581e-04c0dd9a83a8'::uuid]);

-- Query #46052 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a1384420-050b-89ea-581e-04c0dd9a83a8'::uuid;

-- Query #46053 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1384420-050b-89ea-581e-04c0dd9a83a8'::uuid;

-- Query #46054 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a1384420-050b-89ea-581e-04c0dd9a83a8'::uuid;

-- Query #46055 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46056 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a1384420-050b-89ea-581e-04c0dd9a83a8'::uuid]);

-- Query #46057 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2207b16a-2468-1462-94aa-6352d4889aaf'::uuid;

-- Query #46058 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2207b16a-2468-1462-94aa-6352d4889aaf'::uuid]);

-- Query #46059 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2207b16a-2468-1462-94aa-6352d4889aaf'::uuid;

-- Query #46060 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2207b16a-2468-1462-94aa-6352d4889aaf'::uuid;

-- Query #46061 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2207b16a-2468-1462-94aa-6352d4889aaf'::uuid;

-- Query #46062 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46063 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2207b16a-2468-1462-94aa-6352d4889aaf'::uuid]);

-- Query #46064 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7e54629f-60e4-9c6a-9789-d1e8122aaa23'::uuid;

-- Query #46065 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e54629f-60e4-9c6a-9789-d1e8122aaa23'::uuid]);

-- Query #46066 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7e54629f-60e4-9c6a-9789-d1e8122aaa23'::uuid;

-- Query #46067 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7e54629f-60e4-9c6a-9789-d1e8122aaa23'::uuid;

-- Query #46068 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7e54629f-60e4-9c6a-9789-d1e8122aaa23'::uuid;

-- Query #46069 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46070 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7e54629f-60e4-9c6a-9789-d1e8122aaa23'::uuid]);

-- Query #46071 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '138cab55-389d-b622-fdc8-19c78185e22a'::uuid;

-- Query #46072 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['138cab55-389d-b622-fdc8-19c78185e22a'::uuid]);

-- Query #46073 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '138cab55-389d-b622-fdc8-19c78185e22a'::uuid;

-- Query #46074 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '138cab55-389d-b622-fdc8-19c78185e22a'::uuid;

-- Query #46075 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '138cab55-389d-b622-fdc8-19c78185e22a'::uuid;

-- Query #46076 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46077 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['138cab55-389d-b622-fdc8-19c78185e22a'::uuid]);

-- Query #46078 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6679acee-50cb-777a-68ba-a04201e6258f'::uuid;

-- Query #46079 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6679acee-50cb-777a-68ba-a04201e6258f'::uuid]);

-- Query #46080 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6679acee-50cb-777a-68ba-a04201e6258f'::uuid;

-- Query #46081 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6679acee-50cb-777a-68ba-a04201e6258f'::uuid;

-- Query #46082 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6679acee-50cb-777a-68ba-a04201e6258f'::uuid;

-- Query #46083 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46084 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6679acee-50cb-777a-68ba-a04201e6258f'::uuid]);

-- Query #46085 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ad1ee218-b81d-ac11-b1e3-9aa15fb0cfc5'::uuid;

-- Query #46086 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad1ee218-b81d-ac11-b1e3-9aa15fb0cfc5'::uuid]);

-- Query #46087 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'ad1ee218-b81d-ac11-b1e3-9aa15fb0cfc5'::uuid;

-- Query #46088 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'ad1ee218-b81d-ac11-b1e3-9aa15fb0cfc5'::uuid;

-- Query #46089 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'ad1ee218-b81d-ac11-b1e3-9aa15fb0cfc5'::uuid;

-- Query #46090 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46091 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['ad1ee218-b81d-ac11-b1e3-9aa15fb0cfc5'::uuid]);

-- Query #46092 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dc94c71a-b0e1-ab8e-4da1-0a02a1119e0d'::uuid;

-- Query #46093 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dc94c71a-b0e1-ab8e-4da1-0a02a1119e0d'::uuid]);

-- Query #46094 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'dc94c71a-b0e1-ab8e-4da1-0a02a1119e0d'::uuid;

-- Query #46095 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'dc94c71a-b0e1-ab8e-4da1-0a02a1119e0d'::uuid;

-- Query #46096 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'dc94c71a-b0e1-ab8e-4da1-0a02a1119e0d'::uuid;

-- Query #46097 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46098 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['dc94c71a-b0e1-ab8e-4da1-0a02a1119e0d'::uuid]);

-- Query #46099 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '631c0836-cae8-2994-b362-d3a034629eac'::uuid;

-- Query #46100 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['631c0836-cae8-2994-b362-d3a034629eac'::uuid]);

-- Query #46101 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '631c0836-cae8-2994-b362-d3a034629eac'::uuid;

-- Query #46102 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '631c0836-cae8-2994-b362-d3a034629eac'::uuid;

-- Query #46103 | logged_duration_ms=10 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '631c0836-cae8-2994-b362-d3a034629eac'::uuid;

-- Query #46104 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46105 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['631c0836-cae8-2994-b362-d3a034629eac'::uuid]);

-- Query #46106 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9b008048-0104-5086-336e-d2045c5f725a'::uuid;

-- Query #46107 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9b008048-0104-5086-336e-d2045c5f725a'::uuid]);

-- Query #46108 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9b008048-0104-5086-336e-d2045c5f725a'::uuid;

-- Query #46109 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9b008048-0104-5086-336e-d2045c5f725a'::uuid;

-- Query #46110 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9b008048-0104-5086-336e-d2045c5f725a'::uuid;

-- Query #46111 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46112 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9b008048-0104-5086-336e-d2045c5f725a'::uuid]);

-- Query #46113 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24462fad-d29a-8b1d-7224-a6a004ae4e29'::uuid;

-- Query #46114 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24462fad-d29a-8b1d-7224-a6a004ae4e29'::uuid]);

-- Query #46115 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '24462fad-d29a-8b1d-7224-a6a004ae4e29'::uuid;

-- Query #46116 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24462fad-d29a-8b1d-7224-a6a004ae4e29'::uuid;

-- Query #46117 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '24462fad-d29a-8b1d-7224-a6a004ae4e29'::uuid;

-- Query #46118 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46119 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['24462fad-d29a-8b1d-7224-a6a004ae4e29'::uuid]);

-- Query #46120 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '650458e3-259d-76d7-ccdd-9a3ed8ec0bd4'::uuid;

-- Query #46121 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['650458e3-259d-76d7-ccdd-9a3ed8ec0bd4'::uuid]);

-- Query #46122 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '650458e3-259d-76d7-ccdd-9a3ed8ec0bd4'::uuid;

-- Query #46123 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '650458e3-259d-76d7-ccdd-9a3ed8ec0bd4'::uuid;

-- Query #46124 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '650458e3-259d-76d7-ccdd-9a3ed8ec0bd4'::uuid;

-- Query #46125 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46126 | logged_duration_ms=6 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46127 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['650458e3-259d-76d7-ccdd-9a3ed8ec0bd4'::uuid]);

-- Query #46128 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a048280-8d76-23ba-454e-afb859e08b33'::uuid;

-- Query #46129 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a048280-8d76-23ba-454e-afb859e08b33'::uuid]);

-- Query #46130 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4a048280-8d76-23ba-454e-afb859e08b33'::uuid;

-- Query #46131 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a048280-8d76-23ba-454e-afb859e08b33'::uuid;

-- Query #46132 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4a048280-8d76-23ba-454e-afb859e08b33'::uuid;

-- Query #46133 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46134 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4a048280-8d76-23ba-454e-afb859e08b33'::uuid]);

-- Query #46135 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '64213359-f0dd-3c6c-dda5-ca06a355991c'::uuid;

-- Query #46136 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['64213359-f0dd-3c6c-dda5-ca06a355991c'::uuid]);

-- Query #46137 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '64213359-f0dd-3c6c-dda5-ca06a355991c'::uuid;

-- Query #46138 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '64213359-f0dd-3c6c-dda5-ca06a355991c'::uuid;

-- Query #46139 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '64213359-f0dd-3c6c-dda5-ca06a355991c'::uuid;

-- Query #46140 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46141 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['64213359-f0dd-3c6c-dda5-ca06a355991c'::uuid]);

-- Query #46142 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eaaf8430-1030-76b9-117b-5b75ff6b7379'::uuid;

-- Query #46143 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eaaf8430-1030-76b9-117b-5b75ff6b7379'::uuid]);

-- Query #46144 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eaaf8430-1030-76b9-117b-5b75ff6b7379'::uuid;

-- Query #46145 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eaaf8430-1030-76b9-117b-5b75ff6b7379'::uuid;

-- Query #46146 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eaaf8430-1030-76b9-117b-5b75ff6b7379'::uuid;

-- Query #46147 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46148 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eaaf8430-1030-76b9-117b-5b75ff6b7379'::uuid]);

-- Query #46149 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c6a7b9b9-8037-a5ce-989a-d1d90a2ebb46'::uuid;

-- Query #46150 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c6a7b9b9-8037-a5ce-989a-d1d90a2ebb46'::uuid]);

-- Query #46151 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c6a7b9b9-8037-a5ce-989a-d1d90a2ebb46'::uuid;

-- Query #46152 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c6a7b9b9-8037-a5ce-989a-d1d90a2ebb46'::uuid;

-- Query #46153 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c6a7b9b9-8037-a5ce-989a-d1d90a2ebb46'::uuid;

-- Query #46154 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46155 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c6a7b9b9-8037-a5ce-989a-d1d90a2ebb46'::uuid]);

-- Query #46156 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '885d14f3-01ff-60ea-f220-18e739af4d9b'::uuid;

-- Query #46157 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['885d14f3-01ff-60ea-f220-18e739af4d9b'::uuid]);

-- Query #46158 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '885d14f3-01ff-60ea-f220-18e739af4d9b'::uuid;

-- Query #46159 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '885d14f3-01ff-60ea-f220-18e739af4d9b'::uuid;

-- Query #46160 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '885d14f3-01ff-60ea-f220-18e739af4d9b'::uuid;

-- Query #46161 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46162 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['885d14f3-01ff-60ea-f220-18e739af4d9b'::uuid]);

-- Query #46163 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '752de8ac-0ee0-7d21-1bf6-6eb6e763a4d7'::uuid;

-- Query #46164 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['752de8ac-0ee0-7d21-1bf6-6eb6e763a4d7'::uuid]);

-- Query #46165 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '752de8ac-0ee0-7d21-1bf6-6eb6e763a4d7'::uuid;

-- Query #46166 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '752de8ac-0ee0-7d21-1bf6-6eb6e763a4d7'::uuid;

-- Query #46167 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '752de8ac-0ee0-7d21-1bf6-6eb6e763a4d7'::uuid;

-- Query #46168 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46169 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['752de8ac-0ee0-7d21-1bf6-6eb6e763a4d7'::uuid]);

-- Query #46170 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e5e6dcc-d33d-6c5d-3492-5f501fad4422'::uuid;

-- Query #46171 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e5e6dcc-d33d-6c5d-3492-5f501fad4422'::uuid]);

-- Query #46172 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8e5e6dcc-d33d-6c5d-3492-5f501fad4422'::uuid;

-- Query #46173 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8e5e6dcc-d33d-6c5d-3492-5f501fad4422'::uuid;

-- Query #46174 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8e5e6dcc-d33d-6c5d-3492-5f501fad4422'::uuid;

-- Query #46175 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46176 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8e5e6dcc-d33d-6c5d-3492-5f501fad4422'::uuid]);

-- Query #46177 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '167bf8eb-0861-404e-fdd5-617d2dabc233'::uuid;

-- Query #46178 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['167bf8eb-0861-404e-fdd5-617d2dabc233'::uuid]);

-- Query #46179 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '167bf8eb-0861-404e-fdd5-617d2dabc233'::uuid;

-- Query #46180 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '167bf8eb-0861-404e-fdd5-617d2dabc233'::uuid;

-- Query #46181 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '167bf8eb-0861-404e-fdd5-617d2dabc233'::uuid;

-- Query #46182 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46183 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['167bf8eb-0861-404e-fdd5-617d2dabc233'::uuid]);

-- Query #46184 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ea5cf31-4557-65a4-8dc4-ab944496e3c5'::uuid;

-- Query #46185 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ea5cf31-4557-65a4-8dc4-ab944496e3c5'::uuid]);

-- Query #46186 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5ea5cf31-4557-65a4-8dc4-ab944496e3c5'::uuid;

-- Query #46187 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5ea5cf31-4557-65a4-8dc4-ab944496e3c5'::uuid;

-- Query #46188 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5ea5cf31-4557-65a4-8dc4-ab944496e3c5'::uuid;

-- Query #46189 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46190 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5ea5cf31-4557-65a4-8dc4-ab944496e3c5'::uuid]);

-- Query #46191 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b4d7dd35-e75e-6b69-3a3c-b1841a2977b7'::uuid;

-- Query #46192 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4d7dd35-e75e-6b69-3a3c-b1841a2977b7'::uuid]);

-- Query #46193 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b4d7dd35-e75e-6b69-3a3c-b1841a2977b7'::uuid;

-- Query #46194 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b4d7dd35-e75e-6b69-3a3c-b1841a2977b7'::uuid;

-- Query #46195 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b4d7dd35-e75e-6b69-3a3c-b1841a2977b7'::uuid;

-- Query #46196 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46197 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b4d7dd35-e75e-6b69-3a3c-b1841a2977b7'::uuid]);

-- Query #46198 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8c9e3160-33ae-37da-7568-5215858a07ec'::uuid;

-- Query #46199 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8c9e3160-33ae-37da-7568-5215858a07ec'::uuid]);

-- Query #46200 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8c9e3160-33ae-37da-7568-5215858a07ec'::uuid;

-- Query #46201 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8c9e3160-33ae-37da-7568-5215858a07ec'::uuid;

-- Query #46202 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8c9e3160-33ae-37da-7568-5215858a07ec'::uuid;

-- Query #46203 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46204 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8c9e3160-33ae-37da-7568-5215858a07ec'::uuid]);

-- Query #46205 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f09a8719-bfd6-4153-e71c-66d4ad60e4bd'::uuid;

-- Query #46206 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f09a8719-bfd6-4153-e71c-66d4ad60e4bd'::uuid]);

-- Query #46207 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f09a8719-bfd6-4153-e71c-66d4ad60e4bd'::uuid;

-- Query #46208 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f09a8719-bfd6-4153-e71c-66d4ad60e4bd'::uuid;

-- Query #46209 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f09a8719-bfd6-4153-e71c-66d4ad60e4bd'::uuid;

-- Query #46210 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46211 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f09a8719-bfd6-4153-e71c-66d4ad60e4bd'::uuid]);

-- Query #46212 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '737ac287-0f4e-6278-a50f-145edd2d4874'::uuid;

-- Query #46213 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['737ac287-0f4e-6278-a50f-145edd2d4874'::uuid]);

-- Query #46214 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '737ac287-0f4e-6278-a50f-145edd2d4874'::uuid;

-- Query #46215 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '737ac287-0f4e-6278-a50f-145edd2d4874'::uuid;

-- Query #46216 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '737ac287-0f4e-6278-a50f-145edd2d4874'::uuid;

-- Query #46217 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46218 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['737ac287-0f4e-6278-a50f-145edd2d4874'::uuid]);

-- Query #46219 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cec3d2db-793f-a002-69e8-bd664834a576'::uuid;

-- Query #46220 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cec3d2db-793f-a002-69e8-bd664834a576'::uuid]);

-- Query #46221 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cec3d2db-793f-a002-69e8-bd664834a576'::uuid;

-- Query #46222 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cec3d2db-793f-a002-69e8-bd664834a576'::uuid;

-- Query #46223 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cec3d2db-793f-a002-69e8-bd664834a576'::uuid;

-- Query #46224 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46225 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cec3d2db-793f-a002-69e8-bd664834a576'::uuid]);

-- Query #46226 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '868f7f92-eef7-03b4-9c3f-35c0f7c70d7e'::uuid;

-- Query #46227 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['868f7f92-eef7-03b4-9c3f-35c0f7c70d7e'::uuid]);

-- Query #46228 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '868f7f92-eef7-03b4-9c3f-35c0f7c70d7e'::uuid;

-- Query #46229 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '868f7f92-eef7-03b4-9c3f-35c0f7c70d7e'::uuid;

-- Query #46230 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '868f7f92-eef7-03b4-9c3f-35c0f7c70d7e'::uuid;

-- Query #46231 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46232 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['868f7f92-eef7-03b4-9c3f-35c0f7c70d7e'::uuid]);

-- Query #46233 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f83e77e-3f46-5e52-8750-d05c6d9cdb0c'::uuid;

-- Query #46234 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f83e77e-3f46-5e52-8750-d05c6d9cdb0c'::uuid]);

-- Query #46235 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5f83e77e-3f46-5e52-8750-d05c6d9cdb0c'::uuid;

-- Query #46236 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5f83e77e-3f46-5e52-8750-d05c6d9cdb0c'::uuid;

-- Query #46237 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5f83e77e-3f46-5e52-8750-d05c6d9cdb0c'::uuid;

-- Query #46238 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46239 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5f83e77e-3f46-5e52-8750-d05c6d9cdb0c'::uuid]);

-- Query #46240 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0754c5e2-8bd8-2d9a-6732-883987e40556'::uuid;

-- Query #46241 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0754c5e2-8bd8-2d9a-6732-883987e40556'::uuid]);

-- Query #46242 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0754c5e2-8bd8-2d9a-6732-883987e40556'::uuid;

-- Query #46243 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0754c5e2-8bd8-2d9a-6732-883987e40556'::uuid;

-- Query #46244 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0754c5e2-8bd8-2d9a-6732-883987e40556'::uuid;

-- Query #46245 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46246 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0754c5e2-8bd8-2d9a-6732-883987e40556'::uuid]);

-- Query #46247 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b97e2eb-932d-35bb-07b6-2128a114eeac'::uuid;

-- Query #46248 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b97e2eb-932d-35bb-07b6-2128a114eeac'::uuid]);

-- Query #46249 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2b97e2eb-932d-35bb-07b6-2128a114eeac'::uuid;

-- Query #46250 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2b97e2eb-932d-35bb-07b6-2128a114eeac'::uuid;

-- Query #46251 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2b97e2eb-932d-35bb-07b6-2128a114eeac'::uuid;

-- Query #46252 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46253 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2b97e2eb-932d-35bb-07b6-2128a114eeac'::uuid]);

-- Query #46254 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4f32b45f-94fe-74f8-8f6d-e02755cb8064'::uuid;

-- Query #46255 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f32b45f-94fe-74f8-8f6d-e02755cb8064'::uuid]);

-- Query #46256 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4f32b45f-94fe-74f8-8f6d-e02755cb8064'::uuid;

-- Query #46257 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4f32b45f-94fe-74f8-8f6d-e02755cb8064'::uuid;

-- Query #46258 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4f32b45f-94fe-74f8-8f6d-e02755cb8064'::uuid;

-- Query #46259 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46260 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4f32b45f-94fe-74f8-8f6d-e02755cb8064'::uuid]);

-- Query #46261 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0d6fc23-e2d6-6b56-183b-a40fde92afef'::uuid;

-- Query #46262 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0d6fc23-e2d6-6b56-183b-a40fde92afef'::uuid]);

-- Query #46263 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c0d6fc23-e2d6-6b56-183b-a40fde92afef'::uuid;

-- Query #46264 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c0d6fc23-e2d6-6b56-183b-a40fde92afef'::uuid;

-- Query #46265 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c0d6fc23-e2d6-6b56-183b-a40fde92afef'::uuid;

-- Query #46266 | logged_duration_ms=5 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46267 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c0d6fc23-e2d6-6b56-183b-a40fde92afef'::uuid]);

-- Query #46268 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9916a9b2-957d-117f-041e-537c04943819'::uuid;

-- Query #46269 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9916a9b2-957d-117f-041e-537c04943819'::uuid]);

-- Query #46270 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9916a9b2-957d-117f-041e-537c04943819'::uuid;

-- Query #46271 | logged_duration_ms=7 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9916a9b2-957d-117f-041e-537c04943819'::uuid;

-- Query #46272 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9916a9b2-957d-117f-041e-537c04943819'::uuid;

-- Query #46273 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46274 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9916a9b2-957d-117f-041e-537c04943819'::uuid]);

-- Query #46275 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5aa3e84-5133-3bdf-6f5f-684adcd56d80'::uuid;

-- Query #46276 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a5aa3e84-5133-3bdf-6f5f-684adcd56d80'::uuid]);

-- Query #46277 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a5aa3e84-5133-3bdf-6f5f-684adcd56d80'::uuid;

-- Query #46278 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a5aa3e84-5133-3bdf-6f5f-684adcd56d80'::uuid;

-- Query #46279 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a5aa3e84-5133-3bdf-6f5f-684adcd56d80'::uuid;

-- Query #46280 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46281 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a5aa3e84-5133-3bdf-6f5f-684adcd56d80'::uuid]);

-- Query #46282 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4fc27f66-5500-1860-3b61-dc747cf75f97'::uuid;

-- Query #46283 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4fc27f66-5500-1860-3b61-dc747cf75f97'::uuid]);

-- Query #46284 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4fc27f66-5500-1860-3b61-dc747cf75f97'::uuid;

-- Query #46285 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4fc27f66-5500-1860-3b61-dc747cf75f97'::uuid;

-- Query #46286 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4fc27f66-5500-1860-3b61-dc747cf75f97'::uuid;

-- Query #46287 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46288 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4fc27f66-5500-1860-3b61-dc747cf75f97'::uuid]);

-- Query #46289 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e4dc9bda-fb44-a778-56f9-5d4dce4d9c00'::uuid;

-- Query #46290 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e4dc9bda-fb44-a778-56f9-5d4dce4d9c00'::uuid]);

-- Query #46291 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e4dc9bda-fb44-a778-56f9-5d4dce4d9c00'::uuid;

-- Query #46292 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e4dc9bda-fb44-a778-56f9-5d4dce4d9c00'::uuid;

-- Query #46293 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e4dc9bda-fb44-a778-56f9-5d4dce4d9c00'::uuid;

-- Query #46294 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46295 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e4dc9bda-fb44-a778-56f9-5d4dce4d9c00'::uuid]);

-- Query #46296 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7977e981-175f-f22a-37bd-b12bd3388d55'::uuid;

-- Query #46297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7977e981-175f-f22a-37bd-b12bd3388d55'::uuid]);

-- Query #46298 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7977e981-175f-f22a-37bd-b12bd3388d55'::uuid;

-- Query #46299 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7977e981-175f-f22a-37bd-b12bd3388d55'::uuid;

-- Query #46300 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7977e981-175f-f22a-37bd-b12bd3388d55'::uuid;

-- Query #46301 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46302 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7977e981-175f-f22a-37bd-b12bd3388d55'::uuid]);

-- Query #46303 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4207464c-d9f0-4376-93b8-d85306de41d7'::uuid;

-- Query #46304 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4207464c-d9f0-4376-93b8-d85306de41d7'::uuid]);

-- Query #46305 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4207464c-d9f0-4376-93b8-d85306de41d7'::uuid;

-- Query #46306 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4207464c-d9f0-4376-93b8-d85306de41d7'::uuid;

-- Query #46307 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4207464c-d9f0-4376-93b8-d85306de41d7'::uuid;

-- Query #46308 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46309 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4207464c-d9f0-4376-93b8-d85306de41d7'::uuid]);

-- Query #46310 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '63702a53-4cba-f3d8-f1e5-866e183deccd'::uuid;

-- Query #46311 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['63702a53-4cba-f3d8-f1e5-866e183deccd'::uuid]);

-- Query #46312 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '63702a53-4cba-f3d8-f1e5-866e183deccd'::uuid;

-- Query #46313 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '63702a53-4cba-f3d8-f1e5-866e183deccd'::uuid;

-- Query #46314 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '63702a53-4cba-f3d8-f1e5-866e183deccd'::uuid;

-- Query #46315 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46316 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['63702a53-4cba-f3d8-f1e5-866e183deccd'::uuid]);

-- Query #46317 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '145dd9c2-4f0b-dc43-c425-e5c7dc4e0b8b'::uuid;

-- Query #46318 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['145dd9c2-4f0b-dc43-c425-e5c7dc4e0b8b'::uuid]);

-- Query #46319 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '145dd9c2-4f0b-dc43-c425-e5c7dc4e0b8b'::uuid;

-- Query #46320 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '145dd9c2-4f0b-dc43-c425-e5c7dc4e0b8b'::uuid;

-- Query #46321 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '145dd9c2-4f0b-dc43-c425-e5c7dc4e0b8b'::uuid;

-- Query #46322 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46323 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['145dd9c2-4f0b-dc43-c425-e5c7dc4e0b8b'::uuid]);

-- Query #46324 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78650348-7dee-6126-7bfc-1bedc8991ee3'::uuid;

-- Query #46325 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78650348-7dee-6126-7bfc-1bedc8991ee3'::uuid]);

-- Query #46326 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '78650348-7dee-6126-7bfc-1bedc8991ee3'::uuid;

-- Query #46327 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '78650348-7dee-6126-7bfc-1bedc8991ee3'::uuid;

-- Query #46328 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '78650348-7dee-6126-7bfc-1bedc8991ee3'::uuid;

-- Query #46329 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46330 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['78650348-7dee-6126-7bfc-1bedc8991ee3'::uuid]);

-- Query #46331 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '051f8f70-17a5-26bb-f533-acef65b20289'::uuid;

-- Query #46332 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['051f8f70-17a5-26bb-f533-acef65b20289'::uuid]);

-- Query #46333 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '051f8f70-17a5-26bb-f533-acef65b20289'::uuid;

-- Query #46334 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '051f8f70-17a5-26bb-f533-acef65b20289'::uuid;

-- Query #46335 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '051f8f70-17a5-26bb-f533-acef65b20289'::uuid;

-- Query #46336 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46337 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['051f8f70-17a5-26bb-f533-acef65b20289'::uuid]);

-- Query #46338 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db3067ad-2b91-93bf-a934-3d9ee1c68017'::uuid;

-- Query #46339 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db3067ad-2b91-93bf-a934-3d9ee1c68017'::uuid]);

-- Query #46340 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'db3067ad-2b91-93bf-a934-3d9ee1c68017'::uuid;

-- Query #46341 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'db3067ad-2b91-93bf-a934-3d9ee1c68017'::uuid;

-- Query #46342 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'db3067ad-2b91-93bf-a934-3d9ee1c68017'::uuid;

-- Query #46343 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46344 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['db3067ad-2b91-93bf-a934-3d9ee1c68017'::uuid]);

-- Query #46345 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '69a36f3d-4c0d-7e6f-b7c6-6000aa034a0c'::uuid;

-- Query #46346 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['69a36f3d-4c0d-7e6f-b7c6-6000aa034a0c'::uuid]);

-- Query #46347 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '69a36f3d-4c0d-7e6f-b7c6-6000aa034a0c'::uuid;

-- Query #46348 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '69a36f3d-4c0d-7e6f-b7c6-6000aa034a0c'::uuid;

-- Query #46349 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '69a36f3d-4c0d-7e6f-b7c6-6000aa034a0c'::uuid;

-- Query #46350 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46351 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['69a36f3d-4c0d-7e6f-b7c6-6000aa034a0c'::uuid]);

-- Query #46352 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a0cc54a-acb1-b052-1d09-d990de900316'::uuid;

-- Query #46353 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a0cc54a-acb1-b052-1d09-d990de900316'::uuid]);

-- Query #46354 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9a0cc54a-acb1-b052-1d09-d990de900316'::uuid;

-- Query #46355 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9a0cc54a-acb1-b052-1d09-d990de900316'::uuid;

-- Query #46356 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9a0cc54a-acb1-b052-1d09-d990de900316'::uuid;

-- Query #46357 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46358 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46359 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9a0cc54a-acb1-b052-1d09-d990de900316'::uuid]);

-- Query #46360 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b4f2c300-8c99-7585-54f7-3c0f5c317795'::uuid;

-- Query #46361 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4f2c300-8c99-7585-54f7-3c0f5c317795'::uuid]);

-- Query #46362 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b4f2c300-8c99-7585-54f7-3c0f5c317795'::uuid;

-- Query #46363 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b4f2c300-8c99-7585-54f7-3c0f5c317795'::uuid;

-- Query #46364 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b4f2c300-8c99-7585-54f7-3c0f5c317795'::uuid;

-- Query #46365 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46366 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b4f2c300-8c99-7585-54f7-3c0f5c317795'::uuid]);

-- Query #46367 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '282aa40e-3fa7-32ce-a8d3-263b60c72092'::uuid;

-- Query #46368 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['282aa40e-3fa7-32ce-a8d3-263b60c72092'::uuid]);

-- Query #46369 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '282aa40e-3fa7-32ce-a8d3-263b60c72092'::uuid;

-- Query #46370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '282aa40e-3fa7-32ce-a8d3-263b60c72092'::uuid;

-- Query #46371 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '282aa40e-3fa7-32ce-a8d3-263b60c72092'::uuid;

-- Query #46372 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46373 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['282aa40e-3fa7-32ce-a8d3-263b60c72092'::uuid]);

-- Query #46374 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6474cfde-e73f-da1c-f6ca-47cb6b1662dd'::uuid;

-- Query #46375 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6474cfde-e73f-da1c-f6ca-47cb6b1662dd'::uuid]);

-- Query #46376 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6474cfde-e73f-da1c-f6ca-47cb6b1662dd'::uuid;

-- Query #46377 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6474cfde-e73f-da1c-f6ca-47cb6b1662dd'::uuid;

-- Query #46378 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6474cfde-e73f-da1c-f6ca-47cb6b1662dd'::uuid;

-- Query #46379 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46380 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6474cfde-e73f-da1c-f6ca-47cb6b1662dd'::uuid]);

-- Query #46381 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8db8f3d2-bff7-abdd-13bf-48f6b954611c'::uuid;

-- Query #46382 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8db8f3d2-bff7-abdd-13bf-48f6b954611c'::uuid]);

-- Query #46383 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '8db8f3d2-bff7-abdd-13bf-48f6b954611c'::uuid;

-- Query #46384 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '8db8f3d2-bff7-abdd-13bf-48f6b954611c'::uuid;

-- Query #46385 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '8db8f3d2-bff7-abdd-13bf-48f6b954611c'::uuid;

-- Query #46386 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46387 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['8db8f3d2-bff7-abdd-13bf-48f6b954611c'::uuid]);

-- Query #46388 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '54ed2553-d84a-40f8-e5f9-c7dda37de5d2'::uuid;

-- Query #46389 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['54ed2553-d84a-40f8-e5f9-c7dda37de5d2'::uuid]);

-- Query #46390 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '54ed2553-d84a-40f8-e5f9-c7dda37de5d2'::uuid;

-- Query #46391 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '54ed2553-d84a-40f8-e5f9-c7dda37de5d2'::uuid;

-- Query #46392 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '54ed2553-d84a-40f8-e5f9-c7dda37de5d2'::uuid;

-- Query #46393 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46394 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['54ed2553-d84a-40f8-e5f9-c7dda37de5d2'::uuid]);

-- Query #46395 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2e8cffb-3f0a-1164-19af-fb5bca533f84'::uuid;

-- Query #46396 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f2e8cffb-3f0a-1164-19af-fb5bca533f84'::uuid]);

-- Query #46397 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f2e8cffb-3f0a-1164-19af-fb5bca533f84'::uuid;

-- Query #46398 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f2e8cffb-3f0a-1164-19af-fb5bca533f84'::uuid;

-- Query #46399 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f2e8cffb-3f0a-1164-19af-fb5bca533f84'::uuid;

-- Query #46400 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46401 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f2e8cffb-3f0a-1164-19af-fb5bca533f84'::uuid]);

-- Query #46402 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82e6700e-01fe-af67-cdec-5bbfe56181a5'::uuid;

-- Query #46403 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82e6700e-01fe-af67-cdec-5bbfe56181a5'::uuid]);

-- Query #46404 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82e6700e-01fe-af67-cdec-5bbfe56181a5'::uuid;

-- Query #46405 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82e6700e-01fe-af67-cdec-5bbfe56181a5'::uuid;

-- Query #46406 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82e6700e-01fe-af67-cdec-5bbfe56181a5'::uuid;

-- Query #46407 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46408 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82e6700e-01fe-af67-cdec-5bbfe56181a5'::uuid]);

-- Query #46409 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '22c038bb-9e96-0d47-5668-b925e99f7dd0'::uuid;

-- Query #46410 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['22c038bb-9e96-0d47-5668-b925e99f7dd0'::uuid]);

-- Query #46411 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '22c038bb-9e96-0d47-5668-b925e99f7dd0'::uuid;

-- Query #46412 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '22c038bb-9e96-0d47-5668-b925e99f7dd0'::uuid;

-- Query #46413 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '22c038bb-9e96-0d47-5668-b925e99f7dd0'::uuid;

-- Query #46414 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46415 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['22c038bb-9e96-0d47-5668-b925e99f7dd0'::uuid]);

-- Query #46416 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a989bfb-df1a-ad09-54d0-eeb1ae09b9bf'::uuid;

-- Query #46417 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3a989bfb-df1a-ad09-54d0-eeb1ae09b9bf'::uuid]);

-- Query #46418 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3a989bfb-df1a-ad09-54d0-eeb1ae09b9bf'::uuid;

-- Query #46419 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3a989bfb-df1a-ad09-54d0-eeb1ae09b9bf'::uuid;

-- Query #46420 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3a989bfb-df1a-ad09-54d0-eeb1ae09b9bf'::uuid;

-- Query #46421 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46422 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3a989bfb-df1a-ad09-54d0-eeb1ae09b9bf'::uuid]);

-- Query #46423 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd89d0ae4-8558-f35e-9206-c08194e9e6e0'::uuid;

-- Query #46424 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d89d0ae4-8558-f35e-9206-c08194e9e6e0'::uuid]);

-- Query #46425 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd89d0ae4-8558-f35e-9206-c08194e9e6e0'::uuid;

-- Query #46426 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd89d0ae4-8558-f35e-9206-c08194e9e6e0'::uuid;

-- Query #46427 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd89d0ae4-8558-f35e-9206-c08194e9e6e0'::uuid;

-- Query #46428 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46429 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d89d0ae4-8558-f35e-9206-c08194e9e6e0'::uuid]);

-- Query #46430 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '351c207c-97d3-5966-953d-b5d7a83bf065'::uuid;

-- Query #46431 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['351c207c-97d3-5966-953d-b5d7a83bf065'::uuid]);

-- Query #46432 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '351c207c-97d3-5966-953d-b5d7a83bf065'::uuid;

-- Query #46433 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '351c207c-97d3-5966-953d-b5d7a83bf065'::uuid;

-- Query #46434 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '351c207c-97d3-5966-953d-b5d7a83bf065'::uuid;

-- Query #46435 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46436 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['351c207c-97d3-5966-953d-b5d7a83bf065'::uuid]);

-- Query #46437 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da4b42be-237a-1971-1134-b3860beb6c33'::uuid;

-- Query #46438 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da4b42be-237a-1971-1134-b3860beb6c33'::uuid]);

-- Query #46439 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'da4b42be-237a-1971-1134-b3860beb6c33'::uuid;

-- Query #46440 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'da4b42be-237a-1971-1134-b3860beb6c33'::uuid;

-- Query #46441 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'da4b42be-237a-1971-1134-b3860beb6c33'::uuid;

-- Query #46442 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46443 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['da4b42be-237a-1971-1134-b3860beb6c33'::uuid]);

-- Query #46444 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e8df8f2-5e5d-6aee-a02a-db5afeeb2244'::uuid;

-- Query #46445 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4e8df8f2-5e5d-6aee-a02a-db5afeeb2244'::uuid]);

-- Query #46446 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4e8df8f2-5e5d-6aee-a02a-db5afeeb2244'::uuid;

-- Query #46447 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4e8df8f2-5e5d-6aee-a02a-db5afeeb2244'::uuid;

-- Query #46448 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4e8df8f2-5e5d-6aee-a02a-db5afeeb2244'::uuid;

-- Query #46449 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46450 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4e8df8f2-5e5d-6aee-a02a-db5afeeb2244'::uuid]);

-- Query #46451 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0cf634c5-696a-0bb0-c8fe-93057cba2c6b'::uuid;

-- Query #46452 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0cf634c5-696a-0bb0-c8fe-93057cba2c6b'::uuid]);

-- Query #46453 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '0cf634c5-696a-0bb0-c8fe-93057cba2c6b'::uuid;

-- Query #46454 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '0cf634c5-696a-0bb0-c8fe-93057cba2c6b'::uuid;

-- Query #46455 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '0cf634c5-696a-0bb0-c8fe-93057cba2c6b'::uuid;

-- Query #46456 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46457 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['0cf634c5-696a-0bb0-c8fe-93057cba2c6b'::uuid]);

-- Query #46458 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a53d073f-5bdd-89b0-c96e-d21f2f75b384'::uuid;

-- Query #46459 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a53d073f-5bdd-89b0-c96e-d21f2f75b384'::uuid]);

-- Query #46460 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a53d073f-5bdd-89b0-c96e-d21f2f75b384'::uuid;

-- Query #46461 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a53d073f-5bdd-89b0-c96e-d21f2f75b384'::uuid;

-- Query #46462 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a53d073f-5bdd-89b0-c96e-d21f2f75b384'::uuid;

-- Query #46463 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46464 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a53d073f-5bdd-89b0-c96e-d21f2f75b384'::uuid]);

-- Query #46465 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e63cbe6-19a5-edf4-5272-5868deaec4a8'::uuid;

-- Query #46466 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e63cbe6-19a5-edf4-5272-5868deaec4a8'::uuid]);

-- Query #46467 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2e63cbe6-19a5-edf4-5272-5868deaec4a8'::uuid;

-- Query #46468 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2e63cbe6-19a5-edf4-5272-5868deaec4a8'::uuid;

-- Query #46469 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2e63cbe6-19a5-edf4-5272-5868deaec4a8'::uuid;

-- Query #46470 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46471 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2e63cbe6-19a5-edf4-5272-5868deaec4a8'::uuid]);

-- Query #46472 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b3c1432-94dc-e01e-99b5-ee88ca7394f0'::uuid;

-- Query #46473 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4b3c1432-94dc-e01e-99b5-ee88ca7394f0'::uuid]);

-- Query #46474 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4b3c1432-94dc-e01e-99b5-ee88ca7394f0'::uuid;

-- Query #46475 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4b3c1432-94dc-e01e-99b5-ee88ca7394f0'::uuid;

-- Query #46476 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4b3c1432-94dc-e01e-99b5-ee88ca7394f0'::uuid;

-- Query #46477 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46478 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4b3c1432-94dc-e01e-99b5-ee88ca7394f0'::uuid]);

-- Query #46479 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e06730e6-7f5a-2e67-12cb-6789f424a16d'::uuid;

-- Query #46480 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e06730e6-7f5a-2e67-12cb-6789f424a16d'::uuid]);

-- Query #46481 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e06730e6-7f5a-2e67-12cb-6789f424a16d'::uuid;

-- Query #46482 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e06730e6-7f5a-2e67-12cb-6789f424a16d'::uuid;

-- Query #46483 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e06730e6-7f5a-2e67-12cb-6789f424a16d'::uuid;

-- Query #46484 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46485 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e06730e6-7f5a-2e67-12cb-6789f424a16d'::uuid]);

-- Query #46486 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7cbad5e0-4af5-8e5a-595c-50855aafa340'::uuid;

-- Query #46487 | logged_duration_ms=5 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7cbad5e0-4af5-8e5a-595c-50855aafa340'::uuid]);

-- Query #46488 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7cbad5e0-4af5-8e5a-595c-50855aafa340'::uuid;

-- Query #46489 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7cbad5e0-4af5-8e5a-595c-50855aafa340'::uuid;

-- Query #46490 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7cbad5e0-4af5-8e5a-595c-50855aafa340'::uuid;

-- Query #46491 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46492 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7cbad5e0-4af5-8e5a-595c-50855aafa340'::uuid]);

-- Query #46493 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf308f2a-3a25-47c7-bae6-65727f8a7275'::uuid;

-- Query #46494 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf308f2a-3a25-47c7-bae6-65727f8a7275'::uuid]);

-- Query #46495 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'bf308f2a-3a25-47c7-bae6-65727f8a7275'::uuid;

-- Query #46496 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'bf308f2a-3a25-47c7-bae6-65727f8a7275'::uuid;

-- Query #46497 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'bf308f2a-3a25-47c7-bae6-65727f8a7275'::uuid;

-- Query #46498 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46499 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['bf308f2a-3a25-47c7-bae6-65727f8a7275'::uuid]);

-- Query #46500 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f5e5056-2e03-0172-d6e9-5d6ae9cb05e5'::uuid;

-- Query #46501 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9f5e5056-2e03-0172-d6e9-5d6ae9cb05e5'::uuid]);

-- Query #46502 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '9f5e5056-2e03-0172-d6e9-5d6ae9cb05e5'::uuid;

-- Query #46503 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '9f5e5056-2e03-0172-d6e9-5d6ae9cb05e5'::uuid;

-- Query #46504 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '9f5e5056-2e03-0172-d6e9-5d6ae9cb05e5'::uuid;

-- Query #46505 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46506 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['9f5e5056-2e03-0172-d6e9-5d6ae9cb05e5'::uuid]);

-- Query #46507 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7873ccad-8e0c-6cb8-e438-1eaf1d35e7fa'::uuid;

-- Query #46508 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7873ccad-8e0c-6cb8-e438-1eaf1d35e7fa'::uuid]);

-- Query #46509 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7873ccad-8e0c-6cb8-e438-1eaf1d35e7fa'::uuid;

-- Query #46510 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7873ccad-8e0c-6cb8-e438-1eaf1d35e7fa'::uuid;

-- Query #46511 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7873ccad-8e0c-6cb8-e438-1eaf1d35e7fa'::uuid;

-- Query #46512 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46513 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7873ccad-8e0c-6cb8-e438-1eaf1d35e7fa'::uuid]);

-- Query #46514 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '104487c5-cc3f-e0f0-8de2-15a1f4586710'::uuid;

-- Query #46515 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['104487c5-cc3f-e0f0-8de2-15a1f4586710'::uuid]);

-- Query #46516 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '104487c5-cc3f-e0f0-8de2-15a1f4586710'::uuid;

-- Query #46517 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '104487c5-cc3f-e0f0-8de2-15a1f4586710'::uuid;

-- Query #46518 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '104487c5-cc3f-e0f0-8de2-15a1f4586710'::uuid;

-- Query #46519 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46520 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['104487c5-cc3f-e0f0-8de2-15a1f4586710'::uuid]);

-- Query #46521 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'afd26c3f-2302-792d-7f96-3d4cb63fcc60'::uuid;

-- Query #46522 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['afd26c3f-2302-792d-7f96-3d4cb63fcc60'::uuid]);

-- Query #46523 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'afd26c3f-2302-792d-7f96-3d4cb63fcc60'::uuid;

-- Query #46524 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'afd26c3f-2302-792d-7f96-3d4cb63fcc60'::uuid;

-- Query #46525 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'afd26c3f-2302-792d-7f96-3d4cb63fcc60'::uuid;

-- Query #46526 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46527 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['afd26c3f-2302-792d-7f96-3d4cb63fcc60'::uuid]);

-- Query #46528 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eaece68c-dddf-0461-3e18-2a83b937d285'::uuid;

-- Query #46529 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eaece68c-dddf-0461-3e18-2a83b937d285'::uuid]);

-- Query #46530 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'eaece68c-dddf-0461-3e18-2a83b937d285'::uuid;

-- Query #46531 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'eaece68c-dddf-0461-3e18-2a83b937d285'::uuid;

-- Query #46532 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'eaece68c-dddf-0461-3e18-2a83b937d285'::uuid;

-- Query #46533 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46534 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['eaece68c-dddf-0461-3e18-2a83b937d285'::uuid]);

-- Query #46535 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e917ebf0-05c3-6c49-b7fa-7ca0c6189c8b'::uuid;

-- Query #46536 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e917ebf0-05c3-6c49-b7fa-7ca0c6189c8b'::uuid]);

-- Query #46537 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e917ebf0-05c3-6c49-b7fa-7ca0c6189c8b'::uuid;

-- Query #46538 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e917ebf0-05c3-6c49-b7fa-7ca0c6189c8b'::uuid;

-- Query #46539 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e917ebf0-05c3-6c49-b7fa-7ca0c6189c8b'::uuid;

-- Query #46540 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46541 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e917ebf0-05c3-6c49-b7fa-7ca0c6189c8b'::uuid]);

-- Query #46542 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '383ea63f-92a6-1a00-07a2-e42211beab38'::uuid;

-- Query #46543 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['383ea63f-92a6-1a00-07a2-e42211beab38'::uuid]);

-- Query #46544 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '383ea63f-92a6-1a00-07a2-e42211beab38'::uuid;

-- Query #46545 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '383ea63f-92a6-1a00-07a2-e42211beab38'::uuid;

-- Query #46546 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '383ea63f-92a6-1a00-07a2-e42211beab38'::uuid;

-- Query #46547 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46548 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['383ea63f-92a6-1a00-07a2-e42211beab38'::uuid]);

-- Query #46549 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f32547f1-c825-59f0-a639-d737d09298f8'::uuid;

-- Query #46550 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f32547f1-c825-59f0-a639-d737d09298f8'::uuid]);

-- Query #46551 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f32547f1-c825-59f0-a639-d737d09298f8'::uuid;

-- Query #46552 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f32547f1-c825-59f0-a639-d737d09298f8'::uuid;

-- Query #46553 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f32547f1-c825-59f0-a639-d737d09298f8'::uuid;

-- Query #46554 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46555 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f32547f1-c825-59f0-a639-d737d09298f8'::uuid]);

-- Query #46556 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b08df42a-4b75-4b31-c641-572fab4d82ea'::uuid;

-- Query #46557 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b08df42a-4b75-4b31-c641-572fab4d82ea'::uuid]);

-- Query #46558 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b08df42a-4b75-4b31-c641-572fab4d82ea'::uuid;

-- Query #46559 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b08df42a-4b75-4b31-c641-572fab4d82ea'::uuid;

-- Query #46560 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b08df42a-4b75-4b31-c641-572fab4d82ea'::uuid;

-- Query #46561 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46562 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b08df42a-4b75-4b31-c641-572fab4d82ea'::uuid]);

-- Query #46563 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e3e82a8a-0133-fcc6-a748-5dca8bdc6987'::uuid;

-- Query #46564 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e3e82a8a-0133-fcc6-a748-5dca8bdc6987'::uuid]);

-- Query #46565 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e3e82a8a-0133-fcc6-a748-5dca8bdc6987'::uuid;

-- Query #46566 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e3e82a8a-0133-fcc6-a748-5dca8bdc6987'::uuid;

-- Query #46567 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e3e82a8a-0133-fcc6-a748-5dca8bdc6987'::uuid;

-- Query #46568 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46569 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e3e82a8a-0133-fcc6-a748-5dca8bdc6987'::uuid]);

-- Query #46570 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb1240f0-f1bd-e7ad-401e-4710b16e4480'::uuid;

-- Query #46571 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fb1240f0-f1bd-e7ad-401e-4710b16e4480'::uuid]);

-- Query #46572 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'fb1240f0-f1bd-e7ad-401e-4710b16e4480'::uuid;

-- Query #46573 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'fb1240f0-f1bd-e7ad-401e-4710b16e4480'::uuid;

-- Query #46574 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'fb1240f0-f1bd-e7ad-401e-4710b16e4480'::uuid;

-- Query #46575 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46576 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['fb1240f0-f1bd-e7ad-401e-4710b16e4480'::uuid]);

-- Query #46577 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a28df99e-27a6-289e-719f-64bfcc9dcf2b'::uuid;

-- Query #46578 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a28df99e-27a6-289e-719f-64bfcc9dcf2b'::uuid]);

-- Query #46579 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a28df99e-27a6-289e-719f-64bfcc9dcf2b'::uuid;

-- Query #46580 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a28df99e-27a6-289e-719f-64bfcc9dcf2b'::uuid;

-- Query #46581 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a28df99e-27a6-289e-719f-64bfcc9dcf2b'::uuid;

-- Query #46582 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46583 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a28df99e-27a6-289e-719f-64bfcc9dcf2b'::uuid]);

-- Query #46584 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f25b2650-95be-17f5-62c9-c5f88f5dcd31'::uuid;

-- Query #46585 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f25b2650-95be-17f5-62c9-c5f88f5dcd31'::uuid]);

-- Query #46586 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f25b2650-95be-17f5-62c9-c5f88f5dcd31'::uuid;

-- Query #46587 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f25b2650-95be-17f5-62c9-c5f88f5dcd31'::uuid;

-- Query #46588 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f25b2650-95be-17f5-62c9-c5f88f5dcd31'::uuid;

-- Query #46589 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46590 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f25b2650-95be-17f5-62c9-c5f88f5dcd31'::uuid]);

-- Query #46591 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf7a1d58-185a-6a43-72d0-e4eeccd11f7e'::uuid;

-- Query #46592 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf7a1d58-185a-6a43-72d0-e4eeccd11f7e'::uuid]);

-- Query #46593 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cf7a1d58-185a-6a43-72d0-e4eeccd11f7e'::uuid;

-- Query #46594 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf7a1d58-185a-6a43-72d0-e4eeccd11f7e'::uuid;

-- Query #46595 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cf7a1d58-185a-6a43-72d0-e4eeccd11f7e'::uuid;

-- Query #46596 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46597 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cf7a1d58-185a-6a43-72d0-e4eeccd11f7e'::uuid]);

-- Query #46598 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e8c9b43-8ab4-664d-c15b-8cdbfce57134'::uuid;

-- Query #46599 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e8c9b43-8ab4-664d-c15b-8cdbfce57134'::uuid]);

-- Query #46600 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3e8c9b43-8ab4-664d-c15b-8cdbfce57134'::uuid;

-- Query #46601 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3e8c9b43-8ab4-664d-c15b-8cdbfce57134'::uuid;

-- Query #46602 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3e8c9b43-8ab4-664d-c15b-8cdbfce57134'::uuid;

-- Query #46603 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46604 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3e8c9b43-8ab4-664d-c15b-8cdbfce57134'::uuid]);

-- Query #46605 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b739702b-04c8-51b2-f677-9514bdabdf12'::uuid;

-- Query #46606 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b739702b-04c8-51b2-f677-9514bdabdf12'::uuid]);

-- Query #46607 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b739702b-04c8-51b2-f677-9514bdabdf12'::uuid;

-- Query #46608 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b739702b-04c8-51b2-f677-9514bdabdf12'::uuid;

-- Query #46609 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b739702b-04c8-51b2-f677-9514bdabdf12'::uuid;

-- Query #46610 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46611 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b739702b-04c8-51b2-f677-9514bdabdf12'::uuid]);

-- Query #46612 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46613 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2df08014-5172-fc04-a685-4c975c88919b'::uuid;

-- Query #46614 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2df08014-5172-fc04-a685-4c975c88919b'::uuid]);

-- Query #46615 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2df08014-5172-fc04-a685-4c975c88919b'::uuid;

-- Query #46616 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2df08014-5172-fc04-a685-4c975c88919b'::uuid;

-- Query #46617 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2df08014-5172-fc04-a685-4c975c88919b'::uuid;

-- Query #46618 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46619 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2df08014-5172-fc04-a685-4c975c88919b'::uuid]);

-- Query #46620 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2587c98-9476-526c-f18c-d662b43ede1c'::uuid;

-- Query #46621 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2587c98-9476-526c-f18c-d662b43ede1c'::uuid]);

-- Query #46622 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e2587c98-9476-526c-f18c-d662b43ede1c'::uuid;

-- Query #46623 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2587c98-9476-526c-f18c-d662b43ede1c'::uuid;

-- Query #46624 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e2587c98-9476-526c-f18c-d662b43ede1c'::uuid;

-- Query #46625 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46626 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e2587c98-9476-526c-f18c-d662b43ede1c'::uuid]);

-- Query #46627 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2ab1844-b2db-9f5c-6300-3d84f87d54d3'::uuid;

-- Query #46628 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d2ab1844-b2db-9f5c-6300-3d84f87d54d3'::uuid]);

-- Query #46629 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd2ab1844-b2db-9f5c-6300-3d84f87d54d3'::uuid;

-- Query #46630 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd2ab1844-b2db-9f5c-6300-3d84f87d54d3'::uuid;

-- Query #46631 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd2ab1844-b2db-9f5c-6300-3d84f87d54d3'::uuid;

-- Query #46632 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46633 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d2ab1844-b2db-9f5c-6300-3d84f87d54d3'::uuid]);

-- Query #46634 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82c426f1-2e5e-fd07-713c-bdb1b1b115f8'::uuid;

-- Query #46635 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82c426f1-2e5e-fd07-713c-bdb1b1b115f8'::uuid]);

-- Query #46636 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '82c426f1-2e5e-fd07-713c-bdb1b1b115f8'::uuid;

-- Query #46637 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '82c426f1-2e5e-fd07-713c-bdb1b1b115f8'::uuid;

-- Query #46638 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '82c426f1-2e5e-fd07-713c-bdb1b1b115f8'::uuid;

-- Query #46639 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46640 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['82c426f1-2e5e-fd07-713c-bdb1b1b115f8'::uuid]);

-- Query #46641 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24932cc8-7706-46db-5f8d-f43b8f5030cf'::uuid;

-- Query #46642 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24932cc8-7706-46db-5f8d-f43b8f5030cf'::uuid]);

-- Query #46643 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '24932cc8-7706-46db-5f8d-f43b8f5030cf'::uuid;

-- Query #46644 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '24932cc8-7706-46db-5f8d-f43b8f5030cf'::uuid;

-- Query #46645 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '24932cc8-7706-46db-5f8d-f43b8f5030cf'::uuid;

-- Query #46646 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46647 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['24932cc8-7706-46db-5f8d-f43b8f5030cf'::uuid]);

-- Query #46648 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b0562ed9-6eeb-52c9-d8a0-7e6c2c7ba2a9'::uuid;

-- Query #46649 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b0562ed9-6eeb-52c9-d8a0-7e6c2c7ba2a9'::uuid]);

-- Query #46650 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b0562ed9-6eeb-52c9-d8a0-7e6c2c7ba2a9'::uuid;

-- Query #46651 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b0562ed9-6eeb-52c9-d8a0-7e6c2c7ba2a9'::uuid;

-- Query #46652 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b0562ed9-6eeb-52c9-d8a0-7e6c2c7ba2a9'::uuid;

-- Query #46653 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46654 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b0562ed9-6eeb-52c9-d8a0-7e6c2c7ba2a9'::uuid]);

-- Query #46655 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6840a22c-5204-3000-bebe-673599c1125f'::uuid;

-- Query #46656 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6840a22c-5204-3000-bebe-673599c1125f'::uuid]);

-- Query #46657 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '6840a22c-5204-3000-bebe-673599c1125f'::uuid;

-- Query #46658 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '6840a22c-5204-3000-bebe-673599c1125f'::uuid;

-- Query #46659 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '6840a22c-5204-3000-bebe-673599c1125f'::uuid;

-- Query #46660 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46661 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['6840a22c-5204-3000-bebe-673599c1125f'::uuid]);

-- Query #46662 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '150da799-83f5-13a6-160a-68f55c246782'::uuid;

-- Query #46663 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['150da799-83f5-13a6-160a-68f55c246782'::uuid]);

-- Query #46664 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '150da799-83f5-13a6-160a-68f55c246782'::uuid;

-- Query #46665 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '150da799-83f5-13a6-160a-68f55c246782'::uuid;

-- Query #46666 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '150da799-83f5-13a6-160a-68f55c246782'::uuid;

-- Query #46667 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46668 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['150da799-83f5-13a6-160a-68f55c246782'::uuid]);

-- Query #46669 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13051837-fea5-84d6-2781-bd13c9ff9f2c'::uuid;

-- Query #46670 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13051837-fea5-84d6-2781-bd13c9ff9f2c'::uuid]);

-- Query #46671 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '13051837-fea5-84d6-2781-bd13c9ff9f2c'::uuid;

-- Query #46672 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '13051837-fea5-84d6-2781-bd13c9ff9f2c'::uuid;

-- Query #46673 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '13051837-fea5-84d6-2781-bd13c9ff9f2c'::uuid;

-- Query #46674 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46675 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['13051837-fea5-84d6-2781-bd13c9ff9f2c'::uuid]);

-- Query #46676 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a65e0053-5a47-d74e-8161-b817ae317032'::uuid;

-- Query #46677 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a65e0053-5a47-d74e-8161-b817ae317032'::uuid]);

-- Query #46678 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a65e0053-5a47-d74e-8161-b817ae317032'::uuid;

-- Query #46679 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a65e0053-5a47-d74e-8161-b817ae317032'::uuid;

-- Query #46680 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a65e0053-5a47-d74e-8161-b817ae317032'::uuid;

-- Query #46681 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46682 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a65e0053-5a47-d74e-8161-b817ae317032'::uuid]);

-- Query #46683 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d0c8245-f62a-7e66-6bb3-aee81b621a22'::uuid;

-- Query #46684 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d0c8245-f62a-7e66-6bb3-aee81b621a22'::uuid]);

-- Query #46685 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '2d0c8245-f62a-7e66-6bb3-aee81b621a22'::uuid;

-- Query #46686 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '2d0c8245-f62a-7e66-6bb3-aee81b621a22'::uuid;

-- Query #46687 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '2d0c8245-f62a-7e66-6bb3-aee81b621a22'::uuid;

-- Query #46688 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46689 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['2d0c8245-f62a-7e66-6bb3-aee81b621a22'::uuid]);

-- Query #46690 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09f1a837-9cf7-0173-5c75-e73b42c17729'::uuid;

-- Query #46691 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09f1a837-9cf7-0173-5c75-e73b42c17729'::uuid]);

-- Query #46692 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '09f1a837-9cf7-0173-5c75-e73b42c17729'::uuid;

-- Query #46693 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '09f1a837-9cf7-0173-5c75-e73b42c17729'::uuid;

-- Query #46694 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '09f1a837-9cf7-0173-5c75-e73b42c17729'::uuid;

-- Query #46695 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46696 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['09f1a837-9cf7-0173-5c75-e73b42c17729'::uuid]);

-- Query #46697 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '69a60fff-2577-3fb8-1bb6-5f5662b2fd9f'::uuid;

-- Query #46698 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['69a60fff-2577-3fb8-1bb6-5f5662b2fd9f'::uuid]);

-- Query #46699 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '69a60fff-2577-3fb8-1bb6-5f5662b2fd9f'::uuid;

-- Query #46700 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '69a60fff-2577-3fb8-1bb6-5f5662b2fd9f'::uuid;

-- Query #46701 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '69a60fff-2577-3fb8-1bb6-5f5662b2fd9f'::uuid;

-- Query #46702 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46703 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['69a60fff-2577-3fb8-1bb6-5f5662b2fd9f'::uuid]);

-- Query #46704 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '37ec9ad1-da50-1f3a-c414-2010b742ef08'::uuid;

-- Query #46705 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['37ec9ad1-da50-1f3a-c414-2010b742ef08'::uuid]);

-- Query #46706 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '37ec9ad1-da50-1f3a-c414-2010b742ef08'::uuid;

-- Query #46707 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '37ec9ad1-da50-1f3a-c414-2010b742ef08'::uuid;

-- Query #46708 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '37ec9ad1-da50-1f3a-c414-2010b742ef08'::uuid;

-- Query #46709 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46710 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['37ec9ad1-da50-1f3a-c414-2010b742ef08'::uuid]);

-- Query #46711 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2c1a777-e387-6e08-059b-1c9070cdf8d5'::uuid;

-- Query #46712 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e2c1a777-e387-6e08-059b-1c9070cdf8d5'::uuid]);

-- Query #46713 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e2c1a777-e387-6e08-059b-1c9070cdf8d5'::uuid;

-- Query #46714 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e2c1a777-e387-6e08-059b-1c9070cdf8d5'::uuid;

-- Query #46715 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e2c1a777-e387-6e08-059b-1c9070cdf8d5'::uuid;

-- Query #46716 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46717 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e2c1a777-e387-6e08-059b-1c9070cdf8d5'::uuid]);

-- Query #46718 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a030f0a6-8f66-19af-1963-09d97f7c61ce'::uuid;

-- Query #46719 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a030f0a6-8f66-19af-1963-09d97f7c61ce'::uuid]);

-- Query #46720 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a030f0a6-8f66-19af-1963-09d97f7c61ce'::uuid;

-- Query #46721 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a030f0a6-8f66-19af-1963-09d97f7c61ce'::uuid;

-- Query #46722 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a030f0a6-8f66-19af-1963-09d97f7c61ce'::uuid;

-- Query #46723 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46724 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a030f0a6-8f66-19af-1963-09d97f7c61ce'::uuid]);

-- Query #46725 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '05d70367-1f62-d4d6-ee1a-3636b89add52'::uuid;

-- Query #46726 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05d70367-1f62-d4d6-ee1a-3636b89add52'::uuid]);

-- Query #46727 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '05d70367-1f62-d4d6-ee1a-3636b89add52'::uuid;

-- Query #46728 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '05d70367-1f62-d4d6-ee1a-3636b89add52'::uuid;

-- Query #46729 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '05d70367-1f62-d4d6-ee1a-3636b89add52'::uuid;

-- Query #46730 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46731 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['05d70367-1f62-d4d6-ee1a-3636b89add52'::uuid]);

-- Query #46732 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '54245195-045f-e240-5304-6c956a198bb6'::uuid;

-- Query #46733 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['54245195-045f-e240-5304-6c956a198bb6'::uuid]);

-- Query #46734 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '54245195-045f-e240-5304-6c956a198bb6'::uuid;

-- Query #46735 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '54245195-045f-e240-5304-6c956a198bb6'::uuid;

-- Query #46736 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '54245195-045f-e240-5304-6c956a198bb6'::uuid;

-- Query #46737 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46738 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['54245195-045f-e240-5304-6c956a198bb6'::uuid]);

-- Query #46739 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7650b8c3-3ba9-11dd-5047-1ad19e615deb'::uuid;

-- Query #46740 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7650b8c3-3ba9-11dd-5047-1ad19e615deb'::uuid]);

-- Query #46741 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7650b8c3-3ba9-11dd-5047-1ad19e615deb'::uuid;

-- Query #46742 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7650b8c3-3ba9-11dd-5047-1ad19e615deb'::uuid;

-- Query #46743 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7650b8c3-3ba9-11dd-5047-1ad19e615deb'::uuid;

-- Query #46744 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46745 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7650b8c3-3ba9-11dd-5047-1ad19e615deb'::uuid]);

-- Query #46746 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '188c0327-747a-b460-078f-6cc85a1b7d34'::uuid;

-- Query #46747 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['188c0327-747a-b460-078f-6cc85a1b7d34'::uuid]);

-- Query #46748 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '188c0327-747a-b460-078f-6cc85a1b7d34'::uuid;

-- Query #46749 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '188c0327-747a-b460-078f-6cc85a1b7d34'::uuid;

-- Query #46750 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '188c0327-747a-b460-078f-6cc85a1b7d34'::uuid;

-- Query #46751 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46752 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['188c0327-747a-b460-078f-6cc85a1b7d34'::uuid]);

-- Query #46753 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5044490d-1f21-d08e-2800-12a56830cb69'::uuid;

-- Query #46754 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5044490d-1f21-d08e-2800-12a56830cb69'::uuid]);

-- Query #46755 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '5044490d-1f21-d08e-2800-12a56830cb69'::uuid;

-- Query #46756 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '5044490d-1f21-d08e-2800-12a56830cb69'::uuid;

-- Query #46757 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '5044490d-1f21-d08e-2800-12a56830cb69'::uuid;

-- Query #46758 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46759 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['5044490d-1f21-d08e-2800-12a56830cb69'::uuid]);

-- Query #46760 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '657b8b8a-c976-48db-6e6e-eb7261600d02'::uuid;

-- Query #46761 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['657b8b8a-c976-48db-6e6e-eb7261600d02'::uuid]);

-- Query #46762 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '657b8b8a-c976-48db-6e6e-eb7261600d02'::uuid;

-- Query #46763 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '657b8b8a-c976-48db-6e6e-eb7261600d02'::uuid;

-- Query #46764 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '657b8b8a-c976-48db-6e6e-eb7261600d02'::uuid;

-- Query #46765 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46766 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['657b8b8a-c976-48db-6e6e-eb7261600d02'::uuid]);

-- Query #46767 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '680a45b2-861b-b734-7915-2caecf412a81'::uuid;

-- Query #46768 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['680a45b2-861b-b734-7915-2caecf412a81'::uuid]);

-- Query #46769 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '680a45b2-861b-b734-7915-2caecf412a81'::uuid;

-- Query #46770 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '680a45b2-861b-b734-7915-2caecf412a81'::uuid;

-- Query #46771 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '680a45b2-861b-b734-7915-2caecf412a81'::uuid;

-- Query #46772 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46773 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['680a45b2-861b-b734-7915-2caecf412a81'::uuid]);

-- Query #46774 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f215ff22-6e81-68c6-6417-7fa955593aac'::uuid;

-- Query #46775 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f215ff22-6e81-68c6-6417-7fa955593aac'::uuid]);

-- Query #46776 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f215ff22-6e81-68c6-6417-7fa955593aac'::uuid;

-- Query #46777 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f215ff22-6e81-68c6-6417-7fa955593aac'::uuid;

-- Query #46778 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f215ff22-6e81-68c6-6417-7fa955593aac'::uuid;

-- Query #46779 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46780 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f215ff22-6e81-68c6-6417-7fa955593aac'::uuid]);

-- Query #46781 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4fa89fa6-b574-a9ce-5bce-dccb63f2ffa9'::uuid;

-- Query #46782 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4fa89fa6-b574-a9ce-5bce-dccb63f2ffa9'::uuid]);

-- Query #46783 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4fa89fa6-b574-a9ce-5bce-dccb63f2ffa9'::uuid;

-- Query #46784 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4fa89fa6-b574-a9ce-5bce-dccb63f2ffa9'::uuid;

-- Query #46785 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4fa89fa6-b574-a9ce-5bce-dccb63f2ffa9'::uuid;

-- Query #46786 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46787 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4fa89fa6-b574-a9ce-5bce-dccb63f2ffa9'::uuid]);

-- Query #46788 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf6b861e-660e-8979-79f8-6b9119efb994'::uuid;

-- Query #46789 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf6b861e-660e-8979-79f8-6b9119efb994'::uuid]);

-- Query #46790 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'cf6b861e-660e-8979-79f8-6b9119efb994'::uuid;

-- Query #46791 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'cf6b861e-660e-8979-79f8-6b9119efb994'::uuid;

-- Query #46792 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'cf6b861e-660e-8979-79f8-6b9119efb994'::uuid;

-- Query #46793 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46794 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['cf6b861e-660e-8979-79f8-6b9119efb994'::uuid]);

-- Query #46795 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ea5ba5e-fde1-2958-8198-08092a8592dd'::uuid;

-- Query #46796 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ea5ba5e-fde1-2958-8198-08092a8592dd'::uuid]);

-- Query #46797 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4ea5ba5e-fde1-2958-8198-08092a8592dd'::uuid;

-- Query #46798 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4ea5ba5e-fde1-2958-8198-08092a8592dd'::uuid;

-- Query #46799 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4ea5ba5e-fde1-2958-8198-08092a8592dd'::uuid;

-- Query #46800 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46801 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4ea5ba5e-fde1-2958-8198-08092a8592dd'::uuid]);

-- Query #46802 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd279ab62-07e6-c1e4-e419-27c819895bf4'::uuid;

-- Query #46803 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d279ab62-07e6-c1e4-e419-27c819895bf4'::uuid]);

-- Query #46804 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'd279ab62-07e6-c1e4-e419-27c819895bf4'::uuid;

-- Query #46805 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'd279ab62-07e6-c1e4-e419-27c819895bf4'::uuid;

-- Query #46806 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'd279ab62-07e6-c1e4-e419-27c819895bf4'::uuid;

-- Query #46807 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46808 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['d279ab62-07e6-c1e4-e419-27c819895bf4'::uuid]);

-- Query #46809 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '683d36c9-1e8b-4006-7038-c345d5918c65'::uuid;

-- Query #46810 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['683d36c9-1e8b-4006-7038-c345d5918c65'::uuid]);

-- Query #46811 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '683d36c9-1e8b-4006-7038-c345d5918c65'::uuid;

-- Query #46812 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '683d36c9-1e8b-4006-7038-c345d5918c65'::uuid;

-- Query #46813 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '683d36c9-1e8b-4006-7038-c345d5918c65'::uuid;

-- Query #46814 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46815 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['683d36c9-1e8b-4006-7038-c345d5918c65'::uuid]);

-- Query #46816 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a76a5ee-e187-d2bb-82a1-9af6aae2254c'::uuid;

-- Query #46817 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a76a5ee-e187-d2bb-82a1-9af6aae2254c'::uuid]);

-- Query #46818 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '4a76a5ee-e187-d2bb-82a1-9af6aae2254c'::uuid;

-- Query #46819 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '4a76a5ee-e187-d2bb-82a1-9af6aae2254c'::uuid;

-- Query #46820 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '4a76a5ee-e187-d2bb-82a1-9af6aae2254c'::uuid;

-- Query #46821 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46822 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['4a76a5ee-e187-d2bb-82a1-9af6aae2254c'::uuid]);

-- Query #46823 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e0cc8f7a-629b-1a2d-87e6-933d14c59b70'::uuid;

-- Query #46824 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e0cc8f7a-629b-1a2d-87e6-933d14c59b70'::uuid]);

-- Query #46825 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'e0cc8f7a-629b-1a2d-87e6-933d14c59b70'::uuid;

-- Query #46826 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'e0cc8f7a-629b-1a2d-87e6-933d14c59b70'::uuid;

-- Query #46827 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'e0cc8f7a-629b-1a2d-87e6-933d14c59b70'::uuid;

-- Query #46828 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46829 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['e0cc8f7a-629b-1a2d-87e6-933d14c59b70'::uuid]);

-- Query #46830 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1b2ea61-10ad-2101-fe5e-474c1477fe01'::uuid;

-- Query #46831 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a1b2ea61-10ad-2101-fe5e-474c1477fe01'::uuid]);

-- Query #46832 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'a1b2ea61-10ad-2101-fe5e-474c1477fe01'::uuid;

-- Query #46833 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'a1b2ea61-10ad-2101-fe5e-474c1477fe01'::uuid;

-- Query #46834 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'a1b2ea61-10ad-2101-fe5e-474c1477fe01'::uuid;

-- Query #46835 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46836 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['a1b2ea61-10ad-2101-fe5e-474c1477fe01'::uuid]);

-- Query #46837 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3add52b0-adf5-b42f-3f46-6538099ccc28'::uuid;

-- Query #46838 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3add52b0-adf5-b42f-3f46-6538099ccc28'::uuid]);

-- Query #46839 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3add52b0-adf5-b42f-3f46-6538099ccc28'::uuid;

-- Query #46840 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3add52b0-adf5-b42f-3f46-6538099ccc28'::uuid;

-- Query #46841 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3add52b0-adf5-b42f-3f46-6538099ccc28'::uuid;

-- Query #46842 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46843 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3add52b0-adf5-b42f-3f46-6538099ccc28'::uuid]);

-- Query #46844 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c6f687dc-7e15-93cf-1833-44eeb95b3c06'::uuid;

-- Query #46845 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c6f687dc-7e15-93cf-1833-44eeb95b3c06'::uuid]);

-- Query #46846 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'c6f687dc-7e15-93cf-1833-44eeb95b3c06'::uuid;

-- Query #46847 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'c6f687dc-7e15-93cf-1833-44eeb95b3c06'::uuid;

-- Query #46848 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'c6f687dc-7e15-93cf-1833-44eeb95b3c06'::uuid;

-- Query #46849 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46850 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['c6f687dc-7e15-93cf-1833-44eeb95b3c06'::uuid]);

-- Query #46851 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f038563a-6585-6a7c-8f71-3fdbd29421fd'::uuid;

-- Query #46852 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f038563a-6585-6a7c-8f71-3fdbd29421fd'::uuid]);

-- Query #46853 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f038563a-6585-6a7c-8f71-3fdbd29421fd'::uuid;

-- Query #46854 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f038563a-6585-6a7c-8f71-3fdbd29421fd'::uuid;

-- Query #46855 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f038563a-6585-6a7c-8f71-3fdbd29421fd'::uuid;

-- Query #46856 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46857 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f038563a-6585-6a7c-8f71-3fdbd29421fd'::uuid]);

-- Query #46858 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b4de13b1-e463-9c3b-486c-7b9ca6a6d06d'::uuid;

-- Query #46859 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4de13b1-e463-9c3b-486c-7b9ca6a6d06d'::uuid]);

-- Query #46860 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'b4de13b1-e463-9c3b-486c-7b9ca6a6d06d'::uuid;

-- Query #46861 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'b4de13b1-e463-9c3b-486c-7b9ca6a6d06d'::uuid;

-- Query #46862 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'b4de13b1-e463-9c3b-486c-7b9ca6a6d06d'::uuid;

-- Query #46863 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46864 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['b4de13b1-e463-9c3b-486c-7b9ca6a6d06d'::uuid]);

-- Query #46865 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46866 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29088bed-74b0-ec5a-0ba9-b8de61c9c308'::uuid;

-- Query #46867 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29088bed-74b0-ec5a-0ba9-b8de61c9c308'::uuid]);

-- Query #46868 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '29088bed-74b0-ec5a-0ba9-b8de61c9c308'::uuid;

-- Query #46869 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '29088bed-74b0-ec5a-0ba9-b8de61c9c308'::uuid;

-- Query #46870 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '29088bed-74b0-ec5a-0ba9-b8de61c9c308'::uuid;

-- Query #46871 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46872 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['29088bed-74b0-ec5a-0ba9-b8de61c9c308'::uuid]);

-- Query #46873 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3af1cef4-068e-5b74-61fb-463959f92156'::uuid;

-- Query #46874 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3af1cef4-068e-5b74-61fb-463959f92156'::uuid]);

-- Query #46875 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '3af1cef4-068e-5b74-61fb-463959f92156'::uuid;

-- Query #46876 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '3af1cef4-068e-5b74-61fb-463959f92156'::uuid;

-- Query #46877 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '3af1cef4-068e-5b74-61fb-463959f92156'::uuid;

-- Query #46878 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46879 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['3af1cef4-068e-5b74-61fb-463959f92156'::uuid]);

-- Query #46880 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7cfb0b11-e15b-3845-c880-1c6d19ffc105'::uuid;

-- Query #46881 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7cfb0b11-e15b-3845-c880-1c6d19ffc105'::uuid]);

-- Query #46882 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '7cfb0b11-e15b-3845-c880-1c6d19ffc105'::uuid;

-- Query #46883 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '7cfb0b11-e15b-3845-c880-1c6d19ffc105'::uuid;

-- Query #46884 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '7cfb0b11-e15b-3845-c880-1c6d19ffc105'::uuid;

-- Query #46885 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #46886 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['7cfb0b11-e15b-3845-c880-1c6d19ffc105'::uuid]);

-- Query #46887 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46888 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46889 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46890 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46891 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46892 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46893 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46894 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46895 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46896 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46897 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46898 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46899 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #46900 | logged_duration_ms=3 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid
ORDER BY m."StreamIndex";

-- Query #46901 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46902 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46903 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid
ORDER BY m."StreamIndex";

-- Query #46904 | logged_duration_ms=2 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46905 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46906 | logged_duration_ms=6 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #46907 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid
ORDER BY m."StreamIndex";

-- Query #46908 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46909 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid
ORDER BY m."StreamIndex";

-- Query #46910 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46911 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid
ORDER BY m."StreamIndex";

-- Query #46912 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46913 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46914 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid
ORDER BY m."StreamIndex";

-- Query #46915 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46916 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46917 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46918 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46919 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #46920 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46921 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46922 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46923 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46924 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46925 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46926 | logged_duration_ms=19 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T22:28:18.8441592Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #46927 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46928 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46929 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46930 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46931 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46932 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46933 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46934 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46935 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46936 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46937 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46938 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46939 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46940 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46941 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46942 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46943 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46944 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46945 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46946 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46947 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46948 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46949 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46950 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46951 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46952 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46953 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46954 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46955 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46956 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46957 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46958 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46959 | logged_duration_ms=23 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T22:29:52.2539843Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #46960 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46961 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46962 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46963 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46964 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46965 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46966 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46967 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46968 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46969 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46970 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46971 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46972 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46973 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46974 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46975 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46976 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46977 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46978 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46979 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46980 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46981 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46982 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46983 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46984 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46985 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46986 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46987 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46988 | logged_duration_ms=22 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T22:31:18.8668755Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #46989 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46990 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46991 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46992 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46993 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46994 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46995 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46996 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46997 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46998 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #46999 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47000 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47001 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47002 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47003 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47004 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47005 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47006 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47007 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47008 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47009 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47010 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47011 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47012 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47013 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47014 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47015 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47016 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47017 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47018 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47019 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47020 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47021 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47022 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47023 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47024 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47025 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47026 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47027 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47028 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47029 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47030 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47031 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47032 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47033 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47034 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47035 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47036 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47037 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47038 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47039 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47040 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47041 | logged_duration_ms=8 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T22:33:52.2480738Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #47042 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47043 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47044 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47045 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47046 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47047 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47048 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47049 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47050 | logged_duration_ms=9 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T22:34:18.9233152Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #47051 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47052 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47053 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47054 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47055 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47056 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47057 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47058 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47059 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47060 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47061 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47062 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47063 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47064 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47065 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47066 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47067 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47068 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47069 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47070 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47071 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47072 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47073 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47074 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47075 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47076 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47077 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47078 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47079 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47080 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47081 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47082 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47083 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47084 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47085 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47086 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47087 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47088 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47089 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47090 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47091 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47092 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47093 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47094 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47095 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47096 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47097 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47098 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47099 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47100 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47101 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47102 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47103 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47104 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47105 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47106 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47107 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47108 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47109 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47110 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47111 | logged_duration_ms=22 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T22:37:18.9592724Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #47112 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47113 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47114 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47115 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47116 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47117 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47118 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47119 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47120 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47121 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47122 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47123 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47124 | logged_duration_ms=18 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T22:37:52.2430743Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #47125 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47126 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47127 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47128 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47129 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47130 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47131 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47132 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47133 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47134 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47135 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47136 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47137 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47138 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47139 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47140 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47141 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47142 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47143 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47144 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47145 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47146 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47147 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47148 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47149 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47150 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47151 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47152 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47153 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47154 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47155 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47156 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47157 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47158 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47159 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47160 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47161 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47162 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47163 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47164 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47165 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47166 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47167 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47168 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47169 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47170 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47171 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47172 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47173 | logged_duration_ms=170 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T22:40:19.0007452Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #47174 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47175 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47176 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47177 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47178 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47179 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47180 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47181 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47182 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47183 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47184 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47185 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47186 | logged_duration_ms=23 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T22:40:52.2466636Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #47187 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47188 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47189 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47190 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47191 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47192 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47193 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47194 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47195 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47196 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47197 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47198 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47199 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47200 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47201 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47202 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47203 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47204 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47205 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47206 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47207 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47208 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47209 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47210 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47211 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47212 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47213 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47214 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47215 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47216 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47217 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47218 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47219 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47220 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47221 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47222 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47223 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47224 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47225 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47226 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47227 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47228 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47229 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47230 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47231 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47232 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47233 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47234 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47235 | logged_duration_ms=9 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T22:43:19.0162861Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #47236 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47237 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47238 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47239 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47240 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47241 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47242 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47243 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47244 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47245 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47246 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47247 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47248 | logged_duration_ms=6 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T22:43:52.2470258Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #47249 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47250 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47251 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47252 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47253 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47254 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47255 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47256 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47257 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47258 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47259 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47260 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47261 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47262 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47263 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47264 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47265 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47266 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47267 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47268 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47269 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47270 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47271 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47272 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47273 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47274 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47275 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47276 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47277 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47278 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47279 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47280 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47281 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47282 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47283 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47284 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47285 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47286 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47287 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47288 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47289 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47290 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47291 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47292 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47293 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47294 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47295 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47296 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47297 | logged_duration_ms=19 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T22:46:19.0566341Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #47298 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47299 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47300 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47301 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47302 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47303 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47304 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47305 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47306 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47307 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47308 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47309 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47310 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47311 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47312 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47313 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47314 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47315 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47316 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47317 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47318 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47319 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47320 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47321 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47322 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47323 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47324 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47325 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47326 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47327 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47328 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47329 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47330 | logged_duration_ms=18 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T22:47:52.2557679Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #47331 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47332 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47333 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47334 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47335 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47336 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47337 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47338 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47339 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47340 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47341 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47342 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47343 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47344 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47345 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47346 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47347 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47348 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47349 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47350 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47351 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47352 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47353 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47354 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47355 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47356 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47357 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47358 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47359 | logged_duration_ms=27 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T22:49:19.0881461Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #47360 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47361 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47362 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47363 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47364 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47365 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47366 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47367 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47368 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47369 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47370 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47371 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47372 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47373 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47374 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47375 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47376 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47377 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47378 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47379 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47380 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47381 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47382 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47383 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47384 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47385 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47386 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47387 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47388 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47389 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47390 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47391 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47392 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47393 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47394 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47395 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47396 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47397 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47398 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47399 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47400 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47401 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47402 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47403 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47404 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47405 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47406 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47407 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47408 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47409 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47410 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47411 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47412 | logged_duration_ms=41 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T22:51:52.2360817Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #47413 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47414 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47415 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47416 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47417 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47418 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47419 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47420 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47421 | logged_duration_ms=9 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T22:52:19.1111400Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #47422 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47423 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47424 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47425 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47426 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47427 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47428 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47429 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47430 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47431 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47432 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47433 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47434 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47435 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47436 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47437 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47438 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47439 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47440 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47441 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47442 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47443 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47444 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47445 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47446 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47447 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47448 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47449 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47450 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47451 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47452 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47453 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47454 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47455 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47456 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47457 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47458 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47459 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47460 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47461 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47462 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47463 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47464 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47465 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47466 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47467 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47468 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47469 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47470 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47471 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47472 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47473 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47474 | logged_duration_ms=7 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T22:54:52.2456972Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #47475 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47476 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47477 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47478 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47479 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47480 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47481 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47482 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47483 | logged_duration_ms=27 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T22:55:19.2104399Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #47484 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47485 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47486 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47487 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47488 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47489 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47490 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47491 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47492 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47493 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47494 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47495 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47496 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47497 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47498 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47499 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47500 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47501 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47502 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47503 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47504 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47505 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47506 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47507 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47508 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47509 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47510 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47511 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47512 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47513 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47514 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47515 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47516 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47517 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47518 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47519 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47520 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47521 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47522 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47523 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47524 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47525 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47526 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47527 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47528 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47529 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47530 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47531 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47532 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47533 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47534 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47535 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47536 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47537 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47538 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47539 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47540 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47541 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47542 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47543 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47544 | logged_duration_ms=14 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T22:58:19.2631650Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #47545 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47546 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47547 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47548 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47549 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47550 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47551 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47552 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47553 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47554 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47555 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47556 | logged_duration_ms=31 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T22:58:52.2412254Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #47557 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47558 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47559 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47560 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47561 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47562 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47563 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47564 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47565 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47566 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47567 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47568 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47569 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47570 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47571 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47572 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47573 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47574 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47575 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47576 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47577 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47578 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47579 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47580 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47581 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47582 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47583 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47584 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47585 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47586 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47587 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47588 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47589 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47590 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47591 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47592 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47593 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47594 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47595 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47596 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47597 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47598 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47599 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47600 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47601 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47602 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47603 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47604 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47605 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47606 | logged_duration_ms=27 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:01:19.2892166Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #47607 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47608 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47609 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47610 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47611 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47612 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47613 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47614 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47615 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47616 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47617 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47618 | logged_duration_ms=22 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:01:52.2413540Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #47619 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47620 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47621 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47622 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47623 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47624 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47625 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47626 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47627 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47628 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47629 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47630 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47631 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47632 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47633 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47634 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47635 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47636 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47637 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47638 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47639 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47640 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47641 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47642 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47643 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47644 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47645 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47646 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47647 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47648 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47649 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47650 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47651 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47652 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47653 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47654 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47655 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47656 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47657 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47658 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47659 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47660 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47661 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47662 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47663 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47664 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47665 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47666 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47667 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47668 | logged_duration_ms=9 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:04:19.3454257Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #47669 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47670 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47671 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47672 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47673 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47674 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47675 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47676 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47677 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47678 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47679 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47680 | logged_duration_ms=10 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:04:52.2422442Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #47681 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47682 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47683 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47684 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47685 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47686 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47687 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47688 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47689 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47690 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47691 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47692 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47693 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47694 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47695 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47696 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47697 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47698 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47699 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47700 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47701 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47702 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47703 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47704 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47705 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47706 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47707 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47708 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47709 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47710 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47711 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47712 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47713 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47714 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47715 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47716 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47717 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47718 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47719 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47720 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47721 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47722 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47723 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47724 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47725 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47726 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47727 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47728 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47729 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47730 | logged_duration_ms=21 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:07:19.3912513Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #47731 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47732 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47733 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47734 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47735 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47736 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47737 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47738 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47739 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47740 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47741 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47742 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47743 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47744 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47745 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47746 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47747 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47748 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47749 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47750 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47751 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47752 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47753 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47754 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47755 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47756 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47757 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47758 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47759 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47760 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47761 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47762 | logged_duration_ms=22 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:08:52.2411540Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #47763 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47764 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47765 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47766 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47767 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47768 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47769 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47770 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47771 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47772 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47773 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #47774 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid
ORDER BY m."StreamIndex";

-- Query #47775 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47776 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47777 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid
ORDER BY m."StreamIndex";

-- Query #47778 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47779 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47780 | logged_duration_ms=5 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #47781 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid
ORDER BY m."StreamIndex";

-- Query #47782 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47783 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid
ORDER BY m."StreamIndex";

-- Query #47784 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47785 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid
ORDER BY m."StreamIndex";

-- Query #47786 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47787 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47788 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid
ORDER BY m."StreamIndex";

-- Query #47789 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47790 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47791 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47792 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #47793 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47794 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47795 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47796 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47797 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47798 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47799 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47800 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47801 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47802 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47803 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47804 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47805 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47806 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47807 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47808 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47809 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47810 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47811 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47812 | logged_duration_ms=25 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:10:21.0236707Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #47813 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47814 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47815 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47816 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47817 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47818 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47819 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47820 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47821 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47822 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47823 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47824 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47825 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47826 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid])
ORDER BY b."Id";

-- Query #47827 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid])
ORDER BY b."Id";

-- Query #47828 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid])
ORDER BY b."Id";

-- Query #47829 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid])
ORDER BY b."Id";

-- Query #47830 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid])
ORDER BY b."Id";

-- Query #47831 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f1d568f-b87b-06ac-77ba-8838c8e7d5bd'::uuid])
ORDER BY b."Id";

-- Query #47832 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8f1d568f-b87b-06ac-77ba-8838c8e7d5bd'::uuid])
ORDER BY b."Id";

-- Query #47833 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ddb7188e-68b7-0c58-4245-24dd86a3df88'::uuid])
ORDER BY b."Id";

-- Query #47834 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ddb7188e-68b7-0c58-4245-24dd86a3df88'::uuid])
ORDER BY b."Id";

-- Query #47835 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d321256d-c9dc-e30c-1d86-5d426da5733c'::uuid])
ORDER BY b."Id";

-- Query #47836 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d321256d-c9dc-e30c-1d86-5d426da5733c'::uuid])
ORDER BY b."Id";

-- Query #47837 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e577761-8a76-8e97-6589-90d23f2093a7'::uuid])
ORDER BY b."Id";

-- Query #47838 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8e577761-8a76-8e97-6589-90d23f2093a7'::uuid])
ORDER BY b."Id";

-- Query #47839 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #47840 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #47841 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #47842 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87b82b0a-a4cc-5ca7-b957-96ef60c520af'::uuid])
ORDER BY b."Id";

-- Query #47843 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['87b82b0a-a4cc-5ca7-b957-96ef60c520af'::uuid])
ORDER BY b."Id";

-- Query #47844 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['adeb4298-ecd0-a1c9-525b-010ade28d52c'::uuid])
ORDER BY b."Id";

-- Query #47845 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['adeb4298-ecd0-a1c9-525b-010ade28d52c'::uuid])
ORDER BY b."Id";

-- Query #47846 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be6ebf61-c299-dc82-1ed3-8fc970db31c2'::uuid])
ORDER BY b."Id";

-- Query #47847 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['be6ebf61-c299-dc82-1ed3-8fc970db31c2'::uuid])
ORDER BY b."Id";

-- Query #47848 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09766f22-bc8c-777e-0b29-71ffec477d6d'::uuid])
ORDER BY b."Id";

-- Query #47849 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['09766f22-bc8c-777e-0b29-71ffec477d6d'::uuid])
ORDER BY b."Id";

-- Query #47850 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bb60dbe0-4be5-7884-ae1d-25d13edf7d29'::uuid])
ORDER BY b."Id";

-- Query #47851 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bb60dbe0-4be5-7884-ae1d-25d13edf7d29'::uuid])
ORDER BY b."Id";

-- Query #47852 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #47853 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #47854 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c8d42f5-c610-1587-fced-cf827c03819c'::uuid])
ORDER BY b."Id";

-- Query #47855 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2c8d42f5-c610-1587-fced-cf827c03819c'::uuid])
ORDER BY b."Id";

-- Query #47856 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid])
ORDER BY b."Id";

-- Query #47857 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid])
ORDER BY b."Id";

-- Query #47858 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid])
ORDER BY b."Id";

-- Query #47859 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid])
ORDER BY b."Id";

-- Query #47860 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c5709788-9ee7-edc3-b6ed-6ed5f1667b43'::uuid])
ORDER BY b."Id";

-- Query #47861 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c5709788-9ee7-edc3-b6ed-6ed5f1667b43'::uuid])
ORDER BY b."Id";

-- Query #47862 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid])
ORDER BY b."Id";

-- Query #47863 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid])
ORDER BY b."Id";

-- Query #47864 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid])
ORDER BY b."Id";

-- Query #47865 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid])
ORDER BY b."Id";

-- Query #47866 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea19fc70-4a6d-e9bb-90c3-e1ee88705353'::uuid])
ORDER BY b."Id";

-- Query #47867 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ea19fc70-4a6d-e9bb-90c3-e1ee88705353'::uuid])
ORDER BY b."Id";

-- Query #47868 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c596aa1-313a-c4fb-7a22-2b4e505c1b40'::uuid])
ORDER BY b."Id";

-- Query #47869 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5c596aa1-313a-c4fb-7a22-2b4e505c1b40'::uuid])
ORDER BY b."Id";

-- Query #47870 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02df129f-145c-a229-3c0c-12df9cf14dec'::uuid])
ORDER BY b."Id";

-- Query #47871 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02df129f-145c-a229-3c0c-12df9cf14dec'::uuid])
ORDER BY b."Id";

-- Query #47872 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb637533-c776-74c7-929b-c478a0b03630'::uuid])
ORDER BY b."Id";

-- Query #47873 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cb637533-c776-74c7-929b-c478a0b03630'::uuid])
ORDER BY b."Id";

-- Query #47874 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['319c6125-2b77-53ab-e7d4-3477630cca62'::uuid])
ORDER BY b."Id";

-- Query #47875 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['319c6125-2b77-53ab-e7d4-3477630cca62'::uuid])
ORDER BY b."Id";

-- Query #47876 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #47877 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #47878 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0e70355f-3c81-a1f4-9011-1499de1d1f5a'::uuid])
ORDER BY b."Id";

-- Query #47879 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0e70355f-3c81-a1f4-9011-1499de1d1f5a'::uuid])
ORDER BY b."Id";

-- Query #47880 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid])
ORDER BY b."Id";

-- Query #47881 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid])
ORDER BY b."Id";

-- Query #47882 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid])
ORDER BY b."Id";

-- Query #47883 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid])
ORDER BY b."Id";

-- Query #47884 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0afe66a2-e52a-a150-f911-29f2f5240ec8'::uuid])
ORDER BY b."Id";

-- Query #47885 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0afe66a2-e52a-a150-f911-29f2f5240ec8'::uuid])
ORDER BY b."Id";

-- Query #47886 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid])
ORDER BY b."Id";

-- Query #47887 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid])
ORDER BY b."Id";

-- Query #47888 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid])
ORDER BY b."Id";

-- Query #47889 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid])
ORDER BY b."Id";

-- Query #47890 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d0e8c64-cfeb-aee4-7d21-4055ae62c629'::uuid])
ORDER BY b."Id";

-- Query #47891 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4d0e8c64-cfeb-aee4-7d21-4055ae62c629'::uuid])
ORDER BY b."Id";

-- Query #47892 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d467c08-9d3b-9b04-a7af-8c1d42d6fc9d'::uuid])
ORDER BY b."Id";

-- Query #47893 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3d467c08-9d3b-9b04-a7af-8c1d42d6fc9d'::uuid])
ORDER BY b."Id";

-- Query #47894 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a2c19f3-ad9a-ace8-c5d8-64968f51c57f'::uuid])
ORDER BY b."Id";

-- Query #47895 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6a2c19f3-ad9a-ace8-c5d8-64968f51c57f'::uuid])
ORDER BY b."Id";

-- Query #47896 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db809b1a-9b11-9fb1-c514-651619de9aea'::uuid])
ORDER BY b."Id";

-- Query #47897 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db809b1a-9b11-9fb1-c514-651619de9aea'::uuid])
ORDER BY b."Id";

-- Query #47898 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid])
ORDER BY b."Id";

-- Query #47899 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid])
ORDER BY b."Id";

-- Query #47900 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ec1a4f04-ee2a-87e7-b2d2-b580ffd2fc1d'::uuid])
ORDER BY b."Id";

-- Query #47901 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ec1a4f04-ee2a-87e7-b2d2-b580ffd2fc1d'::uuid])
ORDER BY b."Id";

-- Query #47902 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65bbe3a9-29f9-237c-2062-1309f1c90b9d'::uuid])
ORDER BY b."Id";

-- Query #47903 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['65bbe3a9-29f9-237c-2062-1309f1c90b9d'::uuid])
ORDER BY b."Id";

-- Query #47904 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['778abd5f-c961-a0c6-3bbe-7faafece69bb'::uuid])
ORDER BY b."Id";

-- Query #47905 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['778abd5f-c961-a0c6-3bbe-7faafece69bb'::uuid])
ORDER BY b."Id";

-- Query #47906 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce8bc917-f6e0-babb-383a-30fd3c8ee8a3'::uuid])
ORDER BY b."Id";

-- Query #47907 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ce8bc917-f6e0-babb-383a-30fd3c8ee8a3'::uuid])
ORDER BY b."Id";

-- Query #47908 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid])
ORDER BY b."Id";

-- Query #47909 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid])
ORDER BY b."Id";

-- Query #47910 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid])
ORDER BY b."Id";

-- Query #47911 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid])
ORDER BY b."Id";

-- Query #47912 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7709df0e-ac6e-2e39-2b15-ca745085588f'::uuid])
ORDER BY b."Id";

-- Query #47913 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7709df0e-ac6e-2e39-2b15-ca745085588f'::uuid])
ORDER BY b."Id";

-- Query #47914 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7053f957-b113-a47d-b47b-566e2d8ee9b6'::uuid])
ORDER BY b."Id";

-- Query #47915 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7053f957-b113-a47d-b47b-566e2d8ee9b6'::uuid])
ORDER BY b."Id";

-- Query #47916 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2444f5a1-d213-6f0c-ad04-75cbbd9d850a'::uuid])
ORDER BY b."Id";

-- Query #47917 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2444f5a1-d213-6f0c-ad04-75cbbd9d850a'::uuid])
ORDER BY b."Id";

-- Query #47918 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid])
ORDER BY b."Id";

-- Query #47919 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid])
ORDER BY b."Id";

-- Query #47920 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ecdcb7e-3040-46da-26dc-73090db5fc3e'::uuid])
ORDER BY b."Id";

-- Query #47921 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ecdcb7e-3040-46da-26dc-73090db5fc3e'::uuid])
ORDER BY b."Id";

-- Query #47922 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14fc0d9f-b6db-e92c-492a-9eb99ecd88b2'::uuid])
ORDER BY b."Id";

-- Query #47923 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['14fc0d9f-b6db-e92c-492a-9eb99ecd88b2'::uuid])
ORDER BY b."Id";

-- Query #47924 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid])
ORDER BY b."Id";

-- Query #47925 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid])
ORDER BY b."Id";

-- Query #47926 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid])
ORDER BY b."Id";

-- Query #47927 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid])
ORDER BY b."Id";

-- Query #47928 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['86b7c33f-1299-e5a1-e6f5-9241af4964f4'::uuid])
ORDER BY b."Id";

-- Query #47929 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['86b7c33f-1299-e5a1-e6f5-9241af4964f4'::uuid])
ORDER BY b."Id";

-- Query #47930 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['168b21a2-7bd9-56f5-bc74-39ca6c48c100'::uuid])
ORDER BY b."Id";

-- Query #47931 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['168b21a2-7bd9-56f5-bc74-39ca6c48c100'::uuid])
ORDER BY b."Id";

-- Query #47932 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d3fdbf8-ef7f-7cb4-a2fa-f01310c6a5bb'::uuid])
ORDER BY b."Id";

-- Query #47933 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4d3fdbf8-ef7f-7cb4-a2fa-f01310c6a5bb'::uuid])
ORDER BY b."Id";

-- Query #47934 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a58281c-9cb5-c45d-9d2a-62f76666f17e'::uuid])
ORDER BY b."Id";

-- Query #47935 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0a58281c-9cb5-c45d-9d2a-62f76666f17e'::uuid])
ORDER BY b."Id";

-- Query #47936 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2dc1c5fe-f48d-5c72-8c4f-42861212079a'::uuid])
ORDER BY b."Id";

-- Query #47937 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2dc1c5fe-f48d-5c72-8c4f-42861212079a'::uuid])
ORDER BY b."Id";

-- Query #47938 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b24ffc32-3f3c-8776-b136-237262a14ee3'::uuid])
ORDER BY b."Id";

-- Query #47939 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b24ffc32-3f3c-8776-b136-237262a14ee3'::uuid])
ORDER BY b."Id";

-- Query #47940 | logged_duration_ms=8 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e069c64-ce26-88c9-709a-b86a20d9dd10'::uuid])
ORDER BY b."Id";

-- Query #47941 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e069c64-ce26-88c9-709a-b86a20d9dd10'::uuid])
ORDER BY b."Id";

-- Query #47942 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9c5232f-d8ea-14dd-7413-d25eb82e81ad'::uuid])
ORDER BY b."Id";

-- Query #47943 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9c5232f-d8ea-14dd-7413-d25eb82e81ad'::uuid])
ORDER BY b."Id";

-- Query #47944 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8726348-6252-b4aa-ddbf-d9a0e62d1c06'::uuid])
ORDER BY b."Id";

-- Query #47945 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a8726348-6252-b4aa-ddbf-d9a0e62d1c06'::uuid])
ORDER BY b."Id";

-- Query #47946 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2313c7bc-3892-72fc-d164-dfec5877174a'::uuid])
ORDER BY b."Id";

-- Query #47947 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2313c7bc-3892-72fc-d164-dfec5877174a'::uuid])
ORDER BY b."Id";

-- Query #47948 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dc4b67d8-9286-29c6-e478-4424b6ee2ecd'::uuid])
ORDER BY b."Id";

-- Query #47949 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dc4b67d8-9286-29c6-e478-4424b6ee2ecd'::uuid])
ORDER BY b."Id";

-- Query #47950 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90ab5e2d-f184-ac44-5e9b-08eae41d168b'::uuid])
ORDER BY b."Id";

-- Query #47951 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['90ab5e2d-f184-ac44-5e9b-08eae41d168b'::uuid])
ORDER BY b."Id";

-- Query #47952 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['60caa77b-62ed-9bb8-3732-702e9d4f5a7d'::uuid])
ORDER BY b."Id";

-- Query #47953 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['60caa77b-62ed-9bb8-3732-702e9d4f5a7d'::uuid])
ORDER BY b."Id";

-- Query #47954 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1600b77-6dfe-36f0-6908-9fa1405f9064'::uuid])
ORDER BY b."Id";

-- Query #47955 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b1600b77-6dfe-36f0-6908-9fa1405f9064'::uuid])
ORDER BY b."Id";

-- Query #47956 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1a36532-ad39-9309-8331-44828f1274a3'::uuid])
ORDER BY b."Id";

-- Query #47957 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1a36532-ad39-9309-8331-44828f1274a3'::uuid])
ORDER BY b."Id";

-- Query #47958 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da00bccf-2dc5-ba50-9b75-b12fb56300fb'::uuid])
ORDER BY b."Id";

-- Query #47959 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['da00bccf-2dc5-ba50-9b75-b12fb56300fb'::uuid])
ORDER BY b."Id";

-- Query #47960 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1cdd5223-ee61-8bc7-98ff-e9cb8008ab65'::uuid])
ORDER BY b."Id";

-- Query #47961 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1cdd5223-ee61-8bc7-98ff-e9cb8008ab65'::uuid])
ORDER BY b."Id";

-- Query #47962 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efb7a9eb-65da-e626-f887-33f20d22fbdf'::uuid])
ORDER BY b."Id";

-- Query #47963 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['efb7a9eb-65da-e626-f887-33f20d22fbdf'::uuid])
ORDER BY b."Id";

-- Query #47964 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aefd1f7b-f282-0f8a-900c-34c5d058cbe7'::uuid])
ORDER BY b."Id";

-- Query #47965 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aefd1f7b-f282-0f8a-900c-34c5d058cbe7'::uuid])
ORDER BY b."Id";

-- Query #47966 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b53873f5-9823-4fb3-20bc-f11b23b8079e'::uuid])
ORDER BY b."Id";

-- Query #47967 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b53873f5-9823-4fb3-20bc-f11b23b8079e'::uuid])
ORDER BY b."Id";

-- Query #47968 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['388d0482-c7eb-072e-bbdd-11e3e57669d1'::uuid])
ORDER BY b."Id";

-- Query #47969 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['388d0482-c7eb-072e-bbdd-11e3e57669d1'::uuid])
ORDER BY b."Id";

-- Query #47970 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['22ba4a6f-a798-a781-797e-be9dd6158fbb'::uuid])
ORDER BY b."Id";

-- Query #47971 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['22ba4a6f-a798-a781-797e-be9dd6158fbb'::uuid])
ORDER BY b."Id";

-- Query #47972 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e283f8c3-d6d8-a6f4-0323-b9c14b2c3ca3'::uuid])
ORDER BY b."Id";

-- Query #47973 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e283f8c3-d6d8-a6f4-0323-b9c14b2c3ca3'::uuid])
ORDER BY b."Id";

-- Query #47974 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8750530-8478-0ddc-9308-1dab760a6f7f'::uuid])
ORDER BY b."Id";

-- Query #47975 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8750530-8478-0ddc-9308-1dab760a6f7f'::uuid])
ORDER BY b."Id";

-- Query #47976 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06b1d9b6-3b10-6584-67b3-757949b47ef6'::uuid])
ORDER BY b."Id";

-- Query #47977 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['06b1d9b6-3b10-6584-67b3-757949b47ef6'::uuid])
ORDER BY b."Id";

-- Query #47978 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef70c153-8bd3-a5d7-9c6d-43c4b25afbfa'::uuid])
ORDER BY b."Id";

-- Query #47979 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ef70c153-8bd3-a5d7-9c6d-43c4b25afbfa'::uuid])
ORDER BY b."Id";

-- Query #47980 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2995edb5-6ee5-2ea2-befb-95c6a069d6c3'::uuid])
ORDER BY b."Id";

-- Query #47981 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2995edb5-6ee5-2ea2-befb-95c6a069d6c3'::uuid])
ORDER BY b."Id";

-- Query #47982 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b479b9ed-5acb-13e7-0e60-1dab94d748c8'::uuid])
ORDER BY b."Id";

-- Query #47983 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b479b9ed-5acb-13e7-0e60-1dab94d748c8'::uuid])
ORDER BY b."Id";

-- Query #47984 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['555ae87b-bc66-ff05-ce89-8f1606209f7d'::uuid])
ORDER BY b."Id";

-- Query #47985 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['555ae87b-bc66-ff05-ce89-8f1606209f7d'::uuid])
ORDER BY b."Id";

-- Query #47986 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b7ef8e0-234b-8620-7a71-688a9be1185e'::uuid])
ORDER BY b."Id";

-- Query #47987 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5b7ef8e0-234b-8620-7a71-688a9be1185e'::uuid])
ORDER BY b."Id";

-- Query #47988 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b953d630-212b-2c27-d1d4-916a6df9a392'::uuid])
ORDER BY b."Id";

-- Query #47989 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b953d630-212b-2c27-d1d4-916a6df9a392'::uuid])
ORDER BY b."Id";

-- Query #47990 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #47991 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99eeff66-b008-2d29-1ac4-92ea901a6380'::uuid])
ORDER BY b."Id";

-- Query #47992 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['99eeff66-b008-2d29-1ac4-92ea901a6380'::uuid])
ORDER BY b."Id";

-- Query #47993 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7c7c2852-1372-70e3-2e80-42e858762885'::uuid])
ORDER BY b."Id";

-- Query #47994 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7c7c2852-1372-70e3-2e80-42e858762885'::uuid])
ORDER BY b."Id";

-- Query #47995 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f1102928-47d8-1b21-bf24-bd60475a82ab'::uuid])
ORDER BY b."Id";

-- Query #47996 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f1102928-47d8-1b21-bf24-bd60475a82ab'::uuid])
ORDER BY b."Id";

-- Query #47997 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db165369-91eb-9ab8-e025-398b2bb30c24'::uuid])
ORDER BY b."Id";

-- Query #47998 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db165369-91eb-9ab8-e025-398b2bb30c24'::uuid])
ORDER BY b."Id";

-- Query #47999 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #48000 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #48001 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['93c42163-4ffe-8700-41eb-7c227f0dc2a8'::uuid])
ORDER BY b."Id";

-- Query #48002 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['93c42163-4ffe-8700-41eb-7c227f0dc2a8'::uuid])
ORDER BY b."Id";

-- Query #48003 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1e8de46-a4f3-ae19-5c9c-9f1d694b883e'::uuid])
ORDER BY b."Id";

-- Query #48004 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b1e8de46-a4f3-ae19-5c9c-9f1d694b883e'::uuid])
ORDER BY b."Id";

-- Query #48005 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['567f6f19-d0a1-a111-f66b-e24e5acdfeea'::uuid])
ORDER BY b."Id";

-- Query #48006 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['567f6f19-d0a1-a111-f66b-e24e5acdfeea'::uuid])
ORDER BY b."Id";

-- Query #48007 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9fec77e-706a-1e0e-9313-0c47f61337f9'::uuid])
ORDER BY b."Id";

-- Query #48008 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a9fec77e-706a-1e0e-9313-0c47f61337f9'::uuid])
ORDER BY b."Id";

-- Query #48009 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df9cd5e2-8849-395c-f362-d1abc7aac511'::uuid])
ORDER BY b."Id";

-- Query #48010 | logged_duration_ms=3 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['df9cd5e2-8849-395c-f362-d1abc7aac511'::uuid])
ORDER BY b."Id";

-- Query #48011 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['22933ce3-c07d-79c6-90aa-9416018c0892'::uuid])
ORDER BY b."Id";

-- Query #48012 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['22933ce3-c07d-79c6-90aa-9416018c0892'::uuid])
ORDER BY b."Id";

-- Query #48013 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['96cf2ebb-c0d0-c512-e5f1-184401e8054d'::uuid])
ORDER BY b."Id";

-- Query #48014 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['96cf2ebb-c0d0-c512-e5f1-184401e8054d'::uuid])
ORDER BY b."Id";

-- Query #48015 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1278eba6-f5f8-a5a0-9739-560e78baa1a7'::uuid])
ORDER BY b."Id";

-- Query #48016 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1278eba6-f5f8-a5a0-9739-560e78baa1a7'::uuid])
ORDER BY b."Id";

-- Query #48017 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f0072258-d601-4deb-6acc-c3a0aa69afb9'::uuid])
ORDER BY b."Id";

-- Query #48018 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f0072258-d601-4deb-6acc-c3a0aa69afb9'::uuid])
ORDER BY b."Id";

-- Query #48019 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a2512e-5a5f-c707-7495-40dfc5691d6b'::uuid])
ORDER BY b."Id";

-- Query #48020 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a2512e-5a5f-c707-7495-40dfc5691d6b'::uuid])
ORDER BY b."Id";

-- Query #48021 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e8b13fd5-58de-82ce-5497-581555e35ee0'::uuid])
ORDER BY b."Id";

-- Query #48022 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e8b13fd5-58de-82ce-5497-581555e35ee0'::uuid])
ORDER BY b."Id";

-- Query #48023 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e8057291-7f5b-7ae7-e671-b8fba9c96ede'::uuid])
ORDER BY b."Id";

-- Query #48024 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e8057291-7f5b-7ae7-e671-b8fba9c96ede'::uuid])
ORDER BY b."Id";

-- Query #48025 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0af041ba-02ac-3e39-61fe-366bc35fec8f'::uuid])
ORDER BY b."Id";

-- Query #48026 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0af041ba-02ac-3e39-61fe-366bc35fec8f'::uuid])
ORDER BY b."Id";

-- Query #48027 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['34543129-3e23-306e-c7f6-aef74d17c3da'::uuid])
ORDER BY b."Id";

-- Query #48028 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['34543129-3e23-306e-c7f6-aef74d17c3da'::uuid])
ORDER BY b."Id";

-- Query #48029 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8061cfd4-9fe9-d693-1303-faa8978fbb06'::uuid])
ORDER BY b."Id";

-- Query #48030 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8061cfd4-9fe9-d693-1303-faa8978fbb06'::uuid])
ORDER BY b."Id";

-- Query #48031 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90fdbe99-0657-f399-8269-4ed0e23ff104'::uuid])
ORDER BY b."Id";

-- Query #48032 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['90fdbe99-0657-f399-8269-4ed0e23ff104'::uuid])
ORDER BY b."Id";

-- Query #48033 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24215374-1245-3c78-90db-9b8f1dbacff3'::uuid])
ORDER BY b."Id";

-- Query #48034 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['24215374-1245-3c78-90db-9b8f1dbacff3'::uuid])
ORDER BY b."Id";

-- Query #48035 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8410871c-1ff9-d70f-13a2-d8659106923b'::uuid])
ORDER BY b."Id";

-- Query #48036 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8410871c-1ff9-d70f-13a2-d8659106923b'::uuid])
ORDER BY b."Id";

-- Query #48037 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b91d970d-1f79-4481-e731-a05b85890074'::uuid])
ORDER BY b."Id";

-- Query #48038 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b91d970d-1f79-4481-e731-a05b85890074'::uuid])
ORDER BY b."Id";

-- Query #48039 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ae2cbb2-e735-7ff1-7295-91b7b9016660'::uuid])
ORDER BY b."Id";

-- Query #48040 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2ae2cbb2-e735-7ff1-7295-91b7b9016660'::uuid])
ORDER BY b."Id";

-- Query #48041 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['298bf295-a314-eae0-1b6d-9f96af2528ce'::uuid])
ORDER BY b."Id";

-- Query #48042 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['298bf295-a314-eae0-1b6d-9f96af2528ce'::uuid])
ORDER BY b."Id";

-- Query #48043 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07263db0-c737-3ad2-13f9-46b2aac847d4'::uuid])
ORDER BY b."Id";

-- Query #48044 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['07263db0-c737-3ad2-13f9-46b2aac847d4'::uuid])
ORDER BY b."Id";

-- Query #48045 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ca7e9c7-7aa8-e329-ac9b-8800b73319fc'::uuid])
ORDER BY b."Id";

-- Query #48046 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7ca7e9c7-7aa8-e329-ac9b-8800b73319fc'::uuid])
ORDER BY b."Id";

-- Query #48047 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39f6ead0-7ee0-b4a7-cdb4-b25de31bb4e4'::uuid])
ORDER BY b."Id";

-- Query #48048 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39f6ead0-7ee0-b4a7-cdb4-b25de31bb4e4'::uuid])
ORDER BY b."Id";

-- Query #48049 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67c15c4b-a184-d890-d68d-b112a0e1b8aa'::uuid])
ORDER BY b."Id";

-- Query #48050 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['67c15c4b-a184-d890-d68d-b112a0e1b8aa'::uuid])
ORDER BY b."Id";

-- Query #48051 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9634134-1641-d609-aba6-31b443cd46d1'::uuid])
ORDER BY b."Id";

-- Query #48052 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f9634134-1641-d609-aba6-31b443cd46d1'::uuid])
ORDER BY b."Id";

-- Query #48053 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30fc819d-e173-646a-1c70-62dd7dc32b0d'::uuid])
ORDER BY b."Id";

-- Query #48054 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['30fc819d-e173-646a-1c70-62dd7dc32b0d'::uuid])
ORDER BY b."Id";

-- Query #48055 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['590b0f07-d497-1c8d-2ea9-7e562032c519'::uuid])
ORDER BY b."Id";

-- Query #48056 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['590b0f07-d497-1c8d-2ea9-7e562032c519'::uuid])
ORDER BY b."Id";

-- Query #48057 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f758a60-05e9-d25b-1ffc-d5d64b140842'::uuid])
ORDER BY b."Id";

-- Query #48058 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4f758a60-05e9-d25b-1ffc-d5d64b140842'::uuid])
ORDER BY b."Id";

-- Query #48059 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ef4abe1-edba-9524-ecef-41635df61147'::uuid])
ORDER BY b."Id";

-- Query #48060 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7ef4abe1-edba-9524-ecef-41635df61147'::uuid])
ORDER BY b."Id";

-- Query #48061 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5def979-9791-b191-3c7b-5bf1df354580'::uuid])
ORDER BY b."Id";

-- Query #48062 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f5def979-9791-b191-3c7b-5bf1df354580'::uuid])
ORDER BY b."Id";

-- Query #48063 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80152a32-1ae9-b76c-a9d8-f3b0ac274e94'::uuid])
ORDER BY b."Id";

-- Query #48064 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['80152a32-1ae9-b76c-a9d8-f3b0ac274e94'::uuid])
ORDER BY b."Id";

-- Query #48065 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6bef8e0d-5a02-ae06-d625-414cd949fb76'::uuid])
ORDER BY b."Id";

-- Query #48066 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6bef8e0d-5a02-ae06-d625-414cd949fb76'::uuid])
ORDER BY b."Id";

-- Query #48067 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ebd27ac-0569-658f-94f2-de30bdf2d0d8'::uuid])
ORDER BY b."Id";

-- Query #48068 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3ebd27ac-0569-658f-94f2-de30bdf2d0d8'::uuid])
ORDER BY b."Id";

-- Query #48069 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3bbcc162-f72b-4605-ced1-a948b9803171'::uuid])
ORDER BY b."Id";

-- Query #48070 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3bbcc162-f72b-4605-ced1-a948b9803171'::uuid])
ORDER BY b."Id";

-- Query #48071 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38d7c03d-5337-4e48-d002-3e1f9901ef90'::uuid])
ORDER BY b."Id";

-- Query #48072 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['38d7c03d-5337-4e48-d002-3e1f9901ef90'::uuid])
ORDER BY b."Id";

-- Query #48073 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['713c7a51-25df-b08c-0842-b7d1ddbca250'::uuid])
ORDER BY b."Id";

-- Query #48074 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['713c7a51-25df-b08c-0842-b7d1ddbca250'::uuid])
ORDER BY b."Id";

-- Query #48075 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['430f1f61-77f6-a8c0-9d60-9a2044e6bcdd'::uuid])
ORDER BY b."Id";

-- Query #48076 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['430f1f61-77f6-a8c0-9d60-9a2044e6bcdd'::uuid])
ORDER BY b."Id";

-- Query #48077 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d0ce473c-1bdb-c6fb-0f31-5e81316f9b58'::uuid])
ORDER BY b."Id";

-- Query #48078 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d0ce473c-1bdb-c6fb-0f31-5e81316f9b58'::uuid])
ORDER BY b."Id";

-- Query #48079 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65bb6ebd-891f-3dbf-0337-e46e67388a5b'::uuid])
ORDER BY b."Id";

-- Query #48080 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['65bb6ebd-891f-3dbf-0337-e46e67388a5b'::uuid])
ORDER BY b."Id";

-- Query #48081 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b6d2b080-2cb8-fa40-b9db-aadd9bc3f246'::uuid])
ORDER BY b."Id";

-- Query #48082 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b6d2b080-2cb8-fa40-b9db-aadd9bc3f246'::uuid])
ORDER BY b."Id";

-- Query #48083 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d8919cc-4e38-6819-872e-f5b6cc22f3d3'::uuid])
ORDER BY b."Id";

-- Query #48084 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6d8919cc-4e38-6819-872e-f5b6cc22f3d3'::uuid])
ORDER BY b."Id";

-- Query #48085 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24447a01-a55e-db71-0eb5-70aab460db9c'::uuid])
ORDER BY b."Id";

-- Query #48086 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['24447a01-a55e-db71-0eb5-70aab460db9c'::uuid])
ORDER BY b."Id";

-- Query #48087 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3586909c-202e-946f-fe57-197198b0f54b'::uuid])
ORDER BY b."Id";

-- Query #48088 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3586909c-202e-946f-fe57-197198b0f54b'::uuid])
ORDER BY b."Id";

-- Query #48089 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3a2dcc-3db0-64f4-0dc2-eb013478168e'::uuid])
ORDER BY b."Id";

-- Query #48090 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3a2dcc-3db0-64f4-0dc2-eb013478168e'::uuid])
ORDER BY b."Id";

-- Query #48091 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['678a5837-783a-4f4a-98c9-76345f66a54d'::uuid])
ORDER BY b."Id";

-- Query #48092 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['678a5837-783a-4f4a-98c9-76345f66a54d'::uuid])
ORDER BY b."Id";

-- Query #48093 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d9ac2db-4d2b-1a47-dc26-4d87b2ea6afc'::uuid])
ORDER BY b."Id";

-- Query #48094 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0d9ac2db-4d2b-1a47-dc26-4d87b2ea6afc'::uuid])
ORDER BY b."Id";

-- Query #48095 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0342930e-a2f9-680d-1fc2-a59153d08aa1'::uuid])
ORDER BY b."Id";

-- Query #48096 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0342930e-a2f9-680d-1fc2-a59153d08aa1'::uuid])
ORDER BY b."Id";

-- Query #48097 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dbaa3310-a5dc-8f62-7a89-999a6e89055f'::uuid])
ORDER BY b."Id";

-- Query #48098 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dbaa3310-a5dc-8f62-7a89-999a6e89055f'::uuid])
ORDER BY b."Id";

-- Query #48099 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b811542b-1088-5c14-20fc-3596a643bcb0'::uuid])
ORDER BY b."Id";

-- Query #48100 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b811542b-1088-5c14-20fc-3596a643bcb0'::uuid])
ORDER BY b."Id";

-- Query #48101 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80d5c1d6-bad2-a87f-4490-33816d75296b'::uuid])
ORDER BY b."Id";

-- Query #48102 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['80d5c1d6-bad2-a87f-4490-33816d75296b'::uuid])
ORDER BY b."Id";

-- Query #48103 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c17474f-7e51-9252-6d0d-5b40c28a8d87'::uuid])
ORDER BY b."Id";

-- Query #48104 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1c17474f-7e51-9252-6d0d-5b40c28a8d87'::uuid])
ORDER BY b."Id";

-- Query #48105 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4fbb138f-5ff9-2aa8-3213-c74c1edcb46b'::uuid])
ORDER BY b."Id";

-- Query #48106 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4fbb138f-5ff9-2aa8-3213-c74c1edcb46b'::uuid])
ORDER BY b."Id";

-- Query #48107 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11f6eb02-da5e-a9f2-aaae-2cb44af5a1bc'::uuid])
ORDER BY b."Id";

-- Query #48108 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['11f6eb02-da5e-a9f2-aaae-2cb44af5a1bc'::uuid])
ORDER BY b."Id";

-- Query #48109 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d0e1e26-117f-2062-00cf-eccadb4942ce'::uuid])
ORDER BY b."Id";

-- Query #48110 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2d0e1e26-117f-2062-00cf-eccadb4942ce'::uuid])
ORDER BY b."Id";

-- Query #48111 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6e069be-3424-77a8-2a34-b9dd34b1ea11'::uuid])
ORDER BY b."Id";

-- Query #48112 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e6e069be-3424-77a8-2a34-b9dd34b1ea11'::uuid])
ORDER BY b."Id";

-- Query #48113 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42d5a53e-ef58-a50a-8a93-6fdfbb7dff8f'::uuid])
ORDER BY b."Id";

-- Query #48114 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['42d5a53e-ef58-a50a-8a93-6fdfbb7dff8f'::uuid])
ORDER BY b."Id";

-- Query #48115 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d1b242b-5b65-c0a2-4446-5c1f12484333'::uuid])
ORDER BY b."Id";

-- Query #48116 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5d1b242b-5b65-c0a2-4446-5c1f12484333'::uuid])
ORDER BY b."Id";

-- Query #48117 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f370d46-4d24-4ff8-1c6d-1b26954013fb'::uuid])
ORDER BY b."Id";

-- Query #48118 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5f370d46-4d24-4ff8-1c6d-1b26954013fb'::uuid])
ORDER BY b."Id";

-- Query #48119 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56fad623-52ca-e5e0-8f4f-0b65a1208d46'::uuid])
ORDER BY b."Id";

-- Query #48120 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['56fad623-52ca-e5e0-8f4f-0b65a1208d46'::uuid])
ORDER BY b."Id";

-- Query #48121 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72afa170-7f4c-7b31-0ac0-cf0b14085cd3'::uuid])
ORDER BY b."Id";

-- Query #48122 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72afa170-7f4c-7b31-0ac0-cf0b14085cd3'::uuid])
ORDER BY b."Id";

-- Query #48123 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e3075b2-8487-d943-e911-d3d433077c8f'::uuid])
ORDER BY b."Id";

-- Query #48124 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2e3075b2-8487-d943-e911-d3d433077c8f'::uuid])
ORDER BY b."Id";

-- Query #48125 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e18f3d79-e0e6-fbef-e267-32010a25c348'::uuid])
ORDER BY b."Id";

-- Query #48126 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e18f3d79-e0e6-fbef-e267-32010a25c348'::uuid])
ORDER BY b."Id";

-- Query #48127 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07db2a9f-db10-0207-1c24-e71b2986a80c'::uuid])
ORDER BY b."Id";

-- Query #48128 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['07db2a9f-db10-0207-1c24-e71b2986a80c'::uuid])
ORDER BY b."Id";

-- Query #48129 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5e51774-1ad8-ea2b-285c-330364356071'::uuid])
ORDER BY b."Id";

-- Query #48130 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b5e51774-1ad8-ea2b-285c-330364356071'::uuid])
ORDER BY b."Id";

-- Query #48131 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7b1d8a29-7e7a-a563-daea-1da5ebfccbab'::uuid])
ORDER BY b."Id";

-- Query #48132 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7b1d8a29-7e7a-a563-daea-1da5ebfccbab'::uuid])
ORDER BY b."Id";

-- Query #48133 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['abaa894a-c054-3798-6825-f3fb09a9c1e3'::uuid])
ORDER BY b."Id";

-- Query #48134 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['abaa894a-c054-3798-6825-f3fb09a9c1e3'::uuid])
ORDER BY b."Id";

-- Query #48135 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['15b050b3-5fc5-c1ae-a89e-9e9d665ab10e'::uuid])
ORDER BY b."Id";

-- Query #48136 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['15b050b3-5fc5-c1ae-a89e-9e9d665ab10e'::uuid])
ORDER BY b."Id";

-- Query #48137 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a45df22-fe06-1662-fa01-0b04612d9332'::uuid])
ORDER BY b."Id";

-- Query #48138 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9a45df22-fe06-1662-fa01-0b04612d9332'::uuid])
ORDER BY b."Id";

-- Query #48139 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c21be72b-e39e-3033-31c3-e428b8e56721'::uuid])
ORDER BY b."Id";

-- Query #48140 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c21be72b-e39e-3033-31c3-e428b8e56721'::uuid])
ORDER BY b."Id";

-- Query #48141 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d38ef0ae-1b75-ca72-ac3e-f7168168b77b'::uuid])
ORDER BY b."Id";

-- Query #48142 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d38ef0ae-1b75-ca72-ac3e-f7168168b77b'::uuid])
ORDER BY b."Id";

-- Query #48143 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f0886225-32c9-3e5e-a940-f90b1f4b4e9c'::uuid])
ORDER BY b."Id";

-- Query #48144 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f0886225-32c9-3e5e-a940-f90b1f4b4e9c'::uuid])
ORDER BY b."Id";

-- Query #48145 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29321d70-e721-40c6-a402-cca96a7518bd'::uuid])
ORDER BY b."Id";

-- Query #48146 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['29321d70-e721-40c6-a402-cca96a7518bd'::uuid])
ORDER BY b."Id";

-- Query #48147 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6903df49-dca7-d00f-521a-a15ce00697aa'::uuid])
ORDER BY b."Id";

-- Query #48148 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6903df49-dca7-d00f-521a-a15ce00697aa'::uuid])
ORDER BY b."Id";

-- Query #48149 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['284c0cfe-e24a-e3ac-0f87-e3a3dbe84ff7'::uuid])
ORDER BY b."Id";

-- Query #48150 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['284c0cfe-e24a-e3ac-0f87-e3a3dbe84ff7'::uuid])
ORDER BY b."Id";

-- Query #48151 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['725c21a3-b64d-aa71-4eef-91ad6cb7cf61'::uuid])
ORDER BY b."Id";

-- Query #48152 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['725c21a3-b64d-aa71-4eef-91ad6cb7cf61'::uuid])
ORDER BY b."Id";

-- Query #48153 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78532b32-1488-e465-ef4d-576c8f2175b0'::uuid])
ORDER BY b."Id";

-- Query #48154 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['78532b32-1488-e465-ef4d-576c8f2175b0'::uuid])
ORDER BY b."Id";

-- Query #48155 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3dfe6549-5b6a-d301-3887-d825dbd1933b'::uuid])
ORDER BY b."Id";

-- Query #48156 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3dfe6549-5b6a-d301-3887-d825dbd1933b'::uuid])
ORDER BY b."Id";

-- Query #48157 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ff09ce8-2863-6d40-38b0-15195908307c'::uuid])
ORDER BY b."Id";

-- Query #48158 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0ff09ce8-2863-6d40-38b0-15195908307c'::uuid])
ORDER BY b."Id";

-- Query #48159 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dba0c10b-77db-8232-eba1-12b1e2aacaad'::uuid])
ORDER BY b."Id";

-- Query #48160 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dba0c10b-77db-8232-eba1-12b1e2aacaad'::uuid])
ORDER BY b."Id";

-- Query #48161 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e80bfbd-0308-771d-7e88-05fc8fae5117'::uuid])
ORDER BY b."Id";

-- Query #48162 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e80bfbd-0308-771d-7e88-05fc8fae5117'::uuid])
ORDER BY b."Id";

-- Query #48163 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df977084-db62-0374-c445-ffce6c11175c'::uuid])
ORDER BY b."Id";

-- Query #48164 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['df977084-db62-0374-c445-ffce6c11175c'::uuid])
ORDER BY b."Id";

-- Query #48165 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1802e829-8264-ca4c-01fd-e503b4a33e5a'::uuid])
ORDER BY b."Id";

-- Query #48166 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1802e829-8264-ca4c-01fd-e503b4a33e5a'::uuid])
ORDER BY b."Id";

-- Query #48167 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6099b4a-d589-3ae9-f9ba-5c2d980c2470'::uuid])
ORDER BY b."Id";

-- Query #48168 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e6099b4a-d589-3ae9-f9ba-5c2d980c2470'::uuid])
ORDER BY b."Id";

-- Query #48169 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ae0c61d-141c-78f6-5777-337405199756'::uuid])
ORDER BY b."Id";

-- Query #48170 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1ae0c61d-141c-78f6-5777-337405199756'::uuid])
ORDER BY b."Id";

-- Query #48171 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['533dad9c-e9aa-a549-324e-03c6da7613b0'::uuid])
ORDER BY b."Id";

-- Query #48172 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['533dad9c-e9aa-a549-324e-03c6da7613b0'::uuid])
ORDER BY b."Id";

-- Query #48173 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c40fe1b2-af22-7d02-3ba2-41d025570f38'::uuid])
ORDER BY b."Id";

-- Query #48174 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c40fe1b2-af22-7d02-3ba2-41d025570f38'::uuid])
ORDER BY b."Id";

-- Query #48175 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3194896b-4bf0-42f6-612a-c7e1912a770a'::uuid])
ORDER BY b."Id";

-- Query #48176 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3194896b-4bf0-42f6-612a-c7e1912a770a'::uuid])
ORDER BY b."Id";

-- Query #48177 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #48178 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77dd0b13-5946-9739-f47a-8469112e0f37'::uuid])
ORDER BY b."Id";

-- Query #48179 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['77dd0b13-5946-9739-f47a-8469112e0f37'::uuid])
ORDER BY b."Id";

-- Query #48180 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['63be3658-8e36-355f-205c-da433017a87c'::uuid])
ORDER BY b."Id";

-- Query #48181 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['63be3658-8e36-355f-205c-da433017a87c'::uuid])
ORDER BY b."Id";

-- Query #48182 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f72d2347-f7ff-dd69-3f91-06fbefb6a91d'::uuid])
ORDER BY b."Id";

-- Query #48183 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f72d2347-f7ff-dd69-3f91-06fbefb6a91d'::uuid])
ORDER BY b."Id";

-- Query #48184 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid])
ORDER BY b."Id";

-- Query #48185 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid])
ORDER BY b."Id";

-- Query #48186 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3266a904-9d2a-3b4e-935e-21d30474a5ec'::uuid])
ORDER BY b."Id";

-- Query #48187 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3266a904-9d2a-3b4e-935e-21d30474a5ec'::uuid])
ORDER BY b."Id";

-- Query #48188 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['770779bc-339d-93ef-eb8e-7738dff76957'::uuid])
ORDER BY b."Id";

-- Query #48189 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['770779bc-339d-93ef-eb8e-7738dff76957'::uuid])
ORDER BY b."Id";

-- Query #48190 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6ef6a956-c276-e687-5de9-3843604cbd9e'::uuid])
ORDER BY b."Id";

-- Query #48191 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6ef6a956-c276-e687-5de9-3843604cbd9e'::uuid])
ORDER BY b."Id";

-- Query #48192 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e52dd7f7-d1f7-5e41-f29a-230719509da2'::uuid])
ORDER BY b."Id";

-- Query #48193 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e52dd7f7-d1f7-5e41-f29a-230719509da2'::uuid])
ORDER BY b."Id";

-- Query #48194 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid])
ORDER BY b."Id";

-- Query #48195 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid])
ORDER BY b."Id";

-- Query #48196 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eae88635-45ae-111f-7419-1fd3f929fd9a'::uuid])
ORDER BY b."Id";

-- Query #48197 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eae88635-45ae-111f-7419-1fd3f929fd9a'::uuid])
ORDER BY b."Id";

-- Query #48198 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['735ef9a3-3989-118d-dd0d-597a6aeb0bfa'::uuid])
ORDER BY b."Id";

-- Query #48199 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['735ef9a3-3989-118d-dd0d-597a6aeb0bfa'::uuid])
ORDER BY b."Id";

-- Query #48200 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e685b191-054b-4aca-51fe-0db552f15052'::uuid])
ORDER BY b."Id";

-- Query #48201 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e685b191-054b-4aca-51fe-0db552f15052'::uuid])
ORDER BY b."Id";

-- Query #48202 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85c71da0-218e-5ace-63bc-48a1d90d956b'::uuid])
ORDER BY b."Id";

-- Query #48203 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['85c71da0-218e-5ace-63bc-48a1d90d956b'::uuid])
ORDER BY b."Id";

-- Query #48204 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb054524-9aee-504b-366c-88b885c062c8'::uuid])
ORDER BY b."Id";

-- Query #48205 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cb054524-9aee-504b-366c-88b885c062c8'::uuid])
ORDER BY b."Id";

-- Query #48206 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7acdd131-26e6-19d8-9d23-821317851dee'::uuid])
ORDER BY b."Id";

-- Query #48207 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7acdd131-26e6-19d8-9d23-821317851dee'::uuid])
ORDER BY b."Id";

-- Query #48208 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e62dc343-972e-bfc6-4c95-f336f0279d80'::uuid])
ORDER BY b."Id";

-- Query #48209 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e62dc343-972e-bfc6-4c95-f336f0279d80'::uuid])
ORDER BY b."Id";

-- Query #48210 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a34d578c-f0f3-88d5-0dad-d33093971898'::uuid])
ORDER BY b."Id";

-- Query #48211 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a34d578c-f0f3-88d5-0dad-d33093971898'::uuid])
ORDER BY b."Id";

-- Query #48212 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d262fe08-027f-21cb-e252-1a21d6f13dd9'::uuid])
ORDER BY b."Id";

-- Query #48213 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d262fe08-027f-21cb-e252-1a21d6f13dd9'::uuid])
ORDER BY b."Id";

-- Query #48214 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b06969d1-0538-a124-7e5d-16df3fa3f018'::uuid])
ORDER BY b."Id";

-- Query #48215 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b06969d1-0538-a124-7e5d-16df3fa3f018'::uuid])
ORDER BY b."Id";

-- Query #48216 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce86f85d-4825-01fa-4537-646972219796'::uuid])
ORDER BY b."Id";

-- Query #48217 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ce86f85d-4825-01fa-4537-646972219796'::uuid])
ORDER BY b."Id";

-- Query #48218 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid])
ORDER BY b."Id";

-- Query #48219 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid])
ORDER BY b."Id";

-- Query #48220 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid])
ORDER BY b."Id";

-- Query #48221 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid])
ORDER BY b."Id";

-- Query #48222 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e24760fc-0324-9f2d-f957-a774122c6e31'::uuid])
ORDER BY b."Id";

-- Query #48223 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e24760fc-0324-9f2d-f957-a774122c6e31'::uuid])
ORDER BY b."Id";

-- Query #48224 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06ed2000-4305-9537-1e85-a0765b2d2fda'::uuid])
ORDER BY b."Id";

-- Query #48225 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['06ed2000-4305-9537-1e85-a0765b2d2fda'::uuid])
ORDER BY b."Id";

-- Query #48226 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa33d74a-5e31-fd81-b64f-bcc6c6f562a1'::uuid])
ORDER BY b."Id";

-- Query #48227 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fa33d74a-5e31-fd81-b64f-bcc6c6f562a1'::uuid])
ORDER BY b."Id";

-- Query #48228 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid])
ORDER BY b."Id";

-- Query #48229 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid])
ORDER BY b."Id";

-- Query #48230 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #48231 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #48232 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a82109c5-6188-45fc-e3e7-6dfd8254465f'::uuid])
ORDER BY b."Id";

-- Query #48233 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a82109c5-6188-45fc-e3e7-6dfd8254465f'::uuid])
ORDER BY b."Id";

-- Query #48234 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid])
ORDER BY b."Id";

-- Query #48235 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid])
ORDER BY b."Id";

-- Query #48236 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid])
ORDER BY b."Id";

-- Query #48237 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid])
ORDER BY b."Id";

-- Query #48238 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ef7feaf-3e72-5c72-b8fa-492749e8ea21'::uuid])
ORDER BY b."Id";

-- Query #48239 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0ef7feaf-3e72-5c72-b8fa-492749e8ea21'::uuid])
ORDER BY b."Id";

-- Query #48240 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eb67501-848e-2f0c-a92b-f53e11df2f12'::uuid])
ORDER BY b."Id";

-- Query #48241 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1eb67501-848e-2f0c-a92b-f53e11df2f12'::uuid])
ORDER BY b."Id";

-- Query #48242 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29fd1bdd-bc4c-9a93-4888-2bd9dc5a3898'::uuid])
ORDER BY b."Id";

-- Query #48243 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['29fd1bdd-bc4c-9a93-4888-2bd9dc5a3898'::uuid])
ORDER BY b."Id";

-- Query #48244 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['082e5713-4194-fea9-0323-fe42d350b908'::uuid])
ORDER BY b."Id";

-- Query #48245 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['082e5713-4194-fea9-0323-fe42d350b908'::uuid])
ORDER BY b."Id";

-- Query #48246 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8ff5d65-ffd3-9ce4-c6c3-97bc69cc535d'::uuid])
ORDER BY b."Id";

-- Query #48247 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a8ff5d65-ffd3-9ce4-c6c3-97bc69cc535d'::uuid])
ORDER BY b."Id";

-- Query #48248 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['175babf6-a1cc-cc25-a135-4703c32db5f6'::uuid])
ORDER BY b."Id";

-- Query #48249 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['175babf6-a1cc-cc25-a135-4703c32db5f6'::uuid])
ORDER BY b."Id";

-- Query #48250 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1f78ff5e-4373-3093-4260-5af3eb4cb188'::uuid])
ORDER BY b."Id";

-- Query #48251 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1f78ff5e-4373-3093-4260-5af3eb4cb188'::uuid])
ORDER BY b."Id";

-- Query #48252 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4582c2fb-4330-d752-9dfd-52c19aed112b'::uuid])
ORDER BY b."Id";

-- Query #48253 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4582c2fb-4330-d752-9dfd-52c19aed112b'::uuid])
ORDER BY b."Id";

-- Query #48254 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['155ddc43-fb5e-3708-2958-a83da084d054'::uuid])
ORDER BY b."Id";

-- Query #48255 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['155ddc43-fb5e-3708-2958-a83da084d054'::uuid])
ORDER BY b."Id";

-- Query #48256 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4d086c4-8792-d0c9-8488-b0604b3663a4'::uuid])
ORDER BY b."Id";

-- Query #48257 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b4d086c4-8792-d0c9-8488-b0604b3663a4'::uuid])
ORDER BY b."Id";

-- Query #48258 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d45a977f-58f6-fa61-2a3d-92c527ef5253'::uuid])
ORDER BY b."Id";

-- Query #48259 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d45a977f-58f6-fa61-2a3d-92c527ef5253'::uuid])
ORDER BY b."Id";

-- Query #48260 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f0b28fc-9494-b741-874f-cfc6dbf3bd19'::uuid])
ORDER BY b."Id";

-- Query #48261 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8f0b28fc-9494-b741-874f-cfc6dbf3bd19'::uuid])
ORDER BY b."Id";

-- Query #48262 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7622f6af-c772-abb3-b0db-1f85bc6653b6'::uuid])
ORDER BY b."Id";

-- Query #48263 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7622f6af-c772-abb3-b0db-1f85bc6653b6'::uuid])
ORDER BY b."Id";

-- Query #48264 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4df5f618-0162-fb12-35a0-defb677560dc'::uuid])
ORDER BY b."Id";

-- Query #48265 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4df5f618-0162-fb12-35a0-defb677560dc'::uuid])
ORDER BY b."Id";

-- Query #48266 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42ca4923-8143-4e17-d2aa-2481be799e4b'::uuid])
ORDER BY b."Id";

-- Query #48267 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['42ca4923-8143-4e17-d2aa-2481be799e4b'::uuid])
ORDER BY b."Id";

-- Query #48268 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['272ba5e0-9cf7-f15e-fdd2-c645b61617d4'::uuid])
ORDER BY b."Id";

-- Query #48269 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['272ba5e0-9cf7-f15e-fdd2-c645b61617d4'::uuid])
ORDER BY b."Id";

-- Query #48270 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ecfea6a-2a95-5830-de67-e963ea010e4f'::uuid])
ORDER BY b."Id";

-- Query #48271 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ecfea6a-2a95-5830-de67-e963ea010e4f'::uuid])
ORDER BY b."Id";

-- Query #48272 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3b93e5f-e085-4aa7-e3cb-b5e7844b5831'::uuid])
ORDER BY b."Id";

-- Query #48273 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c3b93e5f-e085-4aa7-e3cb-b5e7844b5831'::uuid])
ORDER BY b."Id";

-- Query #48274 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d492bc68-4f1c-e76c-add1-8ba3744a3d20'::uuid])
ORDER BY b."Id";

-- Query #48275 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d492bc68-4f1c-e76c-add1-8ba3744a3d20'::uuid])
ORDER BY b."Id";

-- Query #48276 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e455c280-a52f-6601-1c53-d7acbe36aaf7'::uuid])
ORDER BY b."Id";

-- Query #48277 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e455c280-a52f-6601-1c53-d7acbe36aaf7'::uuid])
ORDER BY b."Id";

-- Query #48278 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8d79ba14-ebbc-5347-bf53-e46fa314b847'::uuid])
ORDER BY b."Id";

-- Query #48279 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8d79ba14-ebbc-5347-bf53-e46fa314b847'::uuid])
ORDER BY b."Id";

-- Query #48280 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8e6aae7-96b0-be9f-c6c4-4ad4dd6c3bd4'::uuid])
ORDER BY b."Id";

-- Query #48281 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8e6aae7-96b0-be9f-c6c4-4ad4dd6c3bd4'::uuid])
ORDER BY b."Id";

-- Query #48282 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909b039e-7a94-9ba7-5079-1ec603000e7f'::uuid])
ORDER BY b."Id";

-- Query #48283 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['909b039e-7a94-9ba7-5079-1ec603000e7f'::uuid])
ORDER BY b."Id";

-- Query #48284 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['66d55813-6149-408d-ded0-8128e5f61456'::uuid])
ORDER BY b."Id";

-- Query #48285 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['66d55813-6149-408d-ded0-8128e5f61456'::uuid])
ORDER BY b."Id";

-- Query #48286 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea9c92ec-2399-cc6f-db61-812cdd5b6d10'::uuid])
ORDER BY b."Id";

-- Query #48287 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ea9c92ec-2399-cc6f-db61-812cdd5b6d10'::uuid])
ORDER BY b."Id";

-- Query #48288 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f09db5a3-e607-d698-9049-ee346dc42a21'::uuid])
ORDER BY b."Id";

-- Query #48289 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f09db5a3-e607-d698-9049-ee346dc42a21'::uuid])
ORDER BY b."Id";

-- Query #48290 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['51287982-cc95-1386-7e7e-c43713acf876'::uuid])
ORDER BY b."Id";

-- Query #48291 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['51287982-cc95-1386-7e7e-c43713acf876'::uuid])
ORDER BY b."Id";

-- Query #48292 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ba2845-eadb-2823-427c-58709670ca64'::uuid])
ORDER BY b."Id";

-- Query #48293 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39ba2845-eadb-2823-427c-58709670ca64'::uuid])
ORDER BY b."Id";

-- Query #48294 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b2ee529c-8433-2259-332c-1fbde266f161'::uuid])
ORDER BY b."Id";

-- Query #48295 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b2ee529c-8433-2259-332c-1fbde266f161'::uuid])
ORDER BY b."Id";

-- Query #48296 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d97073e-15c8-aa5a-7ac2-0e80c855e2ac'::uuid])
ORDER BY b."Id";

-- Query #48297 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7d97073e-15c8-aa5a-7ac2-0e80c855e2ac'::uuid])
ORDER BY b."Id";

-- Query #48298 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4207857-e1e5-8e5a-1211-51f00428fb02'::uuid])
ORDER BY b."Id";

-- Query #48299 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f4207857-e1e5-8e5a-1211-51f00428fb02'::uuid])
ORDER BY b."Id";

-- Query #48300 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef3b52ef-a4d9-618d-2a97-d8f9239e54ba'::uuid])
ORDER BY b."Id";

-- Query #48301 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ef3b52ef-a4d9-618d-2a97-d8f9239e54ba'::uuid])
ORDER BY b."Id";

-- Query #48302 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e3e88c2-57b1-5542-1435-fcce8115cc43'::uuid])
ORDER BY b."Id";

-- Query #48303 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9e3e88c2-57b1-5542-1435-fcce8115cc43'::uuid])
ORDER BY b."Id";

-- Query #48304 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['289ca182-62fb-849e-1dd5-42b0980d2a42'::uuid])
ORDER BY b."Id";

-- Query #48305 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['289ca182-62fb-849e-1dd5-42b0980d2a42'::uuid])
ORDER BY b."Id";

-- Query #48306 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4106c697-25c0-d272-25bd-7188977e96ed'::uuid])
ORDER BY b."Id";

-- Query #48307 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4106c697-25c0-d272-25bd-7188977e96ed'::uuid])
ORDER BY b."Id";

-- Query #48308 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3a723c6-e065-3351-2367-4f84c2bbfe3e'::uuid])
ORDER BY b."Id";

-- Query #48309 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d3a723c6-e065-3351-2367-4f84c2bbfe3e'::uuid])
ORDER BY b."Id";

-- Query #48310 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c2136868-6089-328d-155b-e1609ef1dbb4'::uuid])
ORDER BY b."Id";

-- Query #48311 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c2136868-6089-328d-155b-e1609ef1dbb4'::uuid])
ORDER BY b."Id";

-- Query #48312 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['32c2d4d7-e99f-4117-879d-9cdad5745a3f'::uuid])
ORDER BY b."Id";

-- Query #48313 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['32c2d4d7-e99f-4117-879d-9cdad5745a3f'::uuid])
ORDER BY b."Id";

-- Query #48314 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcd3e01c-02c2-a5b1-e386-6ecca2f52d92'::uuid])
ORDER BY b."Id";

-- Query #48315 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bcd3e01c-02c2-a5b1-e386-6ecca2f52d92'::uuid])
ORDER BY b."Id";

-- Query #48316 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e4760340-1f98-bfa7-5dd6-d85fffe38591'::uuid])
ORDER BY b."Id";

-- Query #48317 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e4760340-1f98-bfa7-5dd6-d85fffe38591'::uuid])
ORDER BY b."Id";

-- Query #48318 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d90ab2d1-4f74-9bc6-7562-5b183a10346e'::uuid])
ORDER BY b."Id";

-- Query #48319 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d90ab2d1-4f74-9bc6-7562-5b183a10346e'::uuid])
ORDER BY b."Id";

-- Query #48320 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b67abe3f-d3fc-fcf9-7bb9-b36195629123'::uuid])
ORDER BY b."Id";

-- Query #48321 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b67abe3f-d3fc-fcf9-7bb9-b36195629123'::uuid])
ORDER BY b."Id";

-- Query #48322 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b81cd4ed-2d61-fb19-5b80-63b987423e35'::uuid])
ORDER BY b."Id";

-- Query #48323 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b81cd4ed-2d61-fb19-5b80-63b987423e35'::uuid])
ORDER BY b."Id";

-- Query #48324 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['175db8e4-0b6f-48ab-56d6-05360225dff1'::uuid])
ORDER BY b."Id";

-- Query #48325 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['175db8e4-0b6f-48ab-56d6-05360225dff1'::uuid])
ORDER BY b."Id";

-- Query #48326 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7db40fd3-cd5e-9911-27d3-632af36b77fc'::uuid])
ORDER BY b."Id";

-- Query #48327 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7db40fd3-cd5e-9911-27d3-632af36b77fc'::uuid])
ORDER BY b."Id";

-- Query #48328 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95d1dd3d-4ae9-f231-f09b-c8f50b53ed11'::uuid])
ORDER BY b."Id";

-- Query #48329 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['95d1dd3d-4ae9-f231-f09b-c8f50b53ed11'::uuid])
ORDER BY b."Id";

-- Query #48330 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd6c40f4-1854-f95d-03e1-4ee930ee3fdd'::uuid])
ORDER BY b."Id";

-- Query #48331 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd6c40f4-1854-f95d-03e1-4ee930ee3fdd'::uuid])
ORDER BY b."Id";

-- Query #48332 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d2a7d05-ae57-e97a-e330-094f89aa7363'::uuid])
ORDER BY b."Id";

-- Query #48333 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7d2a7d05-ae57-e97a-e330-094f89aa7363'::uuid])
ORDER BY b."Id";

-- Query #48334 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db846855-7d77-e7ac-f046-bd9b279c2d23'::uuid])
ORDER BY b."Id";

-- Query #48335 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db846855-7d77-e7ac-f046-bd9b279c2d23'::uuid])
ORDER BY b."Id";

-- Query #48336 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['506370f4-4e81-2c01-fdfc-950636639ca6'::uuid])
ORDER BY b."Id";

-- Query #48337 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['506370f4-4e81-2c01-fdfc-950636639ca6'::uuid])
ORDER BY b."Id";

-- Query #48338 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e5e2325-e039-0b7c-a93d-c8c422129a64'::uuid])
ORDER BY b."Id";

-- Query #48339 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9e5e2325-e039-0b7c-a93d-c8c422129a64'::uuid])
ORDER BY b."Id";

-- Query #48340 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10d38e4b-119b-2559-e30c-c7ad03c8525b'::uuid])
ORDER BY b."Id";

-- Query #48341 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['10d38e4b-119b-2559-e30c-c7ad03c8525b'::uuid])
ORDER BY b."Id";

-- Query #48342 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70a717b7-ac47-efcd-605e-5efe1dc15d12'::uuid])
ORDER BY b."Id";

-- Query #48343 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['70a717b7-ac47-efcd-605e-5efe1dc15d12'::uuid])
ORDER BY b."Id";

-- Query #48344 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3b6c796-4213-5402-7d07-1aef8d7dc6b3'::uuid])
ORDER BY b."Id";

-- Query #48345 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c3b6c796-4213-5402-7d07-1aef8d7dc6b3'::uuid])
ORDER BY b."Id";

-- Query #48346 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e2e6077-c8f0-19ca-7586-8b10abf3154d'::uuid])
ORDER BY b."Id";

-- Query #48347 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e2e6077-c8f0-19ca-7586-8b10abf3154d'::uuid])
ORDER BY b."Id";

-- Query #48348 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6e071ec1-5d2f-4c62-d309-b5b939345ca8'::uuid])
ORDER BY b."Id";

-- Query #48349 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6e071ec1-5d2f-4c62-d309-b5b939345ca8'::uuid])
ORDER BY b."Id";

-- Query #48350 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['55a1c81b-93a6-970e-1961-cde5f11552e6'::uuid])
ORDER BY b."Id";

-- Query #48351 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['55a1c81b-93a6-970e-1961-cde5f11552e6'::uuid])
ORDER BY b."Id";

-- Query #48352 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7374868a-3043-fb80-48ca-3e8700d01350'::uuid])
ORDER BY b."Id";

-- Query #48353 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7374868a-3043-fb80-48ca-3e8700d01350'::uuid])
ORDER BY b."Id";

-- Query #48354 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8c0f8296-b2aa-d431-ab7a-b0661fa6a953'::uuid])
ORDER BY b."Id";

-- Query #48355 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8c0f8296-b2aa-d431-ab7a-b0661fa6a953'::uuid])
ORDER BY b."Id";

-- Query #48356 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0e5000b-f149-7b42-cdf6-c8e4352baeec'::uuid])
ORDER BY b."Id";

-- Query #48357 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c0e5000b-f149-7b42-cdf6-c8e4352baeec'::uuid])
ORDER BY b."Id";

-- Query #48358 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e0e3429-d122-5da4-c585-acd41ca5cbd6'::uuid])
ORDER BY b."Id";

-- Query #48359 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e0e3429-d122-5da4-c585-acd41ca5cbd6'::uuid])
ORDER BY b."Id";

-- Query #48360 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92a6cab1-86cf-b5e2-0d6c-586205434b66'::uuid])
ORDER BY b."Id";

-- Query #48361 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['92a6cab1-86cf-b5e2-0d6c-586205434b66'::uuid])
ORDER BY b."Id";

-- Query #48362 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ab89d8-ec81-0b0d-f5e2-487ac4ee7c18'::uuid])
ORDER BY b."Id";

-- Query #48363 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8ab89d8-ec81-0b0d-f5e2-487ac4ee7c18'::uuid])
ORDER BY b."Id";

-- Query #48364 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b59767d9-2404-a637-8f2a-4da8f45f9eac'::uuid])
ORDER BY b."Id";

-- Query #48365 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b59767d9-2404-a637-8f2a-4da8f45f9eac'::uuid])
ORDER BY b."Id";

-- Query #48366 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6bd32c9f-2f57-bedd-393e-e3cb5e0444df'::uuid])
ORDER BY b."Id";

-- Query #48367 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6bd32c9f-2f57-bedd-393e-e3cb5e0444df'::uuid])
ORDER BY b."Id";

-- Query #48368 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e58a97fe-948d-0a57-6d70-cae27c0570d7'::uuid])
ORDER BY b."Id";

-- Query #48369 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e58a97fe-948d-0a57-6d70-cae27c0570d7'::uuid])
ORDER BY b."Id";

-- Query #48370 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ee18f1bb-eb62-9dee-86ff-d516b19822e8'::uuid])
ORDER BY b."Id";

-- Query #48371 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ee18f1bb-eb62-9dee-86ff-d516b19822e8'::uuid])
ORDER BY b."Id";

-- Query #48372 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['16cc7bd5-2962-02d6-bda9-62184eaae3ae'::uuid])
ORDER BY b."Id";

-- Query #48373 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['16cc7bd5-2962-02d6-bda9-62184eaae3ae'::uuid])
ORDER BY b."Id";

-- Query #48374 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0fd9f63c-f140-8c4e-0303-159e7904f81d'::uuid])
ORDER BY b."Id";

-- Query #48375 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0fd9f63c-f140-8c4e-0303-159e7904f81d'::uuid])
ORDER BY b."Id";

-- Query #48376 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b073a370-d38a-ad04-a4a7-8cb418a91c53'::uuid])
ORDER BY b."Id";

-- Query #48377 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b073a370-d38a-ad04-a4a7-8cb418a91c53'::uuid])
ORDER BY b."Id";

-- Query #48378 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3c57b581-404c-d7dd-e22d-cc3ed98e166c'::uuid])
ORDER BY b."Id";

-- Query #48379 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3c57b581-404c-d7dd-e22d-cc3ed98e166c'::uuid])
ORDER BY b."Id";

-- Query #48380 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['797b2997-fe93-2cf5-e6d8-6c94f43a06a4'::uuid])
ORDER BY b."Id";

-- Query #48381 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['797b2997-fe93-2cf5-e6d8-6c94f43a06a4'::uuid])
ORDER BY b."Id";

-- Query #48382 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f16d9bff-637b-0a22-7b34-275b7c1b8540'::uuid])
ORDER BY b."Id";

-- Query #48383 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f16d9bff-637b-0a22-7b34-275b7c1b8540'::uuid])
ORDER BY b."Id";

-- Query #48384 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13ef02e6-441c-d5b3-54a7-6103b703f4e0'::uuid])
ORDER BY b."Id";

-- Query #48385 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['13ef02e6-441c-d5b3-54a7-6103b703f4e0'::uuid])
ORDER BY b."Id";

-- Query #48386 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['08afebe3-f40e-8963-9820-f9678d34935e'::uuid])
ORDER BY b."Id";

-- Query #48387 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['08afebe3-f40e-8963-9820-f9678d34935e'::uuid])
ORDER BY b."Id";

-- Query #48388 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6ecc03b5-c65d-1696-0580-e8ee76675a6f'::uuid])
ORDER BY b."Id";

-- Query #48389 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6ecc03b5-c65d-1696-0580-e8ee76675a6f'::uuid])
ORDER BY b."Id";

-- Query #48390 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0144fbeb-d328-2267-327d-28c2f6ed4d6b'::uuid])
ORDER BY b."Id";

-- Query #48391 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0144fbeb-d328-2267-327d-28c2f6ed4d6b'::uuid])
ORDER BY b."Id";

-- Query #48392 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f1d0094-0c24-fa9c-be3c-c660376fb27a'::uuid])
ORDER BY b."Id";

-- Query #48393 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4f1d0094-0c24-fa9c-be3c-c660376fb27a'::uuid])
ORDER BY b."Id";

-- Query #48394 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e795a0e-5f22-730b-06e2-f1a9511d1751'::uuid])
ORDER BY b."Id";

-- Query #48395 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7e795a0e-5f22-730b-06e2-f1a9511d1751'::uuid])
ORDER BY b."Id";

-- Query #48396 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['094c60d7-bee5-1a86-6ab6-62447e8778e1'::uuid])
ORDER BY b."Id";

-- Query #48397 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['094c60d7-bee5-1a86-6ab6-62447e8778e1'::uuid])
ORDER BY b."Id";

-- Query #48398 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a7e05be-aa5f-761e-475e-96045441862f'::uuid])
ORDER BY b."Id";

-- Query #48399 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9a7e05be-aa5f-761e-475e-96045441862f'::uuid])
ORDER BY b."Id";

-- Query #48400 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05e67a24-f258-9a3b-cc66-3b8c3abe6118'::uuid])
ORDER BY b."Id";

-- Query #48401 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['05e67a24-f258-9a3b-cc66-3b8c3abe6118'::uuid])
ORDER BY b."Id";

-- Query #48402 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['811a94f5-ce0b-d83c-44e8-9fdecc0466fa'::uuid])
ORDER BY b."Id";

-- Query #48403 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['811a94f5-ce0b-d83c-44e8-9fdecc0466fa'::uuid])
ORDER BY b."Id";

-- Query #48404 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #48405 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['18db77e9-2efb-054a-60af-027fd9261149'::uuid])
ORDER BY b."Id";

-- Query #48406 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['18db77e9-2efb-054a-60af-027fd9261149'::uuid])
ORDER BY b."Id";

-- Query #48407 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed93de20-2024-6152-44f6-cea8b8c8a6a7'::uuid])
ORDER BY b."Id";

-- Query #48408 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ed93de20-2024-6152-44f6-cea8b8c8a6a7'::uuid])
ORDER BY b."Id";

-- Query #48409 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d90b4f45-04f4-f6fd-c142-39c10eac0188'::uuid])
ORDER BY b."Id";

-- Query #48410 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d90b4f45-04f4-f6fd-c142-39c10eac0188'::uuid])
ORDER BY b."Id";

-- Query #48411 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dec8a594-9e71-d1bf-f1fd-4fa30dfd7f04'::uuid])
ORDER BY b."Id";

-- Query #48412 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dec8a594-9e71-d1bf-f1fd-4fa30dfd7f04'::uuid])
ORDER BY b."Id";

-- Query #48413 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9d316dd1-cf9a-af4d-b88f-65d7f39df5f4'::uuid])
ORDER BY b."Id";

-- Query #48414 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9d316dd1-cf9a-af4d-b88f-65d7f39df5f4'::uuid])
ORDER BY b."Id";

-- Query #48415 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be9db238-2833-ec17-2dec-30b49af2995a'::uuid])
ORDER BY b."Id";

-- Query #48416 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['be9db238-2833-ec17-2dec-30b49af2995a'::uuid])
ORDER BY b."Id";

-- Query #48417 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd3f229-1816-d06b-b872-7d604aaadc86'::uuid])
ORDER BY b."Id";

-- Query #48418 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd3f229-1816-d06b-b872-7d604aaadc86'::uuid])
ORDER BY b."Id";

-- Query #48419 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e09604c5-c67d-2db0-98c4-abddf58ba4ad'::uuid])
ORDER BY b."Id";

-- Query #48420 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e09604c5-c67d-2db0-98c4-abddf58ba4ad'::uuid])
ORDER BY b."Id";

-- Query #48421 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db9ebbb9-ef82-99f2-3ff6-8eb3898cdb8a'::uuid])
ORDER BY b."Id";

-- Query #48422 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db9ebbb9-ef82-99f2-3ff6-8eb3898cdb8a'::uuid])
ORDER BY b."Id";

-- Query #48423 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad17b13d-3b35-9b5e-886d-fbd9d2197c48'::uuid])
ORDER BY b."Id";

-- Query #48424 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ad17b13d-3b35-9b5e-886d-fbd9d2197c48'::uuid])
ORDER BY b."Id";

-- Query #48425 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e65494db-9a0a-76e6-d1c6-29fe386a2700'::uuid])
ORDER BY b."Id";

-- Query #48426 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e65494db-9a0a-76e6-d1c6-29fe386a2700'::uuid])
ORDER BY b."Id";

-- Query #48427 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99448755-ab71-78fb-9676-bc2b8e035c8b'::uuid])
ORDER BY b."Id";

-- Query #48428 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['99448755-ab71-78fb-9676-bc2b8e035c8b'::uuid])
ORDER BY b."Id";

-- Query #48429 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ade66dab-d81d-66fa-f272-4c553196ea2b'::uuid])
ORDER BY b."Id";

-- Query #48430 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ade66dab-d81d-66fa-f272-4c553196ea2b'::uuid])
ORDER BY b."Id";

-- Query #48431 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85451589-aebf-cce3-d05e-07f38f12ae57'::uuid])
ORDER BY b."Id";

-- Query #48432 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['85451589-aebf-cce3-d05e-07f38f12ae57'::uuid])
ORDER BY b."Id";

-- Query #48433 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e1b96d1-d0ee-6622-507d-3edacc684f37'::uuid])
ORDER BY b."Id";

-- Query #48434 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7e1b96d1-d0ee-6622-507d-3edacc684f37'::uuid])
ORDER BY b."Id";

-- Query #48435 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e3aa9681-de3b-0e1e-4c1d-aebd10176705'::uuid])
ORDER BY b."Id";

-- Query #48436 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e3aa9681-de3b-0e1e-4c1d-aebd10176705'::uuid])
ORDER BY b."Id";

-- Query #48437 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af1bedec-b0eb-3454-4a71-e9cc9c84077f'::uuid])
ORDER BY b."Id";

-- Query #48438 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['af1bedec-b0eb-3454-4a71-e9cc9c84077f'::uuid])
ORDER BY b."Id";

-- Query #48439 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d177830e-7169-f21f-eb7b-de1087c05f91'::uuid])
ORDER BY b."Id";

-- Query #48440 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d177830e-7169-f21f-eb7b-de1087c05f91'::uuid])
ORDER BY b."Id";

-- Query #48441 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['165e7065-8c3a-a74a-1158-c614ef5e80aa'::uuid])
ORDER BY b."Id";

-- Query #48442 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['165e7065-8c3a-a74a-1158-c614ef5e80aa'::uuid])
ORDER BY b."Id";

-- Query #48443 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38a1617e-2814-80aa-703e-4b1f98157b1b'::uuid])
ORDER BY b."Id";

-- Query #48444 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['38a1617e-2814-80aa-703e-4b1f98157b1b'::uuid])
ORDER BY b."Id";

-- Query #48445 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['942194e5-0217-2521-e75e-7bb4c55b0ee0'::uuid])
ORDER BY b."Id";

-- Query #48446 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['942194e5-0217-2521-e75e-7bb4c55b0ee0'::uuid])
ORDER BY b."Id";

-- Query #48447 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8b03f0d-b6d8-d985-2c92-b8922f3b2ef1'::uuid])
ORDER BY b."Id";

-- Query #48448 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8b03f0d-b6d8-d985-2c92-b8922f3b2ef1'::uuid])
ORDER BY b."Id";

-- Query #48449 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcfd3523-988c-92aa-dd2b-bd89bf90157e'::uuid])
ORDER BY b."Id";

-- Query #48450 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dcfd3523-988c-92aa-dd2b-bd89bf90157e'::uuid])
ORDER BY b."Id";

-- Query #48451 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d8e55ac-cacf-eaf6-511f-138155b9654f'::uuid])
ORDER BY b."Id";

-- Query #48452 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7d8e55ac-cacf-eaf6-511f-138155b9654f'::uuid])
ORDER BY b."Id";

-- Query #48453 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fbe72baa-4720-de3d-0827-a96fce4b1c54'::uuid])
ORDER BY b."Id";

-- Query #48454 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fbe72baa-4720-de3d-0827-a96fce4b1c54'::uuid])
ORDER BY b."Id";

-- Query #48455 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4379bd43-14cb-ad39-5ef6-1b6b901d54ed'::uuid])
ORDER BY b."Id";

-- Query #48456 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4379bd43-14cb-ad39-5ef6-1b6b901d54ed'::uuid])
ORDER BY b."Id";

-- Query #48457 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d4d11f21-4869-1368-68b3-aa269fd2c594'::uuid])
ORDER BY b."Id";

-- Query #48458 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d4d11f21-4869-1368-68b3-aa269fd2c594'::uuid])
ORDER BY b."Id";

-- Query #48459 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c20360ab-36b3-81c1-54cb-521622cc1744'::uuid])
ORDER BY b."Id";

-- Query #48460 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c20360ab-36b3-81c1-54cb-521622cc1744'::uuid])
ORDER BY b."Id";

-- Query #48461 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['813baaef-1c55-86f1-d893-dbace22508e7'::uuid])
ORDER BY b."Id";

-- Query #48462 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['813baaef-1c55-86f1-d893-dbace22508e7'::uuid])
ORDER BY b."Id";

-- Query #48463 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d93a0f4-1bbf-ad01-53e7-9e69299e78bd'::uuid])
ORDER BY b."Id";

-- Query #48464 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6d93a0f4-1bbf-ad01-53e7-9e69299e78bd'::uuid])
ORDER BY b."Id";

-- Query #48465 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3980fd86-bed0-3a4d-e17c-d4bd9ccdc7d9'::uuid])
ORDER BY b."Id";

-- Query #48466 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3980fd86-bed0-3a4d-e17c-d4bd9ccdc7d9'::uuid])
ORDER BY b."Id";

-- Query #48467 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab836289-f591-b6cb-008c-57c0d2300572'::uuid])
ORDER BY b."Id";

-- Query #48468 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ab836289-f591-b6cb-008c-57c0d2300572'::uuid])
ORDER BY b."Id";

-- Query #48469 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d7d302c2-0fe1-c1dc-1f8d-c8bbc9d43403'::uuid])
ORDER BY b."Id";

-- Query #48470 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d7d302c2-0fe1-c1dc-1f8d-c8bbc9d43403'::uuid])
ORDER BY b."Id";

-- Query #48471 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa29163c-03fd-1b2d-fdd3-fe017cd7f1ad'::uuid])
ORDER BY b."Id";

-- Query #48472 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fa29163c-03fd-1b2d-fdd3-fe017cd7f1ad'::uuid])
ORDER BY b."Id";

-- Query #48473 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d32b7903-28c2-834a-1fb2-569d355041f6'::uuid])
ORDER BY b."Id";

-- Query #48474 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d32b7903-28c2-834a-1fb2-569d355041f6'::uuid])
ORDER BY b."Id";

-- Query #48475 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8aefbd6e-c6dd-a230-55d9-d4f1c694cf0e'::uuid])
ORDER BY b."Id";

-- Query #48476 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8aefbd6e-c6dd-a230-55d9-d4f1c694cf0e'::uuid])
ORDER BY b."Id";

-- Query #48477 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4dbba905-a070-1a16-c5ad-0a7c3095f18d'::uuid])
ORDER BY b."Id";

-- Query #48478 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4dbba905-a070-1a16-c5ad-0a7c3095f18d'::uuid])
ORDER BY b."Id";

-- Query #48479 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da9ae2e1-076e-5fb3-25bf-68ca47999dac'::uuid])
ORDER BY b."Id";

-- Query #48480 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['da9ae2e1-076e-5fb3-25bf-68ca47999dac'::uuid])
ORDER BY b."Id";

-- Query #48481 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39bee4ae-d332-9c2f-0ad2-37c88d1f271f'::uuid])
ORDER BY b."Id";

-- Query #48482 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39bee4ae-d332-9c2f-0ad2-37c88d1f271f'::uuid])
ORDER BY b."Id";

-- Query #48483 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1621f49d-c8e7-a64f-104c-7285fbb9873e'::uuid])
ORDER BY b."Id";

-- Query #48484 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1621f49d-c8e7-a64f-104c-7285fbb9873e'::uuid])
ORDER BY b."Id";

-- Query #48485 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1cc07f1f-25da-b9f8-4d31-776691f80d2c'::uuid])
ORDER BY b."Id";

-- Query #48486 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1cc07f1f-25da-b9f8-4d31-776691f80d2c'::uuid])
ORDER BY b."Id";

-- Query #48487 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['74c09341-ee4a-8874-43b0-b0fc2dc107f3'::uuid])
ORDER BY b."Id";

-- Query #48488 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['74c09341-ee4a-8874-43b0-b0fc2dc107f3'::uuid])
ORDER BY b."Id";

-- Query #48489 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b980f982-78c8-21a9-2a6a-78dbf0b74233'::uuid])
ORDER BY b."Id";

-- Query #48490 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b980f982-78c8-21a9-2a6a-78dbf0b74233'::uuid])
ORDER BY b."Id";

-- Query #48491 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb659df4-a108-7cdd-f328-9866d0052b1c'::uuid])
ORDER BY b."Id";

-- Query #48492 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eb659df4-a108-7cdd-f328-9866d0052b1c'::uuid])
ORDER BY b."Id";

-- Query #48493 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab633eec-6754-6155-8fc0-25d035ddd1b4'::uuid])
ORDER BY b."Id";

-- Query #48494 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ab633eec-6754-6155-8fc0-25d035ddd1b4'::uuid])
ORDER BY b."Id";

-- Query #48495 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7997b1c2-ef23-b588-3fe2-afbd85450103'::uuid])
ORDER BY b."Id";

-- Query #48496 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7997b1c2-ef23-b588-3fe2-afbd85450103'::uuid])
ORDER BY b."Id";

-- Query #48497 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40679e71-9645-4e21-57b6-031d3883c7df'::uuid])
ORDER BY b."Id";

-- Query #48498 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['40679e71-9645-4e21-57b6-031d3883c7df'::uuid])
ORDER BY b."Id";

-- Query #48499 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b1475ec-f5ed-6cca-4738-15f107312fb4'::uuid])
ORDER BY b."Id";

-- Query #48500 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2b1475ec-f5ed-6cca-4738-15f107312fb4'::uuid])
ORDER BY b."Id";

-- Query #48501 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e36a6ac-3361-0792-f112-a564bf1e51e1'::uuid])
ORDER BY b."Id";

-- Query #48502 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9e36a6ac-3361-0792-f112-a564bf1e51e1'::uuid])
ORDER BY b."Id";

-- Query #48503 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b13190b9-0fd6-f737-a350-f4b5a60837e0'::uuid])
ORDER BY b."Id";

-- Query #48504 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b13190b9-0fd6-f737-a350-f4b5a60837e0'::uuid])
ORDER BY b."Id";

-- Query #48505 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be798b6d-014f-8f64-a0da-a8d112ebe98d'::uuid])
ORDER BY b."Id";

-- Query #48506 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['be798b6d-014f-8f64-a0da-a8d112ebe98d'::uuid])
ORDER BY b."Id";

-- Query #48507 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['272d5a87-92b6-8a40-1443-733575894001'::uuid])
ORDER BY b."Id";

-- Query #48508 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['272d5a87-92b6-8a40-1443-733575894001'::uuid])
ORDER BY b."Id";

-- Query #48509 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['277a847b-1778-ad82-1d76-ac4d69f951bf'::uuid])
ORDER BY b."Id";

-- Query #48510 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['277a847b-1778-ad82-1d76-ac4d69f951bf'::uuid])
ORDER BY b."Id";

-- Query #48511 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c8c14181-95f4-533f-6f2f-2585763d4ea6'::uuid])
ORDER BY b."Id";

-- Query #48512 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c8c14181-95f4-533f-6f2f-2585763d4ea6'::uuid])
ORDER BY b."Id";

-- Query #48513 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['677c8014-7483-1328-61f1-f00eb189b5fd'::uuid])
ORDER BY b."Id";

-- Query #48514 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['677c8014-7483-1328-61f1-f00eb189b5fd'::uuid])
ORDER BY b."Id";

-- Query #48515 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5764f11-b63c-4803-39e2-9fe4d5508419'::uuid])
ORDER BY b."Id";

-- Query #48516 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f5764f11-b63c-4803-39e2-9fe4d5508419'::uuid])
ORDER BY b."Id";

-- Query #48517 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['edb11eb0-77d9-27b1-6db9-2ede253c3e22'::uuid])
ORDER BY b."Id";

-- Query #48518 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['edb11eb0-77d9-27b1-6db9-2ede253c3e22'::uuid])
ORDER BY b."Id";

-- Query #48519 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6111c85d-d590-79a1-284d-ab585091b635'::uuid])
ORDER BY b."Id";

-- Query #48520 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6111c85d-d590-79a1-284d-ab585091b635'::uuid])
ORDER BY b."Id";

-- Query #48521 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['333b2be3-d4ad-049b-d14b-b6712a888951'::uuid])
ORDER BY b."Id";

-- Query #48522 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['333b2be3-d4ad-049b-d14b-b6712a888951'::uuid])
ORDER BY b."Id";

-- Query #48523 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f1f140d-a732-956d-0333-101803dd543f'::uuid])
ORDER BY b."Id";

-- Query #48524 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8f1f140d-a732-956d-0333-101803dd543f'::uuid])
ORDER BY b."Id";

-- Query #48525 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24bb21eb-e211-2622-9a83-c65f9cbd8670'::uuid])
ORDER BY b."Id";

-- Query #48526 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['24bb21eb-e211-2622-9a83-c65f9cbd8670'::uuid])
ORDER BY b."Id";

-- Query #48527 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['477a6cf4-9505-0705-daae-18803aa6ffd4'::uuid])
ORDER BY b."Id";

-- Query #48528 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['477a6cf4-9505-0705-daae-18803aa6ffd4'::uuid])
ORDER BY b."Id";

-- Query #48529 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe493edf-8d26-8aa4-d590-dc34a06edc12'::uuid])
ORDER BY b."Id";

-- Query #48530 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fe493edf-8d26-8aa4-d590-dc34a06edc12'::uuid])
ORDER BY b."Id";

-- Query #48531 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a71740e-24ec-4aef-37a5-6f48364fbafd'::uuid])
ORDER BY b."Id";

-- Query #48532 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4a71740e-24ec-4aef-37a5-6f48364fbafd'::uuid])
ORDER BY b."Id";

-- Query #48533 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9955e4de-5341-7717-135e-51f5f6f83572'::uuid])
ORDER BY b."Id";

-- Query #48534 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9955e4de-5341-7717-135e-51f5f6f83572'::uuid])
ORDER BY b."Id";

-- Query #48535 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4031fce0-4386-2374-2d00-bad1894ed44f'::uuid])
ORDER BY b."Id";

-- Query #48536 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4031fce0-4386-2374-2d00-bad1894ed44f'::uuid])
ORDER BY b."Id";

-- Query #48537 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f276433c-c07a-27b9-72d0-7426ee0336bf'::uuid])
ORDER BY b."Id";

-- Query #48538 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f276433c-c07a-27b9-72d0-7426ee0336bf'::uuid])
ORDER BY b."Id";

-- Query #48539 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7488b501-2cf7-c649-bc33-eaf27166ef6a'::uuid])
ORDER BY b."Id";

-- Query #48540 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7488b501-2cf7-c649-bc33-eaf27166ef6a'::uuid])
ORDER BY b."Id";

-- Query #48541 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1840b11-663d-6983-7859-8c6b50677ad1'::uuid])
ORDER BY b."Id";

-- Query #48542 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b1840b11-663d-6983-7859-8c6b50677ad1'::uuid])
ORDER BY b."Id";

-- Query #48543 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f13f8ff5-2ffe-524b-8980-8dc5e2bca967'::uuid])
ORDER BY b."Id";

-- Query #48544 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f13f8ff5-2ffe-524b-8980-8dc5e2bca967'::uuid])
ORDER BY b."Id";

-- Query #48545 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['27d752cc-fab6-e674-71dd-11d28ddc6ca6'::uuid])
ORDER BY b."Id";

-- Query #48546 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['27d752cc-fab6-e674-71dd-11d28ddc6ca6'::uuid])
ORDER BY b."Id";

-- Query #48547 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['889b2181-e80d-287b-477e-04597c5953c5'::uuid])
ORDER BY b."Id";

-- Query #48548 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['889b2181-e80d-287b-477e-04597c5953c5'::uuid])
ORDER BY b."Id";

-- Query #48549 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8eb0d49a-d5a3-b19e-7fae-047e7f5d7177'::uuid])
ORDER BY b."Id";

-- Query #48550 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8eb0d49a-d5a3-b19e-7fae-047e7f5d7177'::uuid])
ORDER BY b."Id";

-- Query #48551 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['338d44bd-c8dc-bd38-132e-1f4e8a07f763'::uuid])
ORDER BY b."Id";

-- Query #48552 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['338d44bd-c8dc-bd38-132e-1f4e8a07f763'::uuid])
ORDER BY b."Id";

-- Query #48553 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8115955c-608f-6403-a5b5-07746c2931ed'::uuid])
ORDER BY b."Id";

-- Query #48554 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8115955c-608f-6403-a5b5-07746c2931ed'::uuid])
ORDER BY b."Id";

-- Query #48555 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d5b9d54-02b3-45fc-f441-fba9879745a7'::uuid])
ORDER BY b."Id";

-- Query #48556 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3d5b9d54-02b3-45fc-f441-fba9879745a7'::uuid])
ORDER BY b."Id";

-- Query #48557 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6c61fe9-4543-0937-e3bd-1c94dbea9be8'::uuid])
ORDER BY b."Id";

-- Query #48558 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e6c61fe9-4543-0937-e3bd-1c94dbea9be8'::uuid])
ORDER BY b."Id";

-- Query #48559 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4eedc318-f6d4-6ec1-f573-531de6c3f525'::uuid])
ORDER BY b."Id";

-- Query #48560 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4eedc318-f6d4-6ec1-f573-531de6c3f525'::uuid])
ORDER BY b."Id";

-- Query #48561 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ede94064-83f3-fc91-be0f-31935b369e2e'::uuid])
ORDER BY b."Id";

-- Query #48562 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ede94064-83f3-fc91-be0f-31935b369e2e'::uuid])
ORDER BY b."Id";

-- Query #48563 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b7e776c-50bd-7838-c2fe-9e0192c2552f'::uuid])
ORDER BY b."Id";

-- Query #48564 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5b7e776c-50bd-7838-c2fe-9e0192c2552f'::uuid])
ORDER BY b."Id";

-- Query #48565 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e72b668-30c6-06e1-52a2-45426e20c603'::uuid])
ORDER BY b."Id";

-- Query #48566 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8e72b668-30c6-06e1-52a2-45426e20c603'::uuid])
ORDER BY b."Id";

-- Query #48567 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00f2e0d9-419b-10de-b17a-2b141c7e944f'::uuid])
ORDER BY b."Id";

-- Query #48568 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['00f2e0d9-419b-10de-b17a-2b141c7e944f'::uuid])
ORDER BY b."Id";

-- Query #48569 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd0ee55-9c81-76cb-0c44-5dd45c1513a6'::uuid])
ORDER BY b."Id";

-- Query #48570 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd0ee55-9c81-76cb-0c44-5dd45c1513a6'::uuid])
ORDER BY b."Id";

-- Query #48571 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3420147e-4c4f-cbf1-a070-b69594c10732'::uuid])
ORDER BY b."Id";

-- Query #48572 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3420147e-4c4f-cbf1-a070-b69594c10732'::uuid])
ORDER BY b."Id";

-- Query #48573 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0c6fc668-2cfc-4160-559a-5a92ab55883a'::uuid])
ORDER BY b."Id";

-- Query #48574 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0c6fc668-2cfc-4160-559a-5a92ab55883a'::uuid])
ORDER BY b."Id";

-- Query #48575 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d4f85df2-418a-4f30-45f9-11d30dd9f319'::uuid])
ORDER BY b."Id";

-- Query #48576 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d4f85df2-418a-4f30-45f9-11d30dd9f319'::uuid])
ORDER BY b."Id";

-- Query #48577 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['61e10d06-2276-4bd8-8b51-003805916c78'::uuid])
ORDER BY b."Id";

-- Query #48578 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['61e10d06-2276-4bd8-8b51-003805916c78'::uuid])
ORDER BY b."Id";

-- Query #48579 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56541b0c-3406-3aa7-5f86-b3e9079cfffc'::uuid])
ORDER BY b."Id";

-- Query #48580 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['56541b0c-3406-3aa7-5f86-b3e9079cfffc'::uuid])
ORDER BY b."Id";

-- Query #48581 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb7983d5-f935-dde4-9d0a-207121e9129d'::uuid])
ORDER BY b."Id";

-- Query #48582 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cb7983d5-f935-dde4-9d0a-207121e9129d'::uuid])
ORDER BY b."Id";

-- Query #48583 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['946e99ea-04cb-3fee-f73a-49b7d4750640'::uuid])
ORDER BY b."Id";

-- Query #48584 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['946e99ea-04cb-3fee-f73a-49b7d4750640'::uuid])
ORDER BY b."Id";

-- Query #48585 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c2c04e60-925c-724f-7835-164c747a46e9'::uuid])
ORDER BY b."Id";

-- Query #48586 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c2c04e60-925c-724f-7835-164c747a46e9'::uuid])
ORDER BY b."Id";

-- Query #48587 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2504cf7a-6307-7735-2a33-08ed8a65703b'::uuid])
ORDER BY b."Id";

-- Query #48588 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2504cf7a-6307-7735-2a33-08ed8a65703b'::uuid])
ORDER BY b."Id";

-- Query #48589 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72ea8506-7326-7c99-975f-ceb966f335d9'::uuid])
ORDER BY b."Id";

-- Query #48590 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72ea8506-7326-7c99-975f-ceb966f335d9'::uuid])
ORDER BY b."Id";

-- Query #48591 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d15a348-9dcf-2d04-606f-741d9295445e'::uuid])
ORDER BY b."Id";

-- Query #48592 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1d15a348-9dcf-2d04-606f-741d9295445e'::uuid])
ORDER BY b."Id";

-- Query #48593 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5af633e-f297-f65d-7a1f-f99844265907'::uuid])
ORDER BY b."Id";

-- Query #48594 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b5af633e-f297-f65d-7a1f-f99844265907'::uuid])
ORDER BY b."Id";

-- Query #48595 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['47396790-8bf9-10c8-2165-d4620ff55b28'::uuid])
ORDER BY b."Id";

-- Query #48596 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['47396790-8bf9-10c8-2165-d4620ff55b28'::uuid])
ORDER BY b."Id";

-- Query #48597 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ba03b1a-1806-4630-e88e-dff1743b5b6e'::uuid])
ORDER BY b."Id";

-- Query #48598 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3ba03b1a-1806-4630-e88e-dff1743b5b6e'::uuid])
ORDER BY b."Id";

-- Query #48599 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85b3b3ce-b912-2813-35b3-a56fa6668ec8'::uuid])
ORDER BY b."Id";

-- Query #48600 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['85b3b3ce-b912-2813-35b3-a56fa6668ec8'::uuid])
ORDER BY b."Id";

-- Query #48601 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3b6c339-acee-394d-b199-785a666f52e6'::uuid])
ORDER BY b."Id";

-- Query #48602 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d3b6c339-acee-394d-b199-785a666f52e6'::uuid])
ORDER BY b."Id";

-- Query #48603 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5ea1e76-1e1c-fa22-b282-145f1e1b5b5c'::uuid])
ORDER BY b."Id";

-- Query #48604 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e5ea1e76-1e1c-fa22-b282-145f1e1b5b5c'::uuid])
ORDER BY b."Id";

-- Query #48605 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20ac531d-d341-89d1-a819-e89f2f1e9af9'::uuid])
ORDER BY b."Id";

-- Query #48606 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['20ac531d-d341-89d1-a819-e89f2f1e9af9'::uuid])
ORDER BY b."Id";

-- Query #48607 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f286e5ac-633f-1182-0f8a-a8e8633bdea2'::uuid])
ORDER BY b."Id";

-- Query #48608 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f286e5ac-633f-1182-0f8a-a8e8633bdea2'::uuid])
ORDER BY b."Id";

-- Query #48609 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3cbb32ea-45f0-b962-46cc-58a2d9bf9258'::uuid])
ORDER BY b."Id";

-- Query #48610 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3cbb32ea-45f0-b962-46cc-58a2d9bf9258'::uuid])
ORDER BY b."Id";

-- Query #48611 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['16b019c6-5119-b6cc-2a74-88afbf119560'::uuid])
ORDER BY b."Id";

-- Query #48612 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['16b019c6-5119-b6cc-2a74-88afbf119560'::uuid])
ORDER BY b."Id";

-- Query #48613 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['45f1f05e-b683-2917-9243-fb789f5f0b29'::uuid])
ORDER BY b."Id";

-- Query #48614 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['45f1f05e-b683-2917-9243-fb789f5f0b29'::uuid])
ORDER BY b."Id";

-- Query #48615 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #48616 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82fae59e-df8c-2278-16f1-5add050e2aa1'::uuid])
ORDER BY b."Id";

-- Query #48617 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['82fae59e-df8c-2278-16f1-5add050e2aa1'::uuid])
ORDER BY b."Id";

-- Query #48618 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1b2970a-ec17-5cda-1bb7-10b38a33e765'::uuid])
ORDER BY b."Id";

-- Query #48619 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d1b2970a-ec17-5cda-1bb7-10b38a33e765'::uuid])
ORDER BY b."Id";

-- Query #48620 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a500cb1c-1303-b38e-68b7-3d8eacf268e1'::uuid])
ORDER BY b."Id";

-- Query #48621 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a500cb1c-1303-b38e-68b7-3d8eacf268e1'::uuid])
ORDER BY b."Id";

-- Query #48622 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ef96ce-90ba-3f6f-b691-0fd1f0dc9afd'::uuid])
ORDER BY b."Id";

-- Query #48623 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b7ef96ce-90ba-3f6f-b691-0fd1f0dc9afd'::uuid])
ORDER BY b."Id";

-- Query #48624 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c68206b0-3142-84b6-b891-e72a4e9c86d7'::uuid])
ORDER BY b."Id";

-- Query #48625 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c68206b0-3142-84b6-b891-e72a4e9c86d7'::uuid])
ORDER BY b."Id";

-- Query #48626 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a777a816-1311-69e9-5416-9882b2e4b882'::uuid])
ORDER BY b."Id";

-- Query #48627 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a777a816-1311-69e9-5416-9882b2e4b882'::uuid])
ORDER BY b."Id";

-- Query #48628 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bae3f312-773b-c2f1-4113-417ee11e4664'::uuid])
ORDER BY b."Id";

-- Query #48629 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bae3f312-773b-c2f1-4113-417ee11e4664'::uuid])
ORDER BY b."Id";

-- Query #48630 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795a8d5e-cad4-6b23-91e4-b2c034290577'::uuid])
ORDER BY b."Id";

-- Query #48631 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['795a8d5e-cad4-6b23-91e4-b2c034290577'::uuid])
ORDER BY b."Id";

-- Query #48632 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a4c529b-d460-105b-2ee9-2ea4c9ecba29'::uuid])
ORDER BY b."Id";

-- Query #48633 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4a4c529b-d460-105b-2ee9-2ea4c9ecba29'::uuid])
ORDER BY b."Id";

-- Query #48634 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b87f5704-5d82-91f8-998f-0cccdef7520b'::uuid])
ORDER BY b."Id";

-- Query #48635 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b87f5704-5d82-91f8-998f-0cccdef7520b'::uuid])
ORDER BY b."Id";

-- Query #48636 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30605e64-3e9a-ad7e-4126-4900bccf32a8'::uuid])
ORDER BY b."Id";

-- Query #48637 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['30605e64-3e9a-ad7e-4126-4900bccf32a8'::uuid])
ORDER BY b."Id";

-- Query #48638 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d074e23b-23de-f6d3-3832-5212d08609ab'::uuid])
ORDER BY b."Id";

-- Query #48639 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d074e23b-23de-f6d3-3832-5212d08609ab'::uuid])
ORDER BY b."Id";

-- Query #48640 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7763c9c5-7e7f-ef7e-f1de-154adb51401d'::uuid])
ORDER BY b."Id";

-- Query #48641 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7763c9c5-7e7f-ef7e-f1de-154adb51401d'::uuid])
ORDER BY b."Id";

-- Query #48642 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['348d0aa0-0c81-e42e-9c1f-87e45dacfa4a'::uuid])
ORDER BY b."Id";

-- Query #48643 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['348d0aa0-0c81-e42e-9c1f-87e45dacfa4a'::uuid])
ORDER BY b."Id";

-- Query #48644 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['246c9407-37d8-1f0f-5bd2-8c0bd282cdb7'::uuid])
ORDER BY b."Id";

-- Query #48645 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['246c9407-37d8-1f0f-5bd2-8c0bd282cdb7'::uuid])
ORDER BY b."Id";

-- Query #48646 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d1049a8-acfc-9d50-6902-444219ae25a3'::uuid])
ORDER BY b."Id";

-- Query #48647 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0d1049a8-acfc-9d50-6902-444219ae25a3'::uuid])
ORDER BY b."Id";

-- Query #48648 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7174c641-6905-e548-e4d2-5c5b72bd4975'::uuid])
ORDER BY b."Id";

-- Query #48649 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7174c641-6905-e548-e4d2-5c5b72bd4975'::uuid])
ORDER BY b."Id";

-- Query #48650 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80f1d90a-d976-b247-dcef-d1ccbe8fba66'::uuid])
ORDER BY b."Id";

-- Query #48651 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['80f1d90a-d976-b247-dcef-d1ccbe8fba66'::uuid])
ORDER BY b."Id";

-- Query #48652 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a27f6bed-d8cd-6a11-6c6f-4a906a2208ce'::uuid])
ORDER BY b."Id";

-- Query #48653 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a27f6bed-d8cd-6a11-6c6f-4a906a2208ce'::uuid])
ORDER BY b."Id";

-- Query #48654 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d9b0e73f-468c-75bf-b102-7cfc0316e95d'::uuid])
ORDER BY b."Id";

-- Query #48655 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d9b0e73f-468c-75bf-b102-7cfc0316e95d'::uuid])
ORDER BY b."Id";

-- Query #48656 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['27335311-df64-d777-8666-177fe49c207c'::uuid])
ORDER BY b."Id";

-- Query #48657 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['27335311-df64-d777-8666-177fe49c207c'::uuid])
ORDER BY b."Id";

-- Query #48658 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3ba9a09-6cf9-c55a-b606-453f0da5fb74'::uuid])
ORDER BY b."Id";

-- Query #48659 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d3ba9a09-6cf9-c55a-b606-453f0da5fb74'::uuid])
ORDER BY b."Id";

-- Query #48660 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf3adc32-8f91-13a6-7a5d-f94186afdfe6'::uuid])
ORDER BY b."Id";

-- Query #48661 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bf3adc32-8f91-13a6-7a5d-f94186afdfe6'::uuid])
ORDER BY b."Id";

-- Query #48662 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['970cb129-baaa-9fb2-0d8f-54507dea72c4'::uuid])
ORDER BY b."Id";

-- Query #48663 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['970cb129-baaa-9fb2-0d8f-54507dea72c4'::uuid])
ORDER BY b."Id";

-- Query #48664 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f75efd3-ddb6-67a6-e02c-6101d9cd9fc0'::uuid])
ORDER BY b."Id";

-- Query #48665 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4f75efd3-ddb6-67a6-e02c-6101d9cd9fc0'::uuid])
ORDER BY b."Id";

-- Query #48666 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a595f9bf-d077-f101-be53-b12f7729186e'::uuid])
ORDER BY b."Id";

-- Query #48667 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a595f9bf-d077-f101-be53-b12f7729186e'::uuid])
ORDER BY b."Id";

-- Query #48668 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fdb50e2-336e-6cad-641d-1941f84093ba'::uuid])
ORDER BY b."Id";

-- Query #48669 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6fdb50e2-336e-6cad-641d-1941f84093ba'::uuid])
ORDER BY b."Id";

-- Query #48670 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['988e890e-2fd2-412f-1f3f-cd18c26bada8'::uuid])
ORDER BY b."Id";

-- Query #48671 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['988e890e-2fd2-412f-1f3f-cd18c26bada8'::uuid])
ORDER BY b."Id";

-- Query #48672 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4e51e43-71de-cef5-a982-9f632e9e19ed'::uuid])
ORDER BY b."Id";

-- Query #48673 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f4e51e43-71de-cef5-a982-9f632e9e19ed'::uuid])
ORDER BY b."Id";

-- Query #48674 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb5721af-6b5d-a020-32ff-92db26d1f5d7'::uuid])
ORDER BY b."Id";

-- Query #48675 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eb5721af-6b5d-a020-32ff-92db26d1f5d7'::uuid])
ORDER BY b."Id";

-- Query #48676 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78aa6841-c671-35b8-053d-04f5d762e227'::uuid])
ORDER BY b."Id";

-- Query #48677 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['78aa6841-c671-35b8-053d-04f5d762e227'::uuid])
ORDER BY b."Id";

-- Query #48678 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10565359-390c-804b-98c6-18def6f26ef6'::uuid])
ORDER BY b."Id";

-- Query #48679 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['10565359-390c-804b-98c6-18def6f26ef6'::uuid])
ORDER BY b."Id";

-- Query #48680 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fecaeb1a-fe1c-cf48-494e-08f3d78a6f66'::uuid])
ORDER BY b."Id";

-- Query #48681 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fecaeb1a-fe1c-cf48-494e-08f3d78a6f66'::uuid])
ORDER BY b."Id";

-- Query #48682 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9509417-b220-255f-a791-9bc0e5654900'::uuid])
ORDER BY b."Id";

-- Query #48683 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f9509417-b220-255f-a791-9bc0e5654900'::uuid])
ORDER BY b."Id";

-- Query #48684 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4313ee31-902c-279c-8086-58d15ad3ff71'::uuid])
ORDER BY b."Id";

-- Query #48685 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4313ee31-902c-279c-8086-58d15ad3ff71'::uuid])
ORDER BY b."Id";

-- Query #48686 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6720a5d1-2b17-7549-1cca-14edabd53ea0'::uuid])
ORDER BY b."Id";

-- Query #48687 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6720a5d1-2b17-7549-1cca-14edabd53ea0'::uuid])
ORDER BY b."Id";

-- Query #48688 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4196071e-ce9d-ccd2-fa50-a64af7cc13df'::uuid])
ORDER BY b."Id";

-- Query #48689 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4196071e-ce9d-ccd2-fa50-a64af7cc13df'::uuid])
ORDER BY b."Id";

-- Query #48690 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bc22edad-02fc-b147-5380-e7972adbb1b9'::uuid])
ORDER BY b."Id";

-- Query #48691 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bc22edad-02fc-b147-5380-e7972adbb1b9'::uuid])
ORDER BY b."Id";

-- Query #48692 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48a3f4ab-31bc-014a-5362-99b39df21460'::uuid])
ORDER BY b."Id";

-- Query #48693 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['48a3f4ab-31bc-014a-5362-99b39df21460'::uuid])
ORDER BY b."Id";

-- Query #48694 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['225427e2-c107-051a-9afe-4643c0bec4b1'::uuid])
ORDER BY b."Id";

-- Query #48695 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['225427e2-c107-051a-9afe-4643c0bec4b1'::uuid])
ORDER BY b."Id";

-- Query #48696 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d7378095-7da2-9639-f51d-ea731123edfd'::uuid])
ORDER BY b."Id";

-- Query #48697 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d7378095-7da2-9639-f51d-ea731123edfd'::uuid])
ORDER BY b."Id";

-- Query #48698 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42d7f9f0-a75b-9a17-26f5-5afedc5fb3ed'::uuid])
ORDER BY b."Id";

-- Query #48699 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['42d7f9f0-a75b-9a17-26f5-5afedc5fb3ed'::uuid])
ORDER BY b."Id";

-- Query #48700 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2122f349-52c1-defc-abc9-6f87c47ce059'::uuid])
ORDER BY b."Id";

-- Query #48701 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2122f349-52c1-defc-abc9-6f87c47ce059'::uuid])
ORDER BY b."Id";

-- Query #48702 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0da2ea50-f4b4-11bd-7ad8-86a20b6d3e88'::uuid])
ORDER BY b."Id";

-- Query #48703 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0da2ea50-f4b4-11bd-7ad8-86a20b6d3e88'::uuid])
ORDER BY b."Id";

-- Query #48704 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06b17093-12e2-e247-22bd-0fc1de27f67e'::uuid])
ORDER BY b."Id";

-- Query #48705 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['06b17093-12e2-e247-22bd-0fc1de27f67e'::uuid])
ORDER BY b."Id";

-- Query #48706 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab556e04-8b58-a5c8-6a87-45eb647bc65e'::uuid])
ORDER BY b."Id";

-- Query #48707 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ab556e04-8b58-a5c8-6a87-45eb647bc65e'::uuid])
ORDER BY b."Id";

-- Query #48708 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3840fbfc-52f6-be65-a4e8-4c7a95e053f9'::uuid])
ORDER BY b."Id";

-- Query #48709 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3840fbfc-52f6-be65-a4e8-4c7a95e053f9'::uuid])
ORDER BY b."Id";

-- Query #48710 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3f39bb6b-91c1-c759-b48b-9395f468ce6e'::uuid])
ORDER BY b."Id";

-- Query #48711 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3f39bb6b-91c1-c759-b48b-9395f468ce6e'::uuid])
ORDER BY b."Id";

-- Query #48712 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c800e39-ba47-ee08-aad9-92c0728bb11f'::uuid])
ORDER BY b."Id";

-- Query #48713 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5c800e39-ba47-ee08-aad9-92c0728bb11f'::uuid])
ORDER BY b."Id";

-- Query #48714 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d6c04685-cbef-023f-0ab5-ff144db63071'::uuid])
ORDER BY b."Id";

-- Query #48715 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d6c04685-cbef-023f-0ab5-ff144db63071'::uuid])
ORDER BY b."Id";

-- Query #48716 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['650d3901-d4ce-00c2-07b3-b1d93120126d'::uuid])
ORDER BY b."Id";

-- Query #48717 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['650d3901-d4ce-00c2-07b3-b1d93120126d'::uuid])
ORDER BY b."Id";

-- Query #48718 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6730089b-3034-2527-6438-1ffc6dfb3e8b'::uuid])
ORDER BY b."Id";

-- Query #48719 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6730089b-3034-2527-6438-1ffc6dfb3e8b'::uuid])
ORDER BY b."Id";

-- Query #48720 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['16afe448-b03c-456f-e145-2b042399119a'::uuid])
ORDER BY b."Id";

-- Query #48721 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['16afe448-b03c-456f-e145-2b042399119a'::uuid])
ORDER BY b."Id";

-- Query #48722 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d34ca8f9-4bf3-223c-5c39-2fd41dc0a49e'::uuid])
ORDER BY b."Id";

-- Query #48723 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d34ca8f9-4bf3-223c-5c39-2fd41dc0a49e'::uuid])
ORDER BY b."Id";

-- Query #48724 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f26f3573-b07e-3c0e-046a-6839ce8c8e1c'::uuid])
ORDER BY b."Id";

-- Query #48725 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f26f3573-b07e-3c0e-046a-6839ce8c8e1c'::uuid])
ORDER BY b."Id";

-- Query #48726 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a1ebd161-1b68-e26f-01e7-73cbc199d406'::uuid])
ORDER BY b."Id";

-- Query #48727 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a1ebd161-1b68-e26f-01e7-73cbc199d406'::uuid])
ORDER BY b."Id";

-- Query #48728 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f16f932a-1126-0fc3-d84b-2e94bce45fa0'::uuid])
ORDER BY b."Id";

-- Query #48729 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f16f932a-1126-0fc3-d84b-2e94bce45fa0'::uuid])
ORDER BY b."Id";

-- Query #48730 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46b55330-e068-e167-8452-7a23f67d8366'::uuid])
ORDER BY b."Id";

-- Query #48731 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['46b55330-e068-e167-8452-7a23f67d8366'::uuid])
ORDER BY b."Id";

-- Query #48732 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['81d244bb-0288-1b0b-4f7f-9dda1c03d893'::uuid])
ORDER BY b."Id";

-- Query #48733 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['81d244bb-0288-1b0b-4f7f-9dda1c03d893'::uuid])
ORDER BY b."Id";

-- Query #48734 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8504098-172b-223e-aa7a-06a24801a66e'::uuid])
ORDER BY b."Id";

-- Query #48735 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a8504098-172b-223e-aa7a-06a24801a66e'::uuid])
ORDER BY b."Id";

-- Query #48736 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11cdcb6a-ae7e-f014-aac3-3589c0c4631b'::uuid])
ORDER BY b."Id";

-- Query #48737 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['11cdcb6a-ae7e-f014-aac3-3589c0c4631b'::uuid])
ORDER BY b."Id";

-- Query #48738 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4469e0ee-8794-1795-bb64-f1a9c26993e0'::uuid])
ORDER BY b."Id";

-- Query #48739 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4469e0ee-8794-1795-bb64-f1a9c26993e0'::uuid])
ORDER BY b."Id";

-- Query #48740 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a4d0d51-e2be-9821-d04e-ca2f8eb8ea43'::uuid])
ORDER BY b."Id";

-- Query #48741 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6a4d0d51-e2be-9821-d04e-ca2f8eb8ea43'::uuid])
ORDER BY b."Id";

-- Query #48742 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13b33bb8-1094-595b-3f7e-cdaaccfd9793'::uuid])
ORDER BY b."Id";

-- Query #48743 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['13b33bb8-1094-595b-3f7e-cdaaccfd9793'::uuid])
ORDER BY b."Id";

-- Query #48744 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid])
ORDER BY b."Id";

-- Query #48745 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid])
ORDER BY b."Id";

-- Query #48746 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid])
ORDER BY b."Id";

-- Query #48747 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['048daa9d-0345-62e6-cdff-288267bdfd30'::uuid])
ORDER BY b."Id";

-- Query #48748 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['048daa9d-0345-62e6-cdff-288267bdfd30'::uuid])
ORDER BY b."Id";

-- Query #48749 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid])
ORDER BY b."Id";

-- Query #48750 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid])
ORDER BY b."Id";

-- Query #48751 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid])
ORDER BY b."Id";

-- Query #48752 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c24d42a4-bfb3-954e-c7d0-05f15997d979'::uuid])
ORDER BY b."Id";

-- Query #48753 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c24d42a4-bfb3-954e-c7d0-05f15997d979'::uuid])
ORDER BY b."Id";

-- Query #48754 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad638727-f053-df80-8a63-e965681fc5c1'::uuid])
ORDER BY b."Id";

-- Query #48755 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ad638727-f053-df80-8a63-e965681fc5c1'::uuid])
ORDER BY b."Id";

-- Query #48756 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['57b334a1-5ff7-d0cf-ac14-723d389fbc3a'::uuid])
ORDER BY b."Id";

-- Query #48757 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['57b334a1-5ff7-d0cf-ac14-723d389fbc3a'::uuid])
ORDER BY b."Id";

-- Query #48758 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bfa2fc7d-9169-ea0c-0525-e290bc9fd928'::uuid])
ORDER BY b."Id";

-- Query #48759 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bfa2fc7d-9169-ea0c-0525-e290bc9fd928'::uuid])
ORDER BY b."Id";

-- Query #48760 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #48761 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #48762 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ff89436-4807-b4cb-6d15-067ae482e8b2'::uuid])
ORDER BY b."Id";

-- Query #48763 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ff89436-4807-b4cb-6d15-067ae482e8b2'::uuid])
ORDER BY b."Id";

-- Query #48764 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c01feadc-d92a-97cb-4f20-a6d9a4b9bf5e'::uuid])
ORDER BY b."Id";

-- Query #48765 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c01feadc-d92a-97cb-4f20-a6d9a4b9bf5e'::uuid])
ORDER BY b."Id";

-- Query #48766 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['91e008cb-c3fe-1cfb-e21a-991486b37a72'::uuid])
ORDER BY b."Id";

-- Query #48767 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['91e008cb-c3fe-1cfb-e21a-991486b37a72'::uuid])
ORDER BY b."Id";

-- Query #48768 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['89fdd5ce-6409-a69a-1354-4b3d36645c9c'::uuid])
ORDER BY b."Id";

-- Query #48769 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['89fdd5ce-6409-a69a-1354-4b3d36645c9c'::uuid])
ORDER BY b."Id";

-- Query #48770 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d852fabf-ed45-3b39-cc73-ffe58cd056c0'::uuid])
ORDER BY b."Id";

-- Query #48771 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d852fabf-ed45-3b39-cc73-ffe58cd056c0'::uuid])
ORDER BY b."Id";

-- Query #48772 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #48773 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #48774 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58e5a194-4d05-3787-66da-5e3d677f344d'::uuid])
ORDER BY b."Id";

-- Query #48775 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['58e5a194-4d05-3787-66da-5e3d677f344d'::uuid])
ORDER BY b."Id";

-- Query #48776 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid])
ORDER BY b."Id";

-- Query #48777 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid])
ORDER BY b."Id";

-- Query #48778 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid])
ORDER BY b."Id";

-- Query #48779 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f697a888-94d2-9740-2219-071df06cb2de'::uuid])
ORDER BY b."Id";

-- Query #48780 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f697a888-94d2-9740-2219-071df06cb2de'::uuid])
ORDER BY b."Id";

-- Query #48781 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c886bf3e-0636-1ae5-dba4-b8479ddb1fb4'::uuid])
ORDER BY b."Id";

-- Query #48782 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c886bf3e-0636-1ae5-dba4-b8479ddb1fb4'::uuid])
ORDER BY b."Id";

-- Query #48783 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90b14806-5faa-7dba-5cce-b5cddad164e1'::uuid])
ORDER BY b."Id";

-- Query #48784 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['90b14806-5faa-7dba-5cce-b5cddad164e1'::uuid])
ORDER BY b."Id";

-- Query #48785 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['353bdd4a-be08-eb27-1adb-b58670610240'::uuid])
ORDER BY b."Id";

-- Query #48786 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['353bdd4a-be08-eb27-1adb-b58670610240'::uuid])
ORDER BY b."Id";

-- Query #48787 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['246cb985-2e1a-1988-b54c-b64bb3a7550a'::uuid])
ORDER BY b."Id";

-- Query #48788 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['246cb985-2e1a-1988-b54c-b64bb3a7550a'::uuid])
ORDER BY b."Id";

-- Query #48789 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid])
ORDER BY b."Id";

-- Query #48790 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid])
ORDER BY b."Id";

-- Query #48791 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid])
ORDER BY b."Id";

-- Query #48792 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0880b39e-c0e1-1f04-ac0d-d1eca4eff409'::uuid])
ORDER BY b."Id";

-- Query #48793 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0880b39e-c0e1-1f04-ac0d-d1eca4eff409'::uuid])
ORDER BY b."Id";

-- Query #48794 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid])
ORDER BY b."Id";

-- Query #48795 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid])
ORDER BY b."Id";

-- Query #48796 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid])
ORDER BY b."Id";

-- Query #48797 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5fdcdbf5-2b89-a90f-5aef-a3b99587fed8'::uuid])
ORDER BY b."Id";

-- Query #48798 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5fdcdbf5-2b89-a90f-5aef-a3b99587fed8'::uuid])
ORDER BY b."Id";

-- Query #48799 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3f8ac6c2-7ecd-a48c-0312-18739a59270a'::uuid])
ORDER BY b."Id";

-- Query #48800 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3f8ac6c2-7ecd-a48c-0312-18739a59270a'::uuid])
ORDER BY b."Id";

-- Query #48801 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5a120425-c496-7e6a-d024-fb1786032e69'::uuid])
ORDER BY b."Id";

-- Query #48802 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5a120425-c496-7e6a-d024-fb1786032e69'::uuid])
ORDER BY b."Id";

-- Query #48803 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d8cd58e8-4664-5299-274e-fd356ae5e2cd'::uuid])
ORDER BY b."Id";

-- Query #48804 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d8cd58e8-4664-5299-274e-fd356ae5e2cd'::uuid])
ORDER BY b."Id";

-- Query #48805 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e0dec68-943f-86ce-7d45-1cdf64378749'::uuid])
ORDER BY b."Id";

-- Query #48806 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8e0dec68-943f-86ce-7d45-1cdf64378749'::uuid])
ORDER BY b."Id";

-- Query #48807 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4882a658-970f-3705-dda4-eee08e2642c2'::uuid])
ORDER BY b."Id";

-- Query #48808 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4882a658-970f-3705-dda4-eee08e2642c2'::uuid])
ORDER BY b."Id";

-- Query #48809 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5331f2b-e1bd-0e22-ae89-44e3f5201b3a'::uuid])
ORDER BY b."Id";

-- Query #48810 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b5331f2b-e1bd-0e22-ae89-44e3f5201b3a'::uuid])
ORDER BY b."Id";

-- Query #48811 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efd921e5-fc93-d652-5983-65cd6765508d'::uuid])
ORDER BY b."Id";

-- Query #48812 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['efd921e5-fc93-d652-5983-65cd6765508d'::uuid])
ORDER BY b."Id";

-- Query #48813 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #48814 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1aa9920e-044c-e412-606a-9f7057fa2d4c'::uuid])
ORDER BY b."Id";

-- Query #48815 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1aa9920e-044c-e412-606a-9f7057fa2d4c'::uuid])
ORDER BY b."Id";

-- Query #48816 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid])
ORDER BY b."Id";

-- Query #48817 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid])
ORDER BY b."Id";

-- Query #48818 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid])
ORDER BY b."Id";

-- Query #48819 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['370aaae1-482f-4b1a-f24a-c6c9269b29f8'::uuid])
ORDER BY b."Id";

-- Query #48820 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['370aaae1-482f-4b1a-f24a-c6c9269b29f8'::uuid])
ORDER BY b."Id";

-- Query #48821 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fdda97db-bb72-a1e5-e7a6-9e10d9662152'::uuid])
ORDER BY b."Id";

-- Query #48822 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fdda97db-bb72-a1e5-e7a6-9e10d9662152'::uuid])
ORDER BY b."Id";

-- Query #48823 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07cfcadb-4b69-65ac-5c11-db7ce84dc693'::uuid])
ORDER BY b."Id";

-- Query #48824 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['07cfcadb-4b69-65ac-5c11-db7ce84dc693'::uuid])
ORDER BY b."Id";

-- Query #48825 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3b1d272-e873-76aa-58ee-c5b9d415f196'::uuid])
ORDER BY b."Id";

-- Query #48826 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c3b1d272-e873-76aa-58ee-c5b9d415f196'::uuid])
ORDER BY b."Id";

-- Query #48827 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['83a00e27-6832-5189-d6aa-2fb03c1cfc45'::uuid])
ORDER BY b."Id";

-- Query #48828 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['83a00e27-6832-5189-d6aa-2fb03c1cfc45'::uuid])
ORDER BY b."Id";

-- Query #48829 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cfc6429-50c5-6adf-9893-2271e371923a'::uuid])
ORDER BY b."Id";

-- Query #48830 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9cfc6429-50c5-6adf-9893-2271e371923a'::uuid])
ORDER BY b."Id";

-- Query #48831 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #48832 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #48833 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #48834 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d40a5522-61d3-2fd9-6d61-c8809fc40bbe'::uuid])
ORDER BY b."Id";

-- Query #48835 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d40a5522-61d3-2fd9-6d61-c8809fc40bbe'::uuid])
ORDER BY b."Id";

-- Query #48836 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['747d96ba-fd8e-3b8d-254c-85b4e73686ee'::uuid])
ORDER BY b."Id";

-- Query #48837 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['747d96ba-fd8e-3b8d-254c-85b4e73686ee'::uuid])
ORDER BY b."Id";

-- Query #48838 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ac1f597-d4f4-a0f8-54a9-84cffd1e25ff'::uuid])
ORDER BY b."Id";

-- Query #48839 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ac1f597-d4f4-a0f8-54a9-84cffd1e25ff'::uuid])
ORDER BY b."Id";

-- Query #48840 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #48841 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #48842 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #48843 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0999d222-b41b-f75d-c06a-1f8ab84f9d60'::uuid])
ORDER BY b."Id";

-- Query #48844 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0999d222-b41b-f75d-c06a-1f8ab84f9d60'::uuid])
ORDER BY b."Id";

-- Query #48845 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid])
ORDER BY b."Id";

-- Query #48846 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid])
ORDER BY b."Id";

-- Query #48847 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid])
ORDER BY b."Id";

-- Query #48848 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38666da5-1af8-d2aa-f5b2-b984753aeb29'::uuid])
ORDER BY b."Id";

-- Query #48849 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['38666da5-1af8-d2aa-f5b2-b984753aeb29'::uuid])
ORDER BY b."Id";

-- Query #48850 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a7828a87-6279-b229-5dc1-15d2db505402'::uuid])
ORDER BY b."Id";

-- Query #48851 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a7828a87-6279-b229-5dc1-15d2db505402'::uuid])
ORDER BY b."Id";

-- Query #48852 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #48853 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #48854 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #48855 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d9474a16-f843-eff4-849a-dfc72381f571'::uuid])
ORDER BY b."Id";

-- Query #48856 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d9474a16-f843-eff4-849a-dfc72381f571'::uuid])
ORDER BY b."Id";

-- Query #48857 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['482e5cf7-033c-445a-00c8-77d119afaf74'::uuid])
ORDER BY b."Id";

-- Query #48858 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['482e5cf7-033c-445a-00c8-77d119afaf74'::uuid])
ORDER BY b."Id";

-- Query #48859 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc71f03e-d8c6-b808-fd47-3adfd33fc564'::uuid])
ORDER BY b."Id";

-- Query #48860 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cc71f03e-d8c6-b808-fd47-3adfd33fc564'::uuid])
ORDER BY b."Id";

-- Query #48861 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4c86c9e-c013-42ff-8028-9dce680d4099'::uuid])
ORDER BY b."Id";

-- Query #48862 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f4c86c9e-c013-42ff-8028-9dce680d4099'::uuid])
ORDER BY b."Id";

-- Query #48863 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f4c86c9e-c013-42ff-8028-9dce680d4099'::uuid])
ORDER BY b."Id";

-- Query #48864 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['08b9fb77-b6c9-3b6a-7f34-cc8a8671d2bb'::uuid])
ORDER BY b."Id";

-- Query #48865 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['08b9fb77-b6c9-3b6a-7f34-cc8a8671d2bb'::uuid])
ORDER BY b."Id";

-- Query #48866 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a05af6a-af19-372f-39cc-8f1e936e5506'::uuid])
ORDER BY b."Id";

-- Query #48867 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8a05af6a-af19-372f-39cc-8f1e936e5506'::uuid])
ORDER BY b."Id";

-- Query #48868 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ba05b03-473f-4a35-e594-0bd7de94b2a7'::uuid])
ORDER BY b."Id";

-- Query #48869 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4ba05b03-473f-4a35-e594-0bd7de94b2a7'::uuid])
ORDER BY b."Id";

-- Query #48870 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5946369e-1746-462f-27aa-7907788540b2'::uuid])
ORDER BY b."Id";

-- Query #48871 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5946369e-1746-462f-27aa-7907788540b2'::uuid])
ORDER BY b."Id";

-- Query #48872 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e47cc01b-8078-c957-11b2-51dbffe4f641'::uuid])
ORDER BY b."Id";

-- Query #48873 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e47cc01b-8078-c957-11b2-51dbffe4f641'::uuid])
ORDER BY b."Id";

-- Query #48874 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['921f2fb2-3828-3738-2a0b-4850f63d6aca'::uuid])
ORDER BY b."Id";

-- Query #48875 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['921f2fb2-3828-3738-2a0b-4850f63d6aca'::uuid])
ORDER BY b."Id";

-- Query #48876 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['52b66c54-fb7d-be37-cf9c-ebafbccea776'::uuid])
ORDER BY b."Id";

-- Query #48877 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['52b66c54-fb7d-be37-cf9c-ebafbccea776'::uuid])
ORDER BY b."Id";

-- Query #48878 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3732ef72-031c-e9de-f94f-31583e3704e6'::uuid])
ORDER BY b."Id";

-- Query #48879 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3732ef72-031c-e9de-f94f-31583e3704e6'::uuid])
ORDER BY b."Id";

-- Query #48880 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['31f63440-3e66-0d03-8e48-af685fa13bbe'::uuid])
ORDER BY b."Id";

-- Query #48881 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['31f63440-3e66-0d03-8e48-af685fa13bbe'::uuid])
ORDER BY b."Id";

-- Query #48882 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid])
ORDER BY b."Id";

-- Query #48883 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid])
ORDER BY b."Id";

-- Query #48884 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid])
ORDER BY b."Id";

-- Query #48885 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0899e7ce-790a-4bfd-599d-cd3e8270035d'::uuid])
ORDER BY b."Id";

-- Query #48886 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0899e7ce-790a-4bfd-599d-cd3e8270035d'::uuid])
ORDER BY b."Id";

-- Query #48887 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid])
ORDER BY b."Id";

-- Query #48888 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid])
ORDER BY b."Id";

-- Query #48889 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid])
ORDER BY b."Id";

-- Query #48890 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid])
ORDER BY b."Id";

-- Query #48891 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid])
ORDER BY b."Id";

-- Query #48892 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #48893 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #48894 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #48895 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9a7de40-e267-9e03-dd24-d9655b3cfff3'::uuid])
ORDER BY b."Id";

-- Query #48896 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9a7de40-e267-9e03-dd24-d9655b3cfff3'::uuid])
ORDER BY b."Id";

-- Query #48897 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid
ORDER BY m."StreamIndex";

-- Query #48898 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #48899 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #48900 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid
ORDER BY m."StreamIndex";

-- Query #48901 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #48902 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #48903 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #48904 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #48905 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #48906 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #48907 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #48908 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #48909 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid
ORDER BY m."StreamIndex";

-- Query #48910 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid;

-- Query #48911 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid;

-- Query #48912 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid
ORDER BY m."StreamIndex";

-- Query #48913 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid;

-- Query #48914 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid;

-- Query #48915 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid
ORDER BY m."StreamIndex";

-- Query #48916 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid;

-- Query #48917 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid;

-- Query #48918 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid
ORDER BY m."StreamIndex";

-- Query #48919 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid;

-- Query #48920 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid;

-- Query #48921 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid
ORDER BY m."StreamIndex";

-- Query #48922 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid;

-- Query #48923 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid;

-- Query #48924 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid
ORDER BY m."StreamIndex";

-- Query #48925 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid;

-- Query #48926 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid;

-- Query #48927 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid
ORDER BY m."StreamIndex";

-- Query #48928 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid;

-- Query #48929 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid;

-- Query #48930 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid
ORDER BY m."StreamIndex";

-- Query #48931 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid;

-- Query #48932 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid;

-- Query #48933 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid
ORDER BY m."StreamIndex";

-- Query #48934 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid;

-- Query #48935 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid;

-- Query #48936 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid
ORDER BY m."StreamIndex";

-- Query #48937 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid;

-- Query #48938 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid;

-- Query #48939 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid
ORDER BY m."StreamIndex";

-- Query #48940 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid;

-- Query #48941 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid;

-- Query #48942 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid
ORDER BY m."StreamIndex";

-- Query #48943 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid;

-- Query #48944 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid;

-- Query #48945 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid
ORDER BY m."StreamIndex";

-- Query #48946 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #48947 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #48948 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid
ORDER BY m."StreamIndex";

-- Query #48949 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #48950 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #48951 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #48952 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #48953 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #48954 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #48955 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #48956 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #48957 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid
ORDER BY m."StreamIndex";

-- Query #48958 | logged_duration_ms=2 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #48959 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #48960 | logged_duration_ms=46 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid
ORDER BY m."StreamIndex";

-- Query #48961 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #48962 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #48963 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '7dc728f489023d1fee5ffaca898fb1b0';

-- Query #48964 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid
ORDER BY m."StreamIndex";

-- Query #48965 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '84f4156e0495840afdd4844bf91fba18';

-- Query #48966 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #48967 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #48968 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0c1954cf2d291cb791e2104712d399f7';

-- Query #48969 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid
ORDER BY m."StreamIndex";

-- Query #48970 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #48971 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a32a8dead8322eb000d7342898ebeeb0';

-- Query #48972 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #48973 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #48974 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid
ORDER BY m."StreamIndex";

-- Query #48975 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #48976 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #48977 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'fbf0d8d0e2d34ea37d0b7352569ffbc1';

-- Query #48978 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '1fd93e29a80a8140967f20b332fac6be';

-- Query #48979 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #48980 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid
ORDER BY m."StreamIndex";

-- Query #48981 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'e81fefeb9a1d548a67e9dfe837512296';

-- Query #48982 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #48983 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #48984 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '070e55527183cfd69699d7c720976cc6';

-- Query #48985 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid
ORDER BY m."StreamIndex";

-- Query #48986 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #48987 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b91ac0e264e7402721b58d31856c7d07';

-- Query #48988 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #48989 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid
ORDER BY m."StreamIndex";

-- Query #48990 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '5bdcfe8be3a75f10efa0586f78c88275';

-- Query #48991 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #48992 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid
ORDER BY m."StreamIndex";

-- Query #48993 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #48994 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #48995 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #48996 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid
ORDER BY m."StreamIndex";

-- Query #48997 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid
ORDER BY m."StreamIndex";

-- Query #48998 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #48999 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #49000 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #49001 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #49002 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid
ORDER BY m."StreamIndex";

-- Query #49003 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #49004 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid
ORDER BY m."StreamIndex";

-- Query #49005 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #49006 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #49007 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #49008 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid
ORDER BY m."StreamIndex";

-- Query #49009 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid
ORDER BY m."StreamIndex";

-- Query #49010 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #49011 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #49012 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #49013 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #49014 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid
ORDER BY m."StreamIndex";

-- Query #49015 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #49016 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'defff2c61a2156b01a7c320a681f95e0';

-- Query #49017 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #49018 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'ee9ddd2a848848d0dc4e919dd72a046d';

-- Query #49019 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid
ORDER BY m."StreamIndex";

-- Query #49020 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #49021 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #49022 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '6f5308a6c82d6f1b68ddb27b5b355704';

-- Query #49023 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid
ORDER BY m."StreamIndex";

-- Query #49024 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #49025 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #49026 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #49027 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'ad713fedd097f6c23bc74d9b76e608f4';

-- Query #49028 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #49029 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4817c64700c062f4ee2810e5753172ea';

-- Query #49030 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #49031 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #49032 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid
ORDER BY m."StreamIndex";

-- Query #49033 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #49034 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #49035 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #49036 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '7f12af9ab2adba21082a763ba1f7f59a';

-- Query #49037 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b7c5b5434e33a5dee49887f00b152aaf';

-- Query #49038 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #49039 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid
ORDER BY m."StreamIndex";

-- Query #49040 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #49041 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid, 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #49042 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #49043 | logged_duration_ms=15 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid, 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #49044 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid
ORDER BY m."StreamIndex";

-- Query #49045 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '917b95173af31eefe3a4418161d672f7';

-- Query #49046 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3';

-- Query #49047 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #49048 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #49049 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '990d3c58f72d6c6c6d4d0550fa1d05e4';

-- Query #49050 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid
ORDER BY m."StreamIndex";

-- Query #49051 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #49052 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #49053 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '09aab912e308b806252298ce915c9f9c';

-- Query #49054 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid
ORDER BY m."StreamIndex";

-- Query #49055 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'eff532640633d1dd6c6a1e01d5faa946';

-- Query #49056 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #49057 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #49058 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a5f8209a19f94fe6d61b67d7685e62ee';

-- Query #49059 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid
ORDER BY m."StreamIndex";

-- Query #49060 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid
ORDER BY m."StreamIndex";

-- Query #49061 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #49062 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #49063 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #49064 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #49065 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid
ORDER BY m."StreamIndex";

-- Query #49066 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid
ORDER BY m."StreamIndex";

-- Query #49067 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #49068 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #49069 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #49070 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #49071 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid
ORDER BY m."StreamIndex";

-- Query #49072 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #49073 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8acf89e6fef723b8ca1c493423aaaa53';

-- Query #49074 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #49075 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid
ORDER BY m."StreamIndex";

-- Query #49076 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4ff3db3d735044c18e2668ea7a322695';

-- Query #49077 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #49078 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #49079 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #49080 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid
ORDER BY m."StreamIndex";

-- Query #49081 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #49082 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #49083 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49';

-- Query #49084 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #49085 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid
ORDER BY m."StreamIndex";

-- Query #49086 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #49087 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #49088 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #49089 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #49090 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #49091 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid
ORDER BY m."StreamIndex";

-- Query #49092 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #49093 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #49094 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #49095 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #49096 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b';

-- Query #49097 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid
ORDER BY m."StreamIndex";

-- Query #49098 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #49099 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #49100 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #49101 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid
ORDER BY m."StreamIndex";

-- Query #49102 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #49103 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #49104 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b7c5b5434e33a5dee49887f00b152aaf';

-- Query #49105 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #49106 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid
ORDER BY m."StreamIndex";

-- Query #49107 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #49108 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #49109 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #49110 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8e4ac1a42fb77d729b2a9452b2b6d7d6';

-- Query #49111 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #49112 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0dfe5e318778b4de16a02a1d3cb958fe';

-- Query #49113 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid
ORDER BY m."StreamIndex";

-- Query #49114 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #49115 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3a4abcba13dca5ab2464a2677f08510d';

-- Query #49116 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid
ORDER BY m."StreamIndex";

-- Query #49117 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #49118 | logged_duration_ms=24 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #49119 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #49120 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #49121 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid
ORDER BY m."StreamIndex";

-- Query #49122 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #49123 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f7572de2e6c48aa2411535e2bebb56de';

-- Query #49124 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #49125 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid
ORDER BY m."StreamIndex";

-- Query #49126 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #49127 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #49128 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid
ORDER BY m."StreamIndex";

-- Query #49129 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #49130 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #49131 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #49132 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #49133 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid
ORDER BY m."StreamIndex";

-- Query #49134 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #49135 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '425cfdd08ea5677ef18d87571eee0eb7';

-- Query #49136 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #49137 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #49138 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid
ORDER BY m."StreamIndex";

-- Query #49139 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid;

-- Query #49140 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid
ORDER BY m."StreamIndex";

-- Query #49141 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #49142 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid;

-- Query #49143 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #49144 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid
ORDER BY m."StreamIndex";

-- Query #49145 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '9856c203b77aa89991b6d23a9b21c519';

-- Query #49146 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid;

-- Query #49147 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid
ORDER BY m."StreamIndex";

-- Query #49148 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #49149 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid;

-- Query #49150 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #49151 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #49152 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #49153 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid
ORDER BY m."StreamIndex";

-- Query #49154 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid
ORDER BY m."StreamIndex";

-- Query #49155 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'fbf0d8d0e2d34ea37d0b7352569ffbc1';

-- Query #49156 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid;

-- Query #49157 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #49158 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid;

-- Query #49159 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #49160 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #49161 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid
ORDER BY m."StreamIndex";

-- Query #49162 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid
ORDER BY m."StreamIndex";

-- Query #49163 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid;

-- Query #49164 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #49165 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #49166 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid;

-- Query #49167 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '922734452f5141b377a24b86a11d9f34';

-- Query #49168 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #49169 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid
ORDER BY m."StreamIndex";

-- Query #49170 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid
ORDER BY m."StreamIndex";

-- Query #49171 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #49172 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid;

-- Query #49173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #49174 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #49175 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid;

-- Query #49176 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #49177 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid
ORDER BY m."StreamIndex";

-- Query #49178 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid
ORDER BY m."StreamIndex";

-- Query #49179 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #49180 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #49181 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid;

-- Query #49182 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid;

-- Query #49183 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #49184 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid
ORDER BY m."StreamIndex";

-- Query #49185 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid
ORDER BY m."StreamIndex";

-- Query #49186 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #49187 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #49188 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid;

-- Query #49189 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #49190 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #49191 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid;

-- Query #49192 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0187d0b13a725f05f134368ea10fcd46';

-- Query #49193 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid
ORDER BY m."StreamIndex";

-- Query #49194 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid
ORDER BY m."StreamIndex";

-- Query #49195 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid;

-- Query #49196 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #49197 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid;

-- Query #49198 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #49199 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid
ORDER BY m."StreamIndex";

-- Query #49200 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #49201 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid
ORDER BY m."StreamIndex";

-- Query #49202 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '917b95173af31eefe3a4418161d672f7';

-- Query #49203 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid;

-- Query #49204 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #49205 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid;

-- Query #49206 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid
ORDER BY m."StreamIndex";

-- Query #49207 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b6169fe12bb8ee0bc00021a117062dc5';

-- Query #49208 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid;

-- Query #49209 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid
ORDER BY m."StreamIndex";

-- Query #49210 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #49211 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid;

-- Query #49212 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #49213 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid
ORDER BY m."StreamIndex";

-- Query #49214 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid
ORDER BY m."StreamIndex";

-- Query #49215 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #49216 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid;

-- Query #49217 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #49218 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid;

-- Query #49219 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid
ORDER BY m."StreamIndex";

-- Query #49220 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid
ORDER BY m."StreamIndex";

-- Query #49221 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #49222 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid;

-- Query #49223 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #49224 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid;

-- Query #49225 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid
ORDER BY m."StreamIndex";

-- Query #49226 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #49227 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid
ORDER BY m."StreamIndex";

-- Query #49228 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #49229 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid;

-- Query #49230 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid;

-- Query #49231 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '67e7d66ac804865d447c1e6373a33ef2';

-- Query #49232 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid
ORDER BY m."StreamIndex";

-- Query #49233 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid;

-- Query #49234 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid;

-- Query #49235 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f6416178f90ca8f572780458670e9433';

-- Query #49236 | logged_duration_ms=10 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid
ORDER BY m."StreamIndex";

-- Query #49237 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '38ccad6a78ddd9f6c54be67de1cb2ded';

-- Query #49238 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid;

-- Query #49239 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8e4ac1a42fb77d729b2a9452b2b6d7d6';

-- Query #49240 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid
ORDER BY m."StreamIndex";

-- Query #49241 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid;

-- Query #49242 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #49243 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid
ORDER BY m."StreamIndex";

-- Query #49244 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid;

-- Query #49245 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #49246 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid
ORDER BY m."StreamIndex";

-- Query #49247 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid;

-- Query #49248 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #49249 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid
ORDER BY m."StreamIndex";

-- Query #49250 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #49251 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid;

-- Query #49252 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid;

-- Query #49253 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '26d8f0d27821cede0875ae11abc2d327';

-- Query #49254 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid
ORDER BY m."StreamIndex";

-- Query #49255 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid;

-- Query #49256 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '364d504bc02448b9e98ea660ee23917d';

-- Query #49257 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid;

-- Query #49258 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid
ORDER BY m."StreamIndex";

-- Query #49259 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #49260 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid
ORDER BY m."StreamIndex";

-- Query #49261 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid;

-- Query #49262 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #49263 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid
ORDER BY m."StreamIndex";

-- Query #49264 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid;

-- Query #49265 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #49266 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid
ORDER BY m."StreamIndex";

-- Query #49267 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #49268 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid;

-- Query #49269 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid;

-- Query #49270 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4a622297c059873ca138587d5b47766a';

-- Query #49271 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid
ORDER BY m."StreamIndex";

-- Query #49272 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid;

-- Query #49273 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #49274 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid;

-- Query #49275 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #49276 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid
ORDER BY m."StreamIndex";

-- Query #49277 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #49278 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid;

-- Query #49279 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid
ORDER BY m."StreamIndex";

-- Query #49280 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid;

-- Query #49281 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #49282 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid
ORDER BY m."StreamIndex";

-- Query #49283 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #49284 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid;

-- Query #49285 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid
ORDER BY m."StreamIndex";

-- Query #49286 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #49287 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid;

-- Query #49288 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #49289 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid
ORDER BY m."StreamIndex";

-- Query #49290 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid;

-- Query #49291 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid;

-- Query #49292 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '65007c97dfa56125b4137dadcc66ee70';

-- Query #49293 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid
ORDER BY m."StreamIndex";

-- Query #49294 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid;

-- Query #49295 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid;

-- Query #49296 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid
ORDER BY m."StreamIndex";

-- Query #49297 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '7fe9249fefa0517bb50729381afb52ec';

-- Query #49298 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid;

-- Query #49299 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid;

-- Query #49300 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #49301 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #49302 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid
ORDER BY m."StreamIndex";

-- Query #49303 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4817c64700c062f4ee2810e5753172ea';

-- Query #49304 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid;

-- Query #49305 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid
ORDER BY m."StreamIndex";

-- Query #49306 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #49307 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid;

-- Query #49308 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid
ORDER BY m."StreamIndex";

-- Query #49309 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #49310 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid;

-- Query #49311 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid
ORDER BY m."StreamIndex";

-- Query #49312 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #49313 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid;

-- Query #49314 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #49315 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid
ORDER BY m."StreamIndex";

-- Query #49316 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid
ORDER BY m."StreamIndex";

-- Query #49317 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid;

-- Query #49318 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #49319 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid;

-- Query #49320 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #49321 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid
ORDER BY m."StreamIndex";

-- Query #49322 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid
ORDER BY m."StreamIndex";

-- Query #49323 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid;

-- Query #49324 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #49325 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #49326 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid;

-- Query #49327 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid
ORDER BY m."StreamIndex";

-- Query #49328 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid;

-- Query #49329 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid;

-- Query #49330 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid
ORDER BY m."StreamIndex";

-- Query #49331 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid;

-- Query #49332 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid;

-- Query #49333 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid
ORDER BY m."StreamIndex";

-- Query #49334 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid;

-- Query #49335 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid;

-- Query #49336 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid
ORDER BY m."StreamIndex";

-- Query #49337 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid;

-- Query #49338 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid;

-- Query #49339 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid
ORDER BY m."StreamIndex";

-- Query #49340 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid;

-- Query #49341 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid;

-- Query #49342 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid
ORDER BY m."StreamIndex";

-- Query #49343 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid;

-- Query #49344 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid;

-- Query #49345 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid
ORDER BY m."StreamIndex";

-- Query #49346 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid;

-- Query #49347 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid;

-- Query #49348 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid
ORDER BY m."StreamIndex";

-- Query #49349 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid;

-- Query #49350 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid;

-- Query #49351 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid
ORDER BY m."StreamIndex";

-- Query #49352 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid;

-- Query #49353 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid;

-- Query #49354 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid
ORDER BY m."StreamIndex";

-- Query #49355 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid;

-- Query #49356 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid;

-- Query #49357 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid
ORDER BY m."StreamIndex";

-- Query #49358 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid;

-- Query #49359 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid;

-- Query #49360 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid
ORDER BY m."StreamIndex";

-- Query #49361 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid;

-- Query #49362 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid;

-- Query #49363 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid
ORDER BY m."StreamIndex";

-- Query #49364 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid;

-- Query #49365 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid;

-- Query #49366 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid
ORDER BY m."StreamIndex";

-- Query #49367 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid;

-- Query #49368 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid;

-- Query #49369 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid
ORDER BY m."StreamIndex";

-- Query #49370 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid;

-- Query #49371 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid;

-- Query #49372 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid
ORDER BY m."StreamIndex";

-- Query #49373 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid;

-- Query #49374 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid;

-- Query #49375 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid
ORDER BY m."StreamIndex";

-- Query #49376 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid;

-- Query #49377 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid;

-- Query #49378 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid
ORDER BY m."StreamIndex";

-- Query #49379 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid;

-- Query #49380 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid;

-- Query #49381 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid
ORDER BY m."StreamIndex";

-- Query #49382 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid;

-- Query #49383 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid;

-- Query #49384 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid
ORDER BY m."StreamIndex";

-- Query #49385 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid;

-- Query #49386 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid;

-- Query #49387 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid
ORDER BY m."StreamIndex";

-- Query #49388 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid;

-- Query #49389 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid;

-- Query #49390 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid
ORDER BY m."StreamIndex";

-- Query #49391 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid;

-- Query #49392 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid;

-- Query #49393 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid
ORDER BY m."StreamIndex";

-- Query #49394 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid;

-- Query #49395 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid;

-- Query #49396 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid
ORDER BY m."StreamIndex";

-- Query #49397 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid;

-- Query #49398 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid;

-- Query #49399 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid
ORDER BY m."StreamIndex";

-- Query #49400 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid;

-- Query #49401 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid;

-- Query #49402 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid
ORDER BY m."StreamIndex";

-- Query #49403 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid;

-- Query #49404 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid;

-- Query #49405 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid
ORDER BY m."StreamIndex";

-- Query #49406 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid;

-- Query #49407 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid;

-- Query #49408 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid
ORDER BY m."StreamIndex";

-- Query #49409 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid;

-- Query #49410 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid;

-- Query #49411 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid
ORDER BY m."StreamIndex";

-- Query #49412 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid;

-- Query #49413 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid;

-- Query #49414 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid
ORDER BY m."StreamIndex";

-- Query #49415 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid;

-- Query #49416 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid;

-- Query #49417 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid
ORDER BY m."StreamIndex";

-- Query #49418 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid;

-- Query #49419 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid;

-- Query #49420 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid
ORDER BY m."StreamIndex";

-- Query #49421 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid;

-- Query #49422 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid;

-- Query #49423 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid
ORDER BY m."StreamIndex";

-- Query #49424 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid;

-- Query #49425 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid;

-- Query #49426 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid
ORDER BY m."StreamIndex";

-- Query #49427 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid;

-- Query #49428 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid;

-- Query #49429 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid
ORDER BY m."StreamIndex";

-- Query #49430 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid;

-- Query #49431 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid;

-- Query #49432 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid
ORDER BY m."StreamIndex";

-- Query #49433 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid;

-- Query #49434 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid;

-- Query #49435 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid
ORDER BY m."StreamIndex";

-- Query #49436 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid;

-- Query #49437 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid;

-- Query #49438 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid
ORDER BY m."StreamIndex";

-- Query #49439 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid;

-- Query #49440 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid;

-- Query #49441 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49442 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49443 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49444 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49445 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49446 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49447 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49448 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49449 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49450 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49451 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49452 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49453 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49454 | logged_duration_ms=25 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:11:52.2431787Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #49455 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49456 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49457 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49458 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49459 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49460 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49461 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49462 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49463 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49464 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49465 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49466 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49467 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49468 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49469 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49470 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49471 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49472 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49473 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49474 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49475 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49476 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49477 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49478 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49479 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49480 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49481 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49482 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49483 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49484 | logged_duration_ms=9 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:13:21.0412914Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #49485 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49486 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49487 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49488 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49489 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49490 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49491 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49492 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49493 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49494 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49495 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49496 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49497 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49498 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49499 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49500 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49501 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49502 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49503 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49504 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49505 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49506 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49507 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49508 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49509 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49510 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49511 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49512 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49513 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49514 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49515 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49516 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49517 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49518 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49519 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49520 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49521 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49522 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49523 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49524 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49525 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49526 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49527 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49528 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49529 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49530 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49531 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49532 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49533 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49534 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49535 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49536 | logged_duration_ms=22 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:15:52.2371476Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #49537 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49538 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49539 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49540 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49541 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49542 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49543 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49544 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49545 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49546 | logged_duration_ms=11 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:16:21.0683497Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #49547 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49548 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49549 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49550 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49551 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49552 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49553 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49554 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49555 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49556 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49557 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49558 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49559 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49560 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49561 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49562 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49563 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49564 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49565 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49566 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49567 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49568 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49569 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49570 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49571 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49572 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49573 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49574 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49575 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49576 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49577 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49578 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49579 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49580 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49581 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49582 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49583 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49584 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49585 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49586 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49587 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49588 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49589 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49590 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49591 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49592 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49593 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49594 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49595 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49596 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49597 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49598 | logged_duration_ms=7 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:18:52.2396807Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #49599 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49600 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49601 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49602 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49603 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49604 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49605 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49606 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49607 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49608 | logged_duration_ms=7 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:19:21.1018036Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #49609 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49610 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49611 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49612 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49613 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49614 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49615 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49616 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49617 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49618 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49619 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49620 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49621 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49622 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49623 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49624 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49625 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49626 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49627 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49628 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49629 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49630 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49631 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49632 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49633 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49634 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49635 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49636 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49637 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49638 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49639 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49640 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49641 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49642 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49643 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49644 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49645 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49646 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49647 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49648 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49649 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49650 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49651 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49652 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49653 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49654 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49655 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49656 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49657 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49658 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49659 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49660 | logged_duration_ms=20 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:21:52.2443078Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #49661 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49662 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49663 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49664 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49665 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49666 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49667 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49668 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49669 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49670 | logged_duration_ms=10 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:22:21.1458646Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #49671 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49672 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49673 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49674 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49675 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49676 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49677 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49678 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49679 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49680 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49681 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49682 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49683 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49684 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49685 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49686 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49687 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49688 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49689 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49690 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49691 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49692 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49693 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49694 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49695 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49696 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49697 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49698 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49699 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49700 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49701 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49702 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49703 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49704 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49705 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49706 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49707 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49708 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49709 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49710 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49711 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49712 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49713 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49714 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49715 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49716 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49717 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49718 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49719 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49720 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49721 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49722 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49723 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49724 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49725 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49726 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49727 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49728 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49729 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49730 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49731 | logged_duration_ms=28 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:25:21.1729966Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #49732 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49733 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49734 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49735 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49736 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49737 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49738 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49739 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49740 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49741 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49742 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49743 | logged_duration_ms=10 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:25:52.2416638Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #49744 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49745 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49746 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49747 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49748 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49749 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49750 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49751 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49752 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49753 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49754 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49755 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49756 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49757 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49758 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49759 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49760 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49761 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49762 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49763 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49764 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49765 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49766 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49767 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49768 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49769 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49770 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49771 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49772 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49773 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49774 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49775 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49776 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49777 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49778 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49779 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49780 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49781 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49782 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49783 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49784 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49785 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49786 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49787 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49788 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49789 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49790 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49791 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49792 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49793 | logged_duration_ms=7 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:28:21.2063048Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #49794 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49795 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49796 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49797 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49798 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49799 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49800 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49801 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49802 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49803 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49804 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49805 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49806 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49807 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49808 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49809 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49810 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49811 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49812 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49813 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49814 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49815 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49816 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49817 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49818 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49819 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49820 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49821 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49822 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49823 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49824 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49825 | logged_duration_ms=10 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:29:52.2376356Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #49826 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49827 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49828 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49829 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49830 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49831 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49832 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49833 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49834 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49835 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49836 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49837 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49838 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49839 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49840 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49841 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49842 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49843 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49844 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49845 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49846 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49847 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49848 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49849 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49850 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49851 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49852 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49853 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49854 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49855 | logged_duration_ms=22 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:31:21.2318800Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #49856 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49857 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49858 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49859 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49860 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49861 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49862 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49863 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49864 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49865 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49866 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49867 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49868 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49869 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49870 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49871 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49872 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49873 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49874 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49875 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49876 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49877 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49878 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49879 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49880 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49881 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49882 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49883 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49884 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49885 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49886 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49887 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49888 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49889 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49890 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49891 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49892 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49893 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49894 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49895 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49896 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49897 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49898 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49899 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49900 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49901 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49902 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49903 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49904 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49905 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49906 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49907 | logged_duration_ms=12 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:33:52.2389153Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #49908 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49909 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49910 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49911 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49912 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49913 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49914 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49915 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49916 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49917 | logged_duration_ms=32 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:34:21.2768821Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #49918 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49919 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49920 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49921 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49922 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49923 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49924 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49925 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49926 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49927 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49928 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49929 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49930 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49931 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49932 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49933 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49934 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49935 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49936 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49937 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49938 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49939 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49940 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49941 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49942 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49943 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49944 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49945 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49946 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49947 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49948 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49949 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49950 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49951 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49952 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49953 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49954 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49955 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49956 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49957 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49958 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49959 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49960 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49961 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49962 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49963 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49964 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49965 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49966 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49967 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49968 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49969 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49970 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49971 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49972 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49973 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49974 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49975 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49976 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49977 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49978 | logged_duration_ms=23 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:37:21.2984679Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #49979 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49980 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49981 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49982 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49983 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49984 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49985 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49986 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49987 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49988 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49989 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49990 | logged_duration_ms=25 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:37:52.2207550Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #49991 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49992 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49993 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49994 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49995 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49996 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49997 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49998 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #49999 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50000 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50001 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50002 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50003 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50004 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50005 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50006 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50007 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50008 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50009 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50010 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50011 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50012 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50013 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50014 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50015 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50016 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50017 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50018 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50019 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50020 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50021 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50022 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50023 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50024 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50025 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50026 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50027 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50028 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50029 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50030 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50031 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50032 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50033 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50034 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50035 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50036 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50037 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50038 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50039 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50040 | logged_duration_ms=19 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:40:21.3583190Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #50041 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50042 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50043 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50044 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50045 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50046 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50047 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50048 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50049 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50050 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50051 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50052 | logged_duration_ms=11 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:40:52.2289992Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #50053 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50054 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50055 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50056 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50057 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50058 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50059 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50060 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50061 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50062 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50063 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50064 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50065 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50066 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50067 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50068 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50069 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50070 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50071 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50072 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50073 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50074 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50075 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50076 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50077 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50078 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50079 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50080 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50081 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50082 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50083 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50084 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50085 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50086 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50087 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50088 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50089 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50090 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50091 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50092 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50093 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50094 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50095 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50096 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50097 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50098 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50099 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50100 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50101 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50102 | logged_duration_ms=15 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:43:21.3989135Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #50103 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50104 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50105 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50106 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50107 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50108 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50109 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50110 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50111 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50112 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50113 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50114 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50115 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50116 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50117 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50118 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50119 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50120 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50121 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50122 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50123 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50124 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50125 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50126 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50127 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50128 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50129 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50130 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50131 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50132 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50133 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50134 | logged_duration_ms=9 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:44:52.2289277Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #50135 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50136 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50137 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50138 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50139 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50140 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50141 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50142 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50143 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50144 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50145 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50146 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50147 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50148 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50149 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50150 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50151 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50152 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50153 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50154 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50155 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50156 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50157 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50158 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50159 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50160 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50161 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50162 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50163 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50164 | logged_duration_ms=17 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:46:21.4176996Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #50165 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50166 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50167 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50168 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50169 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50170 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50171 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50172 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50173 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50174 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50175 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50176 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50177 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50178 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50179 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50180 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50181 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50182 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50183 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50184 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50185 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50186 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50187 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50188 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50189 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50190 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50191 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50192 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50193 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50194 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50195 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50196 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50197 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50198 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50199 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50200 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50201 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50202 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50203 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50204 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50205 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50206 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50207 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50208 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50209 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50210 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50211 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50212 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50213 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50214 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50215 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50216 | logged_duration_ms=10 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:48:52.2081997Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #50217 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50218 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50219 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50220 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50221 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50222 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50223 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50224 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50225 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50226 | logged_duration_ms=10 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:49:21.4590336Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #50227 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50228 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50229 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50230 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50231 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50232 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50233 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50234 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50235 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50236 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50237 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50238 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50239 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50240 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50241 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50242 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50243 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50244 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50245 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50246 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50247 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50248 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50249 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50250 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50251 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50252 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50253 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50254 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50255 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50256 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50257 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50258 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50259 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50260 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50261 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50262 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50263 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50264 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50265 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50266 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50267 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50268 | logged_duration_ms=5 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50269 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50270 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50271 | logged_duration_ms=23 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50272 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid]);

-- Query #50273 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50274 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid, 'Imdb', 'tt39402067')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #50275 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid, 'Tvdb', 11639196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #50276 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid, 'TvMaze', 3556398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #50277 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50278 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50279 | logged_duration_ms=2 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid]);

-- Query #50280 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50281 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e183071f-c28d-397d-bfaf-0c26911f7bf0'::uuid, '3f14b9fd-f609-eedd-8a69-9fc96b4748d3'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'c5ca52f2-6832-98d4-e948-c9dc1de26f5d'::uuid]);

-- Query #50282 | logged_duration_ms=2 | timeout_s=30
SELECT p."ItemId", p."PeopleId", p."Role", p."ListOrder", p."SortOrder", p0."Id", p0."Name", p0."PersonType"
FROM library."PeopleBaseItemMap" AS p
INNER JOIN library."Peoples" AS p0 ON p."PeopleId" = p0."Id"
WHERE p."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50283 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50284 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50285 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50286 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50287 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50288 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50289 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50290 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50291 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50292 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50293 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50294 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50295 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50296 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50297 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50298 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50299 | logged_duration_ms=11 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50300 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid]);

-- Query #50301 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50302 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid, 'Imdb', 'tt39402067')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #50303 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid, 'Tvdb', 11639196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #50304 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid, 'TvMaze', 3556398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #50305 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50306 | logged_duration_ms=3 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50307 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid]);

-- Query #50308 | logged_duration_ms=2 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50309 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e183071f-c28d-397d-bfaf-0c26911f7bf0'::uuid, '3f14b9fd-f609-eedd-8a69-9fc96b4748d3'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'c5ca52f2-6832-98d4-e948-c9dc1de26f5d'::uuid]);

-- Query #50310 | logged_duration_ms=2 | timeout_s=30
SELECT p."ItemId", p."PeopleId", p."Role", p."ListOrder", p."SortOrder", p0."Id", p0."Name", p0."PersonType"
FROM library."PeopleBaseItemMap" AS p
INNER JOIN library."Peoples" AS p0 ON p."PeopleId" = p0."Id"
WHERE p."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50311 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50312 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50313 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50314 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50315 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50316 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50317 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50318 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50319 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50320 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50321 | logged_duration_ms=3 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50322 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50323 | logged_duration_ms=6 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50324 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid]);

-- Query #50325 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50326 | logged_duration_ms=2 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid, 'Imdb', 'tt39402067')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #50327 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid, 'Tvdb', 11639196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #50328 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid, 'TvMaze', 3556398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #50329 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50330 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50331 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid]);

-- Query #50332 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50333 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e183071f-c28d-397d-bfaf-0c26911f7bf0'::uuid, '3f14b9fd-f609-eedd-8a69-9fc96b4748d3'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'c5ca52f2-6832-98d4-e948-c9dc1de26f5d'::uuid]);

-- Query #50334 | logged_duration_ms=2 | timeout_s=30
SELECT p."ItemId", p."PeopleId", p."Role", p."ListOrder", p."SortOrder", p0."Id", p0."Name", p0."PersonType"
FROM library."PeopleBaseItemMap" AS p
INNER JOIN library."Peoples" AS p0 ON p."PeopleId" = p0."Id"
WHERE p."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50335 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50336 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50337 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50338 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50339 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50340 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50341 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50342 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50343 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50344 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50345 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50346 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50347 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50348 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50349 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50350 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50351 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid
ORDER BY m."StreamIndex";

-- Query #50352 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #50353 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #50354 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid
ORDER BY m."StreamIndex";

-- Query #50355 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #50356 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #50357 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50358 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50359 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid
ORDER BY m."StreamIndex";

-- Query #50360 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #50361 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #50362 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid
ORDER BY m."StreamIndex";

-- Query #50363 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #50364 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #50365 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid
ORDER BY m."StreamIndex";

-- Query #50366 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50367 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50368 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid
ORDER BY m."StreamIndex";

-- Query #50369 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50370 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50371 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50372 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50373 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50374 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50375 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50376 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50377 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50378 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50379 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50380 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50381 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50382 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50383 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50384 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50385 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50386 | logged_duration_ms=2 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50387 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50388 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50389 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50390 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50391 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50392 | logged_duration_ms=5 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50393 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50394 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50395 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50396 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50397 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50398 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50399 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50400 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50401 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50402 | logged_duration_ms=5 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50403 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid]);

-- Query #50404 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50405 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid, 'Imdb', 'tt39402067')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #50406 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid, 'Tvdb', 11639196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #50407 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid, 'TvMaze', 3556398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #50408 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50409 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50410 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid]);

-- Query #50411 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50412 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e183071f-c28d-397d-bfaf-0c26911f7bf0'::uuid, '3f14b9fd-f609-eedd-8a69-9fc96b4748d3'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'c5ca52f2-6832-98d4-e948-c9dc1de26f5d'::uuid]);

-- Query #50413 | logged_duration_ms=2 | timeout_s=30
SELECT p."ItemId", p."PeopleId", p."Role", p."ListOrder", p."SortOrder", p0."Id", p0."Name", p0."PersonType"
FROM library."PeopleBaseItemMap" AS p
INNER JOIN library."Peoples" AS p0 ON p."PeopleId" = p0."Id"
WHERE p."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50414 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50415 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50416 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50417 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50418 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50419 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50420 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50421 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50422 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50423 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50424 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50425 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50426 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50427 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50428 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50429 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50430 | logged_duration_ms=8 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50431 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid]);

-- Query #50432 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50433 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid, 'Imdb', 'tt39402067')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #50434 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid, 'Tvdb', 11639196)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #50435 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid, 'TvMaze', 3556398)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #50436 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50437 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50438 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid]);

-- Query #50439 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50440 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e183071f-c28d-397d-bfaf-0c26911f7bf0'::uuid, '3f14b9fd-f609-eedd-8a69-9fc96b4748d3'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'c5ca52f2-6832-98d4-e948-c9dc1de26f5d'::uuid]);

-- Query #50441 | logged_duration_ms=2 | timeout_s=30
SELECT p."ItemId", p."PeopleId", p."Role", p."ListOrder", p."SortOrder", p0."Id", p0."Name", p0."PersonType"
FROM library."PeopleBaseItemMap" AS p
INNER JOIN library."Peoples" AS p0 ON p."PeopleId" = p0."Id"
WHERE p."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50442 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50443 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50444 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50445 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50446 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50447 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50448 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50449 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50450 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid
ORDER BY m."StreamIndex";

-- Query #50451 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #50452 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #50453 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid
ORDER BY m."StreamIndex";

-- Query #50454 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #50455 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'c5a69adc-47f7-1fb8-fadb-443c3b3f27b3'::uuid;

-- Query #50456 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50457 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50458 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid
ORDER BY m."StreamIndex";

-- Query #50459 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #50460 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #50461 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid
ORDER BY m."StreamIndex";

-- Query #50462 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #50463 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'ad529a6c-22b8-bec1-6e28-c808af100aaa'::uuid;

-- Query #50464 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid
ORDER BY m."StreamIndex";

-- Query #50465 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50466 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50467 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid
ORDER BY m."StreamIndex";

-- Query #50468 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50469 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid;

-- Query #50470 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50471 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50472 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50473 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50474 | logged_duration_ms=31 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50475 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50476 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50477 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50478 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50479 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50480 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50481 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50482 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50483 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50484 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50485 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50486 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50487 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50488 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50489 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #50490 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50491 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50492 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50493 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50494 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #50495 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3'
ORDER BY b."SortName", b."Name";

-- Query #50496 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid
ORDER BY b."SortName";

-- Query #50497 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0caa83dc-145a-77ff-d159-4bf6e7d6a6de' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50498 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4817c647-00c0-62f4-ee28-10e5753172ea' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50499 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65d9b3f6-439e-ef35-7964-594eab496683' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50500 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65007c97-dfa5-6125-b413-7dadcc66ee70' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50501 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50502 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '26d8f0d2-7821-cede-0875-ae11abc2d327' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50503 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '388e9855-5c86-3545-6e73-8a74da45a67a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50504 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bfd89e31-d8f6-32cc-838c-9c95a901d00d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50505 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5a744ba1-ccae-d7f1-f42e-50282ea81c51' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50506 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '21c57fda-7b07-0d8c-673b-c25892c10b6c' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50507 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4ff3db3d-7350-44c1-8e26-68ea7a322695' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50508 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c84ee43-c194-6fea-c840-ea8ef05b8d3e' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50509 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, 'e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, 'e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50510 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '67e7d66a-c804-865d-447c-1e6373a33ef2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50511 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50512 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95017bda-a22b-3269-68f5-b857ebca838e' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50513 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['d2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['d2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50514 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a731a5c9-5698-9dd1-8fe4-08ffac032a49' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50515 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '87b63e72-c2d0-1cf3-b5a3-8185ab03f80b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50516 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8af244bb-ee51-89b3-cd07-06218511cf8a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50517 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fbf0d8d0-e2d3-4ea3-7d0b-7352569ffbc1' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50518 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cb4ba5b1-3731-bbf4-b876-d069e120ffb0' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50519 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '917b9517-3af3-1eef-e3a4-418161d672f7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50520 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a0fe16a4-4a9f-b1fe-eb2c-a266a9263143' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50521 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b5580683-56d7-78f6-1364-3c71a93d626b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50522 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9856c203-b77a-a899-91b6-d23a9b21c519' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50523 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82', '0dc3d22c-6b03-76bb-28f9-838589c6757d') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50524 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fe0a7616-1716-f0c2-bbfc-ab0a09e427d9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50525 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('c019971a-96ce-3216-5201-c7cd1c7c9afb', 'e7fdade5-9216-5ecb-31c0-a06587aa9db4') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50526 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0af9cc08-5b7c-6ba2-c733-925ad1fa020a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50527 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1fc32fb1-1225-5038-1142-b3bbec68d1ad' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50528 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '425cfdd0-8ea5-677e-f18d-87571eee0eb7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50529 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb', 'a8784328-b2e7-c097-375d-aab560eb7e5b') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50530 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e81fefeb-9a1d-548a-67e9-dfe837512296' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50531 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('d76bf701-31bc-051b-a577-37f8dd9c1c13', 'f6ecf7fa-9262-3508-5732-cfc1e107a3ca') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50532 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '12b90cbe-75bc-aabe-c873-6fd212950702' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50533 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid, '0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid, '0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50534 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '83afa488-90fc-c2ed-d964-598f290f14c4' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50535 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('da715cca-7912-250a-35f9-f244056e77fe', '489e5bed-a13d-ade8-d89c-77e66ccfe662') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50536 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'daeae0ad-8a46-7a62-1e6d-a4312ebf5683' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50537 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7f12af9a-b2ad-ba21-082a-763ba1f7f59a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50538 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50539 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fd21a996-07a4-ddc8-5db7-ac1a96c9f7b2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50540 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50541 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '345bd57a-9627-d417-dae5-2e11290de9ea' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50542 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e60b7c31-3696-a822-1549-3078d4ba07fc' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50543 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('a734eb90-637b-3de7-36da-6e27c9115497', 'c0689efb-bd73-3337-3cf4-5871d6cb71d0', '621b86bc-b2c7-4433-9893-6578f9e6b5e8') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50544 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7cd25da4-30f8-4bea-bdde-ed5b3046f607' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50545 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('7740a050-54a4-3378-02c1-9d03c6e351a5', 'f7a77892-8190-0ebf-3cf9-063756ae7ac2') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50546 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3f14b9fd-f609-eedd-8a69-9fc96b4748d3' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50547 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e2385908-d25a-b03d-cb38-058c6942953d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50548 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, 'fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, 'fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50549 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0187d0b1-3a72-5f05-f134-368ea10fcd46' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50550 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d8590da-99cb-7b0d-aa38-0d6cd43184c5' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50551 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['4f9945dd-737a-06c1-957c-b1add48e0729'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['4f9945dd-737a-06c1-957c-b1add48e0729'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50552 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1231748-4040-f385-1976-fdc2050cd23b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50553 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('0d196c45-f22b-11f5-5331-2a1670cba21a', '6badd438-a057-1a5f-e8fc-248ea1b12216') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50554 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '50fff1d8-90c5-876e-12c8-1213a48c160f' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50555 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '818c5991-0374-5ff7-eaf5-3d3402e07570' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50556 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a32a8dea-d832-2eb0-00d7-342898ebeeb0' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50557 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50558 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6429f9a4-3413-0282-2485-688b4391581a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50559 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('c98cedad-ca96-ba35-a759-a0347090b740', 'da886991-676e-045a-0c3e-2118892af4bf') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50560 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '52e6442a-96e9-6db3-c832-9fc8ced14461' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50561 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid, '5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid, '5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50562 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '830b7464-e334-5f09-a904-9105e57bdda9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50563 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d3d85c7-847b-15c2-425e-0158d26316fa' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50564 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '491139d8-a2b9-e086-aaaf-e8acf5058be5' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50565 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '92273445-2f51-41b3-77a2-4b86a11d9f34' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50566 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('a93501c5-0fa3-0888-563b-81d495d9d796', 'a716eca8-4125-6182-f7d4-bd8b85cc8951') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50567 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f7572de2-e6c4-8aa2-4115-35e2bebb56de' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50568 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('f6c381b1-a5de-b9f0-5538-f5a4451aa813', '1a38d1f7-43e4-7282-41be-5ea935625014', '5ef2d010-f56c-1e0b-16b6-18eeb0cac514') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50569 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f8d4661b-b5c5-b547-7a50-a67fe5255cad' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50570 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '443f735b-cee5-ff24-c8a0-b962540d45e9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50571 | logged_duration_ms=6 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('adc04a9e-2d03-5631-13cb-9a7d820d4b22', '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320', '6199fb0d-8c52-23d9-abc9-d8456f2194a3') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50572 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6536c1be-6aa1-59ba-4a7c-0270acab3972' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50573 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid, '70370389-7911-027c-28bf-bf4fa68029f6'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid, '70370389-7911-027c-28bf-bf4fa68029f6'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50574 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0dfe5e31-8778-b4de-16a0-2a1d3cb958fe' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50575 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c', '98b09ba8-191b-0d72-fa27-04d1b79af846') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50576 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6c6e27d5-8186-2829-0b96-a90c818df4e2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50577 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1', 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09', '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50578 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '38558414-7881-5010-f0a0-c76b3b2e804f' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50579 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a56a96df-e0de-9049-4735-5140d238e96d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50580 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'feed0a6f-7745-6d06-35d8-d820861ca60b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50581 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('788d1451-c554-ff11-2a68-88c3002f3325', '78dacb4d-a99d-3632-4788-86217ed16824', '0a3265f3-9fe2-1c3b-df93-03ec4c51ba29') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50582 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d2cf51c-f970-16d1-555c-5c4d86947af7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50583 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dedff13e-d54c-3cf5-ef77-8c3375f3ef61' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50584 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3b59e38a-ece2-8076-e6c5-3bfeff404cf2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50585 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('59b34971-836d-7cea-77ce-3297c64050cb', '5776a4b9-3d20-2780-e377-e5552b385bbe', '3a73444d-b98f-14bd-8180-ea663d7694bf') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50586 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '392437a5-1132-53ab-8130-8734342cf3ba' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50587 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd3788f9d-c611-6a53-6bde-090b2dccc9a9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50588 | logged_duration_ms=5 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('f827d52e-e860-7474-011f-57725d01569a', 'f10922c0-84cf-0858-d2f8-32f4f53ebb1d') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50589 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '364d504b-c024-48b9-e98e-a660ee23917d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50590 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '302a8265-2a5b-bc56-29b7-6bb79eabb25c' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50591 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5bdcfe8b-e3a7-5f10-efa0-586f78c88275' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50592 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1ca3df55-8bcc-cc93-6fca-205d72f34331' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50593 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b7c5b543-4e33-a5de-e498-87f00b152aaf' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50594 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '59e0bffa-970b-9592-38c2-f8203c607073' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50595 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0501deac-922c-a7ff-0be2-551f0ab8e5aa' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50596 | logged_duration_ms=5 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('a190e624-f009-d834-5245-fffe4da46b84', '470ca82e-09df-e792-60e3-3f1bdd31d3a6', '91c8474b-4027-f502-c7ac-a19b96634375') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50597 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c47805c-ee91-a809-a520-dd0b871934a8' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50598 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50599 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'baf8dc26-e427-79bd-8e0a-7a1f4e8c31cf' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50600 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('fd13352b-58be-dfe2-89aa-099e12923a1f', '0935f256-bb9a-bd1b-4661-c791257891b7', '933f8997-4d19-e0b3-61eb-14ab52f60ee9') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50601 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2fb28876-d5f3-3aa8-eb13-eaa61d107996' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50602 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('944e34bf-74d1-a5f0-b05a-9f7a259145a2', 'a5740196-1ca2-d4bf-c88a-ad0ba19a1c77', 'fb2bcea5-c4b9-f075-421d-3b0c448855a4') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50603 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '867eaf01-aa76-9f13-451d-e4826049ca14' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50604 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('1a7cbb10-1f19-c4d4-9d05-6885025c9562', '992b438e-613f-d604-cb00-0fe615d02589', '30c48478-1699-cae8-42fd-05191ca2957a') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50605 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5e5583cd-c90d-447c-54c4-33245ce4b5ab' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50606 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5fa67db-3d54-95bb-1b18-16427f3d1b40' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50607 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'def9017d-ab44-6182-78f5-3402b0114c5a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50608 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1536970f-eaa6-1385-fe01-443949a26a22' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50609 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('90f13064-7065-a249-bfd5-5394a18cd7fb', '39ecd950-e043-31d2-baa9-26b653c1a9a5') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50610 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5158d33d-4dda-3d04-bb44-0892a1dc0f04' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50611 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50612 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ebbc5de4-7daf-ccc2-66c7-3a17bcef16e2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50613 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50614 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1cbf511-7054-c98c-b9bb-3e19279992f4' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50615 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #50616 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0caa83dc-145a-77ff-d159-4bf6e7d6a6de'::uuid
ORDER BY b."SortName";

-- Query #50617 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '644979cb-7255-ff8d-92ba-9d9e0d6fdda2'::uuid
ORDER BY b."SortName";

-- Query #50618 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ceabfb26-9a86-ca15-2d43-bf7977338095'::uuid
ORDER BY b."SortName";

-- Query #50619 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '32782d36-7cd9-a2dd-a758-1a0054faa833'::uuid
ORDER BY b."SortName";

-- Query #50620 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bd654a6e-b036-d959-60f4-2d6da7e2ee55'::uuid
ORDER BY b."SortName";

-- Query #50621 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b2590ae5-89f9-c00a-3b13-e5fe55522a6b'::uuid
ORDER BY b."SortName";

-- Query #50622 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8b80c011-6ec8-8ba7-f878-b79426d3672b'::uuid
ORDER BY b."SortName";

-- Query #50623 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '428689f3-786c-119c-5857-071ab81231c3'::uuid
ORDER BY b."SortName";

-- Query #50624 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7f9f3dfc-a385-85ae-3332-d60b10e76176'::uuid
ORDER BY b."SortName";

-- Query #50625 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3471c07b-fed1-989a-d895-df87fe022b03'::uuid
ORDER BY b."SortName";

-- Query #50626 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4817c647-00c0-62f4-ee28-10e5753172ea'::uuid
ORDER BY b."SortName";

-- Query #50627 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65d9b3f6-439e-ef35-7964-594eab496683'::uuid])
ORDER BY b."Id";

-- Query #50628 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['65d9b3f6-439e-ef35-7964-594eab496683'::uuid])
ORDER BY b."Id";

-- Query #50629 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['65d9b3f6-439e-ef35-7964-594eab496683'::uuid])
ORDER BY b."Id";

-- Query #50630 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['65d9b3f6-439e-ef35-7964-594eab496683'::uuid])
ORDER BY b."Id";

-- Query #50631 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['65d9b3f6-439e-ef35-7964-594eab496683'::uuid])
ORDER BY b."Id";

-- Query #50632 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65d9b3f6-439e-ef35-7964-594eab496683'::uuid
ORDER BY b."SortName";

-- Query #50633 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65007c97-dfa5-6125-b413-7dadcc66ee70'::uuid
ORDER BY b."SortName";

-- Query #50634 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid])
ORDER BY b."Id";

-- Query #50635 | logged_duration_ms=3 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid])
ORDER BY b."Id";

-- Query #50636 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid])
ORDER BY b."Id";

-- Query #50637 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid])
ORDER BY b."Id";

-- Query #50638 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid])
ORDER BY b."Id";

-- Query #50639 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid
ORDER BY b."SortName";

-- Query #50640 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7aef3290-8c98-9781-5636-31f0689108d0'::uuid, '210de091-5740-c87b-a6b3-98c4d42c8205'::uuid, '9e8453e4-f034-953a-58f8-21388807e206'::uuid, '2bcc1040-da70-1968-b487-b216050cf610'::uuid, '8ba0ff55-44fa-17f9-f89d-1394c0f07ca5'::uuid])
ORDER BY b."Id";

-- Query #50641 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['7aef3290-8c98-9781-5636-31f0689108d0'::uuid, '210de091-5740-c87b-a6b3-98c4d42c8205'::uuid, '9e8453e4-f034-953a-58f8-21388807e206'::uuid, '2bcc1040-da70-1968-b487-b216050cf610'::uuid, '8ba0ff55-44fa-17f9-f89d-1394c0f07ca5'::uuid])
ORDER BY b."Id";

-- Query #50642 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['7aef3290-8c98-9781-5636-31f0689108d0'::uuid, '210de091-5740-c87b-a6b3-98c4d42c8205'::uuid, '9e8453e4-f034-953a-58f8-21388807e206'::uuid, '2bcc1040-da70-1968-b487-b216050cf610'::uuid, '8ba0ff55-44fa-17f9-f89d-1394c0f07ca5'::uuid])
ORDER BY b."Id";

-- Query #50643 | logged_duration_ms=3 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7aef3290-8c98-9781-5636-31f0689108d0'::uuid, '210de091-5740-c87b-a6b3-98c4d42c8205'::uuid, '9e8453e4-f034-953a-58f8-21388807e206'::uuid, '2bcc1040-da70-1968-b487-b216050cf610'::uuid, '8ba0ff55-44fa-17f9-f89d-1394c0f07ca5'::uuid])
ORDER BY b."Id";

-- Query #50644 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['7aef3290-8c98-9781-5636-31f0689108d0'::uuid, '210de091-5740-c87b-a6b3-98c4d42c8205'::uuid, '9e8453e4-f034-953a-58f8-21388807e206'::uuid, '2bcc1040-da70-1968-b487-b216050cf610'::uuid, '8ba0ff55-44fa-17f9-f89d-1394c0f07ca5'::uuid])
ORDER BY b."Id";

-- Query #50645 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid
ORDER BY b."SortName";

-- Query #50646 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid
ORDER BY b."SortName";

-- Query #50647 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid
ORDER BY b."SortName";

-- Query #50648 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid
ORDER BY b."SortName";

-- Query #50649 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '26d8f0d2-7821-cede-0875-ae11abc2d327'::uuid
ORDER BY b."SortName";

-- Query #50650 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['388e9855-5c86-3545-6e73-8a74da45a67a'::uuid])
ORDER BY b."Id";

-- Query #50651 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['388e9855-5c86-3545-6e73-8a74da45a67a'::uuid])
ORDER BY b."Id";

-- Query #50652 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['388e9855-5c86-3545-6e73-8a74da45a67a'::uuid])
ORDER BY b."Id";

-- Query #50653 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['388e9855-5c86-3545-6e73-8a74da45a67a'::uuid])
ORDER BY b."Id";

-- Query #50654 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['388e9855-5c86-3545-6e73-8a74da45a67a'::uuid])
ORDER BY b."Id";

-- Query #50655 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '388e9855-5c86-3545-6e73-8a74da45a67a'::uuid
ORDER BY b."SortName";

-- Query #50656 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bfd89e31-d8f6-32cc-838c-9c95a901d00d'::uuid
ORDER BY b."SortName";

-- Query #50657 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5a744ba1-ccae-d7f1-f42e-50282ea81c51'::uuid])
ORDER BY b."Id";

-- Query #50658 | logged_duration_ms=4 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5a744ba1-ccae-d7f1-f42e-50282ea81c51'::uuid])
ORDER BY b."Id";

-- Query #50659 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5a744ba1-ccae-d7f1-f42e-50282ea81c51'::uuid])
ORDER BY b."Id";

-- Query #50660 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5a744ba1-ccae-d7f1-f42e-50282ea81c51'::uuid])
ORDER BY b."Id";

-- Query #50661 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5a744ba1-ccae-d7f1-f42e-50282ea81c51'::uuid])
ORDER BY b."Id";

-- Query #50662 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5a744ba1-ccae-d7f1-f42e-50282ea81c51'::uuid
ORDER BY b."SortName";

-- Query #50663 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '21c57fda-7b07-0d8c-673b-c25892c10b6c'::uuid
ORDER BY b."SortName";

-- Query #50664 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bda33d90-a821-e519-77ed-59d7fe2ed5b7'::uuid
ORDER BY b."SortName";

-- Query #50665 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fbcf12ae-9a59-9f2e-9663-afb21f8167bf'::uuid, 'e59badef-5dd7-11f0-7167-226eefd0d1a9'::uuid, 'cdcbb193-e9c9-eb93-a807-91e9162dedff'::uuid, '892f53f6-1083-32bf-6c5e-6d7ebaa463bd'::uuid])
ORDER BY b."Id";

-- Query #50666 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['fbcf12ae-9a59-9f2e-9663-afb21f8167bf'::uuid, 'e59badef-5dd7-11f0-7167-226eefd0d1a9'::uuid, 'cdcbb193-e9c9-eb93-a807-91e9162dedff'::uuid, '892f53f6-1083-32bf-6c5e-6d7ebaa463bd'::uuid])
ORDER BY b."Id";

-- Query #50667 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['fbcf12ae-9a59-9f2e-9663-afb21f8167bf'::uuid, 'e59badef-5dd7-11f0-7167-226eefd0d1a9'::uuid, 'cdcbb193-e9c9-eb93-a807-91e9162dedff'::uuid, '892f53f6-1083-32bf-6c5e-6d7ebaa463bd'::uuid])
ORDER BY b."Id";

-- Query #50668 | logged_duration_ms=4 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fbcf12ae-9a59-9f2e-9663-afb21f8167bf'::uuid, 'e59badef-5dd7-11f0-7167-226eefd0d1a9'::uuid, 'cdcbb193-e9c9-eb93-a807-91e9162dedff'::uuid, '892f53f6-1083-32bf-6c5e-6d7ebaa463bd'::uuid])
ORDER BY b."Id";

-- Query #50669 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['fbcf12ae-9a59-9f2e-9663-afb21f8167bf'::uuid, 'e59badef-5dd7-11f0-7167-226eefd0d1a9'::uuid, 'cdcbb193-e9c9-eb93-a807-91e9162dedff'::uuid, '892f53f6-1083-32bf-6c5e-6d7ebaa463bd'::uuid])
ORDER BY b."Id";

-- Query #50670 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '890b8c9c-da4c-29e4-fbc4-8cd2c07ab67d'::uuid
ORDER BY b."SortName";

-- Query #50671 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6eeaf7a2-1fc2-da6c-e1f3-38729d92c142'::uuid
ORDER BY b."SortName";

-- Query #50672 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1e139a74-9762-730a-b0ed-a255f1af1fa5'::uuid
ORDER BY b."SortName";

-- Query #50673 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6f05c1b0-4013-c314-c17a-3b5ffaa5cf41'::uuid
ORDER BY b."SortName";

-- Query #50674 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ea0ee360-9f80-2a7d-910b-1d20dbb2a8ac'::uuid
ORDER BY b."SortName";

-- Query #50675 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4ff3db3d-7350-44c1-8e26-68ea7a322695'::uuid
ORDER BY b."SortName";

-- Query #50676 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '830971f3-b220-061d-b328-5dae8aa791d3'::uuid
ORDER BY b."SortName";

-- Query #50677 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62d5b644-78cd-d65b-74fb-452236c4d808'::uuid])
ORDER BY b."Id";

-- Query #50678 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['62d5b644-78cd-d65b-74fb-452236c4d808'::uuid])
ORDER BY b."Id";

-- Query #50679 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['62d5b644-78cd-d65b-74fb-452236c4d808'::uuid])
ORDER BY b."Id";

-- Query #50680 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['62d5b644-78cd-d65b-74fb-452236c4d808'::uuid])
ORDER BY b."Id";

-- Query #50681 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['62d5b644-78cd-d65b-74fb-452236c4d808'::uuid])
ORDER BY b."Id";

-- Query #50682 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1719d73a-0945-a68e-9984-31a070974330'::uuid
ORDER BY b."SortName";

-- Query #50683 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7d38003d-0e7a-727d-4331-58a3c8bd1415'::uuid
ORDER BY b."SortName";

-- Query #50684 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ae9ffbc4-95dc-bd89-689b-a50e6660772f'::uuid
ORDER BY b."SortName";

-- Query #50685 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e6029f8b-d719-aadd-77ec-0af5baac5bf4'::uuid
ORDER BY b."SortName";

-- Query #50686 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '683180ca-1f73-d765-7b27-7deb1f10fa65'::uuid
ORDER BY b."SortName";

-- Query #50687 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cf59d6bf-9e71-2cec-b242-27974aae5490'::uuid
ORDER BY b."SortName";

-- Query #50688 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f59e1964-0ccb-eaa9-6381-a1ee4161f2a5'::uuid
ORDER BY b."SortName";

-- Query #50689 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '01daa3d0-f27e-3f42-476e-1dde18f645da'::uuid
ORDER BY b."SortName";

-- Query #50690 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '017f0cc2-226e-01ec-5dde-7cc30142d48a'::uuid
ORDER BY b."SortName";

-- Query #50691 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fb0725d8-60ec-b840-a018-a5a832c9f089'::uuid
ORDER BY b."SortName";

-- Query #50692 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '20d8d21b-a3c8-e73c-187c-baa1b78baffa'::uuid
ORDER BY b."SortName";

-- Query #50693 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7f507ede-d3d4-6b1e-5cd8-a67b22710b8e'::uuid
ORDER BY b."SortName";

-- Query #50694 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cdeb6174-bbfb-a725-b055-30eb56e8f91b'::uuid
ORDER BY b."SortName";

-- Query #50695 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '75bf4878-72bf-59cb-e2a0-18dd7e6e8691'::uuid
ORDER BY b."SortName";

-- Query #50696 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '16136d83-3f1f-32a3-1969-f1aec9ed2206'::uuid
ORDER BY b."SortName";

-- Query #50697 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '03739efe-8b79-0aab-9687-3bb71f3f7073'::uuid
ORDER BY b."SortName";

-- Query #50698 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c6d1e7fe-f23b-8140-b893-d6245565ecc7'::uuid
ORDER BY b."SortName";

-- Query #50699 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '06bd8eb8-107b-e39a-6d7f-2462baee9294'::uuid
ORDER BY b."SortName";

-- Query #50700 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9bca7a5b-56c0-7152-2036-60c14d765fc4'::uuid
ORDER BY b."SortName";

-- Query #50701 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8e9b5f0c-344e-b881-c6ed-948bad152e87'::uuid
ORDER BY b."SortName";

-- Query #50702 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '29000333-93a5-0ed7-bca8-9b3ab545570f'::uuid
ORDER BY b."SortName";

-- Query #50703 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b93d6b89-e396-007c-e9bb-a448d7504be5'::uuid
ORDER BY b."SortName";

-- Query #50704 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b5b69a29-2fe6-c3c7-789c-2f7cf3f1ea4d'::uuid
ORDER BY b."SortName";

-- Query #50705 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8a822870-9485-11ac-78d4-af3b877f6f7c'::uuid
ORDER BY b."SortName";

-- Query #50706 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '124f930c-bd02-b6ad-1229-79d2d5ff23d2'::uuid
ORDER BY b."SortName";

-- Query #50707 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0eb951fc-c695-3871-309c-bb6a32912045'::uuid
ORDER BY b."SortName";

-- Query #50708 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '531ff296-1f44-32b7-b1cd-98c8975c5a68'::uuid
ORDER BY b."SortName";

-- Query #50709 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '024bf6fb-7098-f618-00e8-8c4f3ac0c675'::uuid
ORDER BY b."SortName";

-- Query #50710 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd6b9159e-31d9-beba-c395-423cc2c19fd8'::uuid
ORDER BY b."SortName";

-- Query #50711 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4d915220-7c10-0e20-a585-982ceaacdd0f'::uuid
ORDER BY b."SortName";

-- Query #50712 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fee3d5f3-ceed-3a7a-ccab-7862880fa0c4'::uuid
ORDER BY b."SortName";

-- Query #50713 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2e7704b9-4803-c306-6323-ce2850f38f05'::uuid
ORDER BY b."SortName";

-- Query #50714 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '58ad11d3-402b-de29-2ac0-9baa64c06337'::uuid
ORDER BY b."SortName";

-- Query #50715 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '275df546-6923-864b-0c9f-4e3945a2ff89'::uuid
ORDER BY b."SortName";

-- Query #50716 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5f563ec1-903a-c835-2d5b-535a44524d2b'::uuid
ORDER BY b."SortName";

-- Query #50717 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7497b1f5-6b12-7ed7-2cad-59644277bb28'::uuid
ORDER BY b."SortName";

-- Query #50718 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '42fe9a1d-55a2-d1b1-b4bd-535d46551216'::uuid
ORDER BY b."SortName";

-- Query #50719 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a6e87811-285e-5ab9-6ec7-9354e19e5401'::uuid
ORDER BY b."SortName";

-- Query #50720 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b36aabc6-ba99-010b-38ee-2fc5e1d1b58e'::uuid
ORDER BY b."SortName";

-- Query #50721 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6a9c7985-d7e3-7ecb-4776-e21d337e33fe'::uuid
ORDER BY b."SortName";

-- Query #50722 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5bcbab49-6ec3-61e5-cf70-7922b1419a26'::uuid
ORDER BY b."SortName";

-- Query #50723 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ed9e3743-b973-e604-a712-f96dcc48e9ee'::uuid
ORDER BY b."SortName";

-- Query #50724 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e5d60c5-b5e4-25ce-60db-eeda8aa8ddf0'::uuid, '8ba691b1-61ff-b250-cbba-c5da80209e65'::uuid, '66aee0f4-3971-c0c0-837e-4b322596c110'::uuid, 'f0e1eacf-f980-bfe0-a8c7-45a858b15b48'::uuid, '76b8aac5-6b6b-bd4e-bc5a-cb1c1fa446cf'::uuid])
ORDER BY b."Id";

-- Query #50725 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['9e5d60c5-b5e4-25ce-60db-eeda8aa8ddf0'::uuid, '8ba691b1-61ff-b250-cbba-c5da80209e65'::uuid, '66aee0f4-3971-c0c0-837e-4b322596c110'::uuid, 'f0e1eacf-f980-bfe0-a8c7-45a858b15b48'::uuid, '76b8aac5-6b6b-bd4e-bc5a-cb1c1fa446cf'::uuid])
ORDER BY b."Id";

-- Query #50726 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['9e5d60c5-b5e4-25ce-60db-eeda8aa8ddf0'::uuid, '8ba691b1-61ff-b250-cbba-c5da80209e65'::uuid, '66aee0f4-3971-c0c0-837e-4b322596c110'::uuid, 'f0e1eacf-f980-bfe0-a8c7-45a858b15b48'::uuid, '76b8aac5-6b6b-bd4e-bc5a-cb1c1fa446cf'::uuid])
ORDER BY b."Id";

-- Query #50727 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9e5d60c5-b5e4-25ce-60db-eeda8aa8ddf0'::uuid, '8ba691b1-61ff-b250-cbba-c5da80209e65'::uuid, '66aee0f4-3971-c0c0-837e-4b322596c110'::uuid, 'f0e1eacf-f980-bfe0-a8c7-45a858b15b48'::uuid, '76b8aac5-6b6b-bd4e-bc5a-cb1c1fa446cf'::uuid])
ORDER BY b."Id";

-- Query #50728 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['9e5d60c5-b5e4-25ce-60db-eeda8aa8ddf0'::uuid, '8ba691b1-61ff-b250-cbba-c5da80209e65'::uuid, '66aee0f4-3971-c0c0-837e-4b322596c110'::uuid, 'f0e1eacf-f980-bfe0-a8c7-45a858b15b48'::uuid, '76b8aac5-6b6b-bd4e-bc5a-cb1c1fa446cf'::uuid])
ORDER BY b."Id";

-- Query #50729 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c84ee43-c194-6fea-c840-ea8ef05b8d3e'::uuid
ORDER BY b."SortName";

-- Query #50730 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, 'bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid])
ORDER BY b."Id";

-- Query #50731 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, 'bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid])
ORDER BY b."Id";

-- Query #50732 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, 'bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid])
ORDER BY b."Id";

-- Query #50733 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, 'bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid])
ORDER BY b."Id";

-- Query #50734 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, 'bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid])
ORDER BY b."Id";

-- Query #50735 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid
ORDER BY b."SortName";

-- Query #50736 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid
ORDER BY b."SortName";

-- Query #50737 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9a84f467-4e71-de27-c099-433f0406f965'::uuid
ORDER BY b."SortName";

-- Query #50738 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid
ORDER BY b."SortName";

-- Query #50739 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '67e7d66a-c804-865d-447c-1e6373a33ef2'::uuid
ORDER BY b."SortName";

-- Query #50740 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6'::uuid])
ORDER BY b."Id";

-- Query #50741 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6'::uuid])
ORDER BY b."Id";

-- Query #50742 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6'::uuid])
ORDER BY b."Id";

-- Query #50743 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6'::uuid])
ORDER BY b."Id";

-- Query #50744 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6'::uuid])
ORDER BY b."Id";

-- Query #50745 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6'::uuid
ORDER BY b."SortName";

-- Query #50746 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95017bda-a22b-3269-68f5-b857ebca838e'::uuid
ORDER BY b."SortName";

-- Query #50747 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'd2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid])
ORDER BY b."Id";

-- Query #50748 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'd2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid])
ORDER BY b."Id";

-- Query #50749 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'd2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid])
ORDER BY b."Id";

-- Query #50750 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'd2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid])
ORDER BY b."Id";

-- Query #50751 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'd2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid])
ORDER BY b."Id";

-- Query #50752 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid
ORDER BY b."SortName";

-- Query #50753 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid
ORDER BY b."SortName";

-- Query #50754 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid
ORDER BY b."SortName";

-- Query #50755 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid
ORDER BY b."SortName";

-- Query #50756 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid
ORDER BY b."SortName";

-- Query #50757 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a731a5c9-5698-9dd1-8fe4-08ffac032a49'::uuid
ORDER BY b."SortName";

-- Query #50758 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5d6c9269-2ce1-3094-10b1-2801fe38a0d6'::uuid
ORDER BY b."SortName";

-- Query #50759 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'eb0978f7-61a1-ad06-42b6-9c61f185778c'::uuid
ORDER BY b."SortName";

-- Query #50760 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c50c08ed-0bf3-8cc9-cc55-07f33712d3a8'::uuid
ORDER BY b."SortName";

-- Query #50761 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0ac9c4ad-aa48-5a54-d9e2-16499e9a300c'::uuid
ORDER BY b."SortName";

-- Query #50762 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a860b2ce-32c3-8f61-01ed-476d8e9e8d06'::uuid
ORDER BY b."SortName";

-- Query #50763 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9f61143b-ade3-864e-500a-1e8fc0b8a5ac'::uuid
ORDER BY b."SortName";

-- Query #50764 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f8044aa0-c2b5-1ecc-701b-d7960c830dc4'::uuid
ORDER BY b."SortName";

-- Query #50765 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '83e80e18-772b-3069-bb5a-b392bab0214f'::uuid
ORDER BY b."SortName";

-- Query #50766 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'efde309b-d52c-5ae6-4d70-9ec71d5ee8a8'::uuid
ORDER BY b."SortName";

-- Query #50767 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ff0217a5-5199-08c6-5f1f-92caac6ebd53'::uuid
ORDER BY b."SortName";

-- Query #50768 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1d01a73a-a415-27e6-5e4e-5cfe59b09cb9'::uuid
ORDER BY b."SortName";

-- Query #50769 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'baeb52db-c51f-92d9-daff-c20e353fd422'::uuid
ORDER BY b."SortName";

-- Query #50770 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '20b2981a-ee29-b90a-d807-d27ee61bcd10'::uuid
ORDER BY b."SortName";

-- Query #50771 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '70d5561c-79dd-8afd-9c20-d71bef012049'::uuid
ORDER BY b."SortName";

-- Query #50772 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '87b63e72-c2d0-1cf3-b5a3-8185ab03f80b'::uuid
ORDER BY b."SortName";

-- Query #50773 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0585f269-7751-c777-83dd-5a482e6c240d'::uuid
ORDER BY b."SortName";

-- Query #50774 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a1988d39-a6d7-15d2-6cc6-c5fe3dfc99f0'::uuid
ORDER BY b."SortName";

-- Query #50775 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd3b87c8d-7ccf-d2d7-d471-afaaf8a6980a'::uuid
ORDER BY b."SortName";

-- Query #50776 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3fc1cdb2-51bf-4f38-5e57-f3488e93dbf8'::uuid
ORDER BY b."SortName";

-- Query #50777 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5bef2484-ef85-799c-614e-f217f2b19f67'::uuid
ORDER BY b."SortName";

-- Query #50778 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9831807d-d67f-a53f-2da3-c335e5c3e298'::uuid
ORDER BY b."SortName";

-- Query #50779 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65b6a0e7-0527-61e6-a5a7-b7f10fe4f8cd'::uuid
ORDER BY b."SortName";

-- Query #50780 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '937e5231-fa66-3381-590b-1d12c0c308bd'::uuid
ORDER BY b."SortName";

-- Query #50781 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '16719382-ed6d-be33-d0d3-5563c16feb39'::uuid
ORDER BY b."SortName";

-- Query #50782 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6da13f04-b8c9-1ae9-cf3c-d5cc4642dfe1'::uuid
ORDER BY b."SortName";

-- Query #50783 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8291d28e-ed3c-1c9e-dc30-9cf71a694bd0'::uuid
ORDER BY b."SortName";

-- Query #50784 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8af244bb-ee51-89b3-cd07-06218511cf8a'::uuid
ORDER BY b."SortName";

-- Query #50785 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0e49a8e9-057f-d8b2-ebf1-dbc4cc42c368'::uuid
ORDER BY b."SortName";

-- Query #50786 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6629395b-bdd0-0264-e76d-ad5402fa1819'::uuid
ORDER BY b."SortName";

-- Query #50787 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'af8432e2-742b-a448-91bc-f2d6b81a5e02'::uuid
ORDER BY b."SortName";

-- Query #50788 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3844d2df-3e81-d46b-d9b6-6bae56752e43'::uuid
ORDER BY b."SortName";

-- Query #50789 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '90c7b3df-3157-413c-b3be-2d1a6a51c927'::uuid
ORDER BY b."SortName";

-- Query #50790 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '35c7f316-f5ac-edd2-edf1-591c8fc4180b'::uuid
ORDER BY b."SortName";

-- Query #50791 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '49ed849c-2ec6-772c-6653-326bb15c0aac'::uuid
ORDER BY b."SortName";

-- Query #50792 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '97acd128-cc0c-baf0-fd6e-b3148357cc99'::uuid
ORDER BY b."SortName";

-- Query #50793 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '57f85a43-7fcd-3708-58e8-c4960a1aec7a'::uuid
ORDER BY b."SortName";

-- Query #50794 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '568e61c4-95e3-05b3-66e8-f430d2f12d96'::uuid
ORDER BY b."SortName";

-- Query #50795 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c4327676-11f6-5dca-bf44-3d69af56cf76'::uuid
ORDER BY b."SortName";

-- Query #50796 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3576d9d0-ddc9-468a-e38f-80bcb2fc137c'::uuid
ORDER BY b."SortName";

-- Query #50797 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e588938f-4894-4d64-a9ce-33f503bafdaf'::uuid
ORDER BY b."SortName";

-- Query #50798 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fbf0d8d0-e2d3-4ea3-7d0b-7352569ffbc1'::uuid
ORDER BY b."SortName";

-- Query #50799 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb4ba5b1-3731-bbf4-b876-d069e120ffb0'::uuid])
ORDER BY b."Id";

-- Query #50800 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['cb4ba5b1-3731-bbf4-b876-d069e120ffb0'::uuid])
ORDER BY b."Id";

-- Query #50801 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['cb4ba5b1-3731-bbf4-b876-d069e120ffb0'::uuid])
ORDER BY b."Id";

-- Query #50802 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cb4ba5b1-3731-bbf4-b876-d069e120ffb0'::uuid])
ORDER BY b."Id";

-- Query #50803 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['cb4ba5b1-3731-bbf4-b876-d069e120ffb0'::uuid])
ORDER BY b."Id";

-- Query #50804 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cb4ba5b1-3731-bbf4-b876-d069e120ffb0'::uuid
ORDER BY b."SortName";

-- Query #50805 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8f8687f-6f12-1554-2124-f0f6d981d141'::uuid, 'bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid, '0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #50806 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f8f8687f-6f12-1554-2124-f0f6d981d141'::uuid, 'bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid, '0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #50807 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f8f8687f-6f12-1554-2124-f0f6d981d141'::uuid, 'bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid, '0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #50808 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f8f8687f-6f12-1554-2124-f0f6d981d141'::uuid, 'bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid, '0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #50809 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f8f8687f-6f12-1554-2124-f0f6d981d141'::uuid, 'bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid, '0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #50810 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '917b9517-3af3-1eef-e3a4-418161d672f7'::uuid
ORDER BY b."SortName";

-- Query #50811 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0fe16a4-4a9f-b1fe-eb2c-a266a9263143'::uuid])
ORDER BY b."Id";

-- Query #50812 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a0fe16a4-4a9f-b1fe-eb2c-a266a9263143'::uuid])
ORDER BY b."Id";

-- Query #50813 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a0fe16a4-4a9f-b1fe-eb2c-a266a9263143'::uuid])
ORDER BY b."Id";

-- Query #50814 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a0fe16a4-4a9f-b1fe-eb2c-a266a9263143'::uuid])
ORDER BY b."Id";

-- Query #50815 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a0fe16a4-4a9f-b1fe-eb2c-a266a9263143'::uuid])
ORDER BY b."Id";

-- Query #50816 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a0fe16a4-4a9f-b1fe-eb2c-a266a9263143'::uuid
ORDER BY b."SortName";

-- Query #50817 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b5580683-56d7-78f6-1364-3c71a93d626b'::uuid
ORDER BY b."SortName";

-- Query #50818 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '030d73b4-1fa0-5c45-6bc0-2a03da385f00'::uuid
ORDER BY b."SortName";

-- Query #50819 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '20ecac02-0343-3bbc-2f7b-06668f2e29cc'::uuid
ORDER BY b."SortName";

-- Query #50820 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0a67a1c4-69cd-25a0-7978-17deb24b0f08'::uuid
ORDER BY b."SortName";

-- Query #50821 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f6a50169-ceb5-32d9-f5dd-5e9d8b8ceaeb'::uuid
ORDER BY b."SortName";

-- Query #50822 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '875dd595-88ee-363c-719e-a0069fa3b56a'::uuid
ORDER BY b."SortName";

-- Query #50823 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ea3cae10-1e11-5958-ab63-7c8f12095d76'::uuid
ORDER BY b."SortName";

-- Query #50824 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '44655d0f-dcdf-0dfe-0e50-673c8c5e9157'::uuid
ORDER BY b."SortName";

-- Query #50825 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6e6b6864-859e-f692-8952-527d12f971d5'::uuid
ORDER BY b."SortName";

-- Query #50826 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '831ae975-73b8-1219-0d0c-2c4e55791b46'::uuid
ORDER BY b."SortName";

-- Query #50827 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3cfbdd43-da1a-7a86-144d-b0f757d76dce'::uuid
ORDER BY b."SortName";

-- Query #50828 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bfdb07f3-da21-9019-bc01-4a38ec84c346'::uuid
ORDER BY b."SortName";

-- Query #50829 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ae72a2ac-bf8d-8ba1-516a-5fac1108ffd7'::uuid
ORDER BY b."SortName";

-- Query #50830 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9a52e052-d290-304d-e89c-3cf3f06b0841'::uuid
ORDER BY b."SortName";

-- Query #50831 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '377afbfa-4c31-c903-c50b-a1eaba10004c'::uuid
ORDER BY b."SortName";

-- Query #50832 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5b7e94dc-76ea-1c79-cdae-0231d78cdc74'::uuid
ORDER BY b."SortName";

-- Query #50833 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e164d136-2baf-6de8-9c32-36c810274f64'::uuid
ORDER BY b."SortName";

-- Query #50834 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a67f6db9-a79d-6f9f-5e5e-4c718934ebdc'::uuid
ORDER BY b."SortName";

-- Query #50835 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '191d5823-e804-7c62-6f3c-fcd59f6a12ac'::uuid
ORDER BY b."SortName";

-- Query #50836 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9856c203-b77a-a899-91b6-d23a9b21c519'::uuid
ORDER BY b."SortName";

-- Query #50837 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0dc3d22c-6b03-76bb-28f9-838589c6757d'::uuid, '625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82'::uuid])
ORDER BY b."Id";

-- Query #50838 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0dc3d22c-6b03-76bb-28f9-838589c6757d'::uuid, '625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82'::uuid])
ORDER BY b."Id";

-- Query #50839 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['0dc3d22c-6b03-76bb-28f9-838589c6757d'::uuid, '625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82'::uuid])
ORDER BY b."Id";

-- Query #50840 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0dc3d22c-6b03-76bb-28f9-838589c6757d'::uuid, '625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82'::uuid])
ORDER BY b."Id";

-- Query #50841 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['0dc3d22c-6b03-76bb-28f9-838589c6757d'::uuid, '625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82'::uuid])
ORDER BY b."Id";

-- Query #50842 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0dc3d22c-6b03-76bb-28f9-838589c6757d'::uuid
ORDER BY b."SortName";

-- Query #50843 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82'::uuid
ORDER BY b."SortName";

-- Query #50844 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fe0a7616-1716-f0c2-bbfc-ab0a09e427d9'::uuid
ORDER BY b."SortName";

-- Query #50845 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c019971a-96ce-3216-5201-c7cd1c7c9afb'::uuid, 'e7fdade5-9216-5ecb-31c0-a06587aa9db4'::uuid])
ORDER BY b."Id";

-- Query #50846 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c019971a-96ce-3216-5201-c7cd1c7c9afb'::uuid, 'e7fdade5-9216-5ecb-31c0-a06587aa9db4'::uuid])
ORDER BY b."Id";

-- Query #50847 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c019971a-96ce-3216-5201-c7cd1c7c9afb'::uuid, 'e7fdade5-9216-5ecb-31c0-a06587aa9db4'::uuid])
ORDER BY b."Id";

-- Query #50848 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c019971a-96ce-3216-5201-c7cd1c7c9afb'::uuid, 'e7fdade5-9216-5ecb-31c0-a06587aa9db4'::uuid])
ORDER BY b."Id";

-- Query #50849 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c019971a-96ce-3216-5201-c7cd1c7c9afb'::uuid, 'e7fdade5-9216-5ecb-31c0-a06587aa9db4'::uuid])
ORDER BY b."Id";

-- Query #50850 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c019971a-96ce-3216-5201-c7cd1c7c9afb'::uuid
ORDER BY b."SortName";

-- Query #50851 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e7fdade5-9216-5ecb-31c0-a06587aa9db4'::uuid
ORDER BY b."SortName";

-- Query #50852 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0af9cc08-5b7c-6ba2-c733-925ad1fa020a'::uuid
ORDER BY b."SortName";

-- Query #50853 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1fc32fb1-1225-5038-1142-b3bbec68d1ad'::uuid])
ORDER BY b."Id";

-- Query #50854 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['1fc32fb1-1225-5038-1142-b3bbec68d1ad'::uuid])
ORDER BY b."Id";

-- Query #50855 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['1fc32fb1-1225-5038-1142-b3bbec68d1ad'::uuid])
ORDER BY b."Id";

-- Query #50856 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1fc32fb1-1225-5038-1142-b3bbec68d1ad'::uuid])
ORDER BY b."Id";

-- Query #50857 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['1fc32fb1-1225-5038-1142-b3bbec68d1ad'::uuid])
ORDER BY b."Id";

-- Query #50858 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1fc32fb1-1225-5038-1142-b3bbec68d1ad'::uuid
ORDER BY b."SortName";

-- Query #50859 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '425cfdd0-8ea5-677e-f18d-87571eee0eb7'::uuid
ORDER BY b."SortName";

-- Query #50860 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb'::uuid, 'a8784328-b2e7-c097-375d-aab560eb7e5b'::uuid])
ORDER BY b."Id";

-- Query #50861 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb'::uuid, 'a8784328-b2e7-c097-375d-aab560eb7e5b'::uuid])
ORDER BY b."Id";

-- Query #50862 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb'::uuid, 'a8784328-b2e7-c097-375d-aab560eb7e5b'::uuid])
ORDER BY b."Id";

-- Query #50863 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb'::uuid, 'a8784328-b2e7-c097-375d-aab560eb7e5b'::uuid])
ORDER BY b."Id";

-- Query #50864 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb'::uuid, 'a8784328-b2e7-c097-375d-aab560eb7e5b'::uuid])
ORDER BY b."Id";

-- Query #50865 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb'::uuid
ORDER BY b."SortName";

-- Query #50866 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a8784328-b2e7-c097-375d-aab560eb7e5b'::uuid
ORDER BY b."SortName";

-- Query #50867 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e81fefeb-9a1d-548a-67e9-dfe837512296'::uuid
ORDER BY b."SortName";

-- Query #50868 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6ecf7fa-9262-3508-5732-cfc1e107a3ca'::uuid, 'd76bf701-31bc-051b-a577-37f8dd9c1c13'::uuid])
ORDER BY b."Id";

-- Query #50869 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f6ecf7fa-9262-3508-5732-cfc1e107a3ca'::uuid, 'd76bf701-31bc-051b-a577-37f8dd9c1c13'::uuid])
ORDER BY b."Id";

-- Query #50870 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f6ecf7fa-9262-3508-5732-cfc1e107a3ca'::uuid, 'd76bf701-31bc-051b-a577-37f8dd9c1c13'::uuid])
ORDER BY b."Id";

-- Query #50871 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6ecf7fa-9262-3508-5732-cfc1e107a3ca'::uuid, 'd76bf701-31bc-051b-a577-37f8dd9c1c13'::uuid])
ORDER BY b."Id";

-- Query #50872 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f6ecf7fa-9262-3508-5732-cfc1e107a3ca'::uuid, 'd76bf701-31bc-051b-a577-37f8dd9c1c13'::uuid])
ORDER BY b."Id";

-- Query #50873 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f6ecf7fa-9262-3508-5732-cfc1e107a3ca'::uuid
ORDER BY b."SortName";

-- Query #50874 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd76bf701-31bc-051b-a577-37f8dd9c1c13'::uuid
ORDER BY b."SortName";

-- Query #50875 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '12b90cbe-75bc-aabe-c873-6fd212950702'::uuid
ORDER BY b."SortName";

-- Query #50876 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, '5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid])
ORDER BY b."Id";

-- Query #50877 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, '5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid])
ORDER BY b."Id";

-- Query #50878 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, '5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid])
ORDER BY b."Id";

-- Query #50879 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, '5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid])
ORDER BY b."Id";

-- Query #50880 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, '5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid])
ORDER BY b."Id";

-- Query #50881 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid
ORDER BY b."SortName";

-- Query #50882 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid
ORDER BY b."SortName";

-- Query #50883 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid
ORDER BY b."SortName";

-- Query #50884 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid
ORDER BY b."SortName";

-- Query #50885 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid
ORDER BY b."SortName";

-- Query #50886 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '83afa488-90fc-c2ed-d964-598f290f14c4'::uuid
ORDER BY b."SortName";

-- Query #50887 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['489e5bed-a13d-ade8-d89c-77e66ccfe662'::uuid, 'da715cca-7912-250a-35f9-f244056e77fe'::uuid])
ORDER BY b."Id";

-- Query #50888 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['489e5bed-a13d-ade8-d89c-77e66ccfe662'::uuid, 'da715cca-7912-250a-35f9-f244056e77fe'::uuid])
ORDER BY b."Id";

-- Query #50889 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['489e5bed-a13d-ade8-d89c-77e66ccfe662'::uuid, 'da715cca-7912-250a-35f9-f244056e77fe'::uuid])
ORDER BY b."Id";

-- Query #50890 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['489e5bed-a13d-ade8-d89c-77e66ccfe662'::uuid, 'da715cca-7912-250a-35f9-f244056e77fe'::uuid])
ORDER BY b."Id";

-- Query #50891 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['489e5bed-a13d-ade8-d89c-77e66ccfe662'::uuid, 'da715cca-7912-250a-35f9-f244056e77fe'::uuid])
ORDER BY b."Id";

-- Query #50892 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '489e5bed-a13d-ade8-d89c-77e66ccfe662'::uuid
ORDER BY b."SortName";

-- Query #50893 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'da715cca-7912-250a-35f9-f244056e77fe'::uuid
ORDER BY b."SortName";

-- Query #50894 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'daeae0ad-8a46-7a62-1e6d-a4312ebf5683'::uuid
ORDER BY b."SortName";

-- Query #50895 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a2efe8b5-4408-8577-6802-f12ddf495071'::uuid
ORDER BY b."SortName";

-- Query #50896 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f9e39a9b-bbc1-eba3-3bc3-10592a22e7eb'::uuid
ORDER BY b."SortName";

-- Query #50897 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '967c16e8-7bbe-2b8d-a67a-0ac86916aedd'::uuid
ORDER BY b."SortName";

-- Query #50898 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '72b87b89-7410-4694-923c-fdf591ff92b4'::uuid
ORDER BY b."SortName";

-- Query #50899 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5581a996-6773-d5fb-6de6-6db8499903f5'::uuid
ORDER BY b."SortName";

-- Query #50900 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4bee8212-da24-5029-b8c4-eaa29727c56f'::uuid
ORDER BY b."SortName";

-- Query #50901 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '20d36225-1493-381b-4048-300f93eac833'::uuid
ORDER BY b."SortName";

-- Query #50902 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ba0c77ee-4a10-f9d0-c840-cb159cb1101b'::uuid
ORDER BY b."SortName";

-- Query #50903 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7f12af9a-b2ad-ba21-082a-763ba1f7f59a'::uuid
ORDER BY b."SortName";

-- Query #50904 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid])
ORDER BY b."Id";

-- Query #50905 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid])
ORDER BY b."Id";

-- Query #50906 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid])
ORDER BY b."Id";

-- Query #50907 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid])
ORDER BY b."Id";

-- Query #50908 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid])
ORDER BY b."Id";

-- Query #50909 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid
ORDER BY b."SortName";

-- Query #50910 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '040334f6-2930-b657-a54c-d02186cbce26'::uuid
ORDER BY b."SortName";

-- Query #50911 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid
ORDER BY b."SortName";

-- Query #50912 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid
ORDER BY b."SortName";

-- Query #50913 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fd21a996-07a4-ddc8-5db7-ac1a96c9f7b2'::uuid
ORDER BY b."SortName";

-- Query #50914 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5'::uuid])
ORDER BY b."Id";

-- Query #50915 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5'::uuid])
ORDER BY b."Id";

-- Query #50916 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5'::uuid])
ORDER BY b."Id";

-- Query #50917 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5'::uuid])
ORDER BY b."Id";

-- Query #50918 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5'::uuid])
ORDER BY b."Id";

-- Query #50919 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5'::uuid
ORDER BY b."SortName";

-- Query #50920 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '345bd57a-9627-d417-dae5-2e11290de9ea'::uuid
ORDER BY b."SortName";

-- Query #50921 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd809e7e0-992e-d262-b839-a69349e9aec8'::uuid
ORDER BY b."SortName";

-- Query #50922 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '87429c25-8220-68dd-d699-a4c93e8af684'::uuid
ORDER BY b."SortName";

-- Query #50923 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3c968e08-137f-7386-a940-adf496d83dcd'::uuid
ORDER BY b."SortName";

-- Query #50924 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '840153f2-b515-be64-8892-cd3dab06253d'::uuid
ORDER BY b."SortName";

-- Query #50925 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e7d974e1-1d5d-1138-0a84-5923abaf4c8a'::uuid
ORDER BY b."SortName";

-- Query #50926 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '458b1920-efc5-d052-04bd-c3a0a33db722'::uuid
ORDER BY b."SortName";

-- Query #50927 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '69caf71d-54f9-271a-9ff1-ded645066bf4'::uuid
ORDER BY b."SortName";

-- Query #50928 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '91b60957-a5d9-7f7b-c312-b969dc0d0367'::uuid
ORDER BY b."SortName";

-- Query #50929 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1a63f2d6-a8a7-c67d-fa9b-ad83f7232976'::uuid
ORDER BY b."SortName";

-- Query #50930 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'babb452b-6ab4-306a-9449-d55cc4a915f1'::uuid
ORDER BY b."SortName";

-- Query #50931 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3';

-- Query #50932 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '83465fe6-45bb-916d-67f2-36005bdb38bc'::uuid
ORDER BY b."SortName";

-- Query #50933 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #50934 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #50935 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3';

-- Query #50936 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f423219e-2962-3484-af2c-fe07cbfe1a16'::uuid
ORDER BY b."SortName";

-- Query #50937 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '137c99c1-0b75-df0a-3d3b-5c646e38df5b'::uuid
ORDER BY b."SortName";

-- Query #50938 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0a51db07-c01b-2219-cd86-3ed68e2b430a'::uuid
ORDER BY b."SortName";

-- Query #50939 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'abfd4edd-94fc-2544-8a77-9c45e17b020e'::uuid
ORDER BY b."SortName";

-- Query #50940 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '67a1137a-8c71-da2f-177d-edb59e88c9c4'::uuid
ORDER BY b."SortName";

-- Query #50941 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3769bb32-1073-6cc3-9d83-97cfbc881e11'::uuid
ORDER BY b."SortName";

-- Query #50942 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a87f162a-6f8e-46b3-7e3b-2f456622ff2a'::uuid
ORDER BY b."SortName";

-- Query #50943 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9cb2f525-d08b-7bec-ab37-0374aac758c5'::uuid
ORDER BY b."SortName";

-- Query #50944 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3e53dd18-3eea-a033-ed24-101a1d3d536b'::uuid
ORDER BY b."SortName";

-- Query #50945 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1f9a473-6778-c5b7-1b0c-186ff17cce7d'::uuid
ORDER BY b."SortName";

-- Query #50946 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7908cf62-aebc-1674-e3c3-73e9de1a1078'::uuid
ORDER BY b."SortName";

-- Query #50947 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e60b7c31-3696-a822-1549-3078d4ba07fc'::uuid
ORDER BY b."SortName";

-- Query #50948 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0689efb-bd73-3337-3cf4-5871d6cb71d0'::uuid, '621b86bc-b2c7-4433-9893-6578f9e6b5e8'::uuid, 'a734eb90-637b-3de7-36da-6e27c9115497'::uuid])
ORDER BY b."Id";

-- Query #50949 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c0689efb-bd73-3337-3cf4-5871d6cb71d0'::uuid, '621b86bc-b2c7-4433-9893-6578f9e6b5e8'::uuid, 'a734eb90-637b-3de7-36da-6e27c9115497'::uuid])
ORDER BY b."Id";

-- Query #50950 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c0689efb-bd73-3337-3cf4-5871d6cb71d0'::uuid, '621b86bc-b2c7-4433-9893-6578f9e6b5e8'::uuid, 'a734eb90-637b-3de7-36da-6e27c9115497'::uuid])
ORDER BY b."Id";

-- Query #50951 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c0689efb-bd73-3337-3cf4-5871d6cb71d0'::uuid, '621b86bc-b2c7-4433-9893-6578f9e6b5e8'::uuid, 'a734eb90-637b-3de7-36da-6e27c9115497'::uuid])
ORDER BY b."Id";

-- Query #50952 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c0689efb-bd73-3337-3cf4-5871d6cb71d0'::uuid, '621b86bc-b2c7-4433-9893-6578f9e6b5e8'::uuid, 'a734eb90-637b-3de7-36da-6e27c9115497'::uuid])
ORDER BY b."Id";

-- Query #50953 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c0689efb-bd73-3337-3cf4-5871d6cb71d0'::uuid
ORDER BY b."SortName";

-- Query #50954 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '621b86bc-b2c7-4433-9893-6578f9e6b5e8'::uuid
ORDER BY b."SortName";

-- Query #50955 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a734eb90-637b-3de7-36da-6e27c9115497'::uuid
ORDER BY b."SortName";

-- Query #50956 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7cd25da4-30f8-4bea-bdde-ed5b3046f607'::uuid
ORDER BY b."SortName";

-- Query #50957 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7740a050-54a4-3378-02c1-9d03c6e351a5'::uuid, 'f7a77892-8190-0ebf-3cf9-063756ae7ac2'::uuid])
ORDER BY b."Id";

-- Query #50958 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['7740a050-54a4-3378-02c1-9d03c6e351a5'::uuid, 'f7a77892-8190-0ebf-3cf9-063756ae7ac2'::uuid])
ORDER BY b."Id";

-- Query #50959 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['7740a050-54a4-3378-02c1-9d03c6e351a5'::uuid, 'f7a77892-8190-0ebf-3cf9-063756ae7ac2'::uuid])
ORDER BY b."Id";

-- Query #50960 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7740a050-54a4-3378-02c1-9d03c6e351a5'::uuid, 'f7a77892-8190-0ebf-3cf9-063756ae7ac2'::uuid])
ORDER BY b."Id";

-- Query #50961 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['7740a050-54a4-3378-02c1-9d03c6e351a5'::uuid, 'f7a77892-8190-0ebf-3cf9-063756ae7ac2'::uuid])
ORDER BY b."Id";

-- Query #50962 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7740a050-54a4-3378-02c1-9d03c6e351a5'::uuid
ORDER BY b."SortName";

-- Query #50963 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f7a77892-8190-0ebf-3cf9-063756ae7ac2'::uuid
ORDER BY b."SortName";

-- Query #50964 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3f14b9fd-f609-eedd-8a69-9fc96b4748d3'::uuid
ORDER BY b."SortName";

-- Query #50965 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '51e2960f-fa9c-68b0-6717-16593685cd87'::uuid
ORDER BY b."SortName";

-- Query #50966 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1cc69f0-0b10-69ca-da15-6bac00e46ef8'::uuid
ORDER BY b."SortName";

-- Query #50967 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b7e54089-fb8e-538f-c039-1a2015c41184'::uuid
ORDER BY b."SortName";

-- Query #50968 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9d526568-2241-8828-442b-a9451bed10fd'::uuid
ORDER BY b."SortName";

-- Query #50969 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3a501b6c-e047-773e-4152-6304637eb7ba'::uuid
ORDER BY b."SortName";

-- Query #50970 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9b1285c9-f1c3-1778-7bac-01f80505043b'::uuid
ORDER BY b."SortName";

-- Query #50971 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b7eb2b18-4484-5d31-67cf-f74850d33171'::uuid
ORDER BY b."SortName";

-- Query #50972 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'df3a7eac-2c9d-ad23-81d7-1b6585287519'::uuid
ORDER BY b."SortName";

-- Query #50973 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '45f03393-3564-ead9-8e14-6f1e8459ebc9'::uuid
ORDER BY b."SortName";

-- Query #50974 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '63830cb9-9fe7-1378-6cf2-7a2155e5a48f'::uuid
ORDER BY b."SortName";

-- Query #50975 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c41cd378-ddab-439c-243c-c26e1b21bcae'::uuid
ORDER BY b."SortName";

-- Query #50976 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cbbaf98e-19c4-f5fd-1218-8091352b37be'::uuid
ORDER BY b."SortName";

-- Query #50977 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '80cb946c-775c-d465-a924-0eca95d204d4'::uuid
ORDER BY b."SortName";

-- Query #50978 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2158a16e-6c7c-ec1f-8eb7-341d7b13aa27'::uuid
ORDER BY b."SortName";

-- Query #50979 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8295d9cd-6587-203f-ae91-d617bc111377'::uuid
ORDER BY b."SortName";

-- Query #50980 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '240afffe-06cb-9fe5-7844-1d363136e6b4'::uuid
ORDER BY b."SortName";

-- Query #50981 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9b62ab44-1588-f561-e4e4-465f4f2f4e5a'::uuid
ORDER BY b."SortName";

-- Query #50982 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4ec7212a-e068-1793-71d6-6b58cd26fc3f'::uuid
ORDER BY b."SortName";

-- Query #50983 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '68495378-9683-8e0a-0be1-009af477b2d0'::uuid
ORDER BY b."SortName";

-- Query #50984 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '80def30a-63df-220f-594a-5517e25ed565'::uuid
ORDER BY b."SortName";

-- Query #50985 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd5ff6760-bba1-af74-8a4a-55967a29d6d1'::uuid
ORDER BY b."SortName";

-- Query #50986 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ee53d4d7-1546-644d-b01a-f9dd8b48b8eb'::uuid
ORDER BY b."SortName";

-- Query #50987 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1b6a6220-3ed8-21ec-f408-2e035ae566c8'::uuid
ORDER BY b."SortName";

-- Query #50988 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '13284df5-dd5b-3db8-87c2-19abf45ca4d4'::uuid
ORDER BY b."SortName";

-- Query #50989 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e183071f-c28d-397d-bfaf-0c26911f7bf0'::uuid
ORDER BY b."SortName";

-- Query #50990 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e2385908-d25a-b03d-cb38-058c6942953d'::uuid
ORDER BY b."SortName";

-- Query #50991 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, '5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid])
ORDER BY b."Id";

-- Query #50992 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, '5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid])
ORDER BY b."Id";

-- Query #50993 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, '5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid])
ORDER BY b."Id";

-- Query #50994 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, '5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid])
ORDER BY b."Id";

-- Query #50995 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, '5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid])
ORDER BY b."Id";

-- Query #50996 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid
ORDER BY b."SortName";

-- Query #50997 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a8c78802-317c-98dc-91bd-33670053710d'::uuid
ORDER BY b."SortName";

-- Query #50998 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid
ORDER BY b."SortName";

-- Query #50999 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid
ORDER BY b."SortName";

-- Query #51000 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a0d0b989-54be-247e-e122-6194598365d0'::uuid
ORDER BY b."SortName";

-- Query #51001 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0187d0b1-3a72-5f05-f134-368ea10fcd46'::uuid
ORDER BY b."SortName";

-- Query #51002 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dccd67c2-4625-716a-dcb2-73155df3c062'::uuid
ORDER BY b."SortName";

-- Query #51003 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ec5cbb22-f97b-3b26-89c4-19d60deafb6a'::uuid
ORDER BY b."SortName";

-- Query #51004 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e234d6e1-c17c-b888-0db6-b05bace3d411'::uuid
ORDER BY b."SortName";

-- Query #51005 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b6ef618c-34dd-3f06-36a8-7ea563eba524'::uuid
ORDER BY b."SortName";

-- Query #51006 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5d1cab0-8cb9-38db-740d-4fd96f034d23'::uuid
ORDER BY b."SortName";

-- Query #51007 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95414f1c-5529-2570-6939-101b34ce51ef'::uuid
ORDER BY b."SortName";

-- Query #51008 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'eefdb36e-d9a5-8df7-1794-36f100415940'::uuid
ORDER BY b."SortName";

-- Query #51009 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3b7f1d89-edc4-1ea4-360c-900ed5546790'::uuid
ORDER BY b."SortName";

-- Query #51010 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '557220c2-cda7-b5ed-7e5e-f285331cf054'::uuid
ORDER BY b."SortName";

-- Query #51011 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6cf607c6-70df-0b80-c074-862ee77e852e'::uuid
ORDER BY b."SortName";

-- Query #51012 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65c144ad-f0f0-79cc-48db-41aed89e14a7'::uuid
ORDER BY b."SortName";

-- Query #51013 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f17dc9f4-7d26-fbaf-c743-df1a3c708e00'::uuid
ORDER BY b."SortName";

-- Query #51014 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd7dbe4e5-60fc-b09c-599a-d97438a53a07'::uuid
ORDER BY b."SortName";

-- Query #51015 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '25fe2574-500d-61cd-95ce-c99b338f9aea'::uuid
ORDER BY b."SortName";

-- Query #51016 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '82229be2-ff79-e974-65ce-185f06959b2d'::uuid
ORDER BY b."SortName";

-- Query #51017 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '420020ea-b9e4-0014-e60a-d89c69d5795a'::uuid
ORDER BY b."SortName";

-- Query #51018 | logged_duration_ms=41 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:51:52.2245646Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #51019 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a8800cb9-6e82-b516-632e-6da3df103e9d'::uuid
ORDER BY b."SortName";

-- Query #51020 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '38e59457-5085-e45d-e066-5a2d208ec70c'::uuid
ORDER BY b."SortName";

-- Query #51021 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9abbbd7b-fc50-a034-abbc-c3b91ff7f774'::uuid
ORDER BY b."SortName";

-- Query #51022 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8b63dd3e-20f0-233e-7f7c-174e428406b6'::uuid
ORDER BY b."SortName";

-- Query #51023 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '94972872-c383-1076-7042-215a9b1efe53'::uuid
ORDER BY b."SortName";

-- Query #51024 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0a270fac-3b64-c982-6f0d-8934b2ec35c1'::uuid
ORDER BY b."SortName";

-- Query #51025 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3c3eed7e-9036-009b-fd63-c3e11944bc83'::uuid
ORDER BY b."SortName";

-- Query #51026 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '858c8c51-333d-b283-33c4-e6b6e0888c65'::uuid
ORDER BY b."SortName";

-- Query #51027 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '31476024-ff90-edf0-09ea-7351453c685a'::uuid
ORDER BY b."SortName";

-- Query #51028 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cb7f137f-5bc3-0784-521b-c7126ae258bd'::uuid
ORDER BY b."SortName";

-- Query #51029 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2a61e354-953e-3fb4-c6ea-76fb9e2e5aaf'::uuid
ORDER BY b."SortName";

-- Query #51030 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d8590da-99cb-7b0d-aa38-0d6cd43184c5'::uuid
ORDER BY b."SortName";

-- Query #51031 | logged_duration_ms=10 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '4f9945dd-737a-06c1-957c-b1add48e0729'::uuid])
ORDER BY b."Id";

-- Query #51032 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '4f9945dd-737a-06c1-957c-b1add48e0729'::uuid])
ORDER BY b."Id";

-- Query #51033 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '4f9945dd-737a-06c1-957c-b1add48e0729'::uuid])
ORDER BY b."Id";

-- Query #51034 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '4f9945dd-737a-06c1-957c-b1add48e0729'::uuid])
ORDER BY b."Id";

-- Query #51035 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '4f9945dd-737a-06c1-957c-b1add48e0729'::uuid])
ORDER BY b."Id";

-- Query #51036 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid
ORDER BY b."SortName";

-- Query #51037 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2662cba8-a584-767c-b4b0-047e4428377e'::uuid
ORDER BY b."SortName";

-- Query #51038 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5e286416-f17a-d649-bc86-230e88ef5723'::uuid
ORDER BY b."SortName";

-- Query #51039 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4f9945dd-737a-06c1-957c-b1add48e0729'::uuid
ORDER BY b."SortName";

-- Query #51040 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1231748-4040-f385-1976-fdc2050cd23b'::uuid
ORDER BY b."SortName";

-- Query #51041 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d196c45-f22b-11f5-5331-2a1670cba21a'::uuid, '6badd438-a057-1a5f-e8fc-248ea1b12216'::uuid])
ORDER BY b."Id";

-- Query #51042 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0d196c45-f22b-11f5-5331-2a1670cba21a'::uuid, '6badd438-a057-1a5f-e8fc-248ea1b12216'::uuid])
ORDER BY b."Id";

-- Query #51043 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['0d196c45-f22b-11f5-5331-2a1670cba21a'::uuid, '6badd438-a057-1a5f-e8fc-248ea1b12216'::uuid])
ORDER BY b."Id";

-- Query #51044 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0d196c45-f22b-11f5-5331-2a1670cba21a'::uuid, '6badd438-a057-1a5f-e8fc-248ea1b12216'::uuid])
ORDER BY b."Id";

-- Query #51045 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['0d196c45-f22b-11f5-5331-2a1670cba21a'::uuid, '6badd438-a057-1a5f-e8fc-248ea1b12216'::uuid])
ORDER BY b."Id";

-- Query #51046 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0d196c45-f22b-11f5-5331-2a1670cba21a'::uuid
ORDER BY b."SortName";

-- Query #51047 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6badd438-a057-1a5f-e8fc-248ea1b12216'::uuid
ORDER BY b."SortName";

-- Query #51048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '50fff1d8-90c5-876e-12c8-1213a48c160f'::uuid
ORDER BY b."SortName";

-- Query #51049 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['818c5991-0374-5ff7-eaf5-3d3402e07570'::uuid])
ORDER BY b."Id";

-- Query #51050 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['818c5991-0374-5ff7-eaf5-3d3402e07570'::uuid])
ORDER BY b."Id";

-- Query #51051 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['818c5991-0374-5ff7-eaf5-3d3402e07570'::uuid])
ORDER BY b."Id";

-- Query #51052 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['818c5991-0374-5ff7-eaf5-3d3402e07570'::uuid])
ORDER BY b."Id";

-- Query #51053 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['818c5991-0374-5ff7-eaf5-3d3402e07570'::uuid])
ORDER BY b."Id";

-- Query #51054 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '818c5991-0374-5ff7-eaf5-3d3402e07570'::uuid
ORDER BY b."SortName";

-- Query #51055 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a32a8dea-d832-2eb0-00d7-342898ebeeb0'::uuid
ORDER BY b."SortName";

-- Query #51056 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7'::uuid])
ORDER BY b."Id";

-- Query #51057 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7'::uuid])
ORDER BY b."Id";

-- Query #51058 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7'::uuid])
ORDER BY b."Id";

-- Query #51059 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7'::uuid])
ORDER BY b."Id";

-- Query #51060 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7'::uuid])
ORDER BY b."Id";

-- Query #51061 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7'::uuid
ORDER BY b."SortName";

-- Query #51062 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b5c1651-65d2-cee9-58be-ee60ee297627'::uuid, '91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #51063 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0b5c1651-65d2-cee9-58be-ee60ee297627'::uuid, '91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #51064 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['0b5c1651-65d2-cee9-58be-ee60ee297627'::uuid, '91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #51065 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0b5c1651-65d2-cee9-58be-ee60ee297627'::uuid, '91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #51066 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['0b5c1651-65d2-cee9-58be-ee60ee297627'::uuid, '91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #51067 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6429f9a4-3413-0282-2485-688b4391581a'::uuid
ORDER BY b."SortName";

-- Query #51068 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da886991-676e-045a-0c3e-2118892af4bf'::uuid, 'c98cedad-ca96-ba35-a759-a0347090b740'::uuid])
ORDER BY b."Id";

-- Query #51069 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['da886991-676e-045a-0c3e-2118892af4bf'::uuid, 'c98cedad-ca96-ba35-a759-a0347090b740'::uuid])
ORDER BY b."Id";

-- Query #51070 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['da886991-676e-045a-0c3e-2118892af4bf'::uuid, 'c98cedad-ca96-ba35-a759-a0347090b740'::uuid])
ORDER BY b."Id";

-- Query #51071 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['da886991-676e-045a-0c3e-2118892af4bf'::uuid, 'c98cedad-ca96-ba35-a759-a0347090b740'::uuid])
ORDER BY b."Id";

-- Query #51072 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['da886991-676e-045a-0c3e-2118892af4bf'::uuid, 'c98cedad-ca96-ba35-a759-a0347090b740'::uuid])
ORDER BY b."Id";

-- Query #51073 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'da886991-676e-045a-0c3e-2118892af4bf'::uuid
ORDER BY b."SortName";

-- Query #51074 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c98cedad-ca96-ba35-a759-a0347090b740'::uuid
ORDER BY b."SortName";

-- Query #51075 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '52e6442a-96e9-6db3-c832-9fc8ced14461'::uuid
ORDER BY b."SortName";

-- Query #51076 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid, '3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid])
ORDER BY b."Id";

-- Query #51077 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid, '3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid])
ORDER BY b."Id";

-- Query #51078 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid, '3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid])
ORDER BY b."Id";

-- Query #51079 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid, '3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid])
ORDER BY b."Id";

-- Query #51080 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid, '3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid])
ORDER BY b."Id";

-- Query #51081 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid
ORDER BY b."SortName";

-- Query #51082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid
ORDER BY b."SortName";

-- Query #51083 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid
ORDER BY b."SortName";

-- Query #51084 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid
ORDER BY b."SortName";

-- Query #51085 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '830b7464-e334-5f09-a904-9105e57bdda9'::uuid
ORDER BY b."SortName";

-- Query #51086 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d3d85c7-847b-15c2-425e-0158d26316fa'::uuid])
ORDER BY b."Id";

-- Query #51087 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['3d3d85c7-847b-15c2-425e-0158d26316fa'::uuid])
ORDER BY b."Id";

-- Query #51088 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['3d3d85c7-847b-15c2-425e-0158d26316fa'::uuid])
ORDER BY b."Id";

-- Query #51089 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3d3d85c7-847b-15c2-425e-0158d26316fa'::uuid])
ORDER BY b."Id";

-- Query #51090 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['3d3d85c7-847b-15c2-425e-0158d26316fa'::uuid])
ORDER BY b."Id";

-- Query #51091 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d3d85c7-847b-15c2-425e-0158d26316fa'::uuid
ORDER BY b."SortName";

-- Query #51092 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '491139d8-a2b9-e086-aaaf-e8acf5058be5'::uuid
ORDER BY b."SortName";

-- Query #51093 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3';

-- Query #51094 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #51095 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #51096 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5f9c71ef-e86d-993f-9610-256350c8e9aa'::uuid
ORDER BY b."SortName";

-- Query #51097 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3';

-- Query #51098 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'de5a8141-d36a-e260-6667-5069aa385875'::uuid
ORDER BY b."SortName";

-- Query #51099 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '327817c3-6733-9751-e1a6-4cb48ac272a0'::uuid
ORDER BY b."SortName";

-- Query #51100 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ba59261f-ad52-9c3a-979a-0b01da66dd21'::uuid
ORDER BY b."SortName";

-- Query #51101 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5750aa5c-eb01-2e1b-2696-02c58dc52d06'::uuid
ORDER BY b."SortName";

-- Query #51102 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a74e6de0-d25d-682b-b234-147b892cf2dd'::uuid
ORDER BY b."SortName";

-- Query #51103 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4ee4e291-4fb1-ed91-3be6-7d93f4631bbd'::uuid
ORDER BY b."SortName";

-- Query #51104 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'eb8a14fb-61e6-a981-a450-603a6fbda3c8'::uuid
ORDER BY b."SortName";

-- Query #51105 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '25dda7b1-1856-c8d2-e8fd-e9af64628651'::uuid
ORDER BY b."SortName";

-- Query #51106 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f13ea537-eaeb-321b-fd99-6741b47073da'::uuid
ORDER BY b."SortName";

-- Query #51107 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7c332632-8763-38cf-f193-8655d7151ec6'::uuid
ORDER BY b."SortName";

-- Query #51108 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '17dc81ea-2ff5-0e91-a656-aed745ff2516'::uuid
ORDER BY b."SortName";

-- Query #51109 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4989fc77-883f-b4c6-6391-90f69cf45047'::uuid
ORDER BY b."SortName";

-- Query #51110 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '67cf40b2-4805-52a7-42a3-5d821b0ed1cb'::uuid
ORDER BY b."SortName";

-- Query #51111 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '37bb1fe7-1234-b17c-e551-8da269c9e971'::uuid
ORDER BY b."SortName";

-- Query #51112 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '86678ab9-9fe6-ae2d-4c54-daa7cb8863f4'::uuid
ORDER BY b."SortName";

-- Query #51113 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'df4df278-559a-0bc8-b00e-ba60dad224df'::uuid
ORDER BY b."SortName";

-- Query #51114 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd1f48da4-3241-d1d2-0378-f001e6dcfe64'::uuid
ORDER BY b."SortName";

-- Query #51115 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a4f6dec6-15fb-acde-67f4-10a2fce5c3b3'::uuid
ORDER BY b."SortName";

-- Query #51116 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '96e6c8d3-2a80-d58a-967f-af1f15def24c'::uuid
ORDER BY b."SortName";

-- Query #51117 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd9ee758d-8937-f7ec-3a4c-56e670b11236'::uuid
ORDER BY b."SortName";

-- Query #51118 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3ad8acb7-0cec-ec64-c11b-7c0a3fcb80cd'::uuid
ORDER BY b."SortName";

-- Query #51119 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fc115745-4ed9-f8ab-357e-028bfd5f4572'::uuid
ORDER BY b."SortName";

-- Query #51120 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '92273445-2f51-41b3-77a2-4b86a11d9f34'::uuid
ORDER BY b."SortName";

-- Query #51121 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a716eca8-4125-6182-f7d4-bd8b85cc8951'::uuid, 'a93501c5-0fa3-0888-563b-81d495d9d796'::uuid])
ORDER BY b."Id";

-- Query #51122 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a716eca8-4125-6182-f7d4-bd8b85cc8951'::uuid, 'a93501c5-0fa3-0888-563b-81d495d9d796'::uuid])
ORDER BY b."Id";

-- Query #51123 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a716eca8-4125-6182-f7d4-bd8b85cc8951'::uuid, 'a93501c5-0fa3-0888-563b-81d495d9d796'::uuid])
ORDER BY b."Id";

-- Query #51124 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a716eca8-4125-6182-f7d4-bd8b85cc8951'::uuid, 'a93501c5-0fa3-0888-563b-81d495d9d796'::uuid])
ORDER BY b."Id";

-- Query #51125 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a716eca8-4125-6182-f7d4-bd8b85cc8951'::uuid, 'a93501c5-0fa3-0888-563b-81d495d9d796'::uuid])
ORDER BY b."Id";

-- Query #51126 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a716eca8-4125-6182-f7d4-bd8b85cc8951'::uuid
ORDER BY b."SortName";

-- Query #51127 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a93501c5-0fa3-0888-563b-81d495d9d796'::uuid
ORDER BY b."SortName";

-- Query #51128 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f7572de2-e6c4-8aa2-4115-35e2bebb56de'::uuid
ORDER BY b."SortName";

-- Query #51129 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ef2d010-f56c-1e0b-16b6-18eeb0cac514'::uuid, '1a38d1f7-43e4-7282-41be-5ea935625014'::uuid, 'f6c381b1-a5de-b9f0-5538-f5a4451aa813'::uuid])
ORDER BY b."Id";

-- Query #51130 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5ef2d010-f56c-1e0b-16b6-18eeb0cac514'::uuid, '1a38d1f7-43e4-7282-41be-5ea935625014'::uuid, 'f6c381b1-a5de-b9f0-5538-f5a4451aa813'::uuid])
ORDER BY b."Id";

-- Query #51131 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5ef2d010-f56c-1e0b-16b6-18eeb0cac514'::uuid, '1a38d1f7-43e4-7282-41be-5ea935625014'::uuid, 'f6c381b1-a5de-b9f0-5538-f5a4451aa813'::uuid])
ORDER BY b."Id";

-- Query #51132 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ef2d010-f56c-1e0b-16b6-18eeb0cac514'::uuid, '1a38d1f7-43e4-7282-41be-5ea935625014'::uuid, 'f6c381b1-a5de-b9f0-5538-f5a4451aa813'::uuid])
ORDER BY b."Id";

-- Query #51133 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5ef2d010-f56c-1e0b-16b6-18eeb0cac514'::uuid, '1a38d1f7-43e4-7282-41be-5ea935625014'::uuid, 'f6c381b1-a5de-b9f0-5538-f5a4451aa813'::uuid])
ORDER BY b."Id";

-- Query #51134 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5ef2d010-f56c-1e0b-16b6-18eeb0cac514'::uuid
ORDER BY b."SortName";

-- Query #51135 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1a38d1f7-43e4-7282-41be-5ea935625014'::uuid
ORDER BY b."SortName";

-- Query #51136 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f6c381b1-a5de-b9f0-5538-f5a4451aa813'::uuid
ORDER BY b."SortName";

-- Query #51137 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f8d4661b-b5c5-b547-7a50-a67fe5255cad'::uuid
ORDER BY b."SortName";

-- Query #51138 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fb8aa2b6-1b3c-d601-0def-e878b6c43f4c'::uuid
ORDER BY b."SortName";

-- Query #51139 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '979a0848-6813-0e3e-d8a0-393d668641da'::uuid
ORDER BY b."SortName";

-- Query #51140 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'be17736c-46cf-b289-35eb-a102c225e0ea'::uuid
ORDER BY b."SortName";

-- Query #51141 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3fb3e0a4-9947-89bf-de42-631a8a0e1aff'::uuid
ORDER BY b."SortName";

-- Query #51142 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd0f6b546-04f3-b11c-fa99-80739c3defe9'::uuid
ORDER BY b."SortName";

-- Query #51143 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e0d64354-ce25-05e1-7597-1f1328c0e139'::uuid
ORDER BY b."SortName";

-- Query #51144 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '26106d25-d5b1-ff3b-201d-529bb08d573b'::uuid
ORDER BY b."SortName";

-- Query #51145 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '646da138-a39c-b79f-f025-b20881c3064a'::uuid
ORDER BY b."SortName";

-- Query #51146 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '443f735b-cee5-ff24-c8a0-b962540d45e9'::uuid
ORDER BY b."SortName";

-- Query #51147 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6199fb0d-8c52-23d9-abc9-d8456f2194a3'::uuid, 'adc04a9e-2d03-5631-13cb-9a7d820d4b22'::uuid, '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320'::uuid])
ORDER BY b."Id";

-- Query #51148 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['6199fb0d-8c52-23d9-abc9-d8456f2194a3'::uuid, 'adc04a9e-2d03-5631-13cb-9a7d820d4b22'::uuid, '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320'::uuid])
ORDER BY b."Id";

-- Query #51149 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['6199fb0d-8c52-23d9-abc9-d8456f2194a3'::uuid, 'adc04a9e-2d03-5631-13cb-9a7d820d4b22'::uuid, '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320'::uuid])
ORDER BY b."Id";

-- Query #51150 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6199fb0d-8c52-23d9-abc9-d8456f2194a3'::uuid, 'adc04a9e-2d03-5631-13cb-9a7d820d4b22'::uuid, '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320'::uuid])
ORDER BY b."Id";

-- Query #51151 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['6199fb0d-8c52-23d9-abc9-d8456f2194a3'::uuid, 'adc04a9e-2d03-5631-13cb-9a7d820d4b22'::uuid, '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320'::uuid])
ORDER BY b."Id";

-- Query #51152 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6199fb0d-8c52-23d9-abc9-d8456f2194a3'::uuid
ORDER BY b."SortName";

-- Query #51153 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'adc04a9e-2d03-5631-13cb-9a7d820d4b22'::uuid
ORDER BY b."SortName";

-- Query #51154 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320'::uuid
ORDER BY b."SortName";

-- Query #51155 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6536c1be-6aa1-59ba-4a7c-0270acab3972'::uuid
ORDER BY b."SortName";

-- Query #51156 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70370389-7911-027c-28bf-bf4fa68029f6'::uuid, 'b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid])
ORDER BY b."Id";

-- Query #51157 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['70370389-7911-027c-28bf-bf4fa68029f6'::uuid, 'b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid])
ORDER BY b."Id";

-- Query #51158 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['70370389-7911-027c-28bf-bf4fa68029f6'::uuid, 'b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid])
ORDER BY b."Id";

-- Query #51159 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['70370389-7911-027c-28bf-bf4fa68029f6'::uuid, 'b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid])
ORDER BY b."Id";

-- Query #51160 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['70370389-7911-027c-28bf-bf4fa68029f6'::uuid, 'b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid])
ORDER BY b."Id";

-- Query #51161 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '70370389-7911-027c-28bf-bf4fa68029f6'::uuid
ORDER BY b."SortName";

-- Query #51162 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid
ORDER BY b."SortName";

-- Query #51163 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid
ORDER BY b."SortName";

-- Query #51164 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid
ORDER BY b."SortName";

-- Query #51165 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0dfe5e31-8778-b4de-16a0-2a1d3cb958fe'::uuid
ORDER BY b."SortName";

-- Query #51166 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['98b09ba8-191b-0d72-fa27-04d1b79af846'::uuid, '1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c'::uuid])
ORDER BY b."Id";

-- Query #51167 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['98b09ba8-191b-0d72-fa27-04d1b79af846'::uuid, '1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c'::uuid])
ORDER BY b."Id";

-- Query #51168 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['98b09ba8-191b-0d72-fa27-04d1b79af846'::uuid, '1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c'::uuid])
ORDER BY b."Id";

-- Query #51169 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['98b09ba8-191b-0d72-fa27-04d1b79af846'::uuid, '1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c'::uuid])
ORDER BY b."Id";

-- Query #51170 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['98b09ba8-191b-0d72-fa27-04d1b79af846'::uuid, '1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c'::uuid])
ORDER BY b."Id";

-- Query #51171 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '98b09ba8-191b-0d72-fa27-04d1b79af846'::uuid
ORDER BY b."SortName";

-- Query #51172 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c'::uuid
ORDER BY b."SortName";

-- Query #51173 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #51174 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #51175 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #51176 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #51177 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #51178 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6c6e27d5-8186-2829-0b96-a90c818df4e2'::uuid
ORDER BY b."SortName";

-- Query #51179 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1'::uuid, 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09'::uuid, '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02'::uuid])
ORDER BY b."Id";

-- Query #51180 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1'::uuid, 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09'::uuid, '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02'::uuid])
ORDER BY b."Id";

-- Query #51181 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1'::uuid, 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09'::uuid, '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02'::uuid])
ORDER BY b."Id";

-- Query #51182 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1'::uuid, 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09'::uuid, '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02'::uuid])
ORDER BY b."Id";

-- Query #51183 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1'::uuid, 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09'::uuid, '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02'::uuid])
ORDER BY b."Id";

-- Query #51184 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1'::uuid
ORDER BY b."SortName";

-- Query #51185 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09'::uuid
ORDER BY b."SortName";

-- Query #51186 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02'::uuid
ORDER BY b."SortName";

-- Query #51187 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '38558414-7881-5010-f0a0-c76b3b2e804f'::uuid
ORDER BY b."SortName";

-- Query #51188 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a56a96df-e0de-9049-4735-5140d238e96d'::uuid])
ORDER BY b."Id";

-- Query #51189 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a56a96df-e0de-9049-4735-5140d238e96d'::uuid])
ORDER BY b."Id";

-- Query #51190 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a56a96df-e0de-9049-4735-5140d238e96d'::uuid])
ORDER BY b."Id";

-- Query #51191 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a56a96df-e0de-9049-4735-5140d238e96d'::uuid])
ORDER BY b."Id";

-- Query #51192 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a56a96df-e0de-9049-4735-5140d238e96d'::uuid])
ORDER BY b."Id";

-- Query #51193 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a56a96df-e0de-9049-4735-5140d238e96d'::uuid
ORDER BY b."SortName";

-- Query #51194 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'feed0a6f-7745-6d06-35d8-d820861ca60b'::uuid
ORDER BY b."SortName";

-- Query #51195 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a3265f3-9fe2-1c3b-df93-03ec4c51ba29'::uuid, '788d1451-c554-ff11-2a68-88c3002f3325'::uuid, '78dacb4d-a99d-3632-4788-86217ed16824'::uuid])
ORDER BY b."Id";

-- Query #51196 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0a3265f3-9fe2-1c3b-df93-03ec4c51ba29'::uuid, '788d1451-c554-ff11-2a68-88c3002f3325'::uuid, '78dacb4d-a99d-3632-4788-86217ed16824'::uuid])
ORDER BY b."Id";

-- Query #51197 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['0a3265f3-9fe2-1c3b-df93-03ec4c51ba29'::uuid, '788d1451-c554-ff11-2a68-88c3002f3325'::uuid, '78dacb4d-a99d-3632-4788-86217ed16824'::uuid])
ORDER BY b."Id";

-- Query #51198 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0a3265f3-9fe2-1c3b-df93-03ec4c51ba29'::uuid, '788d1451-c554-ff11-2a68-88c3002f3325'::uuid, '78dacb4d-a99d-3632-4788-86217ed16824'::uuid])
ORDER BY b."Id";

-- Query #51199 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['0a3265f3-9fe2-1c3b-df93-03ec4c51ba29'::uuid, '788d1451-c554-ff11-2a68-88c3002f3325'::uuid, '78dacb4d-a99d-3632-4788-86217ed16824'::uuid])
ORDER BY b."Id";

-- Query #51200 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0a3265f3-9fe2-1c3b-df93-03ec4c51ba29'::uuid
ORDER BY b."SortName";

-- Query #51201 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '788d1451-c554-ff11-2a68-88c3002f3325'::uuid
ORDER BY b."SortName";

-- Query #51202 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '78dacb4d-a99d-3632-4788-86217ed16824'::uuid
ORDER BY b."SortName";

-- Query #51203 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d2cf51c-f970-16d1-555c-5c4d86947af7'::uuid
ORDER BY b."SortName";

-- Query #51204 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dedff13e-d54c-3cf5-ef77-8c3375f3ef61'::uuid])
ORDER BY b."Id";

-- Query #51205 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['dedff13e-d54c-3cf5-ef77-8c3375f3ef61'::uuid])
ORDER BY b."Id";

-- Query #51206 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['dedff13e-d54c-3cf5-ef77-8c3375f3ef61'::uuid])
ORDER BY b."Id";

-- Query #51207 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dedff13e-d54c-3cf5-ef77-8c3375f3ef61'::uuid])
ORDER BY b."Id";

-- Query #51208 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['dedff13e-d54c-3cf5-ef77-8c3375f3ef61'::uuid])
ORDER BY b."Id";

-- Query #51209 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dedff13e-d54c-3cf5-ef77-8c3375f3ef61'::uuid
ORDER BY b."SortName";

-- Query #51210 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3b59e38a-ece2-8076-e6c5-3bfeff404cf2'::uuid
ORDER BY b."SortName";

-- Query #51211 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5776a4b9-3d20-2780-e377-e5552b385bbe'::uuid, '3a73444d-b98f-14bd-8180-ea663d7694bf'::uuid, '59b34971-836d-7cea-77ce-3297c64050cb'::uuid])
ORDER BY b."Id";

-- Query #51212 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5776a4b9-3d20-2780-e377-e5552b385bbe'::uuid, '3a73444d-b98f-14bd-8180-ea663d7694bf'::uuid, '59b34971-836d-7cea-77ce-3297c64050cb'::uuid])
ORDER BY b."Id";

-- Query #51213 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5776a4b9-3d20-2780-e377-e5552b385bbe'::uuid, '3a73444d-b98f-14bd-8180-ea663d7694bf'::uuid, '59b34971-836d-7cea-77ce-3297c64050cb'::uuid])
ORDER BY b."Id";

-- Query #51214 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5776a4b9-3d20-2780-e377-e5552b385bbe'::uuid, '3a73444d-b98f-14bd-8180-ea663d7694bf'::uuid, '59b34971-836d-7cea-77ce-3297c64050cb'::uuid])
ORDER BY b."Id";

-- Query #51215 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5776a4b9-3d20-2780-e377-e5552b385bbe'::uuid, '3a73444d-b98f-14bd-8180-ea663d7694bf'::uuid, '59b34971-836d-7cea-77ce-3297c64050cb'::uuid])
ORDER BY b."Id";

-- Query #51216 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5776a4b9-3d20-2780-e377-e5552b385bbe'::uuid
ORDER BY b."SortName";

-- Query #51217 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3a73444d-b98f-14bd-8180-ea663d7694bf'::uuid
ORDER BY b."SortName";

-- Query #51218 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '59b34971-836d-7cea-77ce-3297c64050cb'::uuid
ORDER BY b."SortName";

-- Query #51219 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '392437a5-1132-53ab-8130-8734342cf3ba'::uuid
ORDER BY b."SortName";

-- Query #51220 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e20228be-6551-2ef6-7d45-c8983906179f'::uuid
ORDER BY b."SortName";

-- Query #51221 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a84912c5-6506-7647-3ea1-104c2d83e10b'::uuid
ORDER BY b."SortName";

-- Query #51222 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a2ae4871-f91d-8f7b-0456-d3acec033547'::uuid
ORDER BY b."SortName";

-- Query #51223 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd04dad9e-ff27-f345-7ab4-063d67e9e31a'::uuid
ORDER BY b."SortName";

-- Query #51224 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '34d263ae-510e-6163-f72b-d316e57c20ca'::uuid
ORDER BY b."SortName";

-- Query #51225 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3f0e154d-9118-0ff7-1fbe-597202b12475'::uuid
ORDER BY b."SortName";

-- Query #51226 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5259fa2-b320-b98c-1198-343d07d7c39d'::uuid
ORDER BY b."SortName";

-- Query #51227 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5038454d-1672-0789-b7b3-95a19f57d6d0'::uuid
ORDER BY b."SortName";

-- Query #51228 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd3788f9d-c611-6a53-6bde-090b2dccc9a9'::uuid
ORDER BY b."SortName";

-- Query #51229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f10922c0-84cf-0858-d2f8-32f4f53ebb1d'::uuid, 'f827d52e-e860-7474-011f-57725d01569a'::uuid])
ORDER BY b."Id";

-- Query #51230 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f10922c0-84cf-0858-d2f8-32f4f53ebb1d'::uuid, 'f827d52e-e860-7474-011f-57725d01569a'::uuid])
ORDER BY b."Id";

-- Query #51231 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f10922c0-84cf-0858-d2f8-32f4f53ebb1d'::uuid, 'f827d52e-e860-7474-011f-57725d01569a'::uuid])
ORDER BY b."Id";

-- Query #51232 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f10922c0-84cf-0858-d2f8-32f4f53ebb1d'::uuid, 'f827d52e-e860-7474-011f-57725d01569a'::uuid])
ORDER BY b."Id";

-- Query #51233 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f10922c0-84cf-0858-d2f8-32f4f53ebb1d'::uuid, 'f827d52e-e860-7474-011f-57725d01569a'::uuid])
ORDER BY b."Id";

-- Query #51234 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f10922c0-84cf-0858-d2f8-32f4f53ebb1d'::uuid
ORDER BY b."SortName";

-- Query #51235 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f827d52e-e860-7474-011f-57725d01569a'::uuid
ORDER BY b."SortName";

-- Query #51236 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '364d504b-c024-48b9-e98e-a660ee23917d'::uuid
ORDER BY b."SortName";

-- Query #51237 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['302a8265-2a5b-bc56-29b7-6bb79eabb25c'::uuid])
ORDER BY b."Id";

-- Query #51238 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['302a8265-2a5b-bc56-29b7-6bb79eabb25c'::uuid])
ORDER BY b."Id";

-- Query #51239 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['302a8265-2a5b-bc56-29b7-6bb79eabb25c'::uuid])
ORDER BY b."Id";

-- Query #51240 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['302a8265-2a5b-bc56-29b7-6bb79eabb25c'::uuid])
ORDER BY b."Id";

-- Query #51241 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['302a8265-2a5b-bc56-29b7-6bb79eabb25c'::uuid])
ORDER BY b."Id";

-- Query #51242 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '302a8265-2a5b-bc56-29b7-6bb79eabb25c'::uuid
ORDER BY b."SortName";

-- Query #51243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5bdcfe8b-e3a7-5f10-efa0-586f78c88275'::uuid
ORDER BY b."SortName";

-- Query #51244 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ca3df55-8bcc-cc93-6fca-205d72f34331'::uuid])
ORDER BY b."Id";

-- Query #51245 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['1ca3df55-8bcc-cc93-6fca-205d72f34331'::uuid])
ORDER BY b."Id";

-- Query #51246 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['1ca3df55-8bcc-cc93-6fca-205d72f34331'::uuid])
ORDER BY b."Id";

-- Query #51247 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1ca3df55-8bcc-cc93-6fca-205d72f34331'::uuid])
ORDER BY b."Id";

-- Query #51248 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['1ca3df55-8bcc-cc93-6fca-205d72f34331'::uuid])
ORDER BY b."Id";

-- Query #51249 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1ca3df55-8bcc-cc93-6fca-205d72f34331'::uuid
ORDER BY b."SortName";

-- Query #51250 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b7c5b543-4e33-a5de-e498-87f00b152aaf'::uuid
ORDER BY b."SortName";

-- Query #51251 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59e0bffa-970b-9592-38c2-f8203c607073'::uuid])
ORDER BY b."Id";

-- Query #51252 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['59e0bffa-970b-9592-38c2-f8203c607073'::uuid])
ORDER BY b."Id";

-- Query #51253 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['59e0bffa-970b-9592-38c2-f8203c607073'::uuid])
ORDER BY b."Id";

-- Query #51254 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['59e0bffa-970b-9592-38c2-f8203c607073'::uuid])
ORDER BY b."Id";

-- Query #51255 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['59e0bffa-970b-9592-38c2-f8203c607073'::uuid])
ORDER BY b."Id";

-- Query #51256 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '59e0bffa-970b-9592-38c2-f8203c607073'::uuid
ORDER BY b."SortName";

-- Query #51257 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0501deac-922c-a7ff-0be2-551f0ab8e5aa'::uuid
ORDER BY b."SortName";

-- Query #51258 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['91c8474b-4027-f502-c7ac-a19b96634375'::uuid, 'a190e624-f009-d834-5245-fffe4da46b84'::uuid, '470ca82e-09df-e792-60e3-3f1bdd31d3a6'::uuid])
ORDER BY b."Id";

-- Query #51259 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['91c8474b-4027-f502-c7ac-a19b96634375'::uuid, 'a190e624-f009-d834-5245-fffe4da46b84'::uuid, '470ca82e-09df-e792-60e3-3f1bdd31d3a6'::uuid])
ORDER BY b."Id";

-- Query #51260 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['91c8474b-4027-f502-c7ac-a19b96634375'::uuid, 'a190e624-f009-d834-5245-fffe4da46b84'::uuid, '470ca82e-09df-e792-60e3-3f1bdd31d3a6'::uuid])
ORDER BY b."Id";

-- Query #51261 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['91c8474b-4027-f502-c7ac-a19b96634375'::uuid, 'a190e624-f009-d834-5245-fffe4da46b84'::uuid, '470ca82e-09df-e792-60e3-3f1bdd31d3a6'::uuid])
ORDER BY b."Id";

-- Query #51262 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['91c8474b-4027-f502-c7ac-a19b96634375'::uuid, 'a190e624-f009-d834-5245-fffe4da46b84'::uuid, '470ca82e-09df-e792-60e3-3f1bdd31d3a6'::uuid])
ORDER BY b."Id";

-- Query #51263 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '91c8474b-4027-f502-c7ac-a19b96634375'::uuid
ORDER BY b."SortName";

-- Query #51264 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a190e624-f009-d834-5245-fffe4da46b84'::uuid
ORDER BY b."SortName";

-- Query #51265 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '470ca82e-09df-e792-60e3-3f1bdd31d3a6'::uuid
ORDER BY b."SortName";

-- Query #51266 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c47805c-ee91-a809-a520-dd0b871934a8'::uuid
ORDER BY b."SortName";

-- Query #51267 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid])
ORDER BY b."Id";

-- Query #51268 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid])
ORDER BY b."Id";

-- Query #51269 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid])
ORDER BY b."Id";

-- Query #51270 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid])
ORDER BY b."Id";

-- Query #51271 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid])
ORDER BY b."Id";

-- Query #51272 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '590efa14-2b03-cf50-a366-95e5b7261966'::uuid
ORDER BY b."SortName";

-- Query #51273 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid
ORDER BY b."SortName";

-- Query #51274 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid
ORDER BY b."SortName";

-- Query #51275 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid
ORDER BY b."SortName";

-- Query #51276 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid
ORDER BY b."SortName";

-- Query #51277 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc296f76-2556-c951-a5a1-c6cd4766c051'::uuid, '4374cf76-19d2-7f91-7d6c-889e3ceebe28'::uuid, 'e4204561-1efb-7cf7-76e9-3680f327cffa'::uuid, '7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #51278 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['cc296f76-2556-c951-a5a1-c6cd4766c051'::uuid, '4374cf76-19d2-7f91-7d6c-889e3ceebe28'::uuid, 'e4204561-1efb-7cf7-76e9-3680f327cffa'::uuid, '7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #51279 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['cc296f76-2556-c951-a5a1-c6cd4766c051'::uuid, '4374cf76-19d2-7f91-7d6c-889e3ceebe28'::uuid, 'e4204561-1efb-7cf7-76e9-3680f327cffa'::uuid, '7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #51280 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cc296f76-2556-c951-a5a1-c6cd4766c051'::uuid, '4374cf76-19d2-7f91-7d6c-889e3ceebe28'::uuid, 'e4204561-1efb-7cf7-76e9-3680f327cffa'::uuid, '7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #51281 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['cc296f76-2556-c951-a5a1-c6cd4766c051'::uuid, '4374cf76-19d2-7f91-7d6c-889e3ceebe28'::uuid, 'e4204561-1efb-7cf7-76e9-3680f327cffa'::uuid, '7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #51282 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'baf8dc26-e427-79bd-8e0a-7a1f4e8c31cf'::uuid
ORDER BY b."SortName";

-- Query #51283 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['933f8997-4d19-e0b3-61eb-14ab52f60ee9'::uuid, 'fd13352b-58be-dfe2-89aa-099e12923a1f'::uuid, '0935f256-bb9a-bd1b-4661-c791257891b7'::uuid])
ORDER BY b."Id";

-- Query #51284 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['933f8997-4d19-e0b3-61eb-14ab52f60ee9'::uuid, 'fd13352b-58be-dfe2-89aa-099e12923a1f'::uuid, '0935f256-bb9a-bd1b-4661-c791257891b7'::uuid])
ORDER BY b."Id";

-- Query #51285 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['933f8997-4d19-e0b3-61eb-14ab52f60ee9'::uuid, 'fd13352b-58be-dfe2-89aa-099e12923a1f'::uuid, '0935f256-bb9a-bd1b-4661-c791257891b7'::uuid])
ORDER BY b."Id";

-- Query #51286 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['933f8997-4d19-e0b3-61eb-14ab52f60ee9'::uuid, 'fd13352b-58be-dfe2-89aa-099e12923a1f'::uuid, '0935f256-bb9a-bd1b-4661-c791257891b7'::uuid])
ORDER BY b."Id";

-- Query #51287 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['933f8997-4d19-e0b3-61eb-14ab52f60ee9'::uuid, 'fd13352b-58be-dfe2-89aa-099e12923a1f'::uuid, '0935f256-bb9a-bd1b-4661-c791257891b7'::uuid])
ORDER BY b."Id";

-- Query #51288 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '933f8997-4d19-e0b3-61eb-14ab52f60ee9'::uuid
ORDER BY b."SortName";

-- Query #51289 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fd13352b-58be-dfe2-89aa-099e12923a1f'::uuid
ORDER BY b."SortName";

-- Query #51290 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0935f256-bb9a-bd1b-4661-c791257891b7'::uuid
ORDER BY b."SortName";

-- Query #51291 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2fb28876-d5f3-3aa8-eb13-eaa61d107996'::uuid
ORDER BY b."SortName";

-- Query #51292 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a5740196-1ca2-d4bf-c88a-ad0ba19a1c77'::uuid, 'fb2bcea5-c4b9-f075-421d-3b0c448855a4'::uuid, '944e34bf-74d1-a5f0-b05a-9f7a259145a2'::uuid])
ORDER BY b."Id";

-- Query #51293 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a5740196-1ca2-d4bf-c88a-ad0ba19a1c77'::uuid, 'fb2bcea5-c4b9-f075-421d-3b0c448855a4'::uuid, '944e34bf-74d1-a5f0-b05a-9f7a259145a2'::uuid])
ORDER BY b."Id";

-- Query #51294 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a5740196-1ca2-d4bf-c88a-ad0ba19a1c77'::uuid, 'fb2bcea5-c4b9-f075-421d-3b0c448855a4'::uuid, '944e34bf-74d1-a5f0-b05a-9f7a259145a2'::uuid])
ORDER BY b."Id";

-- Query #51295 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a5740196-1ca2-d4bf-c88a-ad0ba19a1c77'::uuid, 'fb2bcea5-c4b9-f075-421d-3b0c448855a4'::uuid, '944e34bf-74d1-a5f0-b05a-9f7a259145a2'::uuid])
ORDER BY b."Id";

-- Query #51296 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a5740196-1ca2-d4bf-c88a-ad0ba19a1c77'::uuid, 'fb2bcea5-c4b9-f075-421d-3b0c448855a4'::uuid, '944e34bf-74d1-a5f0-b05a-9f7a259145a2'::uuid])
ORDER BY b."Id";

-- Query #51297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a5740196-1ca2-d4bf-c88a-ad0ba19a1c77'::uuid
ORDER BY b."SortName";

-- Query #51298 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fb2bcea5-c4b9-f075-421d-3b0c448855a4'::uuid
ORDER BY b."SortName";

-- Query #51299 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '944e34bf-74d1-a5f0-b05a-9f7a259145a2'::uuid
ORDER BY b."SortName";

-- Query #51300 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '867eaf01-aa76-9f13-451d-e4826049ca14'::uuid
ORDER BY b."SortName";

-- Query #51301 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['992b438e-613f-d604-cb00-0fe615d02589'::uuid, '1a7cbb10-1f19-c4d4-9d05-6885025c9562'::uuid, '30c48478-1699-cae8-42fd-05191ca2957a'::uuid])
ORDER BY b."Id";

-- Query #51302 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['992b438e-613f-d604-cb00-0fe615d02589'::uuid, '1a7cbb10-1f19-c4d4-9d05-6885025c9562'::uuid, '30c48478-1699-cae8-42fd-05191ca2957a'::uuid])
ORDER BY b."Id";

-- Query #51303 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['992b438e-613f-d604-cb00-0fe615d02589'::uuid, '1a7cbb10-1f19-c4d4-9d05-6885025c9562'::uuid, '30c48478-1699-cae8-42fd-05191ca2957a'::uuid])
ORDER BY b."Id";

-- Query #51304 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['992b438e-613f-d604-cb00-0fe615d02589'::uuid, '1a7cbb10-1f19-c4d4-9d05-6885025c9562'::uuid, '30c48478-1699-cae8-42fd-05191ca2957a'::uuid])
ORDER BY b."Id";

-- Query #51305 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['992b438e-613f-d604-cb00-0fe615d02589'::uuid, '1a7cbb10-1f19-c4d4-9d05-6885025c9562'::uuid, '30c48478-1699-cae8-42fd-05191ca2957a'::uuid])
ORDER BY b."Id";

-- Query #51306 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '992b438e-613f-d604-cb00-0fe615d02589'::uuid
ORDER BY b."SortName";

-- Query #51307 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1a7cbb10-1f19-c4d4-9d05-6885025c9562'::uuid
ORDER BY b."SortName";

-- Query #51308 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '30c48478-1699-cae8-42fd-05191ca2957a'::uuid
ORDER BY b."SortName";

-- Query #51309 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5e5583cd-c90d-447c-54c4-33245ce4b5ab'::uuid
ORDER BY b."SortName";

-- Query #51310 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '683a2352-0745-ef82-55c0-ed5df5444e04'::uuid
ORDER BY b."SortName";

-- Query #51311 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1b488a45-8fa0-0e9b-042d-b2c84d3ce3f1'::uuid
ORDER BY b."SortName";

-- Query #51312 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a397f424-37d3-03f5-d006-ebd8466caae2'::uuid
ORDER BY b."SortName";

-- Query #51313 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f1f081f6-9e40-4ef7-87fc-2bcd1d185c48'::uuid
ORDER BY b."SortName";

-- Query #51314 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5beb1ac0-6564-8a82-18f2-96af8efe0c0e'::uuid
ORDER BY b."SortName";

-- Query #51315 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4799b2d8-6c3e-2428-8b99-189121e8234b'::uuid
ORDER BY b."SortName";

-- Query #51316 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e1205ec4-55a4-639f-20ad-1f6571cd7b42'::uuid
ORDER BY b."SortName";

-- Query #51317 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6a69f7d6-6712-b127-bcee-c8050c269232'::uuid
ORDER BY b."SortName";

-- Query #51318 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['324e5042-4c90-b114-940e-217110c94eea'::uuid, '971ab962-dac5-f734-d2a9-1af500f498e1'::uuid, 'fccd5d90-691c-2b37-0c7a-32edee4311f5'::uuid, '758e50a0-e740-b909-a693-211164f303e4'::uuid, '537dfcc1-0898-3041-05ea-cb3c60f4893a'::uuid])
ORDER BY b."Id";

-- Query #51319 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['324e5042-4c90-b114-940e-217110c94eea'::uuid, '971ab962-dac5-f734-d2a9-1af500f498e1'::uuid, 'fccd5d90-691c-2b37-0c7a-32edee4311f5'::uuid, '758e50a0-e740-b909-a693-211164f303e4'::uuid, '537dfcc1-0898-3041-05ea-cb3c60f4893a'::uuid])
ORDER BY b."Id";

-- Query #51320 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['324e5042-4c90-b114-940e-217110c94eea'::uuid, '971ab962-dac5-f734-d2a9-1af500f498e1'::uuid, 'fccd5d90-691c-2b37-0c7a-32edee4311f5'::uuid, '758e50a0-e740-b909-a693-211164f303e4'::uuid, '537dfcc1-0898-3041-05ea-cb3c60f4893a'::uuid])
ORDER BY b."Id";

-- Query #51321 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['324e5042-4c90-b114-940e-217110c94eea'::uuid, '971ab962-dac5-f734-d2a9-1af500f498e1'::uuid, 'fccd5d90-691c-2b37-0c7a-32edee4311f5'::uuid, '758e50a0-e740-b909-a693-211164f303e4'::uuid, '537dfcc1-0898-3041-05ea-cb3c60f4893a'::uuid])
ORDER BY b."Id";

-- Query #51322 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['324e5042-4c90-b114-940e-217110c94eea'::uuid, '971ab962-dac5-f734-d2a9-1af500f498e1'::uuid, 'fccd5d90-691c-2b37-0c7a-32edee4311f5'::uuid, '758e50a0-e740-b909-a693-211164f303e4'::uuid, '537dfcc1-0898-3041-05ea-cb3c60f4893a'::uuid])
ORDER BY b."Id";

-- Query #51323 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0046d334-c4c0-d377-9a5b-4988014df739'::uuid
ORDER BY b."SortName";

-- Query #51324 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59af6e5a-7ec8-6d8c-ed79-caa22411dbb3'::uuid, 'd981ad27-7575-0f41-ed5f-c1a5ecab057a'::uuid, 'bbba158f-3e37-ae0d-5677-edb199315a99'::uuid, '8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #51325 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['59af6e5a-7ec8-6d8c-ed79-caa22411dbb3'::uuid, 'd981ad27-7575-0f41-ed5f-c1a5ecab057a'::uuid, 'bbba158f-3e37-ae0d-5677-edb199315a99'::uuid, '8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #51326 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['59af6e5a-7ec8-6d8c-ed79-caa22411dbb3'::uuid, 'd981ad27-7575-0f41-ed5f-c1a5ecab057a'::uuid, 'bbba158f-3e37-ae0d-5677-edb199315a99'::uuid, '8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #51327 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['59af6e5a-7ec8-6d8c-ed79-caa22411dbb3'::uuid, 'd981ad27-7575-0f41-ed5f-c1a5ecab057a'::uuid, 'bbba158f-3e37-ae0d-5677-edb199315a99'::uuid, '8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #51328 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['59af6e5a-7ec8-6d8c-ed79-caa22411dbb3'::uuid, 'd981ad27-7575-0f41-ed5f-c1a5ecab057a'::uuid, 'bbba158f-3e37-ae0d-5677-edb199315a99'::uuid, '8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #51329 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5fa67db-3d54-95bb-1b18-16427f3d1b40'::uuid
ORDER BY b."SortName";

-- Query #51330 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['def9017d-ab44-6182-78f5-3402b0114c5a'::uuid])
ORDER BY b."Id";

-- Query #51331 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['def9017d-ab44-6182-78f5-3402b0114c5a'::uuid])
ORDER BY b."Id";

-- Query #51332 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['def9017d-ab44-6182-78f5-3402b0114c5a'::uuid])
ORDER BY b."Id";

-- Query #51333 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['def9017d-ab44-6182-78f5-3402b0114c5a'::uuid])
ORDER BY b."Id";

-- Query #51334 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['def9017d-ab44-6182-78f5-3402b0114c5a'::uuid])
ORDER BY b."Id";

-- Query #51335 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'def9017d-ab44-6182-78f5-3402b0114c5a'::uuid
ORDER BY b."SortName";

-- Query #51336 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1536970f-eaa6-1385-fe01-443949a26a22'::uuid
ORDER BY b."SortName";

-- Query #51337 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90f13064-7065-a249-bfd5-5394a18cd7fb'::uuid, '39ecd950-e043-31d2-baa9-26b653c1a9a5'::uuid])
ORDER BY b."Id";

-- Query #51338 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['90f13064-7065-a249-bfd5-5394a18cd7fb'::uuid, '39ecd950-e043-31d2-baa9-26b653c1a9a5'::uuid])
ORDER BY b."Id";

-- Query #51339 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['90f13064-7065-a249-bfd5-5394a18cd7fb'::uuid, '39ecd950-e043-31d2-baa9-26b653c1a9a5'::uuid])
ORDER BY b."Id";

-- Query #51340 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['90f13064-7065-a249-bfd5-5394a18cd7fb'::uuid, '39ecd950-e043-31d2-baa9-26b653c1a9a5'::uuid])
ORDER BY b."Id";

-- Query #51341 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['90f13064-7065-a249-bfd5-5394a18cd7fb'::uuid, '39ecd950-e043-31d2-baa9-26b653c1a9a5'::uuid])
ORDER BY b."Id";

-- Query #51342 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '90f13064-7065-a249-bfd5-5394a18cd7fb'::uuid
ORDER BY b."SortName";

-- Query #51343 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '39ecd950-e043-31d2-baa9-26b653c1a9a5'::uuid
ORDER BY b."SortName";

-- Query #51344 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5158d33d-4dda-3d04-bb44-0892a1dc0f04'::uuid
ORDER BY b."SortName";

-- Query #51345 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid])
ORDER BY b."Id";

-- Query #51346 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid])
ORDER BY b."Id";

-- Query #51347 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid])
ORDER BY b."Id";

-- Query #51348 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid])
ORDER BY b."Id";

-- Query #51349 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid])
ORDER BY b."Id";

-- Query #51350 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid
ORDER BY b."SortName";

-- Query #51351 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid
ORDER BY b."SortName";

-- Query #51352 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid
ORDER BY b."SortName";

-- Query #51353 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid
ORDER BY b."SortName";

-- Query #51354 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ebbc5de4-7daf-ccc2-66c7-3a17bcef16e2'::uuid
ORDER BY b."SortName";

-- Query #51355 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid])
ORDER BY b."Id";

-- Query #51356 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid])
ORDER BY b."Id";

-- Query #51357 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid])
ORDER BY b."Id";

-- Query #51358 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid])
ORDER BY b."Id";

-- Query #51359 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid])
ORDER BY b."Id";

-- Query #51360 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid
ORDER BY b."SortName";

-- Query #51361 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid
ORDER BY b."SortName";

-- Query #51362 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid
ORDER BY b."SortName";

-- Query #51363 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid
ORDER BY b."SortName";

-- Query #51364 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1cbf511-7054-c98c-b9bb-3e19279992f4'::uuid
ORDER BY b."SortName";

-- Query #51365 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae'::uuid])
ORDER BY b."Id";

-- Query #51366 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae'::uuid])
ORDER BY b."Id";

-- Query #51367 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae'::uuid])
ORDER BY b."Id";

-- Query #51368 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae'::uuid])
ORDER BY b."Id";

-- Query #51369 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae'::uuid])
ORDER BY b."Id";

-- Query #51370 | logged_duration_ms=7 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae'::uuid
ORDER BY b."SortName";

-- Query #51371 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #51372 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #51373 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4817c64700c062f4ee2810e5753172ea';

-- Query #51374 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4ff3db3d735044c18e2668ea7a322695';

-- Query #51375 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #51376 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #51377 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49';

-- Query #51378 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #51379 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #51380 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b';

-- Query #51381 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #51382 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #51383 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #51384 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #51385 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #51386 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'fbf0d8d0e2d34ea37d0b7352569ffbc1';

-- Query #51387 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '917b95173af31eefe3a4418161d672f7';

-- Query #51388 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '9856c203b77aa89991b6d23a9b21c519';

-- Query #51389 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #51390 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #51391 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '425cfdd08ea5677ef18d87571eee0eb7';

-- Query #51392 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #51393 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #51394 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '7f12af9ab2adba21082a763ba1f7f59a';

-- Query #51395 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #51396 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #51397 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3';

-- Query #51398 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #51399 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #51400 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0187d0b13a725f05f134368ea10fcd46';

-- Query #51401 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #51402 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #51403 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '922734452f5141b377a24b86a11d9f34';

-- Query #51404 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #51405 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #51406 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f7572de2e6c48aa2411535e2bebb56de';

-- Query #51407 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f88f563-e9ed-5d68-8ce8-527a2ba38669'::uuid])
ORDER BY b."Id";

-- Query #51408 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5f88f563-e9ed-5d68-8ce8-527a2ba38669'::uuid])
ORDER BY b."Id";

-- Query #51409 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f8d4661bb5c5b5477a50a67fe5255cad';

-- Query #51410 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #51411 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #51412 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0dfe5e318778b4de16a02a1d3cb958fe';

-- Query #51413 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #51414 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #51415 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #51416 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #51417 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #51418 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b7c5b5434e33a5dee49887f00b152aaf';

-- Query #51419 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b';

-- Query #51420 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #51421 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #51422 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b';

-- Query #51423 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."ParentIndexNumber", b."IndexNumber";

-- Query #51424 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ac1f597-d4f4-a0f8-54a9-84cffd1e25ff'::uuid])
ORDER BY b."Id";

-- Query #51425 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ac1f597-d4f4-a0f8-54a9-84cffd1e25ff'::uuid])
ORDER BY b."Id";

-- Query #51426 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #51427 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #51428 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51429 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #51430 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #51431 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51432 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51433 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #51434 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51435 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51436 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51437 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51438 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51439 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '900b967abc72f17c8e83407025d67d21';

-- Query #51440 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '9f6eb51660d07683bdbb1a85b7d7e289';

-- Query #51441 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '345bd57a9627d417dae52e11290de9ea';

-- Query #51442 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '400582efb5d0d45a44fa21e89f536db9';

-- Query #51443 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'bf9aee6f64b15f44b0db7e4819d5d2c2';

-- Query #51444 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #51445 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #51446 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #51447 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0a554afe0dc4922757e2fccc9d6df01d';

-- Query #51448 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #51449 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #51450 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4817c64700c062f4ee2810e5753172ea';

-- Query #51451 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51452 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'd3041ca2c32f63f2382b8893a93e0814';

-- Query #51453 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'cca28369125c5b2a60db4f22dabd8d1e';

-- Query #51454 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '67e7d66ac804865d447c1e6373a33ef2';

-- Query #51455 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b7ad75b66c32fee16cf77aa89485b975';

-- Query #51456 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'e81fefeb9a1d548a67e9dfe837512296';

-- Query #51457 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f61f2e88c1168249eca4f869dd6921c0';

-- Query #51458 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '25a423229362eebc37756ac83231b8a9';

-- Query #51459 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '00cf3a2eb420297e661bc12dc570ce1e';

-- Query #51460 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a3cdde76ee4b22ad7ff52b9f141670ef';

-- Query #51461 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #51462 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #51463 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49';

-- Query #51464 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'ed2e56fba9ab1496287ccdb9b9789be3';

-- Query #51465 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'e2385908d25ab03dcb38058c6942953d';

-- Query #51466 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51467 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51468 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51469 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51470 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51471 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51472 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51473 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51474 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51475 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51476 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51477 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51478 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51479 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51480 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51481 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51482 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51483 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51484 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #51485 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51486 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51487 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #51488 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51489 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51490 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51491 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51492 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51493 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #51494 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51495 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51496 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #51497 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51498 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51499 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #51500 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51501 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #51502 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51503 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #51504 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51505 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51506 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #51507 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51508 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51509 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51510 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #51511 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51512 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51513 | logged_duration_ms=23 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:52:23.4724488Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #51514 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51515 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51516 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51517 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51518 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51519 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51520 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51521 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51522 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51523 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51524 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51525 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51526 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51527 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51528 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51529 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51530 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51531 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51532 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51533 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51534 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51535 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51536 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51537 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51538 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51539 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51540 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51541 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51542 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51543 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51544 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51545 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51546 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51547 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51548 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51549 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51550 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51551 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51552 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51553 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51554 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51555 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51556 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51557 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51558 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51559 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51560 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51561 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51562 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51563 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51564 | logged_duration_ms=28 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:54:52.2247957Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #51565 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51566 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51567 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51568 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51569 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51570 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51571 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51572 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51573 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51574 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51575 | logged_duration_ms=28 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:55:23.4944581Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #51576 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51577 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51578 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51579 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51580 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51581 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51582 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51583 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51584 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51585 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51586 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51587 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51588 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51589 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51590 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51591 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51592 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51593 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51594 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51595 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51596 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51597 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51598 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51599 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51600 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51601 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51602 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51603 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51604 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51605 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51606 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51607 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51608 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51609 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51610 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51611 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51612 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51613 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51614 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51615 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51616 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51617 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51618 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51619 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51620 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51621 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51622 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51623 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51624 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51625 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51626 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51627 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51628 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51629 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51630 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51631 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51632 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51633 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51634 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51635 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51636 | logged_duration_ms=13 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-14T23:58:23.5162700Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #51637 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51638 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51639 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51640 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51641 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51642 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51643 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51644 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51645 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51646 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51647 | logged_duration_ms=13 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-14T23:58:52.2175806Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #51648 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51649 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51650 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51651 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51652 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51653 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51654 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51655 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51656 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51657 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51658 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51659 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51660 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51661 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51662 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51663 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51664 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51665 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51666 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51667 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51668 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51669 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51670 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51671 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51672 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51673 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51674 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51675 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51676 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51677 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51678 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51679 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51680 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51681 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51682 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51683 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51684 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51685 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51686 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51687 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51688 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51689 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51690 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51691 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51692 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51693 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51694 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51695 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51696 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51697 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51698 | logged_duration_ms=20 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:01:23.5546811Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #51699 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51700 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51701 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51702 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51703 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51704 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51705 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51706 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51707 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51708 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51709 | logged_duration_ms=27 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:01:52.2191371Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #51710 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51711 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51712 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51713 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51714 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51715 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51716 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51717 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51718 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51719 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51720 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51721 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51722 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51723 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51724 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51725 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51726 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51727 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51728 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51729 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51730 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51731 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51732 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51733 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51734 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51735 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51736 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51737 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51738 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51739 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51740 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51741 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51742 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51743 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51744 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51745 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51746 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51747 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51748 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51749 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51750 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51751 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51752 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51753 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51754 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51755 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51756 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51757 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51758 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51759 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51760 | logged_duration_ms=16 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:04:23.5879059Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #51761 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51762 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51763 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51764 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51765 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51766 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51767 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51768 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51769 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51770 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51771 | logged_duration_ms=5 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:04:52.2208730Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #51772 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51773 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51774 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51775 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51776 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51777 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51778 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51779 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51780 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51781 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51782 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51783 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51784 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51785 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51786 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51787 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51788 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51789 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51790 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51791 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51792 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51793 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51794 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51795 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51796 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51797 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51798 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51799 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51800 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51801 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51802 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51803 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51804 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51805 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51806 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51807 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51808 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51809 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51810 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51811 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51812 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51813 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51814 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51815 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51816 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51817 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51818 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51819 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51820 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51821 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51822 | logged_duration_ms=24 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:07:23.6119368Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #51823 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51824 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51825 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51826 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51827 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51828 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51829 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51830 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51831 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51832 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51833 | logged_duration_ms=25 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:07:52.2228278Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #51834 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51835 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51836 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51837 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51838 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51839 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51840 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51841 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51842 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51843 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51844 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51845 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51846 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51847 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51848 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51849 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51850 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51851 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51852 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51853 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51854 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51855 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51856 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51857 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51858 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51859 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51860 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51861 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51862 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51863 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51864 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51865 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51866 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51867 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51868 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51869 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51870 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51871 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51872 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51873 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51874 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51875 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51876 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51877 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51878 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51879 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51880 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51881 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51882 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51883 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51884 | logged_duration_ms=17 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:10:23.6520941Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #51885 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51886 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51887 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51888 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51889 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51890 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51891 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51892 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51893 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51894 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51895 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51896 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51897 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51898 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51899 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51900 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51901 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51902 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #51903 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ac1f597-d4f4-a0f8-54a9-84cffd1e25ff'::uuid])
ORDER BY b."Id";

-- Query #51904 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ac1f597-d4f4-a0f8-54a9-84cffd1e25ff'::uuid])
ORDER BY b."Id";

-- Query #51905 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #51906 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #51907 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #51908 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid])
ORDER BY b."Id";

-- Query #51909 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid])
ORDER BY b."Id";

-- Query #51910 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #51911 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #51912 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #51913 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f1d568f-b87b-06ac-77ba-8838c8e7d5bd'::uuid])
ORDER BY b."Id";

-- Query #51914 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8f1d568f-b87b-06ac-77ba-8838c8e7d5bd'::uuid])
ORDER BY b."Id";

-- Query #51915 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ddb7188e-68b7-0c58-4245-24dd86a3df88'::uuid])
ORDER BY b."Id";

-- Query #51916 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ddb7188e-68b7-0c58-4245-24dd86a3df88'::uuid])
ORDER BY b."Id";

-- Query #51917 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d321256d-c9dc-e30c-1d86-5d426da5733c'::uuid])
ORDER BY b."Id";

-- Query #51918 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d321256d-c9dc-e30c-1d86-5d426da5733c'::uuid])
ORDER BY b."Id";

-- Query #51919 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e577761-8a76-8e97-6589-90d23f2093a7'::uuid])
ORDER BY b."Id";

-- Query #51920 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8e577761-8a76-8e97-6589-90d23f2093a7'::uuid])
ORDER BY b."Id";

-- Query #51921 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #51922 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #51923 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #51924 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87b82b0a-a4cc-5ca7-b957-96ef60c520af'::uuid])
ORDER BY b."Id";

-- Query #51925 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['87b82b0a-a4cc-5ca7-b957-96ef60c520af'::uuid])
ORDER BY b."Id";

-- Query #51926 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['adeb4298-ecd0-a1c9-525b-010ade28d52c'::uuid])
ORDER BY b."Id";

-- Query #51927 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['adeb4298-ecd0-a1c9-525b-010ade28d52c'::uuid])
ORDER BY b."Id";

-- Query #51928 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be6ebf61-c299-dc82-1ed3-8fc970db31c2'::uuid])
ORDER BY b."Id";

-- Query #51929 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['be6ebf61-c299-dc82-1ed3-8fc970db31c2'::uuid])
ORDER BY b."Id";

-- Query #51930 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09766f22-bc8c-777e-0b29-71ffec477d6d'::uuid])
ORDER BY b."Id";

-- Query #51931 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['09766f22-bc8c-777e-0b29-71ffec477d6d'::uuid])
ORDER BY b."Id";

-- Query #51932 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bb60dbe0-4be5-7884-ae1d-25d13edf7d29'::uuid])
ORDER BY b."Id";

-- Query #51933 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bb60dbe0-4be5-7884-ae1d-25d13edf7d29'::uuid])
ORDER BY b."Id";

-- Query #51934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #51935 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #51936 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c8d42f5-c610-1587-fced-cf827c03819c'::uuid])
ORDER BY b."Id";

-- Query #51937 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2c8d42f5-c610-1587-fced-cf827c03819c'::uuid])
ORDER BY b."Id";

-- Query #51938 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid])
ORDER BY b."Id";

-- Query #51939 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid])
ORDER BY b."Id";

-- Query #51940 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid])
ORDER BY b."Id";

-- Query #51941 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid])
ORDER BY b."Id";

-- Query #51942 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c5709788-9ee7-edc3-b6ed-6ed5f1667b43'::uuid])
ORDER BY b."Id";

-- Query #51943 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c5709788-9ee7-edc3-b6ed-6ed5f1667b43'::uuid])
ORDER BY b."Id";

-- Query #51944 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid])
ORDER BY b."Id";

-- Query #51945 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid])
ORDER BY b."Id";

-- Query #51946 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid])
ORDER BY b."Id";

-- Query #51947 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid])
ORDER BY b."Id";

-- Query #51948 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea19fc70-4a6d-e9bb-90c3-e1ee88705353'::uuid])
ORDER BY b."Id";

-- Query #51949 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ea19fc70-4a6d-e9bb-90c3-e1ee88705353'::uuid])
ORDER BY b."Id";

-- Query #51950 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c596aa1-313a-c4fb-7a22-2b4e505c1b40'::uuid])
ORDER BY b."Id";

-- Query #51951 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5c596aa1-313a-c4fb-7a22-2b4e505c1b40'::uuid])
ORDER BY b."Id";

-- Query #51952 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02df129f-145c-a229-3c0c-12df9cf14dec'::uuid])
ORDER BY b."Id";

-- Query #51953 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02df129f-145c-a229-3c0c-12df9cf14dec'::uuid])
ORDER BY b."Id";

-- Query #51954 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb637533-c776-74c7-929b-c478a0b03630'::uuid])
ORDER BY b."Id";

-- Query #51955 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cb637533-c776-74c7-929b-c478a0b03630'::uuid])
ORDER BY b."Id";

-- Query #51956 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['319c6125-2b77-53ab-e7d4-3477630cca62'::uuid])
ORDER BY b."Id";

-- Query #51957 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['319c6125-2b77-53ab-e7d4-3477630cca62'::uuid])
ORDER BY b."Id";

-- Query #51958 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #51959 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #51960 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0e70355f-3c81-a1f4-9011-1499de1d1f5a'::uuid])
ORDER BY b."Id";

-- Query #51961 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0e70355f-3c81-a1f4-9011-1499de1d1f5a'::uuid])
ORDER BY b."Id";

-- Query #51962 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid])
ORDER BY b."Id";

-- Query #51963 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid])
ORDER BY b."Id";

-- Query #51964 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid])
ORDER BY b."Id";

-- Query #51965 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid])
ORDER BY b."Id";

-- Query #51966 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0afe66a2-e52a-a150-f911-29f2f5240ec8'::uuid])
ORDER BY b."Id";

-- Query #51967 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0afe66a2-e52a-a150-f911-29f2f5240ec8'::uuid])
ORDER BY b."Id";

-- Query #51968 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid])
ORDER BY b."Id";

-- Query #51969 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid])
ORDER BY b."Id";

-- Query #51970 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid])
ORDER BY b."Id";

-- Query #51971 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid])
ORDER BY b."Id";

-- Query #51972 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d0e8c64-cfeb-aee4-7d21-4055ae62c629'::uuid])
ORDER BY b."Id";

-- Query #51973 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4d0e8c64-cfeb-aee4-7d21-4055ae62c629'::uuid])
ORDER BY b."Id";

-- Query #51974 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d467c08-9d3b-9b04-a7af-8c1d42d6fc9d'::uuid])
ORDER BY b."Id";

-- Query #51975 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3d467c08-9d3b-9b04-a7af-8c1d42d6fc9d'::uuid])
ORDER BY b."Id";

-- Query #51976 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a2c19f3-ad9a-ace8-c5d8-64968f51c57f'::uuid])
ORDER BY b."Id";

-- Query #51977 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6a2c19f3-ad9a-ace8-c5d8-64968f51c57f'::uuid])
ORDER BY b."Id";

-- Query #51978 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db809b1a-9b11-9fb1-c514-651619de9aea'::uuid])
ORDER BY b."Id";

-- Query #51979 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db809b1a-9b11-9fb1-c514-651619de9aea'::uuid])
ORDER BY b."Id";

-- Query #51980 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid])
ORDER BY b."Id";

-- Query #51981 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid])
ORDER BY b."Id";

-- Query #51982 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ec1a4f04-ee2a-87e7-b2d2-b580ffd2fc1d'::uuid])
ORDER BY b."Id";

-- Query #51983 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ec1a4f04-ee2a-87e7-b2d2-b580ffd2fc1d'::uuid])
ORDER BY b."Id";

-- Query #51984 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['778abd5f-c961-a0c6-3bbe-7faafece69bb'::uuid])
ORDER BY b."Id";

-- Query #51985 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['778abd5f-c961-a0c6-3bbe-7faafece69bb'::uuid])
ORDER BY b."Id";

-- Query #51986 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65bbe3a9-29f9-237c-2062-1309f1c90b9d'::uuid])
ORDER BY b."Id";

-- Query #51987 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['65bbe3a9-29f9-237c-2062-1309f1c90b9d'::uuid])
ORDER BY b."Id";

-- Query #51988 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce8bc917-f6e0-babb-383a-30fd3c8ee8a3'::uuid])
ORDER BY b."Id";

-- Query #51989 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ce8bc917-f6e0-babb-383a-30fd3c8ee8a3'::uuid])
ORDER BY b."Id";

-- Query #51990 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid])
ORDER BY b."Id";

-- Query #51991 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid])
ORDER BY b."Id";

-- Query #51992 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid])
ORDER BY b."Id";

-- Query #51993 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid])
ORDER BY b."Id";

-- Query #51994 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7709df0e-ac6e-2e39-2b15-ca745085588f'::uuid])
ORDER BY b."Id";

-- Query #51995 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7709df0e-ac6e-2e39-2b15-ca745085588f'::uuid])
ORDER BY b."Id";

-- Query #51996 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7053f957-b113-a47d-b47b-566e2d8ee9b6'::uuid])
ORDER BY b."Id";

-- Query #51997 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7053f957-b113-a47d-b47b-566e2d8ee9b6'::uuid])
ORDER BY b."Id";

-- Query #51998 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2444f5a1-d213-6f0c-ad04-75cbbd9d850a'::uuid])
ORDER BY b."Id";

-- Query #51999 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2444f5a1-d213-6f0c-ad04-75cbbd9d850a'::uuid])
ORDER BY b."Id";

-- Query #52000 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid])
ORDER BY b."Id";

-- Query #52001 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid])
ORDER BY b."Id";

-- Query #52002 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ecdcb7e-3040-46da-26dc-73090db5fc3e'::uuid])
ORDER BY b."Id";

-- Query #52003 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ecdcb7e-3040-46da-26dc-73090db5fc3e'::uuid])
ORDER BY b."Id";

-- Query #52004 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14fc0d9f-b6db-e92c-492a-9eb99ecd88b2'::uuid])
ORDER BY b."Id";

-- Query #52005 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['14fc0d9f-b6db-e92c-492a-9eb99ecd88b2'::uuid])
ORDER BY b."Id";

-- Query #52006 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid])
ORDER BY b."Id";

-- Query #52007 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid])
ORDER BY b."Id";

-- Query #52008 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid])
ORDER BY b."Id";

-- Query #52009 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid])
ORDER BY b."Id";

-- Query #52010 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['86b7c33f-1299-e5a1-e6f5-9241af4964f4'::uuid])
ORDER BY b."Id";

-- Query #52011 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['86b7c33f-1299-e5a1-e6f5-9241af4964f4'::uuid])
ORDER BY b."Id";

-- Query #52012 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['168b21a2-7bd9-56f5-bc74-39ca6c48c100'::uuid])
ORDER BY b."Id";

-- Query #52013 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['168b21a2-7bd9-56f5-bc74-39ca6c48c100'::uuid])
ORDER BY b."Id";

-- Query #52014 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d3fdbf8-ef7f-7cb4-a2fa-f01310c6a5bb'::uuid])
ORDER BY b."Id";

-- Query #52015 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4d3fdbf8-ef7f-7cb4-a2fa-f01310c6a5bb'::uuid])
ORDER BY b."Id";

-- Query #52016 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a58281c-9cb5-c45d-9d2a-62f76666f17e'::uuid])
ORDER BY b."Id";

-- Query #52017 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0a58281c-9cb5-c45d-9d2a-62f76666f17e'::uuid])
ORDER BY b."Id";

-- Query #52018 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2dc1c5fe-f48d-5c72-8c4f-42861212079a'::uuid])
ORDER BY b."Id";

-- Query #52019 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2dc1c5fe-f48d-5c72-8c4f-42861212079a'::uuid])
ORDER BY b."Id";

-- Query #52020 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b24ffc32-3f3c-8776-b136-237262a14ee3'::uuid])
ORDER BY b."Id";

-- Query #52021 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b24ffc32-3f3c-8776-b136-237262a14ee3'::uuid])
ORDER BY b."Id";

-- Query #52022 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e069c64-ce26-88c9-709a-b86a20d9dd10'::uuid])
ORDER BY b."Id";

-- Query #52023 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e069c64-ce26-88c9-709a-b86a20d9dd10'::uuid])
ORDER BY b."Id";

-- Query #52024 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9c5232f-d8ea-14dd-7413-d25eb82e81ad'::uuid])
ORDER BY b."Id";

-- Query #52025 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9c5232f-d8ea-14dd-7413-d25eb82e81ad'::uuid])
ORDER BY b."Id";

-- Query #52026 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8726348-6252-b4aa-ddbf-d9a0e62d1c06'::uuid])
ORDER BY b."Id";

-- Query #52027 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a8726348-6252-b4aa-ddbf-d9a0e62d1c06'::uuid])
ORDER BY b."Id";

-- Query #52028 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2313c7bc-3892-72fc-d164-dfec5877174a'::uuid])
ORDER BY b."Id";

-- Query #52029 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2313c7bc-3892-72fc-d164-dfec5877174a'::uuid])
ORDER BY b."Id";

-- Query #52030 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dc4b67d8-9286-29c6-e478-4424b6ee2ecd'::uuid])
ORDER BY b."Id";

-- Query #52031 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dc4b67d8-9286-29c6-e478-4424b6ee2ecd'::uuid])
ORDER BY b."Id";

-- Query #52032 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90ab5e2d-f184-ac44-5e9b-08eae41d168b'::uuid])
ORDER BY b."Id";

-- Query #52033 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['90ab5e2d-f184-ac44-5e9b-08eae41d168b'::uuid])
ORDER BY b."Id";

-- Query #52034 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['60caa77b-62ed-9bb8-3732-702e9d4f5a7d'::uuid])
ORDER BY b."Id";

-- Query #52035 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['60caa77b-62ed-9bb8-3732-702e9d4f5a7d'::uuid])
ORDER BY b."Id";

-- Query #52036 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1600b77-6dfe-36f0-6908-9fa1405f9064'::uuid])
ORDER BY b."Id";

-- Query #52037 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b1600b77-6dfe-36f0-6908-9fa1405f9064'::uuid])
ORDER BY b."Id";

-- Query #52038 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1a36532-ad39-9309-8331-44828f1274a3'::uuid])
ORDER BY b."Id";

-- Query #52039 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1a36532-ad39-9309-8331-44828f1274a3'::uuid])
ORDER BY b."Id";

-- Query #52040 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da00bccf-2dc5-ba50-9b75-b12fb56300fb'::uuid])
ORDER BY b."Id";

-- Query #52041 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['da00bccf-2dc5-ba50-9b75-b12fb56300fb'::uuid])
ORDER BY b."Id";

-- Query #52042 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1cdd5223-ee61-8bc7-98ff-e9cb8008ab65'::uuid])
ORDER BY b."Id";

-- Query #52043 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1cdd5223-ee61-8bc7-98ff-e9cb8008ab65'::uuid])
ORDER BY b."Id";

-- Query #52044 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efb7a9eb-65da-e626-f887-33f20d22fbdf'::uuid])
ORDER BY b."Id";

-- Query #52045 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['efb7a9eb-65da-e626-f887-33f20d22fbdf'::uuid])
ORDER BY b."Id";

-- Query #52046 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aefd1f7b-f282-0f8a-900c-34c5d058cbe7'::uuid])
ORDER BY b."Id";

-- Query #52047 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aefd1f7b-f282-0f8a-900c-34c5d058cbe7'::uuid])
ORDER BY b."Id";

-- Query #52048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b53873f5-9823-4fb3-20bc-f11b23b8079e'::uuid])
ORDER BY b."Id";

-- Query #52049 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b53873f5-9823-4fb3-20bc-f11b23b8079e'::uuid])
ORDER BY b."Id";

-- Query #52050 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['388d0482-c7eb-072e-bbdd-11e3e57669d1'::uuid])
ORDER BY b."Id";

-- Query #52051 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['388d0482-c7eb-072e-bbdd-11e3e57669d1'::uuid])
ORDER BY b."Id";

-- Query #52052 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['22ba4a6f-a798-a781-797e-be9dd6158fbb'::uuid])
ORDER BY b."Id";

-- Query #52053 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['22ba4a6f-a798-a781-797e-be9dd6158fbb'::uuid])
ORDER BY b."Id";

-- Query #52054 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e283f8c3-d6d8-a6f4-0323-b9c14b2c3ca3'::uuid])
ORDER BY b."Id";

-- Query #52055 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e283f8c3-d6d8-a6f4-0323-b9c14b2c3ca3'::uuid])
ORDER BY b."Id";

-- Query #52056 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8750530-8478-0ddc-9308-1dab760a6f7f'::uuid])
ORDER BY b."Id";

-- Query #52057 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8750530-8478-0ddc-9308-1dab760a6f7f'::uuid])
ORDER BY b."Id";

-- Query #52058 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06b1d9b6-3b10-6584-67b3-757949b47ef6'::uuid])
ORDER BY b."Id";

-- Query #52059 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['06b1d9b6-3b10-6584-67b3-757949b47ef6'::uuid])
ORDER BY b."Id";

-- Query #52060 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef70c153-8bd3-a5d7-9c6d-43c4b25afbfa'::uuid])
ORDER BY b."Id";

-- Query #52061 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ef70c153-8bd3-a5d7-9c6d-43c4b25afbfa'::uuid])
ORDER BY b."Id";

-- Query #52062 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2995edb5-6ee5-2ea2-befb-95c6a069d6c3'::uuid])
ORDER BY b."Id";

-- Query #52063 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2995edb5-6ee5-2ea2-befb-95c6a069d6c3'::uuid])
ORDER BY b."Id";

-- Query #52064 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #52065 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b479b9ed-5acb-13e7-0e60-1dab94d748c8'::uuid])
ORDER BY b."Id";

-- Query #52066 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b479b9ed-5acb-13e7-0e60-1dab94d748c8'::uuid])
ORDER BY b."Id";

-- Query #52067 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['555ae87b-bc66-ff05-ce89-8f1606209f7d'::uuid])
ORDER BY b."Id";

-- Query #52068 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['555ae87b-bc66-ff05-ce89-8f1606209f7d'::uuid])
ORDER BY b."Id";

-- Query #52069 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b7ef8e0-234b-8620-7a71-688a9be1185e'::uuid])
ORDER BY b."Id";

-- Query #52070 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5b7ef8e0-234b-8620-7a71-688a9be1185e'::uuid])
ORDER BY b."Id";

-- Query #52071 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b953d630-212b-2c27-d1d4-916a6df9a392'::uuid])
ORDER BY b."Id";

-- Query #52072 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b953d630-212b-2c27-d1d4-916a6df9a392'::uuid])
ORDER BY b."Id";

-- Query #52073 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99eeff66-b008-2d29-1ac4-92ea901a6380'::uuid])
ORDER BY b."Id";

-- Query #52074 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['99eeff66-b008-2d29-1ac4-92ea901a6380'::uuid])
ORDER BY b."Id";

-- Query #52075 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7c7c2852-1372-70e3-2e80-42e858762885'::uuid])
ORDER BY b."Id";

-- Query #52076 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7c7c2852-1372-70e3-2e80-42e858762885'::uuid])
ORDER BY b."Id";

-- Query #52077 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f1102928-47d8-1b21-bf24-bd60475a82ab'::uuid])
ORDER BY b."Id";

-- Query #52078 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f1102928-47d8-1b21-bf24-bd60475a82ab'::uuid])
ORDER BY b."Id";

-- Query #52079 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db165369-91eb-9ab8-e025-398b2bb30c24'::uuid])
ORDER BY b."Id";

-- Query #52080 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db165369-91eb-9ab8-e025-398b2bb30c24'::uuid])
ORDER BY b."Id";

-- Query #52081 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #52082 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #52083 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['93c42163-4ffe-8700-41eb-7c227f0dc2a8'::uuid])
ORDER BY b."Id";

-- Query #52084 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['93c42163-4ffe-8700-41eb-7c227f0dc2a8'::uuid])
ORDER BY b."Id";

-- Query #52085 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1e8de46-a4f3-ae19-5c9c-9f1d694b883e'::uuid])
ORDER BY b."Id";

-- Query #52086 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b1e8de46-a4f3-ae19-5c9c-9f1d694b883e'::uuid])
ORDER BY b."Id";

-- Query #52087 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['567f6f19-d0a1-a111-f66b-e24e5acdfeea'::uuid])
ORDER BY b."Id";

-- Query #52088 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['567f6f19-d0a1-a111-f66b-e24e5acdfeea'::uuid])
ORDER BY b."Id";

-- Query #52089 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9fec77e-706a-1e0e-9313-0c47f61337f9'::uuid])
ORDER BY b."Id";

-- Query #52090 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a9fec77e-706a-1e0e-9313-0c47f61337f9'::uuid])
ORDER BY b."Id";

-- Query #52091 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df9cd5e2-8849-395c-f362-d1abc7aac511'::uuid])
ORDER BY b."Id";

-- Query #52092 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['df9cd5e2-8849-395c-f362-d1abc7aac511'::uuid])
ORDER BY b."Id";

-- Query #52093 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['22933ce3-c07d-79c6-90aa-9416018c0892'::uuid])
ORDER BY b."Id";

-- Query #52094 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['22933ce3-c07d-79c6-90aa-9416018c0892'::uuid])
ORDER BY b."Id";

-- Query #52095 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['96cf2ebb-c0d0-c512-e5f1-184401e8054d'::uuid])
ORDER BY b."Id";

-- Query #52096 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['96cf2ebb-c0d0-c512-e5f1-184401e8054d'::uuid])
ORDER BY b."Id";

-- Query #52097 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1278eba6-f5f8-a5a0-9739-560e78baa1a7'::uuid])
ORDER BY b."Id";

-- Query #52098 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1278eba6-f5f8-a5a0-9739-560e78baa1a7'::uuid])
ORDER BY b."Id";

-- Query #52099 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f0072258-d601-4deb-6acc-c3a0aa69afb9'::uuid])
ORDER BY b."Id";

-- Query #52100 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f0072258-d601-4deb-6acc-c3a0aa69afb9'::uuid])
ORDER BY b."Id";

-- Query #52101 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a2512e-5a5f-c707-7495-40dfc5691d6b'::uuid])
ORDER BY b."Id";

-- Query #52102 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a2512e-5a5f-c707-7495-40dfc5691d6b'::uuid])
ORDER BY b."Id";

-- Query #52103 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e8b13fd5-58de-82ce-5497-581555e35ee0'::uuid])
ORDER BY b."Id";

-- Query #52104 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e8b13fd5-58de-82ce-5497-581555e35ee0'::uuid])
ORDER BY b."Id";

-- Query #52105 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e8057291-7f5b-7ae7-e671-b8fba9c96ede'::uuid])
ORDER BY b."Id";

-- Query #52106 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e8057291-7f5b-7ae7-e671-b8fba9c96ede'::uuid])
ORDER BY b."Id";

-- Query #52107 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0af041ba-02ac-3e39-61fe-366bc35fec8f'::uuid])
ORDER BY b."Id";

-- Query #52108 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0af041ba-02ac-3e39-61fe-366bc35fec8f'::uuid])
ORDER BY b."Id";

-- Query #52109 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['34543129-3e23-306e-c7f6-aef74d17c3da'::uuid])
ORDER BY b."Id";

-- Query #52110 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['34543129-3e23-306e-c7f6-aef74d17c3da'::uuid])
ORDER BY b."Id";

-- Query #52111 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8061cfd4-9fe9-d693-1303-faa8978fbb06'::uuid])
ORDER BY b."Id";

-- Query #52112 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8061cfd4-9fe9-d693-1303-faa8978fbb06'::uuid])
ORDER BY b."Id";

-- Query #52113 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90fdbe99-0657-f399-8269-4ed0e23ff104'::uuid])
ORDER BY b."Id";

-- Query #52114 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['90fdbe99-0657-f399-8269-4ed0e23ff104'::uuid])
ORDER BY b."Id";

-- Query #52115 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24215374-1245-3c78-90db-9b8f1dbacff3'::uuid])
ORDER BY b."Id";

-- Query #52116 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['24215374-1245-3c78-90db-9b8f1dbacff3'::uuid])
ORDER BY b."Id";

-- Query #52117 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8410871c-1ff9-d70f-13a2-d8659106923b'::uuid])
ORDER BY b."Id";

-- Query #52118 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8410871c-1ff9-d70f-13a2-d8659106923b'::uuid])
ORDER BY b."Id";

-- Query #52119 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b91d970d-1f79-4481-e731-a05b85890074'::uuid])
ORDER BY b."Id";

-- Query #52120 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b91d970d-1f79-4481-e731-a05b85890074'::uuid])
ORDER BY b."Id";

-- Query #52121 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ae2cbb2-e735-7ff1-7295-91b7b9016660'::uuid])
ORDER BY b."Id";

-- Query #52122 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2ae2cbb2-e735-7ff1-7295-91b7b9016660'::uuid])
ORDER BY b."Id";

-- Query #52123 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['298bf295-a314-eae0-1b6d-9f96af2528ce'::uuid])
ORDER BY b."Id";

-- Query #52124 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['298bf295-a314-eae0-1b6d-9f96af2528ce'::uuid])
ORDER BY b."Id";

-- Query #52125 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07263db0-c737-3ad2-13f9-46b2aac847d4'::uuid])
ORDER BY b."Id";

-- Query #52126 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['07263db0-c737-3ad2-13f9-46b2aac847d4'::uuid])
ORDER BY b."Id";

-- Query #52127 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ca7e9c7-7aa8-e329-ac9b-8800b73319fc'::uuid])
ORDER BY b."Id";

-- Query #52128 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7ca7e9c7-7aa8-e329-ac9b-8800b73319fc'::uuid])
ORDER BY b."Id";

-- Query #52129 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39f6ead0-7ee0-b4a7-cdb4-b25de31bb4e4'::uuid])
ORDER BY b."Id";

-- Query #52130 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39f6ead0-7ee0-b4a7-cdb4-b25de31bb4e4'::uuid])
ORDER BY b."Id";

-- Query #52131 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67c15c4b-a184-d890-d68d-b112a0e1b8aa'::uuid])
ORDER BY b."Id";

-- Query #52132 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['67c15c4b-a184-d890-d68d-b112a0e1b8aa'::uuid])
ORDER BY b."Id";

-- Query #52133 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9634134-1641-d609-aba6-31b443cd46d1'::uuid])
ORDER BY b."Id";

-- Query #52134 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f9634134-1641-d609-aba6-31b443cd46d1'::uuid])
ORDER BY b."Id";

-- Query #52135 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30fc819d-e173-646a-1c70-62dd7dc32b0d'::uuid])
ORDER BY b."Id";

-- Query #52136 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['30fc819d-e173-646a-1c70-62dd7dc32b0d'::uuid])
ORDER BY b."Id";

-- Query #52137 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['590b0f07-d497-1c8d-2ea9-7e562032c519'::uuid])
ORDER BY b."Id";

-- Query #52138 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['590b0f07-d497-1c8d-2ea9-7e562032c519'::uuid])
ORDER BY b."Id";

-- Query #52139 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f758a60-05e9-d25b-1ffc-d5d64b140842'::uuid])
ORDER BY b."Id";

-- Query #52140 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4f758a60-05e9-d25b-1ffc-d5d64b140842'::uuid])
ORDER BY b."Id";

-- Query #52141 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ef4abe1-edba-9524-ecef-41635df61147'::uuid])
ORDER BY b."Id";

-- Query #52142 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7ef4abe1-edba-9524-ecef-41635df61147'::uuid])
ORDER BY b."Id";

-- Query #52143 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5def979-9791-b191-3c7b-5bf1df354580'::uuid])
ORDER BY b."Id";

-- Query #52144 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f5def979-9791-b191-3c7b-5bf1df354580'::uuid])
ORDER BY b."Id";

-- Query #52145 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80152a32-1ae9-b76c-a9d8-f3b0ac274e94'::uuid])
ORDER BY b."Id";

-- Query #52146 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['80152a32-1ae9-b76c-a9d8-f3b0ac274e94'::uuid])
ORDER BY b."Id";

-- Query #52147 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6bef8e0d-5a02-ae06-d625-414cd949fb76'::uuid])
ORDER BY b."Id";

-- Query #52148 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6bef8e0d-5a02-ae06-d625-414cd949fb76'::uuid])
ORDER BY b."Id";

-- Query #52149 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ebd27ac-0569-658f-94f2-de30bdf2d0d8'::uuid])
ORDER BY b."Id";

-- Query #52150 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3ebd27ac-0569-658f-94f2-de30bdf2d0d8'::uuid])
ORDER BY b."Id";

-- Query #52151 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3bbcc162-f72b-4605-ced1-a948b9803171'::uuid])
ORDER BY b."Id";

-- Query #52152 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3bbcc162-f72b-4605-ced1-a948b9803171'::uuid])
ORDER BY b."Id";

-- Query #52153 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38d7c03d-5337-4e48-d002-3e1f9901ef90'::uuid])
ORDER BY b."Id";

-- Query #52154 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['38d7c03d-5337-4e48-d002-3e1f9901ef90'::uuid])
ORDER BY b."Id";

-- Query #52155 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['713c7a51-25df-b08c-0842-b7d1ddbca250'::uuid])
ORDER BY b."Id";

-- Query #52156 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['713c7a51-25df-b08c-0842-b7d1ddbca250'::uuid])
ORDER BY b."Id";

-- Query #52157 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['430f1f61-77f6-a8c0-9d60-9a2044e6bcdd'::uuid])
ORDER BY b."Id";

-- Query #52158 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['430f1f61-77f6-a8c0-9d60-9a2044e6bcdd'::uuid])
ORDER BY b."Id";

-- Query #52159 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d0ce473c-1bdb-c6fb-0f31-5e81316f9b58'::uuid])
ORDER BY b."Id";

-- Query #52160 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d0ce473c-1bdb-c6fb-0f31-5e81316f9b58'::uuid])
ORDER BY b."Id";

-- Query #52161 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65bb6ebd-891f-3dbf-0337-e46e67388a5b'::uuid])
ORDER BY b."Id";

-- Query #52162 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['65bb6ebd-891f-3dbf-0337-e46e67388a5b'::uuid])
ORDER BY b."Id";

-- Query #52163 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b6d2b080-2cb8-fa40-b9db-aadd9bc3f246'::uuid])
ORDER BY b."Id";

-- Query #52164 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b6d2b080-2cb8-fa40-b9db-aadd9bc3f246'::uuid])
ORDER BY b."Id";

-- Query #52165 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d8919cc-4e38-6819-872e-f5b6cc22f3d3'::uuid])
ORDER BY b."Id";

-- Query #52166 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6d8919cc-4e38-6819-872e-f5b6cc22f3d3'::uuid])
ORDER BY b."Id";

-- Query #52167 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24447a01-a55e-db71-0eb5-70aab460db9c'::uuid])
ORDER BY b."Id";

-- Query #52168 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['24447a01-a55e-db71-0eb5-70aab460db9c'::uuid])
ORDER BY b."Id";

-- Query #52169 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3586909c-202e-946f-fe57-197198b0f54b'::uuid])
ORDER BY b."Id";

-- Query #52170 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3586909c-202e-946f-fe57-197198b0f54b'::uuid])
ORDER BY b."Id";

-- Query #52171 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3a2dcc-3db0-64f4-0dc2-eb013478168e'::uuid])
ORDER BY b."Id";

-- Query #52172 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3a2dcc-3db0-64f4-0dc2-eb013478168e'::uuid])
ORDER BY b."Id";

-- Query #52173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['678a5837-783a-4f4a-98c9-76345f66a54d'::uuid])
ORDER BY b."Id";

-- Query #52174 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['678a5837-783a-4f4a-98c9-76345f66a54d'::uuid])
ORDER BY b."Id";

-- Query #52175 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d9ac2db-4d2b-1a47-dc26-4d87b2ea6afc'::uuid])
ORDER BY b."Id";

-- Query #52176 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0d9ac2db-4d2b-1a47-dc26-4d87b2ea6afc'::uuid])
ORDER BY b."Id";

-- Query #52177 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0342930e-a2f9-680d-1fc2-a59153d08aa1'::uuid])
ORDER BY b."Id";

-- Query #52178 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0342930e-a2f9-680d-1fc2-a59153d08aa1'::uuid])
ORDER BY b."Id";

-- Query #52179 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dbaa3310-a5dc-8f62-7a89-999a6e89055f'::uuid])
ORDER BY b."Id";

-- Query #52180 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dbaa3310-a5dc-8f62-7a89-999a6e89055f'::uuid])
ORDER BY b."Id";

-- Query #52181 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b811542b-1088-5c14-20fc-3596a643bcb0'::uuid])
ORDER BY b."Id";

-- Query #52182 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b811542b-1088-5c14-20fc-3596a643bcb0'::uuid])
ORDER BY b."Id";

-- Query #52183 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80d5c1d6-bad2-a87f-4490-33816d75296b'::uuid])
ORDER BY b."Id";

-- Query #52184 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['80d5c1d6-bad2-a87f-4490-33816d75296b'::uuid])
ORDER BY b."Id";

-- Query #52185 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c17474f-7e51-9252-6d0d-5b40c28a8d87'::uuid])
ORDER BY b."Id";

-- Query #52186 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1c17474f-7e51-9252-6d0d-5b40c28a8d87'::uuid])
ORDER BY b."Id";

-- Query #52187 | logged_duration_ms=7 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4fbb138f-5ff9-2aa8-3213-c74c1edcb46b'::uuid])
ORDER BY b."Id";

-- Query #52188 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4fbb138f-5ff9-2aa8-3213-c74c1edcb46b'::uuid])
ORDER BY b."Id";

-- Query #52189 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11f6eb02-da5e-a9f2-aaae-2cb44af5a1bc'::uuid])
ORDER BY b."Id";

-- Query #52190 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['11f6eb02-da5e-a9f2-aaae-2cb44af5a1bc'::uuid])
ORDER BY b."Id";

-- Query #52191 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d0e1e26-117f-2062-00cf-eccadb4942ce'::uuid])
ORDER BY b."Id";

-- Query #52192 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2d0e1e26-117f-2062-00cf-eccadb4942ce'::uuid])
ORDER BY b."Id";

-- Query #52193 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6e069be-3424-77a8-2a34-b9dd34b1ea11'::uuid])
ORDER BY b."Id";

-- Query #52194 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e6e069be-3424-77a8-2a34-b9dd34b1ea11'::uuid])
ORDER BY b."Id";

-- Query #52195 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42d5a53e-ef58-a50a-8a93-6fdfbb7dff8f'::uuid])
ORDER BY b."Id";

-- Query #52196 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['42d5a53e-ef58-a50a-8a93-6fdfbb7dff8f'::uuid])
ORDER BY b."Id";

-- Query #52197 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d1b242b-5b65-c0a2-4446-5c1f12484333'::uuid])
ORDER BY b."Id";

-- Query #52198 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5d1b242b-5b65-c0a2-4446-5c1f12484333'::uuid])
ORDER BY b."Id";

-- Query #52199 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f370d46-4d24-4ff8-1c6d-1b26954013fb'::uuid])
ORDER BY b."Id";

-- Query #52200 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5f370d46-4d24-4ff8-1c6d-1b26954013fb'::uuid])
ORDER BY b."Id";

-- Query #52201 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56fad623-52ca-e5e0-8f4f-0b65a1208d46'::uuid])
ORDER BY b."Id";

-- Query #52202 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['56fad623-52ca-e5e0-8f4f-0b65a1208d46'::uuid])
ORDER BY b."Id";

-- Query #52203 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72afa170-7f4c-7b31-0ac0-cf0b14085cd3'::uuid])
ORDER BY b."Id";

-- Query #52204 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72afa170-7f4c-7b31-0ac0-cf0b14085cd3'::uuid])
ORDER BY b."Id";

-- Query #52205 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e3075b2-8487-d943-e911-d3d433077c8f'::uuid])
ORDER BY b."Id";

-- Query #52206 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2e3075b2-8487-d943-e911-d3d433077c8f'::uuid])
ORDER BY b."Id";

-- Query #52207 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e18f3d79-e0e6-fbef-e267-32010a25c348'::uuid])
ORDER BY b."Id";

-- Query #52208 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e18f3d79-e0e6-fbef-e267-32010a25c348'::uuid])
ORDER BY b."Id";

-- Query #52209 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07db2a9f-db10-0207-1c24-e71b2986a80c'::uuid])
ORDER BY b."Id";

-- Query #52210 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['07db2a9f-db10-0207-1c24-e71b2986a80c'::uuid])
ORDER BY b."Id";

-- Query #52211 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5e51774-1ad8-ea2b-285c-330364356071'::uuid])
ORDER BY b."Id";

-- Query #52212 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b5e51774-1ad8-ea2b-285c-330364356071'::uuid])
ORDER BY b."Id";

-- Query #52213 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7b1d8a29-7e7a-a563-daea-1da5ebfccbab'::uuid])
ORDER BY b."Id";

-- Query #52214 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7b1d8a29-7e7a-a563-daea-1da5ebfccbab'::uuid])
ORDER BY b."Id";

-- Query #52215 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['abaa894a-c054-3798-6825-f3fb09a9c1e3'::uuid])
ORDER BY b."Id";

-- Query #52216 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['abaa894a-c054-3798-6825-f3fb09a9c1e3'::uuid])
ORDER BY b."Id";

-- Query #52217 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['15b050b3-5fc5-c1ae-a89e-9e9d665ab10e'::uuid])
ORDER BY b."Id";

-- Query #52218 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['15b050b3-5fc5-c1ae-a89e-9e9d665ab10e'::uuid])
ORDER BY b."Id";

-- Query #52219 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a45df22-fe06-1662-fa01-0b04612d9332'::uuid])
ORDER BY b."Id";

-- Query #52220 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9a45df22-fe06-1662-fa01-0b04612d9332'::uuid])
ORDER BY b."Id";

-- Query #52221 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c21be72b-e39e-3033-31c3-e428b8e56721'::uuid])
ORDER BY b."Id";

-- Query #52222 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c21be72b-e39e-3033-31c3-e428b8e56721'::uuid])
ORDER BY b."Id";

-- Query #52223 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d38ef0ae-1b75-ca72-ac3e-f7168168b77b'::uuid])
ORDER BY b."Id";

-- Query #52224 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d38ef0ae-1b75-ca72-ac3e-f7168168b77b'::uuid])
ORDER BY b."Id";

-- Query #52225 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f0886225-32c9-3e5e-a940-f90b1f4b4e9c'::uuid])
ORDER BY b."Id";

-- Query #52226 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f0886225-32c9-3e5e-a940-f90b1f4b4e9c'::uuid])
ORDER BY b."Id";

-- Query #52227 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29321d70-e721-40c6-a402-cca96a7518bd'::uuid])
ORDER BY b."Id";

-- Query #52228 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['29321d70-e721-40c6-a402-cca96a7518bd'::uuid])
ORDER BY b."Id";

-- Query #52229 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6903df49-dca7-d00f-521a-a15ce00697aa'::uuid])
ORDER BY b."Id";

-- Query #52230 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6903df49-dca7-d00f-521a-a15ce00697aa'::uuid])
ORDER BY b."Id";

-- Query #52231 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['284c0cfe-e24a-e3ac-0f87-e3a3dbe84ff7'::uuid])
ORDER BY b."Id";

-- Query #52232 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['284c0cfe-e24a-e3ac-0f87-e3a3dbe84ff7'::uuid])
ORDER BY b."Id";

-- Query #52233 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['725c21a3-b64d-aa71-4eef-91ad6cb7cf61'::uuid])
ORDER BY b."Id";

-- Query #52234 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['725c21a3-b64d-aa71-4eef-91ad6cb7cf61'::uuid])
ORDER BY b."Id";

-- Query #52235 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78532b32-1488-e465-ef4d-576c8f2175b0'::uuid])
ORDER BY b."Id";

-- Query #52236 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['78532b32-1488-e465-ef4d-576c8f2175b0'::uuid])
ORDER BY b."Id";

-- Query #52237 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3dfe6549-5b6a-d301-3887-d825dbd1933b'::uuid])
ORDER BY b."Id";

-- Query #52238 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3dfe6549-5b6a-d301-3887-d825dbd1933b'::uuid])
ORDER BY b."Id";

-- Query #52239 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ff09ce8-2863-6d40-38b0-15195908307c'::uuid])
ORDER BY b."Id";

-- Query #52240 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0ff09ce8-2863-6d40-38b0-15195908307c'::uuid])
ORDER BY b."Id";

-- Query #52241 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dba0c10b-77db-8232-eba1-12b1e2aacaad'::uuid])
ORDER BY b."Id";

-- Query #52242 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dba0c10b-77db-8232-eba1-12b1e2aacaad'::uuid])
ORDER BY b."Id";

-- Query #52243 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e80bfbd-0308-771d-7e88-05fc8fae5117'::uuid])
ORDER BY b."Id";

-- Query #52244 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e80bfbd-0308-771d-7e88-05fc8fae5117'::uuid])
ORDER BY b."Id";

-- Query #52245 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df977084-db62-0374-c445-ffce6c11175c'::uuid])
ORDER BY b."Id";

-- Query #52246 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['df977084-db62-0374-c445-ffce6c11175c'::uuid])
ORDER BY b."Id";

-- Query #52247 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1802e829-8264-ca4c-01fd-e503b4a33e5a'::uuid])
ORDER BY b."Id";

-- Query #52248 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1802e829-8264-ca4c-01fd-e503b4a33e5a'::uuid])
ORDER BY b."Id";

-- Query #52249 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6099b4a-d589-3ae9-f9ba-5c2d980c2470'::uuid])
ORDER BY b."Id";

-- Query #52250 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e6099b4a-d589-3ae9-f9ba-5c2d980c2470'::uuid])
ORDER BY b."Id";

-- Query #52251 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ae0c61d-141c-78f6-5777-337405199756'::uuid])
ORDER BY b."Id";

-- Query #52252 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1ae0c61d-141c-78f6-5777-337405199756'::uuid])
ORDER BY b."Id";

-- Query #52253 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['533dad9c-e9aa-a549-324e-03c6da7613b0'::uuid])
ORDER BY b."Id";

-- Query #52254 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['533dad9c-e9aa-a549-324e-03c6da7613b0'::uuid])
ORDER BY b."Id";

-- Query #52255 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #52256 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c40fe1b2-af22-7d02-3ba2-41d025570f38'::uuid])
ORDER BY b."Id";

-- Query #52257 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c40fe1b2-af22-7d02-3ba2-41d025570f38'::uuid])
ORDER BY b."Id";

-- Query #52258 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3194896b-4bf0-42f6-612a-c7e1912a770a'::uuid])
ORDER BY b."Id";

-- Query #52259 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3194896b-4bf0-42f6-612a-c7e1912a770a'::uuid])
ORDER BY b."Id";

-- Query #52260 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77dd0b13-5946-9739-f47a-8469112e0f37'::uuid])
ORDER BY b."Id";

-- Query #52261 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['77dd0b13-5946-9739-f47a-8469112e0f37'::uuid])
ORDER BY b."Id";

-- Query #52262 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['63be3658-8e36-355f-205c-da433017a87c'::uuid])
ORDER BY b."Id";

-- Query #52263 | logged_duration_ms=7 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['63be3658-8e36-355f-205c-da433017a87c'::uuid])
ORDER BY b."Id";

-- Query #52264 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f72d2347-f7ff-dd69-3f91-06fbefb6a91d'::uuid])
ORDER BY b."Id";

-- Query #52265 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f72d2347-f7ff-dd69-3f91-06fbefb6a91d'::uuid])
ORDER BY b."Id";

-- Query #52266 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid])
ORDER BY b."Id";

-- Query #52267 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid])
ORDER BY b."Id";

-- Query #52268 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3266a904-9d2a-3b4e-935e-21d30474a5ec'::uuid])
ORDER BY b."Id";

-- Query #52269 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3266a904-9d2a-3b4e-935e-21d30474a5ec'::uuid])
ORDER BY b."Id";

-- Query #52270 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['770779bc-339d-93ef-eb8e-7738dff76957'::uuid])
ORDER BY b."Id";

-- Query #52271 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['770779bc-339d-93ef-eb8e-7738dff76957'::uuid])
ORDER BY b."Id";

-- Query #52272 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6ef6a956-c276-e687-5de9-3843604cbd9e'::uuid])
ORDER BY b."Id";

-- Query #52273 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6ef6a956-c276-e687-5de9-3843604cbd9e'::uuid])
ORDER BY b."Id";

-- Query #52274 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e52dd7f7-d1f7-5e41-f29a-230719509da2'::uuid])
ORDER BY b."Id";

-- Query #52275 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e52dd7f7-d1f7-5e41-f29a-230719509da2'::uuid])
ORDER BY b."Id";

-- Query #52276 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid])
ORDER BY b."Id";

-- Query #52277 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid])
ORDER BY b."Id";

-- Query #52278 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eae88635-45ae-111f-7419-1fd3f929fd9a'::uuid])
ORDER BY b."Id";

-- Query #52279 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eae88635-45ae-111f-7419-1fd3f929fd9a'::uuid])
ORDER BY b."Id";

-- Query #52280 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['735ef9a3-3989-118d-dd0d-597a6aeb0bfa'::uuid])
ORDER BY b."Id";

-- Query #52281 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['735ef9a3-3989-118d-dd0d-597a6aeb0bfa'::uuid])
ORDER BY b."Id";

-- Query #52282 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e685b191-054b-4aca-51fe-0db552f15052'::uuid])
ORDER BY b."Id";

-- Query #52283 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e685b191-054b-4aca-51fe-0db552f15052'::uuid])
ORDER BY b."Id";

-- Query #52284 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85c71da0-218e-5ace-63bc-48a1d90d956b'::uuid])
ORDER BY b."Id";

-- Query #52285 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['85c71da0-218e-5ace-63bc-48a1d90d956b'::uuid])
ORDER BY b."Id";

-- Query #52286 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb054524-9aee-504b-366c-88b885c062c8'::uuid])
ORDER BY b."Id";

-- Query #52287 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cb054524-9aee-504b-366c-88b885c062c8'::uuid])
ORDER BY b."Id";

-- Query #52288 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7acdd131-26e6-19d8-9d23-821317851dee'::uuid])
ORDER BY b."Id";

-- Query #52289 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7acdd131-26e6-19d8-9d23-821317851dee'::uuid])
ORDER BY b."Id";

-- Query #52290 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e62dc343-972e-bfc6-4c95-f336f0279d80'::uuid])
ORDER BY b."Id";

-- Query #52291 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e62dc343-972e-bfc6-4c95-f336f0279d80'::uuid])
ORDER BY b."Id";

-- Query #52292 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a34d578c-f0f3-88d5-0dad-d33093971898'::uuid])
ORDER BY b."Id";

-- Query #52293 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a34d578c-f0f3-88d5-0dad-d33093971898'::uuid])
ORDER BY b."Id";

-- Query #52294 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d262fe08-027f-21cb-e252-1a21d6f13dd9'::uuid])
ORDER BY b."Id";

-- Query #52295 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d262fe08-027f-21cb-e252-1a21d6f13dd9'::uuid])
ORDER BY b."Id";

-- Query #52296 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b06969d1-0538-a124-7e5d-16df3fa3f018'::uuid])
ORDER BY b."Id";

-- Query #52297 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b06969d1-0538-a124-7e5d-16df3fa3f018'::uuid])
ORDER BY b."Id";

-- Query #52298 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce86f85d-4825-01fa-4537-646972219796'::uuid])
ORDER BY b."Id";

-- Query #52299 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ce86f85d-4825-01fa-4537-646972219796'::uuid])
ORDER BY b."Id";

-- Query #52300 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid])
ORDER BY b."Id";

-- Query #52301 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid])
ORDER BY b."Id";

-- Query #52302 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid])
ORDER BY b."Id";

-- Query #52303 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid])
ORDER BY b."Id";

-- Query #52304 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e24760fc-0324-9f2d-f957-a774122c6e31'::uuid])
ORDER BY b."Id";

-- Query #52305 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e24760fc-0324-9f2d-f957-a774122c6e31'::uuid])
ORDER BY b."Id";

-- Query #52306 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06ed2000-4305-9537-1e85-a0765b2d2fda'::uuid])
ORDER BY b."Id";

-- Query #52307 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['06ed2000-4305-9537-1e85-a0765b2d2fda'::uuid])
ORDER BY b."Id";

-- Query #52308 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa33d74a-5e31-fd81-b64f-bcc6c6f562a1'::uuid])
ORDER BY b."Id";

-- Query #52309 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fa33d74a-5e31-fd81-b64f-bcc6c6f562a1'::uuid])
ORDER BY b."Id";

-- Query #52310 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid])
ORDER BY b."Id";

-- Query #52311 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid])
ORDER BY b."Id";

-- Query #52312 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #52313 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #52314 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a82109c5-6188-45fc-e3e7-6dfd8254465f'::uuid])
ORDER BY b."Id";

-- Query #52315 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a82109c5-6188-45fc-e3e7-6dfd8254465f'::uuid])
ORDER BY b."Id";

-- Query #52316 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid])
ORDER BY b."Id";

-- Query #52317 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid])
ORDER BY b."Id";

-- Query #52318 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid])
ORDER BY b."Id";

-- Query #52319 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid])
ORDER BY b."Id";

-- Query #52320 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ef7feaf-3e72-5c72-b8fa-492749e8ea21'::uuid])
ORDER BY b."Id";

-- Query #52321 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0ef7feaf-3e72-5c72-b8fa-492749e8ea21'::uuid])
ORDER BY b."Id";

-- Query #52322 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eb67501-848e-2f0c-a92b-f53e11df2f12'::uuid])
ORDER BY b."Id";

-- Query #52323 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1eb67501-848e-2f0c-a92b-f53e11df2f12'::uuid])
ORDER BY b."Id";

-- Query #52324 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29fd1bdd-bc4c-9a93-4888-2bd9dc5a3898'::uuid])
ORDER BY b."Id";

-- Query #52325 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['29fd1bdd-bc4c-9a93-4888-2bd9dc5a3898'::uuid])
ORDER BY b."Id";

-- Query #52326 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['082e5713-4194-fea9-0323-fe42d350b908'::uuid])
ORDER BY b."Id";

-- Query #52327 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['082e5713-4194-fea9-0323-fe42d350b908'::uuid])
ORDER BY b."Id";

-- Query #52328 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8ff5d65-ffd3-9ce4-c6c3-97bc69cc535d'::uuid])
ORDER BY b."Id";

-- Query #52329 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a8ff5d65-ffd3-9ce4-c6c3-97bc69cc535d'::uuid])
ORDER BY b."Id";

-- Query #52330 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['175babf6-a1cc-cc25-a135-4703c32db5f6'::uuid])
ORDER BY b."Id";

-- Query #52331 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['175babf6-a1cc-cc25-a135-4703c32db5f6'::uuid])
ORDER BY b."Id";

-- Query #52332 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1f78ff5e-4373-3093-4260-5af3eb4cb188'::uuid])
ORDER BY b."Id";

-- Query #52333 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1f78ff5e-4373-3093-4260-5af3eb4cb188'::uuid])
ORDER BY b."Id";

-- Query #52334 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4582c2fb-4330-d752-9dfd-52c19aed112b'::uuid])
ORDER BY b."Id";

-- Query #52335 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4582c2fb-4330-d752-9dfd-52c19aed112b'::uuid])
ORDER BY b."Id";

-- Query #52336 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['155ddc43-fb5e-3708-2958-a83da084d054'::uuid])
ORDER BY b."Id";

-- Query #52337 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['155ddc43-fb5e-3708-2958-a83da084d054'::uuid])
ORDER BY b."Id";

-- Query #52338 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4d086c4-8792-d0c9-8488-b0604b3663a4'::uuid])
ORDER BY b."Id";

-- Query #52339 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b4d086c4-8792-d0c9-8488-b0604b3663a4'::uuid])
ORDER BY b."Id";

-- Query #52340 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d45a977f-58f6-fa61-2a3d-92c527ef5253'::uuid])
ORDER BY b."Id";

-- Query #52341 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d45a977f-58f6-fa61-2a3d-92c527ef5253'::uuid])
ORDER BY b."Id";

-- Query #52342 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f0b28fc-9494-b741-874f-cfc6dbf3bd19'::uuid])
ORDER BY b."Id";

-- Query #52343 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8f0b28fc-9494-b741-874f-cfc6dbf3bd19'::uuid])
ORDER BY b."Id";

-- Query #52344 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7622f6af-c772-abb3-b0db-1f85bc6653b6'::uuid])
ORDER BY b."Id";

-- Query #52345 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7622f6af-c772-abb3-b0db-1f85bc6653b6'::uuid])
ORDER BY b."Id";

-- Query #52346 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4df5f618-0162-fb12-35a0-defb677560dc'::uuid])
ORDER BY b."Id";

-- Query #52347 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4df5f618-0162-fb12-35a0-defb677560dc'::uuid])
ORDER BY b."Id";

-- Query #52348 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42ca4923-8143-4e17-d2aa-2481be799e4b'::uuid])
ORDER BY b."Id";

-- Query #52349 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['42ca4923-8143-4e17-d2aa-2481be799e4b'::uuid])
ORDER BY b."Id";

-- Query #52350 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['272ba5e0-9cf7-f15e-fdd2-c645b61617d4'::uuid])
ORDER BY b."Id";

-- Query #52351 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['272ba5e0-9cf7-f15e-fdd2-c645b61617d4'::uuid])
ORDER BY b."Id";

-- Query #52352 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ecfea6a-2a95-5830-de67-e963ea010e4f'::uuid])
ORDER BY b."Id";

-- Query #52353 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ecfea6a-2a95-5830-de67-e963ea010e4f'::uuid])
ORDER BY b."Id";

-- Query #52354 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3b93e5f-e085-4aa7-e3cb-b5e7844b5831'::uuid])
ORDER BY b."Id";

-- Query #52355 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c3b93e5f-e085-4aa7-e3cb-b5e7844b5831'::uuid])
ORDER BY b."Id";

-- Query #52356 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d492bc68-4f1c-e76c-add1-8ba3744a3d20'::uuid])
ORDER BY b."Id";

-- Query #52357 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d492bc68-4f1c-e76c-add1-8ba3744a3d20'::uuid])
ORDER BY b."Id";

-- Query #52358 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e455c280-a52f-6601-1c53-d7acbe36aaf7'::uuid])
ORDER BY b."Id";

-- Query #52359 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e455c280-a52f-6601-1c53-d7acbe36aaf7'::uuid])
ORDER BY b."Id";

-- Query #52360 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8d79ba14-ebbc-5347-bf53-e46fa314b847'::uuid])
ORDER BY b."Id";

-- Query #52361 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8d79ba14-ebbc-5347-bf53-e46fa314b847'::uuid])
ORDER BY b."Id";

-- Query #52362 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8e6aae7-96b0-be9f-c6c4-4ad4dd6c3bd4'::uuid])
ORDER BY b."Id";

-- Query #52363 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8e6aae7-96b0-be9f-c6c4-4ad4dd6c3bd4'::uuid])
ORDER BY b."Id";

-- Query #52364 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909b039e-7a94-9ba7-5079-1ec603000e7f'::uuid])
ORDER BY b."Id";

-- Query #52365 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['909b039e-7a94-9ba7-5079-1ec603000e7f'::uuid])
ORDER BY b."Id";

-- Query #52366 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['66d55813-6149-408d-ded0-8128e5f61456'::uuid])
ORDER BY b."Id";

-- Query #52367 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['66d55813-6149-408d-ded0-8128e5f61456'::uuid])
ORDER BY b."Id";

-- Query #52368 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea9c92ec-2399-cc6f-db61-812cdd5b6d10'::uuid])
ORDER BY b."Id";

-- Query #52369 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ea9c92ec-2399-cc6f-db61-812cdd5b6d10'::uuid])
ORDER BY b."Id";

-- Query #52370 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f09db5a3-e607-d698-9049-ee346dc42a21'::uuid])
ORDER BY b."Id";

-- Query #52371 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f09db5a3-e607-d698-9049-ee346dc42a21'::uuid])
ORDER BY b."Id";

-- Query #52372 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['51287982-cc95-1386-7e7e-c43713acf876'::uuid])
ORDER BY b."Id";

-- Query #52373 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['51287982-cc95-1386-7e7e-c43713acf876'::uuid])
ORDER BY b."Id";

-- Query #52374 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ba2845-eadb-2823-427c-58709670ca64'::uuid])
ORDER BY b."Id";

-- Query #52375 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39ba2845-eadb-2823-427c-58709670ca64'::uuid])
ORDER BY b."Id";

-- Query #52376 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b2ee529c-8433-2259-332c-1fbde266f161'::uuid])
ORDER BY b."Id";

-- Query #52377 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b2ee529c-8433-2259-332c-1fbde266f161'::uuid])
ORDER BY b."Id";

-- Query #52378 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d97073e-15c8-aa5a-7ac2-0e80c855e2ac'::uuid])
ORDER BY b."Id";

-- Query #52379 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7d97073e-15c8-aa5a-7ac2-0e80c855e2ac'::uuid])
ORDER BY b."Id";

-- Query #52380 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4207857-e1e5-8e5a-1211-51f00428fb02'::uuid])
ORDER BY b."Id";

-- Query #52381 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f4207857-e1e5-8e5a-1211-51f00428fb02'::uuid])
ORDER BY b."Id";

-- Query #52382 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef3b52ef-a4d9-618d-2a97-d8f9239e54ba'::uuid])
ORDER BY b."Id";

-- Query #52383 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ef3b52ef-a4d9-618d-2a97-d8f9239e54ba'::uuid])
ORDER BY b."Id";

-- Query #52384 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e3e88c2-57b1-5542-1435-fcce8115cc43'::uuid])
ORDER BY b."Id";

-- Query #52385 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9e3e88c2-57b1-5542-1435-fcce8115cc43'::uuid])
ORDER BY b."Id";

-- Query #52386 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['289ca182-62fb-849e-1dd5-42b0980d2a42'::uuid])
ORDER BY b."Id";

-- Query #52387 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['289ca182-62fb-849e-1dd5-42b0980d2a42'::uuid])
ORDER BY b."Id";

-- Query #52388 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4106c697-25c0-d272-25bd-7188977e96ed'::uuid])
ORDER BY b."Id";

-- Query #52389 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4106c697-25c0-d272-25bd-7188977e96ed'::uuid])
ORDER BY b."Id";

-- Query #52390 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3a723c6-e065-3351-2367-4f84c2bbfe3e'::uuid])
ORDER BY b."Id";

-- Query #52391 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d3a723c6-e065-3351-2367-4f84c2bbfe3e'::uuid])
ORDER BY b."Id";

-- Query #52392 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c2136868-6089-328d-155b-e1609ef1dbb4'::uuid])
ORDER BY b."Id";

-- Query #52393 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c2136868-6089-328d-155b-e1609ef1dbb4'::uuid])
ORDER BY b."Id";

-- Query #52394 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['32c2d4d7-e99f-4117-879d-9cdad5745a3f'::uuid])
ORDER BY b."Id";

-- Query #52395 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['32c2d4d7-e99f-4117-879d-9cdad5745a3f'::uuid])
ORDER BY b."Id";

-- Query #52396 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcd3e01c-02c2-a5b1-e386-6ecca2f52d92'::uuid])
ORDER BY b."Id";

-- Query #52397 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bcd3e01c-02c2-a5b1-e386-6ecca2f52d92'::uuid])
ORDER BY b."Id";

-- Query #52398 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e4760340-1f98-bfa7-5dd6-d85fffe38591'::uuid])
ORDER BY b."Id";

-- Query #52399 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e4760340-1f98-bfa7-5dd6-d85fffe38591'::uuid])
ORDER BY b."Id";

-- Query #52400 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d90ab2d1-4f74-9bc6-7562-5b183a10346e'::uuid])
ORDER BY b."Id";

-- Query #52401 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d90ab2d1-4f74-9bc6-7562-5b183a10346e'::uuid])
ORDER BY b."Id";

-- Query #52402 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b67abe3f-d3fc-fcf9-7bb9-b36195629123'::uuid])
ORDER BY b."Id";

-- Query #52403 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b67abe3f-d3fc-fcf9-7bb9-b36195629123'::uuid])
ORDER BY b."Id";

-- Query #52404 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b81cd4ed-2d61-fb19-5b80-63b987423e35'::uuid])
ORDER BY b."Id";

-- Query #52405 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b81cd4ed-2d61-fb19-5b80-63b987423e35'::uuid])
ORDER BY b."Id";

-- Query #52406 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['175db8e4-0b6f-48ab-56d6-05360225dff1'::uuid])
ORDER BY b."Id";

-- Query #52407 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['175db8e4-0b6f-48ab-56d6-05360225dff1'::uuid])
ORDER BY b."Id";

-- Query #52408 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7db40fd3-cd5e-9911-27d3-632af36b77fc'::uuid])
ORDER BY b."Id";

-- Query #52409 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7db40fd3-cd5e-9911-27d3-632af36b77fc'::uuid])
ORDER BY b."Id";

-- Query #52410 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95d1dd3d-4ae9-f231-f09b-c8f50b53ed11'::uuid])
ORDER BY b."Id";

-- Query #52411 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['95d1dd3d-4ae9-f231-f09b-c8f50b53ed11'::uuid])
ORDER BY b."Id";

-- Query #52412 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd6c40f4-1854-f95d-03e1-4ee930ee3fdd'::uuid])
ORDER BY b."Id";

-- Query #52413 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd6c40f4-1854-f95d-03e1-4ee930ee3fdd'::uuid])
ORDER BY b."Id";

-- Query #52414 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d2a7d05-ae57-e97a-e330-094f89aa7363'::uuid])
ORDER BY b."Id";

-- Query #52415 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7d2a7d05-ae57-e97a-e330-094f89aa7363'::uuid])
ORDER BY b."Id";

-- Query #52416 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db846855-7d77-e7ac-f046-bd9b279c2d23'::uuid])
ORDER BY b."Id";

-- Query #52417 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db846855-7d77-e7ac-f046-bd9b279c2d23'::uuid])
ORDER BY b."Id";

-- Query #52418 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['506370f4-4e81-2c01-fdfc-950636639ca6'::uuid])
ORDER BY b."Id";

-- Query #52419 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['506370f4-4e81-2c01-fdfc-950636639ca6'::uuid])
ORDER BY b."Id";

-- Query #52420 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e5e2325-e039-0b7c-a93d-c8c422129a64'::uuid])
ORDER BY b."Id";

-- Query #52421 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9e5e2325-e039-0b7c-a93d-c8c422129a64'::uuid])
ORDER BY b."Id";

-- Query #52422 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10d38e4b-119b-2559-e30c-c7ad03c8525b'::uuid])
ORDER BY b."Id";

-- Query #52423 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['10d38e4b-119b-2559-e30c-c7ad03c8525b'::uuid])
ORDER BY b."Id";

-- Query #52424 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70a717b7-ac47-efcd-605e-5efe1dc15d12'::uuid])
ORDER BY b."Id";

-- Query #52425 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['70a717b7-ac47-efcd-605e-5efe1dc15d12'::uuid])
ORDER BY b."Id";

-- Query #52426 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3b6c796-4213-5402-7d07-1aef8d7dc6b3'::uuid])
ORDER BY b."Id";

-- Query #52427 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c3b6c796-4213-5402-7d07-1aef8d7dc6b3'::uuid])
ORDER BY b."Id";

-- Query #52428 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e2e6077-c8f0-19ca-7586-8b10abf3154d'::uuid])
ORDER BY b."Id";

-- Query #52429 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e2e6077-c8f0-19ca-7586-8b10abf3154d'::uuid])
ORDER BY b."Id";

-- Query #52430 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6e071ec1-5d2f-4c62-d309-b5b939345ca8'::uuid])
ORDER BY b."Id";

-- Query #52431 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6e071ec1-5d2f-4c62-d309-b5b939345ca8'::uuid])
ORDER BY b."Id";

-- Query #52432 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['55a1c81b-93a6-970e-1961-cde5f11552e6'::uuid])
ORDER BY b."Id";

-- Query #52433 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['55a1c81b-93a6-970e-1961-cde5f11552e6'::uuid])
ORDER BY b."Id";

-- Query #52434 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7374868a-3043-fb80-48ca-3e8700d01350'::uuid])
ORDER BY b."Id";

-- Query #52435 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7374868a-3043-fb80-48ca-3e8700d01350'::uuid])
ORDER BY b."Id";

-- Query #52436 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8c0f8296-b2aa-d431-ab7a-b0661fa6a953'::uuid])
ORDER BY b."Id";

-- Query #52437 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8c0f8296-b2aa-d431-ab7a-b0661fa6a953'::uuid])
ORDER BY b."Id";

-- Query #52438 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0e5000b-f149-7b42-cdf6-c8e4352baeec'::uuid])
ORDER BY b."Id";

-- Query #52439 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c0e5000b-f149-7b42-cdf6-c8e4352baeec'::uuid])
ORDER BY b."Id";

-- Query #52440 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e0e3429-d122-5da4-c585-acd41ca5cbd6'::uuid])
ORDER BY b."Id";

-- Query #52441 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e0e3429-d122-5da4-c585-acd41ca5cbd6'::uuid])
ORDER BY b."Id";

-- Query #52442 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92a6cab1-86cf-b5e2-0d6c-586205434b66'::uuid])
ORDER BY b."Id";

-- Query #52443 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['92a6cab1-86cf-b5e2-0d6c-586205434b66'::uuid])
ORDER BY b."Id";

-- Query #52444 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ab89d8-ec81-0b0d-f5e2-487ac4ee7c18'::uuid])
ORDER BY b."Id";

-- Query #52445 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8ab89d8-ec81-0b0d-f5e2-487ac4ee7c18'::uuid])
ORDER BY b."Id";

-- Query #52446 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b59767d9-2404-a637-8f2a-4da8f45f9eac'::uuid])
ORDER BY b."Id";

-- Query #52447 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b59767d9-2404-a637-8f2a-4da8f45f9eac'::uuid])
ORDER BY b."Id";

-- Query #52448 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6bd32c9f-2f57-bedd-393e-e3cb5e0444df'::uuid])
ORDER BY b."Id";

-- Query #52449 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6bd32c9f-2f57-bedd-393e-e3cb5e0444df'::uuid])
ORDER BY b."Id";

-- Query #52450 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e58a97fe-948d-0a57-6d70-cae27c0570d7'::uuid])
ORDER BY b."Id";

-- Query #52451 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e58a97fe-948d-0a57-6d70-cae27c0570d7'::uuid])
ORDER BY b."Id";

-- Query #52452 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #52453 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ee18f1bb-eb62-9dee-86ff-d516b19822e8'::uuid])
ORDER BY b."Id";

-- Query #52454 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ee18f1bb-eb62-9dee-86ff-d516b19822e8'::uuid])
ORDER BY b."Id";

-- Query #52455 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['16cc7bd5-2962-02d6-bda9-62184eaae3ae'::uuid])
ORDER BY b."Id";

-- Query #52456 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['16cc7bd5-2962-02d6-bda9-62184eaae3ae'::uuid])
ORDER BY b."Id";

-- Query #52457 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0fd9f63c-f140-8c4e-0303-159e7904f81d'::uuid])
ORDER BY b."Id";

-- Query #52458 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0fd9f63c-f140-8c4e-0303-159e7904f81d'::uuid])
ORDER BY b."Id";

-- Query #52459 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b073a370-d38a-ad04-a4a7-8cb418a91c53'::uuid])
ORDER BY b."Id";

-- Query #52460 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b073a370-d38a-ad04-a4a7-8cb418a91c53'::uuid])
ORDER BY b."Id";

-- Query #52461 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3c57b581-404c-d7dd-e22d-cc3ed98e166c'::uuid])
ORDER BY b."Id";

-- Query #52462 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3c57b581-404c-d7dd-e22d-cc3ed98e166c'::uuid])
ORDER BY b."Id";

-- Query #52463 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['797b2997-fe93-2cf5-e6d8-6c94f43a06a4'::uuid])
ORDER BY b."Id";

-- Query #52464 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['797b2997-fe93-2cf5-e6d8-6c94f43a06a4'::uuid])
ORDER BY b."Id";

-- Query #52465 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f16d9bff-637b-0a22-7b34-275b7c1b8540'::uuid])
ORDER BY b."Id";

-- Query #52466 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f16d9bff-637b-0a22-7b34-275b7c1b8540'::uuid])
ORDER BY b."Id";

-- Query #52467 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13ef02e6-441c-d5b3-54a7-6103b703f4e0'::uuid])
ORDER BY b."Id";

-- Query #52468 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['13ef02e6-441c-d5b3-54a7-6103b703f4e0'::uuid])
ORDER BY b."Id";

-- Query #52469 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['08afebe3-f40e-8963-9820-f9678d34935e'::uuid])
ORDER BY b."Id";

-- Query #52470 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['08afebe3-f40e-8963-9820-f9678d34935e'::uuid])
ORDER BY b."Id";

-- Query #52471 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6ecc03b5-c65d-1696-0580-e8ee76675a6f'::uuid])
ORDER BY b."Id";

-- Query #52472 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6ecc03b5-c65d-1696-0580-e8ee76675a6f'::uuid])
ORDER BY b."Id";

-- Query #52473 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0144fbeb-d328-2267-327d-28c2f6ed4d6b'::uuid])
ORDER BY b."Id";

-- Query #52474 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0144fbeb-d328-2267-327d-28c2f6ed4d6b'::uuid])
ORDER BY b."Id";

-- Query #52475 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f1d0094-0c24-fa9c-be3c-c660376fb27a'::uuid])
ORDER BY b."Id";

-- Query #52476 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4f1d0094-0c24-fa9c-be3c-c660376fb27a'::uuid])
ORDER BY b."Id";

-- Query #52477 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e795a0e-5f22-730b-06e2-f1a9511d1751'::uuid])
ORDER BY b."Id";

-- Query #52478 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7e795a0e-5f22-730b-06e2-f1a9511d1751'::uuid])
ORDER BY b."Id";

-- Query #52479 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['094c60d7-bee5-1a86-6ab6-62447e8778e1'::uuid])
ORDER BY b."Id";

-- Query #52480 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['094c60d7-bee5-1a86-6ab6-62447e8778e1'::uuid])
ORDER BY b."Id";

-- Query #52481 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a7e05be-aa5f-761e-475e-96045441862f'::uuid])
ORDER BY b."Id";

-- Query #52482 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9a7e05be-aa5f-761e-475e-96045441862f'::uuid])
ORDER BY b."Id";

-- Query #52483 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05e67a24-f258-9a3b-cc66-3b8c3abe6118'::uuid])
ORDER BY b."Id";

-- Query #52484 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['05e67a24-f258-9a3b-cc66-3b8c3abe6118'::uuid])
ORDER BY b."Id";

-- Query #52485 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['811a94f5-ce0b-d83c-44e8-9fdecc0466fa'::uuid])
ORDER BY b."Id";

-- Query #52486 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['811a94f5-ce0b-d83c-44e8-9fdecc0466fa'::uuid])
ORDER BY b."Id";

-- Query #52487 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['18db77e9-2efb-054a-60af-027fd9261149'::uuid])
ORDER BY b."Id";

-- Query #52488 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['18db77e9-2efb-054a-60af-027fd9261149'::uuid])
ORDER BY b."Id";

-- Query #52489 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed93de20-2024-6152-44f6-cea8b8c8a6a7'::uuid])
ORDER BY b."Id";

-- Query #52490 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ed93de20-2024-6152-44f6-cea8b8c8a6a7'::uuid])
ORDER BY b."Id";

-- Query #52491 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d90b4f45-04f4-f6fd-c142-39c10eac0188'::uuid])
ORDER BY b."Id";

-- Query #52492 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d90b4f45-04f4-f6fd-c142-39c10eac0188'::uuid])
ORDER BY b."Id";

-- Query #52493 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dec8a594-9e71-d1bf-f1fd-4fa30dfd7f04'::uuid])
ORDER BY b."Id";

-- Query #52494 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dec8a594-9e71-d1bf-f1fd-4fa30dfd7f04'::uuid])
ORDER BY b."Id";

-- Query #52495 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9d316dd1-cf9a-af4d-b88f-65d7f39df5f4'::uuid])
ORDER BY b."Id";

-- Query #52496 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9d316dd1-cf9a-af4d-b88f-65d7f39df5f4'::uuid])
ORDER BY b."Id";

-- Query #52497 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be9db238-2833-ec17-2dec-30b49af2995a'::uuid])
ORDER BY b."Id";

-- Query #52498 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['be9db238-2833-ec17-2dec-30b49af2995a'::uuid])
ORDER BY b."Id";

-- Query #52499 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd3f229-1816-d06b-b872-7d604aaadc86'::uuid])
ORDER BY b."Id";

-- Query #52500 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd3f229-1816-d06b-b872-7d604aaadc86'::uuid])
ORDER BY b."Id";

-- Query #52501 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e09604c5-c67d-2db0-98c4-abddf58ba4ad'::uuid])
ORDER BY b."Id";

-- Query #52502 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e09604c5-c67d-2db0-98c4-abddf58ba4ad'::uuid])
ORDER BY b."Id";

-- Query #52503 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db9ebbb9-ef82-99f2-3ff6-8eb3898cdb8a'::uuid])
ORDER BY b."Id";

-- Query #52504 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db9ebbb9-ef82-99f2-3ff6-8eb3898cdb8a'::uuid])
ORDER BY b."Id";

-- Query #52505 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad17b13d-3b35-9b5e-886d-fbd9d2197c48'::uuid])
ORDER BY b."Id";

-- Query #52506 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ad17b13d-3b35-9b5e-886d-fbd9d2197c48'::uuid])
ORDER BY b."Id";

-- Query #52507 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e65494db-9a0a-76e6-d1c6-29fe386a2700'::uuid])
ORDER BY b."Id";

-- Query #52508 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e65494db-9a0a-76e6-d1c6-29fe386a2700'::uuid])
ORDER BY b."Id";

-- Query #52509 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99448755-ab71-78fb-9676-bc2b8e035c8b'::uuid])
ORDER BY b."Id";

-- Query #52510 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['99448755-ab71-78fb-9676-bc2b8e035c8b'::uuid])
ORDER BY b."Id";

-- Query #52511 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ade66dab-d81d-66fa-f272-4c553196ea2b'::uuid])
ORDER BY b."Id";

-- Query #52512 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ade66dab-d81d-66fa-f272-4c553196ea2b'::uuid])
ORDER BY b."Id";

-- Query #52513 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85451589-aebf-cce3-d05e-07f38f12ae57'::uuid])
ORDER BY b."Id";

-- Query #52514 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['85451589-aebf-cce3-d05e-07f38f12ae57'::uuid])
ORDER BY b."Id";

-- Query #52515 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e1b96d1-d0ee-6622-507d-3edacc684f37'::uuid])
ORDER BY b."Id";

-- Query #52516 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7e1b96d1-d0ee-6622-507d-3edacc684f37'::uuid])
ORDER BY b."Id";

-- Query #52517 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e3aa9681-de3b-0e1e-4c1d-aebd10176705'::uuid])
ORDER BY b."Id";

-- Query #52518 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e3aa9681-de3b-0e1e-4c1d-aebd10176705'::uuid])
ORDER BY b."Id";

-- Query #52519 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af1bedec-b0eb-3454-4a71-e9cc9c84077f'::uuid])
ORDER BY b."Id";

-- Query #52520 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['af1bedec-b0eb-3454-4a71-e9cc9c84077f'::uuid])
ORDER BY b."Id";

-- Query #52521 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d177830e-7169-f21f-eb7b-de1087c05f91'::uuid])
ORDER BY b."Id";

-- Query #52522 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d177830e-7169-f21f-eb7b-de1087c05f91'::uuid])
ORDER BY b."Id";

-- Query #52523 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['165e7065-8c3a-a74a-1158-c614ef5e80aa'::uuid])
ORDER BY b."Id";

-- Query #52524 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['165e7065-8c3a-a74a-1158-c614ef5e80aa'::uuid])
ORDER BY b."Id";

-- Query #52525 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38a1617e-2814-80aa-703e-4b1f98157b1b'::uuid])
ORDER BY b."Id";

-- Query #52526 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['38a1617e-2814-80aa-703e-4b1f98157b1b'::uuid])
ORDER BY b."Id";

-- Query #52527 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['942194e5-0217-2521-e75e-7bb4c55b0ee0'::uuid])
ORDER BY b."Id";

-- Query #52528 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['942194e5-0217-2521-e75e-7bb4c55b0ee0'::uuid])
ORDER BY b."Id";

-- Query #52529 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8b03f0d-b6d8-d985-2c92-b8922f3b2ef1'::uuid])
ORDER BY b."Id";

-- Query #52530 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8b03f0d-b6d8-d985-2c92-b8922f3b2ef1'::uuid])
ORDER BY b."Id";

-- Query #52531 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcfd3523-988c-92aa-dd2b-bd89bf90157e'::uuid])
ORDER BY b."Id";

-- Query #52532 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dcfd3523-988c-92aa-dd2b-bd89bf90157e'::uuid])
ORDER BY b."Id";

-- Query #52533 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d8e55ac-cacf-eaf6-511f-138155b9654f'::uuid])
ORDER BY b."Id";

-- Query #52534 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7d8e55ac-cacf-eaf6-511f-138155b9654f'::uuid])
ORDER BY b."Id";

-- Query #52535 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fbe72baa-4720-de3d-0827-a96fce4b1c54'::uuid])
ORDER BY b."Id";

-- Query #52536 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fbe72baa-4720-de3d-0827-a96fce4b1c54'::uuid])
ORDER BY b."Id";

-- Query #52537 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4379bd43-14cb-ad39-5ef6-1b6b901d54ed'::uuid])
ORDER BY b."Id";

-- Query #52538 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4379bd43-14cb-ad39-5ef6-1b6b901d54ed'::uuid])
ORDER BY b."Id";

-- Query #52539 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d4d11f21-4869-1368-68b3-aa269fd2c594'::uuid])
ORDER BY b."Id";

-- Query #52540 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d4d11f21-4869-1368-68b3-aa269fd2c594'::uuid])
ORDER BY b."Id";

-- Query #52541 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c20360ab-36b3-81c1-54cb-521622cc1744'::uuid])
ORDER BY b."Id";

-- Query #52542 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c20360ab-36b3-81c1-54cb-521622cc1744'::uuid])
ORDER BY b."Id";

-- Query #52543 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['813baaef-1c55-86f1-d893-dbace22508e7'::uuid])
ORDER BY b."Id";

-- Query #52544 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['813baaef-1c55-86f1-d893-dbace22508e7'::uuid])
ORDER BY b."Id";

-- Query #52545 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d93a0f4-1bbf-ad01-53e7-9e69299e78bd'::uuid])
ORDER BY b."Id";

-- Query #52546 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6d93a0f4-1bbf-ad01-53e7-9e69299e78bd'::uuid])
ORDER BY b."Id";

-- Query #52547 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3980fd86-bed0-3a4d-e17c-d4bd9ccdc7d9'::uuid])
ORDER BY b."Id";

-- Query #52548 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3980fd86-bed0-3a4d-e17c-d4bd9ccdc7d9'::uuid])
ORDER BY b."Id";

-- Query #52549 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab836289-f591-b6cb-008c-57c0d2300572'::uuid])
ORDER BY b."Id";

-- Query #52550 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ab836289-f591-b6cb-008c-57c0d2300572'::uuid])
ORDER BY b."Id";

-- Query #52551 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d7d302c2-0fe1-c1dc-1f8d-c8bbc9d43403'::uuid])
ORDER BY b."Id";

-- Query #52552 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d7d302c2-0fe1-c1dc-1f8d-c8bbc9d43403'::uuid])
ORDER BY b."Id";

-- Query #52553 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa29163c-03fd-1b2d-fdd3-fe017cd7f1ad'::uuid])
ORDER BY b."Id";

-- Query #52554 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fa29163c-03fd-1b2d-fdd3-fe017cd7f1ad'::uuid])
ORDER BY b."Id";

-- Query #52555 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d32b7903-28c2-834a-1fb2-569d355041f6'::uuid])
ORDER BY b."Id";

-- Query #52556 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d32b7903-28c2-834a-1fb2-569d355041f6'::uuid])
ORDER BY b."Id";

-- Query #52557 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8aefbd6e-c6dd-a230-55d9-d4f1c694cf0e'::uuid])
ORDER BY b."Id";

-- Query #52558 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8aefbd6e-c6dd-a230-55d9-d4f1c694cf0e'::uuid])
ORDER BY b."Id";

-- Query #52559 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4dbba905-a070-1a16-c5ad-0a7c3095f18d'::uuid])
ORDER BY b."Id";

-- Query #52560 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4dbba905-a070-1a16-c5ad-0a7c3095f18d'::uuid])
ORDER BY b."Id";

-- Query #52561 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da9ae2e1-076e-5fb3-25bf-68ca47999dac'::uuid])
ORDER BY b."Id";

-- Query #52562 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['da9ae2e1-076e-5fb3-25bf-68ca47999dac'::uuid])
ORDER BY b."Id";

-- Query #52563 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39bee4ae-d332-9c2f-0ad2-37c88d1f271f'::uuid])
ORDER BY b."Id";

-- Query #52564 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39bee4ae-d332-9c2f-0ad2-37c88d1f271f'::uuid])
ORDER BY b."Id";

-- Query #52565 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1621f49d-c8e7-a64f-104c-7285fbb9873e'::uuid])
ORDER BY b."Id";

-- Query #52566 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1621f49d-c8e7-a64f-104c-7285fbb9873e'::uuid])
ORDER BY b."Id";

-- Query #52567 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1cc07f1f-25da-b9f8-4d31-776691f80d2c'::uuid])
ORDER BY b."Id";

-- Query #52568 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1cc07f1f-25da-b9f8-4d31-776691f80d2c'::uuid])
ORDER BY b."Id";

-- Query #52569 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['74c09341-ee4a-8874-43b0-b0fc2dc107f3'::uuid])
ORDER BY b."Id";

-- Query #52570 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['74c09341-ee4a-8874-43b0-b0fc2dc107f3'::uuid])
ORDER BY b."Id";

-- Query #52571 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b980f982-78c8-21a9-2a6a-78dbf0b74233'::uuid])
ORDER BY b."Id";

-- Query #52572 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b980f982-78c8-21a9-2a6a-78dbf0b74233'::uuid])
ORDER BY b."Id";

-- Query #52573 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb659df4-a108-7cdd-f328-9866d0052b1c'::uuid])
ORDER BY b."Id";

-- Query #52574 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eb659df4-a108-7cdd-f328-9866d0052b1c'::uuid])
ORDER BY b."Id";

-- Query #52575 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab633eec-6754-6155-8fc0-25d035ddd1b4'::uuid])
ORDER BY b."Id";

-- Query #52576 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ab633eec-6754-6155-8fc0-25d035ddd1b4'::uuid])
ORDER BY b."Id";

-- Query #52577 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7997b1c2-ef23-b588-3fe2-afbd85450103'::uuid])
ORDER BY b."Id";

-- Query #52578 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7997b1c2-ef23-b588-3fe2-afbd85450103'::uuid])
ORDER BY b."Id";

-- Query #52579 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40679e71-9645-4e21-57b6-031d3883c7df'::uuid])
ORDER BY b."Id";

-- Query #52580 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['40679e71-9645-4e21-57b6-031d3883c7df'::uuid])
ORDER BY b."Id";

-- Query #52581 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b1475ec-f5ed-6cca-4738-15f107312fb4'::uuid])
ORDER BY b."Id";

-- Query #52582 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2b1475ec-f5ed-6cca-4738-15f107312fb4'::uuid])
ORDER BY b."Id";

-- Query #52583 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e36a6ac-3361-0792-f112-a564bf1e51e1'::uuid])
ORDER BY b."Id";

-- Query #52584 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9e36a6ac-3361-0792-f112-a564bf1e51e1'::uuid])
ORDER BY b."Id";

-- Query #52585 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b13190b9-0fd6-f737-a350-f4b5a60837e0'::uuid])
ORDER BY b."Id";

-- Query #52586 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b13190b9-0fd6-f737-a350-f4b5a60837e0'::uuid])
ORDER BY b."Id";

-- Query #52587 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be798b6d-014f-8f64-a0da-a8d112ebe98d'::uuid])
ORDER BY b."Id";

-- Query #52588 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['be798b6d-014f-8f64-a0da-a8d112ebe98d'::uuid])
ORDER BY b."Id";

-- Query #52589 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['272d5a87-92b6-8a40-1443-733575894001'::uuid])
ORDER BY b."Id";

-- Query #52590 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['272d5a87-92b6-8a40-1443-733575894001'::uuid])
ORDER BY b."Id";

-- Query #52591 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['277a847b-1778-ad82-1d76-ac4d69f951bf'::uuid])
ORDER BY b."Id";

-- Query #52592 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['277a847b-1778-ad82-1d76-ac4d69f951bf'::uuid])
ORDER BY b."Id";

-- Query #52593 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c8c14181-95f4-533f-6f2f-2585763d4ea6'::uuid])
ORDER BY b."Id";

-- Query #52594 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c8c14181-95f4-533f-6f2f-2585763d4ea6'::uuid])
ORDER BY b."Id";

-- Query #52595 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['677c8014-7483-1328-61f1-f00eb189b5fd'::uuid])
ORDER BY b."Id";

-- Query #52596 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['677c8014-7483-1328-61f1-f00eb189b5fd'::uuid])
ORDER BY b."Id";

-- Query #52597 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5764f11-b63c-4803-39e2-9fe4d5508419'::uuid])
ORDER BY b."Id";

-- Query #52598 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f5764f11-b63c-4803-39e2-9fe4d5508419'::uuid])
ORDER BY b."Id";

-- Query #52599 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['edb11eb0-77d9-27b1-6db9-2ede253c3e22'::uuid])
ORDER BY b."Id";

-- Query #52600 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['edb11eb0-77d9-27b1-6db9-2ede253c3e22'::uuid])
ORDER BY b."Id";

-- Query #52601 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6111c85d-d590-79a1-284d-ab585091b635'::uuid])
ORDER BY b."Id";

-- Query #52602 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6111c85d-d590-79a1-284d-ab585091b635'::uuid])
ORDER BY b."Id";

-- Query #52603 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['333b2be3-d4ad-049b-d14b-b6712a888951'::uuid])
ORDER BY b."Id";

-- Query #52604 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['333b2be3-d4ad-049b-d14b-b6712a888951'::uuid])
ORDER BY b."Id";

-- Query #52605 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f1f140d-a732-956d-0333-101803dd543f'::uuid])
ORDER BY b."Id";

-- Query #52606 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8f1f140d-a732-956d-0333-101803dd543f'::uuid])
ORDER BY b."Id";

-- Query #52607 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24bb21eb-e211-2622-9a83-c65f9cbd8670'::uuid])
ORDER BY b."Id";

-- Query #52608 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['24bb21eb-e211-2622-9a83-c65f9cbd8670'::uuid])
ORDER BY b."Id";

-- Query #52609 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['477a6cf4-9505-0705-daae-18803aa6ffd4'::uuid])
ORDER BY b."Id";

-- Query #52610 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['477a6cf4-9505-0705-daae-18803aa6ffd4'::uuid])
ORDER BY b."Id";

-- Query #52611 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe493edf-8d26-8aa4-d590-dc34a06edc12'::uuid])
ORDER BY b."Id";

-- Query #52612 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fe493edf-8d26-8aa4-d590-dc34a06edc12'::uuid])
ORDER BY b."Id";

-- Query #52613 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a71740e-24ec-4aef-37a5-6f48364fbafd'::uuid])
ORDER BY b."Id";

-- Query #52614 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4a71740e-24ec-4aef-37a5-6f48364fbafd'::uuid])
ORDER BY b."Id";

-- Query #52615 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9955e4de-5341-7717-135e-51f5f6f83572'::uuid])
ORDER BY b."Id";

-- Query #52616 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9955e4de-5341-7717-135e-51f5f6f83572'::uuid])
ORDER BY b."Id";

-- Query #52617 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4031fce0-4386-2374-2d00-bad1894ed44f'::uuid])
ORDER BY b."Id";

-- Query #52618 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4031fce0-4386-2374-2d00-bad1894ed44f'::uuid])
ORDER BY b."Id";

-- Query #52619 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f276433c-c07a-27b9-72d0-7426ee0336bf'::uuid])
ORDER BY b."Id";

-- Query #52620 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f276433c-c07a-27b9-72d0-7426ee0336bf'::uuid])
ORDER BY b."Id";

-- Query #52621 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7488b501-2cf7-c649-bc33-eaf27166ef6a'::uuid])
ORDER BY b."Id";

-- Query #52622 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7488b501-2cf7-c649-bc33-eaf27166ef6a'::uuid])
ORDER BY b."Id";

-- Query #52623 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1840b11-663d-6983-7859-8c6b50677ad1'::uuid])
ORDER BY b."Id";

-- Query #52624 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b1840b11-663d-6983-7859-8c6b50677ad1'::uuid])
ORDER BY b."Id";

-- Query #52625 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f13f8ff5-2ffe-524b-8980-8dc5e2bca967'::uuid])
ORDER BY b."Id";

-- Query #52626 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f13f8ff5-2ffe-524b-8980-8dc5e2bca967'::uuid])
ORDER BY b."Id";

-- Query #52627 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['27d752cc-fab6-e674-71dd-11d28ddc6ca6'::uuid])
ORDER BY b."Id";

-- Query #52628 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['27d752cc-fab6-e674-71dd-11d28ddc6ca6'::uuid])
ORDER BY b."Id";

-- Query #52629 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['889b2181-e80d-287b-477e-04597c5953c5'::uuid])
ORDER BY b."Id";

-- Query #52630 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['889b2181-e80d-287b-477e-04597c5953c5'::uuid])
ORDER BY b."Id";

-- Query #52631 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8eb0d49a-d5a3-b19e-7fae-047e7f5d7177'::uuid])
ORDER BY b."Id";

-- Query #52632 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8eb0d49a-d5a3-b19e-7fae-047e7f5d7177'::uuid])
ORDER BY b."Id";

-- Query #52633 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['338d44bd-c8dc-bd38-132e-1f4e8a07f763'::uuid])
ORDER BY b."Id";

-- Query #52634 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['338d44bd-c8dc-bd38-132e-1f4e8a07f763'::uuid])
ORDER BY b."Id";

-- Query #52635 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d5b9d54-02b3-45fc-f441-fba9879745a7'::uuid])
ORDER BY b."Id";

-- Query #52636 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3d5b9d54-02b3-45fc-f441-fba9879745a7'::uuid])
ORDER BY b."Id";

-- Query #52637 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8115955c-608f-6403-a5b5-07746c2931ed'::uuid])
ORDER BY b."Id";

-- Query #52638 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8115955c-608f-6403-a5b5-07746c2931ed'::uuid])
ORDER BY b."Id";

-- Query #52639 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6c61fe9-4543-0937-e3bd-1c94dbea9be8'::uuid])
ORDER BY b."Id";

-- Query #52640 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e6c61fe9-4543-0937-e3bd-1c94dbea9be8'::uuid])
ORDER BY b."Id";

-- Query #52641 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4eedc318-f6d4-6ec1-f573-531de6c3f525'::uuid])
ORDER BY b."Id";

-- Query #52642 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4eedc318-f6d4-6ec1-f573-531de6c3f525'::uuid])
ORDER BY b."Id";

-- Query #52643 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ede94064-83f3-fc91-be0f-31935b369e2e'::uuid])
ORDER BY b."Id";

-- Query #52644 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ede94064-83f3-fc91-be0f-31935b369e2e'::uuid])
ORDER BY b."Id";

-- Query #52645 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b7e776c-50bd-7838-c2fe-9e0192c2552f'::uuid])
ORDER BY b."Id";

-- Query #52646 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5b7e776c-50bd-7838-c2fe-9e0192c2552f'::uuid])
ORDER BY b."Id";

-- Query #52647 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e72b668-30c6-06e1-52a2-45426e20c603'::uuid])
ORDER BY b."Id";

-- Query #52648 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8e72b668-30c6-06e1-52a2-45426e20c603'::uuid])
ORDER BY b."Id";

-- Query #52649 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00f2e0d9-419b-10de-b17a-2b141c7e944f'::uuid])
ORDER BY b."Id";

-- Query #52650 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['00f2e0d9-419b-10de-b17a-2b141c7e944f'::uuid])
ORDER BY b."Id";

-- Query #52651 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd0ee55-9c81-76cb-0c44-5dd45c1513a6'::uuid])
ORDER BY b."Id";

-- Query #52652 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd0ee55-9c81-76cb-0c44-5dd45c1513a6'::uuid])
ORDER BY b."Id";

-- Query #52653 | logged_duration_ms=7 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3420147e-4c4f-cbf1-a070-b69594c10732'::uuid])
ORDER BY b."Id";

-- Query #52654 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #52655 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3420147e-4c4f-cbf1-a070-b69594c10732'::uuid])
ORDER BY b."Id";

-- Query #52656 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0c6fc668-2cfc-4160-559a-5a92ab55883a'::uuid])
ORDER BY b."Id";

-- Query #52657 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0c6fc668-2cfc-4160-559a-5a92ab55883a'::uuid])
ORDER BY b."Id";

-- Query #52658 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d4f85df2-418a-4f30-45f9-11d30dd9f319'::uuid])
ORDER BY b."Id";

-- Query #52659 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d4f85df2-418a-4f30-45f9-11d30dd9f319'::uuid])
ORDER BY b."Id";

-- Query #52660 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['61e10d06-2276-4bd8-8b51-003805916c78'::uuid])
ORDER BY b."Id";

-- Query #52661 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['61e10d06-2276-4bd8-8b51-003805916c78'::uuid])
ORDER BY b."Id";

-- Query #52662 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56541b0c-3406-3aa7-5f86-b3e9079cfffc'::uuid])
ORDER BY b."Id";

-- Query #52663 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['56541b0c-3406-3aa7-5f86-b3e9079cfffc'::uuid])
ORDER BY b."Id";

-- Query #52664 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb7983d5-f935-dde4-9d0a-207121e9129d'::uuid])
ORDER BY b."Id";

-- Query #52665 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cb7983d5-f935-dde4-9d0a-207121e9129d'::uuid])
ORDER BY b."Id";

-- Query #52666 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['946e99ea-04cb-3fee-f73a-49b7d4750640'::uuid])
ORDER BY b."Id";

-- Query #52667 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['946e99ea-04cb-3fee-f73a-49b7d4750640'::uuid])
ORDER BY b."Id";

-- Query #52668 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c2c04e60-925c-724f-7835-164c747a46e9'::uuid])
ORDER BY b."Id";

-- Query #52669 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c2c04e60-925c-724f-7835-164c747a46e9'::uuid])
ORDER BY b."Id";

-- Query #52670 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2504cf7a-6307-7735-2a33-08ed8a65703b'::uuid])
ORDER BY b."Id";

-- Query #52671 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2504cf7a-6307-7735-2a33-08ed8a65703b'::uuid])
ORDER BY b."Id";

-- Query #52672 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72ea8506-7326-7c99-975f-ceb966f335d9'::uuid])
ORDER BY b."Id";

-- Query #52673 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72ea8506-7326-7c99-975f-ceb966f335d9'::uuid])
ORDER BY b."Id";

-- Query #52674 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d15a348-9dcf-2d04-606f-741d9295445e'::uuid])
ORDER BY b."Id";

-- Query #52675 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1d15a348-9dcf-2d04-606f-741d9295445e'::uuid])
ORDER BY b."Id";

-- Query #52676 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5af633e-f297-f65d-7a1f-f99844265907'::uuid])
ORDER BY b."Id";

-- Query #52677 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b5af633e-f297-f65d-7a1f-f99844265907'::uuid])
ORDER BY b."Id";

-- Query #52678 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['47396790-8bf9-10c8-2165-d4620ff55b28'::uuid])
ORDER BY b."Id";

-- Query #52679 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['47396790-8bf9-10c8-2165-d4620ff55b28'::uuid])
ORDER BY b."Id";

-- Query #52680 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ba03b1a-1806-4630-e88e-dff1743b5b6e'::uuid])
ORDER BY b."Id";

-- Query #52681 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3ba03b1a-1806-4630-e88e-dff1743b5b6e'::uuid])
ORDER BY b."Id";

-- Query #52682 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85b3b3ce-b912-2813-35b3-a56fa6668ec8'::uuid])
ORDER BY b."Id";

-- Query #52683 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['85b3b3ce-b912-2813-35b3-a56fa6668ec8'::uuid])
ORDER BY b."Id";

-- Query #52684 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3b6c339-acee-394d-b199-785a666f52e6'::uuid])
ORDER BY b."Id";

-- Query #52685 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d3b6c339-acee-394d-b199-785a666f52e6'::uuid])
ORDER BY b."Id";

-- Query #52686 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5ea1e76-1e1c-fa22-b282-145f1e1b5b5c'::uuid])
ORDER BY b."Id";

-- Query #52687 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e5ea1e76-1e1c-fa22-b282-145f1e1b5b5c'::uuid])
ORDER BY b."Id";

-- Query #52688 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20ac531d-d341-89d1-a819-e89f2f1e9af9'::uuid])
ORDER BY b."Id";

-- Query #52689 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['20ac531d-d341-89d1-a819-e89f2f1e9af9'::uuid])
ORDER BY b."Id";

-- Query #52690 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f286e5ac-633f-1182-0f8a-a8e8633bdea2'::uuid])
ORDER BY b."Id";

-- Query #52691 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f286e5ac-633f-1182-0f8a-a8e8633bdea2'::uuid])
ORDER BY b."Id";

-- Query #52692 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3cbb32ea-45f0-b962-46cc-58a2d9bf9258'::uuid])
ORDER BY b."Id";

-- Query #52693 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3cbb32ea-45f0-b962-46cc-58a2d9bf9258'::uuid])
ORDER BY b."Id";

-- Query #52694 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['16b019c6-5119-b6cc-2a74-88afbf119560'::uuid])
ORDER BY b."Id";

-- Query #52695 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['16b019c6-5119-b6cc-2a74-88afbf119560'::uuid])
ORDER BY b."Id";

-- Query #52696 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['45f1f05e-b683-2917-9243-fb789f5f0b29'::uuid])
ORDER BY b."Id";

-- Query #52697 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['45f1f05e-b683-2917-9243-fb789f5f0b29'::uuid])
ORDER BY b."Id";

-- Query #52698 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82fae59e-df8c-2278-16f1-5add050e2aa1'::uuid])
ORDER BY b."Id";

-- Query #52699 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['82fae59e-df8c-2278-16f1-5add050e2aa1'::uuid])
ORDER BY b."Id";

-- Query #52700 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1b2970a-ec17-5cda-1bb7-10b38a33e765'::uuid])
ORDER BY b."Id";

-- Query #52701 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d1b2970a-ec17-5cda-1bb7-10b38a33e765'::uuid])
ORDER BY b."Id";

-- Query #52702 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a500cb1c-1303-b38e-68b7-3d8eacf268e1'::uuid])
ORDER BY b."Id";

-- Query #52703 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a500cb1c-1303-b38e-68b7-3d8eacf268e1'::uuid])
ORDER BY b."Id";

-- Query #52704 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ef96ce-90ba-3f6f-b691-0fd1f0dc9afd'::uuid])
ORDER BY b."Id";

-- Query #52705 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b7ef96ce-90ba-3f6f-b691-0fd1f0dc9afd'::uuid])
ORDER BY b."Id";

-- Query #52706 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c68206b0-3142-84b6-b891-e72a4e9c86d7'::uuid])
ORDER BY b."Id";

-- Query #52707 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c68206b0-3142-84b6-b891-e72a4e9c86d7'::uuid])
ORDER BY b."Id";

-- Query #52708 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a777a816-1311-69e9-5416-9882b2e4b882'::uuid])
ORDER BY b."Id";

-- Query #52709 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a777a816-1311-69e9-5416-9882b2e4b882'::uuid])
ORDER BY b."Id";

-- Query #52710 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bae3f312-773b-c2f1-4113-417ee11e4664'::uuid])
ORDER BY b."Id";

-- Query #52711 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bae3f312-773b-c2f1-4113-417ee11e4664'::uuid])
ORDER BY b."Id";

-- Query #52712 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795a8d5e-cad4-6b23-91e4-b2c034290577'::uuid])
ORDER BY b."Id";

-- Query #52713 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['795a8d5e-cad4-6b23-91e4-b2c034290577'::uuid])
ORDER BY b."Id";

-- Query #52714 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a4c529b-d460-105b-2ee9-2ea4c9ecba29'::uuid])
ORDER BY b."Id";

-- Query #52715 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4a4c529b-d460-105b-2ee9-2ea4c9ecba29'::uuid])
ORDER BY b."Id";

-- Query #52716 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b87f5704-5d82-91f8-998f-0cccdef7520b'::uuid])
ORDER BY b."Id";

-- Query #52717 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b87f5704-5d82-91f8-998f-0cccdef7520b'::uuid])
ORDER BY b."Id";

-- Query #52718 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30605e64-3e9a-ad7e-4126-4900bccf32a8'::uuid])
ORDER BY b."Id";

-- Query #52719 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['30605e64-3e9a-ad7e-4126-4900bccf32a8'::uuid])
ORDER BY b."Id";

-- Query #52720 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d074e23b-23de-f6d3-3832-5212d08609ab'::uuid])
ORDER BY b."Id";

-- Query #52721 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d074e23b-23de-f6d3-3832-5212d08609ab'::uuid])
ORDER BY b."Id";

-- Query #52722 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7763c9c5-7e7f-ef7e-f1de-154adb51401d'::uuid])
ORDER BY b."Id";

-- Query #52723 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7763c9c5-7e7f-ef7e-f1de-154adb51401d'::uuid])
ORDER BY b."Id";

-- Query #52724 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['348d0aa0-0c81-e42e-9c1f-87e45dacfa4a'::uuid])
ORDER BY b."Id";

-- Query #52725 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['348d0aa0-0c81-e42e-9c1f-87e45dacfa4a'::uuid])
ORDER BY b."Id";

-- Query #52726 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['246c9407-37d8-1f0f-5bd2-8c0bd282cdb7'::uuid])
ORDER BY b."Id";

-- Query #52727 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['246c9407-37d8-1f0f-5bd2-8c0bd282cdb7'::uuid])
ORDER BY b."Id";

-- Query #52728 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d1049a8-acfc-9d50-6902-444219ae25a3'::uuid])
ORDER BY b."Id";

-- Query #52729 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0d1049a8-acfc-9d50-6902-444219ae25a3'::uuid])
ORDER BY b."Id";

-- Query #52730 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7174c641-6905-e548-e4d2-5c5b72bd4975'::uuid])
ORDER BY b."Id";

-- Query #52731 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7174c641-6905-e548-e4d2-5c5b72bd4975'::uuid])
ORDER BY b."Id";

-- Query #52732 | logged_duration_ms=7 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80f1d90a-d976-b247-dcef-d1ccbe8fba66'::uuid])
ORDER BY b."Id";

-- Query #52733 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['80f1d90a-d976-b247-dcef-d1ccbe8fba66'::uuid])
ORDER BY b."Id";

-- Query #52734 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a27f6bed-d8cd-6a11-6c6f-4a906a2208ce'::uuid])
ORDER BY b."Id";

-- Query #52735 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a27f6bed-d8cd-6a11-6c6f-4a906a2208ce'::uuid])
ORDER BY b."Id";

-- Query #52736 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d9b0e73f-468c-75bf-b102-7cfc0316e95d'::uuid])
ORDER BY b."Id";

-- Query #52737 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d9b0e73f-468c-75bf-b102-7cfc0316e95d'::uuid])
ORDER BY b."Id";

-- Query #52738 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['27335311-df64-d777-8666-177fe49c207c'::uuid])
ORDER BY b."Id";

-- Query #52739 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['27335311-df64-d777-8666-177fe49c207c'::uuid])
ORDER BY b."Id";

-- Query #52740 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3ba9a09-6cf9-c55a-b606-453f0da5fb74'::uuid])
ORDER BY b."Id";

-- Query #52741 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d3ba9a09-6cf9-c55a-b606-453f0da5fb74'::uuid])
ORDER BY b."Id";

-- Query #52742 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf3adc32-8f91-13a6-7a5d-f94186afdfe6'::uuid])
ORDER BY b."Id";

-- Query #52743 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bf3adc32-8f91-13a6-7a5d-f94186afdfe6'::uuid])
ORDER BY b."Id";

-- Query #52744 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['970cb129-baaa-9fb2-0d8f-54507dea72c4'::uuid])
ORDER BY b."Id";

-- Query #52745 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['970cb129-baaa-9fb2-0d8f-54507dea72c4'::uuid])
ORDER BY b."Id";

-- Query #52746 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f75efd3-ddb6-67a6-e02c-6101d9cd9fc0'::uuid])
ORDER BY b."Id";

-- Query #52747 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4f75efd3-ddb6-67a6-e02c-6101d9cd9fc0'::uuid])
ORDER BY b."Id";

-- Query #52748 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a595f9bf-d077-f101-be53-b12f7729186e'::uuid])
ORDER BY b."Id";

-- Query #52749 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a595f9bf-d077-f101-be53-b12f7729186e'::uuid])
ORDER BY b."Id";

-- Query #52750 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fdb50e2-336e-6cad-641d-1941f84093ba'::uuid])
ORDER BY b."Id";

-- Query #52751 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6fdb50e2-336e-6cad-641d-1941f84093ba'::uuid])
ORDER BY b."Id";

-- Query #52752 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['988e890e-2fd2-412f-1f3f-cd18c26bada8'::uuid])
ORDER BY b."Id";

-- Query #52753 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['988e890e-2fd2-412f-1f3f-cd18c26bada8'::uuid])
ORDER BY b."Id";

-- Query #52754 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4e51e43-71de-cef5-a982-9f632e9e19ed'::uuid])
ORDER BY b."Id";

-- Query #52755 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f4e51e43-71de-cef5-a982-9f632e9e19ed'::uuid])
ORDER BY b."Id";

-- Query #52756 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb5721af-6b5d-a020-32ff-92db26d1f5d7'::uuid])
ORDER BY b."Id";

-- Query #52757 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eb5721af-6b5d-a020-32ff-92db26d1f5d7'::uuid])
ORDER BY b."Id";

-- Query #52758 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78aa6841-c671-35b8-053d-04f5d762e227'::uuid])
ORDER BY b."Id";

-- Query #52759 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['78aa6841-c671-35b8-053d-04f5d762e227'::uuid])
ORDER BY b."Id";

-- Query #52760 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10565359-390c-804b-98c6-18def6f26ef6'::uuid])
ORDER BY b."Id";

-- Query #52761 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['10565359-390c-804b-98c6-18def6f26ef6'::uuid])
ORDER BY b."Id";

-- Query #52762 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fecaeb1a-fe1c-cf48-494e-08f3d78a6f66'::uuid])
ORDER BY b."Id";

-- Query #52763 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fecaeb1a-fe1c-cf48-494e-08f3d78a6f66'::uuid])
ORDER BY b."Id";

-- Query #52764 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9509417-b220-255f-a791-9bc0e5654900'::uuid])
ORDER BY b."Id";

-- Query #52765 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f9509417-b220-255f-a791-9bc0e5654900'::uuid])
ORDER BY b."Id";

-- Query #52766 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4313ee31-902c-279c-8086-58d15ad3ff71'::uuid])
ORDER BY b."Id";

-- Query #52767 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4313ee31-902c-279c-8086-58d15ad3ff71'::uuid])
ORDER BY b."Id";

-- Query #52768 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6720a5d1-2b17-7549-1cca-14edabd53ea0'::uuid])
ORDER BY b."Id";

-- Query #52769 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6720a5d1-2b17-7549-1cca-14edabd53ea0'::uuid])
ORDER BY b."Id";

-- Query #52770 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4196071e-ce9d-ccd2-fa50-a64af7cc13df'::uuid])
ORDER BY b."Id";

-- Query #52771 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4196071e-ce9d-ccd2-fa50-a64af7cc13df'::uuid])
ORDER BY b."Id";

-- Query #52772 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bc22edad-02fc-b147-5380-e7972adbb1b9'::uuid])
ORDER BY b."Id";

-- Query #52773 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bc22edad-02fc-b147-5380-e7972adbb1b9'::uuid])
ORDER BY b."Id";

-- Query #52774 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48a3f4ab-31bc-014a-5362-99b39df21460'::uuid])
ORDER BY b."Id";

-- Query #52775 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['48a3f4ab-31bc-014a-5362-99b39df21460'::uuid])
ORDER BY b."Id";

-- Query #52776 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['225427e2-c107-051a-9afe-4643c0bec4b1'::uuid])
ORDER BY b."Id";

-- Query #52777 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['225427e2-c107-051a-9afe-4643c0bec4b1'::uuid])
ORDER BY b."Id";

-- Query #52778 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d7378095-7da2-9639-f51d-ea731123edfd'::uuid])
ORDER BY b."Id";

-- Query #52779 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d7378095-7da2-9639-f51d-ea731123edfd'::uuid])
ORDER BY b."Id";

-- Query #52780 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42d7f9f0-a75b-9a17-26f5-5afedc5fb3ed'::uuid])
ORDER BY b."Id";

-- Query #52781 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['42d7f9f0-a75b-9a17-26f5-5afedc5fb3ed'::uuid])
ORDER BY b."Id";

-- Query #52782 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2122f349-52c1-defc-abc9-6f87c47ce059'::uuid])
ORDER BY b."Id";

-- Query #52783 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2122f349-52c1-defc-abc9-6f87c47ce059'::uuid])
ORDER BY b."Id";

-- Query #52784 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0da2ea50-f4b4-11bd-7ad8-86a20b6d3e88'::uuid])
ORDER BY b."Id";

-- Query #52785 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0da2ea50-f4b4-11bd-7ad8-86a20b6d3e88'::uuid])
ORDER BY b."Id";

-- Query #52786 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06b17093-12e2-e247-22bd-0fc1de27f67e'::uuid])
ORDER BY b."Id";

-- Query #52787 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['06b17093-12e2-e247-22bd-0fc1de27f67e'::uuid])
ORDER BY b."Id";

-- Query #52788 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab556e04-8b58-a5c8-6a87-45eb647bc65e'::uuid])
ORDER BY b."Id";

-- Query #52789 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ab556e04-8b58-a5c8-6a87-45eb647bc65e'::uuid])
ORDER BY b."Id";

-- Query #52790 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3840fbfc-52f6-be65-a4e8-4c7a95e053f9'::uuid])
ORDER BY b."Id";

-- Query #52791 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3840fbfc-52f6-be65-a4e8-4c7a95e053f9'::uuid])
ORDER BY b."Id";

-- Query #52792 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3f39bb6b-91c1-c759-b48b-9395f468ce6e'::uuid])
ORDER BY b."Id";

-- Query #52793 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3f39bb6b-91c1-c759-b48b-9395f468ce6e'::uuid])
ORDER BY b."Id";

-- Query #52794 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c800e39-ba47-ee08-aad9-92c0728bb11f'::uuid])
ORDER BY b."Id";

-- Query #52795 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5c800e39-ba47-ee08-aad9-92c0728bb11f'::uuid])
ORDER BY b."Id";

-- Query #52796 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d6c04685-cbef-023f-0ab5-ff144db63071'::uuid])
ORDER BY b."Id";

-- Query #52797 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d6c04685-cbef-023f-0ab5-ff144db63071'::uuid])
ORDER BY b."Id";

-- Query #52798 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['650d3901-d4ce-00c2-07b3-b1d93120126d'::uuid])
ORDER BY b."Id";

-- Query #52799 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['650d3901-d4ce-00c2-07b3-b1d93120126d'::uuid])
ORDER BY b."Id";

-- Query #52800 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6730089b-3034-2527-6438-1ffc6dfb3e8b'::uuid])
ORDER BY b."Id";

-- Query #52801 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6730089b-3034-2527-6438-1ffc6dfb3e8b'::uuid])
ORDER BY b."Id";

-- Query #52802 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['16afe448-b03c-456f-e145-2b042399119a'::uuid])
ORDER BY b."Id";

-- Query #52803 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['16afe448-b03c-456f-e145-2b042399119a'::uuid])
ORDER BY b."Id";

-- Query #52804 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d34ca8f9-4bf3-223c-5c39-2fd41dc0a49e'::uuid])
ORDER BY b."Id";

-- Query #52805 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d34ca8f9-4bf3-223c-5c39-2fd41dc0a49e'::uuid])
ORDER BY b."Id";

-- Query #52806 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f26f3573-b07e-3c0e-046a-6839ce8c8e1c'::uuid])
ORDER BY b."Id";

-- Query #52807 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f26f3573-b07e-3c0e-046a-6839ce8c8e1c'::uuid])
ORDER BY b."Id";

-- Query #52808 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a1ebd161-1b68-e26f-01e7-73cbc199d406'::uuid])
ORDER BY b."Id";

-- Query #52809 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a1ebd161-1b68-e26f-01e7-73cbc199d406'::uuid])
ORDER BY b."Id";

-- Query #52810 | logged_duration_ms=7 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f16f932a-1126-0fc3-d84b-2e94bce45fa0'::uuid])
ORDER BY b."Id";

-- Query #52811 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f16f932a-1126-0fc3-d84b-2e94bce45fa0'::uuid])
ORDER BY b."Id";

-- Query #52812 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46b55330-e068-e167-8452-7a23f67d8366'::uuid])
ORDER BY b."Id";

-- Query #52813 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['46b55330-e068-e167-8452-7a23f67d8366'::uuid])
ORDER BY b."Id";

-- Query #52814 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['81d244bb-0288-1b0b-4f7f-9dda1c03d893'::uuid])
ORDER BY b."Id";

-- Query #52815 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['81d244bb-0288-1b0b-4f7f-9dda1c03d893'::uuid])
ORDER BY b."Id";

-- Query #52816 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8504098-172b-223e-aa7a-06a24801a66e'::uuid])
ORDER BY b."Id";

-- Query #52817 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a8504098-172b-223e-aa7a-06a24801a66e'::uuid])
ORDER BY b."Id";

-- Query #52818 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11cdcb6a-ae7e-f014-aac3-3589c0c4631b'::uuid])
ORDER BY b."Id";

-- Query #52819 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['11cdcb6a-ae7e-f014-aac3-3589c0c4631b'::uuid])
ORDER BY b."Id";

-- Query #52820 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4469e0ee-8794-1795-bb64-f1a9c26993e0'::uuid])
ORDER BY b."Id";

-- Query #52821 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4469e0ee-8794-1795-bb64-f1a9c26993e0'::uuid])
ORDER BY b."Id";

-- Query #52822 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a4d0d51-e2be-9821-d04e-ca2f8eb8ea43'::uuid])
ORDER BY b."Id";

-- Query #52823 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6a4d0d51-e2be-9821-d04e-ca2f8eb8ea43'::uuid])
ORDER BY b."Id";

-- Query #52824 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13b33bb8-1094-595b-3f7e-cdaaccfd9793'::uuid])
ORDER BY b."Id";

-- Query #52825 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['13b33bb8-1094-595b-3f7e-cdaaccfd9793'::uuid])
ORDER BY b."Id";

-- Query #52826 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid])
ORDER BY b."Id";

-- Query #52827 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid])
ORDER BY b."Id";

-- Query #52828 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid])
ORDER BY b."Id";

-- Query #52829 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['048daa9d-0345-62e6-cdff-288267bdfd30'::uuid])
ORDER BY b."Id";

-- Query #52830 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['048daa9d-0345-62e6-cdff-288267bdfd30'::uuid])
ORDER BY b."Id";

-- Query #52831 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid])
ORDER BY b."Id";

-- Query #52832 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid])
ORDER BY b."Id";

-- Query #52833 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid])
ORDER BY b."Id";

-- Query #52834 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c24d42a4-bfb3-954e-c7d0-05f15997d979'::uuid])
ORDER BY b."Id";

-- Query #52835 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c24d42a4-bfb3-954e-c7d0-05f15997d979'::uuid])
ORDER BY b."Id";

-- Query #52836 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad638727-f053-df80-8a63-e965681fc5c1'::uuid])
ORDER BY b."Id";

-- Query #52837 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ad638727-f053-df80-8a63-e965681fc5c1'::uuid])
ORDER BY b."Id";

-- Query #52838 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['57b334a1-5ff7-d0cf-ac14-723d389fbc3a'::uuid])
ORDER BY b."Id";

-- Query #52839 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['57b334a1-5ff7-d0cf-ac14-723d389fbc3a'::uuid])
ORDER BY b."Id";

-- Query #52840 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bfa2fc7d-9169-ea0c-0525-e290bc9fd928'::uuid])
ORDER BY b."Id";

-- Query #52841 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bfa2fc7d-9169-ea0c-0525-e290bc9fd928'::uuid])
ORDER BY b."Id";

-- Query #52842 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #52843 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #52844 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ff89436-4807-b4cb-6d15-067ae482e8b2'::uuid])
ORDER BY b."Id";

-- Query #52845 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ff89436-4807-b4cb-6d15-067ae482e8b2'::uuid])
ORDER BY b."Id";

-- Query #52846 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c01feadc-d92a-97cb-4f20-a6d9a4b9bf5e'::uuid])
ORDER BY b."Id";

-- Query #52847 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c01feadc-d92a-97cb-4f20-a6d9a4b9bf5e'::uuid])
ORDER BY b."Id";

-- Query #52848 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['91e008cb-c3fe-1cfb-e21a-991486b37a72'::uuid])
ORDER BY b."Id";

-- Query #52849 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['91e008cb-c3fe-1cfb-e21a-991486b37a72'::uuid])
ORDER BY b."Id";

-- Query #52850 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['89fdd5ce-6409-a69a-1354-4b3d36645c9c'::uuid])
ORDER BY b."Id";

-- Query #52851 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['89fdd5ce-6409-a69a-1354-4b3d36645c9c'::uuid])
ORDER BY b."Id";

-- Query #52852 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d852fabf-ed45-3b39-cc73-ffe58cd056c0'::uuid])
ORDER BY b."Id";

-- Query #52853 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d852fabf-ed45-3b39-cc73-ffe58cd056c0'::uuid])
ORDER BY b."Id";

-- Query #52854 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #52855 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #52856 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #52857 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58e5a194-4d05-3787-66da-5e3d677f344d'::uuid])
ORDER BY b."Id";

-- Query #52858 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['58e5a194-4d05-3787-66da-5e3d677f344d'::uuid])
ORDER BY b."Id";

-- Query #52859 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid])
ORDER BY b."Id";

-- Query #52860 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid])
ORDER BY b."Id";

-- Query #52861 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid])
ORDER BY b."Id";

-- Query #52862 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f697a888-94d2-9740-2219-071df06cb2de'::uuid])
ORDER BY b."Id";

-- Query #52863 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f697a888-94d2-9740-2219-071df06cb2de'::uuid])
ORDER BY b."Id";

-- Query #52864 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c886bf3e-0636-1ae5-dba4-b8479ddb1fb4'::uuid])
ORDER BY b."Id";

-- Query #52865 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c886bf3e-0636-1ae5-dba4-b8479ddb1fb4'::uuid])
ORDER BY b."Id";

-- Query #52866 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90b14806-5faa-7dba-5cce-b5cddad164e1'::uuid])
ORDER BY b."Id";

-- Query #52867 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['90b14806-5faa-7dba-5cce-b5cddad164e1'::uuid])
ORDER BY b."Id";

-- Query #52868 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['353bdd4a-be08-eb27-1adb-b58670610240'::uuid])
ORDER BY b."Id";

-- Query #52869 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['353bdd4a-be08-eb27-1adb-b58670610240'::uuid])
ORDER BY b."Id";

-- Query #52870 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['246cb985-2e1a-1988-b54c-b64bb3a7550a'::uuid])
ORDER BY b."Id";

-- Query #52871 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['246cb985-2e1a-1988-b54c-b64bb3a7550a'::uuid])
ORDER BY b."Id";

-- Query #52872 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid])
ORDER BY b."Id";

-- Query #52873 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid])
ORDER BY b."Id";

-- Query #52874 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid])
ORDER BY b."Id";

-- Query #52875 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0880b39e-c0e1-1f04-ac0d-d1eca4eff409'::uuid])
ORDER BY b."Id";

-- Query #52876 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0880b39e-c0e1-1f04-ac0d-d1eca4eff409'::uuid])
ORDER BY b."Id";

-- Query #52877 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid])
ORDER BY b."Id";

-- Query #52878 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid])
ORDER BY b."Id";

-- Query #52879 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid])
ORDER BY b."Id";

-- Query #52880 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5fdcdbf5-2b89-a90f-5aef-a3b99587fed8'::uuid])
ORDER BY b."Id";

-- Query #52881 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5fdcdbf5-2b89-a90f-5aef-a3b99587fed8'::uuid])
ORDER BY b."Id";

-- Query #52882 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3f8ac6c2-7ecd-a48c-0312-18739a59270a'::uuid])
ORDER BY b."Id";

-- Query #52883 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3f8ac6c2-7ecd-a48c-0312-18739a59270a'::uuid])
ORDER BY b."Id";

-- Query #52884 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5a120425-c496-7e6a-d024-fb1786032e69'::uuid])
ORDER BY b."Id";

-- Query #52885 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5a120425-c496-7e6a-d024-fb1786032e69'::uuid])
ORDER BY b."Id";

-- Query #52886 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d8cd58e8-4664-5299-274e-fd356ae5e2cd'::uuid])
ORDER BY b."Id";

-- Query #52887 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d8cd58e8-4664-5299-274e-fd356ae5e2cd'::uuid])
ORDER BY b."Id";

-- Query #52888 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e0dec68-943f-86ce-7d45-1cdf64378749'::uuid])
ORDER BY b."Id";

-- Query #52889 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8e0dec68-943f-86ce-7d45-1cdf64378749'::uuid])
ORDER BY b."Id";

-- Query #52890 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4882a658-970f-3705-dda4-eee08e2642c2'::uuid])
ORDER BY b."Id";

-- Query #52891 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4882a658-970f-3705-dda4-eee08e2642c2'::uuid])
ORDER BY b."Id";

-- Query #52892 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5331f2b-e1bd-0e22-ae89-44e3f5201b3a'::uuid])
ORDER BY b."Id";

-- Query #52893 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b5331f2b-e1bd-0e22-ae89-44e3f5201b3a'::uuid])
ORDER BY b."Id";

-- Query #52894 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efd921e5-fc93-d652-5983-65cd6765508d'::uuid])
ORDER BY b."Id";

-- Query #52895 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['efd921e5-fc93-d652-5983-65cd6765508d'::uuid])
ORDER BY b."Id";

-- Query #52896 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1aa9920e-044c-e412-606a-9f7057fa2d4c'::uuid])
ORDER BY b."Id";

-- Query #52897 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1aa9920e-044c-e412-606a-9f7057fa2d4c'::uuid])
ORDER BY b."Id";

-- Query #52898 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid])
ORDER BY b."Id";

-- Query #52899 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid])
ORDER BY b."Id";

-- Query #52900 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid])
ORDER BY b."Id";

-- Query #52901 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['370aaae1-482f-4b1a-f24a-c6c9269b29f8'::uuid])
ORDER BY b."Id";

-- Query #52902 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['370aaae1-482f-4b1a-f24a-c6c9269b29f8'::uuid])
ORDER BY b."Id";

-- Query #52903 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fdda97db-bb72-a1e5-e7a6-9e10d9662152'::uuid])
ORDER BY b."Id";

-- Query #52904 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fdda97db-bb72-a1e5-e7a6-9e10d9662152'::uuid])
ORDER BY b."Id";

-- Query #52905 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07cfcadb-4b69-65ac-5c11-db7ce84dc693'::uuid])
ORDER BY b."Id";

-- Query #52906 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['07cfcadb-4b69-65ac-5c11-db7ce84dc693'::uuid])
ORDER BY b."Id";

-- Query #52907 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3b1d272-e873-76aa-58ee-c5b9d415f196'::uuid])
ORDER BY b."Id";

-- Query #52908 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c3b1d272-e873-76aa-58ee-c5b9d415f196'::uuid])
ORDER BY b."Id";

-- Query #52909 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['83a00e27-6832-5189-d6aa-2fb03c1cfc45'::uuid])
ORDER BY b."Id";

-- Query #52910 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['83a00e27-6832-5189-d6aa-2fb03c1cfc45'::uuid])
ORDER BY b."Id";

-- Query #52911 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cfc6429-50c5-6adf-9893-2271e371923a'::uuid])
ORDER BY b."Id";

-- Query #52912 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9cfc6429-50c5-6adf-9893-2271e371923a'::uuid])
ORDER BY b."Id";

-- Query #52913 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #52914 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #52915 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #52916 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d40a5522-61d3-2fd9-6d61-c8809fc40bbe'::uuid])
ORDER BY b."Id";

-- Query #52917 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d40a5522-61d3-2fd9-6d61-c8809fc40bbe'::uuid])
ORDER BY b."Id";

-- Query #52918 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['747d96ba-fd8e-3b8d-254c-85b4e73686ee'::uuid])
ORDER BY b."Id";

-- Query #52919 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['747d96ba-fd8e-3b8d-254c-85b4e73686ee'::uuid])
ORDER BY b."Id";

-- Query #52920 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0999d222-b41b-f75d-c06a-1f8ab84f9d60'::uuid])
ORDER BY b."Id";

-- Query #52921 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0999d222-b41b-f75d-c06a-1f8ab84f9d60'::uuid])
ORDER BY b."Id";

-- Query #52922 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid])
ORDER BY b."Id";

-- Query #52923 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid])
ORDER BY b."Id";

-- Query #52924 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid])
ORDER BY b."Id";

-- Query #52925 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38666da5-1af8-d2aa-f5b2-b984753aeb29'::uuid])
ORDER BY b."Id";

-- Query #52926 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['38666da5-1af8-d2aa-f5b2-b984753aeb29'::uuid])
ORDER BY b."Id";

-- Query #52927 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a7828a87-6279-b229-5dc1-15d2db505402'::uuid])
ORDER BY b."Id";

-- Query #52928 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a7828a87-6279-b229-5dc1-15d2db505402'::uuid])
ORDER BY b."Id";

-- Query #52929 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #52930 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #52931 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #52932 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d9474a16-f843-eff4-849a-dfc72381f571'::uuid])
ORDER BY b."Id";

-- Query #52933 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d9474a16-f843-eff4-849a-dfc72381f571'::uuid])
ORDER BY b."Id";

-- Query #52934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['482e5cf7-033c-445a-00c8-77d119afaf74'::uuid])
ORDER BY b."Id";

-- Query #52935 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['482e5cf7-033c-445a-00c8-77d119afaf74'::uuid])
ORDER BY b."Id";

-- Query #52936 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc71f03e-d8c6-b808-fd47-3adfd33fc564'::uuid])
ORDER BY b."Id";

-- Query #52937 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cc71f03e-d8c6-b808-fd47-3adfd33fc564'::uuid])
ORDER BY b."Id";

-- Query #52938 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4c86c9e-c013-42ff-8028-9dce680d4099'::uuid])
ORDER BY b."Id";

-- Query #52939 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f4c86c9e-c013-42ff-8028-9dce680d4099'::uuid])
ORDER BY b."Id";

-- Query #52940 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f4c86c9e-c013-42ff-8028-9dce680d4099'::uuid])
ORDER BY b."Id";

-- Query #52941 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['08b9fb77-b6c9-3b6a-7f34-cc8a8671d2bb'::uuid])
ORDER BY b."Id";

-- Query #52942 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['08b9fb77-b6c9-3b6a-7f34-cc8a8671d2bb'::uuid])
ORDER BY b."Id";

-- Query #52943 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a05af6a-af19-372f-39cc-8f1e936e5506'::uuid])
ORDER BY b."Id";

-- Query #52944 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8a05af6a-af19-372f-39cc-8f1e936e5506'::uuid])
ORDER BY b."Id";

-- Query #52945 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ba05b03-473f-4a35-e594-0bd7de94b2a7'::uuid])
ORDER BY b."Id";

-- Query #52946 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4ba05b03-473f-4a35-e594-0bd7de94b2a7'::uuid])
ORDER BY b."Id";

-- Query #52947 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5946369e-1746-462f-27aa-7907788540b2'::uuid])
ORDER BY b."Id";

-- Query #52948 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5946369e-1746-462f-27aa-7907788540b2'::uuid])
ORDER BY b."Id";

-- Query #52949 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e47cc01b-8078-c957-11b2-51dbffe4f641'::uuid])
ORDER BY b."Id";

-- Query #52950 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e47cc01b-8078-c957-11b2-51dbffe4f641'::uuid])
ORDER BY b."Id";

-- Query #52951 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['921f2fb2-3828-3738-2a0b-4850f63d6aca'::uuid])
ORDER BY b."Id";

-- Query #52952 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['921f2fb2-3828-3738-2a0b-4850f63d6aca'::uuid])
ORDER BY b."Id";

-- Query #52953 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['52b66c54-fb7d-be37-cf9c-ebafbccea776'::uuid])
ORDER BY b."Id";

-- Query #52954 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['52b66c54-fb7d-be37-cf9c-ebafbccea776'::uuid])
ORDER BY b."Id";

-- Query #52955 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3732ef72-031c-e9de-f94f-31583e3704e6'::uuid])
ORDER BY b."Id";

-- Query #52956 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3732ef72-031c-e9de-f94f-31583e3704e6'::uuid])
ORDER BY b."Id";

-- Query #52957 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['31f63440-3e66-0d03-8e48-af685fa13bbe'::uuid])
ORDER BY b."Id";

-- Query #52958 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['31f63440-3e66-0d03-8e48-af685fa13bbe'::uuid])
ORDER BY b."Id";

-- Query #52959 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid])
ORDER BY b."Id";

-- Query #52960 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid])
ORDER BY b."Id";

-- Query #52961 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid])
ORDER BY b."Id";

-- Query #52962 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0899e7ce-790a-4bfd-599d-cd3e8270035d'::uuid])
ORDER BY b."Id";

-- Query #52963 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0899e7ce-790a-4bfd-599d-cd3e8270035d'::uuid])
ORDER BY b."Id";

-- Query #52964 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid])
ORDER BY b."Id";

-- Query #52965 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid])
ORDER BY b."Id";

-- Query #52966 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid])
ORDER BY b."Id";

-- Query #52967 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid])
ORDER BY b."Id";

-- Query #52968 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid])
ORDER BY b."Id";

-- Query #52969 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #52970 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #52971 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #52972 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9a7de40-e267-9e03-dd24-d9655b3cfff3'::uuid])
ORDER BY b."Id";

-- Query #52973 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9a7de40-e267-9e03-dd24-d9655b3cfff3'::uuid])
ORDER BY b."Id";

-- Query #52974 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #52975 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #52976 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #52977 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #52978 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #52979 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #52980 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #52981 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #52982 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #52983 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #52984 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #52985 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #52986 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid
ORDER BY m."StreamIndex";

-- Query #52987 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid;

-- Query #52988 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid;

-- Query #52989 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid
ORDER BY m."StreamIndex";

-- Query #52990 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid;

-- Query #52991 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid;

-- Query #52992 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid
ORDER BY m."StreamIndex";

-- Query #52993 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid;

-- Query #52994 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid;

-- Query #52995 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid
ORDER BY m."StreamIndex";

-- Query #52996 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid;

-- Query #52997 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid;

-- Query #52998 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid
ORDER BY m."StreamIndex";

-- Query #52999 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid;

-- Query #53000 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid;

-- Query #53001 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid
ORDER BY m."StreamIndex";

-- Query #53002 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid;

-- Query #53003 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid;

-- Query #53004 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid
ORDER BY m."StreamIndex";

-- Query #53005 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid;

-- Query #53006 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid;

-- Query #53007 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid
ORDER BY m."StreamIndex";

-- Query #53008 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid;

-- Query #53009 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid;

-- Query #53010 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid
ORDER BY m."StreamIndex";

-- Query #53011 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid;

-- Query #53012 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid;

-- Query #53013 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid
ORDER BY m."StreamIndex";

-- Query #53014 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid;

-- Query #53015 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid;

-- Query #53016 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid
ORDER BY m."StreamIndex";

-- Query #53017 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid;

-- Query #53018 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid;

-- Query #53019 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid
ORDER BY m."StreamIndex";

-- Query #53020 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid;

-- Query #53021 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid;

-- Query #53022 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid
ORDER BY m."StreamIndex";

-- Query #53023 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #53024 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #53025 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid
ORDER BY m."StreamIndex";

-- Query #53026 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #53027 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #53028 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '68aaeb02-13bb-776d-4469-a44df0553677'::uuid
ORDER BY m."StreamIndex";

-- Query #53029 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '68aaeb02-13bb-776d-4469-a44df0553677'::uuid;

-- Query #53030 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '68aaeb02-13bb-776d-4469-a44df0553677'::uuid;

-- Query #53031 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '68aaeb02-13bb-776d-4469-a44df0553677'::uuid
ORDER BY m."StreamIndex";

-- Query #53032 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '68aaeb02-13bb-776d-4469-a44df0553677'::uuid;

-- Query #53033 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '68aaeb02-13bb-776d-4469-a44df0553677'::uuid;

-- Query #53034 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '7dc728f489023d1fee5ffaca898fb1b0';

-- Query #53035 | logged_duration_ms=3 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid
ORDER BY m."StreamIndex";

-- Query #53036 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #53037 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '84f4156e0495840afdd4844bf91fba18';

-- Query #53038 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #53039 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0c1954cf2d291cb791e2104712d399f7';

-- Query #53040 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid
ORDER BY m."StreamIndex";

-- Query #53041 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #53042 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #53043 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a32a8dead8322eb000d7342898ebeeb0';

-- Query #53044 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #53045 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid
ORDER BY m."StreamIndex";

-- Query #53046 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #53047 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #53048 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'fbf0d8d0e2d34ea37d0b7352569ffbc1';

-- Query #53049 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #53050 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid
ORDER BY m."StreamIndex";

-- Query #53051 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #53052 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '1fd93e29a80a8140967f20b332fac6be';

-- Query #53053 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #53054 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'e81fefeb9a1d548a67e9dfe837512296';

-- Query #53055 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid
ORDER BY m."StreamIndex";

-- Query #53056 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #53057 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '070e55527183cfd69699d7c720976cc6';

-- Query #53058 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #53059 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b91ac0e264e7402721b58d31856c7d07';

-- Query #53060 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid
ORDER BY m."StreamIndex";

-- Query #53061 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #53062 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '5bdcfe8be3a75f10efa0586f78c88275';

-- Query #53063 | logged_duration_ms=2 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #53064 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid
ORDER BY m."StreamIndex";

-- Query #53065 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #53066 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid
ORDER BY m."StreamIndex";

-- Query #53067 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #53068 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #53069 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid
ORDER BY m."StreamIndex";

-- Query #53070 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #53071 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #53072 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid
ORDER BY m."StreamIndex";

-- Query #53073 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #53074 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #53075 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #53076 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid
ORDER BY m."StreamIndex";

-- Query #53077 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #53078 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid
ORDER BY m."StreamIndex";

-- Query #53079 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #53080 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #53081 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid
ORDER BY m."StreamIndex";

-- Query #53082 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #53083 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #53084 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid
ORDER BY m."StreamIndex";

-- Query #53085 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #53086 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #53087 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #53088 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'defff2c61a2156b01a7c320a681f95e0';

-- Query #53089 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid
ORDER BY m."StreamIndex";

-- Query #53090 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #53091 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'ee9ddd2a848848d0dc4e919dd72a046d';

-- Query #53092 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #53093 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid
ORDER BY m."StreamIndex";

-- Query #53094 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #53095 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '6f5308a6c82d6f1b68ddb27b5b355704';

-- Query #53096 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #53097 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid
ORDER BY m."StreamIndex";

-- Query #53098 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'ad713fedd097f6c23bc74d9b76e608f4';

-- Query #53099 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #53100 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #53101 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #53102 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid
ORDER BY m."StreamIndex";

-- Query #53103 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #53104 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #53105 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b7c5b5434e33a5dee49887f00b152aaf';

-- Query #53106 | logged_duration_ms=2 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #53107 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid
ORDER BY m."StreamIndex";

-- Query #53108 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #53109 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #53110 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid
ORDER BY m."StreamIndex";

-- Query #53111 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '917b95173af31eefe3a4418161d672f7';

-- Query #53112 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #53113 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #53114 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '990d3c58f72d6c6c6d4d0550fa1d05e4';

-- Query #53115 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #53116 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid
ORDER BY m."StreamIndex";

-- Query #53117 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #53118 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #53119 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '09aab912e308b806252298ce915c9f9c';

-- Query #53120 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4817c64700c062f4ee2810e5753172ea';

-- Query #53121 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #53122 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid
ORDER BY m."StreamIndex";

-- Query #53123 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'eff532640633d1dd6c6a1e01d5faa946';

-- Query #53124 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #53125 | logged_duration_ms=2 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #53126 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #53127 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #53128 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '7f12af9ab2adba21082a763ba1f7f59a';

-- Query #53129 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a5f8209a19f94fe6d61b67d7685e62ee';

-- Query #53130 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid
ORDER BY m."StreamIndex";

-- Query #53131 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid
ORDER BY m."StreamIndex";

-- Query #53132 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #53133 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #53134 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #53135 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #53136 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #53137 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #53138 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid
ORDER BY m."StreamIndex";

-- Query #53139 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid
ORDER BY m."StreamIndex";

-- Query #53140 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #53141 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3';

-- Query #53142 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #53143 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #53144 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #53145 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8acf89e6fef723b8ca1c493423aaaa53';

-- Query #53146 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid
ORDER BY m."StreamIndex";

-- Query #53147 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #53148 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #53149 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid
ORDER BY m."StreamIndex";

-- Query #53150 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #53151 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #53152 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid
ORDER BY m."StreamIndex";

-- Query #53153 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #53154 | logged_duration_ms=17 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #53155 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid
ORDER BY m."StreamIndex";

-- Query #53156 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #53157 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #53158 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid
ORDER BY m."StreamIndex";

-- Query #53159 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #53160 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4ff3db3d735044c18e2668ea7a322695';

-- Query #53161 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #53162 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid
ORDER BY m."StreamIndex";

-- Query #53163 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #53164 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #53165 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #53166 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #53167 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49';

-- Query #53168 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid
ORDER BY m."StreamIndex";

-- Query #53169 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8e4ac1a42fb77d729b2a9452b2b6d7d6';

-- Query #53170 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #53171 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #53172 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #53173 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3a4abcba13dca5ab2464a2677f08510d';

-- Query #53174 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid
ORDER BY m."StreamIndex";

-- Query #53175 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #53176 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid
ORDER BY m."StreamIndex";

-- Query #53177 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #53178 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #53179 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #53180 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #53181 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #53182 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid
ORDER BY m."StreamIndex";

-- Query #53183 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #53184 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #53185 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid
ORDER BY m."StreamIndex";

-- Query #53186 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #53187 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #53188 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #53189 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b';

-- Query #53190 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #53191 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid
ORDER BY m."StreamIndex";

-- Query #53192 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid
ORDER BY m."StreamIndex";

-- Query #53193 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #53194 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #53195 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #53196 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #53197 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #53198 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #53199 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid
ORDER BY m."StreamIndex";

-- Query #53200 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #53201 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b7c5b5434e33a5dee49887f00b152aaf';

-- Query #53202 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid
ORDER BY m."StreamIndex";

-- Query #53203 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #53204 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #53205 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid
ORDER BY m."StreamIndex";

-- Query #53206 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #53207 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #53208 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #53209 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #53210 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid
ORDER BY m."StreamIndex";

-- Query #53211 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #53212 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #53213 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0dfe5e318778b4de16a02a1d3cb958fe';

-- Query #53214 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid
ORDER BY m."StreamIndex";

-- Query #53215 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #53216 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #53217 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #53218 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid
ORDER BY m."StreamIndex";

-- Query #53219 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #53220 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid;

-- Query #53221 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #53222 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid
ORDER BY m."StreamIndex";

-- Query #53223 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #53224 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid;

-- Query #53225 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f7572de2e6c48aa2411535e2bebb56de';

-- Query #53226 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid
ORDER BY m."StreamIndex";

-- Query #53227 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #53228 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid;

-- Query #53229 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid
ORDER BY m."StreamIndex";

-- Query #53230 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #53231 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #53232 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #53233 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid;

-- Query #53234 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #53235 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '425cfdd08ea5677ef18d87571eee0eb7';

-- Query #53236 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid
ORDER BY m."StreamIndex";

-- Query #53237 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid
ORDER BY m."StreamIndex";

-- Query #53238 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #53239 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid;

-- Query #53240 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #53241 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid;

-- Query #53242 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid
ORDER BY m."StreamIndex";

-- Query #53243 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid
ORDER BY m."StreamIndex";

-- Query #53244 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid;

-- Query #53245 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #53246 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '9856c203b77aa89991b6d23a9b21c519';

-- Query #53247 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid;

-- Query #53248 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #53249 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #53250 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid
ORDER BY m."StreamIndex";

-- Query #53251 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid
ORDER BY m."StreamIndex";

-- Query #53252 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #53253 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #53254 | logged_duration_ms=2 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid;

-- Query #53255 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'fbf0d8d0e2d34ea37d0b7352569ffbc1';

-- Query #53256 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #53257 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid;

-- Query #53258 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid
ORDER BY m."StreamIndex";

-- Query #53259 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid
ORDER BY m."StreamIndex";

-- Query #53260 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #53261 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid;

-- Query #53262 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #53263 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #53264 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #53265 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid;

-- Query #53266 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '922734452f5141b377a24b86a11d9f34';

-- Query #53267 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b6169fe12bb8ee0bc00021a117062dc5';

-- Query #53268 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid
ORDER BY m."StreamIndex";

-- Query #53269 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid;

-- Query #53270 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid
ORDER BY m."StreamIndex";

-- Query #53271 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #53272 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #53273 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid;

-- Query #53274 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #53275 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #53276 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid
ORDER BY m."StreamIndex";

-- Query #53277 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #53278 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid;

-- Query #53279 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid
ORDER BY m."StreamIndex";

-- Query #53280 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #53281 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid;

-- Query #53282 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #53283 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #53284 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid
ORDER BY m."StreamIndex";

-- Query #53285 | logged_duration_ms=12 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid
ORDER BY m."StreamIndex";

-- Query #53286 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #53287 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #53288 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid;

-- Query #53289 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0187d0b13a725f05f134368ea10fcd46';

-- Query #53290 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #53291 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid;

-- Query #53292 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid
ORDER BY m."StreamIndex";

-- Query #53293 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid
ORDER BY m."StreamIndex";

-- Query #53294 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #53295 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid;

-- Query #53296 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #53297 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid;

-- Query #53298 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '67e7d66ac804865d447c1e6373a33ef2';

-- Query #53299 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '917b95173af31eefe3a4418161d672f7';

-- Query #53300 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid
ORDER BY m."StreamIndex";

-- Query #53301 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid;

-- Query #53302 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f6416178f90ca8f572780458670e9433';

-- Query #53303 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid;

-- Query #53304 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid
ORDER BY m."StreamIndex";

-- Query #53305 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid;

-- Query #53306 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '38ccad6a78ddd9f6c54be67de1cb2ded';

-- Query #53307 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid;

-- Query #53308 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid
ORDER BY m."StreamIndex";

-- Query #53309 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #53310 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid
ORDER BY m."StreamIndex";

-- Query #53311 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #53312 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid;

-- Query #53313 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid
ORDER BY m."StreamIndex";

-- Query #53314 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid;

-- Query #53315 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #53316 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid
ORDER BY m."StreamIndex";

-- Query #53317 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #53318 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid;

-- Query #53319 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid;

-- Query #53320 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '26d8f0d27821cede0875ae11abc2d327';

-- Query #53321 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid
ORDER BY m."StreamIndex";

-- Query #53322 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid;

-- Query #53323 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '364d504bc02448b9e98ea660ee23917d';

-- Query #53324 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid;

-- Query #53325 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid
ORDER BY m."StreamIndex";

-- Query #53326 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid
ORDER BY m."StreamIndex";

-- Query #53327 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #53328 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid;

-- Query #53329 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #53330 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid;

-- Query #53331 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid
ORDER BY m."StreamIndex";

-- Query #53332 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #53333 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid
ORDER BY m."StreamIndex";

-- Query #53334 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8e4ac1a42fb77d729b2a9452b2b6d7d6';

-- Query #53335 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #53336 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid;

-- Query #53337 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid;

-- Query #53338 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4a622297c059873ca138587d5b47766a';

-- Query #53339 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid
ORDER BY m."StreamIndex";

-- Query #53340 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid;

-- Query #53341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #53342 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid;

-- Query #53343 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #53344 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #53345 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid
ORDER BY m."StreamIndex";

-- Query #53346 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid
ORDER BY m."StreamIndex";

-- Query #53347 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid;

-- Query #53348 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #53349 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid;

-- Query #53350 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #53351 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid
ORDER BY m."StreamIndex";

-- Query #53352 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid
ORDER BY m."StreamIndex";

-- Query #53353 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #53354 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid;

-- Query #53355 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid;

-- Query #53356 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #53357 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid
ORDER BY m."StreamIndex";

-- Query #53358 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '65007c97dfa56125b4137dadcc66ee70';

-- Query #53359 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid;

-- Query #53360 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid;

-- Query #53361 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid
ORDER BY m."StreamIndex";

-- Query #53362 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid;

-- Query #53363 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid;

-- Query #53364 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '7fe9249fefa0517bb50729381afb52ec';

-- Query #53365 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid
ORDER BY m."StreamIndex";

-- Query #53366 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #53367 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid;

-- Query #53368 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #53369 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4817c64700c062f4ee2810e5753172ea';

-- Query #53370 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid;

-- Query #53371 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid
ORDER BY m."StreamIndex";

-- Query #53372 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid
ORDER BY m."StreamIndex";

-- Query #53373 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid;

-- Query #53374 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #53375 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid;

-- Query #53376 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #53377 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid
ORDER BY m."StreamIndex";

-- Query #53378 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #53379 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid
ORDER BY m."StreamIndex";

-- Query #53380 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid;

-- Query #53381 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #53382 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid
ORDER BY m."StreamIndex";

-- Query #53383 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid;

-- Query #53384 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #53385 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid
ORDER BY m."StreamIndex";

-- Query #53386 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid;

-- Query #53387 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #53388 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid;

-- Query #53389 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid
ORDER BY m."StreamIndex";

-- Query #53390 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #53391 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid
ORDER BY m."StreamIndex";

-- Query #53392 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #53393 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid;

-- Query #53394 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid;

-- Query #53395 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid
ORDER BY m."StreamIndex";

-- Query #53396 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid;

-- Query #53397 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid;

-- Query #53398 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid
ORDER BY m."StreamIndex";

-- Query #53399 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid;

-- Query #53400 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid;

-- Query #53401 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid
ORDER BY m."StreamIndex";

-- Query #53402 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid;

-- Query #53403 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid;

-- Query #53404 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid
ORDER BY m."StreamIndex";

-- Query #53405 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid;

-- Query #53406 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid;

-- Query #53407 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid
ORDER BY m."StreamIndex";

-- Query #53408 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid;

-- Query #53409 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid;

-- Query #53410 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid
ORDER BY m."StreamIndex";

-- Query #53411 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid;

-- Query #53412 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid;

-- Query #53413 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid
ORDER BY m."StreamIndex";

-- Query #53414 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid;

-- Query #53415 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid;

-- Query #53416 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid
ORDER BY m."StreamIndex";

-- Query #53417 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid;

-- Query #53418 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid;

-- Query #53419 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid
ORDER BY m."StreamIndex";

-- Query #53420 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid;

-- Query #53421 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid;

-- Query #53422 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid
ORDER BY m."StreamIndex";

-- Query #53423 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid;

-- Query #53424 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid;

-- Query #53425 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid
ORDER BY m."StreamIndex";

-- Query #53426 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid;

-- Query #53427 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid;

-- Query #53428 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid
ORDER BY m."StreamIndex";

-- Query #53429 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid;

-- Query #53430 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid;

-- Query #53431 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid
ORDER BY m."StreamIndex";

-- Query #53432 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid;

-- Query #53433 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid;

-- Query #53434 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid
ORDER BY m."StreamIndex";

-- Query #53435 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid;

-- Query #53436 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid;

-- Query #53437 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid
ORDER BY m."StreamIndex";

-- Query #53438 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid;

-- Query #53439 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid;

-- Query #53440 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid
ORDER BY m."StreamIndex";

-- Query #53441 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid;

-- Query #53442 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid;

-- Query #53443 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid
ORDER BY m."StreamIndex";

-- Query #53444 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid;

-- Query #53445 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid;

-- Query #53446 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid
ORDER BY m."StreamIndex";

-- Query #53447 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid;

-- Query #53448 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid;

-- Query #53449 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid
ORDER BY m."StreamIndex";

-- Query #53450 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid;

-- Query #53451 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid;

-- Query #53452 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid
ORDER BY m."StreamIndex";

-- Query #53453 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid;

-- Query #53454 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid;

-- Query #53455 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid
ORDER BY m."StreamIndex";

-- Query #53456 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid;

-- Query #53457 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid;

-- Query #53458 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid
ORDER BY m."StreamIndex";

-- Query #53459 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid;

-- Query #53460 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid;

-- Query #53461 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid
ORDER BY m."StreamIndex";

-- Query #53462 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid;

-- Query #53463 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid;

-- Query #53464 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid
ORDER BY m."StreamIndex";

-- Query #53465 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid;

-- Query #53466 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid;

-- Query #53467 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid
ORDER BY m."StreamIndex";

-- Query #53468 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid;

-- Query #53469 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid;

-- Query #53470 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid
ORDER BY m."StreamIndex";

-- Query #53471 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid;

-- Query #53472 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid;

-- Query #53473 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid
ORDER BY m."StreamIndex";

-- Query #53474 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid;

-- Query #53475 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid;

-- Query #53476 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid
ORDER BY m."StreamIndex";

-- Query #53477 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid;

-- Query #53478 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid;

-- Query #53479 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid
ORDER BY m."StreamIndex";

-- Query #53480 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid;

-- Query #53481 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid;

-- Query #53482 | logged_duration_ms=3 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid
ORDER BY m."StreamIndex";

-- Query #53483 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid;

-- Query #53484 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid;

-- Query #53485 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid
ORDER BY m."StreamIndex";

-- Query #53486 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid;

-- Query #53487 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid;

-- Query #53488 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid
ORDER BY m."StreamIndex";

-- Query #53489 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid;

-- Query #53490 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid;

-- Query #53491 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid
ORDER BY m."StreamIndex";

-- Query #53492 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid;

-- Query #53493 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid;

-- Query #53494 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid
ORDER BY m."StreamIndex";

-- Query #53495 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid;

-- Query #53496 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid;

-- Query #53497 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid
ORDER BY m."StreamIndex";

-- Query #53498 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid;

-- Query #53499 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid;

-- Query #53500 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid
ORDER BY m."StreamIndex";

-- Query #53501 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid;

-- Query #53502 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid;

-- Query #53503 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid
ORDER BY m."StreamIndex";

-- Query #53504 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid;

-- Query #53505 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid;

-- Query #53506 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid
ORDER BY m."StreamIndex";

-- Query #53507 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid;

-- Query #53508 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid;

-- Query #53509 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid
ORDER BY m."StreamIndex";

-- Query #53510 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid;

-- Query #53511 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid;

-- Query #53512 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid
ORDER BY m."StreamIndex";

-- Query #53513 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid;

-- Query #53514 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid;

-- Query #53515 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid
ORDER BY m."StreamIndex";

-- Query #53516 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid;

-- Query #53517 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid;

-- Query #53518 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53519 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53520 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53521 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53522 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53523 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53524 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53525 | logged_duration_ms=24 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:11:52.2212613Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #53526 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53527 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53528 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53529 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53530 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53531 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53532 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53533 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53534 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53535 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53536 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53537 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53538 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53539 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53540 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53541 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53542 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53543 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53544 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53545 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53546 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53547 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53548 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53549 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53550 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53551 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53552 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53553 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53554 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53555 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53556 | logged_duration_ms=10 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:13:23.7149565Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #53557 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53558 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53559 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53560 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53561 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53562 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53563 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53564 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53565 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53566 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53567 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53568 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53569 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53570 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53571 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53572 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53573 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53574 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53575 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53576 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53577 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53578 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53579 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53580 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53581 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53582 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53583 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53584 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53585 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53586 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53587 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53588 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53589 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53590 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53591 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53592 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53593 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53594 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53595 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53596 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53597 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53598 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53599 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53600 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53601 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53602 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53603 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53604 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53605 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53606 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53607 | logged_duration_ms=27 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:15:52.2128107Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #53608 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53609 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53610 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53611 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53612 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53613 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53614 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53615 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53616 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53617 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53618 | logged_duration_ms=8 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:16:23.7405858Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #53619 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53620 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53621 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53622 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53623 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53624 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53625 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53626 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53627 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53628 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53629 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53630 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53631 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53632 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53633 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53634 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53635 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53636 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53637 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53638 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53639 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53640 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53641 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53642 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53643 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53644 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53645 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53646 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53647 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53648 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53649 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53650 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53651 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53652 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53653 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53654 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53655 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53656 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53657 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53658 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53659 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53660 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53661 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53662 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53663 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53664 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53665 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53666 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53667 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53668 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53669 | logged_duration_ms=6 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:18:52.2153864Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #53670 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53671 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53672 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53673 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53674 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53675 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53676 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53677 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53678 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53679 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53680 | logged_duration_ms=8 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:19:23.7766174Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #53681 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53682 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53683 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53684 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53685 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53686 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53687 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53688 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53689 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53690 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53691 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53692 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53693 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53694 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53695 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53696 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53697 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53698 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53699 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53700 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53701 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53702 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53703 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53704 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53705 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53706 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53707 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53708 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53709 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53710 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53711 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53712 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53713 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53714 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53715 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53716 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53717 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53718 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53719 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53720 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53721 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53722 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53723 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53724 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53725 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53726 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53727 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53728 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53729 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53730 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53731 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53732 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53733 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53734 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53735 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53736 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53737 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53738 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53739 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53740 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53741 | logged_duration_ms=38 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:22:23.8124029Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #53742 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53743 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53744 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53745 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53746 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53747 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53748 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53749 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53750 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53751 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53752 | logged_duration_ms=17 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:22:52.2237137Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #53753 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53754 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53755 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53756 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53757 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53758 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53759 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53760 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53761 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53762 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53763 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53764 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53765 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53766 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53767 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53768 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53769 | logged_duration_ms=3 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53770 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53771 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53772 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53773 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53774 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53775 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53776 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53777 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53778 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53779 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53780 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53781 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53782 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53783 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53784 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53785 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53786 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53787 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53788 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53789 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53790 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53791 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53792 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53793 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53794 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53795 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53796 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53797 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53798 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53799 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53800 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53801 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53802 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53803 | logged_duration_ms=23 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:25:23.8594088Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #53804 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53805 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53806 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53807 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53808 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53809 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53810 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53811 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53812 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53813 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53814 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53815 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53816 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53817 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53818 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53819 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53820 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53821 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53822 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53823 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53824 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53825 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53826 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53827 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53828 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53829 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53830 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53831 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53832 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53833 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53834 | logged_duration_ms=22 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:26:52.2224302Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #53835 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53836 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53837 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53838 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53839 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53840 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53841 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53842 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53843 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53844 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53845 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53846 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53847 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53848 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53849 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53850 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53851 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53852 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53853 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53854 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53855 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53856 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53857 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53858 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53859 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53860 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53861 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53862 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53863 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53864 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53865 | logged_duration_ms=7 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:28:23.8863956Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #53866 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53867 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53868 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53869 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53870 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53871 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53872 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53873 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53874 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53875 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53876 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53877 | logged_duration_ms=8 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53878 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53879 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53880 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53881 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53882 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53883 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53884 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53885 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53886 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53887 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53888 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53889 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53890 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53891 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53892 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53893 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53894 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53895 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53896 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53897 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53898 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53899 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53900 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53901 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53902 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53903 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53904 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53905 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53906 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53907 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53908 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53909 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53910 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53911 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53912 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53913 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53914 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53915 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53916 | logged_duration_ms=24 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:30:52.2108777Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #53917 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53918 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53919 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53920 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53921 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53922 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53923 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53924 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53925 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53926 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53927 | logged_duration_ms=6 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:31:23.9221008Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #53928 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53929 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53930 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53931 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53932 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53933 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53934 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53935 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53936 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53937 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53938 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53939 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53940 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53941 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53942 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53943 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53944 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53945 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53946 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53947 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53948 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53949 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53950 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53951 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53952 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53953 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53954 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53955 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53956 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53957 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53958 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53959 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53960 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53961 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53962 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53963 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53964 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53965 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53966 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53967 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53968 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53969 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53970 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53971 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53972 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53973 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53974 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53975 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53976 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53977 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53978 | logged_duration_ms=9 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:33:52.2109444Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #53979 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53980 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53981 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53982 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #53983 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53984 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53985 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #53986 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53987 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53988 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #53989 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #53990 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #53991 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #53992 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53993 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53994 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid
ORDER BY m."StreamIndex";

-- Query #53995 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53996 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid;

-- Query #53997 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #53998 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b'
ORDER BY b."SortName", b."Name";

-- Query #53999 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid
ORDER BY b."SortName";

-- Query #54000 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0caa83dc-145a-77ff-d159-4bf6e7d6a6de' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54001 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4817c647-00c0-62f4-ee28-10e5753172ea' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54002 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65d9b3f6-439e-ef35-7964-594eab496683' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54003 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65007c97-dfa5-6125-b413-7dadcc66ee70' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54004 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54005 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '26d8f0d2-7821-cede-0875-ae11abc2d327' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54006 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '388e9855-5c86-3545-6e73-8a74da45a67a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54007 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bfd89e31-d8f6-32cc-838c-9c95a901d00d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54008 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5a744ba1-ccae-d7f1-f42e-50282ea81c51' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54009 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '21c57fda-7b07-0d8c-673b-c25892c10b6c' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54010 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4ff3db3d-7350-44c1-8e26-68ea7a322695' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54011 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c84ee43-c194-6fea-c840-ea8ef05b8d3e' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54012 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, 'e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, 'e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54013 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '67e7d66a-c804-865d-447c-1e6373a33ef2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54014 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54015 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95017bda-a22b-3269-68f5-b857ebca838e' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54016 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['d2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['d2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54017 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a731a5c9-5698-9dd1-8fe4-08ffac032a49' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54018 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '87b63e72-c2d0-1cf3-b5a3-8185ab03f80b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54019 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8af244bb-ee51-89b3-cd07-06218511cf8a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54020 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fbf0d8d0-e2d3-4ea3-7d0b-7352569ffbc1' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54021 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cb4ba5b1-3731-bbf4-b876-d069e120ffb0' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54022 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '917b9517-3af3-1eef-e3a4-418161d672f7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54023 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a0fe16a4-4a9f-b1fe-eb2c-a266a9263143' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54024 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b5580683-56d7-78f6-1364-3c71a93d626b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54025 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9856c203-b77a-a899-91b6-d23a9b21c519' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54026 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82', '0dc3d22c-6b03-76bb-28f9-838589c6757d') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54027 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fe0a7616-1716-f0c2-bbfc-ab0a09e427d9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54028 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('c019971a-96ce-3216-5201-c7cd1c7c9afb', 'e7fdade5-9216-5ecb-31c0-a06587aa9db4') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54029 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0af9cc08-5b7c-6ba2-c733-925ad1fa020a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54030 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1fc32fb1-1225-5038-1142-b3bbec68d1ad' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54031 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '425cfdd0-8ea5-677e-f18d-87571eee0eb7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54032 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb', 'a8784328-b2e7-c097-375d-aab560eb7e5b') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54033 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e81fefeb-9a1d-548a-67e9-dfe837512296' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54034 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('d76bf701-31bc-051b-a577-37f8dd9c1c13', 'f6ecf7fa-9262-3508-5732-cfc1e107a3ca') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54035 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '12b90cbe-75bc-aabe-c873-6fd212950702' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54036 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid, '0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid, '0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54037 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '83afa488-90fc-c2ed-d964-598f290f14c4' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54038 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('da715cca-7912-250a-35f9-f244056e77fe', '489e5bed-a13d-ade8-d89c-77e66ccfe662') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54039 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'daeae0ad-8a46-7a62-1e6d-a4312ebf5683' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54040 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7f12af9a-b2ad-ba21-082a-763ba1f7f59a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54041 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54042 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fd21a996-07a4-ddc8-5db7-ac1a96c9f7b2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54043 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54044 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '345bd57a-9627-d417-dae5-2e11290de9ea' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54045 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e60b7c31-3696-a822-1549-3078d4ba07fc' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54046 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('a734eb90-637b-3de7-36da-6e27c9115497', 'c0689efb-bd73-3337-3cf4-5871d6cb71d0', '621b86bc-b2c7-4433-9893-6578f9e6b5e8') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54047 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7cd25da4-30f8-4bea-bdde-ed5b3046f607' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54048 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('7740a050-54a4-3378-02c1-9d03c6e351a5', 'f7a77892-8190-0ebf-3cf9-063756ae7ac2') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54049 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3f14b9fd-f609-eedd-8a69-9fc96b4748d3' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54050 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e2385908-d25a-b03d-cb38-058c6942953d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54051 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, 'fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, 'fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54052 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0187d0b1-3a72-5f05-f134-368ea10fcd46' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54053 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d8590da-99cb-7b0d-aa38-0d6cd43184c5' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54054 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['4f9945dd-737a-06c1-957c-b1add48e0729'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['4f9945dd-737a-06c1-957c-b1add48e0729'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54055 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1231748-4040-f385-1976-fdc2050cd23b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54056 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('0d196c45-f22b-11f5-5331-2a1670cba21a', '6badd438-a057-1a5f-e8fc-248ea1b12216') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54057 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '50fff1d8-90c5-876e-12c8-1213a48c160f' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54058 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '818c5991-0374-5ff7-eaf5-3d3402e07570' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54059 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a32a8dea-d832-2eb0-00d7-342898ebeeb0' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54060 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54061 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6429f9a4-3413-0282-2485-688b4391581a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54062 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('c98cedad-ca96-ba35-a759-a0347090b740', 'da886991-676e-045a-0c3e-2118892af4bf') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54063 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '52e6442a-96e9-6db3-c832-9fc8ced14461' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54064 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid, '5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid, '5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54065 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '830b7464-e334-5f09-a904-9105e57bdda9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54066 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d3d85c7-847b-15c2-425e-0158d26316fa' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54067 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '491139d8-a2b9-e086-aaaf-e8acf5058be5' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54068 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '92273445-2f51-41b3-77a2-4b86a11d9f34' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54069 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('a93501c5-0fa3-0888-563b-81d495d9d796', 'a716eca8-4125-6182-f7d4-bd8b85cc8951') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54070 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f7572de2-e6c4-8aa2-4115-35e2bebb56de' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54071 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('f6c381b1-a5de-b9f0-5538-f5a4451aa813', '1a38d1f7-43e4-7282-41be-5ea935625014', '5ef2d010-f56c-1e0b-16b6-18eeb0cac514') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54072 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f8d4661b-b5c5-b547-7a50-a67fe5255cad' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54073 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '443f735b-cee5-ff24-c8a0-b962540d45e9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54074 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('adc04a9e-2d03-5631-13cb-9a7d820d4b22', '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320', '6199fb0d-8c52-23d9-abc9-d8456f2194a3') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54075 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6536c1be-6aa1-59ba-4a7c-0270acab3972' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54076 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid, '70370389-7911-027c-28bf-bf4fa68029f6'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid, '70370389-7911-027c-28bf-bf4fa68029f6'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54077 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0dfe5e31-8778-b4de-16a0-2a1d3cb958fe' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54078 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c', '98b09ba8-191b-0d72-fa27-04d1b79af846') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54079 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6c6e27d5-8186-2829-0b96-a90c818df4e2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54080 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1', 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09', '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54081 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '38558414-7881-5010-f0a0-c76b3b2e804f' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a56a96df-e0de-9049-4735-5140d238e96d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54083 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'feed0a6f-7745-6d06-35d8-d820861ca60b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54084 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('788d1451-c554-ff11-2a68-88c3002f3325', '78dacb4d-a99d-3632-4788-86217ed16824', '0a3265f3-9fe2-1c3b-df93-03ec4c51ba29') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54085 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d2cf51c-f970-16d1-555c-5c4d86947af7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54086 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dedff13e-d54c-3cf5-ef77-8c3375f3ef61' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54087 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3b59e38a-ece2-8076-e6c5-3bfeff404cf2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54088 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('59b34971-836d-7cea-77ce-3297c64050cb', '5776a4b9-3d20-2780-e377-e5552b385bbe', '3a73444d-b98f-14bd-8180-ea663d7694bf') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54089 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '392437a5-1132-53ab-8130-8734342cf3ba' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54090 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd3788f9d-c611-6a53-6bde-090b2dccc9a9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54091 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('f827d52e-e860-7474-011f-57725d01569a', 'f10922c0-84cf-0858-d2f8-32f4f53ebb1d') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54092 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '364d504b-c024-48b9-e98e-a660ee23917d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54093 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '302a8265-2a5b-bc56-29b7-6bb79eabb25c' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54094 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5bdcfe8b-e3a7-5f10-efa0-586f78c88275' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54095 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1ca3df55-8bcc-cc93-6fca-205d72f34331' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54096 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b7c5b543-4e33-a5de-e498-87f00b152aaf' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54097 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '59e0bffa-970b-9592-38c2-f8203c607073' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54098 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0501deac-922c-a7ff-0be2-551f0ab8e5aa' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54099 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('a190e624-f009-d834-5245-fffe4da46b84', '470ca82e-09df-e792-60e3-3f1bdd31d3a6', '91c8474b-4027-f502-c7ac-a19b96634375') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54100 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c47805c-ee91-a809-a520-dd0b871934a8' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54101 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54102 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'baf8dc26-e427-79bd-8e0a-7a1f4e8c31cf' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54103 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('fd13352b-58be-dfe2-89aa-099e12923a1f', '0935f256-bb9a-bd1b-4661-c791257891b7', '933f8997-4d19-e0b3-61eb-14ab52f60ee9') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54104 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2fb28876-d5f3-3aa8-eb13-eaa61d107996' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54105 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('944e34bf-74d1-a5f0-b05a-9f7a259145a2', 'a5740196-1ca2-d4bf-c88a-ad0ba19a1c77', 'fb2bcea5-c4b9-f075-421d-3b0c448855a4') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54106 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '867eaf01-aa76-9f13-451d-e4826049ca14' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54107 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('1a7cbb10-1f19-c4d4-9d05-6885025c9562', '992b438e-613f-d604-cb00-0fe615d02589', '30c48478-1699-cae8-42fd-05191ca2957a') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54108 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5e5583cd-c90d-447c-54c4-33245ce4b5ab' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54109 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5fa67db-3d54-95bb-1b18-16427f3d1b40' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54110 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'def9017d-ab44-6182-78f5-3402b0114c5a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54111 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1536970f-eaa6-1385-fe01-443949a26a22' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54112 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('90f13064-7065-a249-bfd5-5394a18cd7fb', '39ecd950-e043-31d2-baa9-26b653c1a9a5') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54113 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5158d33d-4dda-3d04-bb44-0892a1dc0f04' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54114 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54115 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ebbc5de4-7daf-ccc2-66c7-3a17bcef16e2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54116 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54117 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1cbf511-7054-c98c-b9bb-3e19279992f4' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54118 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #54119 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0caa83dc-145a-77ff-d159-4bf6e7d6a6de'::uuid
ORDER BY b."SortName";

-- Query #54120 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '644979cb-7255-ff8d-92ba-9d9e0d6fdda2'::uuid
ORDER BY b."SortName";

-- Query #54121 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ceabfb26-9a86-ca15-2d43-bf7977338095'::uuid
ORDER BY b."SortName";

-- Query #54122 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '32782d36-7cd9-a2dd-a758-1a0054faa833'::uuid
ORDER BY b."SortName";

-- Query #54123 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bd654a6e-b036-d959-60f4-2d6da7e2ee55'::uuid
ORDER BY b."SortName";

-- Query #54124 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b2590ae5-89f9-c00a-3b13-e5fe55522a6b'::uuid
ORDER BY b."SortName";

-- Query #54125 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8b80c011-6ec8-8ba7-f878-b79426d3672b'::uuid
ORDER BY b."SortName";

-- Query #54126 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '428689f3-786c-119c-5857-071ab81231c3'::uuid
ORDER BY b."SortName";

-- Query #54127 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7f9f3dfc-a385-85ae-3332-d60b10e76176'::uuid
ORDER BY b."SortName";

-- Query #54128 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3471c07b-fed1-989a-d895-df87fe022b03'::uuid
ORDER BY b."SortName";

-- Query #54129 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4817c647-00c0-62f4-ee28-10e5753172ea'::uuid
ORDER BY b."SortName";

-- Query #54130 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65d9b3f6-439e-ef35-7964-594eab496683'::uuid])
ORDER BY b."Id";

-- Query #54131 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['65d9b3f6-439e-ef35-7964-594eab496683'::uuid])
ORDER BY b."Id";

-- Query #54132 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['65d9b3f6-439e-ef35-7964-594eab496683'::uuid])
ORDER BY b."Id";

-- Query #54133 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['65d9b3f6-439e-ef35-7964-594eab496683'::uuid])
ORDER BY b."Id";

-- Query #54134 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['65d9b3f6-439e-ef35-7964-594eab496683'::uuid])
ORDER BY b."Id";

-- Query #54135 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65d9b3f6-439e-ef35-7964-594eab496683'::uuid
ORDER BY b."SortName";

-- Query #54136 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65007c97-dfa5-6125-b413-7dadcc66ee70'::uuid
ORDER BY b."SortName";

-- Query #54137 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid])
ORDER BY b."Id";

-- Query #54138 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid])
ORDER BY b."Id";

-- Query #54139 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid])
ORDER BY b."Id";

-- Query #54140 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid])
ORDER BY b."Id";

-- Query #54141 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid])
ORDER BY b."Id";

-- Query #54142 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid
ORDER BY b."SortName";

-- Query #54143 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7aef3290-8c98-9781-5636-31f0689108d0'::uuid, '210de091-5740-c87b-a6b3-98c4d42c8205'::uuid, '9e8453e4-f034-953a-58f8-21388807e206'::uuid, '2bcc1040-da70-1968-b487-b216050cf610'::uuid, '8ba0ff55-44fa-17f9-f89d-1394c0f07ca5'::uuid])
ORDER BY b."Id";

-- Query #54144 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['7aef3290-8c98-9781-5636-31f0689108d0'::uuid, '210de091-5740-c87b-a6b3-98c4d42c8205'::uuid, '9e8453e4-f034-953a-58f8-21388807e206'::uuid, '2bcc1040-da70-1968-b487-b216050cf610'::uuid, '8ba0ff55-44fa-17f9-f89d-1394c0f07ca5'::uuid])
ORDER BY b."Id";

-- Query #54145 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['7aef3290-8c98-9781-5636-31f0689108d0'::uuid, '210de091-5740-c87b-a6b3-98c4d42c8205'::uuid, '9e8453e4-f034-953a-58f8-21388807e206'::uuid, '2bcc1040-da70-1968-b487-b216050cf610'::uuid, '8ba0ff55-44fa-17f9-f89d-1394c0f07ca5'::uuid])
ORDER BY b."Id";

-- Query #54146 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7aef3290-8c98-9781-5636-31f0689108d0'::uuid, '210de091-5740-c87b-a6b3-98c4d42c8205'::uuid, '9e8453e4-f034-953a-58f8-21388807e206'::uuid, '2bcc1040-da70-1968-b487-b216050cf610'::uuid, '8ba0ff55-44fa-17f9-f89d-1394c0f07ca5'::uuid])
ORDER BY b."Id";

-- Query #54147 | logged_duration_ms=10 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['7aef3290-8c98-9781-5636-31f0689108d0'::uuid, '210de091-5740-c87b-a6b3-98c4d42c8205'::uuid, '9e8453e4-f034-953a-58f8-21388807e206'::uuid, '2bcc1040-da70-1968-b487-b216050cf610'::uuid, '8ba0ff55-44fa-17f9-f89d-1394c0f07ca5'::uuid])
ORDER BY b."Id";

-- Query #54148 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid
ORDER BY b."SortName";

-- Query #54149 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid
ORDER BY b."SortName";

-- Query #54150 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid
ORDER BY b."SortName";

-- Query #54151 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid
ORDER BY b."SortName";

-- Query #54152 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '26d8f0d2-7821-cede-0875-ae11abc2d327'::uuid
ORDER BY b."SortName";

-- Query #54153 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['388e9855-5c86-3545-6e73-8a74da45a67a'::uuid])
ORDER BY b."Id";

-- Query #54154 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['388e9855-5c86-3545-6e73-8a74da45a67a'::uuid])
ORDER BY b."Id";

-- Query #54155 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['388e9855-5c86-3545-6e73-8a74da45a67a'::uuid])
ORDER BY b."Id";

-- Query #54156 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['388e9855-5c86-3545-6e73-8a74da45a67a'::uuid])
ORDER BY b."Id";

-- Query #54157 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['388e9855-5c86-3545-6e73-8a74da45a67a'::uuid])
ORDER BY b."Id";

-- Query #54158 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '388e9855-5c86-3545-6e73-8a74da45a67a'::uuid
ORDER BY b."SortName";

-- Query #54159 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bfd89e31-d8f6-32cc-838c-9c95a901d00d'::uuid
ORDER BY b."SortName";

-- Query #54160 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5a744ba1-ccae-d7f1-f42e-50282ea81c51'::uuid])
ORDER BY b."Id";

-- Query #54161 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5a744ba1-ccae-d7f1-f42e-50282ea81c51'::uuid])
ORDER BY b."Id";

-- Query #54162 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5a744ba1-ccae-d7f1-f42e-50282ea81c51'::uuid])
ORDER BY b."Id";

-- Query #54163 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5a744ba1-ccae-d7f1-f42e-50282ea81c51'::uuid])
ORDER BY b."Id";

-- Query #54164 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5a744ba1-ccae-d7f1-f42e-50282ea81c51'::uuid])
ORDER BY b."Id";

-- Query #54165 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5a744ba1-ccae-d7f1-f42e-50282ea81c51'::uuid
ORDER BY b."SortName";

-- Query #54166 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '21c57fda-7b07-0d8c-673b-c25892c10b6c'::uuid
ORDER BY b."SortName";

-- Query #54167 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bda33d90-a821-e519-77ed-59d7fe2ed5b7'::uuid
ORDER BY b."SortName";

-- Query #54168 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fbcf12ae-9a59-9f2e-9663-afb21f8167bf'::uuid, 'e59badef-5dd7-11f0-7167-226eefd0d1a9'::uuid, 'cdcbb193-e9c9-eb93-a807-91e9162dedff'::uuid, '892f53f6-1083-32bf-6c5e-6d7ebaa463bd'::uuid])
ORDER BY b."Id";

-- Query #54169 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['fbcf12ae-9a59-9f2e-9663-afb21f8167bf'::uuid, 'e59badef-5dd7-11f0-7167-226eefd0d1a9'::uuid, 'cdcbb193-e9c9-eb93-a807-91e9162dedff'::uuid, '892f53f6-1083-32bf-6c5e-6d7ebaa463bd'::uuid])
ORDER BY b."Id";

-- Query #54170 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['fbcf12ae-9a59-9f2e-9663-afb21f8167bf'::uuid, 'e59badef-5dd7-11f0-7167-226eefd0d1a9'::uuid, 'cdcbb193-e9c9-eb93-a807-91e9162dedff'::uuid, '892f53f6-1083-32bf-6c5e-6d7ebaa463bd'::uuid])
ORDER BY b."Id";

-- Query #54171 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fbcf12ae-9a59-9f2e-9663-afb21f8167bf'::uuid, 'e59badef-5dd7-11f0-7167-226eefd0d1a9'::uuid, 'cdcbb193-e9c9-eb93-a807-91e9162dedff'::uuid, '892f53f6-1083-32bf-6c5e-6d7ebaa463bd'::uuid])
ORDER BY b."Id";

-- Query #54172 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['fbcf12ae-9a59-9f2e-9663-afb21f8167bf'::uuid, 'e59badef-5dd7-11f0-7167-226eefd0d1a9'::uuid, 'cdcbb193-e9c9-eb93-a807-91e9162dedff'::uuid, '892f53f6-1083-32bf-6c5e-6d7ebaa463bd'::uuid])
ORDER BY b."Id";

-- Query #54173 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '890b8c9c-da4c-29e4-fbc4-8cd2c07ab67d'::uuid
ORDER BY b."SortName";

-- Query #54174 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6eeaf7a2-1fc2-da6c-e1f3-38729d92c142'::uuid
ORDER BY b."SortName";

-- Query #54175 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1e139a74-9762-730a-b0ed-a255f1af1fa5'::uuid
ORDER BY b."SortName";

-- Query #54176 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6f05c1b0-4013-c314-c17a-3b5ffaa5cf41'::uuid
ORDER BY b."SortName";

-- Query #54177 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ea0ee360-9f80-2a7d-910b-1d20dbb2a8ac'::uuid
ORDER BY b."SortName";

-- Query #54178 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4ff3db3d-7350-44c1-8e26-68ea7a322695'::uuid
ORDER BY b."SortName";

-- Query #54179 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '830971f3-b220-061d-b328-5dae8aa791d3'::uuid
ORDER BY b."SortName";

-- Query #54180 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['62d5b644-78cd-d65b-74fb-452236c4d808'::uuid])
ORDER BY b."Id";

-- Query #54181 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['62d5b644-78cd-d65b-74fb-452236c4d808'::uuid])
ORDER BY b."Id";

-- Query #54182 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['62d5b644-78cd-d65b-74fb-452236c4d808'::uuid])
ORDER BY b."Id";

-- Query #54183 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['62d5b644-78cd-d65b-74fb-452236c4d808'::uuid])
ORDER BY b."Id";

-- Query #54184 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['62d5b644-78cd-d65b-74fb-452236c4d808'::uuid])
ORDER BY b."Id";

-- Query #54185 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1719d73a-0945-a68e-9984-31a070974330'::uuid
ORDER BY b."SortName";

-- Query #54186 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7d38003d-0e7a-727d-4331-58a3c8bd1415'::uuid
ORDER BY b."SortName";

-- Query #54187 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ae9ffbc4-95dc-bd89-689b-a50e6660772f'::uuid
ORDER BY b."SortName";

-- Query #54188 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e6029f8b-d719-aadd-77ec-0af5baac5bf4'::uuid
ORDER BY b."SortName";

-- Query #54189 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '683180ca-1f73-d765-7b27-7deb1f10fa65'::uuid
ORDER BY b."SortName";

-- Query #54190 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cf59d6bf-9e71-2cec-b242-27974aae5490'::uuid
ORDER BY b."SortName";

-- Query #54191 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f59e1964-0ccb-eaa9-6381-a1ee4161f2a5'::uuid
ORDER BY b."SortName";

-- Query #54192 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '01daa3d0-f27e-3f42-476e-1dde18f645da'::uuid
ORDER BY b."SortName";

-- Query #54193 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '017f0cc2-226e-01ec-5dde-7cc30142d48a'::uuid
ORDER BY b."SortName";

-- Query #54194 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fb0725d8-60ec-b840-a018-a5a832c9f089'::uuid
ORDER BY b."SortName";

-- Query #54195 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '20d8d21b-a3c8-e73c-187c-baa1b78baffa'::uuid
ORDER BY b."SortName";

-- Query #54196 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7f507ede-d3d4-6b1e-5cd8-a67b22710b8e'::uuid
ORDER BY b."SortName";

-- Query #54197 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cdeb6174-bbfb-a725-b055-30eb56e8f91b'::uuid
ORDER BY b."SortName";

-- Query #54198 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '75bf4878-72bf-59cb-e2a0-18dd7e6e8691'::uuid
ORDER BY b."SortName";

-- Query #54199 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '16136d83-3f1f-32a3-1969-f1aec9ed2206'::uuid
ORDER BY b."SortName";

-- Query #54200 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '03739efe-8b79-0aab-9687-3bb71f3f7073'::uuid
ORDER BY b."SortName";

-- Query #54201 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c6d1e7fe-f23b-8140-b893-d6245565ecc7'::uuid
ORDER BY b."SortName";

-- Query #54202 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '06bd8eb8-107b-e39a-6d7f-2462baee9294'::uuid
ORDER BY b."SortName";

-- Query #54203 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9bca7a5b-56c0-7152-2036-60c14d765fc4'::uuid
ORDER BY b."SortName";

-- Query #54204 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8e9b5f0c-344e-b881-c6ed-948bad152e87'::uuid
ORDER BY b."SortName";

-- Query #54205 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '29000333-93a5-0ed7-bca8-9b3ab545570f'::uuid
ORDER BY b."SortName";

-- Query #54206 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b93d6b89-e396-007c-e9bb-a448d7504be5'::uuid
ORDER BY b."SortName";

-- Query #54207 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b5b69a29-2fe6-c3c7-789c-2f7cf3f1ea4d'::uuid
ORDER BY b."SortName";

-- Query #54208 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8a822870-9485-11ac-78d4-af3b877f6f7c'::uuid
ORDER BY b."SortName";

-- Query #54209 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '124f930c-bd02-b6ad-1229-79d2d5ff23d2'::uuid
ORDER BY b."SortName";

-- Query #54210 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0eb951fc-c695-3871-309c-bb6a32912045'::uuid
ORDER BY b."SortName";

-- Query #54211 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '531ff296-1f44-32b7-b1cd-98c8975c5a68'::uuid
ORDER BY b."SortName";

-- Query #54212 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '024bf6fb-7098-f618-00e8-8c4f3ac0c675'::uuid
ORDER BY b."SortName";

-- Query #54213 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd6b9159e-31d9-beba-c395-423cc2c19fd8'::uuid
ORDER BY b."SortName";

-- Query #54214 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4d915220-7c10-0e20-a585-982ceaacdd0f'::uuid
ORDER BY b."SortName";

-- Query #54215 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fee3d5f3-ceed-3a7a-ccab-7862880fa0c4'::uuid
ORDER BY b."SortName";

-- Query #54216 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2e7704b9-4803-c306-6323-ce2850f38f05'::uuid
ORDER BY b."SortName";

-- Query #54217 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '58ad11d3-402b-de29-2ac0-9baa64c06337'::uuid
ORDER BY b."SortName";

-- Query #54218 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '275df546-6923-864b-0c9f-4e3945a2ff89'::uuid
ORDER BY b."SortName";

-- Query #54219 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5f563ec1-903a-c835-2d5b-535a44524d2b'::uuid
ORDER BY b."SortName";

-- Query #54220 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7497b1f5-6b12-7ed7-2cad-59644277bb28'::uuid
ORDER BY b."SortName";

-- Query #54221 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '42fe9a1d-55a2-d1b1-b4bd-535d46551216'::uuid
ORDER BY b."SortName";

-- Query #54222 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a6e87811-285e-5ab9-6ec7-9354e19e5401'::uuid
ORDER BY b."SortName";

-- Query #54223 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b36aabc6-ba99-010b-38ee-2fc5e1d1b58e'::uuid
ORDER BY b."SortName";

-- Query #54224 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6a9c7985-d7e3-7ecb-4776-e21d337e33fe'::uuid
ORDER BY b."SortName";

-- Query #54225 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5bcbab49-6ec3-61e5-cf70-7922b1419a26'::uuid
ORDER BY b."SortName";

-- Query #54226 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ed9e3743-b973-e604-a712-f96dcc48e9ee'::uuid
ORDER BY b."SortName";

-- Query #54227 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e5d60c5-b5e4-25ce-60db-eeda8aa8ddf0'::uuid, '8ba691b1-61ff-b250-cbba-c5da80209e65'::uuid, '66aee0f4-3971-c0c0-837e-4b322596c110'::uuid, 'f0e1eacf-f980-bfe0-a8c7-45a858b15b48'::uuid, '76b8aac5-6b6b-bd4e-bc5a-cb1c1fa446cf'::uuid])
ORDER BY b."Id";

-- Query #54228 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['9e5d60c5-b5e4-25ce-60db-eeda8aa8ddf0'::uuid, '8ba691b1-61ff-b250-cbba-c5da80209e65'::uuid, '66aee0f4-3971-c0c0-837e-4b322596c110'::uuid, 'f0e1eacf-f980-bfe0-a8c7-45a858b15b48'::uuid, '76b8aac5-6b6b-bd4e-bc5a-cb1c1fa446cf'::uuid])
ORDER BY b."Id";

-- Query #54229 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['9e5d60c5-b5e4-25ce-60db-eeda8aa8ddf0'::uuid, '8ba691b1-61ff-b250-cbba-c5da80209e65'::uuid, '66aee0f4-3971-c0c0-837e-4b322596c110'::uuid, 'f0e1eacf-f980-bfe0-a8c7-45a858b15b48'::uuid, '76b8aac5-6b6b-bd4e-bc5a-cb1c1fa446cf'::uuid])
ORDER BY b."Id";

-- Query #54230 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9e5d60c5-b5e4-25ce-60db-eeda8aa8ddf0'::uuid, '8ba691b1-61ff-b250-cbba-c5da80209e65'::uuid, '66aee0f4-3971-c0c0-837e-4b322596c110'::uuid, 'f0e1eacf-f980-bfe0-a8c7-45a858b15b48'::uuid, '76b8aac5-6b6b-bd4e-bc5a-cb1c1fa446cf'::uuid])
ORDER BY b."Id";

-- Query #54231 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['9e5d60c5-b5e4-25ce-60db-eeda8aa8ddf0'::uuid, '8ba691b1-61ff-b250-cbba-c5da80209e65'::uuid, '66aee0f4-3971-c0c0-837e-4b322596c110'::uuid, 'f0e1eacf-f980-bfe0-a8c7-45a858b15b48'::uuid, '76b8aac5-6b6b-bd4e-bc5a-cb1c1fa446cf'::uuid])
ORDER BY b."Id";

-- Query #54232 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c84ee43-c194-6fea-c840-ea8ef05b8d3e'::uuid
ORDER BY b."SortName";

-- Query #54233 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, 'bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid])
ORDER BY b."Id";

-- Query #54234 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, 'bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid])
ORDER BY b."Id";

-- Query #54235 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, 'bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid])
ORDER BY b."Id";

-- Query #54236 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, 'bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid])
ORDER BY b."Id";

-- Query #54237 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, 'bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid])
ORDER BY b."Id";

-- Query #54238 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid
ORDER BY b."SortName";

-- Query #54239 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid
ORDER BY b."SortName";

-- Query #54240 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9a84f467-4e71-de27-c099-433f0406f965'::uuid
ORDER BY b."SortName";

-- Query #54241 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid
ORDER BY b."SortName";

-- Query #54242 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '67e7d66a-c804-865d-447c-1e6373a33ef2'::uuid
ORDER BY b."SortName";

-- Query #54243 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6'::uuid])
ORDER BY b."Id";

-- Query #54244 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6'::uuid])
ORDER BY b."Id";

-- Query #54245 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6'::uuid])
ORDER BY b."Id";

-- Query #54246 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6'::uuid])
ORDER BY b."Id";

-- Query #54247 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6'::uuid])
ORDER BY b."Id";

-- Query #54248 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6'::uuid
ORDER BY b."SortName";

-- Query #54249 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95017bda-a22b-3269-68f5-b857ebca838e'::uuid
ORDER BY b."SortName";

-- Query #54250 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'd2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid])
ORDER BY b."Id";

-- Query #54251 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'd2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid])
ORDER BY b."Id";

-- Query #54252 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'd2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid])
ORDER BY b."Id";

-- Query #54253 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'd2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid])
ORDER BY b."Id";

-- Query #54254 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'd2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid])
ORDER BY b."Id";

-- Query #54255 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid
ORDER BY b."SortName";

-- Query #54256 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid
ORDER BY b."SortName";

-- Query #54257 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid
ORDER BY b."SortName";

-- Query #54258 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid
ORDER BY b."SortName";

-- Query #54259 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid
ORDER BY b."SortName";

-- Query #54260 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a731a5c9-5698-9dd1-8fe4-08ffac032a49'::uuid
ORDER BY b."SortName";

-- Query #54261 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5d6c9269-2ce1-3094-10b1-2801fe38a0d6'::uuid
ORDER BY b."SortName";

-- Query #54262 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'eb0978f7-61a1-ad06-42b6-9c61f185778c'::uuid
ORDER BY b."SortName";

-- Query #54263 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c50c08ed-0bf3-8cc9-cc55-07f33712d3a8'::uuid
ORDER BY b."SortName";

-- Query #54264 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0ac9c4ad-aa48-5a54-d9e2-16499e9a300c'::uuid
ORDER BY b."SortName";

-- Query #54265 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a860b2ce-32c3-8f61-01ed-476d8e9e8d06'::uuid
ORDER BY b."SortName";

-- Query #54266 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9f61143b-ade3-864e-500a-1e8fc0b8a5ac'::uuid
ORDER BY b."SortName";

-- Query #54267 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f8044aa0-c2b5-1ecc-701b-d7960c830dc4'::uuid
ORDER BY b."SortName";

-- Query #54268 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '83e80e18-772b-3069-bb5a-b392bab0214f'::uuid
ORDER BY b."SortName";

-- Query #54269 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'efde309b-d52c-5ae6-4d70-9ec71d5ee8a8'::uuid
ORDER BY b."SortName";

-- Query #54270 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ff0217a5-5199-08c6-5f1f-92caac6ebd53'::uuid
ORDER BY b."SortName";

-- Query #54271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1d01a73a-a415-27e6-5e4e-5cfe59b09cb9'::uuid
ORDER BY b."SortName";

-- Query #54272 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'baeb52db-c51f-92d9-daff-c20e353fd422'::uuid
ORDER BY b."SortName";

-- Query #54273 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '20b2981a-ee29-b90a-d807-d27ee61bcd10'::uuid
ORDER BY b."SortName";

-- Query #54274 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '70d5561c-79dd-8afd-9c20-d71bef012049'::uuid
ORDER BY b."SortName";

-- Query #54275 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '87b63e72-c2d0-1cf3-b5a3-8185ab03f80b'::uuid
ORDER BY b."SortName";

-- Query #54276 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0585f269-7751-c777-83dd-5a482e6c240d'::uuid
ORDER BY b."SortName";

-- Query #54277 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a1988d39-a6d7-15d2-6cc6-c5fe3dfc99f0'::uuid
ORDER BY b."SortName";

-- Query #54278 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd3b87c8d-7ccf-d2d7-d471-afaaf8a6980a'::uuid
ORDER BY b."SortName";

-- Query #54279 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3fc1cdb2-51bf-4f38-5e57-f3488e93dbf8'::uuid
ORDER BY b."SortName";

-- Query #54280 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5bef2484-ef85-799c-614e-f217f2b19f67'::uuid
ORDER BY b."SortName";

-- Query #54281 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9831807d-d67f-a53f-2da3-c335e5c3e298'::uuid
ORDER BY b."SortName";

-- Query #54282 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65b6a0e7-0527-61e6-a5a7-b7f10fe4f8cd'::uuid
ORDER BY b."SortName";

-- Query #54283 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '937e5231-fa66-3381-590b-1d12c0c308bd'::uuid
ORDER BY b."SortName";

-- Query #54284 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '16719382-ed6d-be33-d0d3-5563c16feb39'::uuid
ORDER BY b."SortName";

-- Query #54285 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6da13f04-b8c9-1ae9-cf3c-d5cc4642dfe1'::uuid
ORDER BY b."SortName";

-- Query #54286 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8291d28e-ed3c-1c9e-dc30-9cf71a694bd0'::uuid
ORDER BY b."SortName";

-- Query #54287 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8af244bb-ee51-89b3-cd07-06218511cf8a'::uuid
ORDER BY b."SortName";

-- Query #54288 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0e49a8e9-057f-d8b2-ebf1-dbc4cc42c368'::uuid
ORDER BY b."SortName";

-- Query #54289 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6629395b-bdd0-0264-e76d-ad5402fa1819'::uuid
ORDER BY b."SortName";

-- Query #54290 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'af8432e2-742b-a448-91bc-f2d6b81a5e02'::uuid
ORDER BY b."SortName";

-- Query #54291 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3844d2df-3e81-d46b-d9b6-6bae56752e43'::uuid
ORDER BY b."SortName";

-- Query #54292 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '90c7b3df-3157-413c-b3be-2d1a6a51c927'::uuid
ORDER BY b."SortName";

-- Query #54293 | logged_duration_ms=28 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '35c7f316-f5ac-edd2-edf1-591c8fc4180b'::uuid
ORDER BY b."SortName";

-- Query #54294 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '49ed849c-2ec6-772c-6653-326bb15c0aac'::uuid
ORDER BY b."SortName";

-- Query #54295 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '97acd128-cc0c-baf0-fd6e-b3148357cc99'::uuid
ORDER BY b."SortName";

-- Query #54296 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '57f85a43-7fcd-3708-58e8-c4960a1aec7a'::uuid
ORDER BY b."SortName";

-- Query #54297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '568e61c4-95e3-05b3-66e8-f430d2f12d96'::uuid
ORDER BY b."SortName";

-- Query #54298 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c4327676-11f6-5dca-bf44-3d69af56cf76'::uuid
ORDER BY b."SortName";

-- Query #54299 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3576d9d0-ddc9-468a-e38f-80bcb2fc137c'::uuid
ORDER BY b."SortName";

-- Query #54300 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e588938f-4894-4d64-a9ce-33f503bafdaf'::uuid
ORDER BY b."SortName";

-- Query #54301 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fbf0d8d0-e2d3-4ea3-7d0b-7352569ffbc1'::uuid
ORDER BY b."SortName";

-- Query #54302 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb4ba5b1-3731-bbf4-b876-d069e120ffb0'::uuid])
ORDER BY b."Id";

-- Query #54303 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['cb4ba5b1-3731-bbf4-b876-d069e120ffb0'::uuid])
ORDER BY b."Id";

-- Query #54304 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['cb4ba5b1-3731-bbf4-b876-d069e120ffb0'::uuid])
ORDER BY b."Id";

-- Query #54305 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cb4ba5b1-3731-bbf4-b876-d069e120ffb0'::uuid])
ORDER BY b."Id";

-- Query #54306 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['cb4ba5b1-3731-bbf4-b876-d069e120ffb0'::uuid])
ORDER BY b."Id";

-- Query #54307 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cb4ba5b1-3731-bbf4-b876-d069e120ffb0'::uuid
ORDER BY b."SortName";

-- Query #54308 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f8f8687f-6f12-1554-2124-f0f6d981d141'::uuid, 'bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid, '0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #54309 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f8f8687f-6f12-1554-2124-f0f6d981d141'::uuid, 'bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid, '0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #54310 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f8f8687f-6f12-1554-2124-f0f6d981d141'::uuid, 'bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid, '0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #54311 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f8f8687f-6f12-1554-2124-f0f6d981d141'::uuid, 'bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid, '0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #54312 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f8f8687f-6f12-1554-2124-f0f6d981d141'::uuid, 'bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid, '0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #54313 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '917b9517-3af3-1eef-e3a4-418161d672f7'::uuid
ORDER BY b."SortName";

-- Query #54314 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a0fe16a4-4a9f-b1fe-eb2c-a266a9263143'::uuid])
ORDER BY b."Id";

-- Query #54315 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a0fe16a4-4a9f-b1fe-eb2c-a266a9263143'::uuid])
ORDER BY b."Id";

-- Query #54316 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a0fe16a4-4a9f-b1fe-eb2c-a266a9263143'::uuid])
ORDER BY b."Id";

-- Query #54317 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a0fe16a4-4a9f-b1fe-eb2c-a266a9263143'::uuid])
ORDER BY b."Id";

-- Query #54318 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a0fe16a4-4a9f-b1fe-eb2c-a266a9263143'::uuid])
ORDER BY b."Id";

-- Query #54319 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a0fe16a4-4a9f-b1fe-eb2c-a266a9263143'::uuid
ORDER BY b."SortName";

-- Query #54320 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b5580683-56d7-78f6-1364-3c71a93d626b'::uuid
ORDER BY b."SortName";

-- Query #54321 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '030d73b4-1fa0-5c45-6bc0-2a03da385f00'::uuid
ORDER BY b."SortName";

-- Query #54322 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '20ecac02-0343-3bbc-2f7b-06668f2e29cc'::uuid
ORDER BY b."SortName";

-- Query #54323 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0a67a1c4-69cd-25a0-7978-17deb24b0f08'::uuid
ORDER BY b."SortName";

-- Query #54324 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f6a50169-ceb5-32d9-f5dd-5e9d8b8ceaeb'::uuid
ORDER BY b."SortName";

-- Query #54325 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '875dd595-88ee-363c-719e-a0069fa3b56a'::uuid
ORDER BY b."SortName";

-- Query #54326 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ea3cae10-1e11-5958-ab63-7c8f12095d76'::uuid
ORDER BY b."SortName";

-- Query #54327 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '44655d0f-dcdf-0dfe-0e50-673c8c5e9157'::uuid
ORDER BY b."SortName";

-- Query #54328 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6e6b6864-859e-f692-8952-527d12f971d5'::uuid
ORDER BY b."SortName";

-- Query #54329 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '831ae975-73b8-1219-0d0c-2c4e55791b46'::uuid
ORDER BY b."SortName";

-- Query #54330 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3cfbdd43-da1a-7a86-144d-b0f757d76dce'::uuid
ORDER BY b."SortName";

-- Query #54331 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bfdb07f3-da21-9019-bc01-4a38ec84c346'::uuid
ORDER BY b."SortName";

-- Query #54332 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ae72a2ac-bf8d-8ba1-516a-5fac1108ffd7'::uuid
ORDER BY b."SortName";

-- Query #54333 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9a52e052-d290-304d-e89c-3cf3f06b0841'::uuid
ORDER BY b."SortName";

-- Query #54334 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '377afbfa-4c31-c903-c50b-a1eaba10004c'::uuid
ORDER BY b."SortName";

-- Query #54335 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5b7e94dc-76ea-1c79-cdae-0231d78cdc74'::uuid
ORDER BY b."SortName";

-- Query #54336 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e164d136-2baf-6de8-9c32-36c810274f64'::uuid
ORDER BY b."SortName";

-- Query #54337 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a67f6db9-a79d-6f9f-5e5e-4c718934ebdc'::uuid
ORDER BY b."SortName";

-- Query #54338 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '191d5823-e804-7c62-6f3c-fcd59f6a12ac'::uuid
ORDER BY b."SortName";

-- Query #54339 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9856c203-b77a-a899-91b6-d23a9b21c519'::uuid
ORDER BY b."SortName";

-- Query #54340 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0dc3d22c-6b03-76bb-28f9-838589c6757d'::uuid, '625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82'::uuid])
ORDER BY b."Id";

-- Query #54341 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0dc3d22c-6b03-76bb-28f9-838589c6757d'::uuid, '625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82'::uuid])
ORDER BY b."Id";

-- Query #54342 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['0dc3d22c-6b03-76bb-28f9-838589c6757d'::uuid, '625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82'::uuid])
ORDER BY b."Id";

-- Query #54343 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0dc3d22c-6b03-76bb-28f9-838589c6757d'::uuid, '625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82'::uuid])
ORDER BY b."Id";

-- Query #54344 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['0dc3d22c-6b03-76bb-28f9-838589c6757d'::uuid, '625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82'::uuid])
ORDER BY b."Id";

-- Query #54345 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0dc3d22c-6b03-76bb-28f9-838589c6757d'::uuid
ORDER BY b."SortName";

-- Query #54346 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82'::uuid
ORDER BY b."SortName";

-- Query #54347 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fe0a7616-1716-f0c2-bbfc-ab0a09e427d9'::uuid
ORDER BY b."SortName";

-- Query #54348 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c019971a-96ce-3216-5201-c7cd1c7c9afb'::uuid, 'e7fdade5-9216-5ecb-31c0-a06587aa9db4'::uuid])
ORDER BY b."Id";

-- Query #54349 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c019971a-96ce-3216-5201-c7cd1c7c9afb'::uuid, 'e7fdade5-9216-5ecb-31c0-a06587aa9db4'::uuid])
ORDER BY b."Id";

-- Query #54350 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c019971a-96ce-3216-5201-c7cd1c7c9afb'::uuid, 'e7fdade5-9216-5ecb-31c0-a06587aa9db4'::uuid])
ORDER BY b."Id";

-- Query #54351 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c019971a-96ce-3216-5201-c7cd1c7c9afb'::uuid, 'e7fdade5-9216-5ecb-31c0-a06587aa9db4'::uuid])
ORDER BY b."Id";

-- Query #54352 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c019971a-96ce-3216-5201-c7cd1c7c9afb'::uuid, 'e7fdade5-9216-5ecb-31c0-a06587aa9db4'::uuid])
ORDER BY b."Id";

-- Query #54353 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c019971a-96ce-3216-5201-c7cd1c7c9afb'::uuid
ORDER BY b."SortName";

-- Query #54354 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e7fdade5-9216-5ecb-31c0-a06587aa9db4'::uuid
ORDER BY b."SortName";

-- Query #54355 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0af9cc08-5b7c-6ba2-c733-925ad1fa020a'::uuid
ORDER BY b."SortName";

-- Query #54356 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1fc32fb1-1225-5038-1142-b3bbec68d1ad'::uuid])
ORDER BY b."Id";

-- Query #54357 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['1fc32fb1-1225-5038-1142-b3bbec68d1ad'::uuid])
ORDER BY b."Id";

-- Query #54358 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['1fc32fb1-1225-5038-1142-b3bbec68d1ad'::uuid])
ORDER BY b."Id";

-- Query #54359 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1fc32fb1-1225-5038-1142-b3bbec68d1ad'::uuid])
ORDER BY b."Id";

-- Query #54360 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['1fc32fb1-1225-5038-1142-b3bbec68d1ad'::uuid])
ORDER BY b."Id";

-- Query #54361 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1fc32fb1-1225-5038-1142-b3bbec68d1ad'::uuid
ORDER BY b."SortName";

-- Query #54362 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '425cfdd0-8ea5-677e-f18d-87571eee0eb7'::uuid
ORDER BY b."SortName";

-- Query #54363 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb'::uuid, 'a8784328-b2e7-c097-375d-aab560eb7e5b'::uuid])
ORDER BY b."Id";

-- Query #54364 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb'::uuid, 'a8784328-b2e7-c097-375d-aab560eb7e5b'::uuid])
ORDER BY b."Id";

-- Query #54365 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb'::uuid, 'a8784328-b2e7-c097-375d-aab560eb7e5b'::uuid])
ORDER BY b."Id";

-- Query #54366 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb'::uuid, 'a8784328-b2e7-c097-375d-aab560eb7e5b'::uuid])
ORDER BY b."Id";

-- Query #54367 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb'::uuid, 'a8784328-b2e7-c097-375d-aab560eb7e5b'::uuid])
ORDER BY b."Id";

-- Query #54368 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb'::uuid
ORDER BY b."SortName";

-- Query #54369 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a8784328-b2e7-c097-375d-aab560eb7e5b'::uuid
ORDER BY b."SortName";

-- Query #54370 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b';

-- Query #54371 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e81fefeb-9a1d-548a-67e9-dfe837512296'::uuid
ORDER BY b."SortName";

-- Query #54372 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6ecf7fa-9262-3508-5732-cfc1e107a3ca'::uuid, 'd76bf701-31bc-051b-a577-37f8dd9c1c13'::uuid])
ORDER BY b."Id";

-- Query #54373 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b';

-- Query #54374 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f6ecf7fa-9262-3508-5732-cfc1e107a3ca'::uuid, 'd76bf701-31bc-051b-a577-37f8dd9c1c13'::uuid])
ORDER BY b."Id";

-- Query #54375 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f6ecf7fa-9262-3508-5732-cfc1e107a3ca'::uuid, 'd76bf701-31bc-051b-a577-37f8dd9c1c13'::uuid])
ORDER BY b."Id";

-- Query #54376 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6ecf7fa-9262-3508-5732-cfc1e107a3ca'::uuid, 'd76bf701-31bc-051b-a577-37f8dd9c1c13'::uuid])
ORDER BY b."Id";

-- Query #54377 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f6ecf7fa-9262-3508-5732-cfc1e107a3ca'::uuid, 'd76bf701-31bc-051b-a577-37f8dd9c1c13'::uuid])
ORDER BY b."Id";

-- Query #54378 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f6ecf7fa-9262-3508-5732-cfc1e107a3ca'::uuid
ORDER BY b."SortName";

-- Query #54379 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd76bf701-31bc-051b-a577-37f8dd9c1c13'::uuid
ORDER BY b."SortName";

-- Query #54380 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '12b90cbe-75bc-aabe-c873-6fd212950702'::uuid
ORDER BY b."SortName";

-- Query #54381 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, '5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid])
ORDER BY b."Id";

-- Query #54382 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, '5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid])
ORDER BY b."Id";

-- Query #54383 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, '5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid])
ORDER BY b."Id";

-- Query #54384 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, '5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid])
ORDER BY b."Id";

-- Query #54385 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, '5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid])
ORDER BY b."Id";

-- Query #54386 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid
ORDER BY b."SortName";

-- Query #54387 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid
ORDER BY b."SortName";

-- Query #54388 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid
ORDER BY b."SortName";

-- Query #54389 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid
ORDER BY b."SortName";

-- Query #54390 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid
ORDER BY b."SortName";

-- Query #54391 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '83afa488-90fc-c2ed-d964-598f290f14c4'::uuid
ORDER BY b."SortName";

-- Query #54392 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['489e5bed-a13d-ade8-d89c-77e66ccfe662'::uuid, 'da715cca-7912-250a-35f9-f244056e77fe'::uuid])
ORDER BY b."Id";

-- Query #54393 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['489e5bed-a13d-ade8-d89c-77e66ccfe662'::uuid, 'da715cca-7912-250a-35f9-f244056e77fe'::uuid])
ORDER BY b."Id";

-- Query #54394 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['489e5bed-a13d-ade8-d89c-77e66ccfe662'::uuid, 'da715cca-7912-250a-35f9-f244056e77fe'::uuid])
ORDER BY b."Id";

-- Query #54395 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['489e5bed-a13d-ade8-d89c-77e66ccfe662'::uuid, 'da715cca-7912-250a-35f9-f244056e77fe'::uuid])
ORDER BY b."Id";

-- Query #54396 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['489e5bed-a13d-ade8-d89c-77e66ccfe662'::uuid, 'da715cca-7912-250a-35f9-f244056e77fe'::uuid])
ORDER BY b."Id";

-- Query #54397 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '489e5bed-a13d-ade8-d89c-77e66ccfe662'::uuid
ORDER BY b."SortName";

-- Query #54398 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'da715cca-7912-250a-35f9-f244056e77fe'::uuid
ORDER BY b."SortName";

-- Query #54399 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'daeae0ad-8a46-7a62-1e6d-a4312ebf5683'::uuid
ORDER BY b."SortName";

-- Query #54400 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a2efe8b5-4408-8577-6802-f12ddf495071'::uuid
ORDER BY b."SortName";

-- Query #54401 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f9e39a9b-bbc1-eba3-3bc3-10592a22e7eb'::uuid
ORDER BY b."SortName";

-- Query #54402 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '967c16e8-7bbe-2b8d-a67a-0ac86916aedd'::uuid
ORDER BY b."SortName";

-- Query #54403 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '72b87b89-7410-4694-923c-fdf591ff92b4'::uuid
ORDER BY b."SortName";

-- Query #54404 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5581a996-6773-d5fb-6de6-6db8499903f5'::uuid
ORDER BY b."SortName";

-- Query #54405 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4bee8212-da24-5029-b8c4-eaa29727c56f'::uuid
ORDER BY b."SortName";

-- Query #54406 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '20d36225-1493-381b-4048-300f93eac833'::uuid
ORDER BY b."SortName";

-- Query #54407 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ba0c77ee-4a10-f9d0-c840-cb159cb1101b'::uuid
ORDER BY b."SortName";

-- Query #54408 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7f12af9a-b2ad-ba21-082a-763ba1f7f59a'::uuid
ORDER BY b."SortName";

-- Query #54409 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid])
ORDER BY b."Id";

-- Query #54410 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid])
ORDER BY b."Id";

-- Query #54411 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid])
ORDER BY b."Id";

-- Query #54412 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid])
ORDER BY b."Id";

-- Query #54413 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid])
ORDER BY b."Id";

-- Query #54414 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid
ORDER BY b."SortName";

-- Query #54415 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '040334f6-2930-b657-a54c-d02186cbce26'::uuid
ORDER BY b."SortName";

-- Query #54416 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid
ORDER BY b."SortName";

-- Query #54417 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid
ORDER BY b."SortName";

-- Query #54418 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fd21a996-07a4-ddc8-5db7-ac1a96c9f7b2'::uuid
ORDER BY b."SortName";

-- Query #54419 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5'::uuid])
ORDER BY b."Id";

-- Query #54420 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5'::uuid])
ORDER BY b."Id";

-- Query #54421 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5'::uuid])
ORDER BY b."Id";

-- Query #54422 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5'::uuid])
ORDER BY b."Id";

-- Query #54423 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5'::uuid])
ORDER BY b."Id";

-- Query #54424 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5'::uuid
ORDER BY b."SortName";

-- Query #54425 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '345bd57a-9627-d417-dae5-2e11290de9ea'::uuid
ORDER BY b."SortName";

-- Query #54426 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd809e7e0-992e-d262-b839-a69349e9aec8'::uuid
ORDER BY b."SortName";

-- Query #54427 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '87429c25-8220-68dd-d699-a4c93e8af684'::uuid
ORDER BY b."SortName";

-- Query #54428 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3c968e08-137f-7386-a940-adf496d83dcd'::uuid
ORDER BY b."SortName";

-- Query #54429 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '840153f2-b515-be64-8892-cd3dab06253d'::uuid
ORDER BY b."SortName";

-- Query #54430 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e7d974e1-1d5d-1138-0a84-5923abaf4c8a'::uuid
ORDER BY b."SortName";

-- Query #54431 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '458b1920-efc5-d052-04bd-c3a0a33db722'::uuid
ORDER BY b."SortName";

-- Query #54432 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '69caf71d-54f9-271a-9ff1-ded645066bf4'::uuid
ORDER BY b."SortName";

-- Query #54433 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '91b60957-a5d9-7f7b-c312-b969dc0d0367'::uuid
ORDER BY b."SortName";

-- Query #54434 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1a63f2d6-a8a7-c67d-fa9b-ad83f7232976'::uuid
ORDER BY b."SortName";

-- Query #54435 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'babb452b-6ab4-306a-9449-d55cc4a915f1'::uuid
ORDER BY b."SortName";

-- Query #54436 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '83465fe6-45bb-916d-67f2-36005bdb38bc'::uuid
ORDER BY b."SortName";

-- Query #54437 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f423219e-2962-3484-af2c-fe07cbfe1a16'::uuid
ORDER BY b."SortName";

-- Query #54438 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '137c99c1-0b75-df0a-3d3b-5c646e38df5b'::uuid
ORDER BY b."SortName";

-- Query #54439 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0a51db07-c01b-2219-cd86-3ed68e2b430a'::uuid
ORDER BY b."SortName";

-- Query #54440 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'abfd4edd-94fc-2544-8a77-9c45e17b020e'::uuid
ORDER BY b."SortName";

-- Query #54441 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '67a1137a-8c71-da2f-177d-edb59e88c9c4'::uuid
ORDER BY b."SortName";

-- Query #54442 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3769bb32-1073-6cc3-9d83-97cfbc881e11'::uuid
ORDER BY b."SortName";

-- Query #54443 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a87f162a-6f8e-46b3-7e3b-2f456622ff2a'::uuid
ORDER BY b."SortName";

-- Query #54444 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9cb2f525-d08b-7bec-ab37-0374aac758c5'::uuid
ORDER BY b."SortName";

-- Query #54445 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3e53dd18-3eea-a033-ed24-101a1d3d536b'::uuid
ORDER BY b."SortName";

-- Query #54446 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1f9a473-6778-c5b7-1b0c-186ff17cce7d'::uuid
ORDER BY b."SortName";

-- Query #54447 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7908cf62-aebc-1674-e3c3-73e9de1a1078'::uuid
ORDER BY b."SortName";

-- Query #54448 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e60b7c31-3696-a822-1549-3078d4ba07fc'::uuid
ORDER BY b."SortName";

-- Query #54449 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0689efb-bd73-3337-3cf4-5871d6cb71d0'::uuid, '621b86bc-b2c7-4433-9893-6578f9e6b5e8'::uuid, 'a734eb90-637b-3de7-36da-6e27c9115497'::uuid])
ORDER BY b."Id";

-- Query #54450 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c0689efb-bd73-3337-3cf4-5871d6cb71d0'::uuid, '621b86bc-b2c7-4433-9893-6578f9e6b5e8'::uuid, 'a734eb90-637b-3de7-36da-6e27c9115497'::uuid])
ORDER BY b."Id";

-- Query #54451 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['c0689efb-bd73-3337-3cf4-5871d6cb71d0'::uuid, '621b86bc-b2c7-4433-9893-6578f9e6b5e8'::uuid, 'a734eb90-637b-3de7-36da-6e27c9115497'::uuid])
ORDER BY b."Id";

-- Query #54452 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c0689efb-bd73-3337-3cf4-5871d6cb71d0'::uuid, '621b86bc-b2c7-4433-9893-6578f9e6b5e8'::uuid, 'a734eb90-637b-3de7-36da-6e27c9115497'::uuid])
ORDER BY b."Id";

-- Query #54453 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['c0689efb-bd73-3337-3cf4-5871d6cb71d0'::uuid, '621b86bc-b2c7-4433-9893-6578f9e6b5e8'::uuid, 'a734eb90-637b-3de7-36da-6e27c9115497'::uuid])
ORDER BY b."Id";

-- Query #54454 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c0689efb-bd73-3337-3cf4-5871d6cb71d0'::uuid
ORDER BY b."SortName";

-- Query #54455 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '621b86bc-b2c7-4433-9893-6578f9e6b5e8'::uuid
ORDER BY b."SortName";

-- Query #54456 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a734eb90-637b-3de7-36da-6e27c9115497'::uuid
ORDER BY b."SortName";

-- Query #54457 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7cd25da4-30f8-4bea-bdde-ed5b3046f607'::uuid
ORDER BY b."SortName";

-- Query #54458 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7740a050-54a4-3378-02c1-9d03c6e351a5'::uuid, 'f7a77892-8190-0ebf-3cf9-063756ae7ac2'::uuid])
ORDER BY b."Id";

-- Query #54459 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['7740a050-54a4-3378-02c1-9d03c6e351a5'::uuid, 'f7a77892-8190-0ebf-3cf9-063756ae7ac2'::uuid])
ORDER BY b."Id";

-- Query #54460 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['7740a050-54a4-3378-02c1-9d03c6e351a5'::uuid, 'f7a77892-8190-0ebf-3cf9-063756ae7ac2'::uuid])
ORDER BY b."Id";

-- Query #54461 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7740a050-54a4-3378-02c1-9d03c6e351a5'::uuid, 'f7a77892-8190-0ebf-3cf9-063756ae7ac2'::uuid])
ORDER BY b."Id";

-- Query #54462 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['7740a050-54a4-3378-02c1-9d03c6e351a5'::uuid, 'f7a77892-8190-0ebf-3cf9-063756ae7ac2'::uuid])
ORDER BY b."Id";

-- Query #54463 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7740a050-54a4-3378-02c1-9d03c6e351a5'::uuid
ORDER BY b."SortName";

-- Query #54464 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f7a77892-8190-0ebf-3cf9-063756ae7ac2'::uuid
ORDER BY b."SortName";

-- Query #54465 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3f14b9fd-f609-eedd-8a69-9fc96b4748d3'::uuid
ORDER BY b."SortName";

-- Query #54466 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '51e2960f-fa9c-68b0-6717-16593685cd87'::uuid
ORDER BY b."SortName";

-- Query #54467 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1cc69f0-0b10-69ca-da15-6bac00e46ef8'::uuid
ORDER BY b."SortName";

-- Query #54468 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b7e54089-fb8e-538f-c039-1a2015c41184'::uuid
ORDER BY b."SortName";

-- Query #54469 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9d526568-2241-8828-442b-a9451bed10fd'::uuid
ORDER BY b."SortName";

-- Query #54470 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3a501b6c-e047-773e-4152-6304637eb7ba'::uuid
ORDER BY b."SortName";

-- Query #54471 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9b1285c9-f1c3-1778-7bac-01f80505043b'::uuid
ORDER BY b."SortName";

-- Query #54472 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b7eb2b18-4484-5d31-67cf-f74850d33171'::uuid
ORDER BY b."SortName";

-- Query #54473 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'df3a7eac-2c9d-ad23-81d7-1b6585287519'::uuid
ORDER BY b."SortName";

-- Query #54474 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '45f03393-3564-ead9-8e14-6f1e8459ebc9'::uuid
ORDER BY b."SortName";

-- Query #54475 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '63830cb9-9fe7-1378-6cf2-7a2155e5a48f'::uuid
ORDER BY b."SortName";

-- Query #54476 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c41cd378-ddab-439c-243c-c26e1b21bcae'::uuid
ORDER BY b."SortName";

-- Query #54477 | logged_duration_ms=11 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cbbaf98e-19c4-f5fd-1218-8091352b37be'::uuid
ORDER BY b."SortName";

-- Query #54478 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '80cb946c-775c-d465-a924-0eca95d204d4'::uuid
ORDER BY b."SortName";

-- Query #54479 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2158a16e-6c7c-ec1f-8eb7-341d7b13aa27'::uuid
ORDER BY b."SortName";

-- Query #54480 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8295d9cd-6587-203f-ae91-d617bc111377'::uuid
ORDER BY b."SortName";

-- Query #54481 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '240afffe-06cb-9fe5-7844-1d363136e6b4'::uuid
ORDER BY b."SortName";

-- Query #54482 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9b62ab44-1588-f561-e4e4-465f4f2f4e5a'::uuid
ORDER BY b."SortName";

-- Query #54483 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4ec7212a-e068-1793-71d6-6b58cd26fc3f'::uuid
ORDER BY b."SortName";

-- Query #54484 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '68495378-9683-8e0a-0be1-009af477b2d0'::uuid
ORDER BY b."SortName";

-- Query #54485 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '80def30a-63df-220f-594a-5517e25ed565'::uuid
ORDER BY b."SortName";

-- Query #54486 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd5ff6760-bba1-af74-8a4a-55967a29d6d1'::uuid
ORDER BY b."SortName";

-- Query #54487 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ee53d4d7-1546-644d-b01a-f9dd8b48b8eb'::uuid
ORDER BY b."SortName";

-- Query #54488 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1b6a6220-3ed8-21ec-f408-2e035ae566c8'::uuid
ORDER BY b."SortName";

-- Query #54489 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '13284df5-dd5b-3db8-87c2-19abf45ca4d4'::uuid
ORDER BY b."SortName";

-- Query #54490 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e183071f-c28d-397d-bfaf-0c26911f7bf0'::uuid
ORDER BY b."SortName";

-- Query #54491 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e2385908-d25a-b03d-cb38-058c6942953d'::uuid
ORDER BY b."SortName";

-- Query #54492 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, '5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid])
ORDER BY b."Id";

-- Query #54493 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, '5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid])
ORDER BY b."Id";

-- Query #54494 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, '5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid])
ORDER BY b."Id";

-- Query #54495 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, '5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid])
ORDER BY b."Id";

-- Query #54496 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, '5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid])
ORDER BY b."Id";

-- Query #54497 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid
ORDER BY b."SortName";

-- Query #54498 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a8c78802-317c-98dc-91bd-33670053710d'::uuid
ORDER BY b."SortName";

-- Query #54499 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid
ORDER BY b."SortName";

-- Query #54500 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid
ORDER BY b."SortName";

-- Query #54501 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a0d0b989-54be-247e-e122-6194598365d0'::uuid
ORDER BY b."SortName";

-- Query #54502 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0187d0b1-3a72-5f05-f134-368ea10fcd46'::uuid
ORDER BY b."SortName";

-- Query #54503 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dccd67c2-4625-716a-dcb2-73155df3c062'::uuid
ORDER BY b."SortName";

-- Query #54504 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ec5cbb22-f97b-3b26-89c4-19d60deafb6a'::uuid
ORDER BY b."SortName";

-- Query #54505 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e234d6e1-c17c-b888-0db6-b05bace3d411'::uuid
ORDER BY b."SortName";

-- Query #54506 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b6ef618c-34dd-3f06-36a8-7ea563eba524'::uuid
ORDER BY b."SortName";

-- Query #54507 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5d1cab0-8cb9-38db-740d-4fd96f034d23'::uuid
ORDER BY b."SortName";

-- Query #54508 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95414f1c-5529-2570-6939-101b34ce51ef'::uuid
ORDER BY b."SortName";

-- Query #54509 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'eefdb36e-d9a5-8df7-1794-36f100415940'::uuid
ORDER BY b."SortName";

-- Query #54510 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3b7f1d89-edc4-1ea4-360c-900ed5546790'::uuid
ORDER BY b."SortName";

-- Query #54511 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '557220c2-cda7-b5ed-7e5e-f285331cf054'::uuid
ORDER BY b."SortName";

-- Query #54512 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6cf607c6-70df-0b80-c074-862ee77e852e'::uuid
ORDER BY b."SortName";

-- Query #54513 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65c144ad-f0f0-79cc-48db-41aed89e14a7'::uuid
ORDER BY b."SortName";

-- Query #54514 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f17dc9f4-7d26-fbaf-c743-df1a3c708e00'::uuid
ORDER BY b."SortName";

-- Query #54515 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd7dbe4e5-60fc-b09c-599a-d97438a53a07'::uuid
ORDER BY b."SortName";

-- Query #54516 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '25fe2574-500d-61cd-95ce-c99b338f9aea'::uuid
ORDER BY b."SortName";

-- Query #54517 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '82229be2-ff79-e974-65ce-185f06959b2d'::uuid
ORDER BY b."SortName";

-- Query #54518 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '420020ea-b9e4-0014-e60a-d89c69d5795a'::uuid
ORDER BY b."SortName";

-- Query #54519 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a8800cb9-6e82-b516-632e-6da3df103e9d'::uuid
ORDER BY b."SortName";

-- Query #54520 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '38e59457-5085-e45d-e066-5a2d208ec70c'::uuid
ORDER BY b."SortName";

-- Query #54521 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9abbbd7b-fc50-a034-abbc-c3b91ff7f774'::uuid
ORDER BY b."SortName";

-- Query #54522 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8b63dd3e-20f0-233e-7f7c-174e428406b6'::uuid
ORDER BY b."SortName";

-- Query #54523 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '94972872-c383-1076-7042-215a9b1efe53'::uuid
ORDER BY b."SortName";

-- Query #54524 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0a270fac-3b64-c982-6f0d-8934b2ec35c1'::uuid
ORDER BY b."SortName";

-- Query #54525 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3c3eed7e-9036-009b-fd63-c3e11944bc83'::uuid
ORDER BY b."SortName";

-- Query #54526 | logged_duration_ms=10 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '858c8c51-333d-b283-33c4-e6b6e0888c65'::uuid
ORDER BY b."SortName";

-- Query #54527 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '31476024-ff90-edf0-09ea-7351453c685a'::uuid
ORDER BY b."SortName";

-- Query #54528 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cb7f137f-5bc3-0784-521b-c7126ae258bd'::uuid
ORDER BY b."SortName";

-- Query #54529 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2a61e354-953e-3fb4-c6ea-76fb9e2e5aaf'::uuid
ORDER BY b."SortName";

-- Query #54530 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d8590da-99cb-7b0d-aa38-0d6cd43184c5'::uuid
ORDER BY b."SortName";

-- Query #54531 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '4f9945dd-737a-06c1-957c-b1add48e0729'::uuid])
ORDER BY b."Id";

-- Query #54532 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '4f9945dd-737a-06c1-957c-b1add48e0729'::uuid])
ORDER BY b."Id";

-- Query #54533 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '4f9945dd-737a-06c1-957c-b1add48e0729'::uuid])
ORDER BY b."Id";

-- Query #54534 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '4f9945dd-737a-06c1-957c-b1add48e0729'::uuid])
ORDER BY b."Id";

-- Query #54535 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '4f9945dd-737a-06c1-957c-b1add48e0729'::uuid])
ORDER BY b."Id";

-- Query #54536 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid
ORDER BY b."SortName";

-- Query #54537 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2662cba8-a584-767c-b4b0-047e4428377e'::uuid
ORDER BY b."SortName";

-- Query #54538 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5e286416-f17a-d649-bc86-230e88ef5723'::uuid
ORDER BY b."SortName";

-- Query #54539 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4f9945dd-737a-06c1-957c-b1add48e0729'::uuid
ORDER BY b."SortName";

-- Query #54540 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1231748-4040-f385-1976-fdc2050cd23b'::uuid
ORDER BY b."SortName";

-- Query #54541 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d196c45-f22b-11f5-5331-2a1670cba21a'::uuid, '6badd438-a057-1a5f-e8fc-248ea1b12216'::uuid])
ORDER BY b."Id";

-- Query #54542 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0d196c45-f22b-11f5-5331-2a1670cba21a'::uuid, '6badd438-a057-1a5f-e8fc-248ea1b12216'::uuid])
ORDER BY b."Id";

-- Query #54543 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['0d196c45-f22b-11f5-5331-2a1670cba21a'::uuid, '6badd438-a057-1a5f-e8fc-248ea1b12216'::uuid])
ORDER BY b."Id";

-- Query #54544 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0d196c45-f22b-11f5-5331-2a1670cba21a'::uuid, '6badd438-a057-1a5f-e8fc-248ea1b12216'::uuid])
ORDER BY b."Id";

-- Query #54545 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['0d196c45-f22b-11f5-5331-2a1670cba21a'::uuid, '6badd438-a057-1a5f-e8fc-248ea1b12216'::uuid])
ORDER BY b."Id";

-- Query #54546 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0d196c45-f22b-11f5-5331-2a1670cba21a'::uuid
ORDER BY b."SortName";

-- Query #54547 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6badd438-a057-1a5f-e8fc-248ea1b12216'::uuid
ORDER BY b."SortName";

-- Query #54548 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '50fff1d8-90c5-876e-12c8-1213a48c160f'::uuid
ORDER BY b."SortName";

-- Query #54549 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['818c5991-0374-5ff7-eaf5-3d3402e07570'::uuid])
ORDER BY b."Id";

-- Query #54550 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['818c5991-0374-5ff7-eaf5-3d3402e07570'::uuid])
ORDER BY b."Id";

-- Query #54551 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['818c5991-0374-5ff7-eaf5-3d3402e07570'::uuid])
ORDER BY b."Id";

-- Query #54552 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['818c5991-0374-5ff7-eaf5-3d3402e07570'::uuid])
ORDER BY b."Id";

-- Query #54553 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['818c5991-0374-5ff7-eaf5-3d3402e07570'::uuid])
ORDER BY b."Id";

-- Query #54554 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '818c5991-0374-5ff7-eaf5-3d3402e07570'::uuid
ORDER BY b."SortName";

-- Query #54555 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a32a8dea-d832-2eb0-00d7-342898ebeeb0'::uuid
ORDER BY b."SortName";

-- Query #54556 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7'::uuid])
ORDER BY b."Id";

-- Query #54557 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7'::uuid])
ORDER BY b."Id";

-- Query #54558 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7'::uuid])
ORDER BY b."Id";

-- Query #54559 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7'::uuid])
ORDER BY b."Id";

-- Query #54560 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7'::uuid])
ORDER BY b."Id";

-- Query #54561 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7'::uuid
ORDER BY b."SortName";

-- Query #54562 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0b5c1651-65d2-cee9-58be-ee60ee297627'::uuid, '91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #54563 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0b5c1651-65d2-cee9-58be-ee60ee297627'::uuid, '91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #54564 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['0b5c1651-65d2-cee9-58be-ee60ee297627'::uuid, '91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #54565 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0b5c1651-65d2-cee9-58be-ee60ee297627'::uuid, '91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #54566 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['0b5c1651-65d2-cee9-58be-ee60ee297627'::uuid, '91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #54567 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6429f9a4-3413-0282-2485-688b4391581a'::uuid
ORDER BY b."SortName";

-- Query #54568 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da886991-676e-045a-0c3e-2118892af4bf'::uuid, 'c98cedad-ca96-ba35-a759-a0347090b740'::uuid])
ORDER BY b."Id";

-- Query #54569 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['da886991-676e-045a-0c3e-2118892af4bf'::uuid, 'c98cedad-ca96-ba35-a759-a0347090b740'::uuid])
ORDER BY b."Id";

-- Query #54570 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['da886991-676e-045a-0c3e-2118892af4bf'::uuid, 'c98cedad-ca96-ba35-a759-a0347090b740'::uuid])
ORDER BY b."Id";

-- Query #54571 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['da886991-676e-045a-0c3e-2118892af4bf'::uuid, 'c98cedad-ca96-ba35-a759-a0347090b740'::uuid])
ORDER BY b."Id";

-- Query #54572 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['da886991-676e-045a-0c3e-2118892af4bf'::uuid, 'c98cedad-ca96-ba35-a759-a0347090b740'::uuid])
ORDER BY b."Id";

-- Query #54573 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'da886991-676e-045a-0c3e-2118892af4bf'::uuid
ORDER BY b."SortName";

-- Query #54574 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c98cedad-ca96-ba35-a759-a0347090b740'::uuid
ORDER BY b."SortName";

-- Query #54575 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '52e6442a-96e9-6db3-c832-9fc8ced14461'::uuid
ORDER BY b."SortName";

-- Query #54576 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid, '3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid])
ORDER BY b."Id";

-- Query #54577 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid, '3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid])
ORDER BY b."Id";

-- Query #54578 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid, '3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid])
ORDER BY b."Id";

-- Query #54579 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid, '3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid])
ORDER BY b."Id";

-- Query #54580 | logged_duration_ms=9 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid, '3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid])
ORDER BY b."Id";

-- Query #54581 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid
ORDER BY b."SortName";

-- Query #54582 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid
ORDER BY b."SortName";

-- Query #54583 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid
ORDER BY b."SortName";

-- Query #54584 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid
ORDER BY b."SortName";

-- Query #54585 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '830b7464-e334-5f09-a904-9105e57bdda9'::uuid
ORDER BY b."SortName";

-- Query #54586 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d3d85c7-847b-15c2-425e-0158d26316fa'::uuid])
ORDER BY b."Id";

-- Query #54587 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['3d3d85c7-847b-15c2-425e-0158d26316fa'::uuid])
ORDER BY b."Id";

-- Query #54588 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['3d3d85c7-847b-15c2-425e-0158d26316fa'::uuid])
ORDER BY b."Id";

-- Query #54589 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3d3d85c7-847b-15c2-425e-0158d26316fa'::uuid])
ORDER BY b."Id";

-- Query #54590 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['3d3d85c7-847b-15c2-425e-0158d26316fa'::uuid])
ORDER BY b."Id";

-- Query #54591 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d3d85c7-847b-15c2-425e-0158d26316fa'::uuid
ORDER BY b."SortName";

-- Query #54592 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '491139d8-a2b9-e086-aaaf-e8acf5058be5'::uuid
ORDER BY b."SortName";

-- Query #54593 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5f9c71ef-e86d-993f-9610-256350c8e9aa'::uuid
ORDER BY b."SortName";

-- Query #54594 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'de5a8141-d36a-e260-6667-5069aa385875'::uuid
ORDER BY b."SortName";

-- Query #54595 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '327817c3-6733-9751-e1a6-4cb48ac272a0'::uuid
ORDER BY b."SortName";

-- Query #54596 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ba59261f-ad52-9c3a-979a-0b01da66dd21'::uuid
ORDER BY b."SortName";

-- Query #54597 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5750aa5c-eb01-2e1b-2696-02c58dc52d06'::uuid
ORDER BY b."SortName";

-- Query #54598 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a74e6de0-d25d-682b-b234-147b892cf2dd'::uuid
ORDER BY b."SortName";

-- Query #54599 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4ee4e291-4fb1-ed91-3be6-7d93f4631bbd'::uuid
ORDER BY b."SortName";

-- Query #54600 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'eb8a14fb-61e6-a981-a450-603a6fbda3c8'::uuid
ORDER BY b."SortName";

-- Query #54601 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '25dda7b1-1856-c8d2-e8fd-e9af64628651'::uuid
ORDER BY b."SortName";

-- Query #54602 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f13ea537-eaeb-321b-fd99-6741b47073da'::uuid
ORDER BY b."SortName";

-- Query #54603 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7c332632-8763-38cf-f193-8655d7151ec6'::uuid
ORDER BY b."SortName";

-- Query #54604 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '17dc81ea-2ff5-0e91-a656-aed745ff2516'::uuid
ORDER BY b."SortName";

-- Query #54605 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4989fc77-883f-b4c6-6391-90f69cf45047'::uuid
ORDER BY b."SortName";

-- Query #54606 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '67cf40b2-4805-52a7-42a3-5d821b0ed1cb'::uuid
ORDER BY b."SortName";

-- Query #54607 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '37bb1fe7-1234-b17c-e551-8da269c9e971'::uuid
ORDER BY b."SortName";

-- Query #54608 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '86678ab9-9fe6-ae2d-4c54-daa7cb8863f4'::uuid
ORDER BY b."SortName";

-- Query #54609 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'df4df278-559a-0bc8-b00e-ba60dad224df'::uuid
ORDER BY b."SortName";

-- Query #54610 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd1f48da4-3241-d1d2-0378-f001e6dcfe64'::uuid
ORDER BY b."SortName";

-- Query #54611 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a4f6dec6-15fb-acde-67f4-10a2fce5c3b3'::uuid
ORDER BY b."SortName";

-- Query #54612 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '96e6c8d3-2a80-d58a-967f-af1f15def24c'::uuid
ORDER BY b."SortName";

-- Query #54613 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd9ee758d-8937-f7ec-3a4c-56e670b11236'::uuid
ORDER BY b."SortName";

-- Query #54614 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3ad8acb7-0cec-ec64-c11b-7c0a3fcb80cd'::uuid
ORDER BY b."SortName";

-- Query #54615 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fc115745-4ed9-f8ab-357e-028bfd5f4572'::uuid
ORDER BY b."SortName";

-- Query #54616 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '92273445-2f51-41b3-77a2-4b86a11d9f34'::uuid
ORDER BY b."SortName";

-- Query #54617 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a716eca8-4125-6182-f7d4-bd8b85cc8951'::uuid, 'a93501c5-0fa3-0888-563b-81d495d9d796'::uuid])
ORDER BY b."Id";

-- Query #54618 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a716eca8-4125-6182-f7d4-bd8b85cc8951'::uuid, 'a93501c5-0fa3-0888-563b-81d495d9d796'::uuid])
ORDER BY b."Id";

-- Query #54619 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a716eca8-4125-6182-f7d4-bd8b85cc8951'::uuid, 'a93501c5-0fa3-0888-563b-81d495d9d796'::uuid])
ORDER BY b."Id";

-- Query #54620 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a716eca8-4125-6182-f7d4-bd8b85cc8951'::uuid, 'a93501c5-0fa3-0888-563b-81d495d9d796'::uuid])
ORDER BY b."Id";

-- Query #54621 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a716eca8-4125-6182-f7d4-bd8b85cc8951'::uuid, 'a93501c5-0fa3-0888-563b-81d495d9d796'::uuid])
ORDER BY b."Id";

-- Query #54622 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a716eca8-4125-6182-f7d4-bd8b85cc8951'::uuid
ORDER BY b."SortName";

-- Query #54623 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a93501c5-0fa3-0888-563b-81d495d9d796'::uuid
ORDER BY b."SortName";

-- Query #54624 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f7572de2-e6c4-8aa2-4115-35e2bebb56de'::uuid
ORDER BY b."SortName";

-- Query #54625 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ef2d010-f56c-1e0b-16b6-18eeb0cac514'::uuid, '1a38d1f7-43e4-7282-41be-5ea935625014'::uuid, 'f6c381b1-a5de-b9f0-5538-f5a4451aa813'::uuid])
ORDER BY b."Id";

-- Query #54626 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5ef2d010-f56c-1e0b-16b6-18eeb0cac514'::uuid, '1a38d1f7-43e4-7282-41be-5ea935625014'::uuid, 'f6c381b1-a5de-b9f0-5538-f5a4451aa813'::uuid])
ORDER BY b."Id";

-- Query #54627 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5ef2d010-f56c-1e0b-16b6-18eeb0cac514'::uuid, '1a38d1f7-43e4-7282-41be-5ea935625014'::uuid, 'f6c381b1-a5de-b9f0-5538-f5a4451aa813'::uuid])
ORDER BY b."Id";

-- Query #54628 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ef2d010-f56c-1e0b-16b6-18eeb0cac514'::uuid, '1a38d1f7-43e4-7282-41be-5ea935625014'::uuid, 'f6c381b1-a5de-b9f0-5538-f5a4451aa813'::uuid])
ORDER BY b."Id";

-- Query #54629 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5ef2d010-f56c-1e0b-16b6-18eeb0cac514'::uuid, '1a38d1f7-43e4-7282-41be-5ea935625014'::uuid, 'f6c381b1-a5de-b9f0-5538-f5a4451aa813'::uuid])
ORDER BY b."Id";

-- Query #54630 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5ef2d010-f56c-1e0b-16b6-18eeb0cac514'::uuid
ORDER BY b."SortName";

-- Query #54631 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1a38d1f7-43e4-7282-41be-5ea935625014'::uuid
ORDER BY b."SortName";

-- Query #54632 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f6c381b1-a5de-b9f0-5538-f5a4451aa813'::uuid
ORDER BY b."SortName";

-- Query #54633 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f8d4661b-b5c5-b547-7a50-a67fe5255cad'::uuid
ORDER BY b."SortName";

-- Query #54634 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fb8aa2b6-1b3c-d601-0def-e878b6c43f4c'::uuid
ORDER BY b."SortName";

-- Query #54635 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '979a0848-6813-0e3e-d8a0-393d668641da'::uuid
ORDER BY b."SortName";

-- Query #54636 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'be17736c-46cf-b289-35eb-a102c225e0ea'::uuid
ORDER BY b."SortName";

-- Query #54637 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3fb3e0a4-9947-89bf-de42-631a8a0e1aff'::uuid
ORDER BY b."SortName";

-- Query #54638 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd0f6b546-04f3-b11c-fa99-80739c3defe9'::uuid
ORDER BY b."SortName";

-- Query #54639 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e0d64354-ce25-05e1-7597-1f1328c0e139'::uuid
ORDER BY b."SortName";

-- Query #54640 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '26106d25-d5b1-ff3b-201d-529bb08d573b'::uuid
ORDER BY b."SortName";

-- Query #54641 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '646da138-a39c-b79f-f025-b20881c3064a'::uuid
ORDER BY b."SortName";

-- Query #54642 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '443f735b-cee5-ff24-c8a0-b962540d45e9'::uuid
ORDER BY b."SortName";

-- Query #54643 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6199fb0d-8c52-23d9-abc9-d8456f2194a3'::uuid, 'adc04a9e-2d03-5631-13cb-9a7d820d4b22'::uuid, '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320'::uuid])
ORDER BY b."Id";

-- Query #54644 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['6199fb0d-8c52-23d9-abc9-d8456f2194a3'::uuid, 'adc04a9e-2d03-5631-13cb-9a7d820d4b22'::uuid, '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320'::uuid])
ORDER BY b."Id";

-- Query #54645 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['6199fb0d-8c52-23d9-abc9-d8456f2194a3'::uuid, 'adc04a9e-2d03-5631-13cb-9a7d820d4b22'::uuid, '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320'::uuid])
ORDER BY b."Id";

-- Query #54646 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6199fb0d-8c52-23d9-abc9-d8456f2194a3'::uuid, 'adc04a9e-2d03-5631-13cb-9a7d820d4b22'::uuid, '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320'::uuid])
ORDER BY b."Id";

-- Query #54647 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['6199fb0d-8c52-23d9-abc9-d8456f2194a3'::uuid, 'adc04a9e-2d03-5631-13cb-9a7d820d4b22'::uuid, '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320'::uuid])
ORDER BY b."Id";

-- Query #54648 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6199fb0d-8c52-23d9-abc9-d8456f2194a3'::uuid
ORDER BY b."SortName";

-- Query #54649 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'adc04a9e-2d03-5631-13cb-9a7d820d4b22'::uuid
ORDER BY b."SortName";

-- Query #54650 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320'::uuid
ORDER BY b."SortName";

-- Query #54651 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6536c1be-6aa1-59ba-4a7c-0270acab3972'::uuid
ORDER BY b."SortName";

-- Query #54652 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70370389-7911-027c-28bf-bf4fa68029f6'::uuid, 'b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid])
ORDER BY b."Id";

-- Query #54653 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['70370389-7911-027c-28bf-bf4fa68029f6'::uuid, 'b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid])
ORDER BY b."Id";

-- Query #54654 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['70370389-7911-027c-28bf-bf4fa68029f6'::uuid, 'b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid])
ORDER BY b."Id";

-- Query #54655 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['70370389-7911-027c-28bf-bf4fa68029f6'::uuid, 'b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid])
ORDER BY b."Id";

-- Query #54656 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['70370389-7911-027c-28bf-bf4fa68029f6'::uuid, 'b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid])
ORDER BY b."Id";

-- Query #54657 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '70370389-7911-027c-28bf-bf4fa68029f6'::uuid
ORDER BY b."SortName";

-- Query #54658 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid
ORDER BY b."SortName";

-- Query #54659 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid
ORDER BY b."SortName";

-- Query #54660 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid
ORDER BY b."SortName";

-- Query #54661 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0dfe5e31-8778-b4de-16a0-2a1d3cb958fe'::uuid
ORDER BY b."SortName";

-- Query #54662 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['98b09ba8-191b-0d72-fa27-04d1b79af846'::uuid, '1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c'::uuid])
ORDER BY b."Id";

-- Query #54663 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['98b09ba8-191b-0d72-fa27-04d1b79af846'::uuid, '1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c'::uuid])
ORDER BY b."Id";

-- Query #54664 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['98b09ba8-191b-0d72-fa27-04d1b79af846'::uuid, '1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c'::uuid])
ORDER BY b."Id";

-- Query #54665 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['98b09ba8-191b-0d72-fa27-04d1b79af846'::uuid, '1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c'::uuid])
ORDER BY b."Id";

-- Query #54666 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['98b09ba8-191b-0d72-fa27-04d1b79af846'::uuid, '1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c'::uuid])
ORDER BY b."Id";

-- Query #54667 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '98b09ba8-191b-0d72-fa27-04d1b79af846'::uuid
ORDER BY b."SortName";

-- Query #54668 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c'::uuid
ORDER BY b."SortName";

-- Query #54669 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #54670 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #54671 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #54672 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #54673 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #54674 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6c6e27d5-8186-2829-0b96-a90c818df4e2'::uuid
ORDER BY b."SortName";

-- Query #54675 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1'::uuid, 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09'::uuid, '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02'::uuid])
ORDER BY b."Id";

-- Query #54676 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1'::uuid, 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09'::uuid, '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02'::uuid])
ORDER BY b."Id";

-- Query #54677 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1'::uuid, 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09'::uuid, '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02'::uuid])
ORDER BY b."Id";

-- Query #54678 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1'::uuid, 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09'::uuid, '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02'::uuid])
ORDER BY b."Id";

-- Query #54679 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1'::uuid, 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09'::uuid, '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02'::uuid])
ORDER BY b."Id";

-- Query #54680 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1'::uuid
ORDER BY b."SortName";

-- Query #54681 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09'::uuid
ORDER BY b."SortName";

-- Query #54682 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02'::uuid
ORDER BY b."SortName";

-- Query #54683 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '38558414-7881-5010-f0a0-c76b3b2e804f'::uuid
ORDER BY b."SortName";

-- Query #54684 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a56a96df-e0de-9049-4735-5140d238e96d'::uuid])
ORDER BY b."Id";

-- Query #54685 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a56a96df-e0de-9049-4735-5140d238e96d'::uuid])
ORDER BY b."Id";

-- Query #54686 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a56a96df-e0de-9049-4735-5140d238e96d'::uuid])
ORDER BY b."Id";

-- Query #54687 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a56a96df-e0de-9049-4735-5140d238e96d'::uuid])
ORDER BY b."Id";

-- Query #54688 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a56a96df-e0de-9049-4735-5140d238e96d'::uuid])
ORDER BY b."Id";

-- Query #54689 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a56a96df-e0de-9049-4735-5140d238e96d'::uuid
ORDER BY b."SortName";

-- Query #54690 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'feed0a6f-7745-6d06-35d8-d820861ca60b'::uuid
ORDER BY b."SortName";

-- Query #54691 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a3265f3-9fe2-1c3b-df93-03ec4c51ba29'::uuid, '788d1451-c554-ff11-2a68-88c3002f3325'::uuid, '78dacb4d-a99d-3632-4788-86217ed16824'::uuid])
ORDER BY b."Id";

-- Query #54692 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0a3265f3-9fe2-1c3b-df93-03ec4c51ba29'::uuid, '788d1451-c554-ff11-2a68-88c3002f3325'::uuid, '78dacb4d-a99d-3632-4788-86217ed16824'::uuid])
ORDER BY b."Id";

-- Query #54693 | logged_duration_ms=2 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['0a3265f3-9fe2-1c3b-df93-03ec4c51ba29'::uuid, '788d1451-c554-ff11-2a68-88c3002f3325'::uuid, '78dacb4d-a99d-3632-4788-86217ed16824'::uuid])
ORDER BY b."Id";

-- Query #54694 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0a3265f3-9fe2-1c3b-df93-03ec4c51ba29'::uuid, '788d1451-c554-ff11-2a68-88c3002f3325'::uuid, '78dacb4d-a99d-3632-4788-86217ed16824'::uuid])
ORDER BY b."Id";

-- Query #54695 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['0a3265f3-9fe2-1c3b-df93-03ec4c51ba29'::uuid, '788d1451-c554-ff11-2a68-88c3002f3325'::uuid, '78dacb4d-a99d-3632-4788-86217ed16824'::uuid])
ORDER BY b."Id";

-- Query #54696 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0a3265f3-9fe2-1c3b-df93-03ec4c51ba29'::uuid
ORDER BY b."SortName";

-- Query #54697 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '788d1451-c554-ff11-2a68-88c3002f3325'::uuid
ORDER BY b."SortName";

-- Query #54698 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '78dacb4d-a99d-3632-4788-86217ed16824'::uuid
ORDER BY b."SortName";

-- Query #54699 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d2cf51c-f970-16d1-555c-5c4d86947af7'::uuid
ORDER BY b."SortName";

-- Query #54700 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dedff13e-d54c-3cf5-ef77-8c3375f3ef61'::uuid])
ORDER BY b."Id";

-- Query #54701 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['dedff13e-d54c-3cf5-ef77-8c3375f3ef61'::uuid])
ORDER BY b."Id";

-- Query #54702 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['dedff13e-d54c-3cf5-ef77-8c3375f3ef61'::uuid])
ORDER BY b."Id";

-- Query #54703 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dedff13e-d54c-3cf5-ef77-8c3375f3ef61'::uuid])
ORDER BY b."Id";

-- Query #54704 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['dedff13e-d54c-3cf5-ef77-8c3375f3ef61'::uuid])
ORDER BY b."Id";

-- Query #54705 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dedff13e-d54c-3cf5-ef77-8c3375f3ef61'::uuid
ORDER BY b."SortName";

-- Query #54706 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3b59e38a-ece2-8076-e6c5-3bfeff404cf2'::uuid
ORDER BY b."SortName";

-- Query #54707 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5776a4b9-3d20-2780-e377-e5552b385bbe'::uuid, '3a73444d-b98f-14bd-8180-ea663d7694bf'::uuid, '59b34971-836d-7cea-77ce-3297c64050cb'::uuid])
ORDER BY b."Id";

-- Query #54708 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5776a4b9-3d20-2780-e377-e5552b385bbe'::uuid, '3a73444d-b98f-14bd-8180-ea663d7694bf'::uuid, '59b34971-836d-7cea-77ce-3297c64050cb'::uuid])
ORDER BY b."Id";

-- Query #54709 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['5776a4b9-3d20-2780-e377-e5552b385bbe'::uuid, '3a73444d-b98f-14bd-8180-ea663d7694bf'::uuid, '59b34971-836d-7cea-77ce-3297c64050cb'::uuid])
ORDER BY b."Id";

-- Query #54710 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5776a4b9-3d20-2780-e377-e5552b385bbe'::uuid, '3a73444d-b98f-14bd-8180-ea663d7694bf'::uuid, '59b34971-836d-7cea-77ce-3297c64050cb'::uuid])
ORDER BY b."Id";

-- Query #54711 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['5776a4b9-3d20-2780-e377-e5552b385bbe'::uuid, '3a73444d-b98f-14bd-8180-ea663d7694bf'::uuid, '59b34971-836d-7cea-77ce-3297c64050cb'::uuid])
ORDER BY b."Id";

-- Query #54712 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5776a4b9-3d20-2780-e377-e5552b385bbe'::uuid
ORDER BY b."SortName";

-- Query #54713 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3a73444d-b98f-14bd-8180-ea663d7694bf'::uuid
ORDER BY b."SortName";

-- Query #54714 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '59b34971-836d-7cea-77ce-3297c64050cb'::uuid
ORDER BY b."SortName";

-- Query #54715 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '392437a5-1132-53ab-8130-8734342cf3ba'::uuid
ORDER BY b."SortName";

-- Query #54716 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e20228be-6551-2ef6-7d45-c8983906179f'::uuid
ORDER BY b."SortName";

-- Query #54717 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a84912c5-6506-7647-3ea1-104c2d83e10b'::uuid
ORDER BY b."SortName";

-- Query #54718 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a2ae4871-f91d-8f7b-0456-d3acec033547'::uuid
ORDER BY b."SortName";

-- Query #54719 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd04dad9e-ff27-f345-7ab4-063d67e9e31a'::uuid
ORDER BY b."SortName";

-- Query #54720 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '34d263ae-510e-6163-f72b-d316e57c20ca'::uuid
ORDER BY b."SortName";

-- Query #54721 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3f0e154d-9118-0ff7-1fbe-597202b12475'::uuid
ORDER BY b."SortName";

-- Query #54722 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5259fa2-b320-b98c-1198-343d07d7c39d'::uuid
ORDER BY b."SortName";

-- Query #54723 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5038454d-1672-0789-b7b3-95a19f57d6d0'::uuid
ORDER BY b."SortName";

-- Query #54724 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd3788f9d-c611-6a53-6bde-090b2dccc9a9'::uuid
ORDER BY b."SortName";

-- Query #54725 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f10922c0-84cf-0858-d2f8-32f4f53ebb1d'::uuid, 'f827d52e-e860-7474-011f-57725d01569a'::uuid])
ORDER BY b."Id";

-- Query #54726 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f10922c0-84cf-0858-d2f8-32f4f53ebb1d'::uuid, 'f827d52e-e860-7474-011f-57725d01569a'::uuid])
ORDER BY b."Id";

-- Query #54727 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['f10922c0-84cf-0858-d2f8-32f4f53ebb1d'::uuid, 'f827d52e-e860-7474-011f-57725d01569a'::uuid])
ORDER BY b."Id";

-- Query #54728 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f10922c0-84cf-0858-d2f8-32f4f53ebb1d'::uuid, 'f827d52e-e860-7474-011f-57725d01569a'::uuid])
ORDER BY b."Id";

-- Query #54729 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['f10922c0-84cf-0858-d2f8-32f4f53ebb1d'::uuid, 'f827d52e-e860-7474-011f-57725d01569a'::uuid])
ORDER BY b."Id";

-- Query #54730 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f10922c0-84cf-0858-d2f8-32f4f53ebb1d'::uuid
ORDER BY b."SortName";

-- Query #54731 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f827d52e-e860-7474-011f-57725d01569a'::uuid
ORDER BY b."SortName";

-- Query #54732 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '364d504b-c024-48b9-e98e-a660ee23917d'::uuid
ORDER BY b."SortName";

-- Query #54733 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['302a8265-2a5b-bc56-29b7-6bb79eabb25c'::uuid])
ORDER BY b."Id";

-- Query #54734 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['302a8265-2a5b-bc56-29b7-6bb79eabb25c'::uuid])
ORDER BY b."Id";

-- Query #54735 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['302a8265-2a5b-bc56-29b7-6bb79eabb25c'::uuid])
ORDER BY b."Id";

-- Query #54736 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['302a8265-2a5b-bc56-29b7-6bb79eabb25c'::uuid])
ORDER BY b."Id";

-- Query #54737 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['302a8265-2a5b-bc56-29b7-6bb79eabb25c'::uuid])
ORDER BY b."Id";

-- Query #54738 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '302a8265-2a5b-bc56-29b7-6bb79eabb25c'::uuid
ORDER BY b."SortName";

-- Query #54739 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5bdcfe8b-e3a7-5f10-efa0-586f78c88275'::uuid
ORDER BY b."SortName";

-- Query #54740 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ca3df55-8bcc-cc93-6fca-205d72f34331'::uuid])
ORDER BY b."Id";

-- Query #54741 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['1ca3df55-8bcc-cc93-6fca-205d72f34331'::uuid])
ORDER BY b."Id";

-- Query #54742 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['1ca3df55-8bcc-cc93-6fca-205d72f34331'::uuid])
ORDER BY b."Id";

-- Query #54743 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1ca3df55-8bcc-cc93-6fca-205d72f34331'::uuid])
ORDER BY b."Id";

-- Query #54744 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['1ca3df55-8bcc-cc93-6fca-205d72f34331'::uuid])
ORDER BY b."Id";

-- Query #54745 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1ca3df55-8bcc-cc93-6fca-205d72f34331'::uuid
ORDER BY b."SortName";

-- Query #54746 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b7c5b543-4e33-a5de-e498-87f00b152aaf'::uuid
ORDER BY b."SortName";

-- Query #54747 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59e0bffa-970b-9592-38c2-f8203c607073'::uuid])
ORDER BY b."Id";

-- Query #54748 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['59e0bffa-970b-9592-38c2-f8203c607073'::uuid])
ORDER BY b."Id";

-- Query #54749 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['59e0bffa-970b-9592-38c2-f8203c607073'::uuid])
ORDER BY b."Id";

-- Query #54750 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['59e0bffa-970b-9592-38c2-f8203c607073'::uuid])
ORDER BY b."Id";

-- Query #54751 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['59e0bffa-970b-9592-38c2-f8203c607073'::uuid])
ORDER BY b."Id";

-- Query #54752 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '59e0bffa-970b-9592-38c2-f8203c607073'::uuid
ORDER BY b."SortName";

-- Query #54753 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0501deac-922c-a7ff-0be2-551f0ab8e5aa'::uuid
ORDER BY b."SortName";

-- Query #54754 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['91c8474b-4027-f502-c7ac-a19b96634375'::uuid, 'a190e624-f009-d834-5245-fffe4da46b84'::uuid, '470ca82e-09df-e792-60e3-3f1bdd31d3a6'::uuid])
ORDER BY b."Id";

-- Query #54755 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['91c8474b-4027-f502-c7ac-a19b96634375'::uuid, 'a190e624-f009-d834-5245-fffe4da46b84'::uuid, '470ca82e-09df-e792-60e3-3f1bdd31d3a6'::uuid])
ORDER BY b."Id";

-- Query #54756 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['91c8474b-4027-f502-c7ac-a19b96634375'::uuid, 'a190e624-f009-d834-5245-fffe4da46b84'::uuid, '470ca82e-09df-e792-60e3-3f1bdd31d3a6'::uuid])
ORDER BY b."Id";

-- Query #54757 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['91c8474b-4027-f502-c7ac-a19b96634375'::uuid, 'a190e624-f009-d834-5245-fffe4da46b84'::uuid, '470ca82e-09df-e792-60e3-3f1bdd31d3a6'::uuid])
ORDER BY b."Id";

-- Query #54758 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['91c8474b-4027-f502-c7ac-a19b96634375'::uuid, 'a190e624-f009-d834-5245-fffe4da46b84'::uuid, '470ca82e-09df-e792-60e3-3f1bdd31d3a6'::uuid])
ORDER BY b."Id";

-- Query #54759 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '91c8474b-4027-f502-c7ac-a19b96634375'::uuid
ORDER BY b."SortName";

-- Query #54760 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a190e624-f009-d834-5245-fffe4da46b84'::uuid
ORDER BY b."SortName";

-- Query #54761 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '470ca82e-09df-e792-60e3-3f1bdd31d3a6'::uuid
ORDER BY b."SortName";

-- Query #54762 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c47805c-ee91-a809-a520-dd0b871934a8'::uuid
ORDER BY b."SortName";

-- Query #54763 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid])
ORDER BY b."Id";

-- Query #54764 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid])
ORDER BY b."Id";

-- Query #54765 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid])
ORDER BY b."Id";

-- Query #54766 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid])
ORDER BY b."Id";

-- Query #54767 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid])
ORDER BY b."Id";

-- Query #54768 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '590efa14-2b03-cf50-a366-95e5b7261966'::uuid
ORDER BY b."SortName";

-- Query #54769 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid
ORDER BY b."SortName";

-- Query #54770 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid
ORDER BY b."SortName";

-- Query #54771 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid
ORDER BY b."SortName";

-- Query #54772 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid
ORDER BY b."SortName";

-- Query #54773 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc296f76-2556-c951-a5a1-c6cd4766c051'::uuid, '4374cf76-19d2-7f91-7d6c-889e3ceebe28'::uuid, 'e4204561-1efb-7cf7-76e9-3680f327cffa'::uuid, '7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #54774 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['cc296f76-2556-c951-a5a1-c6cd4766c051'::uuid, '4374cf76-19d2-7f91-7d6c-889e3ceebe28'::uuid, 'e4204561-1efb-7cf7-76e9-3680f327cffa'::uuid, '7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #54775 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['cc296f76-2556-c951-a5a1-c6cd4766c051'::uuid, '4374cf76-19d2-7f91-7d6c-889e3ceebe28'::uuid, 'e4204561-1efb-7cf7-76e9-3680f327cffa'::uuid, '7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #54776 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cc296f76-2556-c951-a5a1-c6cd4766c051'::uuid, '4374cf76-19d2-7f91-7d6c-889e3ceebe28'::uuid, 'e4204561-1efb-7cf7-76e9-3680f327cffa'::uuid, '7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #54777 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['cc296f76-2556-c951-a5a1-c6cd4766c051'::uuid, '4374cf76-19d2-7f91-7d6c-889e3ceebe28'::uuid, 'e4204561-1efb-7cf7-76e9-3680f327cffa'::uuid, '7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #54778 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'baf8dc26-e427-79bd-8e0a-7a1f4e8c31cf'::uuid
ORDER BY b."SortName";

-- Query #54779 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['933f8997-4d19-e0b3-61eb-14ab52f60ee9'::uuid, 'fd13352b-58be-dfe2-89aa-099e12923a1f'::uuid, '0935f256-bb9a-bd1b-4661-c791257891b7'::uuid])
ORDER BY b."Id";

-- Query #54780 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['933f8997-4d19-e0b3-61eb-14ab52f60ee9'::uuid, 'fd13352b-58be-dfe2-89aa-099e12923a1f'::uuid, '0935f256-bb9a-bd1b-4661-c791257891b7'::uuid])
ORDER BY b."Id";

-- Query #54781 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['933f8997-4d19-e0b3-61eb-14ab52f60ee9'::uuid, 'fd13352b-58be-dfe2-89aa-099e12923a1f'::uuid, '0935f256-bb9a-bd1b-4661-c791257891b7'::uuid])
ORDER BY b."Id";

-- Query #54782 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['933f8997-4d19-e0b3-61eb-14ab52f60ee9'::uuid, 'fd13352b-58be-dfe2-89aa-099e12923a1f'::uuid, '0935f256-bb9a-bd1b-4661-c791257891b7'::uuid])
ORDER BY b."Id";

-- Query #54783 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['933f8997-4d19-e0b3-61eb-14ab52f60ee9'::uuid, 'fd13352b-58be-dfe2-89aa-099e12923a1f'::uuid, '0935f256-bb9a-bd1b-4661-c791257891b7'::uuid])
ORDER BY b."Id";

-- Query #54784 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '933f8997-4d19-e0b3-61eb-14ab52f60ee9'::uuid
ORDER BY b."SortName";

-- Query #54785 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b';

-- Query #54786 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fd13352b-58be-dfe2-89aa-099e12923a1f'::uuid
ORDER BY b."SortName";

-- Query #54787 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b';

-- Query #54788 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0935f256-bb9a-bd1b-4661-c791257891b7'::uuid
ORDER BY b."SortName";

-- Query #54789 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2fb28876-d5f3-3aa8-eb13-eaa61d107996'::uuid
ORDER BY b."SortName";

-- Query #54790 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a5740196-1ca2-d4bf-c88a-ad0ba19a1c77'::uuid, 'fb2bcea5-c4b9-f075-421d-3b0c448855a4'::uuid, '944e34bf-74d1-a5f0-b05a-9f7a259145a2'::uuid])
ORDER BY b."Id";

-- Query #54791 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['a5740196-1ca2-d4bf-c88a-ad0ba19a1c77'::uuid, 'fb2bcea5-c4b9-f075-421d-3b0c448855a4'::uuid, '944e34bf-74d1-a5f0-b05a-9f7a259145a2'::uuid])
ORDER BY b."Id";

-- Query #54792 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['a5740196-1ca2-d4bf-c88a-ad0ba19a1c77'::uuid, 'fb2bcea5-c4b9-f075-421d-3b0c448855a4'::uuid, '944e34bf-74d1-a5f0-b05a-9f7a259145a2'::uuid])
ORDER BY b."Id";

-- Query #54793 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a5740196-1ca2-d4bf-c88a-ad0ba19a1c77'::uuid, 'fb2bcea5-c4b9-f075-421d-3b0c448855a4'::uuid, '944e34bf-74d1-a5f0-b05a-9f7a259145a2'::uuid])
ORDER BY b."Id";

-- Query #54794 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['a5740196-1ca2-d4bf-c88a-ad0ba19a1c77'::uuid, 'fb2bcea5-c4b9-f075-421d-3b0c448855a4'::uuid, '944e34bf-74d1-a5f0-b05a-9f7a259145a2'::uuid])
ORDER BY b."Id";

-- Query #54795 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a5740196-1ca2-d4bf-c88a-ad0ba19a1c77'::uuid
ORDER BY b."SortName";

-- Query #54796 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fb2bcea5-c4b9-f075-421d-3b0c448855a4'::uuid
ORDER BY b."SortName";

-- Query #54797 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '944e34bf-74d1-a5f0-b05a-9f7a259145a2'::uuid
ORDER BY b."SortName";

-- Query #54798 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '867eaf01-aa76-9f13-451d-e4826049ca14'::uuid
ORDER BY b."SortName";

-- Query #54799 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['992b438e-613f-d604-cb00-0fe615d02589'::uuid, '1a7cbb10-1f19-c4d4-9d05-6885025c9562'::uuid, '30c48478-1699-cae8-42fd-05191ca2957a'::uuid])
ORDER BY b."Id";

-- Query #54800 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['992b438e-613f-d604-cb00-0fe615d02589'::uuid, '1a7cbb10-1f19-c4d4-9d05-6885025c9562'::uuid, '30c48478-1699-cae8-42fd-05191ca2957a'::uuid])
ORDER BY b."Id";

-- Query #54801 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['992b438e-613f-d604-cb00-0fe615d02589'::uuid, '1a7cbb10-1f19-c4d4-9d05-6885025c9562'::uuid, '30c48478-1699-cae8-42fd-05191ca2957a'::uuid])
ORDER BY b."Id";

-- Query #54802 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['992b438e-613f-d604-cb00-0fe615d02589'::uuid, '1a7cbb10-1f19-c4d4-9d05-6885025c9562'::uuid, '30c48478-1699-cae8-42fd-05191ca2957a'::uuid])
ORDER BY b."Id";

-- Query #54803 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['992b438e-613f-d604-cb00-0fe615d02589'::uuid, '1a7cbb10-1f19-c4d4-9d05-6885025c9562'::uuid, '30c48478-1699-cae8-42fd-05191ca2957a'::uuid])
ORDER BY b."Id";

-- Query #54804 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '992b438e-613f-d604-cb00-0fe615d02589'::uuid
ORDER BY b."SortName";

-- Query #54805 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1a7cbb10-1f19-c4d4-9d05-6885025c9562'::uuid
ORDER BY b."SortName";

-- Query #54806 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '30c48478-1699-cae8-42fd-05191ca2957a'::uuid
ORDER BY b."SortName";

-- Query #54807 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5e5583cd-c90d-447c-54c4-33245ce4b5ab'::uuid
ORDER BY b."SortName";

-- Query #54808 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '683a2352-0745-ef82-55c0-ed5df5444e04'::uuid
ORDER BY b."SortName";

-- Query #54809 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1b488a45-8fa0-0e9b-042d-b2c84d3ce3f1'::uuid
ORDER BY b."SortName";

-- Query #54810 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a397f424-37d3-03f5-d006-ebd8466caae2'::uuid
ORDER BY b."SortName";

-- Query #54811 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f1f081f6-9e40-4ef7-87fc-2bcd1d185c48'::uuid
ORDER BY b."SortName";

-- Query #54812 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5beb1ac0-6564-8a82-18f2-96af8efe0c0e'::uuid
ORDER BY b."SortName";

-- Query #54813 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4799b2d8-6c3e-2428-8b99-189121e8234b'::uuid
ORDER BY b."SortName";

-- Query #54814 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e1205ec4-55a4-639f-20ad-1f6571cd7b42'::uuid
ORDER BY b."SortName";

-- Query #54815 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6a69f7d6-6712-b127-bcee-c8050c269232'::uuid
ORDER BY b."SortName";

-- Query #54816 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['324e5042-4c90-b114-940e-217110c94eea'::uuid, '971ab962-dac5-f734-d2a9-1af500f498e1'::uuid, 'fccd5d90-691c-2b37-0c7a-32edee4311f5'::uuid, '758e50a0-e740-b909-a693-211164f303e4'::uuid, '537dfcc1-0898-3041-05ea-cb3c60f4893a'::uuid])
ORDER BY b."Id";

-- Query #54817 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['324e5042-4c90-b114-940e-217110c94eea'::uuid, '971ab962-dac5-f734-d2a9-1af500f498e1'::uuid, 'fccd5d90-691c-2b37-0c7a-32edee4311f5'::uuid, '758e50a0-e740-b909-a693-211164f303e4'::uuid, '537dfcc1-0898-3041-05ea-cb3c60f4893a'::uuid])
ORDER BY b."Id";

-- Query #54818 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['324e5042-4c90-b114-940e-217110c94eea'::uuid, '971ab962-dac5-f734-d2a9-1af500f498e1'::uuid, 'fccd5d90-691c-2b37-0c7a-32edee4311f5'::uuid, '758e50a0-e740-b909-a693-211164f303e4'::uuid, '537dfcc1-0898-3041-05ea-cb3c60f4893a'::uuid])
ORDER BY b."Id";

-- Query #54819 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['324e5042-4c90-b114-940e-217110c94eea'::uuid, '971ab962-dac5-f734-d2a9-1af500f498e1'::uuid, 'fccd5d90-691c-2b37-0c7a-32edee4311f5'::uuid, '758e50a0-e740-b909-a693-211164f303e4'::uuid, '537dfcc1-0898-3041-05ea-cb3c60f4893a'::uuid])
ORDER BY b."Id";

-- Query #54820 | logged_duration_ms=2 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['324e5042-4c90-b114-940e-217110c94eea'::uuid, '971ab962-dac5-f734-d2a9-1af500f498e1'::uuid, 'fccd5d90-691c-2b37-0c7a-32edee4311f5'::uuid, '758e50a0-e740-b909-a693-211164f303e4'::uuid, '537dfcc1-0898-3041-05ea-cb3c60f4893a'::uuid])
ORDER BY b."Id";

-- Query #54821 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0046d334-c4c0-d377-9a5b-4988014df739'::uuid
ORDER BY b."SortName";

-- Query #54822 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['59af6e5a-7ec8-6d8c-ed79-caa22411dbb3'::uuid, 'd981ad27-7575-0f41-ed5f-c1a5ecab057a'::uuid, 'bbba158f-3e37-ae0d-5677-edb199315a99'::uuid, '8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #54823 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['59af6e5a-7ec8-6d8c-ed79-caa22411dbb3'::uuid, 'd981ad27-7575-0f41-ed5f-c1a5ecab057a'::uuid, 'bbba158f-3e37-ae0d-5677-edb199315a99'::uuid, '8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #54824 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['59af6e5a-7ec8-6d8c-ed79-caa22411dbb3'::uuid, 'd981ad27-7575-0f41-ed5f-c1a5ecab057a'::uuid, 'bbba158f-3e37-ae0d-5677-edb199315a99'::uuid, '8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #54825 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['59af6e5a-7ec8-6d8c-ed79-caa22411dbb3'::uuid, 'd981ad27-7575-0f41-ed5f-c1a5ecab057a'::uuid, 'bbba158f-3e37-ae0d-5677-edb199315a99'::uuid, '8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #54826 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['59af6e5a-7ec8-6d8c-ed79-caa22411dbb3'::uuid, 'd981ad27-7575-0f41-ed5f-c1a5ecab057a'::uuid, 'bbba158f-3e37-ae0d-5677-edb199315a99'::uuid, '8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #54827 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5fa67db-3d54-95bb-1b18-16427f3d1b40'::uuid
ORDER BY b."SortName";

-- Query #54828 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['def9017d-ab44-6182-78f5-3402b0114c5a'::uuid])
ORDER BY b."Id";

-- Query #54829 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['def9017d-ab44-6182-78f5-3402b0114c5a'::uuid])
ORDER BY b."Id";

-- Query #54830 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['def9017d-ab44-6182-78f5-3402b0114c5a'::uuid])
ORDER BY b."Id";

-- Query #54831 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['def9017d-ab44-6182-78f5-3402b0114c5a'::uuid])
ORDER BY b."Id";

-- Query #54832 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['def9017d-ab44-6182-78f5-3402b0114c5a'::uuid])
ORDER BY b."Id";

-- Query #54833 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'def9017d-ab44-6182-78f5-3402b0114c5a'::uuid
ORDER BY b."SortName";

-- Query #54834 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1536970f-eaa6-1385-fe01-443949a26a22'::uuid
ORDER BY b."SortName";

-- Query #54835 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90f13064-7065-a249-bfd5-5394a18cd7fb'::uuid, '39ecd950-e043-31d2-baa9-26b653c1a9a5'::uuid])
ORDER BY b."Id";

-- Query #54836 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['90f13064-7065-a249-bfd5-5394a18cd7fb'::uuid, '39ecd950-e043-31d2-baa9-26b653c1a9a5'::uuid])
ORDER BY b."Id";

-- Query #54837 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['90f13064-7065-a249-bfd5-5394a18cd7fb'::uuid, '39ecd950-e043-31d2-baa9-26b653c1a9a5'::uuid])
ORDER BY b."Id";

-- Query #54838 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['90f13064-7065-a249-bfd5-5394a18cd7fb'::uuid, '39ecd950-e043-31d2-baa9-26b653c1a9a5'::uuid])
ORDER BY b."Id";

-- Query #54839 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['90f13064-7065-a249-bfd5-5394a18cd7fb'::uuid, '39ecd950-e043-31d2-baa9-26b653c1a9a5'::uuid])
ORDER BY b."Id";

-- Query #54840 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '90f13064-7065-a249-bfd5-5394a18cd7fb'::uuid
ORDER BY b."SortName";

-- Query #54841 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '39ecd950-e043-31d2-baa9-26b653c1a9a5'::uuid
ORDER BY b."SortName";

-- Query #54842 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5158d33d-4dda-3d04-bb44-0892a1dc0f04'::uuid
ORDER BY b."SortName";

-- Query #54843 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid])
ORDER BY b."Id";

-- Query #54844 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid])
ORDER BY b."Id";

-- Query #54845 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid])
ORDER BY b."Id";

-- Query #54846 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid])
ORDER BY b."Id";

-- Query #54847 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid])
ORDER BY b."Id";

-- Query #54848 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid
ORDER BY b."SortName";

-- Query #54849 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid
ORDER BY b."SortName";

-- Query #54850 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid
ORDER BY b."SortName";

-- Query #54851 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid
ORDER BY b."SortName";

-- Query #54852 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ebbc5de4-7daf-ccc2-66c7-3a17bcef16e2'::uuid
ORDER BY b."SortName";

-- Query #54853 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid])
ORDER BY b."Id";

-- Query #54854 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid])
ORDER BY b."Id";

-- Query #54855 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid])
ORDER BY b."Id";

-- Query #54856 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid])
ORDER BY b."Id";

-- Query #54857 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid])
ORDER BY b."Id";

-- Query #54858 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid
ORDER BY b."SortName";

-- Query #54859 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid
ORDER BY b."SortName";

-- Query #54860 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid
ORDER BY b."SortName";

-- Query #54861 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid
ORDER BY b."SortName";

-- Query #54862 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1cbf511-7054-c98c-b9bb-3e19279992f4'::uuid
ORDER BY b."SortName";

-- Query #54863 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae'::uuid])
ORDER BY b."Id";

-- Query #54864 | logged_duration_ms=2 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae'::uuid])
ORDER BY b."Id";

-- Query #54865 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae'::uuid])
ORDER BY b."Id";

-- Query #54866 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae'::uuid])
ORDER BY b."Id";

-- Query #54867 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae'::uuid])
ORDER BY b."Id";

-- Query #54868 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae'::uuid
ORDER BY b."SortName";

-- Query #54869 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #54870 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #54871 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4817c64700c062f4ee2810e5753172ea';

-- Query #54872 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4ff3db3d735044c18e2668ea7a322695';

-- Query #54873 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #54874 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #54875 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49';

-- Query #54876 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #54877 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #54878 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #54879 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #54880 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #54881 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'fbf0d8d0e2d34ea37d0b7352569ffbc1';

-- Query #54882 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '917b95173af31eefe3a4418161d672f7';

-- Query #54883 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '9856c203b77aa89991b6d23a9b21c519';

-- Query #54884 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #54885 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #54886 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '425cfdd08ea5677ef18d87571eee0eb7';

-- Query #54887 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #54888 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #54889 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '7f12af9ab2adba21082a763ba1f7f59a';

-- Query #54890 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #54891 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #54892 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3';

-- Query #54893 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #54894 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #54895 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0187d0b13a725f05f134368ea10fcd46';

-- Query #54896 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #54897 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #54898 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '922734452f5141b377a24b86a11d9f34';

-- Query #54899 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #54900 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #54901 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f7572de2e6c48aa2411535e2bebb56de';

-- Query #54902 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f88f563-e9ed-5d68-8ce8-527a2ba38669'::uuid])
ORDER BY b."Id";

-- Query #54903 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5f88f563-e9ed-5d68-8ce8-527a2ba38669'::uuid])
ORDER BY b."Id";

-- Query #54904 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f8d4661bb5c5b5477a50a67fe5255cad';

-- Query #54905 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #54906 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #54907 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0dfe5e318778b4de16a02a1d3cb958fe';

-- Query #54908 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #54909 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #54910 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #54911 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #54912 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #54913 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b7c5b5434e33a5dee49887f00b152aaf';

-- Query #54914 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49';

-- Query #54915 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #54916 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #54917 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49';

-- Query #54918 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."ParentIndexNumber", b."IndexNumber";

-- Query #54919 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cfc6429-50c5-6adf-9893-2271e371923a'::uuid])
ORDER BY b."Id";

-- Query #54920 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9cfc6429-50c5-6adf-9893-2271e371923a'::uuid])
ORDER BY b."Id";

-- Query #54921 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #54922 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #54923 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #54924 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54925 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid
ORDER BY m."StreamIndex";

-- Query #54926 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #54927 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #54928 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid
ORDER BY m."StreamIndex";

-- Query #54929 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #54930 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #54931 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54932 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54933 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #54934 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #54935 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '7f12af9ab2adba21082a763ba1f7f59a';

-- Query #54936 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '400582efb5d0d45a44fa21e89f536db9';

-- Query #54937 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #54938 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #54939 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #54940 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0aab5326f1532121bbe081c96de0ad0a';

-- Query #54941 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '34afc3a192a204adc5368b8d1ab5c539';

-- Query #54942 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'fafe5debefb0ee24db812030e02ccf01';

-- Query #54943 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f85658146fcdc1e42e75520ee7d965d9';

-- Query #54944 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'db7b667e37171ab80e494e3176e7ad24';

-- Query #54945 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #54946 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #54947 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #54948 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '491139d8a2b9e086aaafe8acf5058be5';

-- Query #54949 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '87b63e72c2d01cf3b5a38185ab03f80b';

-- Query #54950 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'cca28369125c5b2a60db4f22dabd8d1e';

-- Query #54951 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #54952 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #54953 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3';

-- Query #54954 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a5f8209a19f94fe6d61b67d7685e62ee';

-- Query #54955 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a60fcbc1dfebea4d96f2447ade74e5b5';

-- Query #54956 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54957 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b558068356d778f613643c71a93d626b';

-- Query #54958 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '46d980f6f723a7758e8eb8c665d9bf5f';

-- Query #54959 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'ab4f95c8ce0d5e95364c705413481c82';

-- Query #54960 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0caa83dc145a77ffd1594bf6e7d6a6de';

-- Query #54961 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'd3041ca2c32f63f2382b8893a93e0814';

-- Query #54962 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54963 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54964 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54965 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54966 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54967 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54968 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54969 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54970 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54971 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54972 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54973 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54974 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54975 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54976 | logged_duration_ms=11 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:34:27.1658239Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #54977 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cfc6429-50c5-6adf-9893-2271e371923a'::uuid])
ORDER BY b."Id";

-- Query #54978 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9cfc6429-50c5-6adf-9893-2271e371923a'::uuid])
ORDER BY b."Id";

-- Query #54979 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #54980 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #54981 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #54982 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid
ORDER BY m."StreamIndex";

-- Query #54983 | logged_duration_ms=2 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #54984 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #54985 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid
ORDER BY m."StreamIndex";

-- Query #54986 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #54987 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #54988 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54989 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #54990 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid
ORDER BY m."StreamIndex";

-- Query #54991 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #54992 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #54993 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid
ORDER BY m."StreamIndex";

-- Query #54994 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #54995 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #54996 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ec5e6256-b0ad-bdc6-595d-6d1ea64d58d2'::uuid
ORDER BY m."StreamIndex";

-- Query #54997 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ec5e6256-b0ad-bdc6-595d-6d1ea64d58d2'::uuid;

-- Query #54998 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'ec5e6256-b0ad-bdc6-595d-6d1ea64d58d2'::uuid;

-- Query #54999 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ec5e6256-b0ad-bdc6-595d-6d1ea64d58d2'::uuid
ORDER BY m."StreamIndex";

-- Query #55000 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ec5e6256-b0ad-bdc6-595d-6d1ea64d58d2'::uuid;

-- Query #55001 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'ec5e6256-b0ad-bdc6-595d-6d1ea64d58d2'::uuid;

-- Query #55002 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5abcaca5-076f-0c3f-0832-71bbf6898bc4'::uuid
ORDER BY m."StreamIndex";

-- Query #55003 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5abcaca5-076f-0c3f-0832-71bbf6898bc4'::uuid;

-- Query #55004 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5abcaca5-076f-0c3f-0832-71bbf6898bc4'::uuid;

-- Query #55005 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5abcaca5-076f-0c3f-0832-71bbf6898bc4'::uuid
ORDER BY m."StreamIndex";

-- Query #55006 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5abcaca5-076f-0c3f-0832-71bbf6898bc4'::uuid;

-- Query #55007 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5abcaca5-076f-0c3f-0832-71bbf6898bc4'::uuid;

-- Query #55008 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7c29d31a-eb23-ab6d-81c0-83b3a1fef114'::uuid
ORDER BY m."StreamIndex";

-- Query #55009 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7c29d31a-eb23-ab6d-81c0-83b3a1fef114'::uuid;

-- Query #55010 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '7c29d31a-eb23-ab6d-81c0-83b3a1fef114'::uuid;

-- Query #55011 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7c29d31a-eb23-ab6d-81c0-83b3a1fef114'::uuid
ORDER BY m."StreamIndex";

-- Query #55012 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7c29d31a-eb23-ab6d-81c0-83b3a1fef114'::uuid;

-- Query #55013 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '7c29d31a-eb23-ab6d-81c0-83b3a1fef114'::uuid;

-- Query #55014 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #55015 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2c046b41-bf27-92c3-7bbe-a3a0a4255165'::uuid
ORDER BY m."StreamIndex";

-- Query #55016 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2c046b41-bf27-92c3-7bbe-a3a0a4255165'::uuid;

-- Query #55017 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '2c046b41-bf27-92c3-7bbe-a3a0a4255165'::uuid;

-- Query #55018 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2c046b41-bf27-92c3-7bbe-a3a0a4255165'::uuid
ORDER BY m."StreamIndex";

-- Query #55019 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2c046b41-bf27-92c3-7bbe-a3a0a4255165'::uuid;

-- Query #55020 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '2c046b41-bf27-92c3-7bbe-a3a0a4255165'::uuid;

-- Query #55021 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '41fcce93-dbe8-5e36-f716-c1ca001602c2'::uuid
ORDER BY m."StreamIndex";

-- Query #55022 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '41fcce93-dbe8-5e36-f716-c1ca001602c2'::uuid;

-- Query #55023 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '41fcce93-dbe8-5e36-f716-c1ca001602c2'::uuid;

-- Query #55024 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '41fcce93-dbe8-5e36-f716-c1ca001602c2'::uuid
ORDER BY m."StreamIndex";

-- Query #55025 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '41fcce93-dbe8-5e36-f716-c1ca001602c2'::uuid;

-- Query #55026 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '41fcce93-dbe8-5e36-f716-c1ca001602c2'::uuid;

-- Query #55027 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '919dba94-373c-af6f-937b-6a0e0f26c8e9'::uuid
ORDER BY m."StreamIndex";

-- Query #55028 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '919dba94-373c-af6f-937b-6a0e0f26c8e9'::uuid;

-- Query #55029 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '919dba94-373c-af6f-937b-6a0e0f26c8e9'::uuid;

-- Query #55030 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '919dba94-373c-af6f-937b-6a0e0f26c8e9'::uuid
ORDER BY m."StreamIndex";

-- Query #55031 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '919dba94-373c-af6f-937b-6a0e0f26c8e9'::uuid;

-- Query #55032 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '919dba94-373c-af6f-937b-6a0e0f26c8e9'::uuid;

-- Query #55033 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'b32d4cfc-2669-3f52-0c4a-c37bf97589c6'::uuid
ORDER BY m."StreamIndex";

-- Query #55034 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'b32d4cfc-2669-3f52-0c4a-c37bf97589c6'::uuid;

-- Query #55035 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'b32d4cfc-2669-3f52-0c4a-c37bf97589c6'::uuid;

-- Query #55036 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'b32d4cfc-2669-3f52-0c4a-c37bf97589c6'::uuid
ORDER BY m."StreamIndex";

-- Query #55037 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'b32d4cfc-2669-3f52-0c4a-c37bf97589c6'::uuid;

-- Query #55038 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'b32d4cfc-2669-3f52-0c4a-c37bf97589c6'::uuid;

-- Query #55039 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7a09e0b1-b589-1d0d-fd2f-401531a63694'::uuid
ORDER BY m."StreamIndex";

-- Query #55040 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7a09e0b1-b589-1d0d-fd2f-401531a63694'::uuid;

-- Query #55041 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '7a09e0b1-b589-1d0d-fd2f-401531a63694'::uuid;

-- Query #55042 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7a09e0b1-b589-1d0d-fd2f-401531a63694'::uuid
ORDER BY m."StreamIndex";

-- Query #55043 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7a09e0b1-b589-1d0d-fd2f-401531a63694'::uuid;

-- Query #55044 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '7a09e0b1-b589-1d0d-fd2f-401531a63694'::uuid;

-- Query #55045 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5a4ebe41-48a7-3b82-c382-82842780c18e'::uuid
ORDER BY m."StreamIndex";

-- Query #55046 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5a4ebe41-48a7-3b82-c382-82842780c18e'::uuid;

-- Query #55047 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5a4ebe41-48a7-3b82-c382-82842780c18e'::uuid;

-- Query #55048 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5a4ebe41-48a7-3b82-c382-82842780c18e'::uuid
ORDER BY m."StreamIndex";

-- Query #55049 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5a4ebe41-48a7-3b82-c382-82842780c18e'::uuid;

-- Query #55050 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5a4ebe41-48a7-3b82-c382-82842780c18e'::uuid;

-- Query #55051 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'dcd47385-a018-6642-6d9e-1f2a180f66b8'::uuid
ORDER BY m."StreamIndex";

-- Query #55052 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'dcd47385-a018-6642-6d9e-1f2a180f66b8'::uuid;

-- Query #55053 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'dcd47385-a018-6642-6d9e-1f2a180f66b8'::uuid;

-- Query #55054 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'dcd47385-a018-6642-6d9e-1f2a180f66b8'::uuid
ORDER BY m."StreamIndex";

-- Query #55055 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'dcd47385-a018-6642-6d9e-1f2a180f66b8'::uuid;

-- Query #55056 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'dcd47385-a018-6642-6d9e-1f2a180f66b8'::uuid;

-- Query #55057 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2a2aa9c0-3437-3239-0bcd-06b3776f39d1'::uuid
ORDER BY m."StreamIndex";

-- Query #55058 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2a2aa9c0-3437-3239-0bcd-06b3776f39d1'::uuid;

-- Query #55059 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '2a2aa9c0-3437-3239-0bcd-06b3776f39d1'::uuid;

-- Query #55060 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2a2aa9c0-3437-3239-0bcd-06b3776f39d1'::uuid
ORDER BY m."StreamIndex";

-- Query #55061 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2a2aa9c0-3437-3239-0bcd-06b3776f39d1'::uuid;

-- Query #55062 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '2a2aa9c0-3437-3239-0bcd-06b3776f39d1'::uuid;

-- Query #55063 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9e58f13-4d38-26b0-9375-1551c1480c50'::uuid
ORDER BY m."StreamIndex";

-- Query #55064 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9e58f13-4d38-26b0-9375-1551c1480c50'::uuid;

-- Query #55065 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'e9e58f13-4d38-26b0-9375-1551c1480c50'::uuid;

-- Query #55066 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9e58f13-4d38-26b0-9375-1551c1480c50'::uuid
ORDER BY m."StreamIndex";

-- Query #55067 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9e58f13-4d38-26b0-9375-1551c1480c50'::uuid;

-- Query #55068 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'e9e58f13-4d38-26b0-9375-1551c1480c50'::uuid;

-- Query #55069 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'cff716c9-ba54-0777-7cf2-12c2417a4614'::uuid
ORDER BY m."StreamIndex";

-- Query #55070 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'cff716c9-ba54-0777-7cf2-12c2417a4614'::uuid;

-- Query #55071 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #55072 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'cff716c9-ba54-0777-7cf2-12c2417a4614'::uuid;

-- Query #55073 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'cff716c9-ba54-0777-7cf2-12c2417a4614'::uuid
ORDER BY m."StreamIndex";

-- Query #55074 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'cff716c9-ba54-0777-7cf2-12c2417a4614'::uuid;

-- Query #55075 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'cff716c9-ba54-0777-7cf2-12c2417a4614'::uuid;

-- Query #55076 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '069f31d0-5097-263f-cc46-f4b9c196c192'::uuid
ORDER BY m."StreamIndex";

-- Query #55077 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '069f31d0-5097-263f-cc46-f4b9c196c192'::uuid;

-- Query #55078 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '069f31d0-5097-263f-cc46-f4b9c196c192'::uuid;

-- Query #55079 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '069f31d0-5097-263f-cc46-f4b9c196c192'::uuid
ORDER BY m."StreamIndex";

-- Query #55080 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '069f31d0-5097-263f-cc46-f4b9c196c192'::uuid;

-- Query #55081 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '069f31d0-5097-263f-cc46-f4b9c196c192'::uuid;

-- Query #55082 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aef30bbd-8ec3-4988-17f6-3aabdbc6d8af'::uuid
ORDER BY m."StreamIndex";

-- Query #55083 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aef30bbd-8ec3-4988-17f6-3aabdbc6d8af'::uuid;

-- Query #55084 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aef30bbd-8ec3-4988-17f6-3aabdbc6d8af'::uuid;

-- Query #55085 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aef30bbd-8ec3-4988-17f6-3aabdbc6d8af'::uuid
ORDER BY m."StreamIndex";

-- Query #55086 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aef30bbd-8ec3-4988-17f6-3aabdbc6d8af'::uuid;

-- Query #55087 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aef30bbd-8ec3-4988-17f6-3aabdbc6d8af'::uuid;

-- Query #55088 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a1427fb0-8357-8682-5124-eb6c4822b439'::uuid
ORDER BY m."StreamIndex";

-- Query #55089 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a1427fb0-8357-8682-5124-eb6c4822b439'::uuid;

-- Query #55090 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'a1427fb0-8357-8682-5124-eb6c4822b439'::uuid;

-- Query #55091 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a1427fb0-8357-8682-5124-eb6c4822b439'::uuid
ORDER BY m."StreamIndex";

-- Query #55092 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a1427fb0-8357-8682-5124-eb6c4822b439'::uuid;

-- Query #55093 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'a1427fb0-8357-8682-5124-eb6c4822b439'::uuid;

-- Query #55094 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e4c8e450-b89f-9604-2ed8-d33d2ef4ec36'::uuid
ORDER BY m."StreamIndex";

-- Query #55095 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e4c8e450-b89f-9604-2ed8-d33d2ef4ec36'::uuid;

-- Query #55096 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'e4c8e450-b89f-9604-2ed8-d33d2ef4ec36'::uuid;

-- Query #55097 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e4c8e450-b89f-9604-2ed8-d33d2ef4ec36'::uuid
ORDER BY m."StreamIndex";

-- Query #55098 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e4c8e450-b89f-9604-2ed8-d33d2ef4ec36'::uuid;

-- Query #55099 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'e4c8e450-b89f-9604-2ed8-d33d2ef4ec36'::uuid;

-- Query #55100 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '494b4dbe-a385-5246-df79-699e34a69da8'::uuid
ORDER BY m."StreamIndex";

-- Query #55101 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '494b4dbe-a385-5246-df79-699e34a69da8'::uuid;

-- Query #55102 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '494b4dbe-a385-5246-df79-699e34a69da8'::uuid;

-- Query #55103 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '494b4dbe-a385-5246-df79-699e34a69da8'::uuid
ORDER BY m."StreamIndex";

-- Query #55104 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '494b4dbe-a385-5246-df79-699e34a69da8'::uuid;

-- Query #55105 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '494b4dbe-a385-5246-df79-699e34a69da8'::uuid;

-- Query #55106 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a52940f6-69a3-646b-c9a5-bcceb9c3fdc0'::uuid
ORDER BY m."StreamIndex";

-- Query #55107 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a52940f6-69a3-646b-c9a5-bcceb9c3fdc0'::uuid;

-- Query #55108 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'a52940f6-69a3-646b-c9a5-bcceb9c3fdc0'::uuid;

-- Query #55109 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a52940f6-69a3-646b-c9a5-bcceb9c3fdc0'::uuid
ORDER BY m."StreamIndex";

-- Query #55110 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a52940f6-69a3-646b-c9a5-bcceb9c3fdc0'::uuid;

-- Query #55111 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'a52940f6-69a3-646b-c9a5-bcceb9c3fdc0'::uuid;

-- Query #55112 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '68f6d7ce-b32c-1f6a-1931-223dfba874f6'::uuid
ORDER BY m."StreamIndex";

-- Query #55113 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '68f6d7ce-b32c-1f6a-1931-223dfba874f6'::uuid;

-- Query #55114 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '68f6d7ce-b32c-1f6a-1931-223dfba874f6'::uuid;

-- Query #55115 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '68f6d7ce-b32c-1f6a-1931-223dfba874f6'::uuid
ORDER BY m."StreamIndex";

-- Query #55116 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '68f6d7ce-b32c-1f6a-1931-223dfba874f6'::uuid;

-- Query #55117 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '68f6d7ce-b32c-1f6a-1931-223dfba874f6'::uuid;

-- Query #55118 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'b1225313-c7b9-6a17-2792-5ce38cb9941b'::uuid
ORDER BY m."StreamIndex";

-- Query #55119 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'b1225313-c7b9-6a17-2792-5ce38cb9941b'::uuid;

-- Query #55120 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'b1225313-c7b9-6a17-2792-5ce38cb9941b'::uuid;

-- Query #55121 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'b1225313-c7b9-6a17-2792-5ce38cb9941b'::uuid
ORDER BY m."StreamIndex";

-- Query #55122 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'b1225313-c7b9-6a17-2792-5ce38cb9941b'::uuid;

-- Query #55123 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'b1225313-c7b9-6a17-2792-5ce38cb9941b'::uuid;

-- Query #55124 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '9f5cdcbf-d5ad-537d-8a56-64047c99d480'::uuid
ORDER BY m."StreamIndex";

-- Query #55125 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '9f5cdcbf-d5ad-537d-8a56-64047c99d480'::uuid;

-- Query #55126 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '9f5cdcbf-d5ad-537d-8a56-64047c99d480'::uuid;

-- Query #55127 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '9f5cdcbf-d5ad-537d-8a56-64047c99d480'::uuid
ORDER BY m."StreamIndex";

-- Query #55128 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '9f5cdcbf-d5ad-537d-8a56-64047c99d480'::uuid;

-- Query #55129 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '9f5cdcbf-d5ad-537d-8a56-64047c99d480'::uuid;

-- Query #55130 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f36b1259-0015-cc4d-2f01-a4e737304fa6'::uuid
ORDER BY m."StreamIndex";

-- Query #55131 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f36b1259-0015-cc4d-2f01-a4e737304fa6'::uuid;

-- Query #55132 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f36b1259-0015-cc4d-2f01-a4e737304fa6'::uuid;

-- Query #55133 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f36b1259-0015-cc4d-2f01-a4e737304fa6'::uuid
ORDER BY m."StreamIndex";

-- Query #55134 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f36b1259-0015-cc4d-2f01-a4e737304fa6'::uuid;

-- Query #55135 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f36b1259-0015-cc4d-2f01-a4e737304fa6'::uuid;

-- Query #55136 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '92033a98-e8f5-a4c7-09f8-727ac96453bc'::uuid
ORDER BY m."StreamIndex";

-- Query #55137 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '92033a98-e8f5-a4c7-09f8-727ac96453bc'::uuid;

-- Query #55138 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '92033a98-e8f5-a4c7-09f8-727ac96453bc'::uuid;

-- Query #55139 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '92033a98-e8f5-a4c7-09f8-727ac96453bc'::uuid
ORDER BY m."StreamIndex";

-- Query #55140 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '92033a98-e8f5-a4c7-09f8-727ac96453bc'::uuid;

-- Query #55141 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '92033a98-e8f5-a4c7-09f8-727ac96453bc'::uuid;

-- Query #55142 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #55143 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #55144 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid
ORDER BY m."StreamIndex";

-- Query #55145 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55146 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid
ORDER BY m."StreamIndex";

-- Query #55147 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55148 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid
ORDER BY m."StreamIndex";

-- Query #55149 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55150 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55151 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid
ORDER BY m."StreamIndex";

-- Query #55152 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55153 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55154 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55155 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #55156 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #55157 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #55158 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #55159 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #55160 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55161 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #55162 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #55163 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55164 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55165 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55166 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55167 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55168 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55169 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55170 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55171 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55172 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55173 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55174 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55175 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55176 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55177 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55178 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55179 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55180 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55181 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55182 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55183 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55184 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55185 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55186 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55187 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55188 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55189 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55190 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55191 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55192 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55193 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55194 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55195 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55196 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55197 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55198 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55199 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55200 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55201 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55202 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55203 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55204 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55205 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55206 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55207 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55208 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55209 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55210 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55211 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55212 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55213 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55214 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55215 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55216 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55217 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55218 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55219 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55220 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55221 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55222 | logged_duration_ms=25 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:37:29.2647013Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #55223 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55224 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55225 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55226 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55227 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55228 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55229 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55230 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55231 | logged_duration_ms=22 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:37:52.1964433Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #55232 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55233 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55234 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55235 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55236 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55237 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55238 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55239 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55240 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55241 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55242 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55243 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55244 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55245 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55246 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55247 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55248 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55249 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55250 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55251 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55252 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55253 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55254 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55255 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55256 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55257 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55258 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55259 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55260 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55261 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55262 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55263 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55264 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55265 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55266 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55267 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55268 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55269 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55270 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55271 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55272 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55273 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55274 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55275 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55276 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55277 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55278 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55279 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55280 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55281 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55282 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55283 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55284 | logged_duration_ms=25 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:40:29.2955004Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #55285 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55286 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55287 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55288 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55289 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55290 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55291 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55292 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55293 | logged_duration_ms=31 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:40:52.2130783Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #55294 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55295 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55296 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55297 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55298 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55299 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55300 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55301 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55302 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55303 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55304 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55305 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55306 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55307 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55308 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55309 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55310 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55311 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55312 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55313 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55314 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55315 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55316 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55317 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55318 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55319 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55320 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55321 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55322 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55323 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55324 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55325 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55326 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55327 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55328 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55329 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55330 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55331 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55332 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55333 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55334 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55335 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55336 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55337 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55338 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55339 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55340 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55341 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55342 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55343 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55344 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55345 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55346 | logged_duration_ms=11 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:43:29.3522289Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #55347 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55348 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55349 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55350 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55351 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55352 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55353 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55354 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55355 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55356 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55357 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55358 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55359 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55360 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55361 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55362 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55363 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55364 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55365 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55366 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55367 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55368 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55369 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55370 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55371 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55372 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55373 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55374 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55375 | logged_duration_ms=12 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:44:52.2003821Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #55376 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55377 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55378 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55379 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55380 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55381 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55382 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55383 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55384 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55385 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55386 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55387 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55388 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55389 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55390 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55391 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55392 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55393 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55394 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55395 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55396 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55397 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55398 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55399 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55400 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55401 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55402 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55403 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55404 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55405 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55406 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55407 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55408 | logged_duration_ms=23 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:46:29.3791403Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #55409 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55410 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55411 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55412 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55413 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55414 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55415 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55416 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55417 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55418 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55419 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55420 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55421 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55422 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55423 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55424 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55425 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55426 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55427 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55428 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55429 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55430 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55431 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55432 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55433 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55434 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55435 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55436 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55437 | logged_duration_ms=11 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:47:52.2053445Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #55438 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55439 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55440 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55441 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55442 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55443 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55444 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55445 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55446 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55447 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55448 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55449 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55450 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55451 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55452 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55453 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55454 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55455 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55456 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55457 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55458 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55459 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55460 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55461 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55462 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55463 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55464 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55465 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55466 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55467 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55468 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55469 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55470 | logged_duration_ms=6 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:49:29.4674772Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #55471 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55472 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55473 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55474 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55475 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55476 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55477 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55478 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55479 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55480 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55481 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55482 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55483 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55484 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55485 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55486 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55487 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55488 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55489 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55490 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55491 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55492 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55493 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55494 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55495 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55496 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55497 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55498 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55499 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55500 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55501 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55502 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55503 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55504 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55505 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55506 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55507 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55508 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55509 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55510 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55511 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55512 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55513 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55514 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55515 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55516 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55517 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55518 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55519 | logged_duration_ms=24 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:51:52.1917490Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #55520 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55521 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55522 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55523 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55524 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55525 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55526 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55527 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55528 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55529 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55530 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55531 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55532 | logged_duration_ms=9 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:52:29.4990792Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #55533 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55534 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55535 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55536 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55537 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55538 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55539 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55540 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55541 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55542 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55543 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55544 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55545 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55546 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55547 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55548 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55549 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55550 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55551 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55552 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55553 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55554 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55555 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55556 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55557 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55558 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55559 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55560 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55561 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55562 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55563 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55564 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55565 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55566 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55567 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55568 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55569 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55570 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55571 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55572 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55573 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55574 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55575 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55576 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55577 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55578 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55579 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55580 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55581 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55582 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55583 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55584 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55585 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55586 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55587 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55588 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55589 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55590 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55591 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55592 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55593 | logged_duration_ms=25 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:55:29.5331773Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #55594 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55595 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55596 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55597 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55598 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55599 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55600 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55601 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55602 | logged_duration_ms=7 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:55:52.2002855Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #55603 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55604 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55605 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55606 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55607 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55608 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55609 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55610 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55611 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55612 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55613 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55614 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55615 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55616 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55617 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55618 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55619 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55620 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55621 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55622 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55623 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55624 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55625 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55626 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55627 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55628 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55629 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55630 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55631 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55632 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55633 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55634 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55635 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55636 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55637 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55638 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55639 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55640 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55641 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55642 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55643 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55644 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55645 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55646 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55647 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55648 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55649 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55650 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55651 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55652 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55653 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55654 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55655 | logged_duration_ms=31 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T00:58:29.5487634Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #55656 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55657 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55658 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55659 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55660 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55661 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55662 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55663 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55664 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55665 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55666 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55667 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55668 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55669 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55670 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55671 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55672 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55673 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55674 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55675 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55676 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55677 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55678 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55679 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55680 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55681 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55682 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55683 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55684 | logged_duration_ms=13 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T00:59:52.1921375Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #55685 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55686 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55687 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55688 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55689 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55690 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55691 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55692 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55693 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55694 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55695 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55696 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55697 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55698 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55699 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55700 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55701 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55702 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55703 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55704 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55705 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55706 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55707 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55708 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55709 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55710 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55711 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55712 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55713 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55714 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55715 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55716 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55717 | logged_duration_ms=21 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:01:29.5965099Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #55718 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55719 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55720 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55721 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55722 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55723 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55724 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55725 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55726 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55727 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55728 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55729 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55730 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55731 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55732 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55733 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55734 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55735 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55736 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55737 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55738 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55739 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55740 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55741 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55742 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55743 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55744 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55745 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55746 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55747 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55748 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55749 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55750 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55751 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55752 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55753 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55754 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55755 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55756 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55757 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55758 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55759 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55760 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55761 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55762 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55763 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55764 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55765 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55766 | logged_duration_ms=14 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:03:52.1960289Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #55767 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55768 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55769 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55770 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55771 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55772 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55773 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55774 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55775 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55776 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55777 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55778 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55779 | logged_duration_ms=21 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:04:29.6491381Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #55780 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55781 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55782 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55783 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55784 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55785 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55786 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55787 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55788 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55789 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55790 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55791 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55792 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55793 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55794 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55795 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55796 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55797 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55798 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55799 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55800 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55801 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55802 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55803 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55804 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55805 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55806 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55807 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55808 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55809 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55810 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55811 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55812 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55813 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55814 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55815 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55816 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55817 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55818 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55819 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55820 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55821 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55822 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55823 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55824 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55825 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55826 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55827 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55828 | logged_duration_ms=21 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:06:52.1991870Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #55829 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55830 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55831 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55832 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55833 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55834 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55835 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55836 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55837 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55838 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55839 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55840 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55841 | logged_duration_ms=8 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:07:29.6788929Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #55842 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55843 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55844 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55845 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55846 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55847 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55848 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55849 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55850 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55851 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55852 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55853 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55854 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55855 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55856 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55857 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55858 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55859 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55860 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55861 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55862 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55863 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55864 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55865 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55866 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55867 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55868 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55869 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55870 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55871 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55872 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55873 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55874 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55875 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55876 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55877 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55878 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55879 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55880 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55881 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55882 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55883 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55884 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55885 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55886 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55887 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55888 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55889 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55890 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55891 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55892 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55893 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55894 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55895 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55896 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55897 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55898 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55899 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55900 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55901 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55902 | logged_duration_ms=22 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:10:29.6996850Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #55903 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55904 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55905 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55906 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55907 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55908 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55909 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55910 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55911 | logged_duration_ms=22 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:10:52.1910691Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #55912 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55913 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55914 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55915 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55916 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55917 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55918 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55919 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55920 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55921 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55922 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55923 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55924 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55925 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #55926 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9cfc6429-50c5-6adf-9893-2271e371923a'::uuid])
ORDER BY b."Id";

-- Query #55927 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9cfc6429-50c5-6adf-9893-2271e371923a'::uuid])
ORDER BY b."Id";

-- Query #55928 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #55929 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #55930 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #55931 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #55932 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #55933 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid])
ORDER BY b."Id";

-- Query #55934 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid])
ORDER BY b."Id";

-- Query #55935 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #55936 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #55937 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #55938 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f1d568f-b87b-06ac-77ba-8838c8e7d5bd'::uuid])
ORDER BY b."Id";

-- Query #55939 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8f1d568f-b87b-06ac-77ba-8838c8e7d5bd'::uuid])
ORDER BY b."Id";

-- Query #55940 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ddb7188e-68b7-0c58-4245-24dd86a3df88'::uuid])
ORDER BY b."Id";

-- Query #55941 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ddb7188e-68b7-0c58-4245-24dd86a3df88'::uuid])
ORDER BY b."Id";

-- Query #55942 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d321256d-c9dc-e30c-1d86-5d426da5733c'::uuid])
ORDER BY b."Id";

-- Query #55943 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d321256d-c9dc-e30c-1d86-5d426da5733c'::uuid])
ORDER BY b."Id";

-- Query #55944 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e577761-8a76-8e97-6589-90d23f2093a7'::uuid])
ORDER BY b."Id";

-- Query #55945 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8e577761-8a76-8e97-6589-90d23f2093a7'::uuid])
ORDER BY b."Id";

-- Query #55946 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #55947 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #55948 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #55949 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87b82b0a-a4cc-5ca7-b957-96ef60c520af'::uuid])
ORDER BY b."Id";

-- Query #55950 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['87b82b0a-a4cc-5ca7-b957-96ef60c520af'::uuid])
ORDER BY b."Id";

-- Query #55951 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['adeb4298-ecd0-a1c9-525b-010ade28d52c'::uuid])
ORDER BY b."Id";

-- Query #55952 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['adeb4298-ecd0-a1c9-525b-010ade28d52c'::uuid])
ORDER BY b."Id";

-- Query #55953 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be6ebf61-c299-dc82-1ed3-8fc970db31c2'::uuid])
ORDER BY b."Id";

-- Query #55954 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['be6ebf61-c299-dc82-1ed3-8fc970db31c2'::uuid])
ORDER BY b."Id";

-- Query #55955 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09766f22-bc8c-777e-0b29-71ffec477d6d'::uuid])
ORDER BY b."Id";

-- Query #55956 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['09766f22-bc8c-777e-0b29-71ffec477d6d'::uuid])
ORDER BY b."Id";

-- Query #55957 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bb60dbe0-4be5-7884-ae1d-25d13edf7d29'::uuid])
ORDER BY b."Id";

-- Query #55958 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bb60dbe0-4be5-7884-ae1d-25d13edf7d29'::uuid])
ORDER BY b."Id";

-- Query #55959 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #55960 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #55961 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c8d42f5-c610-1587-fced-cf827c03819c'::uuid])
ORDER BY b."Id";

-- Query #55962 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2c8d42f5-c610-1587-fced-cf827c03819c'::uuid])
ORDER BY b."Id";

-- Query #55963 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid])
ORDER BY b."Id";

-- Query #55964 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid])
ORDER BY b."Id";

-- Query #55965 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid])
ORDER BY b."Id";

-- Query #55966 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid])
ORDER BY b."Id";

-- Query #55967 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c5709788-9ee7-edc3-b6ed-6ed5f1667b43'::uuid])
ORDER BY b."Id";

-- Query #55968 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c5709788-9ee7-edc3-b6ed-6ed5f1667b43'::uuid])
ORDER BY b."Id";

-- Query #55969 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid])
ORDER BY b."Id";

-- Query #55970 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid])
ORDER BY b."Id";

-- Query #55971 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid])
ORDER BY b."Id";

-- Query #55972 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid])
ORDER BY b."Id";

-- Query #55973 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea19fc70-4a6d-e9bb-90c3-e1ee88705353'::uuid])
ORDER BY b."Id";

-- Query #55974 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ea19fc70-4a6d-e9bb-90c3-e1ee88705353'::uuid])
ORDER BY b."Id";

-- Query #55975 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c596aa1-313a-c4fb-7a22-2b4e505c1b40'::uuid])
ORDER BY b."Id";

-- Query #55976 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5c596aa1-313a-c4fb-7a22-2b4e505c1b40'::uuid])
ORDER BY b."Id";

-- Query #55977 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02df129f-145c-a229-3c0c-12df9cf14dec'::uuid])
ORDER BY b."Id";

-- Query #55978 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02df129f-145c-a229-3c0c-12df9cf14dec'::uuid])
ORDER BY b."Id";

-- Query #55979 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb637533-c776-74c7-929b-c478a0b03630'::uuid])
ORDER BY b."Id";

-- Query #55980 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cb637533-c776-74c7-929b-c478a0b03630'::uuid])
ORDER BY b."Id";

-- Query #55981 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['319c6125-2b77-53ab-e7d4-3477630cca62'::uuid])
ORDER BY b."Id";

-- Query #55982 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['319c6125-2b77-53ab-e7d4-3477630cca62'::uuid])
ORDER BY b."Id";

-- Query #55983 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #55984 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #55985 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0e70355f-3c81-a1f4-9011-1499de1d1f5a'::uuid])
ORDER BY b."Id";

-- Query #55986 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0e70355f-3c81-a1f4-9011-1499de1d1f5a'::uuid])
ORDER BY b."Id";

-- Query #55987 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid])
ORDER BY b."Id";

-- Query #55988 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid])
ORDER BY b."Id";

-- Query #55989 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid])
ORDER BY b."Id";

-- Query #55990 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid])
ORDER BY b."Id";

-- Query #55991 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0afe66a2-e52a-a150-f911-29f2f5240ec8'::uuid])
ORDER BY b."Id";

-- Query #55992 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0afe66a2-e52a-a150-f911-29f2f5240ec8'::uuid])
ORDER BY b."Id";

-- Query #55993 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid])
ORDER BY b."Id";

-- Query #55994 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid])
ORDER BY b."Id";

-- Query #55995 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid])
ORDER BY b."Id";

-- Query #55996 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid])
ORDER BY b."Id";

-- Query #55997 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d0e8c64-cfeb-aee4-7d21-4055ae62c629'::uuid])
ORDER BY b."Id";

-- Query #55998 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4d0e8c64-cfeb-aee4-7d21-4055ae62c629'::uuid])
ORDER BY b."Id";

-- Query #55999 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d467c08-9d3b-9b04-a7af-8c1d42d6fc9d'::uuid])
ORDER BY b."Id";

-- Query #56000 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3d467c08-9d3b-9b04-a7af-8c1d42d6fc9d'::uuid])
ORDER BY b."Id";

-- Query #56001 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a2c19f3-ad9a-ace8-c5d8-64968f51c57f'::uuid])
ORDER BY b."Id";

-- Query #56002 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6a2c19f3-ad9a-ace8-c5d8-64968f51c57f'::uuid])
ORDER BY b."Id";

-- Query #56003 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db809b1a-9b11-9fb1-c514-651619de9aea'::uuid])
ORDER BY b."Id";

-- Query #56004 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db809b1a-9b11-9fb1-c514-651619de9aea'::uuid])
ORDER BY b."Id";

-- Query #56005 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid])
ORDER BY b."Id";

-- Query #56006 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid])
ORDER BY b."Id";

-- Query #56007 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ec1a4f04-ee2a-87e7-b2d2-b580ffd2fc1d'::uuid])
ORDER BY b."Id";

-- Query #56008 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ec1a4f04-ee2a-87e7-b2d2-b580ffd2fc1d'::uuid])
ORDER BY b."Id";

-- Query #56009 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65bbe3a9-29f9-237c-2062-1309f1c90b9d'::uuid])
ORDER BY b."Id";

-- Query #56010 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['65bbe3a9-29f9-237c-2062-1309f1c90b9d'::uuid])
ORDER BY b."Id";

-- Query #56011 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['778abd5f-c961-a0c6-3bbe-7faafece69bb'::uuid])
ORDER BY b."Id";

-- Query #56012 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['778abd5f-c961-a0c6-3bbe-7faafece69bb'::uuid])
ORDER BY b."Id";

-- Query #56013 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce8bc917-f6e0-babb-383a-30fd3c8ee8a3'::uuid])
ORDER BY b."Id";

-- Query #56014 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ce8bc917-f6e0-babb-383a-30fd3c8ee8a3'::uuid])
ORDER BY b."Id";

-- Query #56015 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid])
ORDER BY b."Id";

-- Query #56016 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid])
ORDER BY b."Id";

-- Query #56017 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid])
ORDER BY b."Id";

-- Query #56018 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid])
ORDER BY b."Id";

-- Query #56019 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7709df0e-ac6e-2e39-2b15-ca745085588f'::uuid])
ORDER BY b."Id";

-- Query #56020 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7709df0e-ac6e-2e39-2b15-ca745085588f'::uuid])
ORDER BY b."Id";

-- Query #56021 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7053f957-b113-a47d-b47b-566e2d8ee9b6'::uuid])
ORDER BY b."Id";

-- Query #56022 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7053f957-b113-a47d-b47b-566e2d8ee9b6'::uuid])
ORDER BY b."Id";

-- Query #56023 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2444f5a1-d213-6f0c-ad04-75cbbd9d850a'::uuid])
ORDER BY b."Id";

-- Query #56024 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2444f5a1-d213-6f0c-ad04-75cbbd9d850a'::uuid])
ORDER BY b."Id";

-- Query #56025 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid])
ORDER BY b."Id";

-- Query #56026 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid])
ORDER BY b."Id";

-- Query #56027 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ecdcb7e-3040-46da-26dc-73090db5fc3e'::uuid])
ORDER BY b."Id";

-- Query #56028 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ecdcb7e-3040-46da-26dc-73090db5fc3e'::uuid])
ORDER BY b."Id";

-- Query #56029 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14fc0d9f-b6db-e92c-492a-9eb99ecd88b2'::uuid])
ORDER BY b."Id";

-- Query #56030 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['14fc0d9f-b6db-e92c-492a-9eb99ecd88b2'::uuid])
ORDER BY b."Id";

-- Query #56031 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid])
ORDER BY b."Id";

-- Query #56032 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid])
ORDER BY b."Id";

-- Query #56033 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid])
ORDER BY b."Id";

-- Query #56034 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid])
ORDER BY b."Id";

-- Query #56035 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['86b7c33f-1299-e5a1-e6f5-9241af4964f4'::uuid])
ORDER BY b."Id";

-- Query #56036 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['86b7c33f-1299-e5a1-e6f5-9241af4964f4'::uuid])
ORDER BY b."Id";

-- Query #56037 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['168b21a2-7bd9-56f5-bc74-39ca6c48c100'::uuid])
ORDER BY b."Id";

-- Query #56038 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['168b21a2-7bd9-56f5-bc74-39ca6c48c100'::uuid])
ORDER BY b."Id";

-- Query #56039 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d3fdbf8-ef7f-7cb4-a2fa-f01310c6a5bb'::uuid])
ORDER BY b."Id";

-- Query #56040 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4d3fdbf8-ef7f-7cb4-a2fa-f01310c6a5bb'::uuid])
ORDER BY b."Id";

-- Query #56041 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a58281c-9cb5-c45d-9d2a-62f76666f17e'::uuid])
ORDER BY b."Id";

-- Query #56042 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0a58281c-9cb5-c45d-9d2a-62f76666f17e'::uuid])
ORDER BY b."Id";

-- Query #56043 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2dc1c5fe-f48d-5c72-8c4f-42861212079a'::uuid])
ORDER BY b."Id";

-- Query #56044 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2dc1c5fe-f48d-5c72-8c4f-42861212079a'::uuid])
ORDER BY b."Id";

-- Query #56045 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b24ffc32-3f3c-8776-b136-237262a14ee3'::uuid])
ORDER BY b."Id";

-- Query #56046 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b24ffc32-3f3c-8776-b136-237262a14ee3'::uuid])
ORDER BY b."Id";

-- Query #56047 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e069c64-ce26-88c9-709a-b86a20d9dd10'::uuid])
ORDER BY b."Id";

-- Query #56048 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e069c64-ce26-88c9-709a-b86a20d9dd10'::uuid])
ORDER BY b."Id";

-- Query #56049 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9c5232f-d8ea-14dd-7413-d25eb82e81ad'::uuid])
ORDER BY b."Id";

-- Query #56050 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9c5232f-d8ea-14dd-7413-d25eb82e81ad'::uuid])
ORDER BY b."Id";

-- Query #56051 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8726348-6252-b4aa-ddbf-d9a0e62d1c06'::uuid])
ORDER BY b."Id";

-- Query #56052 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a8726348-6252-b4aa-ddbf-d9a0e62d1c06'::uuid])
ORDER BY b."Id";

-- Query #56053 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2313c7bc-3892-72fc-d164-dfec5877174a'::uuid])
ORDER BY b."Id";

-- Query #56054 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2313c7bc-3892-72fc-d164-dfec5877174a'::uuid])
ORDER BY b."Id";

-- Query #56055 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dc4b67d8-9286-29c6-e478-4424b6ee2ecd'::uuid])
ORDER BY b."Id";

-- Query #56056 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dc4b67d8-9286-29c6-e478-4424b6ee2ecd'::uuid])
ORDER BY b."Id";

-- Query #56057 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90ab5e2d-f184-ac44-5e9b-08eae41d168b'::uuid])
ORDER BY b."Id";

-- Query #56058 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['90ab5e2d-f184-ac44-5e9b-08eae41d168b'::uuid])
ORDER BY b."Id";

-- Query #56059 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['60caa77b-62ed-9bb8-3732-702e9d4f5a7d'::uuid])
ORDER BY b."Id";

-- Query #56060 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['60caa77b-62ed-9bb8-3732-702e9d4f5a7d'::uuid])
ORDER BY b."Id";

-- Query #56061 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1600b77-6dfe-36f0-6908-9fa1405f9064'::uuid])
ORDER BY b."Id";

-- Query #56062 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b1600b77-6dfe-36f0-6908-9fa1405f9064'::uuid])
ORDER BY b."Id";

-- Query #56063 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1a36532-ad39-9309-8331-44828f1274a3'::uuid])
ORDER BY b."Id";

-- Query #56064 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1a36532-ad39-9309-8331-44828f1274a3'::uuid])
ORDER BY b."Id";

-- Query #56065 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da00bccf-2dc5-ba50-9b75-b12fb56300fb'::uuid])
ORDER BY b."Id";

-- Query #56066 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['da00bccf-2dc5-ba50-9b75-b12fb56300fb'::uuid])
ORDER BY b."Id";

-- Query #56067 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1cdd5223-ee61-8bc7-98ff-e9cb8008ab65'::uuid])
ORDER BY b."Id";

-- Query #56068 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1cdd5223-ee61-8bc7-98ff-e9cb8008ab65'::uuid])
ORDER BY b."Id";

-- Query #56069 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efb7a9eb-65da-e626-f887-33f20d22fbdf'::uuid])
ORDER BY b."Id";

-- Query #56070 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['efb7a9eb-65da-e626-f887-33f20d22fbdf'::uuid])
ORDER BY b."Id";

-- Query #56071 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aefd1f7b-f282-0f8a-900c-34c5d058cbe7'::uuid])
ORDER BY b."Id";

-- Query #56072 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aefd1f7b-f282-0f8a-900c-34c5d058cbe7'::uuid])
ORDER BY b."Id";

-- Query #56073 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b53873f5-9823-4fb3-20bc-f11b23b8079e'::uuid])
ORDER BY b."Id";

-- Query #56074 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b53873f5-9823-4fb3-20bc-f11b23b8079e'::uuid])
ORDER BY b."Id";

-- Query #56075 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['388d0482-c7eb-072e-bbdd-11e3e57669d1'::uuid])
ORDER BY b."Id";

-- Query #56076 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['388d0482-c7eb-072e-bbdd-11e3e57669d1'::uuid])
ORDER BY b."Id";

-- Query #56077 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['22ba4a6f-a798-a781-797e-be9dd6158fbb'::uuid])
ORDER BY b."Id";

-- Query #56078 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['22ba4a6f-a798-a781-797e-be9dd6158fbb'::uuid])
ORDER BY b."Id";

-- Query #56079 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e283f8c3-d6d8-a6f4-0323-b9c14b2c3ca3'::uuid])
ORDER BY b."Id";

-- Query #56080 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e283f8c3-d6d8-a6f4-0323-b9c14b2c3ca3'::uuid])
ORDER BY b."Id";

-- Query #56081 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8750530-8478-0ddc-9308-1dab760a6f7f'::uuid])
ORDER BY b."Id";

-- Query #56082 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8750530-8478-0ddc-9308-1dab760a6f7f'::uuid])
ORDER BY b."Id";

-- Query #56083 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06b1d9b6-3b10-6584-67b3-757949b47ef6'::uuid])
ORDER BY b."Id";

-- Query #56084 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['06b1d9b6-3b10-6584-67b3-757949b47ef6'::uuid])
ORDER BY b."Id";

-- Query #56085 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef70c153-8bd3-a5d7-9c6d-43c4b25afbfa'::uuid])
ORDER BY b."Id";

-- Query #56086 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ef70c153-8bd3-a5d7-9c6d-43c4b25afbfa'::uuid])
ORDER BY b."Id";

-- Query #56087 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2995edb5-6ee5-2ea2-befb-95c6a069d6c3'::uuid])
ORDER BY b."Id";

-- Query #56088 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2995edb5-6ee5-2ea2-befb-95c6a069d6c3'::uuid])
ORDER BY b."Id";

-- Query #56089 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b479b9ed-5acb-13e7-0e60-1dab94d748c8'::uuid])
ORDER BY b."Id";

-- Query #56090 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b479b9ed-5acb-13e7-0e60-1dab94d748c8'::uuid])
ORDER BY b."Id";

-- Query #56091 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #56092 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['555ae87b-bc66-ff05-ce89-8f1606209f7d'::uuid])
ORDER BY b."Id";

-- Query #56093 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['555ae87b-bc66-ff05-ce89-8f1606209f7d'::uuid])
ORDER BY b."Id";

-- Query #56094 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b7ef8e0-234b-8620-7a71-688a9be1185e'::uuid])
ORDER BY b."Id";

-- Query #56095 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5b7ef8e0-234b-8620-7a71-688a9be1185e'::uuid])
ORDER BY b."Id";

-- Query #56096 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b953d630-212b-2c27-d1d4-916a6df9a392'::uuid])
ORDER BY b."Id";

-- Query #56097 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b953d630-212b-2c27-d1d4-916a6df9a392'::uuid])
ORDER BY b."Id";

-- Query #56098 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99eeff66-b008-2d29-1ac4-92ea901a6380'::uuid])
ORDER BY b."Id";

-- Query #56099 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['99eeff66-b008-2d29-1ac4-92ea901a6380'::uuid])
ORDER BY b."Id";

-- Query #56100 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7c7c2852-1372-70e3-2e80-42e858762885'::uuid])
ORDER BY b."Id";

-- Query #56101 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7c7c2852-1372-70e3-2e80-42e858762885'::uuid])
ORDER BY b."Id";

-- Query #56102 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f1102928-47d8-1b21-bf24-bd60475a82ab'::uuid])
ORDER BY b."Id";

-- Query #56103 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f1102928-47d8-1b21-bf24-bd60475a82ab'::uuid])
ORDER BY b."Id";

-- Query #56104 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db165369-91eb-9ab8-e025-398b2bb30c24'::uuid])
ORDER BY b."Id";

-- Query #56105 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db165369-91eb-9ab8-e025-398b2bb30c24'::uuid])
ORDER BY b."Id";

-- Query #56106 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #56107 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #56108 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['93c42163-4ffe-8700-41eb-7c227f0dc2a8'::uuid])
ORDER BY b."Id";

-- Query #56109 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['93c42163-4ffe-8700-41eb-7c227f0dc2a8'::uuid])
ORDER BY b."Id";

-- Query #56110 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1e8de46-a4f3-ae19-5c9c-9f1d694b883e'::uuid])
ORDER BY b."Id";

-- Query #56111 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b1e8de46-a4f3-ae19-5c9c-9f1d694b883e'::uuid])
ORDER BY b."Id";

-- Query #56112 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['567f6f19-d0a1-a111-f66b-e24e5acdfeea'::uuid])
ORDER BY b."Id";

-- Query #56113 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['567f6f19-d0a1-a111-f66b-e24e5acdfeea'::uuid])
ORDER BY b."Id";

-- Query #56114 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9fec77e-706a-1e0e-9313-0c47f61337f9'::uuid])
ORDER BY b."Id";

-- Query #56115 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a9fec77e-706a-1e0e-9313-0c47f61337f9'::uuid])
ORDER BY b."Id";

-- Query #56116 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df9cd5e2-8849-395c-f362-d1abc7aac511'::uuid])
ORDER BY b."Id";

-- Query #56117 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['df9cd5e2-8849-395c-f362-d1abc7aac511'::uuid])
ORDER BY b."Id";

-- Query #56118 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['22933ce3-c07d-79c6-90aa-9416018c0892'::uuid])
ORDER BY b."Id";

-- Query #56119 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['22933ce3-c07d-79c6-90aa-9416018c0892'::uuid])
ORDER BY b."Id";

-- Query #56120 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['96cf2ebb-c0d0-c512-e5f1-184401e8054d'::uuid])
ORDER BY b."Id";

-- Query #56121 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['96cf2ebb-c0d0-c512-e5f1-184401e8054d'::uuid])
ORDER BY b."Id";

-- Query #56122 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1278eba6-f5f8-a5a0-9739-560e78baa1a7'::uuid])
ORDER BY b."Id";

-- Query #56123 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1278eba6-f5f8-a5a0-9739-560e78baa1a7'::uuid])
ORDER BY b."Id";

-- Query #56124 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f0072258-d601-4deb-6acc-c3a0aa69afb9'::uuid])
ORDER BY b."Id";

-- Query #56125 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f0072258-d601-4deb-6acc-c3a0aa69afb9'::uuid])
ORDER BY b."Id";

-- Query #56126 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a2512e-5a5f-c707-7495-40dfc5691d6b'::uuid])
ORDER BY b."Id";

-- Query #56127 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a2512e-5a5f-c707-7495-40dfc5691d6b'::uuid])
ORDER BY b."Id";

-- Query #56128 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e8b13fd5-58de-82ce-5497-581555e35ee0'::uuid])
ORDER BY b."Id";

-- Query #56129 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e8b13fd5-58de-82ce-5497-581555e35ee0'::uuid])
ORDER BY b."Id";

-- Query #56130 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e8057291-7f5b-7ae7-e671-b8fba9c96ede'::uuid])
ORDER BY b."Id";

-- Query #56131 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e8057291-7f5b-7ae7-e671-b8fba9c96ede'::uuid])
ORDER BY b."Id";

-- Query #56132 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0af041ba-02ac-3e39-61fe-366bc35fec8f'::uuid])
ORDER BY b."Id";

-- Query #56133 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0af041ba-02ac-3e39-61fe-366bc35fec8f'::uuid])
ORDER BY b."Id";

-- Query #56134 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['34543129-3e23-306e-c7f6-aef74d17c3da'::uuid])
ORDER BY b."Id";

-- Query #56135 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['34543129-3e23-306e-c7f6-aef74d17c3da'::uuid])
ORDER BY b."Id";

-- Query #56136 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8061cfd4-9fe9-d693-1303-faa8978fbb06'::uuid])
ORDER BY b."Id";

-- Query #56137 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8061cfd4-9fe9-d693-1303-faa8978fbb06'::uuid])
ORDER BY b."Id";

-- Query #56138 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90fdbe99-0657-f399-8269-4ed0e23ff104'::uuid])
ORDER BY b."Id";

-- Query #56139 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['90fdbe99-0657-f399-8269-4ed0e23ff104'::uuid])
ORDER BY b."Id";

-- Query #56140 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24215374-1245-3c78-90db-9b8f1dbacff3'::uuid])
ORDER BY b."Id";

-- Query #56141 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['24215374-1245-3c78-90db-9b8f1dbacff3'::uuid])
ORDER BY b."Id";

-- Query #56142 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8410871c-1ff9-d70f-13a2-d8659106923b'::uuid])
ORDER BY b."Id";

-- Query #56143 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8410871c-1ff9-d70f-13a2-d8659106923b'::uuid])
ORDER BY b."Id";

-- Query #56144 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b91d970d-1f79-4481-e731-a05b85890074'::uuid])
ORDER BY b."Id";

-- Query #56145 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b91d970d-1f79-4481-e731-a05b85890074'::uuid])
ORDER BY b."Id";

-- Query #56146 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ae2cbb2-e735-7ff1-7295-91b7b9016660'::uuid])
ORDER BY b."Id";

-- Query #56147 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2ae2cbb2-e735-7ff1-7295-91b7b9016660'::uuid])
ORDER BY b."Id";

-- Query #56148 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['298bf295-a314-eae0-1b6d-9f96af2528ce'::uuid])
ORDER BY b."Id";

-- Query #56149 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['298bf295-a314-eae0-1b6d-9f96af2528ce'::uuid])
ORDER BY b."Id";

-- Query #56150 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07263db0-c737-3ad2-13f9-46b2aac847d4'::uuid])
ORDER BY b."Id";

-- Query #56151 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['07263db0-c737-3ad2-13f9-46b2aac847d4'::uuid])
ORDER BY b."Id";

-- Query #56152 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ca7e9c7-7aa8-e329-ac9b-8800b73319fc'::uuid])
ORDER BY b."Id";

-- Query #56153 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7ca7e9c7-7aa8-e329-ac9b-8800b73319fc'::uuid])
ORDER BY b."Id";

-- Query #56154 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39f6ead0-7ee0-b4a7-cdb4-b25de31bb4e4'::uuid])
ORDER BY b."Id";

-- Query #56155 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39f6ead0-7ee0-b4a7-cdb4-b25de31bb4e4'::uuid])
ORDER BY b."Id";

-- Query #56156 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67c15c4b-a184-d890-d68d-b112a0e1b8aa'::uuid])
ORDER BY b."Id";

-- Query #56157 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['67c15c4b-a184-d890-d68d-b112a0e1b8aa'::uuid])
ORDER BY b."Id";

-- Query #56158 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9634134-1641-d609-aba6-31b443cd46d1'::uuid])
ORDER BY b."Id";

-- Query #56159 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f9634134-1641-d609-aba6-31b443cd46d1'::uuid])
ORDER BY b."Id";

-- Query #56160 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30fc819d-e173-646a-1c70-62dd7dc32b0d'::uuid])
ORDER BY b."Id";

-- Query #56161 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['30fc819d-e173-646a-1c70-62dd7dc32b0d'::uuid])
ORDER BY b."Id";

-- Query #56162 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['590b0f07-d497-1c8d-2ea9-7e562032c519'::uuid])
ORDER BY b."Id";

-- Query #56163 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['590b0f07-d497-1c8d-2ea9-7e562032c519'::uuid])
ORDER BY b."Id";

-- Query #56164 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f758a60-05e9-d25b-1ffc-d5d64b140842'::uuid])
ORDER BY b."Id";

-- Query #56165 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4f758a60-05e9-d25b-1ffc-d5d64b140842'::uuid])
ORDER BY b."Id";

-- Query #56166 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ef4abe1-edba-9524-ecef-41635df61147'::uuid])
ORDER BY b."Id";

-- Query #56167 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7ef4abe1-edba-9524-ecef-41635df61147'::uuid])
ORDER BY b."Id";

-- Query #56168 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5def979-9791-b191-3c7b-5bf1df354580'::uuid])
ORDER BY b."Id";

-- Query #56169 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f5def979-9791-b191-3c7b-5bf1df354580'::uuid])
ORDER BY b."Id";

-- Query #56170 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80152a32-1ae9-b76c-a9d8-f3b0ac274e94'::uuid])
ORDER BY b."Id";

-- Query #56171 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['80152a32-1ae9-b76c-a9d8-f3b0ac274e94'::uuid])
ORDER BY b."Id";

-- Query #56172 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6bef8e0d-5a02-ae06-d625-414cd949fb76'::uuid])
ORDER BY b."Id";

-- Query #56173 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6bef8e0d-5a02-ae06-d625-414cd949fb76'::uuid])
ORDER BY b."Id";

-- Query #56174 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ebd27ac-0569-658f-94f2-de30bdf2d0d8'::uuid])
ORDER BY b."Id";

-- Query #56175 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3ebd27ac-0569-658f-94f2-de30bdf2d0d8'::uuid])
ORDER BY b."Id";

-- Query #56176 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3bbcc162-f72b-4605-ced1-a948b9803171'::uuid])
ORDER BY b."Id";

-- Query #56177 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3bbcc162-f72b-4605-ced1-a948b9803171'::uuid])
ORDER BY b."Id";

-- Query #56178 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38d7c03d-5337-4e48-d002-3e1f9901ef90'::uuid])
ORDER BY b."Id";

-- Query #56179 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['38d7c03d-5337-4e48-d002-3e1f9901ef90'::uuid])
ORDER BY b."Id";

-- Query #56180 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['713c7a51-25df-b08c-0842-b7d1ddbca250'::uuid])
ORDER BY b."Id";

-- Query #56181 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['713c7a51-25df-b08c-0842-b7d1ddbca250'::uuid])
ORDER BY b."Id";

-- Query #56182 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['430f1f61-77f6-a8c0-9d60-9a2044e6bcdd'::uuid])
ORDER BY b."Id";

-- Query #56183 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['430f1f61-77f6-a8c0-9d60-9a2044e6bcdd'::uuid])
ORDER BY b."Id";

-- Query #56184 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d0ce473c-1bdb-c6fb-0f31-5e81316f9b58'::uuid])
ORDER BY b."Id";

-- Query #56185 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d0ce473c-1bdb-c6fb-0f31-5e81316f9b58'::uuid])
ORDER BY b."Id";

-- Query #56186 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65bb6ebd-891f-3dbf-0337-e46e67388a5b'::uuid])
ORDER BY b."Id";

-- Query #56187 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['65bb6ebd-891f-3dbf-0337-e46e67388a5b'::uuid])
ORDER BY b."Id";

-- Query #56188 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b6d2b080-2cb8-fa40-b9db-aadd9bc3f246'::uuid])
ORDER BY b."Id";

-- Query #56189 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b6d2b080-2cb8-fa40-b9db-aadd9bc3f246'::uuid])
ORDER BY b."Id";

-- Query #56190 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d8919cc-4e38-6819-872e-f5b6cc22f3d3'::uuid])
ORDER BY b."Id";

-- Query #56191 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6d8919cc-4e38-6819-872e-f5b6cc22f3d3'::uuid])
ORDER BY b."Id";

-- Query #56192 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24447a01-a55e-db71-0eb5-70aab460db9c'::uuid])
ORDER BY b."Id";

-- Query #56193 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['24447a01-a55e-db71-0eb5-70aab460db9c'::uuid])
ORDER BY b."Id";

-- Query #56194 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3586909c-202e-946f-fe57-197198b0f54b'::uuid])
ORDER BY b."Id";

-- Query #56195 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3586909c-202e-946f-fe57-197198b0f54b'::uuid])
ORDER BY b."Id";

-- Query #56196 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3a2dcc-3db0-64f4-0dc2-eb013478168e'::uuid])
ORDER BY b."Id";

-- Query #56197 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3a2dcc-3db0-64f4-0dc2-eb013478168e'::uuid])
ORDER BY b."Id";

-- Query #56198 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['678a5837-783a-4f4a-98c9-76345f66a54d'::uuid])
ORDER BY b."Id";

-- Query #56199 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['678a5837-783a-4f4a-98c9-76345f66a54d'::uuid])
ORDER BY b."Id";

-- Query #56200 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d9ac2db-4d2b-1a47-dc26-4d87b2ea6afc'::uuid])
ORDER BY b."Id";

-- Query #56201 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0d9ac2db-4d2b-1a47-dc26-4d87b2ea6afc'::uuid])
ORDER BY b."Id";

-- Query #56202 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0342930e-a2f9-680d-1fc2-a59153d08aa1'::uuid])
ORDER BY b."Id";

-- Query #56203 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0342930e-a2f9-680d-1fc2-a59153d08aa1'::uuid])
ORDER BY b."Id";

-- Query #56204 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dbaa3310-a5dc-8f62-7a89-999a6e89055f'::uuid])
ORDER BY b."Id";

-- Query #56205 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dbaa3310-a5dc-8f62-7a89-999a6e89055f'::uuid])
ORDER BY b."Id";

-- Query #56206 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b811542b-1088-5c14-20fc-3596a643bcb0'::uuid])
ORDER BY b."Id";

-- Query #56207 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b811542b-1088-5c14-20fc-3596a643bcb0'::uuid])
ORDER BY b."Id";

-- Query #56208 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80d5c1d6-bad2-a87f-4490-33816d75296b'::uuid])
ORDER BY b."Id";

-- Query #56209 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['80d5c1d6-bad2-a87f-4490-33816d75296b'::uuid])
ORDER BY b."Id";

-- Query #56210 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c17474f-7e51-9252-6d0d-5b40c28a8d87'::uuid])
ORDER BY b."Id";

-- Query #56211 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1c17474f-7e51-9252-6d0d-5b40c28a8d87'::uuid])
ORDER BY b."Id";

-- Query #56212 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4fbb138f-5ff9-2aa8-3213-c74c1edcb46b'::uuid])
ORDER BY b."Id";

-- Query #56213 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4fbb138f-5ff9-2aa8-3213-c74c1edcb46b'::uuid])
ORDER BY b."Id";

-- Query #56214 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11f6eb02-da5e-a9f2-aaae-2cb44af5a1bc'::uuid])
ORDER BY b."Id";

-- Query #56215 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['11f6eb02-da5e-a9f2-aaae-2cb44af5a1bc'::uuid])
ORDER BY b."Id";

-- Query #56216 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d0e1e26-117f-2062-00cf-eccadb4942ce'::uuid])
ORDER BY b."Id";

-- Query #56217 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2d0e1e26-117f-2062-00cf-eccadb4942ce'::uuid])
ORDER BY b."Id";

-- Query #56218 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6e069be-3424-77a8-2a34-b9dd34b1ea11'::uuid])
ORDER BY b."Id";

-- Query #56219 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e6e069be-3424-77a8-2a34-b9dd34b1ea11'::uuid])
ORDER BY b."Id";

-- Query #56220 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42d5a53e-ef58-a50a-8a93-6fdfbb7dff8f'::uuid])
ORDER BY b."Id";

-- Query #56221 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['42d5a53e-ef58-a50a-8a93-6fdfbb7dff8f'::uuid])
ORDER BY b."Id";

-- Query #56222 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d1b242b-5b65-c0a2-4446-5c1f12484333'::uuid])
ORDER BY b."Id";

-- Query #56223 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5d1b242b-5b65-c0a2-4446-5c1f12484333'::uuid])
ORDER BY b."Id";

-- Query #56224 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f370d46-4d24-4ff8-1c6d-1b26954013fb'::uuid])
ORDER BY b."Id";

-- Query #56225 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5f370d46-4d24-4ff8-1c6d-1b26954013fb'::uuid])
ORDER BY b."Id";

-- Query #56226 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56fad623-52ca-e5e0-8f4f-0b65a1208d46'::uuid])
ORDER BY b."Id";

-- Query #56227 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['56fad623-52ca-e5e0-8f4f-0b65a1208d46'::uuid])
ORDER BY b."Id";

-- Query #56228 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72afa170-7f4c-7b31-0ac0-cf0b14085cd3'::uuid])
ORDER BY b."Id";

-- Query #56229 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72afa170-7f4c-7b31-0ac0-cf0b14085cd3'::uuid])
ORDER BY b."Id";

-- Query #56230 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e3075b2-8487-d943-e911-d3d433077c8f'::uuid])
ORDER BY b."Id";

-- Query #56231 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2e3075b2-8487-d943-e911-d3d433077c8f'::uuid])
ORDER BY b."Id";

-- Query #56232 | logged_duration_ms=7 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e18f3d79-e0e6-fbef-e267-32010a25c348'::uuid])
ORDER BY b."Id";

-- Query #56233 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e18f3d79-e0e6-fbef-e267-32010a25c348'::uuid])
ORDER BY b."Id";

-- Query #56234 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07db2a9f-db10-0207-1c24-e71b2986a80c'::uuid])
ORDER BY b."Id";

-- Query #56235 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['07db2a9f-db10-0207-1c24-e71b2986a80c'::uuid])
ORDER BY b."Id";

-- Query #56236 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5e51774-1ad8-ea2b-285c-330364356071'::uuid])
ORDER BY b."Id";

-- Query #56237 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b5e51774-1ad8-ea2b-285c-330364356071'::uuid])
ORDER BY b."Id";

-- Query #56238 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7b1d8a29-7e7a-a563-daea-1da5ebfccbab'::uuid])
ORDER BY b."Id";

-- Query #56239 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7b1d8a29-7e7a-a563-daea-1da5ebfccbab'::uuid])
ORDER BY b."Id";

-- Query #56240 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['abaa894a-c054-3798-6825-f3fb09a9c1e3'::uuid])
ORDER BY b."Id";

-- Query #56241 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['abaa894a-c054-3798-6825-f3fb09a9c1e3'::uuid])
ORDER BY b."Id";

-- Query #56242 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['15b050b3-5fc5-c1ae-a89e-9e9d665ab10e'::uuid])
ORDER BY b."Id";

-- Query #56243 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['15b050b3-5fc5-c1ae-a89e-9e9d665ab10e'::uuid])
ORDER BY b."Id";

-- Query #56244 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a45df22-fe06-1662-fa01-0b04612d9332'::uuid])
ORDER BY b."Id";

-- Query #56245 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9a45df22-fe06-1662-fa01-0b04612d9332'::uuid])
ORDER BY b."Id";

-- Query #56246 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c21be72b-e39e-3033-31c3-e428b8e56721'::uuid])
ORDER BY b."Id";

-- Query #56247 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c21be72b-e39e-3033-31c3-e428b8e56721'::uuid])
ORDER BY b."Id";

-- Query #56248 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d38ef0ae-1b75-ca72-ac3e-f7168168b77b'::uuid])
ORDER BY b."Id";

-- Query #56249 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d38ef0ae-1b75-ca72-ac3e-f7168168b77b'::uuid])
ORDER BY b."Id";

-- Query #56250 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f0886225-32c9-3e5e-a940-f90b1f4b4e9c'::uuid])
ORDER BY b."Id";

-- Query #56251 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f0886225-32c9-3e5e-a940-f90b1f4b4e9c'::uuid])
ORDER BY b."Id";

-- Query #56252 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29321d70-e721-40c6-a402-cca96a7518bd'::uuid])
ORDER BY b."Id";

-- Query #56253 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['29321d70-e721-40c6-a402-cca96a7518bd'::uuid])
ORDER BY b."Id";

-- Query #56254 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6903df49-dca7-d00f-521a-a15ce00697aa'::uuid])
ORDER BY b."Id";

-- Query #56255 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6903df49-dca7-d00f-521a-a15ce00697aa'::uuid])
ORDER BY b."Id";

-- Query #56256 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['284c0cfe-e24a-e3ac-0f87-e3a3dbe84ff7'::uuid])
ORDER BY b."Id";

-- Query #56257 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['284c0cfe-e24a-e3ac-0f87-e3a3dbe84ff7'::uuid])
ORDER BY b."Id";

-- Query #56258 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['725c21a3-b64d-aa71-4eef-91ad6cb7cf61'::uuid])
ORDER BY b."Id";

-- Query #56259 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['725c21a3-b64d-aa71-4eef-91ad6cb7cf61'::uuid])
ORDER BY b."Id";

-- Query #56260 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78532b32-1488-e465-ef4d-576c8f2175b0'::uuid])
ORDER BY b."Id";

-- Query #56261 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['78532b32-1488-e465-ef4d-576c8f2175b0'::uuid])
ORDER BY b."Id";

-- Query #56262 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3dfe6549-5b6a-d301-3887-d825dbd1933b'::uuid])
ORDER BY b."Id";

-- Query #56263 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3dfe6549-5b6a-d301-3887-d825dbd1933b'::uuid])
ORDER BY b."Id";

-- Query #56264 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ff09ce8-2863-6d40-38b0-15195908307c'::uuid])
ORDER BY b."Id";

-- Query #56265 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0ff09ce8-2863-6d40-38b0-15195908307c'::uuid])
ORDER BY b."Id";

-- Query #56266 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dba0c10b-77db-8232-eba1-12b1e2aacaad'::uuid])
ORDER BY b."Id";

-- Query #56267 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dba0c10b-77db-8232-eba1-12b1e2aacaad'::uuid])
ORDER BY b."Id";

-- Query #56268 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e80bfbd-0308-771d-7e88-05fc8fae5117'::uuid])
ORDER BY b."Id";

-- Query #56269 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e80bfbd-0308-771d-7e88-05fc8fae5117'::uuid])
ORDER BY b."Id";

-- Query #56270 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df977084-db62-0374-c445-ffce6c11175c'::uuid])
ORDER BY b."Id";

-- Query #56271 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['df977084-db62-0374-c445-ffce6c11175c'::uuid])
ORDER BY b."Id";

-- Query #56272 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1802e829-8264-ca4c-01fd-e503b4a33e5a'::uuid])
ORDER BY b."Id";

-- Query #56273 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1802e829-8264-ca4c-01fd-e503b4a33e5a'::uuid])
ORDER BY b."Id";

-- Query #56274 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6099b4a-d589-3ae9-f9ba-5c2d980c2470'::uuid])
ORDER BY b."Id";

-- Query #56275 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e6099b4a-d589-3ae9-f9ba-5c2d980c2470'::uuid])
ORDER BY b."Id";

-- Query #56276 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ae0c61d-141c-78f6-5777-337405199756'::uuid])
ORDER BY b."Id";

-- Query #56277 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1ae0c61d-141c-78f6-5777-337405199756'::uuid])
ORDER BY b."Id";

-- Query #56278 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['533dad9c-e9aa-a549-324e-03c6da7613b0'::uuid])
ORDER BY b."Id";

-- Query #56279 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['533dad9c-e9aa-a549-324e-03c6da7613b0'::uuid])
ORDER BY b."Id";

-- Query #56280 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c40fe1b2-af22-7d02-3ba2-41d025570f38'::uuid])
ORDER BY b."Id";

-- Query #56281 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c40fe1b2-af22-7d02-3ba2-41d025570f38'::uuid])
ORDER BY b."Id";

-- Query #56282 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3194896b-4bf0-42f6-612a-c7e1912a770a'::uuid])
ORDER BY b."Id";

-- Query #56283 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3194896b-4bf0-42f6-612a-c7e1912a770a'::uuid])
ORDER BY b."Id";

-- Query #56284 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #56285 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77dd0b13-5946-9739-f47a-8469112e0f37'::uuid])
ORDER BY b."Id";

-- Query #56286 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['77dd0b13-5946-9739-f47a-8469112e0f37'::uuid])
ORDER BY b."Id";

-- Query #56287 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['63be3658-8e36-355f-205c-da433017a87c'::uuid])
ORDER BY b."Id";

-- Query #56288 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['63be3658-8e36-355f-205c-da433017a87c'::uuid])
ORDER BY b."Id";

-- Query #56289 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f72d2347-f7ff-dd69-3f91-06fbefb6a91d'::uuid])
ORDER BY b."Id";

-- Query #56290 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f72d2347-f7ff-dd69-3f91-06fbefb6a91d'::uuid])
ORDER BY b."Id";

-- Query #56291 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid])
ORDER BY b."Id";

-- Query #56292 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid])
ORDER BY b."Id";

-- Query #56293 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3266a904-9d2a-3b4e-935e-21d30474a5ec'::uuid])
ORDER BY b."Id";

-- Query #56294 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3266a904-9d2a-3b4e-935e-21d30474a5ec'::uuid])
ORDER BY b."Id";

-- Query #56295 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['770779bc-339d-93ef-eb8e-7738dff76957'::uuid])
ORDER BY b."Id";

-- Query #56296 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['770779bc-339d-93ef-eb8e-7738dff76957'::uuid])
ORDER BY b."Id";

-- Query #56297 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6ef6a956-c276-e687-5de9-3843604cbd9e'::uuid])
ORDER BY b."Id";

-- Query #56298 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6ef6a956-c276-e687-5de9-3843604cbd9e'::uuid])
ORDER BY b."Id";

-- Query #56299 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e52dd7f7-d1f7-5e41-f29a-230719509da2'::uuid])
ORDER BY b."Id";

-- Query #56300 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e52dd7f7-d1f7-5e41-f29a-230719509da2'::uuid])
ORDER BY b."Id";

-- Query #56301 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid])
ORDER BY b."Id";

-- Query #56302 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid])
ORDER BY b."Id";

-- Query #56303 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eae88635-45ae-111f-7419-1fd3f929fd9a'::uuid])
ORDER BY b."Id";

-- Query #56304 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eae88635-45ae-111f-7419-1fd3f929fd9a'::uuid])
ORDER BY b."Id";

-- Query #56305 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['735ef9a3-3989-118d-dd0d-597a6aeb0bfa'::uuid])
ORDER BY b."Id";

-- Query #56306 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['735ef9a3-3989-118d-dd0d-597a6aeb0bfa'::uuid])
ORDER BY b."Id";

-- Query #56307 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e685b191-054b-4aca-51fe-0db552f15052'::uuid])
ORDER BY b."Id";

-- Query #56308 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e685b191-054b-4aca-51fe-0db552f15052'::uuid])
ORDER BY b."Id";

-- Query #56309 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85c71da0-218e-5ace-63bc-48a1d90d956b'::uuid])
ORDER BY b."Id";

-- Query #56310 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['85c71da0-218e-5ace-63bc-48a1d90d956b'::uuid])
ORDER BY b."Id";

-- Query #56311 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb054524-9aee-504b-366c-88b885c062c8'::uuid])
ORDER BY b."Id";

-- Query #56312 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cb054524-9aee-504b-366c-88b885c062c8'::uuid])
ORDER BY b."Id";

-- Query #56313 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7acdd131-26e6-19d8-9d23-821317851dee'::uuid])
ORDER BY b."Id";

-- Query #56314 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7acdd131-26e6-19d8-9d23-821317851dee'::uuid])
ORDER BY b."Id";

-- Query #56315 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e62dc343-972e-bfc6-4c95-f336f0279d80'::uuid])
ORDER BY b."Id";

-- Query #56316 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e62dc343-972e-bfc6-4c95-f336f0279d80'::uuid])
ORDER BY b."Id";

-- Query #56317 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a34d578c-f0f3-88d5-0dad-d33093971898'::uuid])
ORDER BY b."Id";

-- Query #56318 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a34d578c-f0f3-88d5-0dad-d33093971898'::uuid])
ORDER BY b."Id";

-- Query #56319 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d262fe08-027f-21cb-e252-1a21d6f13dd9'::uuid])
ORDER BY b."Id";

-- Query #56320 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d262fe08-027f-21cb-e252-1a21d6f13dd9'::uuid])
ORDER BY b."Id";

-- Query #56321 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b06969d1-0538-a124-7e5d-16df3fa3f018'::uuid])
ORDER BY b."Id";

-- Query #56322 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b06969d1-0538-a124-7e5d-16df3fa3f018'::uuid])
ORDER BY b."Id";

-- Query #56323 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce86f85d-4825-01fa-4537-646972219796'::uuid])
ORDER BY b."Id";

-- Query #56324 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ce86f85d-4825-01fa-4537-646972219796'::uuid])
ORDER BY b."Id";

-- Query #56325 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid])
ORDER BY b."Id";

-- Query #56326 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid])
ORDER BY b."Id";

-- Query #56327 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid])
ORDER BY b."Id";

-- Query #56328 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid])
ORDER BY b."Id";

-- Query #56329 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e24760fc-0324-9f2d-f957-a774122c6e31'::uuid])
ORDER BY b."Id";

-- Query #56330 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e24760fc-0324-9f2d-f957-a774122c6e31'::uuid])
ORDER BY b."Id";

-- Query #56331 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06ed2000-4305-9537-1e85-a0765b2d2fda'::uuid])
ORDER BY b."Id";

-- Query #56332 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['06ed2000-4305-9537-1e85-a0765b2d2fda'::uuid])
ORDER BY b."Id";

-- Query #56333 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa33d74a-5e31-fd81-b64f-bcc6c6f562a1'::uuid])
ORDER BY b."Id";

-- Query #56334 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fa33d74a-5e31-fd81-b64f-bcc6c6f562a1'::uuid])
ORDER BY b."Id";

-- Query #56335 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid])
ORDER BY b."Id";

-- Query #56336 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid])
ORDER BY b."Id";

-- Query #56337 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #56338 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #56339 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a82109c5-6188-45fc-e3e7-6dfd8254465f'::uuid])
ORDER BY b."Id";

-- Query #56340 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a82109c5-6188-45fc-e3e7-6dfd8254465f'::uuid])
ORDER BY b."Id";

-- Query #56341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid])
ORDER BY b."Id";

-- Query #56342 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid])
ORDER BY b."Id";

-- Query #56343 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid])
ORDER BY b."Id";

-- Query #56344 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid])
ORDER BY b."Id";

-- Query #56345 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ef7feaf-3e72-5c72-b8fa-492749e8ea21'::uuid])
ORDER BY b."Id";

-- Query #56346 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0ef7feaf-3e72-5c72-b8fa-492749e8ea21'::uuid])
ORDER BY b."Id";

-- Query #56347 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eb67501-848e-2f0c-a92b-f53e11df2f12'::uuid])
ORDER BY b."Id";

-- Query #56348 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1eb67501-848e-2f0c-a92b-f53e11df2f12'::uuid])
ORDER BY b."Id";

-- Query #56349 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29fd1bdd-bc4c-9a93-4888-2bd9dc5a3898'::uuid])
ORDER BY b."Id";

-- Query #56350 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['29fd1bdd-bc4c-9a93-4888-2bd9dc5a3898'::uuid])
ORDER BY b."Id";

-- Query #56351 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['082e5713-4194-fea9-0323-fe42d350b908'::uuid])
ORDER BY b."Id";

-- Query #56352 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['082e5713-4194-fea9-0323-fe42d350b908'::uuid])
ORDER BY b."Id";

-- Query #56353 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8ff5d65-ffd3-9ce4-c6c3-97bc69cc535d'::uuid])
ORDER BY b."Id";

-- Query #56354 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a8ff5d65-ffd3-9ce4-c6c3-97bc69cc535d'::uuid])
ORDER BY b."Id";

-- Query #56355 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['175babf6-a1cc-cc25-a135-4703c32db5f6'::uuid])
ORDER BY b."Id";

-- Query #56356 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['175babf6-a1cc-cc25-a135-4703c32db5f6'::uuid])
ORDER BY b."Id";

-- Query #56357 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1f78ff5e-4373-3093-4260-5af3eb4cb188'::uuid])
ORDER BY b."Id";

-- Query #56358 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1f78ff5e-4373-3093-4260-5af3eb4cb188'::uuid])
ORDER BY b."Id";

-- Query #56359 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4582c2fb-4330-d752-9dfd-52c19aed112b'::uuid])
ORDER BY b."Id";

-- Query #56360 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4582c2fb-4330-d752-9dfd-52c19aed112b'::uuid])
ORDER BY b."Id";

-- Query #56361 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['155ddc43-fb5e-3708-2958-a83da084d054'::uuid])
ORDER BY b."Id";

-- Query #56362 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['155ddc43-fb5e-3708-2958-a83da084d054'::uuid])
ORDER BY b."Id";

-- Query #56363 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4d086c4-8792-d0c9-8488-b0604b3663a4'::uuid])
ORDER BY b."Id";

-- Query #56364 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b4d086c4-8792-d0c9-8488-b0604b3663a4'::uuid])
ORDER BY b."Id";

-- Query #56365 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d45a977f-58f6-fa61-2a3d-92c527ef5253'::uuid])
ORDER BY b."Id";

-- Query #56366 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d45a977f-58f6-fa61-2a3d-92c527ef5253'::uuid])
ORDER BY b."Id";

-- Query #56367 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f0b28fc-9494-b741-874f-cfc6dbf3bd19'::uuid])
ORDER BY b."Id";

-- Query #56368 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8f0b28fc-9494-b741-874f-cfc6dbf3bd19'::uuid])
ORDER BY b."Id";

-- Query #56369 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7622f6af-c772-abb3-b0db-1f85bc6653b6'::uuid])
ORDER BY b."Id";

-- Query #56370 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7622f6af-c772-abb3-b0db-1f85bc6653b6'::uuid])
ORDER BY b."Id";

-- Query #56371 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4df5f618-0162-fb12-35a0-defb677560dc'::uuid])
ORDER BY b."Id";

-- Query #56372 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4df5f618-0162-fb12-35a0-defb677560dc'::uuid])
ORDER BY b."Id";

-- Query #56373 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42ca4923-8143-4e17-d2aa-2481be799e4b'::uuid])
ORDER BY b."Id";

-- Query #56374 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['42ca4923-8143-4e17-d2aa-2481be799e4b'::uuid])
ORDER BY b."Id";

-- Query #56375 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['272ba5e0-9cf7-f15e-fdd2-c645b61617d4'::uuid])
ORDER BY b."Id";

-- Query #56376 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['272ba5e0-9cf7-f15e-fdd2-c645b61617d4'::uuid])
ORDER BY b."Id";

-- Query #56377 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ecfea6a-2a95-5830-de67-e963ea010e4f'::uuid])
ORDER BY b."Id";

-- Query #56378 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ecfea6a-2a95-5830-de67-e963ea010e4f'::uuid])
ORDER BY b."Id";

-- Query #56379 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3b93e5f-e085-4aa7-e3cb-b5e7844b5831'::uuid])
ORDER BY b."Id";

-- Query #56380 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c3b93e5f-e085-4aa7-e3cb-b5e7844b5831'::uuid])
ORDER BY b."Id";

-- Query #56381 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d492bc68-4f1c-e76c-add1-8ba3744a3d20'::uuid])
ORDER BY b."Id";

-- Query #56382 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d492bc68-4f1c-e76c-add1-8ba3744a3d20'::uuid])
ORDER BY b."Id";

-- Query #56383 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e455c280-a52f-6601-1c53-d7acbe36aaf7'::uuid])
ORDER BY b."Id";

-- Query #56384 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e455c280-a52f-6601-1c53-d7acbe36aaf7'::uuid])
ORDER BY b."Id";

-- Query #56385 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8d79ba14-ebbc-5347-bf53-e46fa314b847'::uuid])
ORDER BY b."Id";

-- Query #56386 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8d79ba14-ebbc-5347-bf53-e46fa314b847'::uuid])
ORDER BY b."Id";

-- Query #56387 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8e6aae7-96b0-be9f-c6c4-4ad4dd6c3bd4'::uuid])
ORDER BY b."Id";

-- Query #56388 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8e6aae7-96b0-be9f-c6c4-4ad4dd6c3bd4'::uuid])
ORDER BY b."Id";

-- Query #56389 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909b039e-7a94-9ba7-5079-1ec603000e7f'::uuid])
ORDER BY b."Id";

-- Query #56390 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['909b039e-7a94-9ba7-5079-1ec603000e7f'::uuid])
ORDER BY b."Id";

-- Query #56391 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['66d55813-6149-408d-ded0-8128e5f61456'::uuid])
ORDER BY b."Id";

-- Query #56392 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['66d55813-6149-408d-ded0-8128e5f61456'::uuid])
ORDER BY b."Id";

-- Query #56393 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea9c92ec-2399-cc6f-db61-812cdd5b6d10'::uuid])
ORDER BY b."Id";

-- Query #56394 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ea9c92ec-2399-cc6f-db61-812cdd5b6d10'::uuid])
ORDER BY b."Id";

-- Query #56395 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f09db5a3-e607-d698-9049-ee346dc42a21'::uuid])
ORDER BY b."Id";

-- Query #56396 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f09db5a3-e607-d698-9049-ee346dc42a21'::uuid])
ORDER BY b."Id";

-- Query #56397 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['51287982-cc95-1386-7e7e-c43713acf876'::uuid])
ORDER BY b."Id";

-- Query #56398 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['51287982-cc95-1386-7e7e-c43713acf876'::uuid])
ORDER BY b."Id";

-- Query #56399 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ba2845-eadb-2823-427c-58709670ca64'::uuid])
ORDER BY b."Id";

-- Query #56400 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39ba2845-eadb-2823-427c-58709670ca64'::uuid])
ORDER BY b."Id";

-- Query #56401 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b2ee529c-8433-2259-332c-1fbde266f161'::uuid])
ORDER BY b."Id";

-- Query #56402 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b2ee529c-8433-2259-332c-1fbde266f161'::uuid])
ORDER BY b."Id";

-- Query #56403 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d97073e-15c8-aa5a-7ac2-0e80c855e2ac'::uuid])
ORDER BY b."Id";

-- Query #56404 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7d97073e-15c8-aa5a-7ac2-0e80c855e2ac'::uuid])
ORDER BY b."Id";

-- Query #56405 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4207857-e1e5-8e5a-1211-51f00428fb02'::uuid])
ORDER BY b."Id";

-- Query #56406 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f4207857-e1e5-8e5a-1211-51f00428fb02'::uuid])
ORDER BY b."Id";

-- Query #56407 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef3b52ef-a4d9-618d-2a97-d8f9239e54ba'::uuid])
ORDER BY b."Id";

-- Query #56408 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ef3b52ef-a4d9-618d-2a97-d8f9239e54ba'::uuid])
ORDER BY b."Id";

-- Query #56409 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e3e88c2-57b1-5542-1435-fcce8115cc43'::uuid])
ORDER BY b."Id";

-- Query #56410 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9e3e88c2-57b1-5542-1435-fcce8115cc43'::uuid])
ORDER BY b."Id";

-- Query #56411 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['289ca182-62fb-849e-1dd5-42b0980d2a42'::uuid])
ORDER BY b."Id";

-- Query #56412 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['289ca182-62fb-849e-1dd5-42b0980d2a42'::uuid])
ORDER BY b."Id";

-- Query #56413 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4106c697-25c0-d272-25bd-7188977e96ed'::uuid])
ORDER BY b."Id";

-- Query #56414 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4106c697-25c0-d272-25bd-7188977e96ed'::uuid])
ORDER BY b."Id";

-- Query #56415 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3a723c6-e065-3351-2367-4f84c2bbfe3e'::uuid])
ORDER BY b."Id";

-- Query #56416 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d3a723c6-e065-3351-2367-4f84c2bbfe3e'::uuid])
ORDER BY b."Id";

-- Query #56417 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c2136868-6089-328d-155b-e1609ef1dbb4'::uuid])
ORDER BY b."Id";

-- Query #56418 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c2136868-6089-328d-155b-e1609ef1dbb4'::uuid])
ORDER BY b."Id";

-- Query #56419 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['32c2d4d7-e99f-4117-879d-9cdad5745a3f'::uuid])
ORDER BY b."Id";

-- Query #56420 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['32c2d4d7-e99f-4117-879d-9cdad5745a3f'::uuid])
ORDER BY b."Id";

-- Query #56421 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcd3e01c-02c2-a5b1-e386-6ecca2f52d92'::uuid])
ORDER BY b."Id";

-- Query #56422 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bcd3e01c-02c2-a5b1-e386-6ecca2f52d92'::uuid])
ORDER BY b."Id";

-- Query #56423 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e4760340-1f98-bfa7-5dd6-d85fffe38591'::uuid])
ORDER BY b."Id";

-- Query #56424 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e4760340-1f98-bfa7-5dd6-d85fffe38591'::uuid])
ORDER BY b."Id";

-- Query #56425 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d90ab2d1-4f74-9bc6-7562-5b183a10346e'::uuid])
ORDER BY b."Id";

-- Query #56426 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d90ab2d1-4f74-9bc6-7562-5b183a10346e'::uuid])
ORDER BY b."Id";

-- Query #56427 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b67abe3f-d3fc-fcf9-7bb9-b36195629123'::uuid])
ORDER BY b."Id";

-- Query #56428 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b67abe3f-d3fc-fcf9-7bb9-b36195629123'::uuid])
ORDER BY b."Id";

-- Query #56429 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b81cd4ed-2d61-fb19-5b80-63b987423e35'::uuid])
ORDER BY b."Id";

-- Query #56430 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b81cd4ed-2d61-fb19-5b80-63b987423e35'::uuid])
ORDER BY b."Id";

-- Query #56431 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['175db8e4-0b6f-48ab-56d6-05360225dff1'::uuid])
ORDER BY b."Id";

-- Query #56432 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['175db8e4-0b6f-48ab-56d6-05360225dff1'::uuid])
ORDER BY b."Id";

-- Query #56433 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7db40fd3-cd5e-9911-27d3-632af36b77fc'::uuid])
ORDER BY b."Id";

-- Query #56434 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7db40fd3-cd5e-9911-27d3-632af36b77fc'::uuid])
ORDER BY b."Id";

-- Query #56435 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95d1dd3d-4ae9-f231-f09b-c8f50b53ed11'::uuid])
ORDER BY b."Id";

-- Query #56436 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['95d1dd3d-4ae9-f231-f09b-c8f50b53ed11'::uuid])
ORDER BY b."Id";

-- Query #56437 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd6c40f4-1854-f95d-03e1-4ee930ee3fdd'::uuid])
ORDER BY b."Id";

-- Query #56438 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd6c40f4-1854-f95d-03e1-4ee930ee3fdd'::uuid])
ORDER BY b."Id";

-- Query #56439 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d2a7d05-ae57-e97a-e330-094f89aa7363'::uuid])
ORDER BY b."Id";

-- Query #56440 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7d2a7d05-ae57-e97a-e330-094f89aa7363'::uuid])
ORDER BY b."Id";

-- Query #56441 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db846855-7d77-e7ac-f046-bd9b279c2d23'::uuid])
ORDER BY b."Id";

-- Query #56442 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db846855-7d77-e7ac-f046-bd9b279c2d23'::uuid])
ORDER BY b."Id";

-- Query #56443 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['506370f4-4e81-2c01-fdfc-950636639ca6'::uuid])
ORDER BY b."Id";

-- Query #56444 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['506370f4-4e81-2c01-fdfc-950636639ca6'::uuid])
ORDER BY b."Id";

-- Query #56445 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e5e2325-e039-0b7c-a93d-c8c422129a64'::uuid])
ORDER BY b."Id";

-- Query #56446 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9e5e2325-e039-0b7c-a93d-c8c422129a64'::uuid])
ORDER BY b."Id";

-- Query #56447 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10d38e4b-119b-2559-e30c-c7ad03c8525b'::uuid])
ORDER BY b."Id";

-- Query #56448 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['10d38e4b-119b-2559-e30c-c7ad03c8525b'::uuid])
ORDER BY b."Id";

-- Query #56449 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70a717b7-ac47-efcd-605e-5efe1dc15d12'::uuid])
ORDER BY b."Id";

-- Query #56450 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['70a717b7-ac47-efcd-605e-5efe1dc15d12'::uuid])
ORDER BY b."Id";

-- Query #56451 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3b6c796-4213-5402-7d07-1aef8d7dc6b3'::uuid])
ORDER BY b."Id";

-- Query #56452 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c3b6c796-4213-5402-7d07-1aef8d7dc6b3'::uuid])
ORDER BY b."Id";

-- Query #56453 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e2e6077-c8f0-19ca-7586-8b10abf3154d'::uuid])
ORDER BY b."Id";

-- Query #56454 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e2e6077-c8f0-19ca-7586-8b10abf3154d'::uuid])
ORDER BY b."Id";

-- Query #56455 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6e071ec1-5d2f-4c62-d309-b5b939345ca8'::uuid])
ORDER BY b."Id";

-- Query #56456 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6e071ec1-5d2f-4c62-d309-b5b939345ca8'::uuid])
ORDER BY b."Id";

-- Query #56457 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['55a1c81b-93a6-970e-1961-cde5f11552e6'::uuid])
ORDER BY b."Id";

-- Query #56458 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['55a1c81b-93a6-970e-1961-cde5f11552e6'::uuid])
ORDER BY b."Id";

-- Query #56459 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7374868a-3043-fb80-48ca-3e8700d01350'::uuid])
ORDER BY b."Id";

-- Query #56460 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7374868a-3043-fb80-48ca-3e8700d01350'::uuid])
ORDER BY b."Id";

-- Query #56461 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8c0f8296-b2aa-d431-ab7a-b0661fa6a953'::uuid])
ORDER BY b."Id";

-- Query #56462 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8c0f8296-b2aa-d431-ab7a-b0661fa6a953'::uuid])
ORDER BY b."Id";

-- Query #56463 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0e5000b-f149-7b42-cdf6-c8e4352baeec'::uuid])
ORDER BY b."Id";

-- Query #56464 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c0e5000b-f149-7b42-cdf6-c8e4352baeec'::uuid])
ORDER BY b."Id";

-- Query #56465 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e0e3429-d122-5da4-c585-acd41ca5cbd6'::uuid])
ORDER BY b."Id";

-- Query #56466 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e0e3429-d122-5da4-c585-acd41ca5cbd6'::uuid])
ORDER BY b."Id";

-- Query #56467 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92a6cab1-86cf-b5e2-0d6c-586205434b66'::uuid])
ORDER BY b."Id";

-- Query #56468 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['92a6cab1-86cf-b5e2-0d6c-586205434b66'::uuid])
ORDER BY b."Id";

-- Query #56469 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ab89d8-ec81-0b0d-f5e2-487ac4ee7c18'::uuid])
ORDER BY b."Id";

-- Query #56470 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8ab89d8-ec81-0b0d-f5e2-487ac4ee7c18'::uuid])
ORDER BY b."Id";

-- Query #56471 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b59767d9-2404-a637-8f2a-4da8f45f9eac'::uuid])
ORDER BY b."Id";

-- Query #56472 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b59767d9-2404-a637-8f2a-4da8f45f9eac'::uuid])
ORDER BY b."Id";

-- Query #56473 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6bd32c9f-2f57-bedd-393e-e3cb5e0444df'::uuid])
ORDER BY b."Id";

-- Query #56474 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6bd32c9f-2f57-bedd-393e-e3cb5e0444df'::uuid])
ORDER BY b."Id";

-- Query #56475 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e58a97fe-948d-0a57-6d70-cae27c0570d7'::uuid])
ORDER BY b."Id";

-- Query #56476 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e58a97fe-948d-0a57-6d70-cae27c0570d7'::uuid])
ORDER BY b."Id";

-- Query #56477 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ee18f1bb-eb62-9dee-86ff-d516b19822e8'::uuid])
ORDER BY b."Id";

-- Query #56478 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ee18f1bb-eb62-9dee-86ff-d516b19822e8'::uuid])
ORDER BY b."Id";

-- Query #56479 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['16cc7bd5-2962-02d6-bda9-62184eaae3ae'::uuid])
ORDER BY b."Id";

-- Query #56480 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['16cc7bd5-2962-02d6-bda9-62184eaae3ae'::uuid])
ORDER BY b."Id";

-- Query #56481 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0fd9f63c-f140-8c4e-0303-159e7904f81d'::uuid])
ORDER BY b."Id";

-- Query #56482 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0fd9f63c-f140-8c4e-0303-159e7904f81d'::uuid])
ORDER BY b."Id";

-- Query #56483 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b073a370-d38a-ad04-a4a7-8cb418a91c53'::uuid])
ORDER BY b."Id";

-- Query #56484 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b073a370-d38a-ad04-a4a7-8cb418a91c53'::uuid])
ORDER BY b."Id";

-- Query #56485 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #56486 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3c57b581-404c-d7dd-e22d-cc3ed98e166c'::uuid])
ORDER BY b."Id";

-- Query #56487 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3c57b581-404c-d7dd-e22d-cc3ed98e166c'::uuid])
ORDER BY b."Id";

-- Query #56488 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['797b2997-fe93-2cf5-e6d8-6c94f43a06a4'::uuid])
ORDER BY b."Id";

-- Query #56489 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['797b2997-fe93-2cf5-e6d8-6c94f43a06a4'::uuid])
ORDER BY b."Id";

-- Query #56490 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f16d9bff-637b-0a22-7b34-275b7c1b8540'::uuid])
ORDER BY b."Id";

-- Query #56491 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f16d9bff-637b-0a22-7b34-275b7c1b8540'::uuid])
ORDER BY b."Id";

-- Query #56492 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13ef02e6-441c-d5b3-54a7-6103b703f4e0'::uuid])
ORDER BY b."Id";

-- Query #56493 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['13ef02e6-441c-d5b3-54a7-6103b703f4e0'::uuid])
ORDER BY b."Id";

-- Query #56494 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['08afebe3-f40e-8963-9820-f9678d34935e'::uuid])
ORDER BY b."Id";

-- Query #56495 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['08afebe3-f40e-8963-9820-f9678d34935e'::uuid])
ORDER BY b."Id";

-- Query #56496 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6ecc03b5-c65d-1696-0580-e8ee76675a6f'::uuid])
ORDER BY b."Id";

-- Query #56497 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6ecc03b5-c65d-1696-0580-e8ee76675a6f'::uuid])
ORDER BY b."Id";

-- Query #56498 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0144fbeb-d328-2267-327d-28c2f6ed4d6b'::uuid])
ORDER BY b."Id";

-- Query #56499 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0144fbeb-d328-2267-327d-28c2f6ed4d6b'::uuid])
ORDER BY b."Id";

-- Query #56500 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f1d0094-0c24-fa9c-be3c-c660376fb27a'::uuid])
ORDER BY b."Id";

-- Query #56501 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4f1d0094-0c24-fa9c-be3c-c660376fb27a'::uuid])
ORDER BY b."Id";

-- Query #56502 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e795a0e-5f22-730b-06e2-f1a9511d1751'::uuid])
ORDER BY b."Id";

-- Query #56503 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7e795a0e-5f22-730b-06e2-f1a9511d1751'::uuid])
ORDER BY b."Id";

-- Query #56504 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['094c60d7-bee5-1a86-6ab6-62447e8778e1'::uuid])
ORDER BY b."Id";

-- Query #56505 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['094c60d7-bee5-1a86-6ab6-62447e8778e1'::uuid])
ORDER BY b."Id";

-- Query #56506 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a7e05be-aa5f-761e-475e-96045441862f'::uuid])
ORDER BY b."Id";

-- Query #56507 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9a7e05be-aa5f-761e-475e-96045441862f'::uuid])
ORDER BY b."Id";

-- Query #56508 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05e67a24-f258-9a3b-cc66-3b8c3abe6118'::uuid])
ORDER BY b."Id";

-- Query #56509 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['05e67a24-f258-9a3b-cc66-3b8c3abe6118'::uuid])
ORDER BY b."Id";

-- Query #56510 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['811a94f5-ce0b-d83c-44e8-9fdecc0466fa'::uuid])
ORDER BY b."Id";

-- Query #56511 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['811a94f5-ce0b-d83c-44e8-9fdecc0466fa'::uuid])
ORDER BY b."Id";

-- Query #56512 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['18db77e9-2efb-054a-60af-027fd9261149'::uuid])
ORDER BY b."Id";

-- Query #56513 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['18db77e9-2efb-054a-60af-027fd9261149'::uuid])
ORDER BY b."Id";

-- Query #56514 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed93de20-2024-6152-44f6-cea8b8c8a6a7'::uuid])
ORDER BY b."Id";

-- Query #56515 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ed93de20-2024-6152-44f6-cea8b8c8a6a7'::uuid])
ORDER BY b."Id";

-- Query #56516 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d90b4f45-04f4-f6fd-c142-39c10eac0188'::uuid])
ORDER BY b."Id";

-- Query #56517 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d90b4f45-04f4-f6fd-c142-39c10eac0188'::uuid])
ORDER BY b."Id";

-- Query #56518 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dec8a594-9e71-d1bf-f1fd-4fa30dfd7f04'::uuid])
ORDER BY b."Id";

-- Query #56519 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dec8a594-9e71-d1bf-f1fd-4fa30dfd7f04'::uuid])
ORDER BY b."Id";

-- Query #56520 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9d316dd1-cf9a-af4d-b88f-65d7f39df5f4'::uuid])
ORDER BY b."Id";

-- Query #56521 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9d316dd1-cf9a-af4d-b88f-65d7f39df5f4'::uuid])
ORDER BY b."Id";

-- Query #56522 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be9db238-2833-ec17-2dec-30b49af2995a'::uuid])
ORDER BY b."Id";

-- Query #56523 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['be9db238-2833-ec17-2dec-30b49af2995a'::uuid])
ORDER BY b."Id";

-- Query #56524 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd3f229-1816-d06b-b872-7d604aaadc86'::uuid])
ORDER BY b."Id";

-- Query #56525 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd3f229-1816-d06b-b872-7d604aaadc86'::uuid])
ORDER BY b."Id";

-- Query #56526 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e09604c5-c67d-2db0-98c4-abddf58ba4ad'::uuid])
ORDER BY b."Id";

-- Query #56527 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e09604c5-c67d-2db0-98c4-abddf58ba4ad'::uuid])
ORDER BY b."Id";

-- Query #56528 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db9ebbb9-ef82-99f2-3ff6-8eb3898cdb8a'::uuid])
ORDER BY b."Id";

-- Query #56529 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db9ebbb9-ef82-99f2-3ff6-8eb3898cdb8a'::uuid])
ORDER BY b."Id";

-- Query #56530 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad17b13d-3b35-9b5e-886d-fbd9d2197c48'::uuid])
ORDER BY b."Id";

-- Query #56531 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ad17b13d-3b35-9b5e-886d-fbd9d2197c48'::uuid])
ORDER BY b."Id";

-- Query #56532 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e65494db-9a0a-76e6-d1c6-29fe386a2700'::uuid])
ORDER BY b."Id";

-- Query #56533 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e65494db-9a0a-76e6-d1c6-29fe386a2700'::uuid])
ORDER BY b."Id";

-- Query #56534 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99448755-ab71-78fb-9676-bc2b8e035c8b'::uuid])
ORDER BY b."Id";

-- Query #56535 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['99448755-ab71-78fb-9676-bc2b8e035c8b'::uuid])
ORDER BY b."Id";

-- Query #56536 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ade66dab-d81d-66fa-f272-4c553196ea2b'::uuid])
ORDER BY b."Id";

-- Query #56537 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ade66dab-d81d-66fa-f272-4c553196ea2b'::uuid])
ORDER BY b."Id";

-- Query #56538 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85451589-aebf-cce3-d05e-07f38f12ae57'::uuid])
ORDER BY b."Id";

-- Query #56539 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['85451589-aebf-cce3-d05e-07f38f12ae57'::uuid])
ORDER BY b."Id";

-- Query #56540 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e1b96d1-d0ee-6622-507d-3edacc684f37'::uuid])
ORDER BY b."Id";

-- Query #56541 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7e1b96d1-d0ee-6622-507d-3edacc684f37'::uuid])
ORDER BY b."Id";

-- Query #56542 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e3aa9681-de3b-0e1e-4c1d-aebd10176705'::uuid])
ORDER BY b."Id";

-- Query #56543 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e3aa9681-de3b-0e1e-4c1d-aebd10176705'::uuid])
ORDER BY b."Id";

-- Query #56544 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af1bedec-b0eb-3454-4a71-e9cc9c84077f'::uuid])
ORDER BY b."Id";

-- Query #56545 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['af1bedec-b0eb-3454-4a71-e9cc9c84077f'::uuid])
ORDER BY b."Id";

-- Query #56546 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d177830e-7169-f21f-eb7b-de1087c05f91'::uuid])
ORDER BY b."Id";

-- Query #56547 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d177830e-7169-f21f-eb7b-de1087c05f91'::uuid])
ORDER BY b."Id";

-- Query #56548 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['165e7065-8c3a-a74a-1158-c614ef5e80aa'::uuid])
ORDER BY b."Id";

-- Query #56549 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['165e7065-8c3a-a74a-1158-c614ef5e80aa'::uuid])
ORDER BY b."Id";

-- Query #56550 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38a1617e-2814-80aa-703e-4b1f98157b1b'::uuid])
ORDER BY b."Id";

-- Query #56551 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['38a1617e-2814-80aa-703e-4b1f98157b1b'::uuid])
ORDER BY b."Id";

-- Query #56552 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['942194e5-0217-2521-e75e-7bb4c55b0ee0'::uuid])
ORDER BY b."Id";

-- Query #56553 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['942194e5-0217-2521-e75e-7bb4c55b0ee0'::uuid])
ORDER BY b."Id";

-- Query #56554 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8b03f0d-b6d8-d985-2c92-b8922f3b2ef1'::uuid])
ORDER BY b."Id";

-- Query #56555 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8b03f0d-b6d8-d985-2c92-b8922f3b2ef1'::uuid])
ORDER BY b."Id";

-- Query #56556 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcfd3523-988c-92aa-dd2b-bd89bf90157e'::uuid])
ORDER BY b."Id";

-- Query #56557 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dcfd3523-988c-92aa-dd2b-bd89bf90157e'::uuid])
ORDER BY b."Id";

-- Query #56558 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d8e55ac-cacf-eaf6-511f-138155b9654f'::uuid])
ORDER BY b."Id";

-- Query #56559 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7d8e55ac-cacf-eaf6-511f-138155b9654f'::uuid])
ORDER BY b."Id";

-- Query #56560 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fbe72baa-4720-de3d-0827-a96fce4b1c54'::uuid])
ORDER BY b."Id";

-- Query #56561 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fbe72baa-4720-de3d-0827-a96fce4b1c54'::uuid])
ORDER BY b."Id";

-- Query #56562 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4379bd43-14cb-ad39-5ef6-1b6b901d54ed'::uuid])
ORDER BY b."Id";

-- Query #56563 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4379bd43-14cb-ad39-5ef6-1b6b901d54ed'::uuid])
ORDER BY b."Id";

-- Query #56564 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d4d11f21-4869-1368-68b3-aa269fd2c594'::uuid])
ORDER BY b."Id";

-- Query #56565 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d4d11f21-4869-1368-68b3-aa269fd2c594'::uuid])
ORDER BY b."Id";

-- Query #56566 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c20360ab-36b3-81c1-54cb-521622cc1744'::uuid])
ORDER BY b."Id";

-- Query #56567 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c20360ab-36b3-81c1-54cb-521622cc1744'::uuid])
ORDER BY b."Id";

-- Query #56568 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['813baaef-1c55-86f1-d893-dbace22508e7'::uuid])
ORDER BY b."Id";

-- Query #56569 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['813baaef-1c55-86f1-d893-dbace22508e7'::uuid])
ORDER BY b."Id";

-- Query #56570 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d93a0f4-1bbf-ad01-53e7-9e69299e78bd'::uuid])
ORDER BY b."Id";

-- Query #56571 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6d93a0f4-1bbf-ad01-53e7-9e69299e78bd'::uuid])
ORDER BY b."Id";

-- Query #56572 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3980fd86-bed0-3a4d-e17c-d4bd9ccdc7d9'::uuid])
ORDER BY b."Id";

-- Query #56573 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3980fd86-bed0-3a4d-e17c-d4bd9ccdc7d9'::uuid])
ORDER BY b."Id";

-- Query #56574 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab836289-f591-b6cb-008c-57c0d2300572'::uuid])
ORDER BY b."Id";

-- Query #56575 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ab836289-f591-b6cb-008c-57c0d2300572'::uuid])
ORDER BY b."Id";

-- Query #56576 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d7d302c2-0fe1-c1dc-1f8d-c8bbc9d43403'::uuid])
ORDER BY b."Id";

-- Query #56577 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d7d302c2-0fe1-c1dc-1f8d-c8bbc9d43403'::uuid])
ORDER BY b."Id";

-- Query #56578 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa29163c-03fd-1b2d-fdd3-fe017cd7f1ad'::uuid])
ORDER BY b."Id";

-- Query #56579 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fa29163c-03fd-1b2d-fdd3-fe017cd7f1ad'::uuid])
ORDER BY b."Id";

-- Query #56580 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d32b7903-28c2-834a-1fb2-569d355041f6'::uuid])
ORDER BY b."Id";

-- Query #56581 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d32b7903-28c2-834a-1fb2-569d355041f6'::uuid])
ORDER BY b."Id";

-- Query #56582 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8aefbd6e-c6dd-a230-55d9-d4f1c694cf0e'::uuid])
ORDER BY b."Id";

-- Query #56583 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8aefbd6e-c6dd-a230-55d9-d4f1c694cf0e'::uuid])
ORDER BY b."Id";

-- Query #56584 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4dbba905-a070-1a16-c5ad-0a7c3095f18d'::uuid])
ORDER BY b."Id";

-- Query #56585 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4dbba905-a070-1a16-c5ad-0a7c3095f18d'::uuid])
ORDER BY b."Id";

-- Query #56586 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da9ae2e1-076e-5fb3-25bf-68ca47999dac'::uuid])
ORDER BY b."Id";

-- Query #56587 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['da9ae2e1-076e-5fb3-25bf-68ca47999dac'::uuid])
ORDER BY b."Id";

-- Query #56588 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39bee4ae-d332-9c2f-0ad2-37c88d1f271f'::uuid])
ORDER BY b."Id";

-- Query #56589 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39bee4ae-d332-9c2f-0ad2-37c88d1f271f'::uuid])
ORDER BY b."Id";

-- Query #56590 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1621f49d-c8e7-a64f-104c-7285fbb9873e'::uuid])
ORDER BY b."Id";

-- Query #56591 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1621f49d-c8e7-a64f-104c-7285fbb9873e'::uuid])
ORDER BY b."Id";

-- Query #56592 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1cc07f1f-25da-b9f8-4d31-776691f80d2c'::uuid])
ORDER BY b."Id";

-- Query #56593 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1cc07f1f-25da-b9f8-4d31-776691f80d2c'::uuid])
ORDER BY b."Id";

-- Query #56594 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['74c09341-ee4a-8874-43b0-b0fc2dc107f3'::uuid])
ORDER BY b."Id";

-- Query #56595 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['74c09341-ee4a-8874-43b0-b0fc2dc107f3'::uuid])
ORDER BY b."Id";

-- Query #56596 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b980f982-78c8-21a9-2a6a-78dbf0b74233'::uuid])
ORDER BY b."Id";

-- Query #56597 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b980f982-78c8-21a9-2a6a-78dbf0b74233'::uuid])
ORDER BY b."Id";

-- Query #56598 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb659df4-a108-7cdd-f328-9866d0052b1c'::uuid])
ORDER BY b."Id";

-- Query #56599 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eb659df4-a108-7cdd-f328-9866d0052b1c'::uuid])
ORDER BY b."Id";

-- Query #56600 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab633eec-6754-6155-8fc0-25d035ddd1b4'::uuid])
ORDER BY b."Id";

-- Query #56601 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ab633eec-6754-6155-8fc0-25d035ddd1b4'::uuid])
ORDER BY b."Id";

-- Query #56602 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7997b1c2-ef23-b588-3fe2-afbd85450103'::uuid])
ORDER BY b."Id";

-- Query #56603 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7997b1c2-ef23-b588-3fe2-afbd85450103'::uuid])
ORDER BY b."Id";

-- Query #56604 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40679e71-9645-4e21-57b6-031d3883c7df'::uuid])
ORDER BY b."Id";

-- Query #56605 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['40679e71-9645-4e21-57b6-031d3883c7df'::uuid])
ORDER BY b."Id";

-- Query #56606 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b1475ec-f5ed-6cca-4738-15f107312fb4'::uuid])
ORDER BY b."Id";

-- Query #56607 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2b1475ec-f5ed-6cca-4738-15f107312fb4'::uuid])
ORDER BY b."Id";

-- Query #56608 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e36a6ac-3361-0792-f112-a564bf1e51e1'::uuid])
ORDER BY b."Id";

-- Query #56609 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9e36a6ac-3361-0792-f112-a564bf1e51e1'::uuid])
ORDER BY b."Id";

-- Query #56610 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b13190b9-0fd6-f737-a350-f4b5a60837e0'::uuid])
ORDER BY b."Id";

-- Query #56611 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b13190b9-0fd6-f737-a350-f4b5a60837e0'::uuid])
ORDER BY b."Id";

-- Query #56612 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be798b6d-014f-8f64-a0da-a8d112ebe98d'::uuid])
ORDER BY b."Id";

-- Query #56613 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['be798b6d-014f-8f64-a0da-a8d112ebe98d'::uuid])
ORDER BY b."Id";

-- Query #56614 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['272d5a87-92b6-8a40-1443-733575894001'::uuid])
ORDER BY b."Id";

-- Query #56615 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['272d5a87-92b6-8a40-1443-733575894001'::uuid])
ORDER BY b."Id";

-- Query #56616 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['277a847b-1778-ad82-1d76-ac4d69f951bf'::uuid])
ORDER BY b."Id";

-- Query #56617 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['277a847b-1778-ad82-1d76-ac4d69f951bf'::uuid])
ORDER BY b."Id";

-- Query #56618 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c8c14181-95f4-533f-6f2f-2585763d4ea6'::uuid])
ORDER BY b."Id";

-- Query #56619 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c8c14181-95f4-533f-6f2f-2585763d4ea6'::uuid])
ORDER BY b."Id";

-- Query #56620 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['677c8014-7483-1328-61f1-f00eb189b5fd'::uuid])
ORDER BY b."Id";

-- Query #56621 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['677c8014-7483-1328-61f1-f00eb189b5fd'::uuid])
ORDER BY b."Id";

-- Query #56622 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5764f11-b63c-4803-39e2-9fe4d5508419'::uuid])
ORDER BY b."Id";

-- Query #56623 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f5764f11-b63c-4803-39e2-9fe4d5508419'::uuid])
ORDER BY b."Id";

-- Query #56624 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['edb11eb0-77d9-27b1-6db9-2ede253c3e22'::uuid])
ORDER BY b."Id";

-- Query #56625 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['edb11eb0-77d9-27b1-6db9-2ede253c3e22'::uuid])
ORDER BY b."Id";

-- Query #56626 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6111c85d-d590-79a1-284d-ab585091b635'::uuid])
ORDER BY b."Id";

-- Query #56627 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6111c85d-d590-79a1-284d-ab585091b635'::uuid])
ORDER BY b."Id";

-- Query #56628 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['333b2be3-d4ad-049b-d14b-b6712a888951'::uuid])
ORDER BY b."Id";

-- Query #56629 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['333b2be3-d4ad-049b-d14b-b6712a888951'::uuid])
ORDER BY b."Id";

-- Query #56630 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f1f140d-a732-956d-0333-101803dd543f'::uuid])
ORDER BY b."Id";

-- Query #56631 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8f1f140d-a732-956d-0333-101803dd543f'::uuid])
ORDER BY b."Id";

-- Query #56632 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24bb21eb-e211-2622-9a83-c65f9cbd8670'::uuid])
ORDER BY b."Id";

-- Query #56633 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['24bb21eb-e211-2622-9a83-c65f9cbd8670'::uuid])
ORDER BY b."Id";

-- Query #56634 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['477a6cf4-9505-0705-daae-18803aa6ffd4'::uuid])
ORDER BY b."Id";

-- Query #56635 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['477a6cf4-9505-0705-daae-18803aa6ffd4'::uuid])
ORDER BY b."Id";

-- Query #56636 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe493edf-8d26-8aa4-d590-dc34a06edc12'::uuid])
ORDER BY b."Id";

-- Query #56637 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fe493edf-8d26-8aa4-d590-dc34a06edc12'::uuid])
ORDER BY b."Id";

-- Query #56638 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a71740e-24ec-4aef-37a5-6f48364fbafd'::uuid])
ORDER BY b."Id";

-- Query #56639 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4a71740e-24ec-4aef-37a5-6f48364fbafd'::uuid])
ORDER BY b."Id";

-- Query #56640 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9955e4de-5341-7717-135e-51f5f6f83572'::uuid])
ORDER BY b."Id";

-- Query #56641 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9955e4de-5341-7717-135e-51f5f6f83572'::uuid])
ORDER BY b."Id";

-- Query #56642 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4031fce0-4386-2374-2d00-bad1894ed44f'::uuid])
ORDER BY b."Id";

-- Query #56643 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4031fce0-4386-2374-2d00-bad1894ed44f'::uuid])
ORDER BY b."Id";

-- Query #56644 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f276433c-c07a-27b9-72d0-7426ee0336bf'::uuid])
ORDER BY b."Id";

-- Query #56645 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f276433c-c07a-27b9-72d0-7426ee0336bf'::uuid])
ORDER BY b."Id";

-- Query #56646 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7488b501-2cf7-c649-bc33-eaf27166ef6a'::uuid])
ORDER BY b."Id";

-- Query #56647 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7488b501-2cf7-c649-bc33-eaf27166ef6a'::uuid])
ORDER BY b."Id";

-- Query #56648 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1840b11-663d-6983-7859-8c6b50677ad1'::uuid])
ORDER BY b."Id";

-- Query #56649 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b1840b11-663d-6983-7859-8c6b50677ad1'::uuid])
ORDER BY b."Id";

-- Query #56650 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f13f8ff5-2ffe-524b-8980-8dc5e2bca967'::uuid])
ORDER BY b."Id";

-- Query #56651 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f13f8ff5-2ffe-524b-8980-8dc5e2bca967'::uuid])
ORDER BY b."Id";

-- Query #56652 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['27d752cc-fab6-e674-71dd-11d28ddc6ca6'::uuid])
ORDER BY b."Id";

-- Query #56653 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['27d752cc-fab6-e674-71dd-11d28ddc6ca6'::uuid])
ORDER BY b."Id";

-- Query #56654 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['889b2181-e80d-287b-477e-04597c5953c5'::uuid])
ORDER BY b."Id";

-- Query #56655 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['889b2181-e80d-287b-477e-04597c5953c5'::uuid])
ORDER BY b."Id";

-- Query #56656 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8eb0d49a-d5a3-b19e-7fae-047e7f5d7177'::uuid])
ORDER BY b."Id";

-- Query #56657 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8eb0d49a-d5a3-b19e-7fae-047e7f5d7177'::uuid])
ORDER BY b."Id";

-- Query #56658 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['338d44bd-c8dc-bd38-132e-1f4e8a07f763'::uuid])
ORDER BY b."Id";

-- Query #56659 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['338d44bd-c8dc-bd38-132e-1f4e8a07f763'::uuid])
ORDER BY b."Id";

-- Query #56660 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d5b9d54-02b3-45fc-f441-fba9879745a7'::uuid])
ORDER BY b."Id";

-- Query #56661 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3d5b9d54-02b3-45fc-f441-fba9879745a7'::uuid])
ORDER BY b."Id";

-- Query #56662 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8115955c-608f-6403-a5b5-07746c2931ed'::uuid])
ORDER BY b."Id";

-- Query #56663 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8115955c-608f-6403-a5b5-07746c2931ed'::uuid])
ORDER BY b."Id";

-- Query #56664 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6c61fe9-4543-0937-e3bd-1c94dbea9be8'::uuid])
ORDER BY b."Id";

-- Query #56665 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e6c61fe9-4543-0937-e3bd-1c94dbea9be8'::uuid])
ORDER BY b."Id";

-- Query #56666 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4eedc318-f6d4-6ec1-f573-531de6c3f525'::uuid])
ORDER BY b."Id";

-- Query #56667 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4eedc318-f6d4-6ec1-f573-531de6c3f525'::uuid])
ORDER BY b."Id";

-- Query #56668 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ede94064-83f3-fc91-be0f-31935b369e2e'::uuid])
ORDER BY b."Id";

-- Query #56669 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ede94064-83f3-fc91-be0f-31935b369e2e'::uuid])
ORDER BY b."Id";

-- Query #56670 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b7e776c-50bd-7838-c2fe-9e0192c2552f'::uuid])
ORDER BY b."Id";

-- Query #56671 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5b7e776c-50bd-7838-c2fe-9e0192c2552f'::uuid])
ORDER BY b."Id";

-- Query #56672 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e72b668-30c6-06e1-52a2-45426e20c603'::uuid])
ORDER BY b."Id";

-- Query #56673 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8e72b668-30c6-06e1-52a2-45426e20c603'::uuid])
ORDER BY b."Id";

-- Query #56674 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00f2e0d9-419b-10de-b17a-2b141c7e944f'::uuid])
ORDER BY b."Id";

-- Query #56675 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['00f2e0d9-419b-10de-b17a-2b141c7e944f'::uuid])
ORDER BY b."Id";

-- Query #56676 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd0ee55-9c81-76cb-0c44-5dd45c1513a6'::uuid])
ORDER BY b."Id";

-- Query #56677 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd0ee55-9c81-76cb-0c44-5dd45c1513a6'::uuid])
ORDER BY b."Id";

-- Query #56678 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3420147e-4c4f-cbf1-a070-b69594c10732'::uuid])
ORDER BY b."Id";

-- Query #56679 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3420147e-4c4f-cbf1-a070-b69594c10732'::uuid])
ORDER BY b."Id";

-- Query #56680 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0c6fc668-2cfc-4160-559a-5a92ab55883a'::uuid])
ORDER BY b."Id";

-- Query #56681 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0c6fc668-2cfc-4160-559a-5a92ab55883a'::uuid])
ORDER BY b."Id";

-- Query #56682 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d4f85df2-418a-4f30-45f9-11d30dd9f319'::uuid])
ORDER BY b."Id";

-- Query #56683 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d4f85df2-418a-4f30-45f9-11d30dd9f319'::uuid])
ORDER BY b."Id";

-- Query #56684 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['61e10d06-2276-4bd8-8b51-003805916c78'::uuid])
ORDER BY b."Id";

-- Query #56685 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['61e10d06-2276-4bd8-8b51-003805916c78'::uuid])
ORDER BY b."Id";

-- Query #56686 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56541b0c-3406-3aa7-5f86-b3e9079cfffc'::uuid])
ORDER BY b."Id";

-- Query #56687 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['56541b0c-3406-3aa7-5f86-b3e9079cfffc'::uuid])
ORDER BY b."Id";

-- Query #56688 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb7983d5-f935-dde4-9d0a-207121e9129d'::uuid])
ORDER BY b."Id";

-- Query #56689 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cb7983d5-f935-dde4-9d0a-207121e9129d'::uuid])
ORDER BY b."Id";

-- Query #56690 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #56691 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['946e99ea-04cb-3fee-f73a-49b7d4750640'::uuid])
ORDER BY b."Id";

-- Query #56692 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['946e99ea-04cb-3fee-f73a-49b7d4750640'::uuid])
ORDER BY b."Id";

-- Query #56693 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c2c04e60-925c-724f-7835-164c747a46e9'::uuid])
ORDER BY b."Id";

-- Query #56694 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c2c04e60-925c-724f-7835-164c747a46e9'::uuid])
ORDER BY b."Id";

-- Query #56695 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2504cf7a-6307-7735-2a33-08ed8a65703b'::uuid])
ORDER BY b."Id";

-- Query #56696 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2504cf7a-6307-7735-2a33-08ed8a65703b'::uuid])
ORDER BY b."Id";

-- Query #56697 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72ea8506-7326-7c99-975f-ceb966f335d9'::uuid])
ORDER BY b."Id";

-- Query #56698 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72ea8506-7326-7c99-975f-ceb966f335d9'::uuid])
ORDER BY b."Id";

-- Query #56699 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d15a348-9dcf-2d04-606f-741d9295445e'::uuid])
ORDER BY b."Id";

-- Query #56700 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1d15a348-9dcf-2d04-606f-741d9295445e'::uuid])
ORDER BY b."Id";

-- Query #56701 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5af633e-f297-f65d-7a1f-f99844265907'::uuid])
ORDER BY b."Id";

-- Query #56702 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b5af633e-f297-f65d-7a1f-f99844265907'::uuid])
ORDER BY b."Id";

-- Query #56703 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['47396790-8bf9-10c8-2165-d4620ff55b28'::uuid])
ORDER BY b."Id";

-- Query #56704 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['47396790-8bf9-10c8-2165-d4620ff55b28'::uuid])
ORDER BY b."Id";

-- Query #56705 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ba03b1a-1806-4630-e88e-dff1743b5b6e'::uuid])
ORDER BY b."Id";

-- Query #56706 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3ba03b1a-1806-4630-e88e-dff1743b5b6e'::uuid])
ORDER BY b."Id";

-- Query #56707 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85b3b3ce-b912-2813-35b3-a56fa6668ec8'::uuid])
ORDER BY b."Id";

-- Query #56708 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['85b3b3ce-b912-2813-35b3-a56fa6668ec8'::uuid])
ORDER BY b."Id";

-- Query #56709 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3b6c339-acee-394d-b199-785a666f52e6'::uuid])
ORDER BY b."Id";

-- Query #56710 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d3b6c339-acee-394d-b199-785a666f52e6'::uuid])
ORDER BY b."Id";

-- Query #56711 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5ea1e76-1e1c-fa22-b282-145f1e1b5b5c'::uuid])
ORDER BY b."Id";

-- Query #56712 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e5ea1e76-1e1c-fa22-b282-145f1e1b5b5c'::uuid])
ORDER BY b."Id";

-- Query #56713 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20ac531d-d341-89d1-a819-e89f2f1e9af9'::uuid])
ORDER BY b."Id";

-- Query #56714 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['20ac531d-d341-89d1-a819-e89f2f1e9af9'::uuid])
ORDER BY b."Id";

-- Query #56715 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f286e5ac-633f-1182-0f8a-a8e8633bdea2'::uuid])
ORDER BY b."Id";

-- Query #56716 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f286e5ac-633f-1182-0f8a-a8e8633bdea2'::uuid])
ORDER BY b."Id";

-- Query #56717 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3cbb32ea-45f0-b962-46cc-58a2d9bf9258'::uuid])
ORDER BY b."Id";

-- Query #56718 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3cbb32ea-45f0-b962-46cc-58a2d9bf9258'::uuid])
ORDER BY b."Id";

-- Query #56719 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['16b019c6-5119-b6cc-2a74-88afbf119560'::uuid])
ORDER BY b."Id";

-- Query #56720 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['16b019c6-5119-b6cc-2a74-88afbf119560'::uuid])
ORDER BY b."Id";

-- Query #56721 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['45f1f05e-b683-2917-9243-fb789f5f0b29'::uuid])
ORDER BY b."Id";

-- Query #56722 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['45f1f05e-b683-2917-9243-fb789f5f0b29'::uuid])
ORDER BY b."Id";

-- Query #56723 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82fae59e-df8c-2278-16f1-5add050e2aa1'::uuid])
ORDER BY b."Id";

-- Query #56724 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['82fae59e-df8c-2278-16f1-5add050e2aa1'::uuid])
ORDER BY b."Id";

-- Query #56725 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1b2970a-ec17-5cda-1bb7-10b38a33e765'::uuid])
ORDER BY b."Id";

-- Query #56726 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d1b2970a-ec17-5cda-1bb7-10b38a33e765'::uuid])
ORDER BY b."Id";

-- Query #56727 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a500cb1c-1303-b38e-68b7-3d8eacf268e1'::uuid])
ORDER BY b."Id";

-- Query #56728 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a500cb1c-1303-b38e-68b7-3d8eacf268e1'::uuid])
ORDER BY b."Id";

-- Query #56729 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ef96ce-90ba-3f6f-b691-0fd1f0dc9afd'::uuid])
ORDER BY b."Id";

-- Query #56730 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b7ef96ce-90ba-3f6f-b691-0fd1f0dc9afd'::uuid])
ORDER BY b."Id";

-- Query #56731 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c68206b0-3142-84b6-b891-e72a4e9c86d7'::uuid])
ORDER BY b."Id";

-- Query #56732 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c68206b0-3142-84b6-b891-e72a4e9c86d7'::uuid])
ORDER BY b."Id";

-- Query #56733 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a777a816-1311-69e9-5416-9882b2e4b882'::uuid])
ORDER BY b."Id";

-- Query #56734 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a777a816-1311-69e9-5416-9882b2e4b882'::uuid])
ORDER BY b."Id";

-- Query #56735 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bae3f312-773b-c2f1-4113-417ee11e4664'::uuid])
ORDER BY b."Id";

-- Query #56736 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bae3f312-773b-c2f1-4113-417ee11e4664'::uuid])
ORDER BY b."Id";

-- Query #56737 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795a8d5e-cad4-6b23-91e4-b2c034290577'::uuid])
ORDER BY b."Id";

-- Query #56738 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['795a8d5e-cad4-6b23-91e4-b2c034290577'::uuid])
ORDER BY b."Id";

-- Query #56739 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a4c529b-d460-105b-2ee9-2ea4c9ecba29'::uuid])
ORDER BY b."Id";

-- Query #56740 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4a4c529b-d460-105b-2ee9-2ea4c9ecba29'::uuid])
ORDER BY b."Id";

-- Query #56741 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b87f5704-5d82-91f8-998f-0cccdef7520b'::uuid])
ORDER BY b."Id";

-- Query #56742 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b87f5704-5d82-91f8-998f-0cccdef7520b'::uuid])
ORDER BY b."Id";

-- Query #56743 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30605e64-3e9a-ad7e-4126-4900bccf32a8'::uuid])
ORDER BY b."Id";

-- Query #56744 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['30605e64-3e9a-ad7e-4126-4900bccf32a8'::uuid])
ORDER BY b."Id";

-- Query #56745 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d074e23b-23de-f6d3-3832-5212d08609ab'::uuid])
ORDER BY b."Id";

-- Query #56746 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d074e23b-23de-f6d3-3832-5212d08609ab'::uuid])
ORDER BY b."Id";

-- Query #56747 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7763c9c5-7e7f-ef7e-f1de-154adb51401d'::uuid])
ORDER BY b."Id";

-- Query #56748 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7763c9c5-7e7f-ef7e-f1de-154adb51401d'::uuid])
ORDER BY b."Id";

-- Query #56749 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['348d0aa0-0c81-e42e-9c1f-87e45dacfa4a'::uuid])
ORDER BY b."Id";

-- Query #56750 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['348d0aa0-0c81-e42e-9c1f-87e45dacfa4a'::uuid])
ORDER BY b."Id";

-- Query #56751 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['246c9407-37d8-1f0f-5bd2-8c0bd282cdb7'::uuid])
ORDER BY b."Id";

-- Query #56752 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['246c9407-37d8-1f0f-5bd2-8c0bd282cdb7'::uuid])
ORDER BY b."Id";

-- Query #56753 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d1049a8-acfc-9d50-6902-444219ae25a3'::uuid])
ORDER BY b."Id";

-- Query #56754 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0d1049a8-acfc-9d50-6902-444219ae25a3'::uuid])
ORDER BY b."Id";

-- Query #56755 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7174c641-6905-e548-e4d2-5c5b72bd4975'::uuid])
ORDER BY b."Id";

-- Query #56756 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7174c641-6905-e548-e4d2-5c5b72bd4975'::uuid])
ORDER BY b."Id";

-- Query #56757 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80f1d90a-d976-b247-dcef-d1ccbe8fba66'::uuid])
ORDER BY b."Id";

-- Query #56758 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['80f1d90a-d976-b247-dcef-d1ccbe8fba66'::uuid])
ORDER BY b."Id";

-- Query #56759 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a27f6bed-d8cd-6a11-6c6f-4a906a2208ce'::uuid])
ORDER BY b."Id";

-- Query #56760 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a27f6bed-d8cd-6a11-6c6f-4a906a2208ce'::uuid])
ORDER BY b."Id";

-- Query #56761 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d9b0e73f-468c-75bf-b102-7cfc0316e95d'::uuid])
ORDER BY b."Id";

-- Query #56762 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d9b0e73f-468c-75bf-b102-7cfc0316e95d'::uuid])
ORDER BY b."Id";

-- Query #56763 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['27335311-df64-d777-8666-177fe49c207c'::uuid])
ORDER BY b."Id";

-- Query #56764 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['27335311-df64-d777-8666-177fe49c207c'::uuid])
ORDER BY b."Id";

-- Query #56765 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3ba9a09-6cf9-c55a-b606-453f0da5fb74'::uuid])
ORDER BY b."Id";

-- Query #56766 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d3ba9a09-6cf9-c55a-b606-453f0da5fb74'::uuid])
ORDER BY b."Id";

-- Query #56767 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf3adc32-8f91-13a6-7a5d-f94186afdfe6'::uuid])
ORDER BY b."Id";

-- Query #56768 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bf3adc32-8f91-13a6-7a5d-f94186afdfe6'::uuid])
ORDER BY b."Id";

-- Query #56769 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['970cb129-baaa-9fb2-0d8f-54507dea72c4'::uuid])
ORDER BY b."Id";

-- Query #56770 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['970cb129-baaa-9fb2-0d8f-54507dea72c4'::uuid])
ORDER BY b."Id";

-- Query #56771 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f75efd3-ddb6-67a6-e02c-6101d9cd9fc0'::uuid])
ORDER BY b."Id";

-- Query #56772 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4f75efd3-ddb6-67a6-e02c-6101d9cd9fc0'::uuid])
ORDER BY b."Id";

-- Query #56773 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a595f9bf-d077-f101-be53-b12f7729186e'::uuid])
ORDER BY b."Id";

-- Query #56774 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a595f9bf-d077-f101-be53-b12f7729186e'::uuid])
ORDER BY b."Id";

-- Query #56775 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fdb50e2-336e-6cad-641d-1941f84093ba'::uuid])
ORDER BY b."Id";

-- Query #56776 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6fdb50e2-336e-6cad-641d-1941f84093ba'::uuid])
ORDER BY b."Id";

-- Query #56777 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['988e890e-2fd2-412f-1f3f-cd18c26bada8'::uuid])
ORDER BY b."Id";

-- Query #56778 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['988e890e-2fd2-412f-1f3f-cd18c26bada8'::uuid])
ORDER BY b."Id";

-- Query #56779 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4e51e43-71de-cef5-a982-9f632e9e19ed'::uuid])
ORDER BY b."Id";

-- Query #56780 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f4e51e43-71de-cef5-a982-9f632e9e19ed'::uuid])
ORDER BY b."Id";

-- Query #56781 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb5721af-6b5d-a020-32ff-92db26d1f5d7'::uuid])
ORDER BY b."Id";

-- Query #56782 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eb5721af-6b5d-a020-32ff-92db26d1f5d7'::uuid])
ORDER BY b."Id";

-- Query #56783 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78aa6841-c671-35b8-053d-04f5d762e227'::uuid])
ORDER BY b."Id";

-- Query #56784 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['78aa6841-c671-35b8-053d-04f5d762e227'::uuid])
ORDER BY b."Id";

-- Query #56785 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10565359-390c-804b-98c6-18def6f26ef6'::uuid])
ORDER BY b."Id";

-- Query #56786 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['10565359-390c-804b-98c6-18def6f26ef6'::uuid])
ORDER BY b."Id";

-- Query #56787 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fecaeb1a-fe1c-cf48-494e-08f3d78a6f66'::uuid])
ORDER BY b."Id";

-- Query #56788 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fecaeb1a-fe1c-cf48-494e-08f3d78a6f66'::uuid])
ORDER BY b."Id";

-- Query #56789 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9509417-b220-255f-a791-9bc0e5654900'::uuid])
ORDER BY b."Id";

-- Query #56790 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f9509417-b220-255f-a791-9bc0e5654900'::uuid])
ORDER BY b."Id";

-- Query #56791 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4313ee31-902c-279c-8086-58d15ad3ff71'::uuid])
ORDER BY b."Id";

-- Query #56792 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4313ee31-902c-279c-8086-58d15ad3ff71'::uuid])
ORDER BY b."Id";

-- Query #56793 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6720a5d1-2b17-7549-1cca-14edabd53ea0'::uuid])
ORDER BY b."Id";

-- Query #56794 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6720a5d1-2b17-7549-1cca-14edabd53ea0'::uuid])
ORDER BY b."Id";

-- Query #56795 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4196071e-ce9d-ccd2-fa50-a64af7cc13df'::uuid])
ORDER BY b."Id";

-- Query #56796 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4196071e-ce9d-ccd2-fa50-a64af7cc13df'::uuid])
ORDER BY b."Id";

-- Query #56797 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bc22edad-02fc-b147-5380-e7972adbb1b9'::uuid])
ORDER BY b."Id";

-- Query #56798 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bc22edad-02fc-b147-5380-e7972adbb1b9'::uuid])
ORDER BY b."Id";

-- Query #56799 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48a3f4ab-31bc-014a-5362-99b39df21460'::uuid])
ORDER BY b."Id";

-- Query #56800 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['48a3f4ab-31bc-014a-5362-99b39df21460'::uuid])
ORDER BY b."Id";

-- Query #56801 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['225427e2-c107-051a-9afe-4643c0bec4b1'::uuid])
ORDER BY b."Id";

-- Query #56802 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['225427e2-c107-051a-9afe-4643c0bec4b1'::uuid])
ORDER BY b."Id";

-- Query #56803 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d7378095-7da2-9639-f51d-ea731123edfd'::uuid])
ORDER BY b."Id";

-- Query #56804 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d7378095-7da2-9639-f51d-ea731123edfd'::uuid])
ORDER BY b."Id";

-- Query #56805 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42d7f9f0-a75b-9a17-26f5-5afedc5fb3ed'::uuid])
ORDER BY b."Id";

-- Query #56806 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['42d7f9f0-a75b-9a17-26f5-5afedc5fb3ed'::uuid])
ORDER BY b."Id";

-- Query #56807 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2122f349-52c1-defc-abc9-6f87c47ce059'::uuid])
ORDER BY b."Id";

-- Query #56808 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2122f349-52c1-defc-abc9-6f87c47ce059'::uuid])
ORDER BY b."Id";

-- Query #56809 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0da2ea50-f4b4-11bd-7ad8-86a20b6d3e88'::uuid])
ORDER BY b."Id";

-- Query #56810 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0da2ea50-f4b4-11bd-7ad8-86a20b6d3e88'::uuid])
ORDER BY b."Id";

-- Query #56811 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06b17093-12e2-e247-22bd-0fc1de27f67e'::uuid])
ORDER BY b."Id";

-- Query #56812 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['06b17093-12e2-e247-22bd-0fc1de27f67e'::uuid])
ORDER BY b."Id";

-- Query #56813 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab556e04-8b58-a5c8-6a87-45eb647bc65e'::uuid])
ORDER BY b."Id";

-- Query #56814 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ab556e04-8b58-a5c8-6a87-45eb647bc65e'::uuid])
ORDER BY b."Id";

-- Query #56815 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3840fbfc-52f6-be65-a4e8-4c7a95e053f9'::uuid])
ORDER BY b."Id";

-- Query #56816 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3840fbfc-52f6-be65-a4e8-4c7a95e053f9'::uuid])
ORDER BY b."Id";

-- Query #56817 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3f39bb6b-91c1-c759-b48b-9395f468ce6e'::uuid])
ORDER BY b."Id";

-- Query #56818 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3f39bb6b-91c1-c759-b48b-9395f468ce6e'::uuid])
ORDER BY b."Id";

-- Query #56819 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c800e39-ba47-ee08-aad9-92c0728bb11f'::uuid])
ORDER BY b."Id";

-- Query #56820 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5c800e39-ba47-ee08-aad9-92c0728bb11f'::uuid])
ORDER BY b."Id";

-- Query #56821 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d6c04685-cbef-023f-0ab5-ff144db63071'::uuid])
ORDER BY b."Id";

-- Query #56822 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d6c04685-cbef-023f-0ab5-ff144db63071'::uuid])
ORDER BY b."Id";

-- Query #56823 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['650d3901-d4ce-00c2-07b3-b1d93120126d'::uuid])
ORDER BY b."Id";

-- Query #56824 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['650d3901-d4ce-00c2-07b3-b1d93120126d'::uuid])
ORDER BY b."Id";

-- Query #56825 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6730089b-3034-2527-6438-1ffc6dfb3e8b'::uuid])
ORDER BY b."Id";

-- Query #56826 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6730089b-3034-2527-6438-1ffc6dfb3e8b'::uuid])
ORDER BY b."Id";

-- Query #56827 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['16afe448-b03c-456f-e145-2b042399119a'::uuid])
ORDER BY b."Id";

-- Query #56828 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['16afe448-b03c-456f-e145-2b042399119a'::uuid])
ORDER BY b."Id";

-- Query #56829 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d34ca8f9-4bf3-223c-5c39-2fd41dc0a49e'::uuid])
ORDER BY b."Id";

-- Query #56830 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d34ca8f9-4bf3-223c-5c39-2fd41dc0a49e'::uuid])
ORDER BY b."Id";

-- Query #56831 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f26f3573-b07e-3c0e-046a-6839ce8c8e1c'::uuid])
ORDER BY b."Id";

-- Query #56832 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f26f3573-b07e-3c0e-046a-6839ce8c8e1c'::uuid])
ORDER BY b."Id";

-- Query #56833 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a1ebd161-1b68-e26f-01e7-73cbc199d406'::uuid])
ORDER BY b."Id";

-- Query #56834 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a1ebd161-1b68-e26f-01e7-73cbc199d406'::uuid])
ORDER BY b."Id";

-- Query #56835 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f16f932a-1126-0fc3-d84b-2e94bce45fa0'::uuid])
ORDER BY b."Id";

-- Query #56836 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f16f932a-1126-0fc3-d84b-2e94bce45fa0'::uuid])
ORDER BY b."Id";

-- Query #56837 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46b55330-e068-e167-8452-7a23f67d8366'::uuid])
ORDER BY b."Id";

-- Query #56838 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['46b55330-e068-e167-8452-7a23f67d8366'::uuid])
ORDER BY b."Id";

-- Query #56839 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['81d244bb-0288-1b0b-4f7f-9dda1c03d893'::uuid])
ORDER BY b."Id";

-- Query #56840 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['81d244bb-0288-1b0b-4f7f-9dda1c03d893'::uuid])
ORDER BY b."Id";

-- Query #56841 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8504098-172b-223e-aa7a-06a24801a66e'::uuid])
ORDER BY b."Id";

-- Query #56842 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a8504098-172b-223e-aa7a-06a24801a66e'::uuid])
ORDER BY b."Id";

-- Query #56843 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11cdcb6a-ae7e-f014-aac3-3589c0c4631b'::uuid])
ORDER BY b."Id";

-- Query #56844 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['11cdcb6a-ae7e-f014-aac3-3589c0c4631b'::uuid])
ORDER BY b."Id";

-- Query #56845 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4469e0ee-8794-1795-bb64-f1a9c26993e0'::uuid])
ORDER BY b."Id";

-- Query #56846 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4469e0ee-8794-1795-bb64-f1a9c26993e0'::uuid])
ORDER BY b."Id";

-- Query #56847 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a4d0d51-e2be-9821-d04e-ca2f8eb8ea43'::uuid])
ORDER BY b."Id";

-- Query #56848 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6a4d0d51-e2be-9821-d04e-ca2f8eb8ea43'::uuid])
ORDER BY b."Id";

-- Query #56849 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13b33bb8-1094-595b-3f7e-cdaaccfd9793'::uuid])
ORDER BY b."Id";

-- Query #56850 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['13b33bb8-1094-595b-3f7e-cdaaccfd9793'::uuid])
ORDER BY b."Id";

-- Query #56851 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid])
ORDER BY b."Id";

-- Query #56852 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid])
ORDER BY b."Id";

-- Query #56853 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid])
ORDER BY b."Id";

-- Query #56854 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['048daa9d-0345-62e6-cdff-288267bdfd30'::uuid])
ORDER BY b."Id";

-- Query #56855 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['048daa9d-0345-62e6-cdff-288267bdfd30'::uuid])
ORDER BY b."Id";

-- Query #56856 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid])
ORDER BY b."Id";

-- Query #56857 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid])
ORDER BY b."Id";

-- Query #56858 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid])
ORDER BY b."Id";

-- Query #56859 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c24d42a4-bfb3-954e-c7d0-05f15997d979'::uuid])
ORDER BY b."Id";

-- Query #56860 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c24d42a4-bfb3-954e-c7d0-05f15997d979'::uuid])
ORDER BY b."Id";

-- Query #56861 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad638727-f053-df80-8a63-e965681fc5c1'::uuid])
ORDER BY b."Id";

-- Query #56862 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ad638727-f053-df80-8a63-e965681fc5c1'::uuid])
ORDER BY b."Id";

-- Query #56863 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['57b334a1-5ff7-d0cf-ac14-723d389fbc3a'::uuid])
ORDER BY b."Id";

-- Query #56864 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['57b334a1-5ff7-d0cf-ac14-723d389fbc3a'::uuid])
ORDER BY b."Id";

-- Query #56865 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bfa2fc7d-9169-ea0c-0525-e290bc9fd928'::uuid])
ORDER BY b."Id";

-- Query #56866 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bfa2fc7d-9169-ea0c-0525-e290bc9fd928'::uuid])
ORDER BY b."Id";

-- Query #56867 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #56868 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #56869 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ff89436-4807-b4cb-6d15-067ae482e8b2'::uuid])
ORDER BY b."Id";

-- Query #56870 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ff89436-4807-b4cb-6d15-067ae482e8b2'::uuid])
ORDER BY b."Id";

-- Query #56871 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c01feadc-d92a-97cb-4f20-a6d9a4b9bf5e'::uuid])
ORDER BY b."Id";

-- Query #56872 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c01feadc-d92a-97cb-4f20-a6d9a4b9bf5e'::uuid])
ORDER BY b."Id";

-- Query #56873 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['91e008cb-c3fe-1cfb-e21a-991486b37a72'::uuid])
ORDER BY b."Id";

-- Query #56874 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['91e008cb-c3fe-1cfb-e21a-991486b37a72'::uuid])
ORDER BY b."Id";

-- Query #56875 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['89fdd5ce-6409-a69a-1354-4b3d36645c9c'::uuid])
ORDER BY b."Id";

-- Query #56876 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['89fdd5ce-6409-a69a-1354-4b3d36645c9c'::uuid])
ORDER BY b."Id";

-- Query #56877 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d852fabf-ed45-3b39-cc73-ffe58cd056c0'::uuid])
ORDER BY b."Id";

-- Query #56878 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d852fabf-ed45-3b39-cc73-ffe58cd056c0'::uuid])
ORDER BY b."Id";

-- Query #56879 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #56880 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #56881 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58e5a194-4d05-3787-66da-5e3d677f344d'::uuid])
ORDER BY b."Id";

-- Query #56882 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['58e5a194-4d05-3787-66da-5e3d677f344d'::uuid])
ORDER BY b."Id";

-- Query #56883 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid])
ORDER BY b."Id";

-- Query #56884 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid])
ORDER BY b."Id";

-- Query #56885 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid])
ORDER BY b."Id";

-- Query #56886 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f697a888-94d2-9740-2219-071df06cb2de'::uuid])
ORDER BY b."Id";

-- Query #56887 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f697a888-94d2-9740-2219-071df06cb2de'::uuid])
ORDER BY b."Id";

-- Query #56888 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c886bf3e-0636-1ae5-dba4-b8479ddb1fb4'::uuid])
ORDER BY b."Id";

-- Query #56889 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c886bf3e-0636-1ae5-dba4-b8479ddb1fb4'::uuid])
ORDER BY b."Id";

-- Query #56890 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90b14806-5faa-7dba-5cce-b5cddad164e1'::uuid])
ORDER BY b."Id";

-- Query #56891 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['90b14806-5faa-7dba-5cce-b5cddad164e1'::uuid])
ORDER BY b."Id";

-- Query #56892 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['353bdd4a-be08-eb27-1adb-b58670610240'::uuid])
ORDER BY b."Id";

-- Query #56893 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['353bdd4a-be08-eb27-1adb-b58670610240'::uuid])
ORDER BY b."Id";

-- Query #56894 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['246cb985-2e1a-1988-b54c-b64bb3a7550a'::uuid])
ORDER BY b."Id";

-- Query #56895 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['246cb985-2e1a-1988-b54c-b64bb3a7550a'::uuid])
ORDER BY b."Id";

-- Query #56896 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid])
ORDER BY b."Id";

-- Query #56897 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid])
ORDER BY b."Id";

-- Query #56898 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid])
ORDER BY b."Id";

-- Query #56899 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0880b39e-c0e1-1f04-ac0d-d1eca4eff409'::uuid])
ORDER BY b."Id";

-- Query #56900 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0880b39e-c0e1-1f04-ac0d-d1eca4eff409'::uuid])
ORDER BY b."Id";

-- Query #56901 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid])
ORDER BY b."Id";

-- Query #56902 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid])
ORDER BY b."Id";

-- Query #56903 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid])
ORDER BY b."Id";

-- Query #56904 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5fdcdbf5-2b89-a90f-5aef-a3b99587fed8'::uuid])
ORDER BY b."Id";

-- Query #56905 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5fdcdbf5-2b89-a90f-5aef-a3b99587fed8'::uuid])
ORDER BY b."Id";

-- Query #56906 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3f8ac6c2-7ecd-a48c-0312-18739a59270a'::uuid])
ORDER BY b."Id";

-- Query #56907 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3f8ac6c2-7ecd-a48c-0312-18739a59270a'::uuid])
ORDER BY b."Id";

-- Query #56908 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5a120425-c496-7e6a-d024-fb1786032e69'::uuid])
ORDER BY b."Id";

-- Query #56909 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5a120425-c496-7e6a-d024-fb1786032e69'::uuid])
ORDER BY b."Id";

-- Query #56910 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d8cd58e8-4664-5299-274e-fd356ae5e2cd'::uuid])
ORDER BY b."Id";

-- Query #56911 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d8cd58e8-4664-5299-274e-fd356ae5e2cd'::uuid])
ORDER BY b."Id";

-- Query #56912 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e0dec68-943f-86ce-7d45-1cdf64378749'::uuid])
ORDER BY b."Id";

-- Query #56913 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8e0dec68-943f-86ce-7d45-1cdf64378749'::uuid])
ORDER BY b."Id";

-- Query #56914 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4882a658-970f-3705-dda4-eee08e2642c2'::uuid])
ORDER BY b."Id";

-- Query #56915 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4882a658-970f-3705-dda4-eee08e2642c2'::uuid])
ORDER BY b."Id";

-- Query #56916 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5331f2b-e1bd-0e22-ae89-44e3f5201b3a'::uuid])
ORDER BY b."Id";

-- Query #56917 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b5331f2b-e1bd-0e22-ae89-44e3f5201b3a'::uuid])
ORDER BY b."Id";

-- Query #56918 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efd921e5-fc93-d652-5983-65cd6765508d'::uuid])
ORDER BY b."Id";

-- Query #56919 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['efd921e5-fc93-d652-5983-65cd6765508d'::uuid])
ORDER BY b."Id";

-- Query #56920 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1aa9920e-044c-e412-606a-9f7057fa2d4c'::uuid])
ORDER BY b."Id";

-- Query #56921 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1aa9920e-044c-e412-606a-9f7057fa2d4c'::uuid])
ORDER BY b."Id";

-- Query #56922 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid])
ORDER BY b."Id";

-- Query #56923 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid])
ORDER BY b."Id";

-- Query #56924 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid])
ORDER BY b."Id";

-- Query #56925 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['370aaae1-482f-4b1a-f24a-c6c9269b29f8'::uuid])
ORDER BY b."Id";

-- Query #56926 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['370aaae1-482f-4b1a-f24a-c6c9269b29f8'::uuid])
ORDER BY b."Id";

-- Query #56927 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fdda97db-bb72-a1e5-e7a6-9e10d9662152'::uuid])
ORDER BY b."Id";

-- Query #56928 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fdda97db-bb72-a1e5-e7a6-9e10d9662152'::uuid])
ORDER BY b."Id";

-- Query #56929 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #56930 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07cfcadb-4b69-65ac-5c11-db7ce84dc693'::uuid])
ORDER BY b."Id";

-- Query #56931 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['07cfcadb-4b69-65ac-5c11-db7ce84dc693'::uuid])
ORDER BY b."Id";

-- Query #56932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3b1d272-e873-76aa-58ee-c5b9d415f196'::uuid])
ORDER BY b."Id";

-- Query #56933 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c3b1d272-e873-76aa-58ee-c5b9d415f196'::uuid])
ORDER BY b."Id";

-- Query #56934 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['83a00e27-6832-5189-d6aa-2fb03c1cfc45'::uuid])
ORDER BY b."Id";

-- Query #56935 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['83a00e27-6832-5189-d6aa-2fb03c1cfc45'::uuid])
ORDER BY b."Id";

-- Query #56936 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d40a5522-61d3-2fd9-6d61-c8809fc40bbe'::uuid])
ORDER BY b."Id";

-- Query #56937 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d40a5522-61d3-2fd9-6d61-c8809fc40bbe'::uuid])
ORDER BY b."Id";

-- Query #56938 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['747d96ba-fd8e-3b8d-254c-85b4e73686ee'::uuid])
ORDER BY b."Id";

-- Query #56939 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['747d96ba-fd8e-3b8d-254c-85b4e73686ee'::uuid])
ORDER BY b."Id";

-- Query #56940 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0999d222-b41b-f75d-c06a-1f8ab84f9d60'::uuid])
ORDER BY b."Id";

-- Query #56941 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0999d222-b41b-f75d-c06a-1f8ab84f9d60'::uuid])
ORDER BY b."Id";

-- Query #56942 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid])
ORDER BY b."Id";

-- Query #56943 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid])
ORDER BY b."Id";

-- Query #56944 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid])
ORDER BY b."Id";

-- Query #56945 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38666da5-1af8-d2aa-f5b2-b984753aeb29'::uuid])
ORDER BY b."Id";

-- Query #56946 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['38666da5-1af8-d2aa-f5b2-b984753aeb29'::uuid])
ORDER BY b."Id";

-- Query #56947 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a7828a87-6279-b229-5dc1-15d2db505402'::uuid])
ORDER BY b."Id";

-- Query #56948 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a7828a87-6279-b229-5dc1-15d2db505402'::uuid])
ORDER BY b."Id";

-- Query #56949 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #56950 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #56951 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #56952 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d9474a16-f843-eff4-849a-dfc72381f571'::uuid])
ORDER BY b."Id";

-- Query #56953 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d9474a16-f843-eff4-849a-dfc72381f571'::uuid])
ORDER BY b."Id";

-- Query #56954 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['482e5cf7-033c-445a-00c8-77d119afaf74'::uuid])
ORDER BY b."Id";

-- Query #56955 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['482e5cf7-033c-445a-00c8-77d119afaf74'::uuid])
ORDER BY b."Id";

-- Query #56956 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc71f03e-d8c6-b808-fd47-3adfd33fc564'::uuid])
ORDER BY b."Id";

-- Query #56957 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cc71f03e-d8c6-b808-fd47-3adfd33fc564'::uuid])
ORDER BY b."Id";

-- Query #56958 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4c86c9e-c013-42ff-8028-9dce680d4099'::uuid])
ORDER BY b."Id";

-- Query #56959 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f4c86c9e-c013-42ff-8028-9dce680d4099'::uuid])
ORDER BY b."Id";

-- Query #56960 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f4c86c9e-c013-42ff-8028-9dce680d4099'::uuid])
ORDER BY b."Id";

-- Query #56961 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['08b9fb77-b6c9-3b6a-7f34-cc8a8671d2bb'::uuid])
ORDER BY b."Id";

-- Query #56962 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['08b9fb77-b6c9-3b6a-7f34-cc8a8671d2bb'::uuid])
ORDER BY b."Id";

-- Query #56963 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a05af6a-af19-372f-39cc-8f1e936e5506'::uuid])
ORDER BY b."Id";

-- Query #56964 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8a05af6a-af19-372f-39cc-8f1e936e5506'::uuid])
ORDER BY b."Id";

-- Query #56965 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ba05b03-473f-4a35-e594-0bd7de94b2a7'::uuid])
ORDER BY b."Id";

-- Query #56966 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4ba05b03-473f-4a35-e594-0bd7de94b2a7'::uuid])
ORDER BY b."Id";

-- Query #56967 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5946369e-1746-462f-27aa-7907788540b2'::uuid])
ORDER BY b."Id";

-- Query #56968 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5946369e-1746-462f-27aa-7907788540b2'::uuid])
ORDER BY b."Id";

-- Query #56969 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e47cc01b-8078-c957-11b2-51dbffe4f641'::uuid])
ORDER BY b."Id";

-- Query #56970 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e47cc01b-8078-c957-11b2-51dbffe4f641'::uuid])
ORDER BY b."Id";

-- Query #56971 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['921f2fb2-3828-3738-2a0b-4850f63d6aca'::uuid])
ORDER BY b."Id";

-- Query #56972 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['921f2fb2-3828-3738-2a0b-4850f63d6aca'::uuid])
ORDER BY b."Id";

-- Query #56973 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['52b66c54-fb7d-be37-cf9c-ebafbccea776'::uuid])
ORDER BY b."Id";

-- Query #56974 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['52b66c54-fb7d-be37-cf9c-ebafbccea776'::uuid])
ORDER BY b."Id";

-- Query #56975 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3732ef72-031c-e9de-f94f-31583e3704e6'::uuid])
ORDER BY b."Id";

-- Query #56976 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3732ef72-031c-e9de-f94f-31583e3704e6'::uuid])
ORDER BY b."Id";

-- Query #56977 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['31f63440-3e66-0d03-8e48-af685fa13bbe'::uuid])
ORDER BY b."Id";

-- Query #56978 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['31f63440-3e66-0d03-8e48-af685fa13bbe'::uuid])
ORDER BY b."Id";

-- Query #56979 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid])
ORDER BY b."Id";

-- Query #56980 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid])
ORDER BY b."Id";

-- Query #56981 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid])
ORDER BY b."Id";

-- Query #56982 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0899e7ce-790a-4bfd-599d-cd3e8270035d'::uuid])
ORDER BY b."Id";

-- Query #56983 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0899e7ce-790a-4bfd-599d-cd3e8270035d'::uuid])
ORDER BY b."Id";

-- Query #56984 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid])
ORDER BY b."Id";

-- Query #56985 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid])
ORDER BY b."Id";

-- Query #56986 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid])
ORDER BY b."Id";

-- Query #56987 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid])
ORDER BY b."Id";

-- Query #56988 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid])
ORDER BY b."Id";

-- Query #56989 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #56990 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #56991 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #56992 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9a7de40-e267-9e03-dd24-d9655b3cfff3'::uuid])
ORDER BY b."Id";

-- Query #56993 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9a7de40-e267-9e03-dd24-d9655b3cfff3'::uuid])
ORDER BY b."Id";

-- Query #56994 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #56995 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #56996 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #56997 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid
ORDER BY m."StreamIndex";

-- Query #56998 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #56999 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid;

-- Query #57000 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #57001 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #57002 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #57003 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #57004 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #57005 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #57006 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid
ORDER BY m."StreamIndex";

-- Query #57007 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid;

-- Query #57008 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid;

-- Query #57009 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid
ORDER BY m."StreamIndex";

-- Query #57010 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid;

-- Query #57011 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid;

-- Query #57012 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid
ORDER BY m."StreamIndex";

-- Query #57013 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid;

-- Query #57014 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid;

-- Query #57015 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid
ORDER BY m."StreamIndex";

-- Query #57016 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid;

-- Query #57017 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '7868f63e-b537-65d0-13d9-6605a84ae098'::uuid;

-- Query #57018 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid
ORDER BY m."StreamIndex";

-- Query #57019 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid;

-- Query #57020 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid;

-- Query #57021 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid
ORDER BY m."StreamIndex";

-- Query #57022 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid;

-- Query #57023 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid;

-- Query #57024 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid
ORDER BY m."StreamIndex";

-- Query #57025 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid;

-- Query #57026 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid;

-- Query #57027 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid
ORDER BY m."StreamIndex";

-- Query #57028 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid;

-- Query #57029 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'fefda570-9acc-fcaa-06bd-33a873f85385'::uuid;

-- Query #57030 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid
ORDER BY m."StreamIndex";

-- Query #57031 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid;

-- Query #57032 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid;

-- Query #57033 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid
ORDER BY m."StreamIndex";

-- Query #57034 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid;

-- Query #57035 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid;

-- Query #57036 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid
ORDER BY m."StreamIndex";

-- Query #57037 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid;

-- Query #57038 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid;

-- Query #57039 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid
ORDER BY m."StreamIndex";

-- Query #57040 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid;

-- Query #57041 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '02870863-4794-06d6-eca4-f143275cd308'::uuid;

-- Query #57042 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '68aaeb02-13bb-776d-4469-a44df0553677'::uuid
ORDER BY m."StreamIndex";

-- Query #57043 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '68aaeb02-13bb-776d-4469-a44df0553677'::uuid;

-- Query #57044 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '68aaeb02-13bb-776d-4469-a44df0553677'::uuid;

-- Query #57045 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '68aaeb02-13bb-776d-4469-a44df0553677'::uuid
ORDER BY m."StreamIndex";

-- Query #57046 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '68aaeb02-13bb-776d-4469-a44df0553677'::uuid;

-- Query #57047 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '68aaeb02-13bb-776d-4469-a44df0553677'::uuid;

-- Query #57048 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #57049 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57050 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57051 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #57052 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57053 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57054 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '7dc728f489023d1fee5ffaca898fb1b0';

-- Query #57055 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid
ORDER BY m."StreamIndex";

-- Query #57056 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #57057 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '84f4156e0495840afdd4844bf91fba18';

-- Query #57058 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #57059 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid
ORDER BY m."StreamIndex";

-- Query #57060 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0c1954cf2d291cb791e2104712d399f7';

-- Query #57061 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #57062 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #57063 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a32a8dead8322eb000d7342898ebeeb0';

-- Query #57064 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #57065 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid
ORDER BY m."StreamIndex";

-- Query #57066 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #57067 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #57068 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'fbf0d8d0e2d34ea37d0b7352569ffbc1';

-- Query #57069 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #57070 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid
ORDER BY m."StreamIndex";

-- Query #57071 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #57072 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '1fd93e29a80a8140967f20b332fac6be';

-- Query #57073 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #57074 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'e81fefeb9a1d548a67e9dfe837512296';

-- Query #57075 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid
ORDER BY m."StreamIndex";

-- Query #57076 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #57077 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '070e55527183cfd69699d7c720976cc6';

-- Query #57078 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b91ac0e264e7402721b58d31856c7d07';

-- Query #57079 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #57080 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid
ORDER BY m."StreamIndex";

-- Query #57081 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '5bdcfe8be3a75f10efa0586f78c88275';

-- Query #57082 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #57083 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid
ORDER BY m."StreamIndex";

-- Query #57084 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #57085 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #57086 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid
ORDER BY m."StreamIndex";

-- Query #57087 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #57088 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #57089 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid
ORDER BY m."StreamIndex";

-- Query #57090 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #57091 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #57092 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid
ORDER BY m."StreamIndex";

-- Query #57093 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '3d4f77cc-ae09-c848-6605-302d7ccac992'::uuid;

-- Query #57094 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #57095 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #57096 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid
ORDER BY m."StreamIndex";

-- Query #57097 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #57098 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid
ORDER BY m."StreamIndex";

-- Query #57099 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #57100 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #57101 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid
ORDER BY m."StreamIndex";

-- Query #57102 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #57103 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #57104 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid
ORDER BY m."StreamIndex";

-- Query #57105 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '02f3388c-fbee-d1b6-768c-36c6f509bc1d'::uuid;

-- Query #57106 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #57107 | logged_duration_ms=2 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #57108 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'defff2c61a2156b01a7c320a681f95e0';

-- Query #57109 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid
ORDER BY m."StreamIndex";

-- Query #57110 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #57111 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'ee9ddd2a848848d0dc4e919dd72a046d';

-- Query #57112 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #57113 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid
ORDER BY m."StreamIndex";

-- Query #57114 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #57115 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '6f5308a6c82d6f1b68ddb27b5b355704';

-- Query #57116 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #57117 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'ad713fedd097f6c23bc74d9b76e608f4';

-- Query #57118 | logged_duration_ms=34 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid
ORDER BY m."StreamIndex";

-- Query #57119 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #57120 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #57121 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #57122 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid
ORDER BY m."StreamIndex";

-- Query #57123 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #57124 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #57125 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b7c5b5434e33a5dee49887f00b152aaf';

-- Query #57126 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #57127 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid
ORDER BY m."StreamIndex";

-- Query #57128 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #57129 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #57130 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '917b95173af31eefe3a4418161d672f7';

-- Query #57131 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid
ORDER BY m."StreamIndex";

-- Query #57132 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #57133 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #57134 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #57135 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '990d3c58f72d6c6c6d4d0550fa1d05e4';

-- Query #57136 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #57137 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4817c64700c062f4ee2810e5753172ea';

-- Query #57138 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid
ORDER BY m."StreamIndex";

-- Query #57139 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '09aab912e308b806252298ce915c9f9c';

-- Query #57140 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #57141 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #57142 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #57143 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #57144 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'eff532640633d1dd6c6a1e01d5faa946';

-- Query #57145 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid
ORDER BY m."StreamIndex";

-- Query #57146 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '7f12af9ab2adba21082a763ba1f7f59a';

-- Query #57147 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #57148 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #57149 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a5f8209a19f94fe6d61b67d7685e62ee';

-- Query #57150 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid
ORDER BY m."StreamIndex";

-- Query #57151 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #57152 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid
ORDER BY m."StreamIndex";

-- Query #57153 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #57154 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #57155 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #57156 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #57157 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3';

-- Query #57158 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #57159 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid
ORDER BY m."StreamIndex";

-- Query #57160 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #57161 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid
ORDER BY m."StreamIndex";

-- Query #57162 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #57163 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5ce3eb32-59c8-5369-6b27-c1caad584180'::uuid;

-- Query #57164 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #57165 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8acf89e6fef723b8ca1c493423aaaa53';

-- Query #57166 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid
ORDER BY m."StreamIndex";

-- Query #57167 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #57168 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #57169 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid
ORDER BY m."StreamIndex";

-- Query #57170 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #57171 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #57172 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid
ORDER BY m."StreamIndex";

-- Query #57173 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #57174 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #57175 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid
ORDER BY m."StreamIndex";

-- Query #57176 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #57177 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #57178 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid
ORDER BY m."StreamIndex";

-- Query #57179 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4ff3db3d735044c18e2668ea7a322695';

-- Query #57180 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #57181 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #57182 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid
ORDER BY m."StreamIndex";

-- Query #57183 | logged_duration_ms=11 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #57184 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #57185 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #57186 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #57187 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49';

-- Query #57188 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8e4ac1a42fb77d729b2a9452b2b6d7d6';

-- Query #57189 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid
ORDER BY m."StreamIndex";

-- Query #57190 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #57191 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #57192 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #57193 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #57194 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3a4abcba13dca5ab2464a2677f08510d';

-- Query #57195 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #57196 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid
ORDER BY m."StreamIndex";

-- Query #57197 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid
ORDER BY m."StreamIndex";

-- Query #57198 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #57199 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #57200 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #57201 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #57202 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #57203 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #57204 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid
ORDER BY m."StreamIndex";

-- Query #57205 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #57206 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b7c5b5434e33a5dee49887f00b152aaf';

-- Query #57207 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid
ORDER BY m."StreamIndex";

-- Query #57208 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #57209 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '6164d8da-e427-474d-2156-bde4af3d03a9'::uuid;

-- Query #57210 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #57211 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #57212 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid
ORDER BY m."StreamIndex";

-- Query #57213 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid
ORDER BY m."StreamIndex";

-- Query #57214 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #57215 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #57216 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #57217 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #57218 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #57219 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0dfe5e318778b4de16a02a1d3cb958fe';

-- Query #57220 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid
ORDER BY m."StreamIndex";

-- Query #57221 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #57222 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid
ORDER BY m."StreamIndex";

-- Query #57223 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #57224 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #57225 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '127b0554-e417-8301-65d6-4945f3ed3765'::uuid;

-- Query #57226 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #57227 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid
ORDER BY m."StreamIndex";

-- Query #57228 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #57229 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f7572de2e6c48aa2411535e2bebb56de';

-- Query #57230 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #57231 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid
ORDER BY m."StreamIndex";

-- Query #57232 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #57233 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #57234 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid
ORDER BY m."StreamIndex";

-- Query #57235 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #57236 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #57237 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #57238 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #57239 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '320ee7f2-7588-cf5a-f95b-d418cdac2f3c'::uuid;

-- Query #57240 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '425cfdd08ea5677ef18d87571eee0eb7';

-- Query #57241 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid
ORDER BY m."StreamIndex";

-- Query #57242 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid
ORDER BY m."StreamIndex";

-- Query #57243 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid;

-- Query #57244 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #57245 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid;

-- Query #57246 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #57247 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid
ORDER BY m."StreamIndex";

-- Query #57248 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid
ORDER BY m."StreamIndex";

-- Query #57249 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid;

-- Query #57250 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #57251 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'a6b6b412-3a98-1b50-bb46-eb5704479eb5'::uuid;

-- Query #57252 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '9856c203b77aa89991b6d23a9b21c519';

-- Query #57253 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5f4c1042-d8a1-3899-0244-2964c754b1b9'::uuid;

-- Query #57254 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid
ORDER BY m."StreamIndex";

-- Query #57255 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid
ORDER BY m."StreamIndex";

-- Query #57256 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid;

-- Query #57257 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #57258 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #57259 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #57260 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid;

-- Query #57261 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #57262 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'fbf0d8d0e2d34ea37d0b7352569ffbc1';

-- Query #57263 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid
ORDER BY m."StreamIndex";

-- Query #57264 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid
ORDER BY m."StreamIndex";

-- Query #57265 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid;

-- Query #57266 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #57267 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #57268 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '816796a0-ffd0-50ee-e1bb-15fbacc0567f'::uuid;

-- Query #57269 | logged_duration_ms=2 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'a3c6d048-9110-6240-5773-af67dfa37338'::uuid;

-- Query #57270 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #57271 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid
ORDER BY m."StreamIndex";

-- Query #57272 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '922734452f5141b377a24b86a11d9f34';

-- Query #57273 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid
ORDER BY m."StreamIndex";

-- Query #57274 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #57275 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid;

-- Query #57276 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #57277 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid;

-- Query #57278 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #57279 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid
ORDER BY m."StreamIndex";

-- Query #57280 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid
ORDER BY m."StreamIndex";

-- Query #57281 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #57282 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #57283 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid;

-- Query #57284 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #57285 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '4a7bdeb3-efd1-0001-a0c7-edaf060e2680'::uuid;

-- Query #57286 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '09d8419b-574b-5e64-ab61-4339d3d30b50'::uuid;

-- Query #57287 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b6169fe12bb8ee0bc00021a117062dc5';

-- Query #57288 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid
ORDER BY m."StreamIndex";

-- Query #57289 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid;

-- Query #57290 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid
ORDER BY m."StreamIndex";

-- Query #57291 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #57292 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #57293 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid;

-- Query #57294 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #57295 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #57296 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid
ORDER BY m."StreamIndex";

-- Query #57297 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid;

-- Query #57298 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid
ORDER BY m."StreamIndex";

-- Query #57299 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0187d0b13a725f05f134368ea10fcd46';

-- Query #57300 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #57301 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '79c6b020-f51f-8d7c-026d-5ce8516da825'::uuid;

-- Query #57302 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '73653806-f0de-a9a4-008d-57e00c82c693'::uuid;

-- Query #57303 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid
ORDER BY m."StreamIndex";

-- Query #57304 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid
ORDER BY m."StreamIndex";

-- Query #57305 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #57306 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid;

-- Query #57307 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #57308 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid;

-- Query #57309 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '917b95173af31eefe3a4418161d672f7';

-- Query #57310 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid
ORDER BY m."StreamIndex";

-- Query #57311 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #57312 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid
ORDER BY m."StreamIndex";

-- Query #57313 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid;

-- Query #57314 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '40fa59fd-26b5-b25c-7a45-c14f6a839276'::uuid;

-- Query #57315 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'ae98e8c6-6fdc-87eb-a2cb-ec762ba30fed'::uuid;

-- Query #57316 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '67e7d66ac804865d447c1e6373a33ef2';

-- Query #57317 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid
ORDER BY m."StreamIndex";

-- Query #57318 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid;

-- Query #57319 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f6416178f90ca8f572780458670e9433';

-- Query #57320 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid;

-- Query #57321 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid
ORDER BY m."StreamIndex";

-- Query #57322 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '38ccad6a78ddd9f6c54be67de1cb2ded';

-- Query #57323 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid;

-- Query #57324 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid
ORDER BY m."StreamIndex";

-- Query #57325 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'ebb579ae-ea85-6676-c003-1e2dea87bcd9'::uuid;

-- Query #57326 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #57327 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #57328 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid
ORDER BY m."StreamIndex";

-- Query #57329 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid;

-- Query #57330 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid
ORDER BY m."StreamIndex";

-- Query #57331 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #57332 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid;

-- Query #57333 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '2adcc884-a8a9-407f-3731-a10c8b1d90c7'::uuid;

-- Query #57334 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid
ORDER BY m."StreamIndex";

-- Query #57335 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid;

-- Query #57336 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'c1400308-fc43-5878-231f-ac9827ea6a98'::uuid;

-- Query #57337 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '26d8f0d27821cede0875ae11abc2d327';

-- Query #57338 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid
ORDER BY m."StreamIndex";

-- Query #57339 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid;

-- Query #57340 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '364d504bc02448b9e98ea660ee23917d';

-- Query #57341 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid
ORDER BY m."StreamIndex";

-- Query #57342 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8e4ac1a42fb77d729b2a9452b2b6d7d6';

-- Query #57343 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid;

-- Query #57344 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #57345 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid
ORDER BY m."StreamIndex";

-- Query #57346 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid;

-- Query #57347 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #57348 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid
ORDER BY m."StreamIndex";

-- Query #57349 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'b897c4d0-57dd-73b5-5bd5-aeb5a8a4e1f2'::uuid;

-- Query #57350 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #57351 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '71be69b4-d19f-e5c3-6acd-76bfac263d07'::uuid;

-- Query #57352 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid
ORDER BY m."StreamIndex";

-- Query #57353 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid;

-- Query #57354 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4a622297c059873ca138587d5b47766a';

-- Query #57355 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid;

-- Query #57356 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid
ORDER BY m."StreamIndex";

-- Query #57357 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid;

-- Query #57358 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #57359 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'dcc067f7-b2bd-38ec-187d-4e46782815e2'::uuid;

-- Query #57360 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #57361 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #57362 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid
ORDER BY m."StreamIndex";

-- Query #57363 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid
ORDER BY m."StreamIndex";

-- Query #57364 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #57365 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid;

-- Query #57366 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #57367 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid;

-- Query #57368 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid
ORDER BY m."StreamIndex";

-- Query #57369 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid
ORDER BY m."StreamIndex";

-- Query #57370 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #57371 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid;

-- Query #57372 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '9f068852-52ff-e2db-ab57-bb3aa1946705'::uuid;

-- Query #57373 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '1ee08c13-04cf-7a44-a5c5-4197558c9818'::uuid;

-- Query #57374 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid
ORDER BY m."StreamIndex";

-- Query #57375 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '65007c97dfa56125b4137dadcc66ee70';

-- Query #57376 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid;

-- Query #57377 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid;

-- Query #57378 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid
ORDER BY m."StreamIndex";

-- Query #57379 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid;

-- Query #57380 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'd1b997f9-e591-b6e4-ca43-76dd90254aad'::uuid;

-- Query #57381 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '7fe9249fefa0517bb50729381afb52ec';

-- Query #57382 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid
ORDER BY m."StreamIndex";

-- Query #57383 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid;

-- Query #57384 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #57385 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #57386 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid;

-- Query #57387 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4817c64700c062f4ee2810e5753172ea';

-- Query #57388 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid
ORDER BY m."StreamIndex";

-- Query #57389 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid
ORDER BY m."StreamIndex";

-- Query #57390 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid;

-- Query #57391 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #57392 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '401605ef-8891-b2b4-aab9-a04a566ae133'::uuid;

-- Query #57393 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #57394 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid
ORDER BY m."StreamIndex";

-- Query #57395 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid
ORDER BY m."StreamIndex";

-- Query #57396 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #57397 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid;

-- Query #57398 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'f649f3e7-a487-3180-2c26-733be398a6d0'::uuid;

-- Query #57399 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid;

-- Query #57400 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid
ORDER BY m."StreamIndex";

-- Query #57401 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid
ORDER BY m."StreamIndex";

-- Query #57402 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #57403 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid;

-- Query #57404 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #57405 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'a44a6e5c-3f8c-21f0-61a8-830b9cab0472'::uuid;

-- Query #57406 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid
ORDER BY m."StreamIndex";

-- Query #57407 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #57408 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid
ORDER BY m."StreamIndex";

-- Query #57409 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid;

-- Query #57410 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '6e6e3536-a38f-994f-dc83-a721abacdd30'::uuid;

-- Query #57411 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid;

-- Query #57412 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid
ORDER BY m."StreamIndex";

-- Query #57413 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid;

-- Query #57414 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'c5eb3875-ca17-6724-954d-27ff2af3a82e'::uuid;

-- Query #57415 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid
ORDER BY m."StreamIndex";

-- Query #57416 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid;

-- Query #57417 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid;

-- Query #57418 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid
ORDER BY m."StreamIndex";

-- Query #57419 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid;

-- Query #57420 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '2e7e6799-af97-0a8f-0cfc-729820337cc7'::uuid;

-- Query #57421 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid
ORDER BY m."StreamIndex";

-- Query #57422 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid;

-- Query #57423 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid;

-- Query #57424 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid
ORDER BY m."StreamIndex";

-- Query #57425 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid;

-- Query #57426 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'bd971f66-8cc8-71ad-8737-0ca48e2a30fd'::uuid;

-- Query #57427 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid
ORDER BY m."StreamIndex";

-- Query #57428 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid;

-- Query #57429 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid;

-- Query #57430 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid
ORDER BY m."StreamIndex";

-- Query #57431 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid;

-- Query #57432 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '466f1e77-dddb-d391-98ae-b9297e8e452d'::uuid;

-- Query #57433 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid
ORDER BY m."StreamIndex";

-- Query #57434 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid;

-- Query #57435 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid;

-- Query #57436 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid
ORDER BY m."StreamIndex";

-- Query #57437 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid;

-- Query #57438 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '75e3fb63-0132-7395-44e2-8bb59e3676b4'::uuid;

-- Query #57439 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid
ORDER BY m."StreamIndex";

-- Query #57440 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid;

-- Query #57441 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid;

-- Query #57442 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid
ORDER BY m."StreamIndex";

-- Query #57443 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid;

-- Query #57444 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'd9036d94-a33f-dd6f-8115-f9089454465d'::uuid;

-- Query #57445 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid
ORDER BY m."StreamIndex";

-- Query #57446 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid;

-- Query #57447 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid;

-- Query #57448 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid
ORDER BY m."StreamIndex";

-- Query #57449 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid;

-- Query #57450 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '5325f024-0ca4-3307-4a50-b502c84249d8'::uuid;

-- Query #57451 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid
ORDER BY m."StreamIndex";

-- Query #57452 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid;

-- Query #57453 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid;

-- Query #57454 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid
ORDER BY m."StreamIndex";

-- Query #57455 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid;

-- Query #57456 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '8868cf6a-45c5-8a65-5ac1-647cc71764ba'::uuid;

-- Query #57457 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid
ORDER BY m."StreamIndex";

-- Query #57458 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid;

-- Query #57459 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid;

-- Query #57460 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid
ORDER BY m."StreamIndex";

-- Query #57461 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid;

-- Query #57462 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '4be88b52-46ab-fe8c-2a38-a3ef7c48e07a'::uuid;

-- Query #57463 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid
ORDER BY m."StreamIndex";

-- Query #57464 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid;

-- Query #57465 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid;

-- Query #57466 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid
ORDER BY m."StreamIndex";

-- Query #57467 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid;

-- Query #57468 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '64b696b2-6afa-e1a5-5ac9-831a020897fe'::uuid;

-- Query #57469 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid
ORDER BY m."StreamIndex";

-- Query #57470 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid;

-- Query #57471 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid;

-- Query #57472 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid
ORDER BY m."StreamIndex";

-- Query #57473 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid;

-- Query #57474 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'd3a76390-ad8f-ceae-b340-b3f30b455ea9'::uuid;

-- Query #57475 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid
ORDER BY m."StreamIndex";

-- Query #57476 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid;

-- Query #57477 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid;

-- Query #57478 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid
ORDER BY m."StreamIndex";

-- Query #57479 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid;

-- Query #57480 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'cc57da90-2ca0-b19e-ae9b-8d12d84f978c'::uuid;

-- Query #57481 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid
ORDER BY m."StreamIndex";

-- Query #57482 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid;

-- Query #57483 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid;

-- Query #57484 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid
ORDER BY m."StreamIndex";

-- Query #57485 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid;

-- Query #57486 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '3ba6ddce-5369-2c87-a05e-b8febd3f885e'::uuid;

-- Query #57487 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid
ORDER BY m."StreamIndex";

-- Query #57488 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid;

-- Query #57489 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid;

-- Query #57490 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid
ORDER BY m."StreamIndex";

-- Query #57491 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid;

-- Query #57492 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '170309ed-44b2-2304-1e67-a8a240db1881'::uuid;

-- Query #57493 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid
ORDER BY m."StreamIndex";

-- Query #57494 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid;

-- Query #57495 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid;

-- Query #57496 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid
ORDER BY m."StreamIndex";

-- Query #57497 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid;

-- Query #57498 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '7bc07eb9-71af-de2b-bc63-ef7f2b792e58'::uuid;

-- Query #57499 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid
ORDER BY m."StreamIndex";

-- Query #57500 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid;

-- Query #57501 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid;

-- Query #57502 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid
ORDER BY m."StreamIndex";

-- Query #57503 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid;

-- Query #57504 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '50d59b00-7e98-445c-2a21-26d864cec097'::uuid;

-- Query #57505 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid
ORDER BY m."StreamIndex";

-- Query #57506 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid;

-- Query #57507 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid;

-- Query #57508 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid
ORDER BY m."StreamIndex";

-- Query #57509 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid;

-- Query #57510 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '36ee4ef3-7cfc-65f3-3ac4-e4b28b140b24'::uuid;

-- Query #57511 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid
ORDER BY m."StreamIndex";

-- Query #57512 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid;

-- Query #57513 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid;

-- Query #57514 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid
ORDER BY m."StreamIndex";

-- Query #57515 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid;

-- Query #57516 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '7dc7d488-a3a4-f472-de59-c15e3795ec50'::uuid;

-- Query #57517 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid
ORDER BY m."StreamIndex";

-- Query #57518 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid;

-- Query #57519 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid;

-- Query #57520 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid
ORDER BY m."StreamIndex";

-- Query #57521 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid;

-- Query #57522 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '6c474434-86dc-eaf1-5e69-21c6a3b0847e'::uuid;

-- Query #57523 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid
ORDER BY m."StreamIndex";

-- Query #57524 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid;

-- Query #57525 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid;

-- Query #57526 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid
ORDER BY m."StreamIndex";

-- Query #57527 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid;

-- Query #57528 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = '43024415-b59e-37b9-dd1d-6f76fa7b0dc8'::uuid;

-- Query #57529 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid
ORDER BY m."StreamIndex";

-- Query #57530 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid;

-- Query #57531 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid;

-- Query #57532 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid
ORDER BY m."StreamIndex";

-- Query #57533 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid;

-- Query #57534 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'd0945ef6-5f7d-01d1-e0c8-7296d7fe9614'::uuid;

-- Query #57535 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57536 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57537 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57538 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57539 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57540 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57541 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57542 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57543 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57544 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57545 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57546 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57547 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57548 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57549 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57550 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57551 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57552 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57553 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57554 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57555 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57556 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57557 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57558 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57559 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57560 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57561 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57562 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57563 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57564 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57565 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57566 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57567 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57568 | logged_duration_ms=9 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:13:29.7441467Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #57569 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57570 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57571 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57572 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57573 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57574 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57575 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57576 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57577 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57578 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57579 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57580 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57581 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57582 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57583 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57584 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57585 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57586 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57587 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57588 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57589 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57590 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57591 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57592 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57593 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57594 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57595 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57596 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57597 | logged_duration_ms=10 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:14:52.1909807Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #57598 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57599 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57600 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57601 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57602 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57603 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57604 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57605 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57606 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57607 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57608 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57609 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57610 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57611 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57612 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57613 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57614 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57615 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57616 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57617 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57618 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57619 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = '0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid;

-- Query #57620 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ec5e6256-b0ad-bdc6-595d-6d1ea64d58d2'::uuid
ORDER BY m."StreamIndex";

-- Query #57621 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ec5e6256-b0ad-bdc6-595d-6d1ea64d58d2'::uuid;

-- Query #57622 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'ec5e6256-b0ad-bdc6-595d-6d1ea64d58d2'::uuid;

-- Query #57623 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'ec5e6256-b0ad-bdc6-595d-6d1ea64d58d2'::uuid
ORDER BY m."StreamIndex";

-- Query #57624 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'ec5e6256-b0ad-bdc6-595d-6d1ea64d58d2'::uuid;

-- Query #57625 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'ec5e6256-b0ad-bdc6-595d-6d1ea64d58d2'::uuid;

-- Query #57626 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49'
ORDER BY b."SortName", b."Name";

-- Query #57627 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0caa83dc-145a-77ff-d159-4bf6e7d6a6de' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57628 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4817c647-00c0-62f4-ee28-10e5753172ea' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57629 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65d9b3f6-439e-ef35-7964-594eab496683' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57630 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65007c97-dfa5-6125-b413-7dadcc66ee70' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57631 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57632 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '26d8f0d2-7821-cede-0875-ae11abc2d327' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57633 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '388e9855-5c86-3545-6e73-8a74da45a67a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57634 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bfd89e31-d8f6-32cc-838c-9c95a901d00d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57635 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5a744ba1-ccae-d7f1-f42e-50282ea81c51' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57636 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '21c57fda-7b07-0d8c-673b-c25892c10b6c' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57637 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4ff3db3d-7350-44c1-8e26-68ea7a322695' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57638 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c84ee43-c194-6fea-c840-ea8ef05b8d3e' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57639 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, 'e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, 'e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57640 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '67e7d66a-c804-865d-447c-1e6373a33ef2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57641 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57642 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95017bda-a22b-3269-68f5-b857ebca838e' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57643 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['d2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['d2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57644 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a731a5c9-5698-9dd1-8fe4-08ffac032a49' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57645 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '87b63e72-c2d0-1cf3-b5a3-8185ab03f80b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57646 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8af244bb-ee51-89b3-cd07-06218511cf8a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57647 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fbf0d8d0-e2d3-4ea3-7d0b-7352569ffbc1' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57648 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cb4ba5b1-3731-bbf4-b876-d069e120ffb0' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57649 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '917b9517-3af3-1eef-e3a4-418161d672f7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57650 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a0fe16a4-4a9f-b1fe-eb2c-a266a9263143' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57651 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b5580683-56d7-78f6-1364-3c71a93d626b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57652 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9856c203-b77a-a899-91b6-d23a9b21c519' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57653 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82', '0dc3d22c-6b03-76bb-28f9-838589c6757d') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57654 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fe0a7616-1716-f0c2-bbfc-ab0a09e427d9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57655 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('c019971a-96ce-3216-5201-c7cd1c7c9afb', 'e7fdade5-9216-5ecb-31c0-a06587aa9db4') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57656 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0af9cc08-5b7c-6ba2-c733-925ad1fa020a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57657 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1fc32fb1-1225-5038-1142-b3bbec68d1ad' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57658 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '425cfdd0-8ea5-677e-f18d-87571eee0eb7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57659 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb', 'a8784328-b2e7-c097-375d-aab560eb7e5b') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57660 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e81fefeb-9a1d-548a-67e9-dfe837512296' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57661 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('d76bf701-31bc-051b-a577-37f8dd9c1c13', 'f6ecf7fa-9262-3508-5732-cfc1e107a3ca') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57662 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '12b90cbe-75bc-aabe-c873-6fd212950702' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57663 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid, '0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid, '0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57664 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '83afa488-90fc-c2ed-d964-598f290f14c4' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57665 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('da715cca-7912-250a-35f9-f244056e77fe', '489e5bed-a13d-ade8-d89c-77e66ccfe662') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57666 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'daeae0ad-8a46-7a62-1e6d-a4312ebf5683' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57667 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7f12af9a-b2ad-ba21-082a-763ba1f7f59a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57668 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57669 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fd21a996-07a4-ddc8-5db7-ac1a96c9f7b2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57670 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57671 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '345bd57a-9627-d417-dae5-2e11290de9ea' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57672 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e60b7c31-3696-a822-1549-3078d4ba07fc' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57673 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('a734eb90-637b-3de7-36da-6e27c9115497', 'c0689efb-bd73-3337-3cf4-5871d6cb71d0', '621b86bc-b2c7-4433-9893-6578f9e6b5e8') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57674 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7cd25da4-30f8-4bea-bdde-ed5b3046f607' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57675 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('7740a050-54a4-3378-02c1-9d03c6e351a5', 'f7a77892-8190-0ebf-3cf9-063756ae7ac2') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57676 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3f14b9fd-f609-eedd-8a69-9fc96b4748d3' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57677 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e2385908-d25a-b03d-cb38-058c6942953d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57678 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, 'fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, 'fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57679 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0187d0b1-3a72-5f05-f134-368ea10fcd46' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57680 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d8590da-99cb-7b0d-aa38-0d6cd43184c5' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57681 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['4f9945dd-737a-06c1-957c-b1add48e0729'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['4f9945dd-737a-06c1-957c-b1add48e0729'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57682 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1231748-4040-f385-1976-fdc2050cd23b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57683 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('0d196c45-f22b-11f5-5331-2a1670cba21a', '6badd438-a057-1a5f-e8fc-248ea1b12216') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57684 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '50fff1d8-90c5-876e-12c8-1213a48c160f' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57685 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '818c5991-0374-5ff7-eaf5-3d3402e07570' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57686 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a32a8dea-d832-2eb0-00d7-342898ebeeb0' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57687 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57688 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6429f9a4-3413-0282-2485-688b4391581a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57689 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('c98cedad-ca96-ba35-a759-a0347090b740', 'da886991-676e-045a-0c3e-2118892af4bf') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57690 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '52e6442a-96e9-6db3-c832-9fc8ced14461' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57691 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid, '5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid, '5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57692 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '830b7464-e334-5f09-a904-9105e57bdda9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57693 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d3d85c7-847b-15c2-425e-0158d26316fa' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57694 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '491139d8-a2b9-e086-aaaf-e8acf5058be5' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57695 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '92273445-2f51-41b3-77a2-4b86a11d9f34' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57696 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('a93501c5-0fa3-0888-563b-81d495d9d796', 'a716eca8-4125-6182-f7d4-bd8b85cc8951') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57697 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f7572de2-e6c4-8aa2-4115-35e2bebb56de' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57698 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('f6c381b1-a5de-b9f0-5538-f5a4451aa813', '1a38d1f7-43e4-7282-41be-5ea935625014', '5ef2d010-f56c-1e0b-16b6-18eeb0cac514') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57699 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f8d4661b-b5c5-b547-7a50-a67fe5255cad' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57700 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '443f735b-cee5-ff24-c8a0-b962540d45e9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57701 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('adc04a9e-2d03-5631-13cb-9a7d820d4b22', '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320', '6199fb0d-8c52-23d9-abc9-d8456f2194a3') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57702 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6536c1be-6aa1-59ba-4a7c-0270acab3972' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57703 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid, '70370389-7911-027c-28bf-bf4fa68029f6'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid, '70370389-7911-027c-28bf-bf4fa68029f6'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57704 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0dfe5e31-8778-b4de-16a0-2a1d3cb958fe' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57705 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c', '98b09ba8-191b-0d72-fa27-04d1b79af846') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57706 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6c6e27d5-8186-2829-0b96-a90c818df4e2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57707 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1', 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09', '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57708 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '38558414-7881-5010-f0a0-c76b3b2e804f' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57709 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a56a96df-e0de-9049-4735-5140d238e96d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57710 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'feed0a6f-7745-6d06-35d8-d820861ca60b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57711 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('788d1451-c554-ff11-2a68-88c3002f3325', '78dacb4d-a99d-3632-4788-86217ed16824', '0a3265f3-9fe2-1c3b-df93-03ec4c51ba29') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57712 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d2cf51c-f970-16d1-555c-5c4d86947af7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57713 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dedff13e-d54c-3cf5-ef77-8c3375f3ef61' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57714 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3b59e38a-ece2-8076-e6c5-3bfeff404cf2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57715 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('59b34971-836d-7cea-77ce-3297c64050cb', '5776a4b9-3d20-2780-e377-e5552b385bbe', '3a73444d-b98f-14bd-8180-ea663d7694bf') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57716 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '392437a5-1132-53ab-8130-8734342cf3ba' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57717 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd3788f9d-c611-6a53-6bde-090b2dccc9a9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57718 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('f827d52e-e860-7474-011f-57725d01569a', 'f10922c0-84cf-0858-d2f8-32f4f53ebb1d') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57719 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '364d504b-c024-48b9-e98e-a660ee23917d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57720 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '302a8265-2a5b-bc56-29b7-6bb79eabb25c' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57721 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5bdcfe8b-e3a7-5f10-efa0-586f78c88275' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57722 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1ca3df55-8bcc-cc93-6fca-205d72f34331' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57723 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b7c5b543-4e33-a5de-e498-87f00b152aaf' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57724 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '59e0bffa-970b-9592-38c2-f8203c607073' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57725 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0501deac-922c-a7ff-0be2-551f0ab8e5aa' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57726 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('a190e624-f009-d834-5245-fffe4da46b84', '470ca82e-09df-e792-60e3-3f1bdd31d3a6', '91c8474b-4027-f502-c7ac-a19b96634375') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57727 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c47805c-ee91-a809-a520-dd0b871934a8' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57728 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57729 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'baf8dc26-e427-79bd-8e0a-7a1f4e8c31cf' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57730 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('fd13352b-58be-dfe2-89aa-099e12923a1f', '0935f256-bb9a-bd1b-4661-c791257891b7', '933f8997-4d19-e0b3-61eb-14ab52f60ee9') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57731 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2fb28876-d5f3-3aa8-eb13-eaa61d107996' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57732 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('944e34bf-74d1-a5f0-b05a-9f7a259145a2', 'a5740196-1ca2-d4bf-c88a-ad0ba19a1c77', 'fb2bcea5-c4b9-f075-421d-3b0c448855a4') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57733 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '867eaf01-aa76-9f13-451d-e4826049ca14' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57734 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('1a7cbb10-1f19-c4d4-9d05-6885025c9562', '992b438e-613f-d604-cb00-0fe615d02589', '30c48478-1699-cae8-42fd-05191ca2957a') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57735 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5e5583cd-c90d-447c-54c4-33245ce4b5ab' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57736 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5fa67db-3d54-95bb-1b18-16427f3d1b40' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57737 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'def9017d-ab44-6182-78f5-3402b0114c5a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57738 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1536970f-eaa6-1385-fe01-443949a26a22' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57739 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('90f13064-7065-a249-bfd5-5394a18cd7fb', '39ecd950-e043-31d2-baa9-26b653c1a9a5') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57740 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5158d33d-4dda-3d04-bb44-0892a1dc0f04' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57741 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57742 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ebbc5de4-7daf-ccc2-66c7-3a17bcef16e2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57743 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57744 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1cbf511-7054-c98c-b9bb-3e19279992f4' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57745 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #57746 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #57747 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #57748 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4817c64700c062f4ee2810e5753172ea';

-- Query #57749 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4ff3db3d735044c18e2668ea7a322695';

-- Query #57750 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #57751 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #57752 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #57753 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #57754 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #57755 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'fbf0d8d0e2d34ea37d0b7352569ffbc1';

-- Query #57756 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '917b95173af31eefe3a4418161d672f7';

-- Query #57757 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '9856c203b77aa89991b6d23a9b21c519';

-- Query #57758 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #57759 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #57760 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '425cfdd08ea5677ef18d87571eee0eb7';

-- Query #57761 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #57762 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #57763 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '7f12af9ab2adba21082a763ba1f7f59a';

-- Query #57764 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #57765 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #57766 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3';

-- Query #57767 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #57768 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #57769 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0187d0b13a725f05f134368ea10fcd46';

-- Query #57770 | logged_duration_ms=7 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #57771 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #57772 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '922734452f5141b377a24b86a11d9f34';

-- Query #57773 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #57774 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #57775 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f7572de2e6c48aa2411535e2bebb56de';

-- Query #57776 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f88f563-e9ed-5d68-8ce8-527a2ba38669'::uuid])
ORDER BY b."Id";

-- Query #57777 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5f88f563-e9ed-5d68-8ce8-527a2ba38669'::uuid])
ORDER BY b."Id";

-- Query #57778 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f8d4661bb5c5b5477a50a67fe5255cad';

-- Query #57779 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #57780 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #57781 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0dfe5e318778b4de16a02a1d3cb958fe';

-- Query #57782 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #57783 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #57784 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #57785 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #57786 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #57787 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b7c5b5434e33a5dee49887f00b152aaf';

-- Query #57788 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #57789 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #57790 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #57791 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #57792 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a7828a87-6279-b229-5dc1-15d2db505402'::uuid])
ORDER BY b."Id";

-- Query #57793 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a7828a87-6279-b229-5dc1-15d2db505402'::uuid])
ORDER BY b."Id";

-- Query #57794 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #57795 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #57796 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #57797 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #57798 | logged_duration_ms=5 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."ParentIndexNumber", b."IndexNumber";

-- Query #57799 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57800 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57801 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #57802 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57803 | logged_duration_ms=2 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57804 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57805 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57806 | logged_duration_ms=5 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57807 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'cca28369125c5b2a60db4f22dabd8d1e';

-- Query #57808 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4d6a2ca4fcfa2705a1cc8f75d58fb3b0';

-- Query #57809 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'e7950a7d94302e21205c2ea6dc93e848';

-- Query #57810 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'e24756f38b3d0f4dd514ef4f09655097';

-- Query #57811 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b24d0b8dbd7a647492e584af92c38bca';

-- Query #57812 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '9877a3d7632f5a3782bd7c1ce9dea78c';

-- Query #57813 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '9dbce58307f813f87df44fe31e0c1e50';

-- Query #57814 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #57815 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #57816 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4817c64700c062f4ee2810e5753172ea';

-- Query #57817 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'ed2e56fba9ab1496287ccdb9b9789be3';

-- Query #57818 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '7a2d10241ab88888b9b2dc3768429f52';

-- Query #57819 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '364d504bc02448b9e98ea660ee23917d';

-- Query #57820 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3808da1bd8c2ad722b9be8f06efb0ae2';

-- Query #57821 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '34afc3a192a204adc5368b8d1ab5c539';

-- Query #57822 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a3cdde76ee4b22ad7ff52b9f141670ef';

-- Query #57823 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57824 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '9424ad995ea2b095cc055fcecda42090';

-- Query #57825 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '47546ecdaa153010f5182fce7c0def35';

-- Query #57826 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'e09cb0ae3d58055b949ebd9c81884c5b';

-- Query #57827 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '80a500bebd5a2ff262ffd3cd4f2d5981';

-- Query #57828 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'e34d0d31aa320be216b5d59aa7b3004a';

-- Query #57829 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b558068356d778f613643c71a93d626b';

-- Query #57830 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57831 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57832 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57833 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57834 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57835 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57836 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57837 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57838 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57839 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57840 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57841 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57842 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57843 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57844 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57845 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57846 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57847 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57848 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57849 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57850 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57851 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57852 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57853 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #57854 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57855 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57856 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #57857 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57858 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57859 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57860 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57861 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49';

-- Query #57862 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49';

-- Query #57863 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49';

-- Query #57864 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49';

-- Query #57865 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57866 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #57867 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57868 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57869 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #57870 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57871 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57872 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #57873 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57874 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #57875 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57876 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #57877 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57878 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57879 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #57880 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57881 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57882 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57883 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #57884 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57885 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57886 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57887 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57888 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57889 | logged_duration_ms=22 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:16:31.8170512Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #57890 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57891 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57892 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57893 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57894 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57895 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57896 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57897 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57898 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57899 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57900 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57901 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57902 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57903 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57904 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57905 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57906 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57907 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57908 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57909 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57910 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57911 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57912 | logged_duration_ms=3 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57913 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57914 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57915 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57916 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57917 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57918 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57919 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57920 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57921 | logged_duration_ms=3 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57922 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57923 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57924 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57925 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57926 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57927 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57928 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57929 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57930 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57931 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57932 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57933 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57934 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57935 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57936 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57937 | logged_duration_ms=25 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:18:52.1814622Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #57938 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57939 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57940 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57941 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57942 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57943 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57944 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57945 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57946 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57947 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57948 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57949 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57950 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57951 | logged_duration_ms=9 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:19:31.8393691Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #57952 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57953 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57954 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57955 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57956 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57957 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57958 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57959 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57960 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57961 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57962 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57963 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57964 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57965 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57966 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57967 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57968 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57969 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57970 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57971 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57972 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57973 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57974 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57975 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57976 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57977 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57978 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57979 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57980 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57981 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57982 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57983 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57984 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57985 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57986 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57987 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57988 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57989 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57990 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57991 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57992 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57993 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57994 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57995 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57996 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57997 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57998 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #57999 | logged_duration_ms=26 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:21:52.1942618Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #58000 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58001 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58002 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58003 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58004 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58005 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58006 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58007 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58008 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58009 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58010 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58011 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58012 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58013 | logged_duration_ms=24 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:22:31.8622185Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #58014 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58015 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58016 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58017 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58018 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58019 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58020 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58021 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58022 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58023 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58024 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58025 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58026 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58027 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58028 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58029 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58030 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58031 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58032 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58033 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58034 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58035 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58036 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58037 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58038 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58039 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58040 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58041 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58042 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58043 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58044 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58045 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58046 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58047 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58048 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58049 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58050 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58051 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58052 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58053 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58054 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58055 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58056 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58057 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58058 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58059 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58060 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58061 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58062 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58063 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58064 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58065 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58066 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58067 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58068 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58069 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58070 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58071 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58072 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58073 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58074 | logged_duration_ms=32 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:25:31.9337439Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #58075 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58076 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58077 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58078 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58079 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58080 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58081 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58082 | logged_duration_ms=25 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:25:52.1814234Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #58083 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58084 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58085 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58086 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58087 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58088 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58089 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58090 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58091 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58092 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58093 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58094 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58095 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58096 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58097 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58098 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58099 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58100 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58101 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58102 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58103 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58104 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58105 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58106 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58107 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58108 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58109 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58110 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58111 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58112 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58113 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58114 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58115 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58116 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58117 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58118 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58119 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58120 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58121 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58122 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58123 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58124 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58125 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58126 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58127 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58128 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58129 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58130 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58131 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58132 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58133 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58134 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58135 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58136 | logged_duration_ms=13 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:28:31.9668678Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #58137 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58138 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58139 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58140 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58141 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58142 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58143 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58144 | logged_duration_ms=9 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:28:52.1868219Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #58145 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58146 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58147 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58148 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58149 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58150 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58151 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58152 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58153 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58154 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58155 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58156 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58157 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58158 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58159 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58160 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58161 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58162 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58163 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58164 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58165 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58166 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58167 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58168 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58169 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58170 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58171 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58172 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58173 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58174 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58175 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58176 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58177 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58178 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58179 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58180 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58181 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58182 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58183 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58184 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58185 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58186 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58187 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58188 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58189 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58190 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58191 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58192 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58193 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58194 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58195 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58196 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58197 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58198 | logged_duration_ms=24 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:31:31.9834540Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #58199 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58200 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58201 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58202 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58203 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58204 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58205 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58206 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58207 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58208 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58209 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58210 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58211 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58212 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58213 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58214 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58215 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58216 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58217 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58218 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58219 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58220 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58221 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58222 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58223 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58224 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58225 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58226 | logged_duration_ms=5 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:32:52.1771257Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #58227 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58228 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58229 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58230 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58231 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58232 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58233 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58234 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58235 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58236 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58237 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58238 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58239 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58240 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58241 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58242 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58243 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58244 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58245 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58246 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58247 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58248 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58249 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58250 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58251 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58252 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58253 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58254 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58255 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58256 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58257 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58258 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58259 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58260 | logged_duration_ms=70 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:34:32.0394150Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #58261 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58262 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58263 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58264 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58265 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58266 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58267 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58268 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58269 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58270 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58271 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58272 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58273 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58274 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58275 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58276 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58277 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58278 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58279 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58280 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58281 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58282 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58283 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58284 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58285 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58286 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58287 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58288 | logged_duration_ms=52 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:35:52.1812428Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #58289 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58290 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58291 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58292 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58293 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58294 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58295 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58296 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58297 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58298 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58299 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58300 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58301 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58302 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58303 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58304 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58305 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58306 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58307 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58308 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58309 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58310 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58311 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58312 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58313 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58314 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58315 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58316 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58317 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58318 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58319 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58320 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58321 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58322 | logged_duration_ms=25 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:37:32.0684902Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #58323 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58324 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58325 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58326 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58327 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58328 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58329 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58330 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58331 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58332 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58333 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58334 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58335 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58336 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58337 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58338 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58339 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58340 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58341 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58342 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58343 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58344 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58345 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58346 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58347 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58348 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58349 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58350 | logged_duration_ms=22 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:38:52.1828485Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #58351 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58352 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58353 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58354 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58355 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58356 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58357 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58358 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58359 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58360 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58361 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58362 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58363 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58364 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58365 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58366 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58367 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58368 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58369 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58370 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58371 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58372 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58373 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58374 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58375 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58376 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58377 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58378 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58379 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58380 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58381 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58382 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58383 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58384 | logged_duration_ms=27 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:40:32.0893118Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #58385 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58386 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58387 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58388 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58389 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58390 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58391 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58392 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58393 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58394 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58395 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58396 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58397 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58398 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58399 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58400 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58401 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58402 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58403 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58404 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58405 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58406 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58407 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58408 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58409 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58410 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58411 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58412 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58413 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58414 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58415 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58416 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58417 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58418 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58419 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58420 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58421 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58422 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58423 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58424 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58425 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58426 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58427 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58428 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58429 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58430 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58431 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58432 | logged_duration_ms=43 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:42:52.1881851Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #58433 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58434 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58435 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58436 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58437 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58438 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58439 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58440 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58441 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58442 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58443 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58444 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58445 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58446 | logged_duration_ms=9 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:43:32.1054190Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #58447 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58448 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58449 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58450 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58451 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58452 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58453 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58454 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58455 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58456 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58457 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58458 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58459 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58460 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58461 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58462 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58463 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58464 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58465 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58466 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58467 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58468 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58469 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58470 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58471 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58472 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58473 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58474 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58475 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58476 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58477 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58478 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58479 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58480 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58481 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58482 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58483 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58484 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58485 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58486 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58487 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58488 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58489 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58490 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58491 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58492 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58493 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58494 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58495 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58496 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58497 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58498 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58499 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58500 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58501 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58502 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58503 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58504 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58505 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58506 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58507 | logged_duration_ms=26 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:46:32.1496176Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #58508 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58509 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58510 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58511 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58512 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58513 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58514 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58515 | logged_duration_ms=17 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:46:52.1814139Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #58516 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58517 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58518 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58519 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58520 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58521 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58522 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58523 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58524 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58525 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58526 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58527 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58528 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58529 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58530 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58531 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58532 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58533 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58534 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58535 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58536 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58537 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58538 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58539 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58540 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58541 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58542 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58543 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58544 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58545 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58546 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58547 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58548 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58549 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58550 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58551 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58552 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58553 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58554 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58555 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58556 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58557 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58558 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58559 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58560 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58561 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58562 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58563 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58564 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58565 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58566 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58567 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58568 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58569 | logged_duration_ms=11 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:49:32.1930795Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #58570 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58571 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58572 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58573 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58574 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58575 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58576 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58577 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58578 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58579 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58580 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58581 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58582 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58583 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58584 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58585 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58586 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58587 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58588 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58589 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58590 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58591 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58592 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58593 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58594 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58595 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58596 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58597 | logged_duration_ms=22 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:50:52.1774782Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #58598 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58599 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58600 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58601 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58602 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58603 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58604 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58605 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58606 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58607 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58608 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58609 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58610 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58611 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58612 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58613 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58614 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58615 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58616 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58617 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58618 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58619 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58620 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58621 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58622 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58623 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58624 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58625 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58626 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58627 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58628 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58629 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58630 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58631 | logged_duration_ms=7 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:52:32.2201626Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #58632 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58633 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58634 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58635 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58636 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58637 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58638 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58639 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58640 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58641 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58642 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58643 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58644 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58645 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58646 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58647 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58648 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58649 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58650 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58651 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58652 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58653 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58654 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58655 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58656 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58657 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58658 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58659 | logged_duration_ms=35 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:53:52.1850706Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #58660 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58661 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58662 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58663 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58664 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58665 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58666 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58667 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58668 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58669 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58670 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58671 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58672 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58673 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58674 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58675 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58676 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58677 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58678 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58679 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58680 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58681 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58682 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58683 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58684 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58685 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58686 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58687 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58688 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58689 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58690 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58691 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58692 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58693 | logged_duration_ms=24 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:55:32.2451238Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #58694 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58695 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58696 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58697 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58698 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58699 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58700 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58701 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58702 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58703 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58704 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58705 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58706 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58707 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58708 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58709 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58710 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58711 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58712 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58713 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58714 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58715 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58716 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58717 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58718 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58719 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58720 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58721 | logged_duration_ms=24 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T01:56:52.1861073Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #58722 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58723 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58724 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58725 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58726 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58727 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58728 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58729 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58730 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58731 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58732 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58733 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58734 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58735 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58736 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58737 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58738 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58739 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58740 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58741 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58742 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58743 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58744 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58745 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58746 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58747 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #58748 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58749 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58750 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #58751 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58752 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58753 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58754 | logged_duration_ms=6 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58755 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58756 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #58757 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58758 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58759 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid
ORDER BY m."StreamIndex";

-- Query #58760 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58761 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid;

-- Query #58762 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58763 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58764 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #58765 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #58766 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."ParentIndexNumber", b."IndexNumber";

-- Query #58767 | logged_duration_ms=6 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #58768 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58769 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #58770 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58771 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '9c9dbf7a4d1e1474072be53b6ddc7017';

-- Query #58772 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '998ed692a4d82919a98e2437f153aba1';

-- Query #58773 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '400582efb5d0d45a44fa21e89f536db9';

-- Query #58774 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '900b967abc72f17c8e83407025d67d21';

-- Query #58775 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '5039d61355ad42ee0546daf338785118';

-- Query #58776 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '364d504bc02448b9e98ea660ee23917d';

-- Query #58777 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49';

-- Query #58778 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'ad713fedd097f6c23bc74d9b76e608f4';

-- Query #58779 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'cca28369125c5b2a60db4f22dabd8d1e';

-- Query #58780 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'ed2e56fba9ab1496287ccdb9b9789be3';

-- Query #58781 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b7ad75b66c32fee16cf77aa89485b975';

-- Query #58782 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'e965f6f55a6e681a9e6b9f4e5bf9f2b0';

-- Query #58783 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '66bf68914c7d9fe9e7b9090f08fed783';

-- Query #58784 | logged_duration_ms=24 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58785 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'c66d5932989cbdbed0fcbecac0783482';

-- Query #58786 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2bb02675-73b5-a1e7-cecf-a093b9546c29'::uuid])
ORDER BY b."Id";

-- Query #58787 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2bb02675-73b5-a1e7-cecf-a093b9546c29'::uuid])
ORDER BY b."Id";

-- Query #58788 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4ef357b5604128c9da1eedc9a672b88e';

-- Query #58789 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'e7950a7d94302e21205c2ea6dc93e848';

-- Query #58790 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '00cf3a2eb420297e661bc12dc570ce1e';

-- Query #58791 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a3cdde76ee4b22ad7ff52b9f141670ef';

-- Query #58792 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '54140fdcaa48ebfcadbc4c837c97be39';

-- Query #58793 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #58794 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #58795 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3';

-- Query #58796 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58797 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58798 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58799 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58800 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58801 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0caa83dc-145a-77ff-d159-4bf6e7d6a6de' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58802 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4817c647-00c0-62f4-ee28-10e5753172ea' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58803 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65d9b3f6-439e-ef35-7964-594eab496683' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58804 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '65007c97-dfa5-6125-b413-7dadcc66ee70' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58805 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['e16a6798-df26-2c6f-d28c-e109c5735cd7'::uuid, 'dfc4bb42-f11f-72e6-6e34-548b171f61b6'::uuid, '0e17cdfe-b9bf-7d0d-b03f-104381d266ba'::uuid, '3eab9582-5c90-9b92-e1e9-2a9328a2b3af'::uuid, '2b1590d1-0e21-4f5f-6122-82f00617c6eb'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58806 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '26d8f0d2-7821-cede-0875-ae11abc2d327' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58807 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '388e9855-5c86-3545-6e73-8a74da45a67a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58808 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'bfd89e31-d8f6-32cc-838c-9c95a901d00d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58809 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5a744ba1-ccae-d7f1-f42e-50282ea81c51' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58810 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '21c57fda-7b07-0d8c-673b-c25892c10b6c' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58811 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '4ff3db3d-7350-44c1-8e26-68ea7a322695' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58812 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c84ee43-c194-6fea-c840-ea8ef05b8d3e' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58813 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, 'e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['bc63bdc0-8137-4de2-e211-ec5c0de11971'::uuid, '9a84f467-4e71-de27-c099-433f0406f965'::uuid, 'e57c33ba-78d5-87b7-2f08-90d79ff47c83'::uuid, '1f182e53-13a4-b287-3eb7-5072087294ab'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58814 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '67e7d66a-c804-865d-447c-1e6373a33ef2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58815 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1a819a9-cdb7-da64-3002-ce0ddbb3b7e6' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58816 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '95017bda-a22b-3269-68f5-b857ebca838e' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58817 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['d2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['d2e1fd6b-5b5f-3c13-340e-7b8b4f9835c4'::uuid, '3ba4f045-1bbc-eae2-cbef-5c98c153e820'::uuid, '41e94d2e-230c-e7b3-3337-6861dd968339'::uuid, 'f4bb1cb3-3b3d-23c5-6763-82f2015d6fee'::uuid, 'bc56a696-7a8f-6215-f22c-a6232ee042c2'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58818 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a731a5c9-5698-9dd1-8fe4-08ffac032a49' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58819 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '87b63e72-c2d0-1cf3-b5a3-8185ab03f80b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58820 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8af244bb-ee51-89b3-cd07-06218511cf8a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58821 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fbf0d8d0-e2d3-4ea3-7d0b-7352569ffbc1' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58822 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'cb4ba5b1-3731-bbf4-b876-d069e120ffb0' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58823 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '917b9517-3af3-1eef-e3a4-418161d672f7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58824 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a0fe16a4-4a9f-b1fe-eb2c-a266a9263143' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58825 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b5580683-56d7-78f6-1364-3c71a93d626b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58826 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '9856c203-b77a-a899-91b6-d23a9b21c519' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58827 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('625e6d28-2f3a-3c2b-1ae2-7a9c6beeae82', '0dc3d22c-6b03-76bb-28f9-838589c6757d') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58828 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fe0a7616-1716-f0c2-bbfc-ab0a09e427d9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58829 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('c019971a-96ce-3216-5201-c7cd1c7c9afb', 'e7fdade5-9216-5ecb-31c0-a06587aa9db4') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58830 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0af9cc08-5b7c-6ba2-c733-925ad1fa020a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58831 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1fc32fb1-1225-5038-1142-b3bbec68d1ad' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58832 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '425cfdd0-8ea5-677e-f18d-87571eee0eb7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58833 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('aa791fd4-2fc7-e88c-aa8f-ee5ed393b0bb', 'a8784328-b2e7-c097-375d-aab560eb7e5b') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58834 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58835 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e81fefeb-9a1d-548a-67e9-dfe837512296' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58836 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('d76bf701-31bc-051b-a577-37f8dd9c1c13', 'f6ecf7fa-9262-3508-5732-cfc1e107a3ca') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58837 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '12b90cbe-75bc-aabe-c873-6fd212950702' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58838 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid, '0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['5db721e7-fe9c-1ba1-a5bc-b116a9ba044c'::uuid, '22b0e46d-35e6-8e84-074e-ac36bf3236a5'::uuid, '0a464d97-c3ed-72b4-6145-7c719da9f829'::uuid, 'd4e38906-790a-248f-5356-c7e5f2b738d4'::uuid, 'e51e435d-9c72-f981-36a9-27470f89fb74'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58839 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '83afa488-90fc-c2ed-d964-598f290f14c4' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58840 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('da715cca-7912-250a-35f9-f244056e77fe', '489e5bed-a13d-ade8-d89c-77e66ccfe662') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58841 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'daeae0ad-8a46-7a62-1e6d-a4312ebf5683' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58842 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7f12af9a-b2ad-ba21-082a-763ba1f7f59a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58843 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['c6a703ad-b119-d1ca-47dd-e01f4bc3fb04'::uuid, '420800d4-39f3-0c3e-70ce-0bc4a1d1f1ac'::uuid, '2a2288cb-cda2-5c17-fe12-6ca8fb3acf3c'::uuid, '040334f6-2930-b657-a54c-d02186cbce26'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58844 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'fd21a996-07a4-ddc8-5db7-ac1a96c9f7b2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58845 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c8ee5a92-9c36-8b06-2adf-6595fc6b4aa5' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58846 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '345bd57a-9627-d417-dae5-2e11290de9ea' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58847 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e60b7c31-3696-a822-1549-3078d4ba07fc' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58848 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('a734eb90-637b-3de7-36da-6e27c9115497', 'c0689efb-bd73-3337-3cf4-5871d6cb71d0', '621b86bc-b2c7-4433-9893-6578f9e6b5e8') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58849 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '7cd25da4-30f8-4bea-bdde-ed5b3046f607' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58850 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('7740a050-54a4-3378-02c1-9d03c6e351a5', 'f7a77892-8190-0ebf-3cf9-063756ae7ac2') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58851 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3f14b9fd-f609-eedd-8a69-9fc96b4748d3' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58852 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e2385908-d25a-b03d-cb38-058c6942953d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58853 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, 'fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['5cc7375b-5950-dd34-4840-bb4b13a86383'::uuid, 'a8c78802-317c-98dc-91bd-33670053710d'::uuid, 'cd16ddaf-d690-eaa0-173b-db4e7030b0a8'::uuid, 'fd1ad4ff-2e81-30dd-6792-42de6a1d3de5'::uuid, 'a0d0b989-54be-247e-e122-6194598365d0'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58854 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0187d0b1-3a72-5f05-f134-368ea10fcd46' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58855 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d8590da-99cb-7b0d-aa38-0d6cd43184c5' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58856 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['4f9945dd-737a-06c1-957c-b1add48e0729'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['4f9945dd-737a-06c1-957c-b1add48e0729'::uuid, '5e286416-f17a-d649-bc86-230e88ef5723'::uuid, '7b8d14e4-248d-4019-2b66-80cad0b4470b'::uuid, '2662cba8-a584-767c-b4b0-047e4428377e'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58857 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1231748-4040-f385-1976-fdc2050cd23b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58858 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('0d196c45-f22b-11f5-5331-2a1670cba21a', '6badd438-a057-1a5f-e8fc-248ea1b12216') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58859 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '50fff1d8-90c5-876e-12c8-1213a48c160f' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58860 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '818c5991-0374-5ff7-eaf5-3d3402e07570' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58861 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a32a8dea-d832-2eb0-00d7-342898ebeeb0' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58862 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '523dca9e-1bd9-9c9d-9cfb-79c6bb5a7cb7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58863 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6429f9a4-3413-0282-2485-688b4391581a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58864 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('c98cedad-ca96-ba35-a759-a0347090b740', 'da886991-676e-045a-0c3e-2118892af4bf') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58865 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '52e6442a-96e9-6db3-c832-9fc8ced14461' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58866 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid, '5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['3de1c176-6e6b-7f71-f961-1047869ef83a'::uuid, '5737403a-eb28-a14a-adfd-0b2aae0bedcb'::uuid, 'b91b1854-4fc2-b1ff-0e5d-4986486eee32'::uuid, '00ed047a-3a93-f632-fe98-8050729a3af7'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58867 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '830b7464-e334-5f09-a904-9105e57bdda9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58868 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d3d85c7-847b-15c2-425e-0158d26316fa' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58869 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58870 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '491139d8-a2b9-e086-aaaf-e8acf5058be5' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58871 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '92273445-2f51-41b3-77a2-4b86a11d9f34' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58872 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('a93501c5-0fa3-0888-563b-81d495d9d796', 'a716eca8-4125-6182-f7d4-bd8b85cc8951') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58873 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f7572de2-e6c4-8aa2-4115-35e2bebb56de' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58874 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('f6c381b1-a5de-b9f0-5538-f5a4451aa813', '1a38d1f7-43e4-7282-41be-5ea935625014', '5ef2d010-f56c-1e0b-16b6-18eeb0cac514') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58875 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'f8d4661b-b5c5-b547-7a50-a67fe5255cad' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58876 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '443f735b-cee5-ff24-c8a0-b962540d45e9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58877 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('adc04a9e-2d03-5631-13cb-9a7d820d4b22', '3370e65e-47e0-7bbd-d47c-4d7fb5cb7320', '6199fb0d-8c52-23d9-abc9-d8456f2194a3') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58878 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6536c1be-6aa1-59ba-4a7c-0270acab3972' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58879 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid, '70370389-7911-027c-28bf-bf4fa68029f6'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['b4e2d141-cf72-09fa-a589-9fe21849be30'::uuid, '38b579e8-42b9-4063-98d2-0b904b7581bd'::uuid, 'd5b62d57-8753-88a1-b42d-383d3316296f'::uuid, '70370389-7911-027c-28bf-bf4fa68029f6'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58880 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0dfe5e31-8778-b4de-16a0-2a1d3cb958fe' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58881 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('1c6d7cdf-59da-51c8-0c21-0d2e46c4f83c', '98b09ba8-191b-0d72-fa27-04d1b79af846') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58882 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '6c6e27d5-8186-2829-0b96-a90c818df4e2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58883 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('78e4c1b9-b7c0-275e-2ba3-93fed50ee1c1', 'a687a72e-99aa-d707-aec6-3e2a2d4a2f09', '65427aa0-ad4c-afd0-ec25-2a2c61fa5c02') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58884 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '38558414-7881-5010-f0a0-c76b3b2e804f' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58885 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'a56a96df-e0de-9049-4735-5140d238e96d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58886 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'feed0a6f-7745-6d06-35d8-d820861ca60b' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58887 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('788d1451-c554-ff11-2a68-88c3002f3325', '78dacb4d-a99d-3632-4788-86217ed16824', '0a3265f3-9fe2-1c3b-df93-03ec4c51ba29') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58888 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3d2cf51c-f970-16d1-555c-5c4d86947af7' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58889 | logged_duration_ms=14 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'dedff13e-d54c-3cf5-ef77-8c3375f3ef61' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58890 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '3b59e38a-ece2-8076-e6c5-3bfeff404cf2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58891 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('59b34971-836d-7cea-77ce-3297c64050cb', '5776a4b9-3d20-2780-e377-e5552b385bbe', '3a73444d-b98f-14bd-8180-ea663d7694bf') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58892 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '392437a5-1132-53ab-8130-8734342cf3ba' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58893 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'd3788f9d-c611-6a53-6bde-090b2dccc9a9' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58894 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('f827d52e-e860-7474-011f-57725d01569a', 'f10922c0-84cf-0858-d2f8-32f4f53ebb1d') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58895 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '364d504b-c024-48b9-e98e-a660ee23917d' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58896 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '302a8265-2a5b-bc56-29b7-6bb79eabb25c' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58897 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5bdcfe8b-e3a7-5f10-efa0-586f78c88275' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58898 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1ca3df55-8bcc-cc93-6fca-205d72f34331' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58899 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'b7c5b543-4e33-a5de-e498-87f00b152aaf' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58900 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '59e0bffa-970b-9592-38c2-f8203c607073' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58901 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '0501deac-922c-a7ff-0be2-551f0ab8e5aa' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58902 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('a190e624-f009-d834-5245-fffe4da46b84', '470ca82e-09df-e792-60e3-3f1bdd31d3a6', '91c8474b-4027-f502-c7ac-a19b96634375') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58903 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5c47805c-ee91-a809-a520-dd0b871934a8' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58904 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['590efa14-2b03-cf50-a366-95e5b7261966'::uuid, '7077c22b-0cef-6f82-4b6a-5db122e3fb0e'::uuid, 'eebd5aa2-9add-dd81-2d0f-faab4e1db5ca'::uuid, 'fcb8e36a-5146-d9b4-8e56-a03b102b5e0a'::uuid, '4684ef52-2e7b-db9f-c89b-38a889e6c38c'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58905 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'baf8dc26-e427-79bd-8e0a-7a1f4e8c31cf' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58906 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('fd13352b-58be-dfe2-89aa-099e12923a1f', '0935f256-bb9a-bd1b-4661-c791257891b7', '933f8997-4d19-e0b3-61eb-14ab52f60ee9') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58907 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '2fb28876-d5f3-3aa8-eb13-eaa61d107996' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58908 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('944e34bf-74d1-a5f0-b05a-9f7a259145a2', 'a5740196-1ca2-d4bf-c88a-ad0ba19a1c77', 'fb2bcea5-c4b9-f075-421d-3b0c448855a4') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58909 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '867eaf01-aa76-9f13-451d-e4826049ca14' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58910 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('1a7cbb10-1f19-c4d4-9d05-6885025c9562', '992b438e-613f-d604-cb00-0fe615d02589', '30c48478-1699-cae8-42fd-05191ca2957a') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58911 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5e5583cd-c90d-447c-54c4-33245ce4b5ab' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58912 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'e5fa67db-3d54-95bb-1b18-16427f3d1b40' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58913 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'def9017d-ab44-6182-78f5-3402b0114c5a' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58914 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '1536970f-eaa6-1385-fe01-443949a26a22' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58915 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" IN ('90f13064-7065-a249-bfd5-5394a18cd7fb', '39ecd950-e043-31d2-baa9-26b653c1a9a5') AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58916 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '5158d33d-4dda-3d04-bb44-0892a1dc0f04' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58917 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['505a28d0-7b20-cbe6-5413-2c574a82d1fe'::uuid, '85e622b4-23f5-af43-2dc0-d0aabcd67c53'::uuid, 'f9828fa1-8ec5-876a-2539-6bb3fcf361a8'::uuid, 'b6a24164-2eb3-5fac-e09d-178987b8d729'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58918 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'ebbc5de4-7daf-ccc2-66c7-3a17bcef16e2' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58919 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE (b."ParentId" = ANY (ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid]) OR (b."ParentId" IS NULL AND array_position(ARRAY['0204fae2-5d06-d7b0-ced7-80bb36a78a93'::uuid, 'd1eabfa7-1a56-4e12-6ce5-0cf2e362ec94'::uuid, 'bcebac16-5e42-7c70-d7ae-9c55cd10cc3e'::uuid, '126b23ba-e98a-dcf4-fe5f-42636b58cf9f'::uuid], NULL) IS NOT NULL)) AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58920 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = 'c1cbf511-7054-c98c-b9bb-3e19279992f4' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58921 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."ParentId" = '8ebfc312-fa9a-8dbb-49e3-eae4b1ea90ae' AND (b."IsFolder" OR b."IsVirtualItem");

-- Query #58922 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58923 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #58924 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #58925 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4817c64700c062f4ee2810e5753172ea';

-- Query #58926 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '4ff3db3d735044c18e2668ea7a322695';

-- Query #58927 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #58928 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #58929 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58930 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'fbf0d8d0e2d34ea37d0b7352569ffbc1';

-- Query #58931 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '917b95173af31eefe3a4418161d672f7';

-- Query #58932 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '9856c203b77aa89991b6d23a9b21c519';

-- Query #58933 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #58934 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #58935 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '425cfdd08ea5677ef18d87571eee0eb7';

-- Query #58936 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #58937 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #58938 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '7f12af9ab2adba21082a763ba1f7f59a';

-- Query #58939 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #58940 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #58941 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3';

-- Query #58942 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #58943 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #58944 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0187d0b13a725f05f134368ea10fcd46';

-- Query #58945 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #58946 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #58947 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '922734452f5141b377a24b86a11d9f34';

-- Query #58948 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #58949 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #58950 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f7572de2e6c48aa2411535e2bebb56de';

-- Query #58951 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f88f563-e9ed-5d68-8ce8-527a2ba38669'::uuid])
ORDER BY b."Id";

-- Query #58952 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5f88f563-e9ed-5d68-8ce8-527a2ba38669'::uuid])
ORDER BY b."Id";

-- Query #58953 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f8d4661bb5c5b5477a50a67fe5255cad';

-- Query #58954 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #58955 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #58956 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '0dfe5e318778b4de16a02a1d3cb958fe';

-- Query #58957 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #58958 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #58959 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #58960 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #58961 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #58962 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b7c5b5434e33a5dee49887f00b152aaf';

-- Query #58963 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58964 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58965 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58966 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58967 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58968 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58969 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58970 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58971 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58972 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58973 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58974 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58975 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #58976 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a';

-- Query #58977 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58978 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '8af244bbee5189b3cd0706218511cf8a'
ORDER BY b."SortName", b."Name";

-- Query #58979 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #58980 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #58981 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #58982 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #58983 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."ParentIndexNumber", b."IndexNumber";

-- Query #58984 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e577761-8a76-8e97-6589-90d23f2093a7'::uuid])
ORDER BY b."Id";

-- Query #58985 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8e577761-8a76-8e97-6589-90d23f2093a7'::uuid])
ORDER BY b."Id";

-- Query #58986 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #58987 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #58988 | logged_duration_ms=2 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #58989 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #58990 | logged_duration_ms=3 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #58991 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #58992 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #58993 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #58994 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #58995 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #58996 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #58997 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #58998 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #58999 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '400582efb5d0d45a44fa21e89f536db9';

-- Query #59000 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59001 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '900b967abc72f17c8e83407025d67d21';

-- Query #59002 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '767d3bdda2fb0d05fab8f8a5114e363d';

-- Query #59003 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a731a5c956989dd18fe408ffac032a49';

-- Query #59004 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'bfd89e31d8f632cc838c9c95a901d00d';

-- Query #59005 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f375696ee3647122e3b6bd5571611a26';

-- Query #59006 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'e34d0d31aa320be216b5d59aa7b3004a';

-- Query #59007 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3d8590da99cb7b0daa380d6cd43184c5';

-- Query #59008 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f88f563-e9ed-5d68-8ce8-527a2ba38669'::uuid])
ORDER BY b."Id";

-- Query #59009 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5f88f563-e9ed-5d68-8ce8-527a2ba38669'::uuid])
ORDER BY b."Id";

-- Query #59010 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f8d4661bb5c5b5477a50a67fe5255cad';

-- Query #59011 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'a5f8209a19f94fe6d61b67d7685e62ee';

-- Query #59012 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '00626a90dc6dc9a6af87a25a91f21c45';

-- Query #59013 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '6d00815fcdfd2557652570f0a0109c0e';

-- Query #59014 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '5158d33d4dda3d04bb440892a1dc0f04';

-- Query #59015 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #59016 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #59017 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3';

-- Query #59018 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f5f8a7cea5163f002aa029c6f4db2fc0';

-- Query #59019 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b7ad75b66c32fee16cf77aa89485b975';

-- Query #59020 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59021 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '9741a2e8436038fed971e3ac0415c6d0';

-- Query #59022 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f85658146fcdc1e42e75520ee7d965d9';

-- Query #59023 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '1daa05a69130ec76eaa63083aba391a8';

-- Query #59024 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'c66d5932989cbdbed0fcbecac0783482';

-- Query #59025 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59026 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59027 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59028 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59029 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59030 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59031 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59032 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59033 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59034 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59035 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59036 | logged_duration_ms=11 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = 'b214c7e8a8164621b0afbec550f2318c', "AppName" = 'Jellyfin Android TV', "AppVersion" = '0.19.7', "DateCreated" = '2026-03-14T16:08:50.6371444Z', "DateLastActivity" = '2026-03-15T01:58:35.9992437Z', "DateModified" = '2026-03-14T16:08:50.6371444Z', "DeviceId" = '2610f95a5741a729a2cd3821768b2787654a96f7', "DeviceName" = 'Living Room TV', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 11;

-- Query #59037 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #59038 | logged_duration_ms=2 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #59039 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #59040 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #59041 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #59042 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #59043 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59044 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59045 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #59046 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #59047 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #59048 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #59049 | logged_duration_ms=13 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."ParentIndexNumber", b."IndexNumber";

-- Query #59050 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e577761-8a76-8e97-6589-90d23f2093a7'::uuid])
ORDER BY b."Id";

-- Query #59051 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8e577761-8a76-8e97-6589-90d23f2093a7'::uuid])
ORDER BY b."Id";

-- Query #59052 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #59053 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #59054 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #59055 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59056 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #59057 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #59058 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #59059 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #59060 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #59061 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #59062 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59063 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59064 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59065 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'e34d0d31aa320be216b5d59aa7b3004a';

-- Query #59066 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '605e93d16ed50f70068b49b1c5987f4a';

-- Query #59067 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59068 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '2a4b6b9020ab5f2cbbe5a03d0492f980';

-- Query #59069 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '25a423229362eebc37756ac83231b8a9';

-- Query #59070 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '1daa05a69130ec76eaa63083aba391a8';

-- Query #59071 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'ae67ec6d75852e1a147c181e12d5d86e';

-- Query #59072 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '50da5078ec0d00895186727d952e79d8';

-- Query #59073 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f5f8a7cea5163f002aa029c6f4db2fc0';

-- Query #59074 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '06b3216b6141c80d1245e69e32a458c2';

-- Query #59075 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '5158d33d4dda3d04bb440892a1dc0f04';

-- Query #59076 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #59077 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #59078 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '3f14b9fdf609eedd8a699fc96b4748d3';

-- Query #59079 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '34afc3a192a204adc5368b8d1ab5c539';

-- Query #59080 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '00626a90dc6dc9a6af87a25a91f21c45';

-- Query #59081 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'f375696ee3647122e3b6bd5571611a26';

-- Query #59082 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59083 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b7ad75b66c32fee16cf77aa89485b975';

-- Query #59084 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '874e6810a56553a473fe59d2e371d771';

-- Query #59085 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '6f5308a6c82d6f1b68ddb27b5b355704';

-- Query #59086 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'edd4b98d209ea849de8054f3baca1c31';

-- Query #59087 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = 'b558068356d778f613643c71a93d626b';

-- Query #59088 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '400582efb5d0d45a44fa21e89f536db9';

-- Query #59089 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59090 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59091 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59092 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59093 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59094 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59095 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59096 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59097 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59098 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59099 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #59100 | logged_duration_ms=29 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T02:00:52.1814984Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #59101 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicAlbum' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Query #59102 | logged_duration_ms=6 | timeout_s=30
SELECT a."Name", a."Type", a."UserId", a."Id"::bigint, a."Overview", a."ShortOverview", a."ItemId", a."DateCreated", a."LogSeverity"
FROM activitylog."ActivityLogs" AS a
LEFT JOIN users."Users" AS u ON a."UserId" = u."Id"
WHERE (a."UserId" = '00000000-0000-0000-0000-000000000000') <> false AND a."DateCreated" >= '2026-03-08T02:02:57.5110000Z'
ORDER BY a."DateCreated" DESC
LIMIT 4 OFFSET 0;

-- Query #59103 | logged_duration_ms=6 | timeout_s=30
SELECT a."Name", a."Type", a."UserId", a."Id"::bigint, a."Overview", a."ShortOverview", a."ItemId", a."DateCreated", a."LogSeverity"
FROM activitylog."ActivityLogs" AS a
LEFT JOIN users."Users" AS u ON a."UserId" = u."Id"
WHERE (a."UserId" = '00000000-0000-0000-0000-000000000000') <> true AND a."DateCreated" >= '2026-03-14T02:02:57.5100000Z'
ORDER BY a."DateCreated" DESC
LIMIT 7 OFFSET 0;

-- Query #59104 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM activitylog."ActivityLogs" AS a
LEFT JOIN users."Users" AS u ON a."UserId" = u."Id"
WHERE (a."UserId" = '00000000-0000-0000-0000-000000000000') <> false AND a."DateCreated" >= '2026-03-08T02:02:57.5110000Z';

-- Query #59105 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM activitylog."ActivityLogs" AS a
LEFT JOIN users."Users" AS u ON a."UserId" = u."Id"
WHERE (a."UserId" = '00000000-0000-0000-0000-000000000000') <> true AND a."DateCreated" >= '2026-03-14T02:02:57.5100000Z';

-- Query #59106 | logged_duration_ms=180 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Query #59107 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.LiveTv.LiveTvProgram' AND b."StartDate" <= '2026-03-15T02:03:06.6770758Z' AND b."EndDate" >= '2026-03-15T02:03:06.6770758Z' AND b."TopParentId" = '2b2bca16-aacc-8a14-d53a-11bb829eafa5'
ORDER BY b."StartDate";

-- Query #59108 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #59109 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #59110 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #59111 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #59112 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #59113 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #59114 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #59115 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9584e3e-c298-442f-d7a9-cf17c25daf59'::uuid])
ORDER BY b."Id";

-- Query #59116 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #59117 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0cb5b7f7-239e-44ba-9c2c-8cc144f62041'::uuid])
ORDER BY b."Id";

-- Query #59118 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #59119 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72a4e34a-e74b-9c4e-35fc-8c82e559ec9e'::uuid])
ORDER BY b."Id";

-- Query #59120 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #59121 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #59122 | logged_duration_ms=25 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #59123 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #59124 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid])
ORDER BY b."Id";

-- Query #59125 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['92ab3d55-febc-7634-09eb-bf1f02c773a9'::uuid])
ORDER BY b."Id";

-- Query #59126 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #59127 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #59128 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #59129 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #59130 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #59131 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #59132 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #59133 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f1d568f-b87b-06ac-77ba-8838c8e7d5bd'::uuid])
ORDER BY b."Id";

-- Query #59134 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8f1d568f-b87b-06ac-77ba-8838c8e7d5bd'::uuid])
ORDER BY b."Id";

-- Query #59135 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ddb7188e-68b7-0c58-4245-24dd86a3df88'::uuid])
ORDER BY b."Id";

-- Query #59136 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ddb7188e-68b7-0c58-4245-24dd86a3df88'::uuid])
ORDER BY b."Id";

-- Query #59137 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #59138 | logged_duration_ms=24 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #59139 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d321256d-c9dc-e30c-1d86-5d426da5733c'::uuid])
ORDER BY b."Id";

-- Query #59140 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d321256d-c9dc-e30c-1d86-5d426da5733c'::uuid])
ORDER BY b."Id";

-- Query #59141 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #59142 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #59143 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #59144 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #59145 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e577761-8a76-8e97-6589-90d23f2093a7'::uuid])
ORDER BY b."Id";

-- Query #59146 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8e577761-8a76-8e97-6589-90d23f2093a7'::uuid])
ORDER BY b."Id";

-- Query #59147 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #59148 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #59149 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #59150 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #59151 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #59152 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['87b82b0a-a4cc-5ca7-b957-96ef60c520af'::uuid])
ORDER BY b."Id";

-- Query #59153 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f88f563-e9ed-5d68-8ce8-527a2ba38669'::uuid])
ORDER BY b."Id";

-- Query #59154 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['87b82b0a-a4cc-5ca7-b957-96ef60c520af'::uuid])
ORDER BY b."Id";

-- Query #59155 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5f88f563-e9ed-5d68-8ce8-527a2ba38669'::uuid])
ORDER BY b."Id";

-- Query #59156 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['adeb4298-ecd0-a1c9-525b-010ade28d52c'::uuid])
ORDER BY b."Id";

-- Query #59157 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['adeb4298-ecd0-a1c9-525b-010ade28d52c'::uuid])
ORDER BY b."Id";

-- Query #59158 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be6ebf61-c299-dc82-1ed3-8fc970db31c2'::uuid])
ORDER BY b."Id";

-- Query #59159 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['be6ebf61-c299-dc82-1ed3-8fc970db31c2'::uuid])
ORDER BY b."Id";

-- Query #59160 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['09766f22-bc8c-777e-0b29-71ffec477d6d'::uuid])
ORDER BY b."Id";

-- Query #59161 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['09766f22-bc8c-777e-0b29-71ffec477d6d'::uuid])
ORDER BY b."Id";

-- Query #59162 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bb60dbe0-4be5-7884-ae1d-25d13edf7d29'::uuid])
ORDER BY b."Id";

-- Query #59163 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bb60dbe0-4be5-7884-ae1d-25d13edf7d29'::uuid])
ORDER BY b."Id";

-- Query #59164 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #59165 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['91ec980b-bc74-d590-b822-4b8a2cb07312'::uuid])
ORDER BY b."Id";

-- Query #59166 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2c8d42f5-c610-1587-fced-cf827c03819c'::uuid])
ORDER BY b."Id";

-- Query #59167 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2c8d42f5-c610-1587-fced-cf827c03819c'::uuid])
ORDER BY b."Id";

-- Query #59168 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid])
ORDER BY b."Id";

-- Query #59169 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5fd67cd3-ce5c-c685-47de-e8808fb184d4'::uuid])
ORDER BY b."Id";

-- Query #59170 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid])
ORDER BY b."Id";

-- Query #59171 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bf841eea-0a93-59f9-3dc7-0ca0a157cb8e'::uuid])
ORDER BY b."Id";

-- Query #59172 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c5709788-9ee7-edc3-b6ed-6ed5f1667b43'::uuid])
ORDER BY b."Id";

-- Query #59173 | logged_duration_ms=12 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c5709788-9ee7-edc3-b6ed-6ed5f1667b43'::uuid])
ORDER BY b."Id";

-- Query #59174 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid])
ORDER BY b."Id";

-- Query #59175 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8cdffc37-7e7a-f778-d1eb-6c2e7215f593'::uuid])
ORDER BY b."Id";

-- Query #59176 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid])
ORDER BY b."Id";

-- Query #59177 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bd2fcf7b-c374-87e3-95c2-656fe71c8111'::uuid])
ORDER BY b."Id";

-- Query #59178 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea19fc70-4a6d-e9bb-90c3-e1ee88705353'::uuid])
ORDER BY b."Id";

-- Query #59179 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ea19fc70-4a6d-e9bb-90c3-e1ee88705353'::uuid])
ORDER BY b."Id";

-- Query #59180 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c596aa1-313a-c4fb-7a22-2b4e505c1b40'::uuid])
ORDER BY b."Id";

-- Query #59181 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5c596aa1-313a-c4fb-7a22-2b4e505c1b40'::uuid])
ORDER BY b."Id";

-- Query #59182 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02df129f-145c-a229-3c0c-12df9cf14dec'::uuid])
ORDER BY b."Id";

-- Query #59183 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02df129f-145c-a229-3c0c-12df9cf14dec'::uuid])
ORDER BY b."Id";

-- Query #59184 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb637533-c776-74c7-929b-c478a0b03630'::uuid])
ORDER BY b."Id";

-- Query #59185 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cb637533-c776-74c7-929b-c478a0b03630'::uuid])
ORDER BY b."Id";

-- Query #59186 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['319c6125-2b77-53ab-e7d4-3477630cca62'::uuid])
ORDER BY b."Id";

-- Query #59187 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['319c6125-2b77-53ab-e7d4-3477630cca62'::uuid])
ORDER BY b."Id";

-- Query #59188 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #59189 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9ddf7f95-5e2c-7142-32d9-a9b7ff91f753'::uuid])
ORDER BY b."Id";

-- Query #59190 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0e70355f-3c81-a1f4-9011-1499de1d1f5a'::uuid])
ORDER BY b."Id";

-- Query #59191 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0e70355f-3c81-a1f4-9011-1499de1d1f5a'::uuid])
ORDER BY b."Id";

-- Query #59192 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2bb02675-73b5-a1e7-cecf-a093b9546c29'::uuid])
ORDER BY b."Id";

-- Query #59193 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2bb02675-73b5-a1e7-cecf-a093b9546c29'::uuid])
ORDER BY b."Id";

-- Query #59194 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['baf8f0b2-fb67-4d5c-18e4-616d59c63c93'::uuid])
ORDER BY b."Id";

-- Query #59195 | logged_duration_ms=4 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['baf8f0b2-fb67-4d5c-18e4-616d59c63c93'::uuid])
ORDER BY b."Id";

-- Query #59196 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid])
ORDER BY b."Id";

-- Query #59197 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['78217a8d-359d-8003-c598-6cc23fbeea0a'::uuid])
ORDER BY b."Id";

-- Query #59198 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid])
ORDER BY b."Id";

-- Query #59199 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fa1151de-47d2-b10e-096a-b5cad069a28a'::uuid])
ORDER BY b."Id";

-- Query #59200 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0afe66a2-e52a-a150-f911-29f2f5240ec8'::uuid])
ORDER BY b."Id";

-- Query #59201 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0afe66a2-e52a-a150-f911-29f2f5240ec8'::uuid])
ORDER BY b."Id";

-- Query #59202 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid])
ORDER BY b."Id";

-- Query #59203 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['58313a5f-90ea-124d-8ae0-94f2e1a5e583'::uuid])
ORDER BY b."Id";

-- Query #59204 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid])
ORDER BY b."Id";

-- Query #59205 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c187e18e-82c9-a1c0-a6a3-83aa90ee2a67'::uuid])
ORDER BY b."Id";

-- Query #59206 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d0e8c64-cfeb-aee4-7d21-4055ae62c629'::uuid])
ORDER BY b."Id";

-- Query #59207 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4d0e8c64-cfeb-aee4-7d21-4055ae62c629'::uuid])
ORDER BY b."Id";

-- Query #59208 | logged_duration_ms=5 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Movies.Movie' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Query #59209 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d467c08-9d3b-9b04-a7af-8c1d42d6fc9d'::uuid])
ORDER BY b."Id";

-- Query #59210 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3d467c08-9d3b-9b04-a7af-8c1d42d6fc9d'::uuid])
ORDER BY b."Id";

-- Query #59211 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a2c19f3-ad9a-ace8-c5d8-64968f51c57f'::uuid])
ORDER BY b."Id";

-- Query #59212 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6a2c19f3-ad9a-ace8-c5d8-64968f51c57f'::uuid])
ORDER BY b."Id";

-- Query #59213 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db809b1a-9b11-9fb1-c514-651619de9aea'::uuid])
ORDER BY b."Id";

-- Query #59214 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db809b1a-9b11-9fb1-c514-651619de9aea'::uuid])
ORDER BY b."Id";

-- Query #59215 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid])
ORDER BY b."Id";

-- Query #59216 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4687074f-40c4-3054-12b5-1c2c935642a3'::uuid])
ORDER BY b."Id";

-- Query #59217 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ec1a4f04-ee2a-87e7-b2d2-b580ffd2fc1d'::uuid])
ORDER BY b."Id";

-- Query #59218 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ec1a4f04-ee2a-87e7-b2d2-b580ffd2fc1d'::uuid])
ORDER BY b."Id";

-- Query #59219 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['778abd5f-c961-a0c6-3bbe-7faafece69bb'::uuid])
ORDER BY b."Id";

-- Query #59220 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Series' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Query #59221 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['778abd5f-c961-a0c6-3bbe-7faafece69bb'::uuid])
ORDER BY b."Id";

-- Query #59222 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Series' AND b."TopParentId" = 'c6f12ca9-c08b-da5d-c906-9ac406455751'
ORDER BY b."SortName";

-- Query #59223 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65bbe3a9-29f9-237c-2062-1309f1c90b9d'::uuid])
ORDER BY b."Id";

-- Query #59224 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['65bbe3a9-29f9-237c-2062-1309f1c90b9d'::uuid])
ORDER BY b."Id";

-- Query #59225 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce8bc917-f6e0-babb-383a-30fd3c8ee8a3'::uuid])
ORDER BY b."Id";

-- Query #59226 | logged_duration_ms=28 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ce8bc917-f6e0-babb-383a-30fd3c8ee8a3'::uuid])
ORDER BY b."Id";

-- Query #59227 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid])
ORDER BY b."Id";

-- Query #59228 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39ccb6df-815f-3c62-c44d-3d74c0bcec2a'::uuid])
ORDER BY b."Id";

-- Query #59229 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid])
ORDER BY b."Id";

-- Query #59230 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1dab045-f683-dc71-45b8-c60aa4fc5912'::uuid])
ORDER BY b."Id";

-- Query #59231 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.Audio' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Query #59232 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.MusicVideo' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Query #59233 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Movies.BoxSet' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Query #59234 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Book' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Query #59235 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7709df0e-ac6e-2e39-2b15-ca745085588f'::uuid])
ORDER BY b."Id";

-- Query #59236 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7709df0e-ac6e-2e39-2b15-ca745085588f'::uuid])
ORDER BY b."Id";

-- Query #59237 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Series' AND b."TopParentId" = 'c6f12ca9-c08b-da5d-c906-9ac406455751';

-- Query #59238 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Series' AND b."TopParentId" = 'c6f12ca9-c08b-da5d-c906-9ac406455751'
ORDER BY b."SortName", b."Name";

-- Query #59239 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7053f957-b113-a47d-b47b-566e2d8ee9b6'::uuid])
ORDER BY b."Id";

-- Query #59240 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7053f957-b113-a47d-b47b-566e2d8ee9b6'::uuid])
ORDER BY b."Id";

-- Query #59241 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #59242 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid, 'ebec593e-0adc-3cc3-7225-8afd2244e56d'::uuid])
ORDER BY b."Id";

-- Query #59243 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2444f5a1-d213-6f0c-ad04-75cbbd9d850a'::uuid])
ORDER BY b."Id";

-- Query #59244 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2444f5a1-d213-6f0c-ad04-75cbbd9d850a'::uuid])
ORDER BY b."Id";

-- Query #59245 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid])
ORDER BY b."Id";

-- Query #59246 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8604b696-b923-f054-2edd-0000b5e8f5c6'::uuid])
ORDER BY b."Id";

-- Query #59247 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ecdcb7e-3040-46da-26dc-73090db5fc3e'::uuid])
ORDER BY b."Id";

-- Query #59248 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ecdcb7e-3040-46da-26dc-73090db5fc3e'::uuid])
ORDER BY b."Id";

-- Query #59249 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #59250 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #59251 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['14fc0d9f-b6db-e92c-492a-9eb99ecd88b2'::uuid])
ORDER BY b."Id";

-- Query #59252 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['14fc0d9f-b6db-e92c-492a-9eb99ecd88b2'::uuid])
ORDER BY b."Id";

-- Query #59253 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #59254 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid, '34ada173-86d3-d6c9-20ab-0e5cc3e615d7'::uuid])
ORDER BY b."Id";

-- Query #59255 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid])
ORDER BY b."Id";

-- Query #59256 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb459db-5cf2-e5ff-c33d-f26256353ffd'::uuid])
ORDER BY b."Id";

-- Query #59257 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #59258 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid, '99556b68-17de-28b4-403b-696cef4c0f34'::uuid])
ORDER BY b."Id";

-- Query #59259 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid])
ORDER BY b."Id";

-- Query #59260 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c5c6b9c4-aefb-ae93-4e61-f4cb51ad725c'::uuid])
ORDER BY b."Id";

-- Query #59261 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #59262 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f46506ec-4cb9-b056-5528-2c67b0c2ee4e'::uuid])
ORDER BY b."Id";

-- Query #59263 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #59264 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid, 'a29854d9-6d32-88d2-5119-1327a3a45bf4'::uuid])
ORDER BY b."Id";

-- Query #59265 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['86b7c33f-1299-e5a1-e6f5-9241af4964f4'::uuid])
ORDER BY b."Id";

-- Query #59266 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['86b7c33f-1299-e5a1-e6f5-9241af4964f4'::uuid])
ORDER BY b."Id";

-- Query #59267 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #59268 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid, 'ed40ce4c-90bd-c892-0899-d01c6aa0a3a3'::uuid, 'fd619cb1-47dd-d04a-3117-6236984117fe'::uuid])
ORDER BY b."Id";

-- Query #59269 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #59270 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid, 'bca7056d-62f1-9936-761e-7d931a7390dd'::uuid, '82c6b2ee-bac8-dd09-b4b8-36e8a50986e6'::uuid])
ORDER BY b."Id";

-- Query #59271 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['168b21a2-7bd9-56f5-bc74-39ca6c48c100'::uuid])
ORDER BY b."Id";

-- Query #59272 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f88f563-e9ed-5d68-8ce8-527a2ba38669'::uuid])
ORDER BY b."Id";

-- Query #59273 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['168b21a2-7bd9-56f5-bc74-39ca6c48c100'::uuid])
ORDER BY b."Id";

-- Query #59274 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5f88f563-e9ed-5d68-8ce8-527a2ba38669'::uuid])
ORDER BY b."Id";

-- Query #59275 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #59276 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid, '23329900-fa58-f55a-1d41-125611d38db3'::uuid, 'dd486342-a10b-e49f-df09-0d824b972832'::uuid, '22399cde-2d3a-e2c5-a66f-6b0768536d8e'::uuid, 'cba8650d-1178-8a34-5e7d-298ae4617dd1'::uuid])
ORDER BY b."Id";

-- Query #59277 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4d3fdbf8-ef7f-7cb4-a2fa-f01310c6a5bb'::uuid])
ORDER BY b."Id";

-- Query #59278 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4d3fdbf8-ef7f-7cb4-a2fa-f01310c6a5bb'::uuid])
ORDER BY b."Id";

-- Query #59279 | logged_duration_ms=4 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #59280 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #59281 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0a58281c-9cb5-c45d-9d2a-62f76666f17e'::uuid])
ORDER BY b."Id";

-- Query #59282 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0a58281c-9cb5-c45d-9d2a-62f76666f17e'::uuid])
ORDER BY b."Id";

-- Query #59283 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #59284 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid, '5fedfe53-d9cc-b288-5e37-94dabc15f4b8'::uuid, 'b4bc4fd6-cf7e-dabf-6f20-2c78687319c9'::uuid])
ORDER BY b."Id";

-- Query #59285 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2dc1c5fe-f48d-5c72-8c4f-42861212079a'::uuid])
ORDER BY b."Id";

-- Query #59286 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2dc1c5fe-f48d-5c72-8c4f-42861212079a'::uuid])
ORDER BY b."Id";

-- Query #59287 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b24ffc32-3f3c-8776-b136-237262a14ee3'::uuid])
ORDER BY b."Id";

-- Query #59288 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b24ffc32-3f3c-8776-b136-237262a14ee3'::uuid])
ORDER BY b."Id";

-- Query #59289 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e069c64-ce26-88c9-709a-b86a20d9dd10'::uuid])
ORDER BY b."Id";

-- Query #59290 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e069c64-ce26-88c9-709a-b86a20d9dd10'::uuid])
ORDER BY b."Id";

-- Query #59291 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9c5232f-d8ea-14dd-7413-d25eb82e81ad'::uuid])
ORDER BY b."Id";

-- Query #59292 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9c5232f-d8ea-14dd-7413-d25eb82e81ad'::uuid])
ORDER BY b."Id";

-- Query #59293 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8726348-6252-b4aa-ddbf-d9a0e62d1c06'::uuid])
ORDER BY b."Id";

-- Query #59294 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a8726348-6252-b4aa-ddbf-d9a0e62d1c06'::uuid])
ORDER BY b."Id";

-- Query #59295 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2313c7bc-3892-72fc-d164-dfec5877174a'::uuid])
ORDER BY b."Id";

-- Query #59296 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2313c7bc-3892-72fc-d164-dfec5877174a'::uuid])
ORDER BY b."Id";

-- Query #59297 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dc4b67d8-9286-29c6-e478-4424b6ee2ecd'::uuid])
ORDER BY b."Id";

-- Query #59298 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dc4b67d8-9286-29c6-e478-4424b6ee2ecd'::uuid])
ORDER BY b."Id";

-- Query #59299 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90ab5e2d-f184-ac44-5e9b-08eae41d168b'::uuid])
ORDER BY b."Id";

-- Query #59300 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['90ab5e2d-f184-ac44-5e9b-08eae41d168b'::uuid])
ORDER BY b."Id";

-- Query #59301 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['60caa77b-62ed-9bb8-3732-702e9d4f5a7d'::uuid])
ORDER BY b."Id";

-- Query #59302 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['60caa77b-62ed-9bb8-3732-702e9d4f5a7d'::uuid])
ORDER BY b."Id";

-- Query #59303 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1600b77-6dfe-36f0-6908-9fa1405f9064'::uuid])
ORDER BY b."Id";

-- Query #59304 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b1600b77-6dfe-36f0-6908-9fa1405f9064'::uuid])
ORDER BY b."Id";

-- Query #59305 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c1a36532-ad39-9309-8331-44828f1274a3'::uuid])
ORDER BY b."Id";

-- Query #59306 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c1a36532-ad39-9309-8331-44828f1274a3'::uuid])
ORDER BY b."Id";

-- Query #59307 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da00bccf-2dc5-ba50-9b75-b12fb56300fb'::uuid])
ORDER BY b."Id";

-- Query #59308 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['da00bccf-2dc5-ba50-9b75-b12fb56300fb'::uuid])
ORDER BY b."Id";

-- Query #59309 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1cdd5223-ee61-8bc7-98ff-e9cb8008ab65'::uuid])
ORDER BY b."Id";

-- Query #59310 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1cdd5223-ee61-8bc7-98ff-e9cb8008ab65'::uuid])
ORDER BY b."Id";

-- Query #59311 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efb7a9eb-65da-e626-f887-33f20d22fbdf'::uuid])
ORDER BY b."Id";

-- Query #59312 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['efb7a9eb-65da-e626-f887-33f20d22fbdf'::uuid])
ORDER BY b."Id";

-- Query #59313 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aefd1f7b-f282-0f8a-900c-34c5d058cbe7'::uuid])
ORDER BY b."Id";

-- Query #59314 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aefd1f7b-f282-0f8a-900c-34c5d058cbe7'::uuid])
ORDER BY b."Id";

-- Query #59315 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b53873f5-9823-4fb3-20bc-f11b23b8079e'::uuid])
ORDER BY b."Id";

-- Query #59316 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b53873f5-9823-4fb3-20bc-f11b23b8079e'::uuid])
ORDER BY b."Id";

-- Query #59317 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['388d0482-c7eb-072e-bbdd-11e3e57669d1'::uuid])
ORDER BY b."Id";

-- Query #59318 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['388d0482-c7eb-072e-bbdd-11e3e57669d1'::uuid])
ORDER BY b."Id";

-- Query #59319 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['22ba4a6f-a798-a781-797e-be9dd6158fbb'::uuid])
ORDER BY b."Id";

-- Query #59320 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['22ba4a6f-a798-a781-797e-be9dd6158fbb'::uuid])
ORDER BY b."Id";

-- Query #59321 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e283f8c3-d6d8-a6f4-0323-b9c14b2c3ca3'::uuid])
ORDER BY b."Id";

-- Query #59322 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e283f8c3-d6d8-a6f4-0323-b9c14b2c3ca3'::uuid])
ORDER BY b."Id";

-- Query #59323 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8750530-8478-0ddc-9308-1dab760a6f7f'::uuid])
ORDER BY b."Id";

-- Query #59324 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8750530-8478-0ddc-9308-1dab760a6f7f'::uuid])
ORDER BY b."Id";

-- Query #59325 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06b1d9b6-3b10-6584-67b3-757949b47ef6'::uuid])
ORDER BY b."Id";

-- Query #59326 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['06b1d9b6-3b10-6584-67b3-757949b47ef6'::uuid])
ORDER BY b."Id";

-- Query #59327 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef70c153-8bd3-a5d7-9c6d-43c4b25afbfa'::uuid])
ORDER BY b."Id";

-- Query #59328 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ef70c153-8bd3-a5d7-9c6d-43c4b25afbfa'::uuid])
ORDER BY b."Id";

-- Query #59329 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2995edb5-6ee5-2ea2-befb-95c6a069d6c3'::uuid])
ORDER BY b."Id";

-- Query #59330 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2995edb5-6ee5-2ea2-befb-95c6a069d6c3'::uuid])
ORDER BY b."Id";

-- Query #59331 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b479b9ed-5acb-13e7-0e60-1dab94d748c8'::uuid])
ORDER BY b."Id";

-- Query #59332 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b479b9ed-5acb-13e7-0e60-1dab94d748c8'::uuid])
ORDER BY b."Id";

-- Query #59333 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['555ae87b-bc66-ff05-ce89-8f1606209f7d'::uuid])
ORDER BY b."Id";

-- Query #59334 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['555ae87b-bc66-ff05-ce89-8f1606209f7d'::uuid])
ORDER BY b."Id";

-- Query #59335 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b7ef8e0-234b-8620-7a71-688a9be1185e'::uuid])
ORDER BY b."Id";

-- Query #59336 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5b7ef8e0-234b-8620-7a71-688a9be1185e'::uuid])
ORDER BY b."Id";

-- Query #59337 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b953d630-212b-2c27-d1d4-916a6df9a392'::uuid])
ORDER BY b."Id";

-- Query #59338 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b953d630-212b-2c27-d1d4-916a6df9a392'::uuid])
ORDER BY b."Id";

-- Query #59339 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99eeff66-b008-2d29-1ac4-92ea901a6380'::uuid])
ORDER BY b."Id";

-- Query #59340 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['99eeff66-b008-2d29-1ac4-92ea901a6380'::uuid])
ORDER BY b."Id";

-- Query #59341 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7c7c2852-1372-70e3-2e80-42e858762885'::uuid])
ORDER BY b."Id";

-- Query #59342 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7c7c2852-1372-70e3-2e80-42e858762885'::uuid])
ORDER BY b."Id";

-- Query #59343 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f1102928-47d8-1b21-bf24-bd60475a82ab'::uuid])
ORDER BY b."Id";

-- Query #59344 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f1102928-47d8-1b21-bf24-bd60475a82ab'::uuid])
ORDER BY b."Id";

-- Query #59345 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db165369-91eb-9ab8-e025-398b2bb30c24'::uuid])
ORDER BY b."Id";

-- Query #59346 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db165369-91eb-9ab8-e025-398b2bb30c24'::uuid])
ORDER BY b."Id";

-- Query #59347 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #59348 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e531747-15e4-f2f0-8ebe-8841760ca5ed'::uuid])
ORDER BY b."Id";

-- Query #59349 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['93c42163-4ffe-8700-41eb-7c227f0dc2a8'::uuid])
ORDER BY b."Id";

-- Query #59350 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['93c42163-4ffe-8700-41eb-7c227f0dc2a8'::uuid])
ORDER BY b."Id";

-- Query #59351 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1e8de46-a4f3-ae19-5c9c-9f1d694b883e'::uuid])
ORDER BY b."Id";

-- Query #59352 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b1e8de46-a4f3-ae19-5c9c-9f1d694b883e'::uuid])
ORDER BY b."Id";

-- Query #59353 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['567f6f19-d0a1-a111-f66b-e24e5acdfeea'::uuid])
ORDER BY b."Id";

-- Query #59354 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['567f6f19-d0a1-a111-f66b-e24e5acdfeea'::uuid])
ORDER BY b."Id";

-- Query #59355 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9fec77e-706a-1e0e-9313-0c47f61337f9'::uuid])
ORDER BY b."Id";

-- Query #59356 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a9fec77e-706a-1e0e-9313-0c47f61337f9'::uuid])
ORDER BY b."Id";

-- Query #59357 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df9cd5e2-8849-395c-f362-d1abc7aac511'::uuid])
ORDER BY b."Id";

-- Query #59358 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['df9cd5e2-8849-395c-f362-d1abc7aac511'::uuid])
ORDER BY b."Id";

-- Query #59359 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['22933ce3-c07d-79c6-90aa-9416018c0892'::uuid])
ORDER BY b."Id";

-- Query #59360 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['22933ce3-c07d-79c6-90aa-9416018c0892'::uuid])
ORDER BY b."Id";

-- Query #59361 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['96cf2ebb-c0d0-c512-e5f1-184401e8054d'::uuid])
ORDER BY b."Id";

-- Query #59362 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['96cf2ebb-c0d0-c512-e5f1-184401e8054d'::uuid])
ORDER BY b."Id";

-- Query #59363 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1278eba6-f5f8-a5a0-9739-560e78baa1a7'::uuid])
ORDER BY b."Id";

-- Query #59364 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1278eba6-f5f8-a5a0-9739-560e78baa1a7'::uuid])
ORDER BY b."Id";

-- Query #59365 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f0072258-d601-4deb-6acc-c3a0aa69afb9'::uuid])
ORDER BY b."Id";

-- Query #59366 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f0072258-d601-4deb-6acc-c3a0aa69afb9'::uuid])
ORDER BY b."Id";

-- Query #59367 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a9a2512e-5a5f-c707-7495-40dfc5691d6b'::uuid])
ORDER BY b."Id";

-- Query #59368 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a9a2512e-5a5f-c707-7495-40dfc5691d6b'::uuid])
ORDER BY b."Id";

-- Query #59369 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e8b13fd5-58de-82ce-5497-581555e35ee0'::uuid])
ORDER BY b."Id";

-- Query #59370 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e8b13fd5-58de-82ce-5497-581555e35ee0'::uuid])
ORDER BY b."Id";

-- Query #59371 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e8057291-7f5b-7ae7-e671-b8fba9c96ede'::uuid])
ORDER BY b."Id";

-- Query #59372 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e8057291-7f5b-7ae7-e671-b8fba9c96ede'::uuid])
ORDER BY b."Id";

-- Query #59373 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0af041ba-02ac-3e39-61fe-366bc35fec8f'::uuid])
ORDER BY b."Id";

-- Query #59374 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0af041ba-02ac-3e39-61fe-366bc35fec8f'::uuid])
ORDER BY b."Id";

-- Query #59375 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['34543129-3e23-306e-c7f6-aef74d17c3da'::uuid])
ORDER BY b."Id";

-- Query #59376 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['34543129-3e23-306e-c7f6-aef74d17c3da'::uuid])
ORDER BY b."Id";

-- Query #59377 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8061cfd4-9fe9-d693-1303-faa8978fbb06'::uuid])
ORDER BY b."Id";

-- Query #59378 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8061cfd4-9fe9-d693-1303-faa8978fbb06'::uuid])
ORDER BY b."Id";

-- Query #59379 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90fdbe99-0657-f399-8269-4ed0e23ff104'::uuid])
ORDER BY b."Id";

-- Query #59380 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['90fdbe99-0657-f399-8269-4ed0e23ff104'::uuid])
ORDER BY b."Id";

-- Query #59381 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24215374-1245-3c78-90db-9b8f1dbacff3'::uuid])
ORDER BY b."Id";

-- Query #59382 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['24215374-1245-3c78-90db-9b8f1dbacff3'::uuid])
ORDER BY b."Id";

-- Query #59383 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8410871c-1ff9-d70f-13a2-d8659106923b'::uuid])
ORDER BY b."Id";

-- Query #59384 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8410871c-1ff9-d70f-13a2-d8659106923b'::uuid])
ORDER BY b."Id";

-- Query #59385 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b91d970d-1f79-4481-e731-a05b85890074'::uuid])
ORDER BY b."Id";

-- Query #59386 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b91d970d-1f79-4481-e731-a05b85890074'::uuid])
ORDER BY b."Id";

-- Query #59387 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2ae2cbb2-e735-7ff1-7295-91b7b9016660'::uuid])
ORDER BY b."Id";

-- Query #59388 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2ae2cbb2-e735-7ff1-7295-91b7b9016660'::uuid])
ORDER BY b."Id";

-- Query #59389 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['298bf295-a314-eae0-1b6d-9f96af2528ce'::uuid])
ORDER BY b."Id";

-- Query #59390 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['298bf295-a314-eae0-1b6d-9f96af2528ce'::uuid])
ORDER BY b."Id";

-- Query #59391 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07263db0-c737-3ad2-13f9-46b2aac847d4'::uuid])
ORDER BY b."Id";

-- Query #59392 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['07263db0-c737-3ad2-13f9-46b2aac847d4'::uuid])
ORDER BY b."Id";

-- Query #59393 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ca7e9c7-7aa8-e329-ac9b-8800b73319fc'::uuid])
ORDER BY b."Id";

-- Query #59394 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7ca7e9c7-7aa8-e329-ac9b-8800b73319fc'::uuid])
ORDER BY b."Id";

-- Query #59395 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39f6ead0-7ee0-b4a7-cdb4-b25de31bb4e4'::uuid])
ORDER BY b."Id";

-- Query #59396 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39f6ead0-7ee0-b4a7-cdb4-b25de31bb4e4'::uuid])
ORDER BY b."Id";

-- Query #59397 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['67c15c4b-a184-d890-d68d-b112a0e1b8aa'::uuid])
ORDER BY b."Id";

-- Query #59398 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['67c15c4b-a184-d890-d68d-b112a0e1b8aa'::uuid])
ORDER BY b."Id";

-- Query #59399 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9634134-1641-d609-aba6-31b443cd46d1'::uuid])
ORDER BY b."Id";

-- Query #59400 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f9634134-1641-d609-aba6-31b443cd46d1'::uuid])
ORDER BY b."Id";

-- Query #59401 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30fc819d-e173-646a-1c70-62dd7dc32b0d'::uuid])
ORDER BY b."Id";

-- Query #59402 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['30fc819d-e173-646a-1c70-62dd7dc32b0d'::uuid])
ORDER BY b."Id";

-- Query #59403 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['590b0f07-d497-1c8d-2ea9-7e562032c519'::uuid])
ORDER BY b."Id";

-- Query #59404 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['590b0f07-d497-1c8d-2ea9-7e562032c519'::uuid])
ORDER BY b."Id";

-- Query #59405 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f758a60-05e9-d25b-1ffc-d5d64b140842'::uuid])
ORDER BY b."Id";

-- Query #59406 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4f758a60-05e9-d25b-1ffc-d5d64b140842'::uuid])
ORDER BY b."Id";

-- Query #59407 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7ef4abe1-edba-9524-ecef-41635df61147'::uuid])
ORDER BY b."Id";

-- Query #59408 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7ef4abe1-edba-9524-ecef-41635df61147'::uuid])
ORDER BY b."Id";

-- Query #59409 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5def979-9791-b191-3c7b-5bf1df354580'::uuid])
ORDER BY b."Id";

-- Query #59410 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f5def979-9791-b191-3c7b-5bf1df354580'::uuid])
ORDER BY b."Id";

-- Query #59411 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80152a32-1ae9-b76c-a9d8-f3b0ac274e94'::uuid])
ORDER BY b."Id";

-- Query #59412 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['80152a32-1ae9-b76c-a9d8-f3b0ac274e94'::uuid])
ORDER BY b."Id";

-- Query #59413 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6bef8e0d-5a02-ae06-d625-414cd949fb76'::uuid])
ORDER BY b."Id";

-- Query #59414 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6bef8e0d-5a02-ae06-d625-414cd949fb76'::uuid])
ORDER BY b."Id";

-- Query #59415 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ebd27ac-0569-658f-94f2-de30bdf2d0d8'::uuid])
ORDER BY b."Id";

-- Query #59416 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3ebd27ac-0569-658f-94f2-de30bdf2d0d8'::uuid])
ORDER BY b."Id";

-- Query #59417 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3bbcc162-f72b-4605-ced1-a948b9803171'::uuid])
ORDER BY b."Id";

-- Query #59418 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3bbcc162-f72b-4605-ced1-a948b9803171'::uuid])
ORDER BY b."Id";

-- Query #59419 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38d7c03d-5337-4e48-d002-3e1f9901ef90'::uuid])
ORDER BY b."Id";

-- Query #59420 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['38d7c03d-5337-4e48-d002-3e1f9901ef90'::uuid])
ORDER BY b."Id";

-- Query #59421 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['713c7a51-25df-b08c-0842-b7d1ddbca250'::uuid])
ORDER BY b."Id";

-- Query #59422 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['713c7a51-25df-b08c-0842-b7d1ddbca250'::uuid])
ORDER BY b."Id";

-- Query #59423 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['430f1f61-77f6-a8c0-9d60-9a2044e6bcdd'::uuid])
ORDER BY b."Id";

-- Query #59424 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['430f1f61-77f6-a8c0-9d60-9a2044e6bcdd'::uuid])
ORDER BY b."Id";

-- Query #59425 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d0ce473c-1bdb-c6fb-0f31-5e81316f9b58'::uuid])
ORDER BY b."Id";

-- Query #59426 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d0ce473c-1bdb-c6fb-0f31-5e81316f9b58'::uuid])
ORDER BY b."Id";

-- Query #59427 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['65bb6ebd-891f-3dbf-0337-e46e67388a5b'::uuid])
ORDER BY b."Id";

-- Query #59428 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['65bb6ebd-891f-3dbf-0337-e46e67388a5b'::uuid])
ORDER BY b."Id";

-- Query #59429 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b6d2b080-2cb8-fa40-b9db-aadd9bc3f246'::uuid])
ORDER BY b."Id";

-- Query #59430 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b6d2b080-2cb8-fa40-b9db-aadd9bc3f246'::uuid])
ORDER BY b."Id";

-- Query #59431 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d8919cc-4e38-6819-872e-f5b6cc22f3d3'::uuid])
ORDER BY b."Id";

-- Query #59432 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6d8919cc-4e38-6819-872e-f5b6cc22f3d3'::uuid])
ORDER BY b."Id";

-- Query #59433 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24447a01-a55e-db71-0eb5-70aab460db9c'::uuid])
ORDER BY b."Id";

-- Query #59434 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['24447a01-a55e-db71-0eb5-70aab460db9c'::uuid])
ORDER BY b."Id";

-- Query #59435 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3586909c-202e-946f-fe57-197198b0f54b'::uuid])
ORDER BY b."Id";

-- Query #59436 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3586909c-202e-946f-fe57-197198b0f54b'::uuid])
ORDER BY b."Id";

-- Query #59437 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cf3a2dcc-3db0-64f4-0dc2-eb013478168e'::uuid])
ORDER BY b."Id";

-- Query #59438 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cf3a2dcc-3db0-64f4-0dc2-eb013478168e'::uuid])
ORDER BY b."Id";

-- Query #59439 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['678a5837-783a-4f4a-98c9-76345f66a54d'::uuid])
ORDER BY b."Id";

-- Query #59440 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['678a5837-783a-4f4a-98c9-76345f66a54d'::uuid])
ORDER BY b."Id";

-- Query #59441 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d9ac2db-4d2b-1a47-dc26-4d87b2ea6afc'::uuid])
ORDER BY b."Id";

-- Query #59442 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0d9ac2db-4d2b-1a47-dc26-4d87b2ea6afc'::uuid])
ORDER BY b."Id";

-- Query #59443 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0342930e-a2f9-680d-1fc2-a59153d08aa1'::uuid])
ORDER BY b."Id";

-- Query #59444 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0342930e-a2f9-680d-1fc2-a59153d08aa1'::uuid])
ORDER BY b."Id";

-- Query #59445 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dbaa3310-a5dc-8f62-7a89-999a6e89055f'::uuid])
ORDER BY b."Id";

-- Query #59446 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dbaa3310-a5dc-8f62-7a89-999a6e89055f'::uuid])
ORDER BY b."Id";

-- Query #59447 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b811542b-1088-5c14-20fc-3596a643bcb0'::uuid])
ORDER BY b."Id";

-- Query #59448 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b811542b-1088-5c14-20fc-3596a643bcb0'::uuid])
ORDER BY b."Id";

-- Query #59449 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80d5c1d6-bad2-a87f-4490-33816d75296b'::uuid])
ORDER BY b."Id";

-- Query #59450 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['80d5c1d6-bad2-a87f-4490-33816d75296b'::uuid])
ORDER BY b."Id";

-- Query #59451 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1c17474f-7e51-9252-6d0d-5b40c28a8d87'::uuid])
ORDER BY b."Id";

-- Query #59452 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1c17474f-7e51-9252-6d0d-5b40c28a8d87'::uuid])
ORDER BY b."Id";

-- Query #59453 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4fbb138f-5ff9-2aa8-3213-c74c1edcb46b'::uuid])
ORDER BY b."Id";

-- Query #59454 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4fbb138f-5ff9-2aa8-3213-c74c1edcb46b'::uuid])
ORDER BY b."Id";

-- Query #59455 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11f6eb02-da5e-a9f2-aaae-2cb44af5a1bc'::uuid])
ORDER BY b."Id";

-- Query #59456 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['11f6eb02-da5e-a9f2-aaae-2cb44af5a1bc'::uuid])
ORDER BY b."Id";

-- Query #59457 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2d0e1e26-117f-2062-00cf-eccadb4942ce'::uuid])
ORDER BY b."Id";

-- Query #59458 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2d0e1e26-117f-2062-00cf-eccadb4942ce'::uuid])
ORDER BY b."Id";

-- Query #59459 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6e069be-3424-77a8-2a34-b9dd34b1ea11'::uuid])
ORDER BY b."Id";

-- Query #59460 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e6e069be-3424-77a8-2a34-b9dd34b1ea11'::uuid])
ORDER BY b."Id";

-- Query #59461 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42d5a53e-ef58-a50a-8a93-6fdfbb7dff8f'::uuid])
ORDER BY b."Id";

-- Query #59462 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['42d5a53e-ef58-a50a-8a93-6fdfbb7dff8f'::uuid])
ORDER BY b."Id";

-- Query #59463 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5d1b242b-5b65-c0a2-4446-5c1f12484333'::uuid])
ORDER BY b."Id";

-- Query #59464 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5d1b242b-5b65-c0a2-4446-5c1f12484333'::uuid])
ORDER BY b."Id";

-- Query #59465 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5f370d46-4d24-4ff8-1c6d-1b26954013fb'::uuid])
ORDER BY b."Id";

-- Query #59466 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5f370d46-4d24-4ff8-1c6d-1b26954013fb'::uuid])
ORDER BY b."Id";

-- Query #59467 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56fad623-52ca-e5e0-8f4f-0b65a1208d46'::uuid])
ORDER BY b."Id";

-- Query #59468 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['56fad623-52ca-e5e0-8f4f-0b65a1208d46'::uuid])
ORDER BY b."Id";

-- Query #59469 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72afa170-7f4c-7b31-0ac0-cf0b14085cd3'::uuid])
ORDER BY b."Id";

-- Query #59470 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72afa170-7f4c-7b31-0ac0-cf0b14085cd3'::uuid])
ORDER BY b."Id";

-- Query #59471 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2e3075b2-8487-d943-e911-d3d433077c8f'::uuid])
ORDER BY b."Id";

-- Query #59472 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2e3075b2-8487-d943-e911-d3d433077c8f'::uuid])
ORDER BY b."Id";

-- Query #59473 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e18f3d79-e0e6-fbef-e267-32010a25c348'::uuid])
ORDER BY b."Id";

-- Query #59474 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e18f3d79-e0e6-fbef-e267-32010a25c348'::uuid])
ORDER BY b."Id";

-- Query #59475 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07db2a9f-db10-0207-1c24-e71b2986a80c'::uuid])
ORDER BY b."Id";

-- Query #59476 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['07db2a9f-db10-0207-1c24-e71b2986a80c'::uuid])
ORDER BY b."Id";

-- Query #59477 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5e51774-1ad8-ea2b-285c-330364356071'::uuid])
ORDER BY b."Id";

-- Query #59478 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b5e51774-1ad8-ea2b-285c-330364356071'::uuid])
ORDER BY b."Id";

-- Query #59479 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7b1d8a29-7e7a-a563-daea-1da5ebfccbab'::uuid])
ORDER BY b."Id";

-- Query #59480 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7b1d8a29-7e7a-a563-daea-1da5ebfccbab'::uuid])
ORDER BY b."Id";

-- Query #59481 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['abaa894a-c054-3798-6825-f3fb09a9c1e3'::uuid])
ORDER BY b."Id";

-- Query #59482 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['abaa894a-c054-3798-6825-f3fb09a9c1e3'::uuid])
ORDER BY b."Id";

-- Query #59483 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['15b050b3-5fc5-c1ae-a89e-9e9d665ab10e'::uuid])
ORDER BY b."Id";

-- Query #59484 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['15b050b3-5fc5-c1ae-a89e-9e9d665ab10e'::uuid])
ORDER BY b."Id";

-- Query #59485 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a45df22-fe06-1662-fa01-0b04612d9332'::uuid])
ORDER BY b."Id";

-- Query #59486 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9a45df22-fe06-1662-fa01-0b04612d9332'::uuid])
ORDER BY b."Id";

-- Query #59487 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c21be72b-e39e-3033-31c3-e428b8e56721'::uuid])
ORDER BY b."Id";

-- Query #59488 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c21be72b-e39e-3033-31c3-e428b8e56721'::uuid])
ORDER BY b."Id";

-- Query #59489 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d38ef0ae-1b75-ca72-ac3e-f7168168b77b'::uuid])
ORDER BY b."Id";

-- Query #59490 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d38ef0ae-1b75-ca72-ac3e-f7168168b77b'::uuid])
ORDER BY b."Id";

-- Query #59491 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f0886225-32c9-3e5e-a940-f90b1f4b4e9c'::uuid])
ORDER BY b."Id";

-- Query #59492 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f0886225-32c9-3e5e-a940-f90b1f4b4e9c'::uuid])
ORDER BY b."Id";

-- Query #59493 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29321d70-e721-40c6-a402-cca96a7518bd'::uuid])
ORDER BY b."Id";

-- Query #59494 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['29321d70-e721-40c6-a402-cca96a7518bd'::uuid])
ORDER BY b."Id";

-- Query #59495 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6903df49-dca7-d00f-521a-a15ce00697aa'::uuid])
ORDER BY b."Id";

-- Query #59496 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6903df49-dca7-d00f-521a-a15ce00697aa'::uuid])
ORDER BY b."Id";

-- Query #59497 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['284c0cfe-e24a-e3ac-0f87-e3a3dbe84ff7'::uuid])
ORDER BY b."Id";

-- Query #59498 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['284c0cfe-e24a-e3ac-0f87-e3a3dbe84ff7'::uuid])
ORDER BY b."Id";

-- Query #59499 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['725c21a3-b64d-aa71-4eef-91ad6cb7cf61'::uuid])
ORDER BY b."Id";

-- Query #59500 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['725c21a3-b64d-aa71-4eef-91ad6cb7cf61'::uuid])
ORDER BY b."Id";

-- Query #59501 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78532b32-1488-e465-ef4d-576c8f2175b0'::uuid])
ORDER BY b."Id";

-- Query #59502 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['78532b32-1488-e465-ef4d-576c8f2175b0'::uuid])
ORDER BY b."Id";

-- Query #59503 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3dfe6549-5b6a-d301-3887-d825dbd1933b'::uuid])
ORDER BY b."Id";

-- Query #59504 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3dfe6549-5b6a-d301-3887-d825dbd1933b'::uuid])
ORDER BY b."Id";

-- Query #59505 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ff09ce8-2863-6d40-38b0-15195908307c'::uuid])
ORDER BY b."Id";

-- Query #59506 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0ff09ce8-2863-6d40-38b0-15195908307c'::uuid])
ORDER BY b."Id";

-- Query #59507 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dba0c10b-77db-8232-eba1-12b1e2aacaad'::uuid])
ORDER BY b."Id";

-- Query #59508 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dba0c10b-77db-8232-eba1-12b1e2aacaad'::uuid])
ORDER BY b."Id";

-- Query #59509 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e80bfbd-0308-771d-7e88-05fc8fae5117'::uuid])
ORDER BY b."Id";

-- Query #59510 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e80bfbd-0308-771d-7e88-05fc8fae5117'::uuid])
ORDER BY b."Id";

-- Query #59511 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['df977084-db62-0374-c445-ffce6c11175c'::uuid])
ORDER BY b."Id";

-- Query #59512 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['df977084-db62-0374-c445-ffce6c11175c'::uuid])
ORDER BY b."Id";

-- Query #59513 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1802e829-8264-ca4c-01fd-e503b4a33e5a'::uuid])
ORDER BY b."Id";

-- Query #59514 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1802e829-8264-ca4c-01fd-e503b4a33e5a'::uuid])
ORDER BY b."Id";

-- Query #59515 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6099b4a-d589-3ae9-f9ba-5c2d980c2470'::uuid])
ORDER BY b."Id";

-- Query #59516 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e6099b4a-d589-3ae9-f9ba-5c2d980c2470'::uuid])
ORDER BY b."Id";

-- Query #59517 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1ae0c61d-141c-78f6-5777-337405199756'::uuid])
ORDER BY b."Id";

-- Query #59518 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1ae0c61d-141c-78f6-5777-337405199756'::uuid])
ORDER BY b."Id";

-- Query #59519 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['533dad9c-e9aa-a549-324e-03c6da7613b0'::uuid])
ORDER BY b."Id";

-- Query #59520 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['533dad9c-e9aa-a549-324e-03c6da7613b0'::uuid])
ORDER BY b."Id";

-- Query #59521 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c40fe1b2-af22-7d02-3ba2-41d025570f38'::uuid])
ORDER BY b."Id";

-- Query #59522 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c40fe1b2-af22-7d02-3ba2-41d025570f38'::uuid])
ORDER BY b."Id";

-- Query #59523 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3194896b-4bf0-42f6-612a-c7e1912a770a'::uuid])
ORDER BY b."Id";

-- Query #59524 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3194896b-4bf0-42f6-612a-c7e1912a770a'::uuid])
ORDER BY b."Id";

-- Query #59525 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['77dd0b13-5946-9739-f47a-8469112e0f37'::uuid])
ORDER BY b."Id";

-- Query #59526 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['77dd0b13-5946-9739-f47a-8469112e0f37'::uuid])
ORDER BY b."Id";

-- Query #59527 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['63be3658-8e36-355f-205c-da433017a87c'::uuid])
ORDER BY b."Id";

-- Query #59528 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['63be3658-8e36-355f-205c-da433017a87c'::uuid])
ORDER BY b."Id";

-- Query #59529 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f72d2347-f7ff-dd69-3f91-06fbefb6a91d'::uuid])
ORDER BY b."Id";

-- Query #59530 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f72d2347-f7ff-dd69-3f91-06fbefb6a91d'::uuid])
ORDER BY b."Id";

-- Query #59531 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid])
ORDER BY b."Id";

-- Query #59532 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0634578a-3af3-9a45-57c4-785cc6173f2f'::uuid])
ORDER BY b."Id";

-- Query #59533 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3266a904-9d2a-3b4e-935e-21d30474a5ec'::uuid])
ORDER BY b."Id";

-- Query #59534 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3266a904-9d2a-3b4e-935e-21d30474a5ec'::uuid])
ORDER BY b."Id";

-- Query #59535 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['770779bc-339d-93ef-eb8e-7738dff76957'::uuid])
ORDER BY b."Id";

-- Query #59536 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['770779bc-339d-93ef-eb8e-7738dff76957'::uuid])
ORDER BY b."Id";

-- Query #59537 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6ef6a956-c276-e687-5de9-3843604cbd9e'::uuid])
ORDER BY b."Id";

-- Query #59538 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6ef6a956-c276-e687-5de9-3843604cbd9e'::uuid])
ORDER BY b."Id";

-- Query #59539 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e52dd7f7-d1f7-5e41-f29a-230719509da2'::uuid])
ORDER BY b."Id";

-- Query #59540 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e52dd7f7-d1f7-5e41-f29a-230719509da2'::uuid])
ORDER BY b."Id";

-- Query #59541 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid])
ORDER BY b."Id";

-- Query #59542 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['61699efd-25ea-4e5b-ce31-a58fbdcf1b81'::uuid])
ORDER BY b."Id";

-- Query #59543 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eae88635-45ae-111f-7419-1fd3f929fd9a'::uuid])
ORDER BY b."Id";

-- Query #59544 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eae88635-45ae-111f-7419-1fd3f929fd9a'::uuid])
ORDER BY b."Id";

-- Query #59545 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['735ef9a3-3989-118d-dd0d-597a6aeb0bfa'::uuid])
ORDER BY b."Id";

-- Query #59546 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['735ef9a3-3989-118d-dd0d-597a6aeb0bfa'::uuid])
ORDER BY b."Id";

-- Query #59547 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e685b191-054b-4aca-51fe-0db552f15052'::uuid])
ORDER BY b."Id";

-- Query #59548 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e685b191-054b-4aca-51fe-0db552f15052'::uuid])
ORDER BY b."Id";

-- Query #59549 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85c71da0-218e-5ace-63bc-48a1d90d956b'::uuid])
ORDER BY b."Id";

-- Query #59550 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['85c71da0-218e-5ace-63bc-48a1d90d956b'::uuid])
ORDER BY b."Id";

-- Query #59551 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb054524-9aee-504b-366c-88b885c062c8'::uuid])
ORDER BY b."Id";

-- Query #59552 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cb054524-9aee-504b-366c-88b885c062c8'::uuid])
ORDER BY b."Id";

-- Query #59553 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7acdd131-26e6-19d8-9d23-821317851dee'::uuid])
ORDER BY b."Id";

-- Query #59554 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7acdd131-26e6-19d8-9d23-821317851dee'::uuid])
ORDER BY b."Id";

-- Query #59555 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e62dc343-972e-bfc6-4c95-f336f0279d80'::uuid])
ORDER BY b."Id";

-- Query #59556 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e62dc343-972e-bfc6-4c95-f336f0279d80'::uuid])
ORDER BY b."Id";

-- Query #59557 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a34d578c-f0f3-88d5-0dad-d33093971898'::uuid])
ORDER BY b."Id";

-- Query #59558 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a34d578c-f0f3-88d5-0dad-d33093971898'::uuid])
ORDER BY b."Id";

-- Query #59559 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d262fe08-027f-21cb-e252-1a21d6f13dd9'::uuid])
ORDER BY b."Id";

-- Query #59560 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d262fe08-027f-21cb-e252-1a21d6f13dd9'::uuid])
ORDER BY b."Id";

-- Query #59561 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Series' AND b."SortName" LIKE 'r%' AND b."TopParentId" = 'c6f12ca9-c08b-da5d-c906-9ac406455751';

-- Query #59562 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b06969d1-0538-a124-7e5d-16df3fa3f018'::uuid])
ORDER BY b."Id";

-- Query #59563 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b06969d1-0538-a124-7e5d-16df3fa3f018'::uuid])
ORDER BY b."Id";

-- Query #59564 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Series' AND b."SortName" LIKE 'r%' AND b."TopParentId" = 'c6f12ca9-c08b-da5d-c906-9ac406455751'
ORDER BY b."SortName", b."Name";

-- Query #59565 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['feed0a6f-7745-6d06-35d8-d820861ca60b'::uuid, '3d2cf51c-f970-16d1-555c-5c4d86947af7'::uuid, '3b59e38a-ece2-8076-e6c5-3bfeff404cf2'::uuid, '392437a5-1132-53ab-8130-8734342cf3ba'::uuid])
ORDER BY b."Id";

-- Query #59566 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['feed0a6f-7745-6d06-35d8-d820861ca60b'::uuid, '3d2cf51c-f970-16d1-555c-5c4d86947af7'::uuid, '3b59e38a-ece2-8076-e6c5-3bfeff404cf2'::uuid, '392437a5-1132-53ab-8130-8734342cf3ba'::uuid])
ORDER BY b."Id";

-- Query #59567 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['feed0a6f-7745-6d06-35d8-d820861ca60b'::uuid, '3d2cf51c-f970-16d1-555c-5c4d86947af7'::uuid, '3b59e38a-ece2-8076-e6c5-3bfeff404cf2'::uuid, '392437a5-1132-53ab-8130-8734342cf3ba'::uuid])
ORDER BY b."Id";

-- Query #59568 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ce86f85d-4825-01fa-4537-646972219796'::uuid])
ORDER BY b."Id";

-- Query #59569 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ce86f85d-4825-01fa-4537-646972219796'::uuid])
ORDER BY b."Id";

-- Query #59570 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #59571 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #59572 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid])
ORDER BY b."Id";

-- Query #59573 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['97e94b49-cef8-b064-18c1-c1f8ba420b4b'::uuid])
ORDER BY b."Id";

-- Query #59574 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid])
ORDER BY b."Id";

-- Query #59575 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eb4867ab-520d-fe53-948a-cd8374ff120a'::uuid])
ORDER BY b."Id";

-- Query #59576 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e24760fc-0324-9f2d-f957-a774122c6e31'::uuid])
ORDER BY b."Id";

-- Query #59577 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e24760fc-0324-9f2d-f957-a774122c6e31'::uuid])
ORDER BY b."Id";

-- Query #59578 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06ed2000-4305-9537-1e85-a0765b2d2fda'::uuid])
ORDER BY b."Id";

-- Query #59579 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['06ed2000-4305-9537-1e85-a0765b2d2fda'::uuid])
ORDER BY b."Id";

-- Query #59580 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa33d74a-5e31-fd81-b64f-bcc6c6f562a1'::uuid])
ORDER BY b."Id";

-- Query #59581 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fa33d74a-5e31-fd81-b64f-bcc6c6f562a1'::uuid])
ORDER BY b."Id";

-- Query #59582 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid])
ORDER BY b."Id";

-- Query #59583 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['17dd9f2e-12a1-5fcb-9f2c-09f2d8144473'::uuid])
ORDER BY b."Id";

-- Query #59584 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #59585 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4bfba729-911f-2930-bcca-fafe810b177f'::uuid])
ORDER BY b."Id";

-- Query #59586 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a82109c5-6188-45fc-e3e7-6dfd8254465f'::uuid])
ORDER BY b."Id";

-- Query #59587 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a82109c5-6188-45fc-e3e7-6dfd8254465f'::uuid])
ORDER BY b."Id";

-- Query #59588 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid])
ORDER BY b."Id";

-- Query #59589 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['139636af-09c7-99a7-b982-0f3b0d43a6fc'::uuid])
ORDER BY b."Id";

-- Query #59590 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid])
ORDER BY b."Id";

-- Query #59591 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['50da7b3c-cb8a-e5b8-58cf-c97a0da9e70f'::uuid])
ORDER BY b."Id";

-- Query #59592 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0ef7feaf-3e72-5c72-b8fa-492749e8ea21'::uuid])
ORDER BY b."Id";

-- Query #59593 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0ef7feaf-3e72-5c72-b8fa-492749e8ea21'::uuid])
ORDER BY b."Id";

-- Query #59594 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1eb67501-848e-2f0c-a92b-f53e11df2f12'::uuid])
ORDER BY b."Id";

-- Query #59595 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1eb67501-848e-2f0c-a92b-f53e11df2f12'::uuid])
ORDER BY b."Id";

-- Query #59596 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['29fd1bdd-bc4c-9a93-4888-2bd9dc5a3898'::uuid])
ORDER BY b."Id";

-- Query #59597 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['29fd1bdd-bc4c-9a93-4888-2bd9dc5a3898'::uuid])
ORDER BY b."Id";

-- Query #59598 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['082e5713-4194-fea9-0323-fe42d350b908'::uuid])
ORDER BY b."Id";

-- Query #59599 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['082e5713-4194-fea9-0323-fe42d350b908'::uuid])
ORDER BY b."Id";

-- Query #59600 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8ff5d65-ffd3-9ce4-c6c3-97bc69cc535d'::uuid])
ORDER BY b."Id";

-- Query #59601 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a8ff5d65-ffd3-9ce4-c6c3-97bc69cc535d'::uuid])
ORDER BY b."Id";

-- Query #59602 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['175babf6-a1cc-cc25-a135-4703c32db5f6'::uuid])
ORDER BY b."Id";

-- Query #59603 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['175babf6-a1cc-cc25-a135-4703c32db5f6'::uuid])
ORDER BY b."Id";

-- Query #59604 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1f78ff5e-4373-3093-4260-5af3eb4cb188'::uuid])
ORDER BY b."Id";

-- Query #59605 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1f78ff5e-4373-3093-4260-5af3eb4cb188'::uuid])
ORDER BY b."Id";

-- Query #59606 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4582c2fb-4330-d752-9dfd-52c19aed112b'::uuid])
ORDER BY b."Id";

-- Query #59607 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4582c2fb-4330-d752-9dfd-52c19aed112b'::uuid])
ORDER BY b."Id";

-- Query #59608 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['155ddc43-fb5e-3708-2958-a83da084d054'::uuid])
ORDER BY b."Id";

-- Query #59609 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['155ddc43-fb5e-3708-2958-a83da084d054'::uuid])
ORDER BY b."Id";

-- Query #59610 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b4d086c4-8792-d0c9-8488-b0604b3663a4'::uuid])
ORDER BY b."Id";

-- Query #59611 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b4d086c4-8792-d0c9-8488-b0604b3663a4'::uuid])
ORDER BY b."Id";

-- Query #59612 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d45a977f-58f6-fa61-2a3d-92c527ef5253'::uuid])
ORDER BY b."Id";

-- Query #59613 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d45a977f-58f6-fa61-2a3d-92c527ef5253'::uuid])
ORDER BY b."Id";

-- Query #59614 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f0b28fc-9494-b741-874f-cfc6dbf3bd19'::uuid])
ORDER BY b."Id";

-- Query #59615 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8f0b28fc-9494-b741-874f-cfc6dbf3bd19'::uuid])
ORDER BY b."Id";

-- Query #59616 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7622f6af-c772-abb3-b0db-1f85bc6653b6'::uuid])
ORDER BY b."Id";

-- Query #59617 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7622f6af-c772-abb3-b0db-1f85bc6653b6'::uuid])
ORDER BY b."Id";

-- Query #59618 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4df5f618-0162-fb12-35a0-defb677560dc'::uuid])
ORDER BY b."Id";

-- Query #59619 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4df5f618-0162-fb12-35a0-defb677560dc'::uuid])
ORDER BY b."Id";

-- Query #59620 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42ca4923-8143-4e17-d2aa-2481be799e4b'::uuid])
ORDER BY b."Id";

-- Query #59621 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['42ca4923-8143-4e17-d2aa-2481be799e4b'::uuid])
ORDER BY b."Id";

-- Query #59622 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['272ba5e0-9cf7-f15e-fdd2-c645b61617d4'::uuid])
ORDER BY b."Id";

-- Query #59623 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['272ba5e0-9cf7-f15e-fdd2-c645b61617d4'::uuid])
ORDER BY b."Id";

-- Query #59624 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ecfea6a-2a95-5830-de67-e963ea010e4f'::uuid])
ORDER BY b."Id";

-- Query #59625 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ecfea6a-2a95-5830-de67-e963ea010e4f'::uuid])
ORDER BY b."Id";

-- Query #59626 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3b93e5f-e085-4aa7-e3cb-b5e7844b5831'::uuid])
ORDER BY b."Id";

-- Query #59627 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c3b93e5f-e085-4aa7-e3cb-b5e7844b5831'::uuid])
ORDER BY b."Id";

-- Query #59628 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d492bc68-4f1c-e76c-add1-8ba3744a3d20'::uuid])
ORDER BY b."Id";

-- Query #59629 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d492bc68-4f1c-e76c-add1-8ba3744a3d20'::uuid])
ORDER BY b."Id";

-- Query #59630 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e455c280-a52f-6601-1c53-d7acbe36aaf7'::uuid])
ORDER BY b."Id";

-- Query #59631 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e455c280-a52f-6601-1c53-d7acbe36aaf7'::uuid])
ORDER BY b."Id";

-- Query #59632 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8d79ba14-ebbc-5347-bf53-e46fa314b847'::uuid])
ORDER BY b."Id";

-- Query #59633 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8d79ba14-ebbc-5347-bf53-e46fa314b847'::uuid])
ORDER BY b."Id";

-- Query #59634 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8e6aae7-96b0-be9f-c6c4-4ad4dd6c3bd4'::uuid])
ORDER BY b."Id";

-- Query #59635 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8e6aae7-96b0-be9f-c6c4-4ad4dd6c3bd4'::uuid])
ORDER BY b."Id";

-- Query #59636 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['909b039e-7a94-9ba7-5079-1ec603000e7f'::uuid])
ORDER BY b."Id";

-- Query #59637 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['909b039e-7a94-9ba7-5079-1ec603000e7f'::uuid])
ORDER BY b."Id";

-- Query #59638 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['66d55813-6149-408d-ded0-8128e5f61456'::uuid])
ORDER BY b."Id";

-- Query #59639 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['66d55813-6149-408d-ded0-8128e5f61456'::uuid])
ORDER BY b."Id";

-- Query #59640 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ea9c92ec-2399-cc6f-db61-812cdd5b6d10'::uuid])
ORDER BY b."Id";

-- Query #59641 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ea9c92ec-2399-cc6f-db61-812cdd5b6d10'::uuid])
ORDER BY b."Id";

-- Query #59642 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f09db5a3-e607-d698-9049-ee346dc42a21'::uuid])
ORDER BY b."Id";

-- Query #59643 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f09db5a3-e607-d698-9049-ee346dc42a21'::uuid])
ORDER BY b."Id";

-- Query #59644 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['51287982-cc95-1386-7e7e-c43713acf876'::uuid])
ORDER BY b."Id";

-- Query #59645 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['51287982-cc95-1386-7e7e-c43713acf876'::uuid])
ORDER BY b."Id";

-- Query #59646 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39ba2845-eadb-2823-427c-58709670ca64'::uuid])
ORDER BY b."Id";

-- Query #59647 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39ba2845-eadb-2823-427c-58709670ca64'::uuid])
ORDER BY b."Id";

-- Query #59648 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b2ee529c-8433-2259-332c-1fbde266f161'::uuid])
ORDER BY b."Id";

-- Query #59649 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b2ee529c-8433-2259-332c-1fbde266f161'::uuid])
ORDER BY b."Id";

-- Query #59650 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d97073e-15c8-aa5a-7ac2-0e80c855e2ac'::uuid])
ORDER BY b."Id";

-- Query #59651 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7d97073e-15c8-aa5a-7ac2-0e80c855e2ac'::uuid])
ORDER BY b."Id";

-- Query #59652 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4207857-e1e5-8e5a-1211-51f00428fb02'::uuid])
ORDER BY b."Id";

-- Query #59653 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f4207857-e1e5-8e5a-1211-51f00428fb02'::uuid])
ORDER BY b."Id";

-- Query #59654 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ef3b52ef-a4d9-618d-2a97-d8f9239e54ba'::uuid])
ORDER BY b."Id";

-- Query #59655 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ef3b52ef-a4d9-618d-2a97-d8f9239e54ba'::uuid])
ORDER BY b."Id";

-- Query #59656 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e3e88c2-57b1-5542-1435-fcce8115cc43'::uuid])
ORDER BY b."Id";

-- Query #59657 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9e3e88c2-57b1-5542-1435-fcce8115cc43'::uuid])
ORDER BY b."Id";

-- Query #59658 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['289ca182-62fb-849e-1dd5-42b0980d2a42'::uuid])
ORDER BY b."Id";

-- Query #59659 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['289ca182-62fb-849e-1dd5-42b0980d2a42'::uuid])
ORDER BY b."Id";

-- Query #59660 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4106c697-25c0-d272-25bd-7188977e96ed'::uuid])
ORDER BY b."Id";

-- Query #59661 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4106c697-25c0-d272-25bd-7188977e96ed'::uuid])
ORDER BY b."Id";

-- Query #59662 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3a723c6-e065-3351-2367-4f84c2bbfe3e'::uuid])
ORDER BY b."Id";

-- Query #59663 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d3a723c6-e065-3351-2367-4f84c2bbfe3e'::uuid])
ORDER BY b."Id";

-- Query #59664 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c2136868-6089-328d-155b-e1609ef1dbb4'::uuid])
ORDER BY b."Id";

-- Query #59665 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c2136868-6089-328d-155b-e1609ef1dbb4'::uuid])
ORDER BY b."Id";

-- Query #59666 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['32c2d4d7-e99f-4117-879d-9cdad5745a3f'::uuid])
ORDER BY b."Id";

-- Query #59667 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['32c2d4d7-e99f-4117-879d-9cdad5745a3f'::uuid])
ORDER BY b."Id";

-- Query #59668 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bcd3e01c-02c2-a5b1-e386-6ecca2f52d92'::uuid])
ORDER BY b."Id";

-- Query #59669 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bcd3e01c-02c2-a5b1-e386-6ecca2f52d92'::uuid])
ORDER BY b."Id";

-- Query #59670 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e4760340-1f98-bfa7-5dd6-d85fffe38591'::uuid])
ORDER BY b."Id";

-- Query #59671 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e4760340-1f98-bfa7-5dd6-d85fffe38591'::uuid])
ORDER BY b."Id";

-- Query #59672 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d90ab2d1-4f74-9bc6-7562-5b183a10346e'::uuid])
ORDER BY b."Id";

-- Query #59673 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d90ab2d1-4f74-9bc6-7562-5b183a10346e'::uuid])
ORDER BY b."Id";

-- Query #59674 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b67abe3f-d3fc-fcf9-7bb9-b36195629123'::uuid])
ORDER BY b."Id";

-- Query #59675 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b67abe3f-d3fc-fcf9-7bb9-b36195629123'::uuid])
ORDER BY b."Id";

-- Query #59676 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b81cd4ed-2d61-fb19-5b80-63b987423e35'::uuid])
ORDER BY b."Id";

-- Query #59677 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b81cd4ed-2d61-fb19-5b80-63b987423e35'::uuid])
ORDER BY b."Id";

-- Query #59678 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['175db8e4-0b6f-48ab-56d6-05360225dff1'::uuid])
ORDER BY b."Id";

-- Query #59679 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['175db8e4-0b6f-48ab-56d6-05360225dff1'::uuid])
ORDER BY b."Id";

-- Query #59680 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7db40fd3-cd5e-9911-27d3-632af36b77fc'::uuid])
ORDER BY b."Id";

-- Query #59681 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7db40fd3-cd5e-9911-27d3-632af36b77fc'::uuid])
ORDER BY b."Id";

-- Query #59682 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['95d1dd3d-4ae9-f231-f09b-c8f50b53ed11'::uuid])
ORDER BY b."Id";

-- Query #59683 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['95d1dd3d-4ae9-f231-f09b-c8f50b53ed11'::uuid])
ORDER BY b."Id";

-- Query #59684 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd6c40f4-1854-f95d-03e1-4ee930ee3fdd'::uuid])
ORDER BY b."Id";

-- Query #59685 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd6c40f4-1854-f95d-03e1-4ee930ee3fdd'::uuid])
ORDER BY b."Id";

-- Query #59686 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d2a7d05-ae57-e97a-e330-094f89aa7363'::uuid])
ORDER BY b."Id";

-- Query #59687 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7d2a7d05-ae57-e97a-e330-094f89aa7363'::uuid])
ORDER BY b."Id";

-- Query #59688 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db846855-7d77-e7ac-f046-bd9b279c2d23'::uuid])
ORDER BY b."Id";

-- Query #59689 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db846855-7d77-e7ac-f046-bd9b279c2d23'::uuid])
ORDER BY b."Id";

-- Query #59690 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['506370f4-4e81-2c01-fdfc-950636639ca6'::uuid])
ORDER BY b."Id";

-- Query #59691 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['506370f4-4e81-2c01-fdfc-950636639ca6'::uuid])
ORDER BY b."Id";

-- Query #59692 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e5e2325-e039-0b7c-a93d-c8c422129a64'::uuid])
ORDER BY b."Id";

-- Query #59693 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9e5e2325-e039-0b7c-a93d-c8c422129a64'::uuid])
ORDER BY b."Id";

-- Query #59694 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10d38e4b-119b-2559-e30c-c7ad03c8525b'::uuid])
ORDER BY b."Id";

-- Query #59695 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['10d38e4b-119b-2559-e30c-c7ad03c8525b'::uuid])
ORDER BY b."Id";

-- Query #59696 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['70a717b7-ac47-efcd-605e-5efe1dc15d12'::uuid])
ORDER BY b."Id";

-- Query #59697 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['70a717b7-ac47-efcd-605e-5efe1dc15d12'::uuid])
ORDER BY b."Id";

-- Query #59698 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3b6c796-4213-5402-7d07-1aef8d7dc6b3'::uuid])
ORDER BY b."Id";

-- Query #59699 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c3b6c796-4213-5402-7d07-1aef8d7dc6b3'::uuid])
ORDER BY b."Id";

-- Query #59700 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e2e6077-c8f0-19ca-7586-8b10abf3154d'::uuid])
ORDER BY b."Id";

-- Query #59701 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e2e6077-c8f0-19ca-7586-8b10abf3154d'::uuid])
ORDER BY b."Id";

-- Query #59702 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6e071ec1-5d2f-4c62-d309-b5b939345ca8'::uuid])
ORDER BY b."Id";

-- Query #59703 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6e071ec1-5d2f-4c62-d309-b5b939345ca8'::uuid])
ORDER BY b."Id";

-- Query #59704 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['55a1c81b-93a6-970e-1961-cde5f11552e6'::uuid])
ORDER BY b."Id";

-- Query #59705 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['55a1c81b-93a6-970e-1961-cde5f11552e6'::uuid])
ORDER BY b."Id";

-- Query #59706 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7374868a-3043-fb80-48ca-3e8700d01350'::uuid])
ORDER BY b."Id";

-- Query #59707 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7374868a-3043-fb80-48ca-3e8700d01350'::uuid])
ORDER BY b."Id";

-- Query #59708 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8c0f8296-b2aa-d431-ab7a-b0661fa6a953'::uuid])
ORDER BY b."Id";

-- Query #59709 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8c0f8296-b2aa-d431-ab7a-b0661fa6a953'::uuid])
ORDER BY b."Id";

-- Query #59710 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c0e5000b-f149-7b42-cdf6-c8e4352baeec'::uuid])
ORDER BY b."Id";

-- Query #59711 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c0e5000b-f149-7b42-cdf6-c8e4352baeec'::uuid])
ORDER BY b."Id";

-- Query #59712 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3e0e3429-d122-5da4-c585-acd41ca5cbd6'::uuid])
ORDER BY b."Id";

-- Query #59713 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3e0e3429-d122-5da4-c585-acd41ca5cbd6'::uuid])
ORDER BY b."Id";

-- Query #59714 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['92a6cab1-86cf-b5e2-0d6c-586205434b66'::uuid])
ORDER BY b."Id";

-- Query #59715 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['92a6cab1-86cf-b5e2-0d6c-586205434b66'::uuid])
ORDER BY b."Id";

-- Query #59716 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8ab89d8-ec81-0b0d-f5e2-487ac4ee7c18'::uuid])
ORDER BY b."Id";

-- Query #59717 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8ab89d8-ec81-0b0d-f5e2-487ac4ee7c18'::uuid])
ORDER BY b."Id";

-- Query #59718 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b59767d9-2404-a637-8f2a-4da8f45f9eac'::uuid])
ORDER BY b."Id";

-- Query #59719 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b59767d9-2404-a637-8f2a-4da8f45f9eac'::uuid])
ORDER BY b."Id";

-- Query #59720 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6bd32c9f-2f57-bedd-393e-e3cb5e0444df'::uuid])
ORDER BY b."Id";

-- Query #59721 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6bd32c9f-2f57-bedd-393e-e3cb5e0444df'::uuid])
ORDER BY b."Id";

-- Query #59722 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e58a97fe-948d-0a57-6d70-cae27c0570d7'::uuid])
ORDER BY b."Id";

-- Query #59723 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e58a97fe-948d-0a57-6d70-cae27c0570d7'::uuid])
ORDER BY b."Id";

-- Query #59724 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ee18f1bb-eb62-9dee-86ff-d516b19822e8'::uuid])
ORDER BY b."Id";

-- Query #59725 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ee18f1bb-eb62-9dee-86ff-d516b19822e8'::uuid])
ORDER BY b."Id";

-- Query #59726 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['16cc7bd5-2962-02d6-bda9-62184eaae3ae'::uuid])
ORDER BY b."Id";

-- Query #59727 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['16cc7bd5-2962-02d6-bda9-62184eaae3ae'::uuid])
ORDER BY b."Id";

-- Query #59728 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0fd9f63c-f140-8c4e-0303-159e7904f81d'::uuid])
ORDER BY b."Id";

-- Query #59729 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0fd9f63c-f140-8c4e-0303-159e7904f81d'::uuid])
ORDER BY b."Id";

-- Query #59730 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b073a370-d38a-ad04-a4a7-8cb418a91c53'::uuid])
ORDER BY b."Id";

-- Query #59731 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b073a370-d38a-ad04-a4a7-8cb418a91c53'::uuid])
ORDER BY b."Id";

-- Query #59732 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3c57b581-404c-d7dd-e22d-cc3ed98e166c'::uuid])
ORDER BY b."Id";

-- Query #59733 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3c57b581-404c-d7dd-e22d-cc3ed98e166c'::uuid])
ORDER BY b."Id";

-- Query #59734 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['797b2997-fe93-2cf5-e6d8-6c94f43a06a4'::uuid])
ORDER BY b."Id";

-- Query #59735 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['797b2997-fe93-2cf5-e6d8-6c94f43a06a4'::uuid])
ORDER BY b."Id";

-- Query #59736 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f16d9bff-637b-0a22-7b34-275b7c1b8540'::uuid])
ORDER BY b."Id";

-- Query #59737 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f16d9bff-637b-0a22-7b34-275b7c1b8540'::uuid])
ORDER BY b."Id";

-- Query #59738 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13ef02e6-441c-d5b3-54a7-6103b703f4e0'::uuid])
ORDER BY b."Id";

-- Query #59739 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['13ef02e6-441c-d5b3-54a7-6103b703f4e0'::uuid])
ORDER BY b."Id";

-- Query #59740 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['08afebe3-f40e-8963-9820-f9678d34935e'::uuid])
ORDER BY b."Id";

-- Query #59741 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['08afebe3-f40e-8963-9820-f9678d34935e'::uuid])
ORDER BY b."Id";

-- Query #59742 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6ecc03b5-c65d-1696-0580-e8ee76675a6f'::uuid])
ORDER BY b."Id";

-- Query #59743 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6ecc03b5-c65d-1696-0580-e8ee76675a6f'::uuid])
ORDER BY b."Id";

-- Query #59744 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0144fbeb-d328-2267-327d-28c2f6ed4d6b'::uuid])
ORDER BY b."Id";

-- Query #59745 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0144fbeb-d328-2267-327d-28c2f6ed4d6b'::uuid])
ORDER BY b."Id";

-- Query #59746 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f1d0094-0c24-fa9c-be3c-c660376fb27a'::uuid])
ORDER BY b."Id";

-- Query #59747 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4f1d0094-0c24-fa9c-be3c-c660376fb27a'::uuid])
ORDER BY b."Id";

-- Query #59748 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e795a0e-5f22-730b-06e2-f1a9511d1751'::uuid])
ORDER BY b."Id";

-- Query #59749 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7e795a0e-5f22-730b-06e2-f1a9511d1751'::uuid])
ORDER BY b."Id";

-- Query #59750 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['094c60d7-bee5-1a86-6ab6-62447e8778e1'::uuid])
ORDER BY b."Id";

-- Query #59751 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['094c60d7-bee5-1a86-6ab6-62447e8778e1'::uuid])
ORDER BY b."Id";

-- Query #59752 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9a7e05be-aa5f-761e-475e-96045441862f'::uuid])
ORDER BY b."Id";

-- Query #59753 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9a7e05be-aa5f-761e-475e-96045441862f'::uuid])
ORDER BY b."Id";

-- Query #59754 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['05e67a24-f258-9a3b-cc66-3b8c3abe6118'::uuid])
ORDER BY b."Id";

-- Query #59755 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['05e67a24-f258-9a3b-cc66-3b8c3abe6118'::uuid])
ORDER BY b."Id";

-- Query #59756 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['811a94f5-ce0b-d83c-44e8-9fdecc0466fa'::uuid])
ORDER BY b."Id";

-- Query #59757 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['811a94f5-ce0b-d83c-44e8-9fdecc0466fa'::uuid])
ORDER BY b."Id";

-- Query #59758 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['18db77e9-2efb-054a-60af-027fd9261149'::uuid])
ORDER BY b."Id";

-- Query #59759 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['18db77e9-2efb-054a-60af-027fd9261149'::uuid])
ORDER BY b."Id";

-- Query #59760 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ed93de20-2024-6152-44f6-cea8b8c8a6a7'::uuid])
ORDER BY b."Id";

-- Query #59761 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ed93de20-2024-6152-44f6-cea8b8c8a6a7'::uuid])
ORDER BY b."Id";

-- Query #59762 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d90b4f45-04f4-f6fd-c142-39c10eac0188'::uuid])
ORDER BY b."Id";

-- Query #59763 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d90b4f45-04f4-f6fd-c142-39c10eac0188'::uuid])
ORDER BY b."Id";

-- Query #59764 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dec8a594-9e71-d1bf-f1fd-4fa30dfd7f04'::uuid])
ORDER BY b."Id";

-- Query #59765 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dec8a594-9e71-d1bf-f1fd-4fa30dfd7f04'::uuid])
ORDER BY b."Id";

-- Query #59766 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9d316dd1-cf9a-af4d-b88f-65d7f39df5f4'::uuid])
ORDER BY b."Id";

-- Query #59767 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9d316dd1-cf9a-af4d-b88f-65d7f39df5f4'::uuid])
ORDER BY b."Id";

-- Query #59768 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be9db238-2833-ec17-2dec-30b49af2995a'::uuid])
ORDER BY b."Id";

-- Query #59769 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['be9db238-2833-ec17-2dec-30b49af2995a'::uuid])
ORDER BY b."Id";

-- Query #59770 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd3f229-1816-d06b-b872-7d604aaadc86'::uuid])
ORDER BY b."Id";

-- Query #59771 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd3f229-1816-d06b-b872-7d604aaadc86'::uuid])
ORDER BY b."Id";

-- Query #59772 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e09604c5-c67d-2db0-98c4-abddf58ba4ad'::uuid])
ORDER BY b."Id";

-- Query #59773 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e09604c5-c67d-2db0-98c4-abddf58ba4ad'::uuid])
ORDER BY b."Id";

-- Query #59774 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['db9ebbb9-ef82-99f2-3ff6-8eb3898cdb8a'::uuid])
ORDER BY b."Id";

-- Query #59775 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['db9ebbb9-ef82-99f2-3ff6-8eb3898cdb8a'::uuid])
ORDER BY b."Id";

-- Query #59776 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad17b13d-3b35-9b5e-886d-fbd9d2197c48'::uuid])
ORDER BY b."Id";

-- Query #59777 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ad17b13d-3b35-9b5e-886d-fbd9d2197c48'::uuid])
ORDER BY b."Id";

-- Query #59778 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e65494db-9a0a-76e6-d1c6-29fe386a2700'::uuid])
ORDER BY b."Id";

-- Query #59779 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e65494db-9a0a-76e6-d1c6-29fe386a2700'::uuid])
ORDER BY b."Id";

-- Query #59780 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['99448755-ab71-78fb-9676-bc2b8e035c8b'::uuid])
ORDER BY b."Id";

-- Query #59781 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['99448755-ab71-78fb-9676-bc2b8e035c8b'::uuid])
ORDER BY b."Id";

-- Query #59782 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ade66dab-d81d-66fa-f272-4c553196ea2b'::uuid])
ORDER BY b."Id";

-- Query #59783 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ade66dab-d81d-66fa-f272-4c553196ea2b'::uuid])
ORDER BY b."Id";

-- Query #59784 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85451589-aebf-cce3-d05e-07f38f12ae57'::uuid])
ORDER BY b."Id";

-- Query #59785 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['85451589-aebf-cce3-d05e-07f38f12ae57'::uuid])
ORDER BY b."Id";

-- Query #59786 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7e1b96d1-d0ee-6622-507d-3edacc684f37'::uuid])
ORDER BY b."Id";

-- Query #59787 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7e1b96d1-d0ee-6622-507d-3edacc684f37'::uuid])
ORDER BY b."Id";

-- Query #59788 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e3aa9681-de3b-0e1e-4c1d-aebd10176705'::uuid])
ORDER BY b."Id";

-- Query #59789 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e3aa9681-de3b-0e1e-4c1d-aebd10176705'::uuid])
ORDER BY b."Id";

-- Query #59790 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['af1bedec-b0eb-3454-4a71-e9cc9c84077f'::uuid])
ORDER BY b."Id";

-- Query #59791 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['af1bedec-b0eb-3454-4a71-e9cc9c84077f'::uuid])
ORDER BY b."Id";

-- Query #59792 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d177830e-7169-f21f-eb7b-de1087c05f91'::uuid])
ORDER BY b."Id";

-- Query #59793 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d177830e-7169-f21f-eb7b-de1087c05f91'::uuid])
ORDER BY b."Id";

-- Query #59794 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['165e7065-8c3a-a74a-1158-c614ef5e80aa'::uuid])
ORDER BY b."Id";

-- Query #59795 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['165e7065-8c3a-a74a-1158-c614ef5e80aa'::uuid])
ORDER BY b."Id";

-- Query #59796 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38a1617e-2814-80aa-703e-4b1f98157b1b'::uuid])
ORDER BY b."Id";

-- Query #59797 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['38a1617e-2814-80aa-703e-4b1f98157b1b'::uuid])
ORDER BY b."Id";

-- Query #59798 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['942194e5-0217-2521-e75e-7bb4c55b0ee0'::uuid])
ORDER BY b."Id";

-- Query #59799 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['942194e5-0217-2521-e75e-7bb4c55b0ee0'::uuid])
ORDER BY b."Id";

-- Query #59800 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b8b03f0d-b6d8-d985-2c92-b8922f3b2ef1'::uuid])
ORDER BY b."Id";

-- Query #59801 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b8b03f0d-b6d8-d985-2c92-b8922f3b2ef1'::uuid])
ORDER BY b."Id";

-- Query #59802 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dcfd3523-988c-92aa-dd2b-bd89bf90157e'::uuid])
ORDER BY b."Id";

-- Query #59803 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dcfd3523-988c-92aa-dd2b-bd89bf90157e'::uuid])
ORDER BY b."Id";

-- Query #59804 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7d8e55ac-cacf-eaf6-511f-138155b9654f'::uuid])
ORDER BY b."Id";

-- Query #59805 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7d8e55ac-cacf-eaf6-511f-138155b9654f'::uuid])
ORDER BY b."Id";

-- Query #59806 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fbe72baa-4720-de3d-0827-a96fce4b1c54'::uuid])
ORDER BY b."Id";

-- Query #59807 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fbe72baa-4720-de3d-0827-a96fce4b1c54'::uuid])
ORDER BY b."Id";

-- Query #59808 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4379bd43-14cb-ad39-5ef6-1b6b901d54ed'::uuid])
ORDER BY b."Id";

-- Query #59809 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4379bd43-14cb-ad39-5ef6-1b6b901d54ed'::uuid])
ORDER BY b."Id";

-- Query #59810 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d4d11f21-4869-1368-68b3-aa269fd2c594'::uuid])
ORDER BY b."Id";

-- Query #59811 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d4d11f21-4869-1368-68b3-aa269fd2c594'::uuid])
ORDER BY b."Id";

-- Query #59812 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c20360ab-36b3-81c1-54cb-521622cc1744'::uuid])
ORDER BY b."Id";

-- Query #59813 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c20360ab-36b3-81c1-54cb-521622cc1744'::uuid])
ORDER BY b."Id";

-- Query #59814 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['813baaef-1c55-86f1-d893-dbace22508e7'::uuid])
ORDER BY b."Id";

-- Query #59815 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['813baaef-1c55-86f1-d893-dbace22508e7'::uuid])
ORDER BY b."Id";

-- Query #59816 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6d93a0f4-1bbf-ad01-53e7-9e69299e78bd'::uuid])
ORDER BY b."Id";

-- Query #59817 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6d93a0f4-1bbf-ad01-53e7-9e69299e78bd'::uuid])
ORDER BY b."Id";

-- Query #59818 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3980fd86-bed0-3a4d-e17c-d4bd9ccdc7d9'::uuid])
ORDER BY b."Id";

-- Query #59819 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3980fd86-bed0-3a4d-e17c-d4bd9ccdc7d9'::uuid])
ORDER BY b."Id";

-- Query #59820 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab836289-f591-b6cb-008c-57c0d2300572'::uuid])
ORDER BY b."Id";

-- Query #59821 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ab836289-f591-b6cb-008c-57c0d2300572'::uuid])
ORDER BY b."Id";

-- Query #59822 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d7d302c2-0fe1-c1dc-1f8d-c8bbc9d43403'::uuid])
ORDER BY b."Id";

-- Query #59823 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d7d302c2-0fe1-c1dc-1f8d-c8bbc9d43403'::uuid])
ORDER BY b."Id";

-- Query #59824 | logged_duration_ms=9 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fa29163c-03fd-1b2d-fdd3-fe017cd7f1ad'::uuid])
ORDER BY b."Id";

-- Query #59825 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fa29163c-03fd-1b2d-fdd3-fe017cd7f1ad'::uuid])
ORDER BY b."Id";

-- Query #59826 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d32b7903-28c2-834a-1fb2-569d355041f6'::uuid])
ORDER BY b."Id";

-- Query #59827 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d32b7903-28c2-834a-1fb2-569d355041f6'::uuid])
ORDER BY b."Id";

-- Query #59828 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8aefbd6e-c6dd-a230-55d9-d4f1c694cf0e'::uuid])
ORDER BY b."Id";

-- Query #59829 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8aefbd6e-c6dd-a230-55d9-d4f1c694cf0e'::uuid])
ORDER BY b."Id";

-- Query #59830 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4dbba905-a070-1a16-c5ad-0a7c3095f18d'::uuid])
ORDER BY b."Id";

-- Query #59831 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4dbba905-a070-1a16-c5ad-0a7c3095f18d'::uuid])
ORDER BY b."Id";

-- Query #59832 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['da9ae2e1-076e-5fb3-25bf-68ca47999dac'::uuid])
ORDER BY b."Id";

-- Query #59833 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['da9ae2e1-076e-5fb3-25bf-68ca47999dac'::uuid])
ORDER BY b."Id";

-- Query #59834 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['39bee4ae-d332-9c2f-0ad2-37c88d1f271f'::uuid])
ORDER BY b."Id";

-- Query #59835 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['39bee4ae-d332-9c2f-0ad2-37c88d1f271f'::uuid])
ORDER BY b."Id";

-- Query #59836 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1621f49d-c8e7-a64f-104c-7285fbb9873e'::uuid])
ORDER BY b."Id";

-- Query #59837 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1621f49d-c8e7-a64f-104c-7285fbb9873e'::uuid])
ORDER BY b."Id";

-- Query #59838 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1cc07f1f-25da-b9f8-4d31-776691f80d2c'::uuid])
ORDER BY b."Id";

-- Query #59839 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1cc07f1f-25da-b9f8-4d31-776691f80d2c'::uuid])
ORDER BY b."Id";

-- Query #59840 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['74c09341-ee4a-8874-43b0-b0fc2dc107f3'::uuid])
ORDER BY b."Id";

-- Query #59841 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['74c09341-ee4a-8874-43b0-b0fc2dc107f3'::uuid])
ORDER BY b."Id";

-- Query #59842 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b980f982-78c8-21a9-2a6a-78dbf0b74233'::uuid])
ORDER BY b."Id";

-- Query #59843 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b980f982-78c8-21a9-2a6a-78dbf0b74233'::uuid])
ORDER BY b."Id";

-- Query #59844 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb659df4-a108-7cdd-f328-9866d0052b1c'::uuid])
ORDER BY b."Id";

-- Query #59845 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eb659df4-a108-7cdd-f328-9866d0052b1c'::uuid])
ORDER BY b."Id";

-- Query #59846 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab633eec-6754-6155-8fc0-25d035ddd1b4'::uuid])
ORDER BY b."Id";

-- Query #59847 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ab633eec-6754-6155-8fc0-25d035ddd1b4'::uuid])
ORDER BY b."Id";

-- Query #59848 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7997b1c2-ef23-b588-3fe2-afbd85450103'::uuid])
ORDER BY b."Id";

-- Query #59849 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7997b1c2-ef23-b588-3fe2-afbd85450103'::uuid])
ORDER BY b."Id";

-- Query #59850 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['40679e71-9645-4e21-57b6-031d3883c7df'::uuid])
ORDER BY b."Id";

-- Query #59851 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['40679e71-9645-4e21-57b6-031d3883c7df'::uuid])
ORDER BY b."Id";

-- Query #59852 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2b1475ec-f5ed-6cca-4738-15f107312fb4'::uuid])
ORDER BY b."Id";

-- Query #59853 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2b1475ec-f5ed-6cca-4738-15f107312fb4'::uuid])
ORDER BY b."Id";

-- Query #59854 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9e36a6ac-3361-0792-f112-a564bf1e51e1'::uuid])
ORDER BY b."Id";

-- Query #59855 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9e36a6ac-3361-0792-f112-a564bf1e51e1'::uuid])
ORDER BY b."Id";

-- Query #59856 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b13190b9-0fd6-f737-a350-f4b5a60837e0'::uuid])
ORDER BY b."Id";

-- Query #59857 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b13190b9-0fd6-f737-a350-f4b5a60837e0'::uuid])
ORDER BY b."Id";

-- Query #59858 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['be798b6d-014f-8f64-a0da-a8d112ebe98d'::uuid])
ORDER BY b."Id";

-- Query #59859 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['be798b6d-014f-8f64-a0da-a8d112ebe98d'::uuid])
ORDER BY b."Id";

-- Query #59860 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['272d5a87-92b6-8a40-1443-733575894001'::uuid])
ORDER BY b."Id";

-- Query #59861 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['272d5a87-92b6-8a40-1443-733575894001'::uuid])
ORDER BY b."Id";

-- Query #59862 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['277a847b-1778-ad82-1d76-ac4d69f951bf'::uuid])
ORDER BY b."Id";

-- Query #59863 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['277a847b-1778-ad82-1d76-ac4d69f951bf'::uuid])
ORDER BY b."Id";

-- Query #59864 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c8c14181-95f4-533f-6f2f-2585763d4ea6'::uuid])
ORDER BY b."Id";

-- Query #59865 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c8c14181-95f4-533f-6f2f-2585763d4ea6'::uuid])
ORDER BY b."Id";

-- Query #59866 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['677c8014-7483-1328-61f1-f00eb189b5fd'::uuid])
ORDER BY b."Id";

-- Query #59867 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['677c8014-7483-1328-61f1-f00eb189b5fd'::uuid])
ORDER BY b."Id";

-- Query #59868 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f5764f11-b63c-4803-39e2-9fe4d5508419'::uuid])
ORDER BY b."Id";

-- Query #59869 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f5764f11-b63c-4803-39e2-9fe4d5508419'::uuid])
ORDER BY b."Id";

-- Query #59870 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['edb11eb0-77d9-27b1-6db9-2ede253c3e22'::uuid])
ORDER BY b."Id";

-- Query #59871 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['edb11eb0-77d9-27b1-6db9-2ede253c3e22'::uuid])
ORDER BY b."Id";

-- Query #59872 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6111c85d-d590-79a1-284d-ab585091b635'::uuid])
ORDER BY b."Id";

-- Query #59873 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6111c85d-d590-79a1-284d-ab585091b635'::uuid])
ORDER BY b."Id";

-- Query #59874 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['333b2be3-d4ad-049b-d14b-b6712a888951'::uuid])
ORDER BY b."Id";

-- Query #59875 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['333b2be3-d4ad-049b-d14b-b6712a888951'::uuid])
ORDER BY b."Id";

-- Query #59876 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8f1f140d-a732-956d-0333-101803dd543f'::uuid])
ORDER BY b."Id";

-- Query #59877 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8f1f140d-a732-956d-0333-101803dd543f'::uuid])
ORDER BY b."Id";

-- Query #59878 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['24bb21eb-e211-2622-9a83-c65f9cbd8670'::uuid])
ORDER BY b."Id";

-- Query #59879 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['24bb21eb-e211-2622-9a83-c65f9cbd8670'::uuid])
ORDER BY b."Id";

-- Query #59880 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['477a6cf4-9505-0705-daae-18803aa6ffd4'::uuid])
ORDER BY b."Id";

-- Query #59881 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['477a6cf4-9505-0705-daae-18803aa6ffd4'::uuid])
ORDER BY b."Id";

-- Query #59882 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fe493edf-8d26-8aa4-d590-dc34a06edc12'::uuid])
ORDER BY b."Id";

-- Query #59883 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fe493edf-8d26-8aa4-d590-dc34a06edc12'::uuid])
ORDER BY b."Id";

-- Query #59884 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a71740e-24ec-4aef-37a5-6f48364fbafd'::uuid])
ORDER BY b."Id";

-- Query #59885 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4a71740e-24ec-4aef-37a5-6f48364fbafd'::uuid])
ORDER BY b."Id";

-- Query #59886 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['9955e4de-5341-7717-135e-51f5f6f83572'::uuid])
ORDER BY b."Id";

-- Query #59887 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['9955e4de-5341-7717-135e-51f5f6f83572'::uuid])
ORDER BY b."Id";

-- Query #59888 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4031fce0-4386-2374-2d00-bad1894ed44f'::uuid])
ORDER BY b."Id";

-- Query #59889 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4031fce0-4386-2374-2d00-bad1894ed44f'::uuid])
ORDER BY b."Id";

-- Query #59890 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f276433c-c07a-27b9-72d0-7426ee0336bf'::uuid])
ORDER BY b."Id";

-- Query #59891 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f276433c-c07a-27b9-72d0-7426ee0336bf'::uuid])
ORDER BY b."Id";

-- Query #59892 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7488b501-2cf7-c649-bc33-eaf27166ef6a'::uuid])
ORDER BY b."Id";

-- Query #59893 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7488b501-2cf7-c649-bc33-eaf27166ef6a'::uuid])
ORDER BY b."Id";

-- Query #59894 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b1840b11-663d-6983-7859-8c6b50677ad1'::uuid])
ORDER BY b."Id";

-- Query #59895 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b1840b11-663d-6983-7859-8c6b50677ad1'::uuid])
ORDER BY b."Id";

-- Query #59896 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f13f8ff5-2ffe-524b-8980-8dc5e2bca967'::uuid])
ORDER BY b."Id";

-- Query #59897 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f13f8ff5-2ffe-524b-8980-8dc5e2bca967'::uuid])
ORDER BY b."Id";

-- Query #59898 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['27d752cc-fab6-e674-71dd-11d28ddc6ca6'::uuid])
ORDER BY b."Id";

-- Query #59899 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['27d752cc-fab6-e674-71dd-11d28ddc6ca6'::uuid])
ORDER BY b."Id";

-- Query #59900 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['889b2181-e80d-287b-477e-04597c5953c5'::uuid])
ORDER BY b."Id";

-- Query #59901 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['889b2181-e80d-287b-477e-04597c5953c5'::uuid])
ORDER BY b."Id";

-- Query #59902 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8eb0d49a-d5a3-b19e-7fae-047e7f5d7177'::uuid])
ORDER BY b."Id";

-- Query #59903 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8eb0d49a-d5a3-b19e-7fae-047e7f5d7177'::uuid])
ORDER BY b."Id";

-- Query #59904 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['338d44bd-c8dc-bd38-132e-1f4e8a07f763'::uuid])
ORDER BY b."Id";

-- Query #59905 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['338d44bd-c8dc-bd38-132e-1f4e8a07f763'::uuid])
ORDER BY b."Id";

-- Query #59906 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3d5b9d54-02b3-45fc-f441-fba9879745a7'::uuid])
ORDER BY b."Id";

-- Query #59907 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3d5b9d54-02b3-45fc-f441-fba9879745a7'::uuid])
ORDER BY b."Id";

-- Query #59908 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8115955c-608f-6403-a5b5-07746c2931ed'::uuid])
ORDER BY b."Id";

-- Query #59909 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8115955c-608f-6403-a5b5-07746c2931ed'::uuid])
ORDER BY b."Id";

-- Query #59910 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e6c61fe9-4543-0937-e3bd-1c94dbea9be8'::uuid])
ORDER BY b."Id";

-- Query #59911 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e6c61fe9-4543-0937-e3bd-1c94dbea9be8'::uuid])
ORDER BY b."Id";

-- Query #59912 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4eedc318-f6d4-6ec1-f573-531de6c3f525'::uuid])
ORDER BY b."Id";

-- Query #59913 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4eedc318-f6d4-6ec1-f573-531de6c3f525'::uuid])
ORDER BY b."Id";

-- Query #59914 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ede94064-83f3-fc91-be0f-31935b369e2e'::uuid])
ORDER BY b."Id";

-- Query #59915 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ede94064-83f3-fc91-be0f-31935b369e2e'::uuid])
ORDER BY b."Id";

-- Query #59916 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5b7e776c-50bd-7838-c2fe-9e0192c2552f'::uuid])
ORDER BY b."Id";

-- Query #59917 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5b7e776c-50bd-7838-c2fe-9e0192c2552f'::uuid])
ORDER BY b."Id";

-- Query #59918 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e72b668-30c6-06e1-52a2-45426e20c603'::uuid])
ORDER BY b."Id";

-- Query #59919 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8e72b668-30c6-06e1-52a2-45426e20c603'::uuid])
ORDER BY b."Id";

-- Query #59920 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['00f2e0d9-419b-10de-b17a-2b141c7e944f'::uuid])
ORDER BY b."Id";

-- Query #59921 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['00f2e0d9-419b-10de-b17a-2b141c7e944f'::uuid])
ORDER BY b."Id";

-- Query #59922 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cbd0ee55-9c81-76cb-0c44-5dd45c1513a6'::uuid])
ORDER BY b."Id";

-- Query #59923 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cbd0ee55-9c81-76cb-0c44-5dd45c1513a6'::uuid])
ORDER BY b."Id";

-- Query #59924 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3420147e-4c4f-cbf1-a070-b69594c10732'::uuid])
ORDER BY b."Id";

-- Query #59925 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3420147e-4c4f-cbf1-a070-b69594c10732'::uuid])
ORDER BY b."Id";

-- Query #59926 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0c6fc668-2cfc-4160-559a-5a92ab55883a'::uuid])
ORDER BY b."Id";

-- Query #59927 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0c6fc668-2cfc-4160-559a-5a92ab55883a'::uuid])
ORDER BY b."Id";

-- Query #59928 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d4f85df2-418a-4f30-45f9-11d30dd9f319'::uuid])
ORDER BY b."Id";

-- Query #59929 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d4f85df2-418a-4f30-45f9-11d30dd9f319'::uuid])
ORDER BY b."Id";

-- Query #59930 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['61e10d06-2276-4bd8-8b51-003805916c78'::uuid])
ORDER BY b."Id";

-- Query #59931 | logged_duration_ms=8 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['61e10d06-2276-4bd8-8b51-003805916c78'::uuid])
ORDER BY b."Id";

-- Query #59932 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['56541b0c-3406-3aa7-5f86-b3e9079cfffc'::uuid])
ORDER BY b."Id";

-- Query #59933 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['56541b0c-3406-3aa7-5f86-b3e9079cfffc'::uuid])
ORDER BY b."Id";

-- Query #59934 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cb7983d5-f935-dde4-9d0a-207121e9129d'::uuid])
ORDER BY b."Id";

-- Query #59935 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cb7983d5-f935-dde4-9d0a-207121e9129d'::uuid])
ORDER BY b."Id";

-- Query #59936 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['946e99ea-04cb-3fee-f73a-49b7d4750640'::uuid])
ORDER BY b."Id";

-- Query #59937 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['946e99ea-04cb-3fee-f73a-49b7d4750640'::uuid])
ORDER BY b."Id";

-- Query #59938 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c2c04e60-925c-724f-7835-164c747a46e9'::uuid])
ORDER BY b."Id";

-- Query #59939 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c2c04e60-925c-724f-7835-164c747a46e9'::uuid])
ORDER BY b."Id";

-- Query #59940 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2504cf7a-6307-7735-2a33-08ed8a65703b'::uuid])
ORDER BY b."Id";

-- Query #59941 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2504cf7a-6307-7735-2a33-08ed8a65703b'::uuid])
ORDER BY b."Id";

-- Query #59942 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['72ea8506-7326-7c99-975f-ceb966f335d9'::uuid])
ORDER BY b."Id";

-- Query #59943 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['72ea8506-7326-7c99-975f-ceb966f335d9'::uuid])
ORDER BY b."Id";

-- Query #59944 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1d15a348-9dcf-2d04-606f-741d9295445e'::uuid])
ORDER BY b."Id";

-- Query #59945 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1d15a348-9dcf-2d04-606f-741d9295445e'::uuid])
ORDER BY b."Id";

-- Query #59946 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5af633e-f297-f65d-7a1f-f99844265907'::uuid])
ORDER BY b."Id";

-- Query #59947 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b5af633e-f297-f65d-7a1f-f99844265907'::uuid])
ORDER BY b."Id";

-- Query #59948 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['47396790-8bf9-10c8-2165-d4620ff55b28'::uuid])
ORDER BY b."Id";

-- Query #59949 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['47396790-8bf9-10c8-2165-d4620ff55b28'::uuid])
ORDER BY b."Id";

-- Query #59950 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3ba03b1a-1806-4630-e88e-dff1743b5b6e'::uuid])
ORDER BY b."Id";

-- Query #59951 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3ba03b1a-1806-4630-e88e-dff1743b5b6e'::uuid])
ORDER BY b."Id";

-- Query #59952 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['85b3b3ce-b912-2813-35b3-a56fa6668ec8'::uuid])
ORDER BY b."Id";

-- Query #59953 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['85b3b3ce-b912-2813-35b3-a56fa6668ec8'::uuid])
ORDER BY b."Id";

-- Query #59954 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3b6c339-acee-394d-b199-785a666f52e6'::uuid])
ORDER BY b."Id";

-- Query #59955 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d3b6c339-acee-394d-b199-785a666f52e6'::uuid])
ORDER BY b."Id";

-- Query #59956 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e5ea1e76-1e1c-fa22-b282-145f1e1b5b5c'::uuid])
ORDER BY b."Id";

-- Query #59957 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e5ea1e76-1e1c-fa22-b282-145f1e1b5b5c'::uuid])
ORDER BY b."Id";

-- Query #59958 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['20ac531d-d341-89d1-a819-e89f2f1e9af9'::uuid])
ORDER BY b."Id";

-- Query #59959 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['20ac531d-d341-89d1-a819-e89f2f1e9af9'::uuid])
ORDER BY b."Id";

-- Query #59960 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f286e5ac-633f-1182-0f8a-a8e8633bdea2'::uuid])
ORDER BY b."Id";

-- Query #59961 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f286e5ac-633f-1182-0f8a-a8e8633bdea2'::uuid])
ORDER BY b."Id";

-- Query #59962 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3cbb32ea-45f0-b962-46cc-58a2d9bf9258'::uuid])
ORDER BY b."Id";

-- Query #59963 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3cbb32ea-45f0-b962-46cc-58a2d9bf9258'::uuid])
ORDER BY b."Id";

-- Query #59964 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['16b019c6-5119-b6cc-2a74-88afbf119560'::uuid])
ORDER BY b."Id";

-- Query #59965 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['16b019c6-5119-b6cc-2a74-88afbf119560'::uuid])
ORDER BY b."Id";

-- Query #59966 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['45f1f05e-b683-2917-9243-fb789f5f0b29'::uuid])
ORDER BY b."Id";

-- Query #59967 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['45f1f05e-b683-2917-9243-fb789f5f0b29'::uuid])
ORDER BY b."Id";

-- Query #59968 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['82fae59e-df8c-2278-16f1-5add050e2aa1'::uuid])
ORDER BY b."Id";

-- Query #59969 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['82fae59e-df8c-2278-16f1-5add050e2aa1'::uuid])
ORDER BY b."Id";

-- Query #59970 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d1b2970a-ec17-5cda-1bb7-10b38a33e765'::uuid])
ORDER BY b."Id";

-- Query #59971 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d1b2970a-ec17-5cda-1bb7-10b38a33e765'::uuid])
ORDER BY b."Id";

-- Query #59972 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a500cb1c-1303-b38e-68b7-3d8eacf268e1'::uuid])
ORDER BY b."Id";

-- Query #59973 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a500cb1c-1303-b38e-68b7-3d8eacf268e1'::uuid])
ORDER BY b."Id";

-- Query #59974 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b7ef96ce-90ba-3f6f-b691-0fd1f0dc9afd'::uuid])
ORDER BY b."Id";

-- Query #59975 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b7ef96ce-90ba-3f6f-b691-0fd1f0dc9afd'::uuid])
ORDER BY b."Id";

-- Query #59976 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c68206b0-3142-84b6-b891-e72a4e9c86d7'::uuid])
ORDER BY b."Id";

-- Query #59977 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c68206b0-3142-84b6-b891-e72a4e9c86d7'::uuid])
ORDER BY b."Id";

-- Query #59978 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a777a816-1311-69e9-5416-9882b2e4b882'::uuid])
ORDER BY b."Id";

-- Query #59979 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a777a816-1311-69e9-5416-9882b2e4b882'::uuid])
ORDER BY b."Id";

-- Query #59980 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bae3f312-773b-c2f1-4113-417ee11e4664'::uuid])
ORDER BY b."Id";

-- Query #59981 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bae3f312-773b-c2f1-4113-417ee11e4664'::uuid])
ORDER BY b."Id";

-- Query #59982 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['795a8d5e-cad4-6b23-91e4-b2c034290577'::uuid])
ORDER BY b."Id";

-- Query #59983 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['795a8d5e-cad4-6b23-91e4-b2c034290577'::uuid])
ORDER BY b."Id";

-- Query #59984 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4a4c529b-d460-105b-2ee9-2ea4c9ecba29'::uuid])
ORDER BY b."Id";

-- Query #59985 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4a4c529b-d460-105b-2ee9-2ea4c9ecba29'::uuid])
ORDER BY b."Id";

-- Query #59986 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b87f5704-5d82-91f8-998f-0cccdef7520b'::uuid])
ORDER BY b."Id";

-- Query #59987 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b87f5704-5d82-91f8-998f-0cccdef7520b'::uuid])
ORDER BY b."Id";

-- Query #59988 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['30605e64-3e9a-ad7e-4126-4900bccf32a8'::uuid])
ORDER BY b."Id";

-- Query #59989 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['30605e64-3e9a-ad7e-4126-4900bccf32a8'::uuid])
ORDER BY b."Id";

-- Query #59990 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d074e23b-23de-f6d3-3832-5212d08609ab'::uuid])
ORDER BY b."Id";

-- Query #59991 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d074e23b-23de-f6d3-3832-5212d08609ab'::uuid])
ORDER BY b."Id";

-- Query #59992 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7763c9c5-7e7f-ef7e-f1de-154adb51401d'::uuid])
ORDER BY b."Id";

-- Query #59993 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7763c9c5-7e7f-ef7e-f1de-154adb51401d'::uuid])
ORDER BY b."Id";

-- Query #59994 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['348d0aa0-0c81-e42e-9c1f-87e45dacfa4a'::uuid])
ORDER BY b."Id";

-- Query #59995 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['348d0aa0-0c81-e42e-9c1f-87e45dacfa4a'::uuid])
ORDER BY b."Id";

-- Query #59996 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['246c9407-37d8-1f0f-5bd2-8c0bd282cdb7'::uuid])
ORDER BY b."Id";

-- Query #59997 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['246c9407-37d8-1f0f-5bd2-8c0bd282cdb7'::uuid])
ORDER BY b."Id";

-- Query #59998 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0d1049a8-acfc-9d50-6902-444219ae25a3'::uuid])
ORDER BY b."Id";

-- Query #59999 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0d1049a8-acfc-9d50-6902-444219ae25a3'::uuid])
ORDER BY b."Id";

-- Query #60000 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7174c641-6905-e548-e4d2-5c5b72bd4975'::uuid])
ORDER BY b."Id";

-- Query #60001 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7174c641-6905-e548-e4d2-5c5b72bd4975'::uuid])
ORDER BY b."Id";

-- Query #60002 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['80f1d90a-d976-b247-dcef-d1ccbe8fba66'::uuid])
ORDER BY b."Id";

-- Query #60003 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['80f1d90a-d976-b247-dcef-d1ccbe8fba66'::uuid])
ORDER BY b."Id";

-- Query #60004 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a27f6bed-d8cd-6a11-6c6f-4a906a2208ce'::uuid])
ORDER BY b."Id";

-- Query #60005 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a27f6bed-d8cd-6a11-6c6f-4a906a2208ce'::uuid])
ORDER BY b."Id";

-- Query #60006 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d9b0e73f-468c-75bf-b102-7cfc0316e95d'::uuid])
ORDER BY b."Id";

-- Query #60007 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d9b0e73f-468c-75bf-b102-7cfc0316e95d'::uuid])
ORDER BY b."Id";

-- Query #60008 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['27335311-df64-d777-8666-177fe49c207c'::uuid])
ORDER BY b."Id";

-- Query #60009 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['27335311-df64-d777-8666-177fe49c207c'::uuid])
ORDER BY b."Id";

-- Query #60010 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d3ba9a09-6cf9-c55a-b606-453f0da5fb74'::uuid])
ORDER BY b."Id";

-- Query #60011 | logged_duration_ms=3 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d3ba9a09-6cf9-c55a-b606-453f0da5fb74'::uuid])
ORDER BY b."Id";

-- Query #60012 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bf3adc32-8f91-13a6-7a5d-f94186afdfe6'::uuid])
ORDER BY b."Id";

-- Query #60013 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bf3adc32-8f91-13a6-7a5d-f94186afdfe6'::uuid])
ORDER BY b."Id";

-- Query #60014 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['970cb129-baaa-9fb2-0d8f-54507dea72c4'::uuid])
ORDER BY b."Id";

-- Query #60015 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['970cb129-baaa-9fb2-0d8f-54507dea72c4'::uuid])
ORDER BY b."Id";

-- Query #60016 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4f75efd3-ddb6-67a6-e02c-6101d9cd9fc0'::uuid])
ORDER BY b."Id";

-- Query #60017 | logged_duration_ms=8 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4f75efd3-ddb6-67a6-e02c-6101d9cd9fc0'::uuid])
ORDER BY b."Id";

-- Query #60018 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a595f9bf-d077-f101-be53-b12f7729186e'::uuid])
ORDER BY b."Id";

-- Query #60019 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a595f9bf-d077-f101-be53-b12f7729186e'::uuid])
ORDER BY b."Id";

-- Query #60020 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6fdb50e2-336e-6cad-641d-1941f84093ba'::uuid])
ORDER BY b."Id";

-- Query #60021 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6fdb50e2-336e-6cad-641d-1941f84093ba'::uuid])
ORDER BY b."Id";

-- Query #60022 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['988e890e-2fd2-412f-1f3f-cd18c26bada8'::uuid])
ORDER BY b."Id";

-- Query #60023 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['988e890e-2fd2-412f-1f3f-cd18c26bada8'::uuid])
ORDER BY b."Id";

-- Query #60024 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4e51e43-71de-cef5-a982-9f632e9e19ed'::uuid])
ORDER BY b."Id";

-- Query #60025 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f4e51e43-71de-cef5-a982-9f632e9e19ed'::uuid])
ORDER BY b."Id";

-- Query #60026 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['eb5721af-6b5d-a020-32ff-92db26d1f5d7'::uuid])
ORDER BY b."Id";

-- Query #60027 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['eb5721af-6b5d-a020-32ff-92db26d1f5d7'::uuid])
ORDER BY b."Id";

-- Query #60028 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['78aa6841-c671-35b8-053d-04f5d762e227'::uuid])
ORDER BY b."Id";

-- Query #60029 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['78aa6841-c671-35b8-053d-04f5d762e227'::uuid])
ORDER BY b."Id";

-- Query #60030 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['10565359-390c-804b-98c6-18def6f26ef6'::uuid])
ORDER BY b."Id";

-- Query #60031 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['10565359-390c-804b-98c6-18def6f26ef6'::uuid])
ORDER BY b."Id";

-- Query #60032 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fecaeb1a-fe1c-cf48-494e-08f3d78a6f66'::uuid])
ORDER BY b."Id";

-- Query #60033 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fecaeb1a-fe1c-cf48-494e-08f3d78a6f66'::uuid])
ORDER BY b."Id";

-- Query #60034 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f9509417-b220-255f-a791-9bc0e5654900'::uuid])
ORDER BY b."Id";

-- Query #60035 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f9509417-b220-255f-a791-9bc0e5654900'::uuid])
ORDER BY b."Id";

-- Query #60036 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4313ee31-902c-279c-8086-58d15ad3ff71'::uuid])
ORDER BY b."Id";

-- Query #60037 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4313ee31-902c-279c-8086-58d15ad3ff71'::uuid])
ORDER BY b."Id";

-- Query #60038 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6720a5d1-2b17-7549-1cca-14edabd53ea0'::uuid])
ORDER BY b."Id";

-- Query #60039 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6720a5d1-2b17-7549-1cca-14edabd53ea0'::uuid])
ORDER BY b."Id";

-- Query #60040 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4196071e-ce9d-ccd2-fa50-a64af7cc13df'::uuid])
ORDER BY b."Id";

-- Query #60041 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4196071e-ce9d-ccd2-fa50-a64af7cc13df'::uuid])
ORDER BY b."Id";

-- Query #60042 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bc22edad-02fc-b147-5380-e7972adbb1b9'::uuid])
ORDER BY b."Id";

-- Query #60043 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bc22edad-02fc-b147-5380-e7972adbb1b9'::uuid])
ORDER BY b."Id";

-- Query #60044 | logged_duration_ms=25 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['48a3f4ab-31bc-014a-5362-99b39df21460'::uuid])
ORDER BY b."Id";

-- Query #60045 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['48a3f4ab-31bc-014a-5362-99b39df21460'::uuid])
ORDER BY b."Id";

-- Query #60046 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['225427e2-c107-051a-9afe-4643c0bec4b1'::uuid])
ORDER BY b."Id";

-- Query #60047 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['225427e2-c107-051a-9afe-4643c0bec4b1'::uuid])
ORDER BY b."Id";

-- Query #60048 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d7378095-7da2-9639-f51d-ea731123edfd'::uuid])
ORDER BY b."Id";

-- Query #60049 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d7378095-7da2-9639-f51d-ea731123edfd'::uuid])
ORDER BY b."Id";

-- Query #60050 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['42d7f9f0-a75b-9a17-26f5-5afedc5fb3ed'::uuid])
ORDER BY b."Id";

-- Query #60051 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['42d7f9f0-a75b-9a17-26f5-5afedc5fb3ed'::uuid])
ORDER BY b."Id";

-- Query #60052 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['2122f349-52c1-defc-abc9-6f87c47ce059'::uuid])
ORDER BY b."Id";

-- Query #60053 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['2122f349-52c1-defc-abc9-6f87c47ce059'::uuid])
ORDER BY b."Id";

-- Query #60054 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0da2ea50-f4b4-11bd-7ad8-86a20b6d3e88'::uuid])
ORDER BY b."Id";

-- Query #60055 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0da2ea50-f4b4-11bd-7ad8-86a20b6d3e88'::uuid])
ORDER BY b."Id";

-- Query #60056 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['06b17093-12e2-e247-22bd-0fc1de27f67e'::uuid])
ORDER BY b."Id";

-- Query #60057 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['06b17093-12e2-e247-22bd-0fc1de27f67e'::uuid])
ORDER BY b."Id";

-- Query #60058 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ab556e04-8b58-a5c8-6a87-45eb647bc65e'::uuid])
ORDER BY b."Id";

-- Query #60059 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ab556e04-8b58-a5c8-6a87-45eb647bc65e'::uuid])
ORDER BY b."Id";

-- Query #60060 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3840fbfc-52f6-be65-a4e8-4c7a95e053f9'::uuid])
ORDER BY b."Id";

-- Query #60061 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3840fbfc-52f6-be65-a4e8-4c7a95e053f9'::uuid])
ORDER BY b."Id";

-- Query #60062 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3f39bb6b-91c1-c759-b48b-9395f468ce6e'::uuid])
ORDER BY b."Id";

-- Query #60063 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3f39bb6b-91c1-c759-b48b-9395f468ce6e'::uuid])
ORDER BY b."Id";

-- Query #60064 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5c800e39-ba47-ee08-aad9-92c0728bb11f'::uuid])
ORDER BY b."Id";

-- Query #60065 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5c800e39-ba47-ee08-aad9-92c0728bb11f'::uuid])
ORDER BY b."Id";

-- Query #60066 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d6c04685-cbef-023f-0ab5-ff144db63071'::uuid])
ORDER BY b."Id";

-- Query #60067 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d6c04685-cbef-023f-0ab5-ff144db63071'::uuid])
ORDER BY b."Id";

-- Query #60068 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['650d3901-d4ce-00c2-07b3-b1d93120126d'::uuid])
ORDER BY b."Id";

-- Query #60069 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['650d3901-d4ce-00c2-07b3-b1d93120126d'::uuid])
ORDER BY b."Id";

-- Query #60070 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6730089b-3034-2527-6438-1ffc6dfb3e8b'::uuid])
ORDER BY b."Id";

-- Query #60071 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6730089b-3034-2527-6438-1ffc6dfb3e8b'::uuid])
ORDER BY b."Id";

-- Query #60072 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['16afe448-b03c-456f-e145-2b042399119a'::uuid])
ORDER BY b."Id";

-- Query #60073 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['16afe448-b03c-456f-e145-2b042399119a'::uuid])
ORDER BY b."Id";

-- Query #60074 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d34ca8f9-4bf3-223c-5c39-2fd41dc0a49e'::uuid])
ORDER BY b."Id";

-- Query #60075 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d34ca8f9-4bf3-223c-5c39-2fd41dc0a49e'::uuid])
ORDER BY b."Id";

-- Query #60076 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f26f3573-b07e-3c0e-046a-6839ce8c8e1c'::uuid])
ORDER BY b."Id";

-- Query #60077 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f26f3573-b07e-3c0e-046a-6839ce8c8e1c'::uuid])
ORDER BY b."Id";

-- Query #60078 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a1ebd161-1b68-e26f-01e7-73cbc199d406'::uuid])
ORDER BY b."Id";

-- Query #60079 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a1ebd161-1b68-e26f-01e7-73cbc199d406'::uuid])
ORDER BY b."Id";

-- Query #60080 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f16f932a-1126-0fc3-d84b-2e94bce45fa0'::uuid])
ORDER BY b."Id";

-- Query #60081 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f16f932a-1126-0fc3-d84b-2e94bce45fa0'::uuid])
ORDER BY b."Id";

-- Query #60082 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['46b55330-e068-e167-8452-7a23f67d8366'::uuid])
ORDER BY b."Id";

-- Query #60083 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['46b55330-e068-e167-8452-7a23f67d8366'::uuid])
ORDER BY b."Id";

-- Query #60084 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['81d244bb-0288-1b0b-4f7f-9dda1c03d893'::uuid])
ORDER BY b."Id";

-- Query #60085 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['81d244bb-0288-1b0b-4f7f-9dda1c03d893'::uuid])
ORDER BY b."Id";

-- Query #60086 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['a8504098-172b-223e-aa7a-06a24801a66e'::uuid])
ORDER BY b."Id";

-- Query #60087 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['a8504098-172b-223e-aa7a-06a24801a66e'::uuid])
ORDER BY b."Id";

-- Query #60088 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['11cdcb6a-ae7e-f014-aac3-3589c0c4631b'::uuid])
ORDER BY b."Id";

-- Query #60089 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['11cdcb6a-ae7e-f014-aac3-3589c0c4631b'::uuid])
ORDER BY b."Id";

-- Query #60090 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4469e0ee-8794-1795-bb64-f1a9c26993e0'::uuid])
ORDER BY b."Id";

-- Query #60091 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4469e0ee-8794-1795-bb64-f1a9c26993e0'::uuid])
ORDER BY b."Id";

-- Query #60092 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['6a4d0d51-e2be-9821-d04e-ca2f8eb8ea43'::uuid])
ORDER BY b."Id";

-- Query #60093 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['6a4d0d51-e2be-9821-d04e-ca2f8eb8ea43'::uuid])
ORDER BY b."Id";

-- Query #60094 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['13b33bb8-1094-595b-3f7e-cdaaccfd9793'::uuid])
ORDER BY b."Id";

-- Query #60095 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['13b33bb8-1094-595b-3f7e-cdaaccfd9793'::uuid])
ORDER BY b."Id";

-- Query #60096 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid])
ORDER BY b."Id";

-- Query #60097 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid])
ORDER BY b."Id";

-- Query #60098 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['de0e9c1a-70e8-b620-4967-5ba28396ce15'::uuid])
ORDER BY b."Id";

-- Query #60099 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['048daa9d-0345-62e6-cdff-288267bdfd30'::uuid])
ORDER BY b."Id";

-- Query #60100 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['048daa9d-0345-62e6-cdff-288267bdfd30'::uuid])
ORDER BY b."Id";

-- Query #60101 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid])
ORDER BY b."Id";

-- Query #60102 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid])
ORDER BY b."Id";

-- Query #60103 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['7868f63e-b537-65d0-13d9-6605a84ae098'::uuid])
ORDER BY b."Id";

-- Query #60104 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c24d42a4-bfb3-954e-c7d0-05f15997d979'::uuid])
ORDER BY b."Id";

-- Query #60105 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c24d42a4-bfb3-954e-c7d0-05f15997d979'::uuid])
ORDER BY b."Id";

-- Query #60106 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['ad638727-f053-df80-8a63-e965681fc5c1'::uuid])
ORDER BY b."Id";

-- Query #60107 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['ad638727-f053-df80-8a63-e965681fc5c1'::uuid])
ORDER BY b."Id";

-- Query #60108 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['57b334a1-5ff7-d0cf-ac14-723d389fbc3a'::uuid])
ORDER BY b."Id";

-- Query #60109 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['57b334a1-5ff7-d0cf-ac14-723d389fbc3a'::uuid])
ORDER BY b."Id";

-- Query #60110 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bfa2fc7d-9169-ea0c-0525-e290bc9fd928'::uuid])
ORDER BY b."Id";

-- Query #60111 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bfa2fc7d-9169-ea0c-0525-e290bc9fd928'::uuid])
ORDER BY b."Id";

-- Query #60112 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #60113 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['7c1a5f23-5c61-e8e1-7fbb-36fe2054e322'::uuid])
ORDER BY b."Id";

-- Query #60114 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5ff89436-4807-b4cb-6d15-067ae482e8b2'::uuid])
ORDER BY b."Id";

-- Query #60115 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5ff89436-4807-b4cb-6d15-067ae482e8b2'::uuid])
ORDER BY b."Id";

-- Query #60116 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c01feadc-d92a-97cb-4f20-a6d9a4b9bf5e'::uuid])
ORDER BY b."Id";

-- Query #60117 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c01feadc-d92a-97cb-4f20-a6d9a4b9bf5e'::uuid])
ORDER BY b."Id";

-- Query #60118 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['91e008cb-c3fe-1cfb-e21a-991486b37a72'::uuid])
ORDER BY b."Id";

-- Query #60119 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['91e008cb-c3fe-1cfb-e21a-991486b37a72'::uuid])
ORDER BY b."Id";

-- Query #60120 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['89fdd5ce-6409-a69a-1354-4b3d36645c9c'::uuid])
ORDER BY b."Id";

-- Query #60121 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['89fdd5ce-6409-a69a-1354-4b3d36645c9c'::uuid])
ORDER BY b."Id";

-- Query #60122 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d852fabf-ed45-3b39-cc73-ffe58cd056c0'::uuid])
ORDER BY b."Id";

-- Query #60123 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d852fabf-ed45-3b39-cc73-ffe58cd056c0'::uuid])
ORDER BY b."Id";

-- Query #60124 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #60125 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8a615f17-376b-8e3e-968a-61f48fa45162'::uuid])
ORDER BY b."Id";

-- Query #60126 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['58e5a194-4d05-3787-66da-5e3d677f344d'::uuid])
ORDER BY b."Id";

-- Query #60127 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['58e5a194-4d05-3787-66da-5e3d677f344d'::uuid])
ORDER BY b."Id";

-- Query #60128 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid])
ORDER BY b."Id";

-- Query #60129 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid])
ORDER BY b."Id";

-- Query #60130 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['5bfc2ef7-4c03-f39c-bc56-5fcda5f682c1'::uuid])
ORDER BY b."Id";

-- Query #60131 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f697a888-94d2-9740-2219-071df06cb2de'::uuid])
ORDER BY b."Id";

-- Query #60132 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f697a888-94d2-9740-2219-071df06cb2de'::uuid])
ORDER BY b."Id";

-- Query #60133 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c886bf3e-0636-1ae5-dba4-b8479ddb1fb4'::uuid])
ORDER BY b."Id";

-- Query #60134 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c886bf3e-0636-1ae5-dba4-b8479ddb1fb4'::uuid])
ORDER BY b."Id";

-- Query #60135 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['90b14806-5faa-7dba-5cce-b5cddad164e1'::uuid])
ORDER BY b."Id";

-- Query #60136 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['90b14806-5faa-7dba-5cce-b5cddad164e1'::uuid])
ORDER BY b."Id";

-- Query #60137 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['353bdd4a-be08-eb27-1adb-b58670610240'::uuid])
ORDER BY b."Id";

-- Query #60138 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['353bdd4a-be08-eb27-1adb-b58670610240'::uuid])
ORDER BY b."Id";

-- Query #60139 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['246cb985-2e1a-1988-b54c-b64bb3a7550a'::uuid])
ORDER BY b."Id";

-- Query #60140 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['246cb985-2e1a-1988-b54c-b64bb3a7550a'::uuid])
ORDER BY b."Id";

-- Query #60141 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid])
ORDER BY b."Id";

-- Query #60142 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid])
ORDER BY b."Id";

-- Query #60143 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['fefda570-9acc-fcaa-06bd-33a873f85385'::uuid])
ORDER BY b."Id";

-- Query #60144 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0880b39e-c0e1-1f04-ac0d-d1eca4eff409'::uuid])
ORDER BY b."Id";

-- Query #60145 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0880b39e-c0e1-1f04-ac0d-d1eca4eff409'::uuid])
ORDER BY b."Id";

-- Query #60146 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid])
ORDER BY b."Id";

-- Query #60147 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid])
ORDER BY b."Id";

-- Query #60148 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['dd56ea13-a6ef-17f9-c778-6c38c53ba3ea'::uuid])
ORDER BY b."Id";

-- Query #60149 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5fdcdbf5-2b89-a90f-5aef-a3b99587fed8'::uuid])
ORDER BY b."Id";

-- Query #60150 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5fdcdbf5-2b89-a90f-5aef-a3b99587fed8'::uuid])
ORDER BY b."Id";

-- Query #60151 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3f8ac6c2-7ecd-a48c-0312-18739a59270a'::uuid])
ORDER BY b."Id";

-- Query #60152 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3f8ac6c2-7ecd-a48c-0312-18739a59270a'::uuid])
ORDER BY b."Id";

-- Query #60153 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5a120425-c496-7e6a-d024-fb1786032e69'::uuid])
ORDER BY b."Id";

-- Query #60154 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5a120425-c496-7e6a-d024-fb1786032e69'::uuid])
ORDER BY b."Id";

-- Query #60155 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d8cd58e8-4664-5299-274e-fd356ae5e2cd'::uuid])
ORDER BY b."Id";

-- Query #60156 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d8cd58e8-4664-5299-274e-fd356ae5e2cd'::uuid])
ORDER BY b."Id";

-- Query #60157 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e0dec68-943f-86ce-7d45-1cdf64378749'::uuid])
ORDER BY b."Id";

-- Query #60158 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8e0dec68-943f-86ce-7d45-1cdf64378749'::uuid])
ORDER BY b."Id";

-- Query #60159 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4882a658-970f-3705-dda4-eee08e2642c2'::uuid])
ORDER BY b."Id";

-- Query #60160 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4882a658-970f-3705-dda4-eee08e2642c2'::uuid])
ORDER BY b."Id";

-- Query #60161 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['b5331f2b-e1bd-0e22-ae89-44e3f5201b3a'::uuid])
ORDER BY b."Id";

-- Query #60162 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['b5331f2b-e1bd-0e22-ae89-44e3f5201b3a'::uuid])
ORDER BY b."Id";

-- Query #60163 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['efd921e5-fc93-d652-5983-65cd6765508d'::uuid])
ORDER BY b."Id";

-- Query #60164 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['efd921e5-fc93-d652-5983-65cd6765508d'::uuid])
ORDER BY b."Id";

-- Query #60165 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['1aa9920e-044c-e412-606a-9f7057fa2d4c'::uuid])
ORDER BY b."Id";

-- Query #60166 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['1aa9920e-044c-e412-606a-9f7057fa2d4c'::uuid])
ORDER BY b."Id";

-- Query #60167 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid])
ORDER BY b."Id";

-- Query #60168 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid])
ORDER BY b."Id";

-- Query #60169 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['02870863-4794-06d6-eca4-f143275cd308'::uuid])
ORDER BY b."Id";

-- Query #60170 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['370aaae1-482f-4b1a-f24a-c6c9269b29f8'::uuid])
ORDER BY b."Id";

-- Query #60171 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['370aaae1-482f-4b1a-f24a-c6c9269b29f8'::uuid])
ORDER BY b."Id";

-- Query #60172 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['fdda97db-bb72-a1e5-e7a6-9e10d9662152'::uuid])
ORDER BY b."Id";

-- Query #60173 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['fdda97db-bb72-a1e5-e7a6-9e10d9662152'::uuid])
ORDER BY b."Id";

-- Query #60174 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['07cfcadb-4b69-65ac-5c11-db7ce84dc693'::uuid])
ORDER BY b."Id";

-- Query #60175 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['07cfcadb-4b69-65ac-5c11-db7ce84dc693'::uuid])
ORDER BY b."Id";

-- Query #60176 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c3b1d272-e873-76aa-58ee-c5b9d415f196'::uuid])
ORDER BY b."Id";

-- Query #60177 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c3b1d272-e873-76aa-58ee-c5b9d415f196'::uuid])
ORDER BY b."Id";

-- Query #60178 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['83a00e27-6832-5189-d6aa-2fb03c1cfc45'::uuid])
ORDER BY b."Id";

-- Query #60179 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['83a00e27-6832-5189-d6aa-2fb03c1cfc45'::uuid])
ORDER BY b."Id";

-- Query #60180 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d40a5522-61d3-2fd9-6d61-c8809fc40bbe'::uuid])
ORDER BY b."Id";

-- Query #60181 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d40a5522-61d3-2fd9-6d61-c8809fc40bbe'::uuid])
ORDER BY b."Id";

-- Query #60182 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['747d96ba-fd8e-3b8d-254c-85b4e73686ee'::uuid])
ORDER BY b."Id";

-- Query #60183 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['747d96ba-fd8e-3b8d-254c-85b4e73686ee'::uuid])
ORDER BY b."Id";

-- Query #60184 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0999d222-b41b-f75d-c06a-1f8ab84f9d60'::uuid])
ORDER BY b."Id";

-- Query #60185 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0999d222-b41b-f75d-c06a-1f8ab84f9d60'::uuid])
ORDER BY b."Id";

-- Query #60186 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid])
ORDER BY b."Id";

-- Query #60187 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid])
ORDER BY b."Id";

-- Query #60188 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['68aaeb02-13bb-776d-4469-a44df0553677'::uuid])
ORDER BY b."Id";

-- Query #60189 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['38666da5-1af8-d2aa-f5b2-b984753aeb29'::uuid])
ORDER BY b."Id";

-- Query #60190 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['38666da5-1af8-d2aa-f5b2-b984753aeb29'::uuid])
ORDER BY b."Id";

-- Query #60191 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['d9474a16-f843-eff4-849a-dfc72381f571'::uuid])
ORDER BY b."Id";

-- Query #60192 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['d9474a16-f843-eff4-849a-dfc72381f571'::uuid])
ORDER BY b."Id";

-- Query #60193 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['482e5cf7-033c-445a-00c8-77d119afaf74'::uuid])
ORDER BY b."Id";

-- Query #60194 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['482e5cf7-033c-445a-00c8-77d119afaf74'::uuid])
ORDER BY b."Id";

-- Query #60195 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['cc71f03e-d8c6-b808-fd47-3adfd33fc564'::uuid])
ORDER BY b."Id";

-- Query #60196 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['cc71f03e-d8c6-b808-fd47-3adfd33fc564'::uuid])
ORDER BY b."Id";

-- Query #60197 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f4c86c9e-c013-42ff-8028-9dce680d4099'::uuid])
ORDER BY b."Id";

-- Query #60198 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f4c86c9e-c013-42ff-8028-9dce680d4099'::uuid])
ORDER BY b."Id";

-- Query #60199 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f4c86c9e-c013-42ff-8028-9dce680d4099'::uuid])
ORDER BY b."Id";

-- Query #60200 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['08b9fb77-b6c9-3b6a-7f34-cc8a8671d2bb'::uuid])
ORDER BY b."Id";

-- Query #60201 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['08b9fb77-b6c9-3b6a-7f34-cc8a8671d2bb'::uuid])
ORDER BY b."Id";

-- Query #60202 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8a05af6a-af19-372f-39cc-8f1e936e5506'::uuid])
ORDER BY b."Id";

-- Query #60203 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8a05af6a-af19-372f-39cc-8f1e936e5506'::uuid])
ORDER BY b."Id";

-- Query #60204 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['4ba05b03-473f-4a35-e594-0bd7de94b2a7'::uuid])
ORDER BY b."Id";

-- Query #60205 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['4ba05b03-473f-4a35-e594-0bd7de94b2a7'::uuid])
ORDER BY b."Id";

-- Query #60206 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5946369e-1746-462f-27aa-7907788540b2'::uuid])
ORDER BY b."Id";

-- Query #60207 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['5946369e-1746-462f-27aa-7907788540b2'::uuid])
ORDER BY b."Id";

-- Query #60208 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e47cc01b-8078-c957-11b2-51dbffe4f641'::uuid])
ORDER BY b."Id";

-- Query #60209 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e47cc01b-8078-c957-11b2-51dbffe4f641'::uuid])
ORDER BY b."Id";

-- Query #60210 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['921f2fb2-3828-3738-2a0b-4850f63d6aca'::uuid])
ORDER BY b."Id";

-- Query #60211 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['921f2fb2-3828-3738-2a0b-4850f63d6aca'::uuid])
ORDER BY b."Id";

-- Query #60212 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['52b66c54-fb7d-be37-cf9c-ebafbccea776'::uuid])
ORDER BY b."Id";

-- Query #60213 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['52b66c54-fb7d-be37-cf9c-ebafbccea776'::uuid])
ORDER BY b."Id";

-- Query #60214 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['3732ef72-031c-e9de-f94f-31583e3704e6'::uuid])
ORDER BY b."Id";

-- Query #60215 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['3732ef72-031c-e9de-f94f-31583e3704e6'::uuid])
ORDER BY b."Id";

-- Query #60216 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['31f63440-3e66-0d03-8e48-af685fa13bbe'::uuid])
ORDER BY b."Id";

-- Query #60217 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['31f63440-3e66-0d03-8e48-af685fa13bbe'::uuid])
ORDER BY b."Id";

-- Query #60218 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid])
ORDER BY b."Id";

-- Query #60219 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid])
ORDER BY b."Id";

-- Query #60220 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['f6e1d9fe-4e4d-e40c-a327-543b592143bf'::uuid])
ORDER BY b."Id";

-- Query #60221 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0899e7ce-790a-4bfd-599d-cd3e8270035d'::uuid])
ORDER BY b."Id";

-- Query #60222 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0899e7ce-790a-4bfd-599d-cd3e8270035d'::uuid])
ORDER BY b."Id";

-- Query #60223 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid])
ORDER BY b."Id";

-- Query #60224 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid])
ORDER BY b."Id";

-- Query #60225 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['c7515d52-7f57-0bfa-109a-287016160bb0'::uuid])
ORDER BY b."Id";

-- Query #60226 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid])
ORDER BY b."Id";

-- Query #60227 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['bbd2f911-ab95-4ae2-504f-adb47516955a'::uuid])
ORDER BY b."Id";

-- Query #60228 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #60229 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #60230 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['0bb53309-a05b-d462-e81c-dd7b4e370ebd'::uuid])
ORDER BY b."Id";

-- Query #60231 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['e9a7de40-e267-9e03-dd24-d9655b3cfff3'::uuid])
ORDER BY b."Id";

-- Query #60232 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['e9a7de40-e267-9e03-dd24-d9655b3cfff3'::uuid])
ORDER BY b."Id";

-- Query #60233 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #60234 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #60235 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #60236 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #60237 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #60238 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #60239 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #60240 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba';

-- Query #60241 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Season' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."ParentIndexNumber", b."IndexNumber";

-- Query #60242 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['8e577761-8a76-8e97-6589-90d23f2093a7'::uuid])
ORDER BY b."Id";

-- Query #60243 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['8e577761-8a76-8e97-6589-90d23f2093a7'::uuid])
ORDER BY b."Id";

-- Query #60244 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #60245 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #60246 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '179c07fd-e503-0b70-7b6c-ee2649b13074'::uuid
ORDER BY m."StreamIndex";

-- Query #60247 | logged_duration_ms=1 | timeout_s=30
SELECT b0."Id", b0."Blurhash", b0."DateModified", b0."Height", b0."ImageType", b0."ItemId", b0."Path", b0."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #60248 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '179c07fd-e503-0b70-7b6c-ee2649b13074'::uuid;

-- Query #60249 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60250 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."IsSeries" = true AND b."Type" = 'MediaBrowser.Controller.LiveTv.LiveTvProgram' AND b."EndDate" >= '2026-03-15T02:03:23.8431642Z' AND b."CleanName" = 'the rookie' AND b."TopParentId" = '2b2bca16-aacc-8a14-d53a-11bb829eafa5'
ORDER BY b."StartDate";

-- Query #60251 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60252 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND (b."Name" = ANY (ARRAY[]::text[]) OR (b."Name" IS NULL AND array_position(ARRAY[]::text[], NULL) IS NOT NULL));

-- Query #60253 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND (b."Name" = ANY (ARRAY[]::text[]) OR (b."Name" IS NULL AND array_position(ARRAY[]::text[], NULL) IS NOT NULL));

-- Query #60254 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '179c07fd-e503-0b70-7b6c-ee2649b13074'::uuid
ORDER BY m."StreamIndex";

-- Query #60255 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60256 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60257 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60258 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60259 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60260 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60261 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60262 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60263 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60264 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60265 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '179c07fd-e503-0b70-7b6c-ee2649b13074'::uuid
ORDER BY m."StreamIndex";

-- Query #60266 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '179c07fd-e503-0b70-7b6c-ee2649b13074'::uuid;

-- Query #60267 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND (b."Name" = ANY (ARRAY[]::text[]) OR (b."Name" IS NULL AND array_position(ARRAY[]::text[], NULL) IS NOT NULL));

-- Query #60268 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND (b."Name" = ANY (ARRAY[]::text[]) OR (b."Name" IS NULL AND array_position(ARRAY[]::text[], NULL) IS NOT NULL));

-- Query #60269 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '179c07fd-e503-0b70-7b6c-ee2649b13074'::uuid
ORDER BY m."StreamIndex";

-- Query #60270 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60271 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60272 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60273 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60274 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60275 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60276 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60277 | logged_duration_ms=31 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T02:03:57.4683355Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #60278 | logged_duration_ms=3 | timeout_s=30
SELECT d."Id", d."ChromecastVersion", d."Client", d."DashboardTheme", d."EnableNextVideoInfoOverlay", d."IndexBy", d."ItemId", d."ScrollDirection", d."ShowBackdrop", d."ShowSidebar", d."SkipBackwardLength", d."SkipForwardLength", d."TvHome", d."UserId"
FROM displaypreferences."DisplayPreferences" AS d
WHERE d."UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid AND d."Client" = 'emby' AND d."ItemId" = '3ce5b65d-e116-d731-65d1-efc4a30ec35c'::uuid
ORDER BY d."Id"
LIMIT 1;

-- Query #60279 | logged_duration_ms=2 | timeout_s=30
SELECT i."Id", i."Client", i."IndexBy", i."ItemId", i."RememberIndexing", i."RememberSorting", i."SortBy", i."SortOrder", i."UserId", i."ViewType"
FROM displaypreferences."ItemDisplayPreferences" AS i
WHERE i."UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid AND i."ItemId" = '3ce5b65d-e116-d731-65d1-efc4a30ec35c'::uuid AND i."Client" = 'emby'
LIMIT 1;

-- Query #60280 | logged_duration_ms=2 | timeout_s=30
SELECT c."Id", c."Client", c."ItemId", c."Key", c."UserId", c."Value"
FROM displaypreferences."CustomItemDisplayPreferences" AS c
WHERE c."UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid AND c."ItemId" = '3ce5b65d-e116-d731-65d1-efc4a30ec35c'::uuid AND c."Client" = 'emby';

-- Query #60281 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60282 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60283 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60284 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60285 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '179c07fd-e503-0b70-7b6c-ee2649b13074'::uuid
ORDER BY m."StreamIndex";

-- Query #60286 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '179c07fd-e503-0b70-7b6c-ee2649b13074'::uuid;

-- Query #60287 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND (b."Name" = ANY (ARRAY[]::text[]) OR (b."Name" IS NULL AND array_position(ARRAY[]::text[], NULL) IS NOT NULL));

-- Query #60288 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND (b."Name" = ANY (ARRAY[]::text[]) OR (b."Name" IS NULL AND array_position(ARRAY[]::text[], NULL) IS NOT NULL));

-- Query #60289 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '179c07fd-e503-0b70-7b6c-ee2649b13074'::uuid
ORDER BY m."StreamIndex";

-- Query #60290 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60291 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60292 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60293 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60294 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60295 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60296 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60297 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" IN ('MediaBrowser.Controller.Entities.TV.Episode', 'MediaBrowser.Controller.Entities.TV.Season') AND b."IsVirtualItem" = false AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60298 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60299 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60300 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60301 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60302 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60303 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60304 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60305 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60306 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60307 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60308 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60309 | logged_duration_ms=2 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60310 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60311 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60312 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60313 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60314 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60315 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60316 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60317 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60318 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60319 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60320 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60321 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60322 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60323 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Id" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'
ORDER BY b."SortName";

-- Query #60324 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #60325 | logged_duration_ms=1 | timeout_s=30
SELECT b0."ItemId", b0."ProviderId", b0."ProviderValue", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemProviders" AS b0 ON b."Id" = b0."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #60326 | logged_duration_ms=1 | timeout_s=30
SELECT b1."Id", b1."ItemId", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemMetadataFields" AS b1 ON b."Id" = b1."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #60327 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #60328 | logged_duration_ms=1 | timeout_s=30
SELECT b2."Id", b2."Blurhash", b2."DateModified", b2."Height", b2."ImageType", b2."ItemId", b2."Path", b2."Width", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."BaseItemImageInfos" AS b2 ON b."Id" = b2."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #60329 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60330 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60331 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60332 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60333 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60334 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60335 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60336 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60337 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60338 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60339 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60340 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60341 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60342 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60343 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60344 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60345 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60346 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60347 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60348 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60349 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60350 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60351 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60352 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60353 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60354 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60355 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60356 | logged_duration_ms=1 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex"
FROM library."UserData" AS u
WHERE u."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60357 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60358 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60359 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60360 | logged_duration_ms=1 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60361 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60362 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60363 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60364 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60365 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid]);

-- Query #60366 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60367 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid, 'Imdb', 'tt36428158')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #60368 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid, 'Tvdb', 11578883)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #60369 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60370 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60371 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid]);

-- Query #60372 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."ParentItemId"
FROM library."AncestorIds" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60373 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['5038454d-1672-0789-b7b3-95a19f57d6d0'::uuid, '392437a5-1132-53ab-8130-8734342cf3ba'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, 'f27caa37-e514-2225-cced-ed48f6553502'::uuid, 'c5ca52f2-6832-98d4-e948-c9dc1de26f5d'::uuid]);

-- Query #60374 | logged_duration_ms=14 | timeout_s=30
INSERT INTO library."Peoples" ("Id", "Name", "PersonType")
VALUES ('00f9473c-4f8d-4999-bcc8-5050d5f979f3'::uuid, 'Alexi Hawley', 'Director');

-- Query #60375 | logged_duration_ms=2 | timeout_s=30
SELECT p."ItemId", p."PeopleId", p."Role", p."ListOrder", p."SortOrder", p0."Id", p0."Name", p0."PersonType"
FROM library."PeopleBaseItemMap" AS p
INNER JOIN library."Peoples" AS p0 ON p."PeopleId" = p0."Id"
WHERE p."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60376 | logged_duration_ms=23 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '780c2354-2429-3175-7da6-b52313da7f4c'::uuid;

-- Query #60377 | logged_duration_ms=23 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '780c2354-2429-3175-7da6-b52313da7f4c'::uuid;

-- Query #60378 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['780c2354-2429-3175-7da6-b52313da7f4c'::uuid]);

-- Query #60379 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '780c2354-2429-3175-7da6-b52313da7f4c'::uuid;

-- Query #60380 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('780c2354-2429-3175-7da6-b52313da7f4c'::uuid, 'Tmdb', 1600095)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #60381 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('780c2354-2429-3175-7da6-b52313da7f4c'::uuid, 'Imdb', 'nm4438177')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #60382 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '780c2354-2429-3175-7da6-b52313da7f4c'::uuid;

-- Query #60383 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['780c2354-2429-3175-7da6-b52313da7f4c'::uuid]);

-- Query #60384 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '780c2354-2429-3175-7da6-b52313da7f4c'::uuid;

-- Query #60385 | logged_duration_ms=1 | timeout_s=30
SELECT b."ItemId", b."ProviderId", b."ProviderValue"
FROM library."BaseItemProviders" AS b
WHERE b."ItemId" = '780c2354-2429-3175-7da6-b52313da7f4c'::uuid;

-- Query #60386 | logged_duration_ms=3 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #60387 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['780c2354-2429-3175-7da6-b52313da7f4c'::uuid]);

-- Query #60388 | logged_duration_ms=37 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('780c2354-2429-3175-7da6-b52313da7f4c'::uuid, 'Tmdb', 1600095)
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #60389 | logged_duration_ms=1 | timeout_s=30
INSERT INTO library."BaseItemProviders" ("ItemId", "ProviderId", "ProviderValue")
VALUES ('780c2354-2429-3175-7da6-b52313da7f4c'::uuid, 'Imdb', 'nm4438177')
ON CONFLICT ("ItemId", "ProviderId")
DO UPDATE SET "ProviderValue" = EXCLUDED."ProviderValue";

-- Query #60390 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemImageInfos" AS b
WHERE b."ItemId" = '780c2354-2429-3175-7da6-b52313da7f4c'::uuid;

-- Query #60391 | logged_duration_ms=1 | timeout_s=30
DELETE FROM library."BaseItemMetadataFields" AS b
WHERE b."ItemId" = '780c2354-2429-3175-7da6-b52313da7f4c'::uuid;

-- Query #60392 | logged_duration_ms=4 | timeout_s=30
SELECT i."ItemValueId", i."CleanValue", i."Type", i."Value"
FROM library."ItemValues" AS i
WHERE i."Type"::text || '+' || i."Value" = ANY (ARRAY[]::text[]);

-- Query #60393 | logged_duration_ms=1 | timeout_s=30
SELECT i."ItemValueId", i."ItemId"
FROM library."ItemValuesMap" AS i
WHERE i."ItemId" = ANY (ARRAY['780c2354-2429-3175-7da6-b52313da7f4c'::uuid]);

-- Query #60394 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #60395 | logged_duration_ms=2 | timeout_s=30
SELECT u."ItemId", u."UserId", u."CustomDataKey", u."AudioStreamIndex", u."IsFavorite", u."LastPlayedDate", u."Likes", u."PlayCount", u."PlaybackPositionTicks", u."Played", u."Rating", u."RetentionDate", u."SubtitleStreamIndex", b."Id"
FROM library."BaseItems" AS b
INNER JOIN library."UserData" AS u ON b."Id" = u."ItemId"
WHERE b."Id" = ANY (ARRAY['aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid])
ORDER BY b."Id";

-- Query #60396 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60397 | logged_duration_ms=3 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."SeriesPresentationUniqueKey" = '392437a5113253ab81308734342cf3ba'
ORDER BY b."SortName", b."Name";

-- Query #60398 | logged_duration_ms=3 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '179c07fd-e503-0b70-7b6c-ee2649b13074'::uuid
ORDER BY m."StreamIndex";

-- Query #60399 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = '179c07fd-e503-0b70-7b6c-ee2649b13074'::uuid;

-- Query #60400 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND (b."Name" = ANY (ARRAY[]::text[]) OR (b."Name" IS NULL AND array_position(ARRAY[]::text[], NULL) IS NOT NULL));

-- Query #60401 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."Album", b."AlbumArtists", b."Artists", b."Audio", b."ChannelId", b."CleanName", b."CommunityRating", b."CriticRating", b."CustomRating", b."Data", b."DateCreated", b."DateLastMediaAdded", b."DateLastRefreshed", b."DateLastSaved", b."DateModified", b."EndDate", b."EpisodeTitle", b."ExternalId", b."ExternalSeriesId", b."ExternalServiceId", b."ExtraIds", b."ExtraType", b."ForcedSortName", b."Genres", b."Height", b."IndexNumber", b."InheritedParentalRatingSubValue", b."InheritedParentalRatingValue", b."IsFolder", b."IsInMixedFolder", b."IsLocked", b."IsMovie", b."IsRepeat", b."IsSeries", b."IsVirtualItem", b."LUFS", b."MediaType", b."Name", b."NormalizationGain", b."OfficialRating", b."OriginalTitle", b."Overview", b."OwnerId", b."ParentId", b."ParentIndexNumber", b."Path", b."PreferredMetadataCountryCode", b."PreferredMetadataLanguage", b."PremiereDate", b."PresentationUniqueKey", b."PrimaryVersionId", b."ProductionLocations", b."ProductionYear", b."RunTimeTicks", b."SeasonId", b."SeasonName", b."SeriesId", b."SeriesName", b."SeriesPresentationUniqueKey", b."ShowId", b."Size", b."SortName", b."StartDate", b."Studios", b."Tagline", b."Tags", b."TopParentId", b."TotalBitrate", b."Type", b."UnratedType", b."Width"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicArtist' AND (b."Name" = ANY (ARRAY[]::text[]) OR (b."Name" IS NULL AND array_position(ARRAY[]::text[], NULL) IS NOT NULL));

-- Query #60402 | logged_duration_ms=2 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = '179c07fd-e503-0b70-7b6c-ee2649b13074'::uuid
ORDER BY m."StreamIndex";

-- Query #60403 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60404 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60405 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60406 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60407 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60408 | logged_duration_ms=2 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60409 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60410 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60411 | logged_duration_ms=2 | timeout_s=30
SELECT c."ItemId", c."ChapterIndex", c."ImageDateModified", c."ImagePath", c."Name", c."StartPositionTicks", b."Path" AS "baseItemPath"
FROM library."Chapters" AS c
INNER JOIN library."BaseItems" AS b ON c."ItemId" = b."Id"
WHERE c."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60412 | logged_duration_ms=1 | timeout_s=30
SELECT m."ItemId", m."StreamIndex", m."AspectRatio", m."AverageFrameRate", m."BitDepth", m."BitRate", m."BlPresentFlag", m."ChannelLayout", m."Channels", m."Codec", m."CodecTag", m."CodecTimeBase", m."ColorPrimaries", m."ColorSpace", m."ColorTransfer", m."Comment", m."DvBlSignalCompatibilityId", m."DvLevel", m."DvProfile", m."DvVersionMajor", m."DvVersionMinor", m."ElPresentFlag", m."Hdr10PlusPresentFlag", m."Height", m."IsAnamorphic", m."IsAvc", m."IsDefault", m."IsExternal", m."IsForced", m."IsHearingImpaired", m."IsInterlaced", m."KeyFrames", m."Language", m."Level", m."NalLengthSize", m."Path", m."PixelFormat", m."Profile", m."RealFrameRate", m."RefFrames", m."Rotation", m."RpuPresentFlag", m."SampleRate", m."StreamType", m."TimeBase", m."Title", m."Width"
FROM library."MediaStreamInfos" AS m
WHERE m."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid
ORDER BY m."StreamIndex";

-- Query #60413 | logged_duration_ms=1 | timeout_s=30
SELECT a."ItemId", a."Index", a."Codec", a."CodecTag", a."Comment", a."Filename", a."MimeType"
FROM library."AttachmentStreamInfos" AS a
WHERE a."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60414 | logged_duration_ms=1 | timeout_s=30
SELECT t."ItemId", t."Width", t."Bandwidth", t."Height", t."Interval", t."ThumbnailCount", t."TileHeight", t."TileWidth"
FROM library."TrickplayInfos" AS t
WHERE t."ItemId" = 'aacbf42f-138d-7fe3-b9ae-ec604a6fcaa4'::uuid;

-- Query #60415 | logged_duration_ms=2 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.MusicAlbum' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Query #60416 | logged_duration_ms=3 | timeout_s=30
SELECT a."Name", a."Type", a."UserId", a."Id"::bigint, a."Overview", a."ShortOverview", a."ItemId", a."DateCreated", a."LogSeverity"
FROM activitylog."ActivityLogs" AS a
LEFT JOIN users."Users" AS u ON a."UserId" = u."Id"
WHERE (a."UserId" = '00000000-0000-0000-0000-000000000000') <> true AND a."DateCreated" >= '2026-03-14T02:07:58.2210000Z'
ORDER BY a."DateCreated" DESC
LIMIT 7 OFFSET 0;

-- Query #60417 | logged_duration_ms=2 | timeout_s=30
SELECT a."Name", a."Type", a."UserId", a."Id"::bigint, a."Overview", a."ShortOverview", a."ItemId", a."DateCreated", a."LogSeverity"
FROM activitylog."ActivityLogs" AS a
LEFT JOIN users."Users" AS u ON a."UserId" = u."Id"
WHERE (a."UserId" = '00000000-0000-0000-0000-000000000000') <> false AND a."DateCreated" >= '2026-03-08T02:07:58.2240000Z'
ORDER BY a."DateCreated" DESC
LIMIT 4 OFFSET 0;

-- Query #60418 | logged_duration_ms=2 | timeout_s=30
SELECT count(*)::int
FROM activitylog."ActivityLogs" AS a
LEFT JOIN users."Users" AS u ON a."UserId" = u."Id"
WHERE (a."UserId" = '00000000-0000-0000-0000-000000000000') <> true AND a."DateCreated" >= '2026-03-14T02:07:58.2210000Z';

-- Query #60419 | logged_duration_ms=1 | timeout_s=30
SELECT count(*)::int
FROM activitylog."ActivityLogs" AS a
LEFT JOIN users."Users" AS u ON a."UserId" = u."Id"
WHERE (a."UserId" = '00000000-0000-0000-0000-000000000000') <> false AND a."DateCreated" >= '2026-03-08T02:07:58.2240000Z';

-- Query #60420 | logged_duration_ms=33 | timeout_s=30
UPDATE authentication."Devices" SET "AccessToken" = '75ba9ecd6eb34ebb9164700f29ce7ff9', "AppName" = 'Jellyfin Web', "AppVersion" = '10.12.0', "DateCreated" = '2026-03-14T19:04:36.0104852Z', "DateLastActivity" = '2026-03-15T02:07:58.3086233Z', "DateModified" = '2026-03-14T19:04:36.0104852Z', "DeviceId" = 'TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzE0NS4wLjAuMCBTYWZhcmkvNTM3LjM2fDE3NzM1MTUwNjM4NjA1', "DeviceName" = 'Chrome', "IsActive" = false, "UserId" = 'ba5c2156-72b0-4c12-9ef9-55857d6fc43f'::uuid
WHERE "Id" = 12;

-- Query #60421 | logged_duration_ms=200 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Episode' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Query #60422 | logged_duration_ms=5 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Movies.Movie' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Query #60423 | logged_duration_ms=8 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.TV.Series' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Query #60424 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Audio.Audio' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Query #60425 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.MusicVideo' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Query #60426 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Movies.BoxSet' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Query #60427 | logged_duration_ms=1 | timeout_s=30
SELECT b."Id", b."PresentationUniqueKey", b."SeriesPresentationUniqueKey"
FROM library."BaseItems" AS b
WHERE b."Type" = 'MediaBrowser.Controller.Entities.Book' AND b."IsVirtualItem" = false AND (b."TopParentId" = ANY (ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid]) OR (b."TopParentId" IS NULL AND array_position(ARRAY['d366ce89-6582-561b-a20c-303d5e848c92'::uuid, 'c6f12ca9-c08b-da5d-c906-9ac406455751'::uuid, '5086e3d9-2aa3-c746-47c1-4284b7813c23'::uuid, 'f5710806-14c6-4405-31e0-9b0dceda9333'::uuid], NULL) IS NOT NULL))
ORDER BY b."SortName";

-- Summary: total_extracted=141854, written=60427, skipped_unresolved=81427
